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