* remote-sim.c (gdbsim_create_inferior): Fix missing parenthesis.
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2008-09-25 Alan Modra <amodra@bigpond.net.au>
2
3 PR 6913
4 * listing.c (print_options): Don't call fprintf without format string.
5
6 2008-09-19 Alan Modra <amodra@bigpond.net.au>
7
8 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
9 (TC_VALIDATE_FIX_SUB): Likewise.
10 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
11 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
12 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
13 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
14 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
15 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
16 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
17 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
18 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
19
20 * write.c (md_register_arithmetic): Define.
21 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
22 Modify error message when registers involved.
23 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
24 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
25
26 2008-09-15 Alan Modra <amodra@bigpond.net.au>
27
28 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
29
30 2008-09-15 Alan Modra <amodra@bigpond.net.au>
31
32 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
33 relocs with no symbol.
34 * config/tc-mmix.c (md_assemble): Mark fake symbol on
35 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
36 (mmix_md_end): Likewise mark mmix reg contents section symbol.
37
38 2008-09-14 Chris Smith <chris@zxdesign.info>
39
40 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
41 broken, as the opcode of ld a,(de) was being emitted for both.
42
43 2008-09-12 Sterling Augustine <sterling@tensilica.com>
44
45 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
46 operands equal to MAX_INSN_ARGS.
47
48 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
49
50 * configure.in: Call AC_SYS_LARGEFILE.
51 * config.in: Regenerate.
52 * configure: Regenerate.
53
54 2008-09-09 Peter Bergner <bergner@vnet.ibm.com>
55
56 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
57 Remove POWER5 and POWER6 tests.
58
59 2008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
60
61 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
62 number support for 32-bit targets.
63
64 2008-09-08 Tristan Gingold <gingold@adacore.com>
65
66 * NEWS: Add a marker for the 2.19 features.
67
68 2008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
69
70 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
71 comment regarding use of difference expressions.
72 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
73
74 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
75 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
76 (dot_cfi_lsda, output_cie, output_fde): Likewise.
77 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
78
79 2008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
80
81 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
82
83 2008-09-03 Nick Clifton <nickc@redhat.com>
84
85 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
86 alignment field of the .lcomm directive to be optional.
87 (pe_lcomm): New function. Pass pe_lcomm_internal to
88 s_comm_internal.
89 (md_pseudo_table): Implement .lcomm directive for COFF based
90 targets.
91 * doc/c-i386.texi (i386-Directives): New node. Used to document
92 the .lcomm directive.
93
94 2008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
95
96 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
97 and NetBSD.
98
99 2008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
100
101 * config/tc-avr.c (mcu_types): Add atmega16u4.
102 * doc/c-avr.texi: Likewise.
103
104 2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
105
106 * config/tc-ia64.c (CR_IIB0): New.
107 (CR_IIB1): Likewise.
108 (cr): Add cr.iib0 and cr.iib1.
109 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
110
111 2008-08-28 Jan Beulich <jbeulich@novell.com>
112
113 * config/tc-i386.c (md_assemble): Force number of displacement
114 operands to zero when processing string instruction.
115 (i386_index_check): Special-case string instruction operands. Don't
116 fudge address prefix if there already was a memory operand. Fix
117 error message to correctly reflect the addressing mode used.
118 (i386_att_operand): Fix comment.
119 (i386_intel_operand): Snapshot, clear, and restore base and index
120 reg for each operand processed. Increment count of memory operands
121 later.
122
123 2008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
124
125 * config/tc-hppa.c (is_SB_relative): New macro.
126 (fix_new_hppa): Remove $segrel$ marker.
127 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
128 segment relative.
129 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
130
131 2008-08-27 Jan Beulich <jbeulich@novell.com>
132
133 * config/tc-i386.c (check_string): Use register_prefix for error
134 message.
135 (process_operands): Likewise.
136
137 2008-08-26 Mark Mitchell <mark@codesourcery.com>
138
139 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
140
141 2008-08-26 Jie Zhang <jie.zhang@analog.com>
142
143 * config/bfin-parse.y (check_macfunc_option): Fix instruction
144 mode checking.
145 (asm_1): Check mode for 16-bit multiply instructions.
146
147 2008-08-24 Alan Modra <amodra@bigpond.net.au>
148
149 * configure.in: Update a number of obsolete autoconf macros.
150 * configure: Regenerate.
151 * aclocal.m4: Regenerate.
152
153 2008-08-22 Nick Clifton <nickc@redhat.com>
154
155 * config/tc-mcore.c (md_assemble): Increase length of name array
156 to include terminating NUL.
157
158 2008-08-22 Jie Zhang <jie.zhang@analog.com>
159
160 * config/bfin-lex.l (NUMBER): Protect special `.'.
161
162 2008-08-22 Alan Modra <amodra@bigpond.net.au>
163
164 * symbols.c (symbol_clone): Ensure clones are not external.
165
166 2008-08-22 Alan Modra <amodra@bigpond.net.au>
167
168 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
169
170 2008-08-21 Richard Henderson <rth@redhat.com>
171
172 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
173 (output_cie, output_fde): Use it.
174 (DWARF2_EH_FRAME_READ_ONLY): New.
175 (cfi_finish): Use it.
176
177 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
178 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
179 (DWARF2_EH_FRAME_READ_ONLY): New.
180 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
181 from the results of DIFF_EXPR_OK manipulation.
182
183 2008-08-21 Sterling Augustine <sterling@tensilica.com>
184
185 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
186
187 2008-08-20 Bob Wilson <bob.wilson@acm.org>
188
189 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
190 (O_tpoff, O_dtpoff): Define.
191 (suffix_relocs): Add entries for TLS suffixes.
192 (xtensa_elf_cons): Check for invalid use of TLS relocations.
193 (map_operator_to_reloc): Add is_literal parameter and use it to
194 control translating TLS instruction relocations to the corresponding
195 literal relocations.
196 (xg_valid_literal_expression): Allow TLS operators.
197 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
198 operands to generated literals.
199 (xg_assemble_literal): Handle TLS operators. Update call to
200 map_operator_to_reloc.
201 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
202 (md_apply_fix): Handle TLS relocations.
203 (emit_single_op): Handle TLS operators.
204 (convert_frag_immed): Update call to map_operator_to_reloc.
205 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
206 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
207 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
208 to initialize the op_data field of the BuildOp.
209 (build_transition): Use it here to record the source operand
210 corresponding to a generated literal.
211 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
212
213 2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
214
215 AVX Programming Reference (August, 2008)
216 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
217 (CPU_FLAGS_AVX_MATCH): Likewise.
218 (CPU_FLAGS_32BIT_MATCH): Updated.
219 (cpu_flags_match): Likewise.
220
221 2008-08-20 Alan Modra <amodra@bigpond.net.au>
222
223 PR 6848
224 * write.c (install_reloc): Check that reloc symbols have been
225 written.
226 (set_symtab): Mark symbols with BSF_KEEP.
227
228 2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
229
230 * config/tc-i386.c (i386_align_code): Fix a comment typo.
231
232 2008-08-15 Alan Modra <amodra@bigpond.net.au>
233
234 PR 6526
235 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
236 * Makefile.in: Regenerate.
237 * aclocal.m4: Regenerate.
238 * config.in: Regenerate.
239 * configure: Regenerate.
240 * doc/Makefile.in: Regenerate.
241
242 2008-08-14 Alan Modra <amodra@bigpond.net.au>
243
244 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
245
246 2008-08-13 Ben Elliston <bje@au.ibm.com>
247
248 * doc/as.texinfo (Align): Document the PowerPC behaviour.
249
250 2008-08-13 Alan Modra <amodra@bigpond.net.au>
251
252 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
253 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
254 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
255 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
256 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
257 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
258 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
259 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
260 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
261 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
262
263 2008-08-12 Alan Modra <amodra@bigpond.net.au>
264
265 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
266 * config/tc-ia64.c (dot_rot): Likewise.
267
268 2008-08-11 Alan Modra <amodra@bigpond.net.au>
269
270 PR 6575
271 * hash.c: Expand PTR to void *.
272 (hash_delete): Add "freeme" parameter. Call obstack_free.
273 * hash.h: Expand PTR to void *.
274 (hash_delete): Update prototype.
275 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
276 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
277 call.
278 (subsym_substitute): Likewise.
279 * doc/internals.texi (hash_delete): Update.
280
281 2008-08-08 Anatoly Sokolov <aesok@post.ru>
282
283 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
284 architectures. Reorganize list to put mcu types in correct
285 architectures and to order list same as in GCC. Use new ISA
286 definitions in include/opcode/avr.h.
287 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
288 descriptions. Reorganize descriptions to put mcu types in correct
289 architectures and to order lists same as in GCC.
290
291 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
292 Daniel Jacobowitz <dan@codesourcery.com>
293
294 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
295 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
296 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
297 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
298 (md_longopts): Add -call_nonpic.
299 (md_parse_option): Handle OPTION_CALL_NONPIC.
300 (md_show_usage): Add -call_nonpic.
301
302 2008-08-08 Sterling Augustine <sterling@tensilica.com>
303
304 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
305 (xtensa_create_property_segments): Use it.
306 (xtensa_create_xproperty_segments): Likewise.
307
308 2008-08-08 Alan Modra <amodra@bigpond.net.au>
309
310 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
311
312 2008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
313
314 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
315 (lo16_reloc_p): New functions.
316 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
317 generalize relocation checks.
318 (matching_lo_reloc): New function.
319 (fixup_has_matching_lo_p): Use it.
320 (mips16_mark_labels): Don't clobber a symbol's visibility.
321 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
322 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
323 (md_apply_fix): Likewise.
324 (mips16_percent_op): Add %got and %call16.
325 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
326 Use matching_lo_reloc.
327 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
328 generalize relocation checks.
329 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
330 checks.
331
332 2008-08-06 DJ Delorie <dj@redhat.com>
333
334 * NEWS: Mention these changes.
335
336 * config/tc-h8300.h (H_TICK_HEX): Define.
337 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
338 (md_longopts): Add "-h-tick-hex".
339 (md_parse_option): Support it.
340 * doc/c-h8300.texi (H8/300 Options): Document it.
341 * doc/as.texinfo (Overview): Likewise.
342
343 * config/tc-sh.h (H_TICK_HEX): Define.
344 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
345 (md_longopts): Add "-h-tick-hex".
346 (md_parse_option): Support it.
347 * doc/c-sh.texi (SH Options): Document it.
348 * doc/c-sh64.texi (SH64 Options): Document it.
349 * doc/as.texinfo (Overview): Likewise.
350
351 2008-08-05 Alan Modra <amodra@bigpond.net.au>
352
353 PR gas/6656
354 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
355 debug info if we see compiler generated debug info.
356 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
357
358 2008-08-04 Alan Modra <amodra@bigpond.net.au>
359
360 * dwarf2dbg.c: Remove superfluous forward function declarations.
361 (DWARF2_FORMAT): Add section arg.
362 (out_header): New function, split out from..
363 (out_debug_line): ..here.
364 (out_debug_aranges): Use out_header.
365 (out_debug_abbrev): Add info_seg and line_seg args. Use
366 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
367 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
368 if line_seg is 64-bit.
369 (dwarf2_finish): Adjust out_debug_abbrev call.
370 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
371 * config/tc-mips.c (mips_dwarf2_format): Likewise.
372
373 2008-08-04 Alan Modra <amodra@bigpond.net.au>
374
375 * Makefile.am (POTFILES.in): Set LC_ALL=C.
376 * Makefile.in: Regenerate.
377 * po/POTFILES.in: Regenerate.
378
379 2008-08-01 Peter Bergner <bergner@vnet.ibm.com>
380
381 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
382 Handle -mvsx and -mpower7.
383 (md_show_usage): Document -mpower7 and -mvsx.
384 * doc/as.texinfo (Target PowerPC): Document -mvsx.
385 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
386
387 2008-07-31 Peter Bergner <bergner@vnet.ibm.com>
388
389 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
390 <cell>: Likewise.
391
392 2008-07-30 Michael J. Eager <eager@eagercon.com>
393
394 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
395 (md_show_usage): Likewise.
396
397 2008-07-30 Alan Modra <amodra@bigpond.net.au>
398
399 * messages.c, symbols.c, write.c: Silence gcc warnings.
400
401 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
402
403 * config/tc-i386.c (operand_type_check): Warning fix.
404
405 2008-07-26 Michael Eager <eager@eagercon.com>
406
407 * doc/as.texinfo: Add description of single-precision attribute.
408
409 2008-07-24 Jie Zhang <jie.zhang@analog.com>
410
411 * config/bfin-parse.y (asm_1): Error if plain symbol is used
412 as load/store offset.
413
414 2008-07-22 Chao-ying Fu <fu@mips.com>
415
416 * config/tc-mips.c (mips_ip): Reset s to argsStart.
417
418 2008-07-22 Jie Zhang <jie.zhang@analog.com>
419
420 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
421
422 2008-07-21 DJ Delorie <dj@redhat.com>
423
424 * config/tc-h8300.c (fix_operand_size): Use the default size
425 specified by the .lbranch/.sbranch pseudos.
426
427 2008-07-18 DJ Delorie <dj@redhat.com>
428
429 * config/tc-m32c.h (H_TICK_HEX): Define.
430 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
431 (md_longopts): Add support for it.
432 (md_parse_option): Likewise.
433 * doc/as.texinfo (Overview): Add new m32c options.
434 * doc/c-m32c.texi (M32C-Modifiers): Likewise
435
436 * as.h: (enable_h_tick_hex): New.
437 * app.c (enable_h_tick_hex): New.
438 (LEX_IS_H): New.
439 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
440 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
441 style hex constants and convert the input stream to 0x00 style.
442 (do_scrub_chars): If a 'X style character constant is found after
443 a symbol character (like you're or X'00), warn the user.
444
445 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
446
447 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
448 (mips_fix_adjustable): Likewise.
449 (mips_frob_file_after_relocs): Likewise.
450
451 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
452
453 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
454 about overriding an earlier setting.
455
456 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
457
458 * config/tc-mips.c (NO_ISA_COP): New macro.
459 (COP_INSN): New macro.
460 (is_opcode_valid): Use them.
461 (macro) <ld_st>: Use them. Don't accept coprocessor load store
462 insns based on the ISA if CPU is NO_ISA_COP.
463 <copz>: Likewise for coprocessor operations.
464
465 2008-07-07 Paul Brook <paul@codesourcery.com>
466
467 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
468 relocations.
469
470 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
471
472 * configure.tgt: Add bfin-*-rtems*.
473
474 2008-07-04 Alan Modra <amodra@bigpond.net.au>
475
476 * config/tc-spu.c (md_apply_fix): Handle fully resolved
477 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
478
479 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
480
481 * config/tc-ppc.c (parse_cpu): Handle -m464.
482 (md_show_usage): Likewise.
483
484 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
485
486 Add support for ATtiny13A.
487 * config/tc-avr.c (mcu_types): Add attiny13a.
488 * doc/c-avr.texi: Likewise.
489
490 2008-06-24 Bob Wilson <bob.wilson@acm.org>
491 Alan Modra <amodra@bigpond.net.au>
492
493 * write.c (relax_segment <rs_org>): Include current stretch
494 value when calculating whether .org is backwards.
495
496 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
497
498 * configure: Regenerate.
499
500 2008-06-17 Nick Clifton <nickc@redhat.com>
501
502 * app.c (do_scrub_chars): Do not UNGET an EOF value.
503
504 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
505
506 PR gas/6607
507 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
508 text_section. Do the "stepping backwards" test for text_section
509 using unsigned operands.
510
511 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
512
513 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
514 (ppc_insert_operand): Likewise.
515 (ppc_machine): Likewise.
516 * config/tc-ppc.h: #include "opcode/ppc.h"
517 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
518 (ppc_cpu): Update extern decl.
519
520 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
521
522 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
523 +x, +X, +p, +P, +s, +S.
524 (mips_ip): Likewise.
525
526 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
527 (mips_ip): Likewise.
528 (macro_build): Likewise.
529 (CPU_HAS_SEQ): New macro.
530 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
531
532 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
533
534 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
535 * doc/c-avr.texi: Likewise.
536
537 2008-06-04 Nick Clifton <nickc@redhat.com>
538
539 * app.c (do_scrub_chars): Do not UNGET an EOF value.
540
541 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
542
543 * config/tc-i386.c (set_sse_check): New.
544 (md_pseudo_table): Add "sse_check".
545
546 2008-06-03 Paul Brook <paul@codesourcery.com>
547
548 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
549
550 2008-05-30 Nick Clifton <nickc@redhat.com>
551
552 PR 5523
553 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
554 relocs here.
555
556 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
557
558 * config/tc-mips.c (mips_cpu_info_table): Move records for
559 ST Loongson-2E/2F processors to a better place.
560
561 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
562
563 PR gas/6518
564 * config/tc-i386.c (match_template): Report ambiguous operand
565 size, not invalid suffix when there is no match in Intel
566 syntax.
567
568 2008-05-22 Paul Brook <paul@codesourcery.com>
569
570 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
571
572 2008-05-21 I-Jui Sung <ijsung@gmail.com>
573
574 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
575 compatible cores: fa526, fa626, fa626te, fa726te.
576 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
577 fa726te} options.
578
579 2008-05-14 Alan Modra <amodra@bigpond.net.au>
580
581 * Makefile.am: Run "make dep-am".
582 * Makefile.in: Regenerate.
583 * doc/Makefile.in: Regenerate.
584 * po/POTFILES.in: Regenerate.
585
586 2008-05-09 Catherine Moore <clm@codesourcery.com>
587
588 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
589 with non-MIPS16 relocs.
590
591 2008-05-09 Chao-ying Fu <fu@mips.com>
592
593 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
594 case that some characters append at the end of the name.
595 (mips_ip): Likewise.
596 (s_change_sec): Likewise.
597 (md_section_align): Likewise.
598
599 2008-05-07 Bob Wilson <bob.wilson@acm.org>
600
601 * config/tc-xtensa.c (xtensa_create_property_segments): Use
602 xtensa_make_property_section instead of xtensa_get_property_section.
603 (xtensa_create_xproperty_segments): Likewise.
604
605 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
606
607 * NEWS: Mention XSAVE, EPT and MOVBE.
608
609 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
610 (md_show_usage): Add .movbe and .ept.
611
612 * doc/c-i386.texi: Add movbe and ept to -march=. Document
613 .movbe and .ept.
614
615 2008-04-29 David S. Miller <davem@davemloft.net>
616
617 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
618
619 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
620
621 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
622 New statics.
623 (OPTION_ELF_BASE): Make room for new option macros.
624 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
625 OPTION_DOUBLE_FLOAT): New option macros.
626 (md_longopts): Add msoft-float, mhard-float, msingle-float and
627 mdouble-float.
628 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
629 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
630 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
631 and -mdouble-float.
632 (struct mips_set_options): New fields soft_float and single_float.
633 (mips_opts): Initialized them. Add comment for each field
634 initializer.
635 (mips_after_parse_args): Set them based on file_mips_soft_float
636 and file_mips_single_float.
637 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
638 `.set singlefloat' and `.set doublefloat'.
639 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
640 Handle single-float and soft-float instructions here.
641 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
642 (is_opcode_valid_16): New function.
643 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
644 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
645 M_S_DOB>: Remove special-casing of r4650.
646 * doc/c-mips.texi (-march=): Add Octeon.
647 (MIPS Opts): Document -msoft-float and -mhard-float. Document
648 -msingle-float and -mdouble-float.
649 (MIPS floating-point): New section. Document `.set softfloat' and
650 `.set hardfloat'. Document `.set singlefloat' and `.set
651 doublefloat'.
652
653 2008-04-25 David S. Miller <davem@davemloft.net>
654
655 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
656 %asr aliases.
657
658 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
659 rather than occaisionally 'levels'. Consistently refer to Sun's
660 UNIX variant as SunOS, every version of Solaris is also SunOS.
661 Document new 'softint_clear' and 'softint_set' aliases. Clarify
662 which architecture versions support '%dcr', '%cq', and '%gl'. Add
663 section on 32-bit/64-bit opcode translations.
664
665 2008-04-23 Mike Frysinger <vapier@gentoo.org>
666
667 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
668 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
669 (obj-fdpicelf.o): Define.
670 * Makefile.in: Regenerate.
671 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
672 (bfin-*-*): Delete.
673 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
674 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
675 * config/obj-fdpicelf.c: New.
676 * config/obj-fdpicelf.h: Likewise.
677 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
678 the OBJ_FDPIC_ELF define.
679 (OPTION_NOPIC): Define.
680 (md_longopts): Add mnopic and mno-fdpic.
681 (md_parse_option): Handle OPTION_NOPIC.
682
683 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
684
685 * aclocal.m4: Regenerate.
686 * configure: Regenerate.
687
688 2008-04-23 David S. Miller <davem@davemloft.net>
689
690 * config/tc-sparc.c (v9a_asr_table): Add missing
691 'stick' and 'stick_cmpr', and document ordering rules
692 of table.
693 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
694 BFD_RELOC_SPARC_PC10.
695 * doc/c-sparc.texi: New section on Sparc constants.
696 Add documentation for %stick and %stick_cmpr.
697
698 2008-04-22 David S. Miller <davem@davemloft.net>
699
700 * config/obj-elf.c (obj_elf_section_type): Add prototype
701 before obj_elf_section_word and add 'warn' arg.
702 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
703 is matched, try checking for #SECTION_TYPE.
704 (obj_elf_section): Adjust for new args.
705 (obj_elf_type_name): New function.
706 (obj_elf_type): Call it, and accept STT_foo number strings
707 in .type statements as output by SunPRO compiler.
708
709 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
710
711 * config/tc-i386.c (md_assemble): Don't check SSE instructions
712 if noavx is 0.
713
714 2008-04-18 David S. Miller <davem@davemloft.net>
715
716 * doc/c-sparc.texi: Add syntax section.
717
718 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
719
720 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
721 REG and NDS for instructions with immediate operand.
722
723 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
724
725 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
726 FMA.
727
728 2008-04-16 David S. Miller <davem@davemloft.net>
729
730 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
731 and relocation generation.
732 (tc_gen_reloc): Likewise.
733
734 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
735
736 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
737 relocations are properly aligned, and not negative.
738
739 2008-04-15 Khem Raj <kraj@mvista.com>
740
741 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
742
743 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
744
745 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
746 accept e500mc instructions.
747 (md_show_usage): Document -me500mc.
748
749 2008-04-11 Nick Clifton <nickc@redhat.com>
750
751 * listing.c (print_timestamp): Use localtime rather than
752 localtime_r since not all build environments provide the latter.
753
754 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
755
756 * NEWS: Mention -msse-check=[none|error|warning].
757
758 * config/tc-i386.c (sse_check): New.
759 (OPTION_MSSE_CHECK): Likewise.
760 (md_assemble): Check SSE instructions if needed.
761 (md_longopts): Add -msse-check.
762 (md_parse_option): Handle OPTION_MSSE_CHECK.
763 (md_show_usage): Show -msse-check=[none|error|warning].
764
765 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
766
767 2008-04-10 Santiago Urueña <suruena@gmail.com>
768
769 * listing.c: Add -ag listing flag to show general information in
770 listings such as gas version, passed options, and time stamp.
771 (listing_general_info): New function.
772 (print_options): New function.
773 (print_single_option): New function.
774 (print_timestamp): New function.
775 (MAX_DATELEN): Define.
776 (listing_print): Add call to listing_general_info.
777 * listing.h (LISTING_GENERAL): Define.
778 (listing_print): Add new parameter.
779 * as.c (show_usage): Print new switch.
780 (parse_args): Parse new switch.
781 (main): Pass command line on to listing_print.
782 * NEWS: Mention this new feature.
783 * doc/as.texinfo: Document the new sub-option.
784
785 2008-04-08 Alan Modra <amodra@bigpond.net.au>
786
787 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
788 call. Delete out of date comment.
789 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
790 (dwarf2_emit_label): Don't emit unless there has been a previous
791 .file or we are outputting assembler generated debug.
792 dwarf2_consume_line_info after emitting line info, not before.
793 (out_debug_info): Simplify files_in_use test.
794
795 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
796
797 * config/tc-i386.c (parse_real_register): Return AVX register
798 only if AVX is enabled.
799
800 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
801
802 PR gas/6043
803 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
804 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
805
806 2008-04-04 Adrian Bunk <bunk@stusta.de>
807 Bob Wilson <bob.wilson@acm.org>
808
809 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
810 call to decode_reloc.
811
812 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
813
814 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
815
816 * config/tc-i386.c (cpu_arch): Add .pclmul.
817 (md_show_usage): Replace clmul with pclmul.
818 * doc/c-i386.texi: Likewise.
819
820 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
821
822 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
823
824 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
825 Document -msse2avx, .avx, .aes, .clmul and .fma.
826
827 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
828 (vex_prefix): Likewise.
829 (sse2avx): Likewise.
830 (CPU_FLAGS_ARCH_MATCH): Likewise.
831 (CPU_FLAGS_64BIT_MATCH): Likewise.
832 (CPU_FLAGS_32BIT_MATCH): Likewise.
833 (CPU_FLAGS_PERFECT_MATCH): Likewise.
834 (regymm): Likewise.
835 (vex_imm4): Likewise.
836 (fits_in_imm4): Likewise.
837 (build_vex_prefix): Likewise.
838 (VEX_check_operands): Likewise.
839 (bad_implicit_operand): Likewise.
840 (OPTION_MSSE2AVX): Likewise.
841 (T_YMMWORD): Likewise.
842 (_i386_insn): Add vex.
843 (cpu_arch): Add .avx, .aes, .clmul and .fma.
844 (cpu_flags_match): Changed to take a pointer to const template.
845 Enable encoding SSE instructions with VEX prefix for -msse2avx.
846 (match_mem_size): Also check ymmword.
847 (operand_type_match): Clear ymmword.
848 (md_begin): Allow '_' in mnemonic.
849 (type_names): Add OPERAND_TYPE_VEX_IMM4.
850 (process_immext): Update assert.
851 (md_assemble): Don't call process_immext if sse2avx and immext
852 are true. Call build_vex_prefix if vex is true.
853 (parse_insn): Updated for cpu_flags_match.
854 (swap_operands): Handle 5 operands.
855 (match_template): Handle 5 operands. Updated for cpu_flags_match.
856 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
857 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
858 (check_byte_reg): Check regymm.
859 (process_operands): Duplicate the destination register for
860 -msse2avx if needed.
861 (build_modrm_byte): Updated for instructions with VEX encoding.
862 (output_insn): Output VEX prefix if needed.
863 (md_longopts): Add msse2avx.
864 (md_parse_option): Handle OPTION_MSSE2AVX.
865 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
866 (intel_e09): Support YMMWORD.
867 (intel_e11): Likewise.
868 (intel_get_token): Likewise.
869
870 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
871
872 * config/tc-avr.c (mcu_types): Add attiny167.
873 * doc/c-avr.texi: Likewise.
874
875 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
876
877 * config/tc-avr.c (mcu_types): Add atmega32u4.
878 * doc/c-avr.texi: Likewise.
879
880 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
881
882 * config/tc-avr.c (mcu_types): Add atmega32c1.
883 * doc/c-avr.texi: Likewise.
884
885 2008-03-28 Paul Brook <paul@codesourcery.com>
886
887 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
888 to avoid spurious symbols.
889
890 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
891
892 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
893 as_bad_where.
894
895 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
896
897 * config/tc-avr.c (mcu_types): Add atmega32m1.
898 * doc/c-avr.texi: Likewise.
899
900 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
901
902 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
903 start of block.
904 (do_neon_ext): Fix sign of comparison.
905
906 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
907
908 From Jie Zhang <jie.zhang@analog.com>
909 * config/bfin-parse.y (asm_1): Check AREGS in comparison
910 instructions. And call yyerror when comparing PREG with
911 DREG.
912 (check_macfunc_option): New.
913 (check_macfuncs): Check option by calling check_macfunc_option.
914 Fix comparison always true warnings. Both scalar instructions
915 of vector instruction must share the same mode option. Only allow
916 option mode at the end of the second instruction of the vector.
917 (asm_1): Check option by calling check_macfunc_option.
918
919 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
920 option for multiply and multiply-accumulate to data register
921 instruction.
922 (check_macfuncs): Don't check if accumulator matches the data register
923 here.
924 (assign_macfunc): Check if accumulator matches the
925 data register in each rule that moves to the data
926 register.
927
928 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
929 generated for LOOP_BEGIN and LOOP_END instructions.
930 (bfin_gen_loop): Likewise.
931
932 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
933
934 * config/tc-s390.c (md_parse_option): z10 option added.
935
936 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
937
938 * aclocal.m4: Regenerate.
939 * configure: Likewise.
940 * Makefile.in: Likewise.
941 * doc/Makefile.in: Likewise.
942
943 2008-03-17 Adrian Bunk <bunk@stusta.de>
944
945 PR 5946
946 * config/tc-hppa.c (is_same_frag): Delete.
947
948 2008-03-14 Sterling Augustine <sterling@tensilica.com>
949
950 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
951 RELAX_LOOP_END_ADD_NOP.
952
953 2008-03-13 Evandro Menezes <evandro@yahoo.com>
954
955 PR gas/5895
956 * read.c (s_mexit): Warn if attempting to exit a macro when not
957 inside a macro definition.
958
959 2008-03-13 Alan Modra <amodra@bigpond.net.au>
960
961 * Makefile.am: Run "make dep-am".
962 * Makefile.in: Regenerate.
963 * configure: Regenerate.
964
965 2008-03-09 Paul Brook <paul@codesourcery.com>
966
967 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
968 * doc/c-arm.texi: Add cortex-a9.
969
970 2008-03-09 Paul Brook <paul@codesourcery.com>
971
972 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
973 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
974 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
975 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
976 * doc/c-arm.texi: Document new ARM FPU variants.
977
978 2008-03-07 Paul Brook <paul@codesourcery.com>
979
980 * config/tc-arm.c (md_apply_fix): Use correct offset range.
981
982 2008-03-07 Alan Modra <amodra@bigpond.net.au>
983
984 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
985 for strict ordering of powerpc_opcodes, but disable for now.
986
987 2008-03-04 Paul Brook <paul@codesourcery.com>
988
989 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
990 (arm_ext_v7m): Rename...
991 (arm_ext_m): ... to this. Include v6-M.
992 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
993 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
994 (md_assemble): Allow wide msr instructions.
995 (insns): Add classifications for v6-m instructions.
996 (arm_cpu_option_table): Add cortex-m1.
997 (arm_arch_option_table): Add armv6-m.
998 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
999
1000 2008-03-03 Sterling Augustine <sterling@tensilica.com>
1001 Bob Wilson <bob.wilson@acm.org>
1002
1003 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
1004 (md_begin): Initialize it.
1005 (resources_conflict): Use it.
1006
1007 2008-03-03 Sterling Augustine <sterling@tensilica.com>
1008
1009 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
1010
1011 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
1012 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 PR gas/5543
1015 * read.c (pseudo_set): Don't allow global register symbol.
1016
1017 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
1018 global.
1019
1020 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 PR gas/5543
1023 * write.c (write_object_file): Don't allow symbols which were
1024 equated to register. Stop if there is an error.
1025
1026 2008-03-01 Alan Modra <amodra@bigpond.net.au>
1027
1028 * config/tc-ppc.h (struct _ppc_fix_extra): New.
1029 (ppc_cpu): Declare.
1030 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
1031 * config/tc-ppc.c (ppu_cpu): Make global.
1032 (ppc_insert_operand): Add ppu_cpu parameter.
1033 (md_assemble): Adjust for above change.
1034 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
1035
1036 2008-02-22 Nick Clifton <nickc@redhat.com>
1037
1038 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
1039 targeted ARM ports, otherwise just skip generating the reloc.
1040
1041 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 * doc/c-i386.texi: Update -march= and .arch.
1044
1045 2008-02-18 Nick Clifton <nickc@redhat.com>
1046
1047 * config/tc-mn10300.c (has_known_symbol_location): New function.
1048 Do not regard weak symbols as having a known location.
1049 (md_estimate_size_before_relax): Use new function.
1050 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
1051
1052 2008-02-18 Jan Beulich <jbeulich@novell.com>
1053
1054 * config/tc-i386.c (match_template): Disallow 'l' suffix when
1055 currently selected CPU has no 32-bit support.
1056 (parse_real_register): Do not return registers not available on
1057 currently selected CPU.
1058
1059 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
1060
1061 * config/tc-i386.c (process_immext): Fix format.
1062
1063 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
1064
1065 * config/tc-i386.c (inoutportreg): New.
1066 (process_immext): New.
1067 (md_assemble): Use it.
1068 (update_imm): Use imm16 and imm32s.
1069 (i386_att_operand): Use inoutportreg.
1070
1071 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 * config/tc-i386.c (operand_type_all_zero): New.
1074 (operand_type_set): Likewise.
1075 (operand_type_equal): Likewise.
1076 (cpu_flags_all_zero): Likewise.
1077 (cpu_flags_set): Likewise.
1078 (cpu_flags_equal): Likewise.
1079 (UINTS_ALL_ZERO): Removed.
1080 (UINTS_SET): Likewise.
1081 (UINTS_CLEAR): Likewise.
1082 (UINTS_EQUAL): Likewise.
1083 (cpu_flags_match): Updated.
1084 (smallest_imm_type): Likewise.
1085 (set_cpu_arch): Likewise.
1086 (md_assemble): Likewise.
1087 (optimize_imm): Likewise.
1088 (match_template): Likewise.
1089 (process_suffix): Likewise.
1090 (update_imm): Likewise.
1091 (process_drex): Likewise.
1092 (process_operands): Likewise.
1093 (build_modrm_byte): Likewise.
1094 (i386_immediate): Likewise.
1095 (i386_displacement): Likewise.
1096 (i386_att_operand): Likewise.
1097 (parse_real_register): Likewise.
1098 (md_parse_option): Likewise.
1099 (i386_target_format): Likewise.
1100
1101 2008-02-14 Dimitry Andric <dimitry@andric.com>
1102
1103 PR gas/5712
1104 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
1105 pointer past the comma after parsing a floating point register
1106 name.
1107
1108 2008-02-14 Hakan Ardo <hakan@debian.org>
1109
1110 PR gas/2626
1111 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
1112 to AVR_ISA_2xxe.
1113 (avr_operand): Disallow post-increment addressing in the lpm
1114 instruction for the attiny26.
1115
1116 2008-02-13 Jan Beulich <jbeulich@novell.com>
1117
1118 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
1119 if not in Intel mode.
1120 (i386_intel_operand): Ignore segment overrides in immediate and
1121 offset operands.
1122 (intel_e11): Range-check i.mem_operands before use as array
1123 index. Filter out FLAT for uses other than as segment override.
1124 (intel_get_token): Remove broken promotion of "FLAT:" to mean
1125 "offset FLAT:".
1126
1127 2008-02-13 Jan Beulich <jbeulich@novell.com>
1128
1129 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
1130
1131 2008-02-13 Jan Beulich <jbeulich@novell.com>
1132
1133 * config/tc-i386.c (allow_pseudo_reg): New.
1134 (parse_real_register): Check for NULL just once. Allow all
1135 register table entries when allow_pseudo_reg is non-zero.
1136 Don't allow any registers without type when allow_pseudo_reg
1137 is zero.
1138 (tc_x86_regname_to_dw2regnum): Replace with ...
1139 (tc_x86_parse_to_dw2regnum): ... this.
1140 (tc_x86_frame_initial_instructions): Adjust for above change.
1141 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
1142 (tc_parse_to_dw2regnum): New.
1143 (tc_x86_regname_to_dw2regnum): Replace with ...
1144 (tc_x86_parse_to_dw2regnum): ... this.
1145 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
1146 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
1147 error handling.
1148
1149 2008-02-12 Nick Clifton <nickc@redhat.com>
1150
1151 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
1152 argument.
1153 (tic4x_insn_add): Likewise.
1154 (md_begin): Drop cast that was discarding a const qualifier.
1155 * config/tc-d30v.c (get_reloc): Add const qualifier to op
1156 argument.
1157 (build_insn): Drop cast that was discarding a const qualifier.
1158
1159 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
1160
1161 * config/tc-i386.c (cpu_arch): Add .xsave.
1162 (md_show_usage): Add .xsave.
1163
1164 * doc/c-i386.texi: Add xsave to -march=.
1165
1166 2008-02-07 Alan Modra <amodra@bigpond.net.au>
1167
1168 * read.c (s_weakref): Don't pass unadorned NULL to concat.
1169 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
1170
1171 2008-02-05 Sterling Augustine <sterling@tensilica.com>
1172
1173 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
1174 checks into assertions. When relaxation produces an operation that
1175 does not fit in the current FLIX instruction, make sure that the
1176 operation is relaxed as needed to account for being placed following
1177 the current instruction.
1178
1179 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
1180
1181 PR 5715
1182 * configure: Regenerated.
1183
1184 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
1185
1186 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
1187
1188 2008-01-31 Marc Gauthier <marc@tensilica.com>
1189
1190 * configure.tgt (xtensa*-*-*): Recognize processor variants.
1191
1192 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
1193
1194 * read.c: (emit_expr): Correct for mingw use of printf size
1195 specifier.
1196
1197 2008-01-24 Bob Wilson <bob.wilson@acm.org>
1198
1199 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
1200 can only be encoded in FLIX instructions but are not specified as such.
1201 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
1202 labels.
1203
1204 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
1205
1206 * NEWS: Mention new command line options for x86 targets.
1207
1208 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1209
1210 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
1211
1212 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
1213
1214 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
1215
1216 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1217
1218 * config/tc-i386.c (md_show_usage): Show more processors for
1219 -march=/-mtune=.
1220
1221 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1222
1223 * config/tc-i386.c (i386_target_format): Remove cpummx2.
1224
1225 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1226
1227 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
1228 (XXX_MNEM_SUFFIX): Likewise.
1229 (END_OF_INSN): Likewise.
1230 (templates): Likewise.
1231 (modrm_byte): Likewise.
1232 (rex_byte): Likewise.
1233 (DREX_XXX): Likewise.
1234 (drex_byte): Likewise.
1235 (sib_byte): Likewise.
1236 (processor_type): Likewise.
1237 (arch_entry): Likewise.
1238 (cpu_sub_arch_name): Remove const.
1239 (cpu_arch): Add .vmx and .smx.
1240 (set_cpu_arch): Append cpu_sub_arch_name.
1241 (md_parse_option): Support -march=CPU[,+EXTENSION...].
1242 (md_show_usage): Updated.
1243
1244 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
1245 (XXX_MNEM_SUFFIX): Likewise.
1246 (END_OF_INSN): Likewise.
1247 (templates): Likewise.
1248 (modrm_byte): Likewise.
1249 (rex_byte): Likewise.
1250 (DREX_XXX): Likewise.
1251 (drex_byte): Likewise.
1252 (sib_byte): Likewise.
1253 (processor_type): Likewise.
1254 (arch_entry): Likewise.
1255
1256 * doc/as.texinfo: Update i386 -march option.
1257
1258 * doc/c-i386.texi: Update -march= for ISA.
1259
1260 2008-01-18 Bob Wilson <bob.wilson@acm.org>
1261
1262 * config/tc-xtensa.c (xtensa_leb128): New function.
1263 (md_pseudo_table): Use it for sleb128 and uleb128.
1264 (is_leb128_expr): New internal flag.
1265 (xtensa_symbol_new_hook): Check new flag.
1266
1267 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
1268
1269 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
1270 at90usb82, at90usb162.
1271 * doc/c-avr.texi: Change architecture grouping for at90usb82,
1272 at90usb162.
1273 These changes support the new avr35 architecture group in gcc.
1274
1275 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
1276
1277 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
1278 suffix for AT&T syntax.
1279
1280 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
1281
1282 * config/tc-i386.c (match_reg_size): New.
1283 (match_mem_size): Likewise.
1284 (operand_size_match): Likewise.
1285 (operand_type_match): Also clear all size fields.
1286 (match_template): Skip Intel syntax when in AT&T syntax.
1287 Call operand_size_match to check operand size.
1288 (i386_att_operand): Set the mem field to 1 for memory
1289 operand.
1290 (i386_intel_operand): Likewise.
1291
1292 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
1293
1294 PR gas/5534
1295 * config/tc-i386.c (_i386_insn): Update comment.
1296 (operand_type_match): Also clear unspecified.
1297 (operand_type_register_match): Likewise.
1298 (parse_operands): Initialize unspecified.
1299 (i386_intel_operand): Likewise.
1300 (match_template): Check memory and accumulator operand size.
1301 (i386_att_operand): Clear unspecified on register operand.
1302 (intel_e11): Likewise.
1303 (intel_e09): Set operand size and clean unspecified for
1304 "XXX PTR".
1305
1306 2008-01-11 Andreas Schwab <schwab@suse.de>
1307
1308 * read.c (s_space): Declare `repeat' as offsetT.
1309
1310 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1311
1312 * config/tc-i386.c (match_template): Check processor support
1313 first.
1314
1315 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1316
1317 * config/tc-i386.c (match_template): Continue if processor
1318 doesn't match.
1319
1320 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
1321
1322 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
1323 unwind personality function address.
1324
1325 2008-01-09 Bob Wilson <bob.wilson@acm.org>
1326
1327 * dwarf2dbg.c (out_sleb128): Delete.
1328 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
1329 (out_fixed_inc_line_addr): Delete.
1330 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
1331 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
1332 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
1333 (process_entries): Remove calls to out_fixed_inc_line_addr. When
1334 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
1335 * read.h (emit_expr_fix): New prototype.
1336 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
1337 (emit_expr_fix): New.
1338
1339 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
1340
1341 * config/tc-i386.c (match_template): Check register size
1342 only when size of operands can be encoded the canonical way.
1343
1344 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
1345
1346 * config/tc-i386.c (i386_operand): Renamed to ...
1347 (i386_att_operand): This.
1348 (parse_operands): Updated.
1349
1350 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
1351
1352 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
1353
1354 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
1355 only.
1356 (md_assemble): Remove Intel mode workaround.
1357 (match_template): Check support for old gcc, AT&T mnemonic
1358 and Intel Syntax.
1359 (md_parse_option): Don't set intel_mnemonic to 0 for
1360 OPTION_MOLD_GCC.
1361
1362 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
1363
1364 * config/tc-i386.h: Update copyright to 2008.
1365
1366 2008-01-04 Nick Clifton <nickc@redhat.com>
1367
1368 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
1369 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
1370
1371 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1372
1373 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1374 of SYSV386_COMPAT.
1375
1376 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1377
1378 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1379 (cpu_flags_not): Likewise.
1380 (cpu_flags_match): Updated to check 64bit and arch.
1381 (set_code_flag): Remove cpu_arch_flags_not.
1382 (set_16bit_gcc_code_flag): Likewise.
1383 (set_cpu_arch): Likewise.
1384 (md_begin): Likewise.
1385 (parse_insn): Call cpu_flags_match to check 64bit and arch.
1386 (match_template): Likewise.
1387
1388 2008-01-03 Jakub Jelinek <jakub@redhat.com>
1389
1390 * config/tc-i386.c (process_drex): Initialize modrm_reg and
1391 modrm_regmem to 0 instead of None.
1392
1393 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1394
1395 * config/tc-i386.c (match_template): Use the xmmword field
1396 instead of no_xsuf.
1397
1398 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * config/tc-i386.c (process_suffix): Fix a typo.
1401
1402 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1403
1404 PR gas/5534
1405 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1406 Check memory size in Intel mode.
1407 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1408 (intel_e09): Likewise.
1409
1410 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1411
1412 2008-01-02 Catherine Moore <clm@codesourcery.com>
1413
1414 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1415
1416 For older changes see ChangeLog-2007
1417 \f
1418 Local Variables:
1419 mode: change-log
1420 left-margin: 8
1421 fill-column: 74
1422 version-control: never
1423 End:
This page took 0.107725 seconds and 4 git commands to generate.