1 2008-02-22 Nick Clifton <nickc@redhat.com>
3 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
6 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
8 * doc/c-i386.texi: Update -march= and .arch.
10 2008-02-18 Nick Clifton <nickc@redhat.com>
12 * config/tc-mn10300.c (has_known_symbol_location): New function.
13 Do not regard weak symbols as having a known location.
14 (md_estimate_size_before_relax): Use new function.
15 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
17 2008-02-18 Jan Beulich <jbeulich@novell.com>
19 * config/tc-i386.c (match_template): Disallow 'l' suffix when
20 currently selected CPU has no 32-bit support.
21 (parse_real_register): Do not return registers not available on
22 currently selected CPU.
24 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
26 * config/tc-i386.c (process_immext): Fix format.
28 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
30 * config/tc-i386.c (inoutportreg): New.
31 (process_immext): New.
32 (md_assemble): Use it.
33 (update_imm): Use imm16 and imm32s.
34 (i386_att_operand): Use inoutportreg.
36 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
38 * config/tc-i386.c (operand_type_all_zero): New.
39 (operand_type_set): Likewise.
40 (operand_type_equal): Likewise.
41 (cpu_flags_all_zero): Likewise.
42 (cpu_flags_set): Likewise.
43 (cpu_flags_equal): Likewise.
44 (UINTS_ALL_ZERO): Removed.
45 (UINTS_SET): Likewise.
46 (UINTS_CLEAR): Likewise.
47 (UINTS_EQUAL): Likewise.
48 (cpu_flags_match): Updated.
49 (smallest_imm_type): Likewise.
50 (set_cpu_arch): Likewise.
51 (md_assemble): Likewise.
52 (optimize_imm): Likewise.
53 (match_template): Likewise.
54 (process_suffix): Likewise.
55 (update_imm): Likewise.
56 (process_drex): Likewise.
57 (process_operands): Likewise.
58 (build_modrm_byte): Likewise.
59 (i386_immediate): Likewise.
60 (i386_displacement): Likewise.
61 (i386_att_operand): Likewise.
62 (parse_real_register): Likewise.
63 (md_parse_option): Likewise.
64 (i386_target_format): Likewise.
66 2008-02-14 Dimitry Andric <dimitry@andric.com>
69 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
70 pointer past the comma after parsing a floating point register
73 2008-02-14 Hakan Ardo <hakan@debian.org>
76 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
78 (avr_operand): Disallow post-increment addressing in the lpm
79 instruction for the attiny26.
81 2008-02-13 Jan Beulich <jbeulich@novell.com>
83 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
85 (i386_intel_operand): Ignore segment overrides in immediate and
87 (intel_e11): Range-check i.mem_operands before use as array
88 index. Filter out FLAT for uses other than as segment override.
89 (intel_get_token): Remove broken promotion of "FLAT:" to mean
92 2008-02-13 Jan Beulich <jbeulich@novell.com>
94 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
96 2008-02-13 Jan Beulich <jbeulich@novell.com>
98 * config/tc-i386.c (allow_pseudo_reg): New.
99 (parse_real_register): Check for NULL just once. Allow all
100 register table entries when allow_pseudo_reg is non-zero.
101 Don't allow any registers without type when allow_pseudo_reg
103 (tc_x86_regname_to_dw2regnum): Replace with ...
104 (tc_x86_parse_to_dw2regnum): ... this.
105 (tc_x86_frame_initial_instructions): Adjust for above change.
106 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
107 (tc_parse_to_dw2regnum): New.
108 (tc_x86_regname_to_dw2regnum): Replace with ...
109 (tc_x86_parse_to_dw2regnum): ... this.
110 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
111 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
114 2008-02-12 Nick Clifton <nickc@redhat.com>
116 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
118 (tic4x_insn_add): Likewise.
119 (md_begin): Drop cast that was discarding a const qualifier.
120 * config/tc-d30v.c (get_reloc): Add const qualifier to op
122 (build_insn): Drop cast that was discarding a const qualifier.
124 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
126 * config/tc-i386.c (cpu_arch): Add .xsave.
127 (md_show_usage): Add .xsave.
129 * doc/c-i386.texi: Add xsave to -march=.
131 2008-02-07 Alan Modra <amodra@bigpond.net.au>
133 * read.c (s_weakref): Don't pass unadorned NULL to concat.
134 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
136 2008-02-05 Sterling Augustine <sterling@tensilica.com>
138 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
139 checks into assertions. When relaxation produces an operation that
140 does not fit in the current FLIX instruction, make sure that the
141 operation is relaxed as needed to account for being placed following
142 the current instruction.
144 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
147 * configure: Regenerated.
149 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
151 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
153 2008-01-31 Marc Gauthier <marc@tensilica.com>
155 * configure.tgt (xtensa*-*-*): Recognize processor variants.
157 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
159 * read.c: (emit_expr): Correct for mingw use of printf size
162 2008-01-24 Bob Wilson <bob.wilson@acm.org>
164 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
165 can only be encoded in FLIX instructions but are not specified as such.
166 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
169 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
171 * NEWS: Mention new command line options for x86 targets.
173 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
175 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
177 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
179 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
181 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
183 * config/tc-i386.c (md_show_usage): Show more processors for
186 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
188 * config/tc-i386.c (i386_target_format): Remove cpummx2.
190 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
192 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
193 (XXX_MNEM_SUFFIX): Likewise.
194 (END_OF_INSN): Likewise.
195 (templates): Likewise.
196 (modrm_byte): Likewise.
197 (rex_byte): Likewise.
198 (DREX_XXX): Likewise.
199 (drex_byte): Likewise.
200 (sib_byte): Likewise.
201 (processor_type): Likewise.
202 (arch_entry): Likewise.
203 (cpu_sub_arch_name): Remove const.
204 (cpu_arch): Add .vmx and .smx.
205 (set_cpu_arch): Append cpu_sub_arch_name.
206 (md_parse_option): Support -march=CPU[,+EXTENSION...].
207 (md_show_usage): Updated.
209 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
210 (XXX_MNEM_SUFFIX): Likewise.
211 (END_OF_INSN): Likewise.
212 (templates): Likewise.
213 (modrm_byte): Likewise.
214 (rex_byte): Likewise.
215 (DREX_XXX): Likewise.
216 (drex_byte): Likewise.
217 (sib_byte): Likewise.
218 (processor_type): Likewise.
219 (arch_entry): Likewise.
221 * doc/as.texinfo: Update i386 -march option.
223 * doc/c-i386.texi: Update -march= for ISA.
225 2008-01-18 Bob Wilson <bob.wilson@acm.org>
227 * config/tc-xtensa.c (xtensa_leb128): New function.
228 (md_pseudo_table): Use it for sleb128 and uleb128.
229 (is_leb128_expr): New internal flag.
230 (xtensa_symbol_new_hook): Check new flag.
232 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
234 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
235 at90usb82, at90usb162.
236 * doc/c-avr.texi: Change architecture grouping for at90usb82,
238 These changes support the new avr35 architecture group in gcc.
240 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
242 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
243 suffix for AT&T syntax.
245 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
247 * config/tc-i386.c (match_reg_size): New.
248 (match_mem_size): Likewise.
249 (operand_size_match): Likewise.
250 (operand_type_match): Also clear all size fields.
251 (match_template): Skip Intel syntax when in AT&T syntax.
252 Call operand_size_match to check operand size.
253 (i386_att_operand): Set the mem field to 1 for memory
255 (i386_intel_operand): Likewise.
257 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
260 * config/tc-i386.c (_i386_insn): Update comment.
261 (operand_type_match): Also clear unspecified.
262 (operand_type_register_match): Likewise.
263 (parse_operands): Initialize unspecified.
264 (i386_intel_operand): Likewise.
265 (match_template): Check memory and accumulator operand size.
266 (i386_att_operand): Clear unspecified on register operand.
267 (intel_e11): Likewise.
268 (intel_e09): Set operand size and clean unspecified for
271 2008-01-11 Andreas Schwab <schwab@suse.de>
273 * read.c (s_space): Declare `repeat' as offsetT.
275 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
277 * config/tc-i386.c (match_template): Check processor support
280 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
282 * config/tc-i386.c (match_template): Continue if processor
285 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
287 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
288 unwind personality function address.
290 2008-01-09 Bob Wilson <bob.wilson@acm.org>
292 * dwarf2dbg.c (out_sleb128): Delete.
293 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
294 (out_fixed_inc_line_addr): Delete.
295 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
296 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
297 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
298 (process_entries): Remove calls to out_fixed_inc_line_addr. When
299 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
300 * read.h (emit_expr_fix): New prototype.
301 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
302 (emit_expr_fix): New.
304 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
306 * config/tc-i386.c (match_template): Check register size
307 only when size of operands can be encoded the canonical way.
309 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
311 * config/tc-i386.c (i386_operand): Renamed to ...
312 (i386_att_operand): This.
313 (parse_operands): Updated.
315 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
317 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
319 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
321 (md_assemble): Remove Intel mode workaround.
322 (match_template): Check support for old gcc, AT&T mnemonic
324 (md_parse_option): Don't set intel_mnemonic to 0 for
327 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
329 * config/tc-i386.h: Update copyright to 2008.
331 2008-01-04 Nick Clifton <nickc@redhat.com>
333 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
334 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
336 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
338 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
341 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
343 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
344 (cpu_flags_not): Likewise.
345 (cpu_flags_match): Updated to check 64bit and arch.
346 (set_code_flag): Remove cpu_arch_flags_not.
347 (set_16bit_gcc_code_flag): Likewise.
348 (set_cpu_arch): Likewise.
349 (md_begin): Likewise.
350 (parse_insn): Call cpu_flags_match to check 64bit and arch.
351 (match_template): Likewise.
353 2008-01-03 Jakub Jelinek <jakub@redhat.com>
355 * config/tc-i386.c (process_drex): Initialize modrm_reg and
356 modrm_regmem to 0 instead of None.
358 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
360 * config/tc-i386.c (match_template): Use the xmmword field
363 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
365 * config/tc-i386.c (process_suffix): Fix a typo.
367 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
370 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
371 Check memory size in Intel mode.
372 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
373 (intel_e09): Likewise.
375 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
377 2008-01-02 Catherine Moore <clm@codesourcery.com>
379 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
381 For older changes see ChangeLog-2007
387 version-control: never