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