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