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