Implement displaced stepping.
[binutils-gdb.git] / gas / ChangeLog
1 2008-04-29 David S. Miller <davem@davemloft.net>
2
3 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
4
5 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
6
7 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
8 New statics.
9 (OPTION_ELF_BASE): Make room for new option macros.
10 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
11 OPTION_DOUBLE_FLOAT): New option macros.
12 (md_longopts): Add msoft-float, mhard-float, msingle-float and
13 mdouble-float.
14 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
15 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
16 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
17 and -mdouble-float.
18 (struct mips_set_options): New fields soft_float and single_float.
19 (mips_opts): Initialized them. Add comment for each field
20 initializer.
21 (mips_after_parse_args): Set them based on file_mips_soft_float
22 and file_mips_single_float.
23 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
24 `.set singlefloat' and `.set doublefloat'.
25 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
26 Handle single-float and soft-float instructions here.
27 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
28 (is_opcode_valid_16): New function.
29 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
30 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
31 M_S_DOB>: Remove special-casing of r4650.
32 * doc/c-mips.texi (-march=): Add Octeon.
33 (MIPS Opts): Document -msoft-float and -mhard-float. Document
34 -msingle-float and -mdouble-float.
35 (MIPS floating-point): New section. Document `.set softfloat' and
36 `.set hardfloat'. Document `.set singlefloat' and `.set
37 doublefloat'.
38
39 2008-04-25 David S. Miller <davem@davemloft.net>
40
41 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
42 %asr aliases.
43
44 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
45 rather than occaisionally 'levels'. Consistently refer to Sun's
46 UNIX variant as SunOS, every version of Solaris is also SunOS.
47 Document new 'softint_clear' and 'softint_set' aliases. Clarify
48 which architecture versions support '%dcr', '%cq', and '%gl'. Add
49 section on 32-bit/64-bit opcode translations.
50
51 2008-04-23 Mike Frysinger <vapier@gentoo.org>
52
53 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
54 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
55 (obj-fdpicelf.o): Define.
56 * Makefile.in: Regenerate.
57 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
58 (bfin-*-*): Delete.
59 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
60 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
61 * config/obj-fdpicelf.c: New.
62 * config/obj-fdpicelf.h: Likewise.
63 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
64 the OBJ_FDPIC_ELF define.
65 (OPTION_NOPIC): Define.
66 (md_longopts): Add mnopic and mno-fdpic.
67 (md_parse_option): Handle OPTION_NOPIC.
68
69 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
70
71 * aclocal.m4: Regenerate.
72 * configure: Regenerate.
73
74 2008-04-23 David S. Miller <davem@davemloft.net>
75
76 * config/tc-sparc.c (v9a_asr_table): Add missing
77 'stick' and 'stick_cmpr', and document ordering rules
78 of table.
79 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
80 BFD_RELOC_SPARC_PC10.
81 * doc/c-sparc.texi: New section on Sparc constants.
82 Add documentation for %stick and %stick_cmpr.
83
84 2008-04-22 David S. Miller <davem@davemloft.net>
85
86 * config/obj-elf.c (obj_elf_section_type): Add prototype
87 before obj_elf_section_word and add 'warn' arg.
88 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
89 is matched, try checking for #SECTION_TYPE.
90 (obj_elf_section): Adjust for new args.
91 (obj_elf_type_name): New function.
92 (obj_elf_type): Call it, and accept STT_foo number strings
93 in .type statements as output by SunPRO compiler.
94
95 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
96
97 * config/tc-i386.c (md_assemble): Don't check SSE instructions
98 if noavx is 0.
99
100 2008-04-18 David S. Miller <davem@davemloft.net>
101
102 * doc/c-sparc.texi: Add syntax section.
103
104 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
105
106 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
107 REG and NDS for instructions with immediate operand.
108
109 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
110
111 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
112 FMA.
113
114 2008-04-16 David S. Miller <davem@davemloft.net>
115
116 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
117 and relocation generation.
118 (tc_gen_reloc): Likewise.
119
120 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
121
122 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
123 relocations are properly aligned, and not negative.
124
125 2008-04-15 Khem Raj <kraj@mvista.com>
126
127 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
128
129 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
130
131 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
132 accept e500mc instructions.
133 (md_show_usage): Document -me500mc.
134
135 2008-04-11 Nick Clifton <nickc@redhat.com>
136
137 * listing.c (print_timestamp): Use localtime rather than
138 localtime_r since not all build environments provide the latter.
139
140 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
141
142 * NEWS: Mention -msse-check=[none|error|warning].
143
144 * config/tc-i386.c (sse_check): New.
145 (OPTION_MSSE_CHECK): Likewise.
146 (md_assemble): Check SSE instructions if needed.
147 (md_longopts): Add -msse-check.
148 (md_parse_option): Handle OPTION_MSSE_CHECK.
149 (md_show_usage): Show -msse-check=[none|error|warning].
150
151 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
152
153 2008-04-10 Santiago UrueƱa <suruena@gmail.com>
154
155 * listing.c: Add -ag listing flag to show general information in
156 listings such as gas version, passed options, and time stamp.
157 (listing_general_info): New function.
158 (print_options): New function.
159 (print_single_option): New function.
160 (print_timestamp): New function.
161 (MAX_DATELEN): Define.
162 (listing_print): Add call to listing_general_info.
163 * listing.h (LISTING_GENERAL): Define.
164 (listing_print): Add new parameter.
165 * as.c (show_usage): Print new switch.
166 (parse_args): Parse new switch.
167 (main): Pass command line on to listing_print.
168 * NEWS: Mention this new feature.
169 * doc/as.texinfo: Document the new sub-option.
170
171 2008-04-08 Alan Modra <amodra@bigpond.net.au>
172
173 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
174 call. Delete out of date comment.
175 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
176 (dwarf2_emit_label): Don't emit unless there has been a previous
177 .file or we are outputting assembler generated debug.
178 dwarf2_consume_line_info after emitting line info, not before.
179 (out_debug_info): Simplify files_in_use test.
180
181 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
182
183 * config/tc-i386.c (parse_real_register): Return AVX register
184 only if AVX is enabled.
185
186 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
187
188 PR gas/6043
189 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
190 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
191
192 2008-04-04 Adrian Bunk <bunk@stusta.de>
193 Bob Wilson <bob.wilson@acm.org>
194
195 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
196 call to decode_reloc.
197
198 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
199
200 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
201
202 * config/tc-i386.c (cpu_arch): Add .pclmul.
203 (md_show_usage): Replace clmul with pclmul.
204 * doc/c-i386.texi: Likewise.
205
206 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
207
208 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
209
210 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
211 Document -msse2avx, .avx, .aes, .clmul and .fma.
212
213 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
214 (vex_prefix): Likewise.
215 (sse2avx): Likewise.
216 (CPU_FLAGS_ARCH_MATCH): Likewise.
217 (CPU_FLAGS_64BIT_MATCH): Likewise.
218 (CPU_FLAGS_32BIT_MATCH): Likewise.
219 (CPU_FLAGS_PERFECT_MATCH): Likewise.
220 (regymm): Likewise.
221 (vex_imm4): Likewise.
222 (fits_in_imm4): Likewise.
223 (build_vex_prefix): Likewise.
224 (VEX_check_operands): Likewise.
225 (bad_implicit_operand): Likewise.
226 (OPTION_MSSE2AVX): Likewise.
227 (T_YMMWORD): Likewise.
228 (_i386_insn): Add vex.
229 (cpu_arch): Add .avx, .aes, .clmul and .fma.
230 (cpu_flags_match): Changed to take a pointer to const template.
231 Enable encoding SSE instructions with VEX prefix for -msse2avx.
232 (match_mem_size): Also check ymmword.
233 (operand_type_match): Clear ymmword.
234 (md_begin): Allow '_' in mnemonic.
235 (type_names): Add OPERAND_TYPE_VEX_IMM4.
236 (process_immext): Update assert.
237 (md_assemble): Don't call process_immext if sse2avx and immext
238 are true. Call build_vex_prefix if vex is true.
239 (parse_insn): Updated for cpu_flags_match.
240 (swap_operands): Handle 5 operands.
241 (match_template): Handle 5 operands. Updated for cpu_flags_match.
242 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
243 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
244 (check_byte_reg): Check regymm.
245 (process_operands): Duplicate the destination register for
246 -msse2avx if needed.
247 (build_modrm_byte): Updated for instructions with VEX encoding.
248 (output_insn): Output VEX prefix if needed.
249 (md_longopts): Add msse2avx.
250 (md_parse_option): Handle OPTION_MSSE2AVX.
251 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
252 (intel_e09): Support YMMWORD.
253 (intel_e11): Likewise.
254 (intel_get_token): Likewise.
255
256 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
257
258 * config/tc-avr.c (mcu_types): Add attiny167.
259 * doc/c-avr.texi: Likewise.
260
261 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
262
263 * config/tc-avr.c (mcu_types): Add atmega32u4.
264 * doc/c-avr.texi: Likewise.
265
266 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
267
268 * config/tc-avr.c (mcu_types): Add atmega32c1.
269 * doc/c-avr.texi: Likewise.
270
271 2008-03-28 Paul Brook <paul@codesourcery.com>
272
273 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
274 to avoid spurious symbols.
275
276 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
277
278 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
279 as_bad_where.
280
281 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
282
283 * config/tc-avr.c (mcu_types): Add atmega32m1.
284 * doc/c-avr.texi: Likewise.
285
286 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
287
288 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
289 start of block.
290 (do_neon_ext): Fix sign of comparison.
291
292 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
293
294 From Jie Zhang <jie.zhang@analog.com>
295 * config/bfin-parse.y (asm_1): Check AREGS in comparison
296 instructions. And call yyerror when comparing PREG with
297 DREG.
298 (check_macfunc_option): New.
299 (check_macfuncs): Check option by calling check_macfunc_option.
300 Fix comparison always true warnings. Both scalar instructions
301 of vector instruction must share the same mode option. Only allow
302 option mode at the end of the second instruction of the vector.
303 (asm_1): Check option by calling check_macfunc_option.
304
305 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
306 option for multiply and multiply-accumulate to data register
307 instruction.
308 (check_macfuncs): Don't check if accumulator matches the data register
309 here.
310 (assign_macfunc): Check if accumulator matches the
311 data register in each rule that moves to the data
312 register.
313
314 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
315 generated for LOOP_BEGIN and LOOP_END instructions.
316 (bfin_gen_loop): Likewise.
317
318 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
319
320 * config/tc-s390.c (md_parse_option): z10 option added.
321
322 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
323
324 * aclocal.m4: Regenerate.
325 * configure: Likewise.
326 * Makefile.in: Likewise.
327 * doc/Makefile.in: Likewise.
328
329 2008-03-17 Adrian Bunk <bunk@stusta.de>
330
331 PR 5946
332 * config/tc-hppa.c (is_same_frag): Delete.
333
334 2008-03-14 Sterling Augustine <sterling@tensilica.com>
335
336 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
337 RELAX_LOOP_END_ADD_NOP.
338
339 2008-03-13 Evandro Menezes <evandro@yahoo.com>
340
341 PR gas/5895
342 * read.c (s_mexit): Warn if attempting to exit a macro when not
343 inside a macro definition.
344
345 2008-03-13 Alan Modra <amodra@bigpond.net.au>
346
347 * Makefile.am: Run "make dep-am".
348 * Makefile.in: Regenerate.
349 * configure: Regenerate.
350
351 2008-03-09 Paul Brook <paul@codesourcery.com>
352
353 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
354 * doc/c-arm.texi: Add cortex-a9.
355
356 2008-03-09 Paul Brook <paul@codesourcery.com>
357
358 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
359 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
360 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
361 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
362 * doc/c-arm.texi: Document new ARM FPU variants.
363
364 2008-03-07 Paul Brook <paul@codesourcery.com>
365
366 * config/tc-arm.c (md_apply_fix): Use correct offset range.
367
368 2008-03-07 Alan Modra <amodra@bigpond.net.au>
369
370 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
371 for strict ordering of powerpc_opcodes, but disable for now.
372
373 2008-03-04 Paul Brook <paul@codesourcery.com>
374
375 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
376 (arm_ext_v7m): Rename...
377 (arm_ext_m): ... to this. Include v6-M.
378 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
379 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
380 (md_assemble): Allow wide msr instructions.
381 (insns): Add classifications for v6-m instructions.
382 (arm_cpu_option_table): Add cortex-m1.
383 (arm_arch_option_table): Add armv6-m.
384 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
385
386 2008-03-03 Sterling Augustine <sterling@tensilica.com>
387 Bob Wilson <bob.wilson@acm.org>
388
389 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
390 (md_begin): Initialize it.
391 (resources_conflict): Use it.
392
393 2008-03-03 Sterling Augustine <sterling@tensilica.com>
394
395 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
396
397 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
398 H.J. Lu <hongjiu.lu@intel.com>
399
400 PR gas/5543
401 * read.c (pseudo_set): Don't allow global register symbol.
402
403 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
404 global.
405
406 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
407
408 PR gas/5543
409 * write.c (write_object_file): Don't allow symbols which were
410 equated to register. Stop if there is an error.
411
412 2008-03-01 Alan Modra <amodra@bigpond.net.au>
413
414 * config/tc-ppc.h (struct _ppc_fix_extra): New.
415 (ppc_cpu): Declare.
416 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
417 * config/tc-ppc.c (ppu_cpu): Make global.
418 (ppc_insert_operand): Add ppu_cpu parameter.
419 (md_assemble): Adjust for above change.
420 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
421
422 2008-02-22 Nick Clifton <nickc@redhat.com>
423
424 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
425 targeted ARM ports, otherwise just skip generating the reloc.
426
427 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
428
429 * doc/c-i386.texi: Update -march= and .arch.
430
431 2008-02-18 Nick Clifton <nickc@redhat.com>
432
433 * config/tc-mn10300.c (has_known_symbol_location): New function.
434 Do not regard weak symbols as having a known location.
435 (md_estimate_size_before_relax): Use new function.
436 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
437
438 2008-02-18 Jan Beulich <jbeulich@novell.com>
439
440 * config/tc-i386.c (match_template): Disallow 'l' suffix when
441 currently selected CPU has no 32-bit support.
442 (parse_real_register): Do not return registers not available on
443 currently selected CPU.
444
445 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
446
447 * config/tc-i386.c (process_immext): Fix format.
448
449 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
450
451 * config/tc-i386.c (inoutportreg): New.
452 (process_immext): New.
453 (md_assemble): Use it.
454 (update_imm): Use imm16 and imm32s.
455 (i386_att_operand): Use inoutportreg.
456
457 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
458
459 * config/tc-i386.c (operand_type_all_zero): New.
460 (operand_type_set): Likewise.
461 (operand_type_equal): Likewise.
462 (cpu_flags_all_zero): Likewise.
463 (cpu_flags_set): Likewise.
464 (cpu_flags_equal): Likewise.
465 (UINTS_ALL_ZERO): Removed.
466 (UINTS_SET): Likewise.
467 (UINTS_CLEAR): Likewise.
468 (UINTS_EQUAL): Likewise.
469 (cpu_flags_match): Updated.
470 (smallest_imm_type): Likewise.
471 (set_cpu_arch): Likewise.
472 (md_assemble): Likewise.
473 (optimize_imm): Likewise.
474 (match_template): Likewise.
475 (process_suffix): Likewise.
476 (update_imm): Likewise.
477 (process_drex): Likewise.
478 (process_operands): Likewise.
479 (build_modrm_byte): Likewise.
480 (i386_immediate): Likewise.
481 (i386_displacement): Likewise.
482 (i386_att_operand): Likewise.
483 (parse_real_register): Likewise.
484 (md_parse_option): Likewise.
485 (i386_target_format): Likewise.
486
487 2008-02-14 Dimitry Andric <dimitry@andric.com>
488
489 PR gas/5712
490 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
491 pointer past the comma after parsing a floating point register
492 name.
493
494 2008-02-14 Hakan Ardo <hakan@debian.org>
495
496 PR gas/2626
497 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
498 to AVR_ISA_2xxe.
499 (avr_operand): Disallow post-increment addressing in the lpm
500 instruction for the attiny26.
501
502 2008-02-13 Jan Beulich <jbeulich@novell.com>
503
504 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
505 if not in Intel mode.
506 (i386_intel_operand): Ignore segment overrides in immediate and
507 offset operands.
508 (intel_e11): Range-check i.mem_operands before use as array
509 index. Filter out FLAT for uses other than as segment override.
510 (intel_get_token): Remove broken promotion of "FLAT:" to mean
511 "offset FLAT:".
512
513 2008-02-13 Jan Beulich <jbeulich@novell.com>
514
515 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
516
517 2008-02-13 Jan Beulich <jbeulich@novell.com>
518
519 * config/tc-i386.c (allow_pseudo_reg): New.
520 (parse_real_register): Check for NULL just once. Allow all
521 register table entries when allow_pseudo_reg is non-zero.
522 Don't allow any registers without type when allow_pseudo_reg
523 is zero.
524 (tc_x86_regname_to_dw2regnum): Replace with ...
525 (tc_x86_parse_to_dw2regnum): ... this.
526 (tc_x86_frame_initial_instructions): Adjust for above change.
527 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
528 (tc_parse_to_dw2regnum): New.
529 (tc_x86_regname_to_dw2regnum): Replace with ...
530 (tc_x86_parse_to_dw2regnum): ... this.
531 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
532 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
533 error handling.
534
535 2008-02-12 Nick Clifton <nickc@redhat.com>
536
537 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
538 argument.
539 (tic4x_insn_add): Likewise.
540 (md_begin): Drop cast that was discarding a const qualifier.
541 * config/tc-d30v.c (get_reloc): Add const qualifier to op
542 argument.
543 (build_insn): Drop cast that was discarding a const qualifier.
544
545 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
546
547 * config/tc-i386.c (cpu_arch): Add .xsave.
548 (md_show_usage): Add .xsave.
549
550 * doc/c-i386.texi: Add xsave to -march=.
551
552 2008-02-07 Alan Modra <amodra@bigpond.net.au>
553
554 * read.c (s_weakref): Don't pass unadorned NULL to concat.
555 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
556
557 2008-02-05 Sterling Augustine <sterling@tensilica.com>
558
559 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
560 checks into assertions. When relaxation produces an operation that
561 does not fit in the current FLIX instruction, make sure that the
562 operation is relaxed as needed to account for being placed following
563 the current instruction.
564
565 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
566
567 PR 5715
568 * configure: Regenerated.
569
570 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
571
572 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
573
574 2008-01-31 Marc Gauthier <marc@tensilica.com>
575
576 * configure.tgt (xtensa*-*-*): Recognize processor variants.
577
578 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
579
580 * read.c: (emit_expr): Correct for mingw use of printf size
581 specifier.
582
583 2008-01-24 Bob Wilson <bob.wilson@acm.org>
584
585 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
586 can only be encoded in FLIX instructions but are not specified as such.
587 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
588 labels.
589
590 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
591
592 * NEWS: Mention new command line options for x86 targets.
593
594 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
595
596 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
597
598 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
599
600 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
601
602 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
603
604 * config/tc-i386.c (md_show_usage): Show more processors for
605 -march=/-mtune=.
606
607 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
608
609 * config/tc-i386.c (i386_target_format): Remove cpummx2.
610
611 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
612
613 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
614 (XXX_MNEM_SUFFIX): Likewise.
615 (END_OF_INSN): Likewise.
616 (templates): Likewise.
617 (modrm_byte): Likewise.
618 (rex_byte): Likewise.
619 (DREX_XXX): Likewise.
620 (drex_byte): Likewise.
621 (sib_byte): Likewise.
622 (processor_type): Likewise.
623 (arch_entry): Likewise.
624 (cpu_sub_arch_name): Remove const.
625 (cpu_arch): Add .vmx and .smx.
626 (set_cpu_arch): Append cpu_sub_arch_name.
627 (md_parse_option): Support -march=CPU[,+EXTENSION...].
628 (md_show_usage): Updated.
629
630 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
631 (XXX_MNEM_SUFFIX): Likewise.
632 (END_OF_INSN): Likewise.
633 (templates): Likewise.
634 (modrm_byte): Likewise.
635 (rex_byte): Likewise.
636 (DREX_XXX): Likewise.
637 (drex_byte): Likewise.
638 (sib_byte): Likewise.
639 (processor_type): Likewise.
640 (arch_entry): Likewise.
641
642 * doc/as.texinfo: Update i386 -march option.
643
644 * doc/c-i386.texi: Update -march= for ISA.
645
646 2008-01-18 Bob Wilson <bob.wilson@acm.org>
647
648 * config/tc-xtensa.c (xtensa_leb128): New function.
649 (md_pseudo_table): Use it for sleb128 and uleb128.
650 (is_leb128_expr): New internal flag.
651 (xtensa_symbol_new_hook): Check new flag.
652
653 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
654
655 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
656 at90usb82, at90usb162.
657 * doc/c-avr.texi: Change architecture grouping for at90usb82,
658 at90usb162.
659 These changes support the new avr35 architecture group in gcc.
660
661 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
662
663 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
664 suffix for AT&T syntax.
665
666 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
667
668 * config/tc-i386.c (match_reg_size): New.
669 (match_mem_size): Likewise.
670 (operand_size_match): Likewise.
671 (operand_type_match): Also clear all size fields.
672 (match_template): Skip Intel syntax when in AT&T syntax.
673 Call operand_size_match to check operand size.
674 (i386_att_operand): Set the mem field to 1 for memory
675 operand.
676 (i386_intel_operand): Likewise.
677
678 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
679
680 PR gas/5534
681 * config/tc-i386.c (_i386_insn): Update comment.
682 (operand_type_match): Also clear unspecified.
683 (operand_type_register_match): Likewise.
684 (parse_operands): Initialize unspecified.
685 (i386_intel_operand): Likewise.
686 (match_template): Check memory and accumulator operand size.
687 (i386_att_operand): Clear unspecified on register operand.
688 (intel_e11): Likewise.
689 (intel_e09): Set operand size and clean unspecified for
690 "XXX PTR".
691
692 2008-01-11 Andreas Schwab <schwab@suse.de>
693
694 * read.c (s_space): Declare `repeat' as offsetT.
695
696 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
697
698 * config/tc-i386.c (match_template): Check processor support
699 first.
700
701 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
702
703 * config/tc-i386.c (match_template): Continue if processor
704 doesn't match.
705
706 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
707
708 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
709 unwind personality function address.
710
711 2008-01-09 Bob Wilson <bob.wilson@acm.org>
712
713 * dwarf2dbg.c (out_sleb128): Delete.
714 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
715 (out_fixed_inc_line_addr): Delete.
716 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
717 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
718 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
719 (process_entries): Remove calls to out_fixed_inc_line_addr. When
720 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
721 * read.h (emit_expr_fix): New prototype.
722 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
723 (emit_expr_fix): New.
724
725 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
726
727 * config/tc-i386.c (match_template): Check register size
728 only when size of operands can be encoded the canonical way.
729
730 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
731
732 * config/tc-i386.c (i386_operand): Renamed to ...
733 (i386_att_operand): This.
734 (parse_operands): Updated.
735
736 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
737
738 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
739
740 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
741 only.
742 (md_assemble): Remove Intel mode workaround.
743 (match_template): Check support for old gcc, AT&T mnemonic
744 and Intel Syntax.
745 (md_parse_option): Don't set intel_mnemonic to 0 for
746 OPTION_MOLD_GCC.
747
748 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
749
750 * config/tc-i386.h: Update copyright to 2008.
751
752 2008-01-04 Nick Clifton <nickc@redhat.com>
753
754 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
755 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
756
757 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
758
759 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
760 of SYSV386_COMPAT.
761
762 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
763
764 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
765 (cpu_flags_not): Likewise.
766 (cpu_flags_match): Updated to check 64bit and arch.
767 (set_code_flag): Remove cpu_arch_flags_not.
768 (set_16bit_gcc_code_flag): Likewise.
769 (set_cpu_arch): Likewise.
770 (md_begin): Likewise.
771 (parse_insn): Call cpu_flags_match to check 64bit and arch.
772 (match_template): Likewise.
773
774 2008-01-03 Jakub Jelinek <jakub@redhat.com>
775
776 * config/tc-i386.c (process_drex): Initialize modrm_reg and
777 modrm_regmem to 0 instead of None.
778
779 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
780
781 * config/tc-i386.c (match_template): Use the xmmword field
782 instead of no_xsuf.
783
784 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
785
786 * config/tc-i386.c (process_suffix): Fix a typo.
787
788 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
789
790 PR gas/5534
791 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
792 Check memory size in Intel mode.
793 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
794 (intel_e09): Likewise.
795
796 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
797
798 2008-01-02 Catherine Moore <clm@codesourcery.com>
799
800 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
801
802 For older changes see ChangeLog-2007
803 \f
804 Local Variables:
805 mode: change-log
806 left-margin: 8
807 fill-column: 74
808 version-control: never
809 End: