* config/tc-cris.c (s_cris_dtpoff): New function.
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2008-12-21 Hans-Peter Nilsson <hp@axis.com>
2
3 * config/tc-cris.c (s_cris_dtpoff): New function.
4 (md_pseudo_table): Add "dtpoffd".
5
6 2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
7
8 * config/tc-i386.c (parse_insn): Optimize ".s" handling.
9
10 2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
11
12 * config/tc-i386.c (_i386_insn): Add swap_operand.
13 (parse_insn): Handle ".s".
14 (match_template): Handle swap_operand.
15
16 * doc/c-i386.texi: Document .s suffix.
17
18 2008-12-20 Hans-Peter Nilsson <hp@axis.com>
19
20 * config/tc-cris.c (cris_process_instruction): Handle
21 BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits.
22 (get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the
23 "double indirect" addressing mode.
24 (cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE.
25 (cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.
26
27 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
28
29 * configure: Regenerate.
30
31 2008-12-08 H.J. Lu <hongjiu.lu@intel.com>
32
33 * config/tc-i386.c (build_modrm_byte): Remove an extra blank
34 line.
35
36 2008-12-04 Ben Elliston <bje@au.ibm.com>
37
38 * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update
39 usage strings.
40 (ppc_setup_opcodes): Likewise, remove booke64 support.
41 * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64.
42 * doc/as.texinfo (Overview): Likewise.
43
44 2008-12-04 Nick Clifton <nickc@redhat.com>
45
46 * doc/as.texinfo (Type): Reword description of STT_IFUNC type.
47
48 2008-12-03 Nick Clifton <nickc@redhat.com>
49
50 * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type.
51 * doc/as.texinfo: Document new feature.
52 * NEWS: Mention new feature.
53
54 2008-11-29 Kai Tietz <kai.tietz@onevision.com>
55
56 * config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
57 use "pe-i386" for 32-bit.
58
59 2008-11-28 Jakub Jelinek <jakub@redhat.com>
60
61 * Makefile.am (ehopt.o): Add struc-symbol.h.
62 * Makefile.in: Regenerated.
63 * ehopt.c: Include struc-symbol.h.
64 (check_eh_frame): For very small O_constant DW_CFA_advance_loc4
65 create correct DW_CFA_advance_loc. Handle O_subtract only
66 for code alignment factor 1, otherwise handle O_divide or
67 O_right_shift of O_subtract and O_constant.
68 (eh_frame_estimate_size_before_relax): Always divide by ca.
69 (eh_frame_convert_frag): Likewise.
70
71 2008-11-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
72
73 * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1,
74 DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.
75
76 2008-11-28 Joshua Kinard <kumba@gentoo.org>
77
78 * config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000.
79 (mips_cpu_info_table): Add r14000, r16000.
80 * doc/c-mips.texi: Add entries for 14000, 16000.
81
82 2008-11-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
83
84 * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
85 * config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to
86 md_pseudo_table and accept @c prefix, same as long directive.
87 (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED.
88 (tc_gen_reloc): Declare a variable of type bfd_reloc_code_real_type
89 and set it for GOT related relocations.
90 (md_undefined_symbol): Defined
91 (process_label_constant): Added checks for GOT/got and cGOT/cGOT
92 prefixes with constant label and set the appropriate relocation type.
93 * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.
94
95 2008-11-26 DJ Delorie <dj@redhat.com>
96
97 * config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.
98
99 2008-11-25 DJ Delorie <dj@redhat.com>
100
101 * config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.
102
103 2008-11-21 Sterling Augustine <sterling@tensilica.com>
104
105 * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call
106 xtensa_state_is_shared_or to allow multiple opcodes within a
107 single FLIX bundle to write to these special states.
108
109 2008-11-19 Hans-Peter Nilsson <hp@axis.com>
110
111 * config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL
112 on symbols in TLS relocs.
113
114 2008-11-19 Nick Clifton <nickc@redhat.com>
115
116 * doc/fdl.texi: Update to v1.3
117 * doc/as.texinfo: Change license to v1.3.
118
119 2008-11-18 Catherine Moore <clm@cm00re.com>
120
121 * config/tc-arm.c (neon_type_mask): Renumber.
122 (type_chk_of_el_type): Handle F_F16.
123 (neon_cvt_flavour): Recognize half-precision conversions.
124 (do_neon_cvt): New shapes NS_QD and
125 NS_DQ. Encode half-precision conversions.
126 (do_neon_cvtt): Encode the T bit.
127 (asm_opcode_insns): vcvt, vcvtt support.
128 (arm_option_cpu_value): Add neon-fp16 support.
129
130 2008-11-17 Nick Clifton <nickc@redhat.com>
131
132 * as.c (parse_args): Update copyright year.
133
134 2008-11-14 Mat Hostetter <mat@lcs.mit.edu>
135
136 * read.c (emit_expr): Grow frag before filling it so that
137 dot_value remains valid.
138
139 2008-11-14 Peter Jansen <pwjansen@yahoo.com>
140
141 PR 7026
142 * config/tc-arm.c: Ensure that all uses of as_bad have a
143 formatting string.
144
145 2008-11-12 Hans-Peter Nilsson <hp@axis.com>
146
147 * config/tc-cris.c (cris_number_to_imm): Except for
148 BFD_RELOC_NONE, always set contents. Where previously this was
149 skipped, set contents to 0.
150
151 PR gas/7025
152 * input-scrub.c (input_scrub_include_sb): Make the position
153 after the input have defined contents, a 0 character.
154
155 * config/tc-cris.c (cris_relax_frag): Add missing case for
156 ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
157
158 PR gas/7020
159 * read.c (read_a_source_file): Rearrange evaluation order when
160 looking for '=' to avoid conditional on undefined contents of
161 input_line_pointer[1].
162
163 2008-11-06 Adam Nemet <anemet@caviumnetworks.com>
164
165 * config/tc-mips.c (COP_INSN): Change logic to always return false
166 for FP instructions.
167
168 2008-11-06 Chao-ying Fu <fu@mips.com>
169
170 * config/tc-mips.c (validate_mips_insn): Add case '1'.
171 (mips_ip): Add case '1' to process sync type.
172
173 2008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
174
175 * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
176
177 2008-11-04 Sterling Augustine <sterling@tensilica.com>
178
179 * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
180 writes to the same register.
181
182 2008-11-04 Sterling Augustine <sterling@tensilica.com>
183
184 * config/tc-xtensa.c (xtensa_j_opcode): New.
185 (xg_instruction_matches_option_term): Handle "FREEREG" option.
186 (xg_build_to_insn): Likewise. Update renamed tls_reloc reference.
187 (md_begin): Initialize xtensa_j_opcode.
188 (md_assemble): Update renamed tls_reloc reference. Handle "j.l".
189 (xg_assemble_vliw_tokens): Save free_reg info in the frag.
190 (tinsn_immed_from_frag): Get free_reg info back out of the frag.
191 (vinsn_to_insnbuf): Update renamed tls_reloc references.
192 Distinguish extra argument for "FREEREG" from extra TLS argument.
193 * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
194 * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
195 field to extra_arg.
196 * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
197 (build_transition): Handle "FREEREG" operand.
198 * config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
199
200 2008-10-31 Alan Modra <amodra@bigpond.net.au>
201
202 * po/id.po: Update.
203
204 2008-10-24 Maciej W. Rozycki <macro@linux-mips.org>
205
206 * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2
207 comment so that Broadcom SB-1 cores are in the MIPS64 section.
208
209 2008-10-21 Alan Modra <amodra@bigpond.net.au>
210
211 * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
212 * config/tc-ns32k.c (bit_fix_new): Likewise.
213 * config/tc-m68k.c (md_begin): Likewise.
214 * hash.c (hash_insert, hash_jam): Likewise.
215 * symbols.c (symbol_create, local_symbol_make): Likewise.
216 * frags.c (frag_alloc): Likewise.
217
218 2008-10-20 Jay Krell <jay.krell@cornell.edu>
219
220 * config/bfin-parse.y: Use C style comments.
221 * config/tc-bfin.c: Likewise.
222 * config/tc-m68k.c: Likewise.
223 * config/tc-mips.c: Likewise.
224
225 2008-10-12 H.J. Lu <hongjiu.lu@intel.com>
226
227 * config/tc-i386.c (processor_type): Moved to tc-i386.h.
228 (cpu_arch_tune): Make it global.
229 (cpu_arch_isa): Likewise.
230 (cpu_arch_isa_flags): Likewise.
231 (i386_align_code): Check fragP->tc_frag_data.isa,
232 fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
233 cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
234 respectively.
235
236 * config/tc-i386.h (processor_type): Moved from tc-i386.c.
237 (cpu_arch_tune): New.
238 (cpu_arch_isa): Likewise.
239 (cpu_arch_isa_flags): Likewise.
240 (i386_tc_frag_data): Likewise.
241 (TC_FRAG_TYPE): Likewise.
242 (TC_FRAG_INIT): Likewise.
243
244 2008-10-09 Bob Wilson <bob.wilson@acm.org>
245
246 * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
247 (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
248 Moved into alphabetical order.
249
250 2008-10-09 Bob Wilson <bob.wilson@acm.org>
251
252 * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
253 a complete sentence.
254 (Pseudo Ops): Put conditionals around Skip and Space menu entries.
255 (Line): Remove conditional declaration of Ln node and section here.
256 Put aout-bout description inside the no-line-dir conditional.
257 (Skip, Space): Use a separate conditional for each node.
258
259 2008-10-09 Bob Wilson <bob.wilson@acm.org>
260
261 * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
262 menu entry for File; remove version-specific .file operands from menu
263 description. Replace "LNS directives" menu entry with new entries
264 for "Loc" and "Loc_mark_labels".
265 (LNS directives): Split into separate nodes for each directive.
266 (Loc): New node for .loc directive. Mention that this directive
267 is for DWARF2 and add a missing article.
268 (Loc_mark_labels): Likewise for .loc_mark_labels.
269 (File): Change this node to describe both the default version and
270 the DWARF2 version of .file. Move the no-file-dir conditional to
271 include only the default version.
272
273 2008-10-09 Eric Botcazou <ebotcazou@adacore.com>
274
275 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
276 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
277 (i386_solaris_fix_up_eh_frame): Declare.
278 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
279
280 2008-10-09 Nick Clifton <nickc@redhat.com>
281
282 PR 6944
283 * doc/as.texinfo (Dollar Local Labels): Correct description of
284 dollar local labels to show that the colon suffix is still
285 needed.
286
287 2008-10-08 Nick Clifton <nickc@redhat.com>
288
289 * configure.in (ALL_LINGUAS): Add "id".
290 * configure: Regenerate.
291 * po/id.po: New Indonesian translation.
292
293 2008-10-07 H.J. Lu <hongjiu.lu@intel.com>
294
295 * read.c (pseudo_set): Don't allow global register symbol only
296 if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
297 * symbols.c (S_SET_EXTERNAL): Likewise.
298
299 * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
300
301 * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
302
303 2008-10-06 Bob Wilson <bob.wilson@acm.org>
304
305 * doc/as.texinfo (Local): New description of ELF .local directive.
306
307 2008-10-06 Nick Clifton <nickc@redhat.com>
308
309 PR 6926
310 * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
311 (_find_end_of_line): Add extra parameter indicating if the line is
312 inside a macro. If it is then do not allow the @ character to be
313 treated as a line separator character.
314 (read_a_source): Update use of _find_end_of_line.
315 (find_end_of_line): Likewise.
316 (s_irp): Update use of get_line_sb.
317 (s_macro): Likewise.
318 (do_repeat): Likewise.
319 (get_line_sb): New function. Like the old version of get_line_sb
320 except that it takes an extra parameter indicating whether the
321 line is inside a macro.
322 (get_macro_line_sb): New function.
323
324 2008-10-04 Hans-Peter Nilsson <hp@axis.com>
325
326 * config/tc-cris.c: Update all comments regarding explicit relocations
327 to, besides PIC, also imply TLS or to say "relocation specifier" or
328 similar.
329 (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers.
330 (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all
331 callers. Also handle TLS relocs.
332 (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
333 Change all callers. Also handle TLS relocs.
334 (tls): New constant.
335 (cris_process_instruction): Check for non-PIC TLS relocations and
336 adjust message when emitting error message about relocation not
337 fitting.
338 (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
339 when tls is true.
340 (get_3op_or_dip_prefix_op): Ditto.
341 (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
342
343 2008-10-03 Kazu Hirata <kazu@codesourcery.com>
344
345 * listing.c (buffer_line): Open the source file with FOPEN_RB.
346 Manually process line ends.
347
348 2008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
349 Nick Clifton <nickc@redhat.com>
350
351 * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
352 S_SET_STORAGE_CLASS.
353
354 2008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
355 Nick Clifton <nickc@redhat.com>
356
357 * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
358 do not match it class and if necessary update the class.
359 (null_error_handler): New function. Suppresses the generation of
360 bfd error messages.
361 * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
362
363 2008-09-30 Alan Modra <amodra@bigpond.net.au>
364
365 * Makefile.am: Run "make dep-am".
366 * Makefile.in: Regenerate.
367
368 2008-09-29 Nick Clifton <nickc@redhat.com>
369
370 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
371 tc_cfi_emit_pcrel_expr macro.
372
373 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
374 Steve Ellcey <sje@cup.hp.com>
375
376 * configure: Regenerate for new libtool.
377 * aclocal.m4: Ditto.
378 * Makefile.in: Ditto.
379 * doc/Makefile.in: Ditto.
380
381 2008-09-29 Nick Clifton <nickc@redhat.com>
382
383 PR 6878
384 * app.c (do_scrub_chars): Only issue warnings about tick
385 characters detected in symbol strings if hex ticks are supported.
386
387 2008-09-29 Nick Clifton <nickc@redhat.com>
388
389 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
390 tc_cfi_emit_pcrel_expr macro.
391
392 2008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
393
394 * NEWS: Mention .cfi_val_encoded_addr.
395
396 2008-09-26 Eric Botcazou <ebotcazou@adacore.com>
397
398 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
399 * Makefile.in (TARG_ENV_HFILES): Likewise.
400 * configure.tgt (Solaris targets): Set em=solaris.
401 * config/te-solaris.h: New file.
402
403 2008-09-26 Jie Zhang <jie.zhang@analog.com>
404
405 * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
406
407 2008-09-24 Richard Henderson <rth@redhat.com>
408
409 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
410 (struct cfi_insn_data): Add ea member.
411 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
412 (output_cfi_insn): Handle CFI_val_encoded_addr.
413 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
414 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
415
416 2008-09-25 Alan Modra <amodra@bigpond.net.au>
417
418 PR 6913
419 * listing.c (print_options): Don't call fprintf without format string.
420
421 2008-09-19 Alan Modra <amodra@bigpond.net.au>
422
423 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
424 (TC_VALIDATE_FIX_SUB): Likewise.
425 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
426 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
427 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
428 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
429 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
430 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
431 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
432 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
433 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
434
435 * write.c (md_register_arithmetic): Define.
436 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
437 Modify error message when registers involved.
438 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
439 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
440
441 2008-09-15 Alan Modra <amodra@bigpond.net.au>
442
443 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
444
445 2008-09-15 Alan Modra <amodra@bigpond.net.au>
446
447 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
448 relocs with no symbol.
449 * config/tc-mmix.c (md_assemble): Mark fake symbol on
450 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
451 (mmix_md_end): Likewise mark mmix reg contents section symbol.
452
453 2008-09-14 Chris Smith <chris@zxdesign.info>
454
455 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
456 broken, as the opcode of ld a,(de) was being emitted for both.
457
458 2008-09-12 Sterling Augustine <sterling@tensilica.com>
459
460 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
461 operands equal to MAX_INSN_ARGS.
462
463 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
464
465 * configure.in: Call AC_SYS_LARGEFILE.
466 * config.in: Regenerate.
467 * configure: Regenerate.
468
469 2008-09-09 Peter Bergner <bergner@vnet.ibm.com>
470
471 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
472 Remove POWER5 and POWER6 tests.
473
474 2008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
475
476 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
477 number support for 32-bit targets.
478
479 2008-09-08 Tristan Gingold <gingold@adacore.com>
480
481 * NEWS: Add a marker for the 2.19 features.
482
483 2008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
484
485 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
486 comment regarding use of difference expressions.
487 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
488
489 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
490 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
491 (dot_cfi_lsda, output_cie, output_fde): Likewise.
492 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
493
494 2008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
495
496 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
497
498 2008-09-03 Nick Clifton <nickc@redhat.com>
499
500 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
501 alignment field of the .lcomm directive to be optional.
502 (pe_lcomm): New function. Pass pe_lcomm_internal to
503 s_comm_internal.
504 (md_pseudo_table): Implement .lcomm directive for COFF based
505 targets.
506 * doc/c-i386.texi (i386-Directives): New node. Used to document
507 the .lcomm directive.
508
509 2008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
510
511 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
512 and NetBSD.
513
514 2008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
515
516 * config/tc-avr.c (mcu_types): Add atmega16u4.
517 * doc/c-avr.texi: Likewise.
518
519 2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
520
521 * config/tc-ia64.c (CR_IIB0): New.
522 (CR_IIB1): Likewise.
523 (cr): Add cr.iib0 and cr.iib1.
524 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
525
526 2008-08-28 Jan Beulich <jbeulich@novell.com>
527
528 * config/tc-i386.c (md_assemble): Force number of displacement
529 operands to zero when processing string instruction.
530 (i386_index_check): Special-case string instruction operands. Don't
531 fudge address prefix if there already was a memory operand. Fix
532 error message to correctly reflect the addressing mode used.
533 (i386_att_operand): Fix comment.
534 (i386_intel_operand): Snapshot, clear, and restore base and index
535 reg for each operand processed. Increment count of memory operands
536 later.
537
538 2008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
539
540 * config/tc-hppa.c (is_SB_relative): New macro.
541 (fix_new_hppa): Remove $segrel$ marker.
542 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
543 segment relative.
544 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
545
546 2008-08-27 Jan Beulich <jbeulich@novell.com>
547
548 * config/tc-i386.c (check_string): Use register_prefix for error
549 message.
550 (process_operands): Likewise.
551
552 2008-08-26 Mark Mitchell <mark@codesourcery.com>
553
554 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
555
556 2008-08-26 Jie Zhang <jie.zhang@analog.com>
557
558 * config/bfin-parse.y (check_macfunc_option): Fix instruction
559 mode checking.
560 (asm_1): Check mode for 16-bit multiply instructions.
561
562 2008-08-24 Alan Modra <amodra@bigpond.net.au>
563
564 * configure.in: Update a number of obsolete autoconf macros.
565 * configure: Regenerate.
566 * aclocal.m4: Regenerate.
567
568 2008-08-22 Nick Clifton <nickc@redhat.com>
569
570 * config/tc-mcore.c (md_assemble): Increase length of name array
571 to include terminating NUL.
572
573 2008-08-22 Jie Zhang <jie.zhang@analog.com>
574
575 * config/bfin-lex.l (NUMBER): Protect special `.'.
576
577 2008-08-22 Alan Modra <amodra@bigpond.net.au>
578
579 * symbols.c (symbol_clone): Ensure clones are not external.
580
581 2008-08-22 Alan Modra <amodra@bigpond.net.au>
582
583 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
584
585 2008-08-21 Richard Henderson <rth@redhat.com>
586
587 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
588 (output_cie, output_fde): Use it.
589 (DWARF2_EH_FRAME_READ_ONLY): New.
590 (cfi_finish): Use it.
591
592 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
593 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
594 (DWARF2_EH_FRAME_READ_ONLY): New.
595 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
596 from the results of DIFF_EXPR_OK manipulation.
597
598 2008-08-21 Sterling Augustine <sterling@tensilica.com>
599
600 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
601
602 2008-08-20 Bob Wilson <bob.wilson@acm.org>
603
604 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
605 (O_tpoff, O_dtpoff): Define.
606 (suffix_relocs): Add entries for TLS suffixes.
607 (xtensa_elf_cons): Check for invalid use of TLS relocations.
608 (map_operator_to_reloc): Add is_literal parameter and use it to
609 control translating TLS instruction relocations to the corresponding
610 literal relocations.
611 (xg_valid_literal_expression): Allow TLS operators.
612 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
613 operands to generated literals.
614 (xg_assemble_literal): Handle TLS operators. Update call to
615 map_operator_to_reloc.
616 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
617 (md_apply_fix): Handle TLS relocations.
618 (emit_single_op): Handle TLS operators.
619 (convert_frag_immed): Update call to map_operator_to_reloc.
620 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
621 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
622 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
623 to initialize the op_data field of the BuildOp.
624 (build_transition): Use it here to record the source operand
625 corresponding to a generated literal.
626 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
627
628 2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
629
630 AVX Programming Reference (August, 2008)
631 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
632 (CPU_FLAGS_AVX_MATCH): Likewise.
633 (CPU_FLAGS_32BIT_MATCH): Updated.
634 (cpu_flags_match): Likewise.
635
636 2008-08-20 Alan Modra <amodra@bigpond.net.au>
637
638 PR 6848
639 * write.c (install_reloc): Check that reloc symbols have been
640 written.
641 (set_symtab): Mark symbols with BSF_KEEP.
642
643 2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
644
645 * config/tc-i386.c (i386_align_code): Fix a comment typo.
646
647 2008-08-15 Alan Modra <amodra@bigpond.net.au>
648
649 PR 6526
650 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
651 * Makefile.in: Regenerate.
652 * aclocal.m4: Regenerate.
653 * config.in: Regenerate.
654 * configure: Regenerate.
655 * doc/Makefile.in: Regenerate.
656
657 2008-08-14 Alan Modra <amodra@bigpond.net.au>
658
659 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
660
661 2008-08-13 Ben Elliston <bje@au.ibm.com>
662
663 * doc/as.texinfo (Align): Document the PowerPC behaviour.
664
665 2008-08-13 Alan Modra <amodra@bigpond.net.au>
666
667 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
668 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
669 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
670 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
671 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
672 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
673 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
674 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
675 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
676 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
677
678 2008-08-12 Alan Modra <amodra@bigpond.net.au>
679
680 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
681 * config/tc-ia64.c (dot_rot): Likewise.
682
683 2008-08-11 Alan Modra <amodra@bigpond.net.au>
684
685 PR 6575
686 * hash.c: Expand PTR to void *.
687 (hash_delete): Add "freeme" parameter. Call obstack_free.
688 * hash.h: Expand PTR to void *.
689 (hash_delete): Update prototype.
690 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
691 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
692 call.
693 (subsym_substitute): Likewise.
694 * doc/internals.texi (hash_delete): Update.
695
696 2008-08-08 Anatoly Sokolov <aesok@post.ru>
697
698 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
699 architectures. Reorganize list to put mcu types in correct
700 architectures and to order list same as in GCC. Use new ISA
701 definitions in include/opcode/avr.h.
702 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
703 descriptions. Reorganize descriptions to put mcu types in correct
704 architectures and to order lists same as in GCC.
705
706 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
707 Daniel Jacobowitz <dan@codesourcery.com>
708
709 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
710 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
711 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
712 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
713 (md_longopts): Add -call_nonpic.
714 (md_parse_option): Handle OPTION_CALL_NONPIC.
715 (md_show_usage): Add -call_nonpic.
716
717 2008-08-08 Sterling Augustine <sterling@tensilica.com>
718
719 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
720 (xtensa_create_property_segments): Use it.
721 (xtensa_create_xproperty_segments): Likewise.
722
723 2008-08-08 Alan Modra <amodra@bigpond.net.au>
724
725 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
726
727 2008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
728
729 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
730 (lo16_reloc_p): New functions.
731 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
732 generalize relocation checks.
733 (matching_lo_reloc): New function.
734 (fixup_has_matching_lo_p): Use it.
735 (mips16_mark_labels): Don't clobber a symbol's visibility.
736 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
737 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
738 (md_apply_fix): Likewise.
739 (mips16_percent_op): Add %got and %call16.
740 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
741 Use matching_lo_reloc.
742 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
743 generalize relocation checks.
744 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
745 checks.
746
747 2008-08-06 DJ Delorie <dj@redhat.com>
748
749 * NEWS: Mention these changes.
750
751 * config/tc-h8300.h (H_TICK_HEX): Define.
752 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
753 (md_longopts): Add "-h-tick-hex".
754 (md_parse_option): Support it.
755 * doc/c-h8300.texi (H8/300 Options): Document it.
756 * doc/as.texinfo (Overview): Likewise.
757
758 * config/tc-sh.h (H_TICK_HEX): Define.
759 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
760 (md_longopts): Add "-h-tick-hex".
761 (md_parse_option): Support it.
762 * doc/c-sh.texi (SH Options): Document it.
763 * doc/c-sh64.texi (SH64 Options): Document it.
764 * doc/as.texinfo (Overview): Likewise.
765
766 2008-08-05 Alan Modra <amodra@bigpond.net.au>
767
768 PR gas/6656
769 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
770 debug info if we see compiler generated debug info.
771 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
772
773 2008-08-04 Alan Modra <amodra@bigpond.net.au>
774
775 * dwarf2dbg.c: Remove superfluous forward function declarations.
776 (DWARF2_FORMAT): Add section arg.
777 (out_header): New function, split out from..
778 (out_debug_line): ..here.
779 (out_debug_aranges): Use out_header.
780 (out_debug_abbrev): Add info_seg and line_seg args. Use
781 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
782 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
783 if line_seg is 64-bit.
784 (dwarf2_finish): Adjust out_debug_abbrev call.
785 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
786 * config/tc-mips.c (mips_dwarf2_format): Likewise.
787
788 2008-08-04 Alan Modra <amodra@bigpond.net.au>
789
790 * Makefile.am (POTFILES.in): Set LC_ALL=C.
791 * Makefile.in: Regenerate.
792 * po/POTFILES.in: Regenerate.
793
794 2008-08-01 Peter Bergner <bergner@vnet.ibm.com>
795
796 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
797 Handle -mvsx and -mpower7.
798 (md_show_usage): Document -mpower7 and -mvsx.
799 * doc/as.texinfo (Target PowerPC): Document -mvsx.
800 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
801
802 2008-07-31 Peter Bergner <bergner@vnet.ibm.com>
803
804 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
805 <cell>: Likewise.
806
807 2008-07-30 Michael J. Eager <eager@eagercon.com>
808
809 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
810 (md_show_usage): Likewise.
811
812 2008-07-30 Alan Modra <amodra@bigpond.net.au>
813
814 * messages.c, symbols.c, write.c: Silence gcc warnings.
815
816 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
817
818 * config/tc-i386.c (operand_type_check): Warning fix.
819
820 2008-07-26 Michael Eager <eager@eagercon.com>
821
822 * doc/as.texinfo: Add description of single-precision attribute.
823
824 2008-07-24 Jie Zhang <jie.zhang@analog.com>
825
826 * config/bfin-parse.y (asm_1): Error if plain symbol is used
827 as load/store offset.
828
829 2008-07-22 Chao-ying Fu <fu@mips.com>
830
831 * config/tc-mips.c (mips_ip): Reset s to argsStart.
832
833 2008-07-22 Jie Zhang <jie.zhang@analog.com>
834
835 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
836
837 2008-07-21 DJ Delorie <dj@redhat.com>
838
839 * config/tc-h8300.c (fix_operand_size): Use the default size
840 specified by the .lbranch/.sbranch pseudos.
841
842 2008-07-18 DJ Delorie <dj@redhat.com>
843
844 * config/tc-m32c.h (H_TICK_HEX): Define.
845 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
846 (md_longopts): Add support for it.
847 (md_parse_option): Likewise.
848 * doc/as.texinfo (Overview): Add new m32c options.
849 * doc/c-m32c.texi (M32C-Modifiers): Likewise
850
851 * as.h: (enable_h_tick_hex): New.
852 * app.c (enable_h_tick_hex): New.
853 (LEX_IS_H): New.
854 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
855 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
856 style hex constants and convert the input stream to 0x00 style.
857 (do_scrub_chars): If a 'X style character constant is found after
858 a symbol character (like you're or X'00), warn the user.
859
860 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
861
862 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
863 (mips_fix_adjustable): Likewise.
864 (mips_frob_file_after_relocs): Likewise.
865
866 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
867
868 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
869 about overriding an earlier setting.
870
871 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
872
873 * config/tc-mips.c (NO_ISA_COP): New macro.
874 (COP_INSN): New macro.
875 (is_opcode_valid): Use them.
876 (macro) <ld_st>: Use them. Don't accept coprocessor load store
877 insns based on the ISA if CPU is NO_ISA_COP.
878 <copz>: Likewise for coprocessor operations.
879
880 2008-07-07 Paul Brook <paul@codesourcery.com>
881
882 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
883 relocations.
884
885 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
886
887 * configure.tgt: Add bfin-*-rtems*.
888
889 2008-07-04 Alan Modra <amodra@bigpond.net.au>
890
891 * config/tc-spu.c (md_apply_fix): Handle fully resolved
892 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
893
894 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
895
896 * config/tc-ppc.c (parse_cpu): Handle -m464.
897 (md_show_usage): Likewise.
898
899 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
900
901 Add support for ATtiny13A.
902 * config/tc-avr.c (mcu_types): Add attiny13a.
903 * doc/c-avr.texi: Likewise.
904
905 2008-06-24 Bob Wilson <bob.wilson@acm.org>
906 Alan Modra <amodra@bigpond.net.au>
907
908 * write.c (relax_segment <rs_org>): Include current stretch
909 value when calculating whether .org is backwards.
910
911 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
912
913 * configure: Regenerate.
914
915 2008-06-17 Nick Clifton <nickc@redhat.com>
916
917 * app.c (do_scrub_chars): Do not UNGET an EOF value.
918
919 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
920
921 PR gas/6607
922 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
923 text_section. Do the "stepping backwards" test for text_section
924 using unsigned operands.
925
926 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
927
928 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
929 (ppc_insert_operand): Likewise.
930 (ppc_machine): Likewise.
931 * config/tc-ppc.h: #include "opcode/ppc.h"
932 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
933 (ppc_cpu): Update extern decl.
934
935 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
936
937 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
938 +x, +X, +p, +P, +s, +S.
939 (mips_ip): Likewise.
940
941 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
942 (mips_ip): Likewise.
943 (macro_build): Likewise.
944 (CPU_HAS_SEQ): New macro.
945 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
946
947 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
948
949 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
950 * doc/c-avr.texi: Likewise.
951
952 2008-06-04 Nick Clifton <nickc@redhat.com>
953
954 * app.c (do_scrub_chars): Do not UNGET an EOF value.
955
956 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
957
958 * config/tc-i386.c (set_sse_check): New.
959 (md_pseudo_table): Add "sse_check".
960
961 2008-06-03 Paul Brook <paul@codesourcery.com>
962
963 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
964
965 2008-05-30 Nick Clifton <nickc@redhat.com>
966
967 PR 5523
968 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
969 relocs here.
970
971 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
972
973 * config/tc-mips.c (mips_cpu_info_table): Move records for
974 ST Loongson-2E/2F processors to a better place.
975
976 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
977
978 PR gas/6518
979 * config/tc-i386.c (match_template): Report ambiguous operand
980 size, not invalid suffix when there is no match in Intel
981 syntax.
982
983 2008-05-22 Paul Brook <paul@codesourcery.com>
984
985 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
986
987 2008-05-21 I-Jui Sung <ijsung@gmail.com>
988
989 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
990 compatible cores: fa526, fa626, fa626te, fa726te.
991 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
992 fa726te} options.
993
994 2008-05-14 Alan Modra <amodra@bigpond.net.au>
995
996 * Makefile.am: Run "make dep-am".
997 * Makefile.in: Regenerate.
998 * doc/Makefile.in: Regenerate.
999 * po/POTFILES.in: Regenerate.
1000
1001 2008-05-09 Catherine Moore <clm@codesourcery.com>
1002
1003 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
1004 with non-MIPS16 relocs.
1005
1006 2008-05-09 Chao-ying Fu <fu@mips.com>
1007
1008 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
1009 case that some characters append at the end of the name.
1010 (mips_ip): Likewise.
1011 (s_change_sec): Likewise.
1012 (md_section_align): Likewise.
1013
1014 2008-05-07 Bob Wilson <bob.wilson@acm.org>
1015
1016 * config/tc-xtensa.c (xtensa_create_property_segments): Use
1017 xtensa_make_property_section instead of xtensa_get_property_section.
1018 (xtensa_create_xproperty_segments): Likewise.
1019
1020 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 * NEWS: Mention XSAVE, EPT and MOVBE.
1023
1024 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
1025 (md_show_usage): Add .movbe and .ept.
1026
1027 * doc/c-i386.texi: Add movbe and ept to -march=. Document
1028 .movbe and .ept.
1029
1030 2008-04-29 David S. Miller <davem@davemloft.net>
1031
1032 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
1033
1034 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
1035
1036 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
1037 New statics.
1038 (OPTION_ELF_BASE): Make room for new option macros.
1039 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
1040 OPTION_DOUBLE_FLOAT): New option macros.
1041 (md_longopts): Add msoft-float, mhard-float, msingle-float and
1042 mdouble-float.
1043 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
1044 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
1045 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
1046 and -mdouble-float.
1047 (struct mips_set_options): New fields soft_float and single_float.
1048 (mips_opts): Initialized them. Add comment for each field
1049 initializer.
1050 (mips_after_parse_args): Set them based on file_mips_soft_float
1051 and file_mips_single_float.
1052 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
1053 `.set singlefloat' and `.set doublefloat'.
1054 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
1055 Handle single-float and soft-float instructions here.
1056 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
1057 (is_opcode_valid_16): New function.
1058 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
1059 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
1060 M_S_DOB>: Remove special-casing of r4650.
1061 * doc/c-mips.texi (-march=): Add Octeon.
1062 (MIPS Opts): Document -msoft-float and -mhard-float. Document
1063 -msingle-float and -mdouble-float.
1064 (MIPS floating-point): New section. Document `.set softfloat' and
1065 `.set hardfloat'. Document `.set singlefloat' and `.set
1066 doublefloat'.
1067
1068 2008-04-25 David S. Miller <davem@davemloft.net>
1069
1070 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
1071 %asr aliases.
1072
1073 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
1074 rather than occaisionally 'levels'. Consistently refer to Sun's
1075 UNIX variant as SunOS, every version of Solaris is also SunOS.
1076 Document new 'softint_clear' and 'softint_set' aliases. Clarify
1077 which architecture versions support '%dcr', '%cq', and '%gl'. Add
1078 section on 32-bit/64-bit opcode translations.
1079
1080 2008-04-23 Mike Frysinger <vapier@gentoo.org>
1081
1082 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
1083 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
1084 (obj-fdpicelf.o): Define.
1085 * Makefile.in: Regenerate.
1086 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
1087 (bfin-*-*): Delete.
1088 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
1089 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
1090 * config/obj-fdpicelf.c: New.
1091 * config/obj-fdpicelf.h: Likewise.
1092 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
1093 the OBJ_FDPIC_ELF define.
1094 (OPTION_NOPIC): Define.
1095 (md_longopts): Add mnopic and mno-fdpic.
1096 (md_parse_option): Handle OPTION_NOPIC.
1097
1098 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
1099
1100 * aclocal.m4: Regenerate.
1101 * configure: Regenerate.
1102
1103 2008-04-23 David S. Miller <davem@davemloft.net>
1104
1105 * config/tc-sparc.c (v9a_asr_table): Add missing
1106 'stick' and 'stick_cmpr', and document ordering rules
1107 of table.
1108 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
1109 BFD_RELOC_SPARC_PC10.
1110 * doc/c-sparc.texi: New section on Sparc constants.
1111 Add documentation for %stick and %stick_cmpr.
1112
1113 2008-04-22 David S. Miller <davem@davemloft.net>
1114
1115 * config/obj-elf.c (obj_elf_section_type): Add prototype
1116 before obj_elf_section_word and add 'warn' arg.
1117 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
1118 is matched, try checking for #SECTION_TYPE.
1119 (obj_elf_section): Adjust for new args.
1120 (obj_elf_type_name): New function.
1121 (obj_elf_type): Call it, and accept STT_foo number strings
1122 in .type statements as output by SunPRO compiler.
1123
1124 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 * config/tc-i386.c (md_assemble): Don't check SSE instructions
1127 if noavx is 0.
1128
1129 2008-04-18 David S. Miller <davem@davemloft.net>
1130
1131 * doc/c-sparc.texi: Add syntax section.
1132
1133 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
1134
1135 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
1136 REG and NDS for instructions with immediate operand.
1137
1138 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
1139
1140 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
1141 FMA.
1142
1143 2008-04-16 David S. Miller <davem@davemloft.net>
1144
1145 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
1146 and relocation generation.
1147 (tc_gen_reloc): Likewise.
1148
1149 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
1150
1151 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
1152 relocations are properly aligned, and not negative.
1153
1154 2008-04-15 Khem Raj <kraj@mvista.com>
1155
1156 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
1157
1158 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
1159
1160 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
1161 accept e500mc instructions.
1162 (md_show_usage): Document -me500mc.
1163
1164 2008-04-11 Nick Clifton <nickc@redhat.com>
1165
1166 * listing.c (print_timestamp): Use localtime rather than
1167 localtime_r since not all build environments provide the latter.
1168
1169 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
1170
1171 * NEWS: Mention -msse-check=[none|error|warning].
1172
1173 * config/tc-i386.c (sse_check): New.
1174 (OPTION_MSSE_CHECK): Likewise.
1175 (md_assemble): Check SSE instructions if needed.
1176 (md_longopts): Add -msse-check.
1177 (md_parse_option): Handle OPTION_MSSE_CHECK.
1178 (md_show_usage): Show -msse-check=[none|error|warning].
1179
1180 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
1181
1182 2008-04-10 Santiago Urueña <suruena@gmail.com>
1183
1184 * listing.c: Add -ag listing flag to show general information in
1185 listings such as gas version, passed options, and time stamp.
1186 (listing_general_info): New function.
1187 (print_options): New function.
1188 (print_single_option): New function.
1189 (print_timestamp): New function.
1190 (MAX_DATELEN): Define.
1191 (listing_print): Add call to listing_general_info.
1192 * listing.h (LISTING_GENERAL): Define.
1193 (listing_print): Add new parameter.
1194 * as.c (show_usage): Print new switch.
1195 (parse_args): Parse new switch.
1196 (main): Pass command line on to listing_print.
1197 * NEWS: Mention this new feature.
1198 * doc/as.texinfo: Document the new sub-option.
1199
1200 2008-04-08 Alan Modra <amodra@bigpond.net.au>
1201
1202 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
1203 call. Delete out of date comment.
1204 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
1205 (dwarf2_emit_label): Don't emit unless there has been a previous
1206 .file or we are outputting assembler generated debug.
1207 dwarf2_consume_line_info after emitting line info, not before.
1208 (out_debug_info): Simplify files_in_use test.
1209
1210 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
1211
1212 * config/tc-i386.c (parse_real_register): Return AVX register
1213 only if AVX is enabled.
1214
1215 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1216
1217 PR gas/6043
1218 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
1219 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
1220
1221 2008-04-04 Adrian Bunk <bunk@stusta.de>
1222 Bob Wilson <bob.wilson@acm.org>
1223
1224 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
1225 call to decode_reloc.
1226
1227 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
1228
1229 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
1230
1231 * config/tc-i386.c (cpu_arch): Add .pclmul.
1232 (md_show_usage): Replace clmul with pclmul.
1233 * doc/c-i386.texi: Likewise.
1234
1235 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
1236
1237 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
1238
1239 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
1240 Document -msse2avx, .avx, .aes, .clmul and .fma.
1241
1242 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
1243 (vex_prefix): Likewise.
1244 (sse2avx): Likewise.
1245 (CPU_FLAGS_ARCH_MATCH): Likewise.
1246 (CPU_FLAGS_64BIT_MATCH): Likewise.
1247 (CPU_FLAGS_32BIT_MATCH): Likewise.
1248 (CPU_FLAGS_PERFECT_MATCH): Likewise.
1249 (regymm): Likewise.
1250 (vex_imm4): Likewise.
1251 (fits_in_imm4): Likewise.
1252 (build_vex_prefix): Likewise.
1253 (VEX_check_operands): Likewise.
1254 (bad_implicit_operand): Likewise.
1255 (OPTION_MSSE2AVX): Likewise.
1256 (T_YMMWORD): Likewise.
1257 (_i386_insn): Add vex.
1258 (cpu_arch): Add .avx, .aes, .clmul and .fma.
1259 (cpu_flags_match): Changed to take a pointer to const template.
1260 Enable encoding SSE instructions with VEX prefix for -msse2avx.
1261 (match_mem_size): Also check ymmword.
1262 (operand_type_match): Clear ymmword.
1263 (md_begin): Allow '_' in mnemonic.
1264 (type_names): Add OPERAND_TYPE_VEX_IMM4.
1265 (process_immext): Update assert.
1266 (md_assemble): Don't call process_immext if sse2avx and immext
1267 are true. Call build_vex_prefix if vex is true.
1268 (parse_insn): Updated for cpu_flags_match.
1269 (swap_operands): Handle 5 operands.
1270 (match_template): Handle 5 operands. Updated for cpu_flags_match.
1271 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
1272 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
1273 (check_byte_reg): Check regymm.
1274 (process_operands): Duplicate the destination register for
1275 -msse2avx if needed.
1276 (build_modrm_byte): Updated for instructions with VEX encoding.
1277 (output_insn): Output VEX prefix if needed.
1278 (md_longopts): Add msse2avx.
1279 (md_parse_option): Handle OPTION_MSSE2AVX.
1280 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
1281 (intel_e09): Support YMMWORD.
1282 (intel_e11): Likewise.
1283 (intel_get_token): Likewise.
1284
1285 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
1286
1287 * config/tc-avr.c (mcu_types): Add attiny167.
1288 * doc/c-avr.texi: Likewise.
1289
1290 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
1291
1292 * config/tc-avr.c (mcu_types): Add atmega32u4.
1293 * doc/c-avr.texi: Likewise.
1294
1295 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
1296
1297 * config/tc-avr.c (mcu_types): Add atmega32c1.
1298 * doc/c-avr.texi: Likewise.
1299
1300 2008-03-28 Paul Brook <paul@codesourcery.com>
1301
1302 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
1303 to avoid spurious symbols.
1304
1305 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
1306
1307 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
1308 as_bad_where.
1309
1310 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
1311
1312 * config/tc-avr.c (mcu_types): Add atmega32m1.
1313 * doc/c-avr.texi: Likewise.
1314
1315 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
1316
1317 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
1318 start of block.
1319 (do_neon_ext): Fix sign of comparison.
1320
1321 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
1322
1323 From Jie Zhang <jie.zhang@analog.com>
1324 * config/bfin-parse.y (asm_1): Check AREGS in comparison
1325 instructions. And call yyerror when comparing PREG with
1326 DREG.
1327 (check_macfunc_option): New.
1328 (check_macfuncs): Check option by calling check_macfunc_option.
1329 Fix comparison always true warnings. Both scalar instructions
1330 of vector instruction must share the same mode option. Only allow
1331 option mode at the end of the second instruction of the vector.
1332 (asm_1): Check option by calling check_macfunc_option.
1333
1334 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
1335 option for multiply and multiply-accumulate to data register
1336 instruction.
1337 (check_macfuncs): Don't check if accumulator matches the data register
1338 here.
1339 (assign_macfunc): Check if accumulator matches the
1340 data register in each rule that moves to the data
1341 register.
1342
1343 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
1344 generated for LOOP_BEGIN and LOOP_END instructions.
1345 (bfin_gen_loop): Likewise.
1346
1347 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
1348
1349 * config/tc-s390.c (md_parse_option): z10 option added.
1350
1351 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1352
1353 * aclocal.m4: Regenerate.
1354 * configure: Likewise.
1355 * Makefile.in: Likewise.
1356 * doc/Makefile.in: Likewise.
1357
1358 2008-03-17 Adrian Bunk <bunk@stusta.de>
1359
1360 PR 5946
1361 * config/tc-hppa.c (is_same_frag): Delete.
1362
1363 2008-03-14 Sterling Augustine <sterling@tensilica.com>
1364
1365 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
1366 RELAX_LOOP_END_ADD_NOP.
1367
1368 2008-03-13 Evandro Menezes <evandro@yahoo.com>
1369
1370 PR gas/5895
1371 * read.c (s_mexit): Warn if attempting to exit a macro when not
1372 inside a macro definition.
1373
1374 2008-03-13 Alan Modra <amodra@bigpond.net.au>
1375
1376 * Makefile.am: Run "make dep-am".
1377 * Makefile.in: Regenerate.
1378 * configure: Regenerate.
1379
1380 2008-03-09 Paul Brook <paul@codesourcery.com>
1381
1382 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
1383 * doc/c-arm.texi: Add cortex-a9.
1384
1385 2008-03-09 Paul Brook <paul@codesourcery.com>
1386
1387 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
1388 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
1389 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
1390 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
1391 * doc/c-arm.texi: Document new ARM FPU variants.
1392
1393 2008-03-07 Paul Brook <paul@codesourcery.com>
1394
1395 * config/tc-arm.c (md_apply_fix): Use correct offset range.
1396
1397 2008-03-07 Alan Modra <amodra@bigpond.net.au>
1398
1399 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
1400 for strict ordering of powerpc_opcodes, but disable for now.
1401
1402 2008-03-04 Paul Brook <paul@codesourcery.com>
1403
1404 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
1405 (arm_ext_v7m): Rename...
1406 (arm_ext_m): ... to this. Include v6-M.
1407 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
1408 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
1409 (md_assemble): Allow wide msr instructions.
1410 (insns): Add classifications for v6-m instructions.
1411 (arm_cpu_option_table): Add cortex-m1.
1412 (arm_arch_option_table): Add armv6-m.
1413 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
1414
1415 2008-03-03 Sterling Augustine <sterling@tensilica.com>
1416 Bob Wilson <bob.wilson@acm.org>
1417
1418 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
1419 (md_begin): Initialize it.
1420 (resources_conflict): Use it.
1421
1422 2008-03-03 Sterling Augustine <sterling@tensilica.com>
1423
1424 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
1425
1426 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
1427 H.J. Lu <hongjiu.lu@intel.com>
1428
1429 PR gas/5543
1430 * read.c (pseudo_set): Don't allow global register symbol.
1431
1432 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
1433 global.
1434
1435 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
1436
1437 PR gas/5543
1438 * write.c (write_object_file): Don't allow symbols which were
1439 equated to register. Stop if there is an error.
1440
1441 2008-03-01 Alan Modra <amodra@bigpond.net.au>
1442
1443 * config/tc-ppc.h (struct _ppc_fix_extra): New.
1444 (ppc_cpu): Declare.
1445 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
1446 * config/tc-ppc.c (ppu_cpu): Make global.
1447 (ppc_insert_operand): Add ppu_cpu parameter.
1448 (md_assemble): Adjust for above change.
1449 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
1450
1451 2008-02-22 Nick Clifton <nickc@redhat.com>
1452
1453 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
1454 targeted ARM ports, otherwise just skip generating the reloc.
1455
1456 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
1457
1458 * doc/c-i386.texi: Update -march= and .arch.
1459
1460 2008-02-18 Nick Clifton <nickc@redhat.com>
1461
1462 * config/tc-mn10300.c (has_known_symbol_location): New function.
1463 Do not regard weak symbols as having a known location.
1464 (md_estimate_size_before_relax): Use new function.
1465 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
1466
1467 2008-02-18 Jan Beulich <jbeulich@novell.com>
1468
1469 * config/tc-i386.c (match_template): Disallow 'l' suffix when
1470 currently selected CPU has no 32-bit support.
1471 (parse_real_register): Do not return registers not available on
1472 currently selected CPU.
1473
1474 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
1475
1476 * config/tc-i386.c (process_immext): Fix format.
1477
1478 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
1479
1480 * config/tc-i386.c (inoutportreg): New.
1481 (process_immext): New.
1482 (md_assemble): Use it.
1483 (update_imm): Use imm16 and imm32s.
1484 (i386_att_operand): Use inoutportreg.
1485
1486 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
1487
1488 * config/tc-i386.c (operand_type_all_zero): New.
1489 (operand_type_set): Likewise.
1490 (operand_type_equal): Likewise.
1491 (cpu_flags_all_zero): Likewise.
1492 (cpu_flags_set): Likewise.
1493 (cpu_flags_equal): Likewise.
1494 (UINTS_ALL_ZERO): Removed.
1495 (UINTS_SET): Likewise.
1496 (UINTS_CLEAR): Likewise.
1497 (UINTS_EQUAL): Likewise.
1498 (cpu_flags_match): Updated.
1499 (smallest_imm_type): Likewise.
1500 (set_cpu_arch): Likewise.
1501 (md_assemble): Likewise.
1502 (optimize_imm): Likewise.
1503 (match_template): Likewise.
1504 (process_suffix): Likewise.
1505 (update_imm): Likewise.
1506 (process_drex): Likewise.
1507 (process_operands): Likewise.
1508 (build_modrm_byte): Likewise.
1509 (i386_immediate): Likewise.
1510 (i386_displacement): Likewise.
1511 (i386_att_operand): Likewise.
1512 (parse_real_register): Likewise.
1513 (md_parse_option): Likewise.
1514 (i386_target_format): Likewise.
1515
1516 2008-02-14 Dimitry Andric <dimitry@andric.com>
1517
1518 PR gas/5712
1519 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
1520 pointer past the comma after parsing a floating point register
1521 name.
1522
1523 2008-02-14 Hakan Ardo <hakan@debian.org>
1524
1525 PR gas/2626
1526 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
1527 to AVR_ISA_2xxe.
1528 (avr_operand): Disallow post-increment addressing in the lpm
1529 instruction for the attiny26.
1530
1531 2008-02-13 Jan Beulich <jbeulich@novell.com>
1532
1533 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
1534 if not in Intel mode.
1535 (i386_intel_operand): Ignore segment overrides in immediate and
1536 offset operands.
1537 (intel_e11): Range-check i.mem_operands before use as array
1538 index. Filter out FLAT for uses other than as segment override.
1539 (intel_get_token): Remove broken promotion of "FLAT:" to mean
1540 "offset FLAT:".
1541
1542 2008-02-13 Jan Beulich <jbeulich@novell.com>
1543
1544 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
1545
1546 2008-02-13 Jan Beulich <jbeulich@novell.com>
1547
1548 * config/tc-i386.c (allow_pseudo_reg): New.
1549 (parse_real_register): Check for NULL just once. Allow all
1550 register table entries when allow_pseudo_reg is non-zero.
1551 Don't allow any registers without type when allow_pseudo_reg
1552 is zero.
1553 (tc_x86_regname_to_dw2regnum): Replace with ...
1554 (tc_x86_parse_to_dw2regnum): ... this.
1555 (tc_x86_frame_initial_instructions): Adjust for above change.
1556 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
1557 (tc_parse_to_dw2regnum): New.
1558 (tc_x86_regname_to_dw2regnum): Replace with ...
1559 (tc_x86_parse_to_dw2regnum): ... this.
1560 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
1561 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
1562 error handling.
1563
1564 2008-02-12 Nick Clifton <nickc@redhat.com>
1565
1566 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
1567 argument.
1568 (tic4x_insn_add): Likewise.
1569 (md_begin): Drop cast that was discarding a const qualifier.
1570 * config/tc-d30v.c (get_reloc): Add const qualifier to op
1571 argument.
1572 (build_insn): Drop cast that was discarding a const qualifier.
1573
1574 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
1575
1576 * config/tc-i386.c (cpu_arch): Add .xsave.
1577 (md_show_usage): Add .xsave.
1578
1579 * doc/c-i386.texi: Add xsave to -march=.
1580
1581 2008-02-07 Alan Modra <amodra@bigpond.net.au>
1582
1583 * read.c (s_weakref): Don't pass unadorned NULL to concat.
1584 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
1585
1586 2008-02-05 Sterling Augustine <sterling@tensilica.com>
1587
1588 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
1589 checks into assertions. When relaxation produces an operation that
1590 does not fit in the current FLIX instruction, make sure that the
1591 operation is relaxed as needed to account for being placed following
1592 the current instruction.
1593
1594 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
1595
1596 PR 5715
1597 * configure: Regenerated.
1598
1599 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
1600
1601 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
1602
1603 2008-01-31 Marc Gauthier <marc@tensilica.com>
1604
1605 * configure.tgt (xtensa*-*-*): Recognize processor variants.
1606
1607 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
1608
1609 * read.c: (emit_expr): Correct for mingw use of printf size
1610 specifier.
1611
1612 2008-01-24 Bob Wilson <bob.wilson@acm.org>
1613
1614 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
1615 can only be encoded in FLIX instructions but are not specified as such.
1616 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
1617 labels.
1618
1619 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
1620
1621 * NEWS: Mention new command line options for x86 targets.
1622
1623 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1624
1625 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
1626
1627 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
1628
1629 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
1630
1631 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1632
1633 * config/tc-i386.c (md_show_usage): Show more processors for
1634 -march=/-mtune=.
1635
1636 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1637
1638 * config/tc-i386.c (i386_target_format): Remove cpummx2.
1639
1640 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1641
1642 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
1643 (XXX_MNEM_SUFFIX): Likewise.
1644 (END_OF_INSN): Likewise.
1645 (templates): Likewise.
1646 (modrm_byte): Likewise.
1647 (rex_byte): Likewise.
1648 (DREX_XXX): Likewise.
1649 (drex_byte): Likewise.
1650 (sib_byte): Likewise.
1651 (processor_type): Likewise.
1652 (arch_entry): Likewise.
1653 (cpu_sub_arch_name): Remove const.
1654 (cpu_arch): Add .vmx and .smx.
1655 (set_cpu_arch): Append cpu_sub_arch_name.
1656 (md_parse_option): Support -march=CPU[,+EXTENSION...].
1657 (md_show_usage): Updated.
1658
1659 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
1660 (XXX_MNEM_SUFFIX): Likewise.
1661 (END_OF_INSN): Likewise.
1662 (templates): Likewise.
1663 (modrm_byte): Likewise.
1664 (rex_byte): Likewise.
1665 (DREX_XXX): Likewise.
1666 (drex_byte): Likewise.
1667 (sib_byte): Likewise.
1668 (processor_type): Likewise.
1669 (arch_entry): Likewise.
1670
1671 * doc/as.texinfo: Update i386 -march option.
1672
1673 * doc/c-i386.texi: Update -march= for ISA.
1674
1675 2008-01-18 Bob Wilson <bob.wilson@acm.org>
1676
1677 * config/tc-xtensa.c (xtensa_leb128): New function.
1678 (md_pseudo_table): Use it for sleb128 and uleb128.
1679 (is_leb128_expr): New internal flag.
1680 (xtensa_symbol_new_hook): Check new flag.
1681
1682 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
1683
1684 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
1685 at90usb82, at90usb162.
1686 * doc/c-avr.texi: Change architecture grouping for at90usb82,
1687 at90usb162.
1688 These changes support the new avr35 architecture group in gcc.
1689
1690 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
1691
1692 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
1693 suffix for AT&T syntax.
1694
1695 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
1696
1697 * config/tc-i386.c (match_reg_size): New.
1698 (match_mem_size): Likewise.
1699 (operand_size_match): Likewise.
1700 (operand_type_match): Also clear all size fields.
1701 (match_template): Skip Intel syntax when in AT&T syntax.
1702 Call operand_size_match to check operand size.
1703 (i386_att_operand): Set the mem field to 1 for memory
1704 operand.
1705 (i386_intel_operand): Likewise.
1706
1707 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
1708
1709 PR gas/5534
1710 * config/tc-i386.c (_i386_insn): Update comment.
1711 (operand_type_match): Also clear unspecified.
1712 (operand_type_register_match): Likewise.
1713 (parse_operands): Initialize unspecified.
1714 (i386_intel_operand): Likewise.
1715 (match_template): Check memory and accumulator operand size.
1716 (i386_att_operand): Clear unspecified on register operand.
1717 (intel_e11): Likewise.
1718 (intel_e09): Set operand size and clean unspecified for
1719 "XXX PTR".
1720
1721 2008-01-11 Andreas Schwab <schwab@suse.de>
1722
1723 * read.c (s_space): Declare `repeat' as offsetT.
1724
1725 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1726
1727 * config/tc-i386.c (match_template): Check processor support
1728 first.
1729
1730 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1731
1732 * config/tc-i386.c (match_template): Continue if processor
1733 doesn't match.
1734
1735 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
1736
1737 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
1738 unwind personality function address.
1739
1740 2008-01-09 Bob Wilson <bob.wilson@acm.org>
1741
1742 * dwarf2dbg.c (out_sleb128): Delete.
1743 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
1744 (out_fixed_inc_line_addr): Delete.
1745 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
1746 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
1747 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
1748 (process_entries): Remove calls to out_fixed_inc_line_addr. When
1749 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
1750 * read.h (emit_expr_fix): New prototype.
1751 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
1752 (emit_expr_fix): New.
1753
1754 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
1755
1756 * config/tc-i386.c (match_template): Check register size
1757 only when size of operands can be encoded the canonical way.
1758
1759 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
1760
1761 * config/tc-i386.c (i386_operand): Renamed to ...
1762 (i386_att_operand): This.
1763 (parse_operands): Updated.
1764
1765 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
1766
1767 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
1768
1769 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
1770 only.
1771 (md_assemble): Remove Intel mode workaround.
1772 (match_template): Check support for old gcc, AT&T mnemonic
1773 and Intel Syntax.
1774 (md_parse_option): Don't set intel_mnemonic to 0 for
1775 OPTION_MOLD_GCC.
1776
1777 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
1778
1779 * config/tc-i386.h: Update copyright to 2008.
1780
1781 2008-01-04 Nick Clifton <nickc@redhat.com>
1782
1783 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
1784 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
1785
1786 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1787
1788 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1789 of SYSV386_COMPAT.
1790
1791 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1792
1793 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1794 (cpu_flags_not): Likewise.
1795 (cpu_flags_match): Updated to check 64bit and arch.
1796 (set_code_flag): Remove cpu_arch_flags_not.
1797 (set_16bit_gcc_code_flag): Likewise.
1798 (set_cpu_arch): Likewise.
1799 (md_begin): Likewise.
1800 (parse_insn): Call cpu_flags_match to check 64bit and arch.
1801 (match_template): Likewise.
1802
1803 2008-01-03 Jakub Jelinek <jakub@redhat.com>
1804
1805 * config/tc-i386.c (process_drex): Initialize modrm_reg and
1806 modrm_regmem to 0 instead of None.
1807
1808 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1809
1810 * config/tc-i386.c (match_template): Use the xmmword field
1811 instead of no_xsuf.
1812
1813 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1814
1815 * config/tc-i386.c (process_suffix): Fix a typo.
1816
1817 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1818
1819 PR gas/5534
1820 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1821 Check memory size in Intel mode.
1822 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1823 (intel_e09): Likewise.
1824
1825 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1826
1827 2008-01-02 Catherine Moore <clm@codesourcery.com>
1828
1829 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1830
1831 For older changes see ChangeLog-2007
1832 \f
1833 Local Variables:
1834 mode: change-log
1835 left-margin: 8
1836 fill-column: 74
1837 version-control: never
1838 End:
This page took 0.064705 seconds and 5 git commands to generate.