1 2008-03-14 Sterling Augustine <sterling@tensilica.com>
3 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
4 RELAX_LOOP_END_ADD_NOP.
6 2008-03-13 Evandro Menezes <evandro@yahoo.com>
9 * read.c (s_mexit): Warn if attempting to exit a macro when not
10 inside a macro definition.
12 2008-03-13 Alan Modra <amodra@bigpond.net.au>
14 * Makefile.am: Run "make dep-am".
15 * Makefile.in: Regenerate.
16 * configure: Regenerate.
18 2008-03-09 Paul Brook <paul@codesourcery.com>
20 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
21 * doc/c-arm.texi: Add cortex-a9.
23 2008-03-09 Paul Brook <paul@codesourcery.com>
25 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
26 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
27 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
28 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
29 * doc/c-arm.texi: Document new ARM FPU variants.
31 2008-03-07 Paul Brook <paul@codesourcery.com>
33 * config/tc-arm.c (md_apply_fix): Use correct offset range.
35 2008-03-07 Alan Modra <amodra@bigpond.net.au>
37 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
38 for strict ordering of powerpc_opcodes, but disable for now.
40 2008-03-04 Paul Brook <paul@codesourcery.com>
42 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
43 (arm_ext_v7m): Rename...
44 (arm_ext_m): ... to this. Include v6-M.
45 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
46 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
47 (md_assemble): Allow wide msr instructions.
48 (insns): Add classifications for v6-m instructions.
49 (arm_cpu_option_table): Add cortex-m1.
50 (arm_arch_option_table): Add armv6-m.
51 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
53 2008-03-03 Sterling Augustine <sterling@tensilica.com>
54 Bob Wilson <bob.wilson@acm.org>
56 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
57 (md_begin): Initialize it.
58 (resources_conflict): Use it.
60 2008-03-03 Sterling Augustine <sterling@tensilica.com>
62 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
64 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
65 H.J. Lu <hongjiu.lu@intel.com>
68 * read.c (pseudo_set): Don't allow global register symbol.
70 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
73 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
76 * write.c (write_object_file): Don't allow symbols which were
77 equated to register. Stop if there is an error.
79 2008-03-01 Alan Modra <amodra@bigpond.net.au>
81 * config/tc-ppc.h (struct _ppc_fix_extra): New.
83 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
84 * config/tc-ppc.c (ppu_cpu): Make global.
85 (ppc_insert_operand): Add ppu_cpu parameter.
86 (md_assemble): Adjust for above change.
87 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
89 2008-02-22 Nick Clifton <nickc@redhat.com>
91 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
92 targeted ARM ports, otherwise just skip generating the reloc.
94 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
96 * doc/c-i386.texi: Update -march= and .arch.
98 2008-02-18 Nick Clifton <nickc@redhat.com>
100 * config/tc-mn10300.c (has_known_symbol_location): New function.
101 Do not regard weak symbols as having a known location.
102 (md_estimate_size_before_relax): Use new function.
103 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
105 2008-02-18 Jan Beulich <jbeulich@novell.com>
107 * config/tc-i386.c (match_template): Disallow 'l' suffix when
108 currently selected CPU has no 32-bit support.
109 (parse_real_register): Do not return registers not available on
110 currently selected CPU.
112 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
114 * config/tc-i386.c (process_immext): Fix format.
116 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
118 * config/tc-i386.c (inoutportreg): New.
119 (process_immext): New.
120 (md_assemble): Use it.
121 (update_imm): Use imm16 and imm32s.
122 (i386_att_operand): Use inoutportreg.
124 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
126 * config/tc-i386.c (operand_type_all_zero): New.
127 (operand_type_set): Likewise.
128 (operand_type_equal): Likewise.
129 (cpu_flags_all_zero): Likewise.
130 (cpu_flags_set): Likewise.
131 (cpu_flags_equal): Likewise.
132 (UINTS_ALL_ZERO): Removed.
133 (UINTS_SET): Likewise.
134 (UINTS_CLEAR): Likewise.
135 (UINTS_EQUAL): Likewise.
136 (cpu_flags_match): Updated.
137 (smallest_imm_type): Likewise.
138 (set_cpu_arch): Likewise.
139 (md_assemble): Likewise.
140 (optimize_imm): Likewise.
141 (match_template): Likewise.
142 (process_suffix): Likewise.
143 (update_imm): Likewise.
144 (process_drex): Likewise.
145 (process_operands): Likewise.
146 (build_modrm_byte): Likewise.
147 (i386_immediate): Likewise.
148 (i386_displacement): Likewise.
149 (i386_att_operand): Likewise.
150 (parse_real_register): Likewise.
151 (md_parse_option): Likewise.
152 (i386_target_format): Likewise.
154 2008-02-14 Dimitry Andric <dimitry@andric.com>
157 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
158 pointer past the comma after parsing a floating point register
161 2008-02-14 Hakan Ardo <hakan@debian.org>
164 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
166 (avr_operand): Disallow post-increment addressing in the lpm
167 instruction for the attiny26.
169 2008-02-13 Jan Beulich <jbeulich@novell.com>
171 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
172 if not in Intel mode.
173 (i386_intel_operand): Ignore segment overrides in immediate and
175 (intel_e11): Range-check i.mem_operands before use as array
176 index. Filter out FLAT for uses other than as segment override.
177 (intel_get_token): Remove broken promotion of "FLAT:" to mean
180 2008-02-13 Jan Beulich <jbeulich@novell.com>
182 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
184 2008-02-13 Jan Beulich <jbeulich@novell.com>
186 * config/tc-i386.c (allow_pseudo_reg): New.
187 (parse_real_register): Check for NULL just once. Allow all
188 register table entries when allow_pseudo_reg is non-zero.
189 Don't allow any registers without type when allow_pseudo_reg
191 (tc_x86_regname_to_dw2regnum): Replace with ...
192 (tc_x86_parse_to_dw2regnum): ... this.
193 (tc_x86_frame_initial_instructions): Adjust for above change.
194 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
195 (tc_parse_to_dw2regnum): New.
196 (tc_x86_regname_to_dw2regnum): Replace with ...
197 (tc_x86_parse_to_dw2regnum): ... this.
198 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
199 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
202 2008-02-12 Nick Clifton <nickc@redhat.com>
204 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
206 (tic4x_insn_add): Likewise.
207 (md_begin): Drop cast that was discarding a const qualifier.
208 * config/tc-d30v.c (get_reloc): Add const qualifier to op
210 (build_insn): Drop cast that was discarding a const qualifier.
212 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
214 * config/tc-i386.c (cpu_arch): Add .xsave.
215 (md_show_usage): Add .xsave.
217 * doc/c-i386.texi: Add xsave to -march=.
219 2008-02-07 Alan Modra <amodra@bigpond.net.au>
221 * read.c (s_weakref): Don't pass unadorned NULL to concat.
222 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
224 2008-02-05 Sterling Augustine <sterling@tensilica.com>
226 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
227 checks into assertions. When relaxation produces an operation that
228 does not fit in the current FLIX instruction, make sure that the
229 operation is relaxed as needed to account for being placed following
230 the current instruction.
232 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
235 * configure: Regenerated.
237 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
239 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
241 2008-01-31 Marc Gauthier <marc@tensilica.com>
243 * configure.tgt (xtensa*-*-*): Recognize processor variants.
245 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
247 * read.c: (emit_expr): Correct for mingw use of printf size
250 2008-01-24 Bob Wilson <bob.wilson@acm.org>
252 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
253 can only be encoded in FLIX instructions but are not specified as such.
254 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
257 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
259 * NEWS: Mention new command line options for x86 targets.
261 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
263 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
265 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
267 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
269 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
271 * config/tc-i386.c (md_show_usage): Show more processors for
274 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
276 * config/tc-i386.c (i386_target_format): Remove cpummx2.
278 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
280 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
281 (XXX_MNEM_SUFFIX): Likewise.
282 (END_OF_INSN): Likewise.
283 (templates): Likewise.
284 (modrm_byte): Likewise.
285 (rex_byte): Likewise.
286 (DREX_XXX): Likewise.
287 (drex_byte): Likewise.
288 (sib_byte): Likewise.
289 (processor_type): Likewise.
290 (arch_entry): Likewise.
291 (cpu_sub_arch_name): Remove const.
292 (cpu_arch): Add .vmx and .smx.
293 (set_cpu_arch): Append cpu_sub_arch_name.
294 (md_parse_option): Support -march=CPU[,+EXTENSION...].
295 (md_show_usage): Updated.
297 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
298 (XXX_MNEM_SUFFIX): Likewise.
299 (END_OF_INSN): Likewise.
300 (templates): Likewise.
301 (modrm_byte): Likewise.
302 (rex_byte): Likewise.
303 (DREX_XXX): Likewise.
304 (drex_byte): Likewise.
305 (sib_byte): Likewise.
306 (processor_type): Likewise.
307 (arch_entry): Likewise.
309 * doc/as.texinfo: Update i386 -march option.
311 * doc/c-i386.texi: Update -march= for ISA.
313 2008-01-18 Bob Wilson <bob.wilson@acm.org>
315 * config/tc-xtensa.c (xtensa_leb128): New function.
316 (md_pseudo_table): Use it for sleb128 and uleb128.
317 (is_leb128_expr): New internal flag.
318 (xtensa_symbol_new_hook): Check new flag.
320 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
322 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
323 at90usb82, at90usb162.
324 * doc/c-avr.texi: Change architecture grouping for at90usb82,
326 These changes support the new avr35 architecture group in gcc.
328 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
330 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
331 suffix for AT&T syntax.
333 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
335 * config/tc-i386.c (match_reg_size): New.
336 (match_mem_size): Likewise.
337 (operand_size_match): Likewise.
338 (operand_type_match): Also clear all size fields.
339 (match_template): Skip Intel syntax when in AT&T syntax.
340 Call operand_size_match to check operand size.
341 (i386_att_operand): Set the mem field to 1 for memory
343 (i386_intel_operand): Likewise.
345 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
348 * config/tc-i386.c (_i386_insn): Update comment.
349 (operand_type_match): Also clear unspecified.
350 (operand_type_register_match): Likewise.
351 (parse_operands): Initialize unspecified.
352 (i386_intel_operand): Likewise.
353 (match_template): Check memory and accumulator operand size.
354 (i386_att_operand): Clear unspecified on register operand.
355 (intel_e11): Likewise.
356 (intel_e09): Set operand size and clean unspecified for
359 2008-01-11 Andreas Schwab <schwab@suse.de>
361 * read.c (s_space): Declare `repeat' as offsetT.
363 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
365 * config/tc-i386.c (match_template): Check processor support
368 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
370 * config/tc-i386.c (match_template): Continue if processor
373 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
375 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
376 unwind personality function address.
378 2008-01-09 Bob Wilson <bob.wilson@acm.org>
380 * dwarf2dbg.c (out_sleb128): Delete.
381 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
382 (out_fixed_inc_line_addr): Delete.
383 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
384 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
385 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
386 (process_entries): Remove calls to out_fixed_inc_line_addr. When
387 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
388 * read.h (emit_expr_fix): New prototype.
389 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
390 (emit_expr_fix): New.
392 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
394 * config/tc-i386.c (match_template): Check register size
395 only when size of operands can be encoded the canonical way.
397 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
399 * config/tc-i386.c (i386_operand): Renamed to ...
400 (i386_att_operand): This.
401 (parse_operands): Updated.
403 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
405 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
407 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
409 (md_assemble): Remove Intel mode workaround.
410 (match_template): Check support for old gcc, AT&T mnemonic
412 (md_parse_option): Don't set intel_mnemonic to 0 for
415 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
417 * config/tc-i386.h: Update copyright to 2008.
419 2008-01-04 Nick Clifton <nickc@redhat.com>
421 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
422 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
424 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
426 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
429 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
431 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
432 (cpu_flags_not): Likewise.
433 (cpu_flags_match): Updated to check 64bit and arch.
434 (set_code_flag): Remove cpu_arch_flags_not.
435 (set_16bit_gcc_code_flag): Likewise.
436 (set_cpu_arch): Likewise.
437 (md_begin): Likewise.
438 (parse_insn): Call cpu_flags_match to check 64bit and arch.
439 (match_template): Likewise.
441 2008-01-03 Jakub Jelinek <jakub@redhat.com>
443 * config/tc-i386.c (process_drex): Initialize modrm_reg and
444 modrm_regmem to 0 instead of None.
446 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
448 * config/tc-i386.c (match_template): Use the xmmword field
451 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
453 * config/tc-i386.c (process_suffix): Fix a typo.
455 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
458 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
459 Check memory size in Intel mode.
460 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
461 (intel_e09): Likewise.
463 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
465 2008-01-02 Catherine Moore <clm@codesourcery.com>
467 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
469 For older changes see ChangeLog-2007
475 version-control: never