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