1 2008-03-01 Alan Modra <amodra@bigpond.net.au>
3 * config/tc-ppc.h (struct _ppc_fix_extra): New.
5 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
6 * config/tc-ppc.c (ppu_cpu): Make global.
7 (ppc_insert_operand): Add ppu_cpu parameter.
8 (md_assemble): Adjust for above change.
9 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
11 2008-02-22 Nick Clifton <nickc@redhat.com>
13 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
14 targeted ARM ports, otherwise just skip generating the reloc.
16 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
18 * doc/c-i386.texi: Update -march= and .arch.
20 2008-02-18 Nick Clifton <nickc@redhat.com>
22 * config/tc-mn10300.c (has_known_symbol_location): New function.
23 Do not regard weak symbols as having a known location.
24 (md_estimate_size_before_relax): Use new function.
25 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
27 2008-02-18 Jan Beulich <jbeulich@novell.com>
29 * config/tc-i386.c (match_template): Disallow 'l' suffix when
30 currently selected CPU has no 32-bit support.
31 (parse_real_register): Do not return registers not available on
32 currently selected CPU.
34 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
36 * config/tc-i386.c (process_immext): Fix format.
38 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
40 * config/tc-i386.c (inoutportreg): New.
41 (process_immext): New.
42 (md_assemble): Use it.
43 (update_imm): Use imm16 and imm32s.
44 (i386_att_operand): Use inoutportreg.
46 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
48 * config/tc-i386.c (operand_type_all_zero): New.
49 (operand_type_set): Likewise.
50 (operand_type_equal): Likewise.
51 (cpu_flags_all_zero): Likewise.
52 (cpu_flags_set): Likewise.
53 (cpu_flags_equal): Likewise.
54 (UINTS_ALL_ZERO): Removed.
55 (UINTS_SET): Likewise.
56 (UINTS_CLEAR): Likewise.
57 (UINTS_EQUAL): Likewise.
58 (cpu_flags_match): Updated.
59 (smallest_imm_type): Likewise.
60 (set_cpu_arch): Likewise.
61 (md_assemble): Likewise.
62 (optimize_imm): Likewise.
63 (match_template): Likewise.
64 (process_suffix): Likewise.
65 (update_imm): Likewise.
66 (process_drex): Likewise.
67 (process_operands): Likewise.
68 (build_modrm_byte): Likewise.
69 (i386_immediate): Likewise.
70 (i386_displacement): Likewise.
71 (i386_att_operand): Likewise.
72 (parse_real_register): Likewise.
73 (md_parse_option): Likewise.
74 (i386_target_format): Likewise.
76 2008-02-14 Dimitry Andric <dimitry@andric.com>
79 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
80 pointer past the comma after parsing a floating point register
83 2008-02-14 Hakan Ardo <hakan@debian.org>
86 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
88 (avr_operand): Disallow post-increment addressing in the lpm
89 instruction for the attiny26.
91 2008-02-13 Jan Beulich <jbeulich@novell.com>
93 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
95 (i386_intel_operand): Ignore segment overrides in immediate and
97 (intel_e11): Range-check i.mem_operands before use as array
98 index. Filter out FLAT for uses other than as segment override.
99 (intel_get_token): Remove broken promotion of "FLAT:" to mean
102 2008-02-13 Jan Beulich <jbeulich@novell.com>
104 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
106 2008-02-13 Jan Beulich <jbeulich@novell.com>
108 * config/tc-i386.c (allow_pseudo_reg): New.
109 (parse_real_register): Check for NULL just once. Allow all
110 register table entries when allow_pseudo_reg is non-zero.
111 Don't allow any registers without type when allow_pseudo_reg
113 (tc_x86_regname_to_dw2regnum): Replace with ...
114 (tc_x86_parse_to_dw2regnum): ... this.
115 (tc_x86_frame_initial_instructions): Adjust for above change.
116 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
117 (tc_parse_to_dw2regnum): New.
118 (tc_x86_regname_to_dw2regnum): Replace with ...
119 (tc_x86_parse_to_dw2regnum): ... this.
120 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
121 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
124 2008-02-12 Nick Clifton <nickc@redhat.com>
126 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
128 (tic4x_insn_add): Likewise.
129 (md_begin): Drop cast that was discarding a const qualifier.
130 * config/tc-d30v.c (get_reloc): Add const qualifier to op
132 (build_insn): Drop cast that was discarding a const qualifier.
134 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
136 * config/tc-i386.c (cpu_arch): Add .xsave.
137 (md_show_usage): Add .xsave.
139 * doc/c-i386.texi: Add xsave to -march=.
141 2008-02-07 Alan Modra <amodra@bigpond.net.au>
143 * read.c (s_weakref): Don't pass unadorned NULL to concat.
144 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
146 2008-02-05 Sterling Augustine <sterling@tensilica.com>
148 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
149 checks into assertions. When relaxation produces an operation that
150 does not fit in the current FLIX instruction, make sure that the
151 operation is relaxed as needed to account for being placed following
152 the current instruction.
154 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
157 * configure: Regenerated.
159 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
161 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
163 2008-01-31 Marc Gauthier <marc@tensilica.com>
165 * configure.tgt (xtensa*-*-*): Recognize processor variants.
167 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
169 * read.c: (emit_expr): Correct for mingw use of printf size
172 2008-01-24 Bob Wilson <bob.wilson@acm.org>
174 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
175 can only be encoded in FLIX instructions but are not specified as such.
176 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
179 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
181 * NEWS: Mention new command line options for x86 targets.
183 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
185 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
187 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
189 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
191 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
193 * config/tc-i386.c (md_show_usage): Show more processors for
196 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
198 * config/tc-i386.c (i386_target_format): Remove cpummx2.
200 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
202 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
203 (XXX_MNEM_SUFFIX): Likewise.
204 (END_OF_INSN): Likewise.
205 (templates): Likewise.
206 (modrm_byte): Likewise.
207 (rex_byte): Likewise.
208 (DREX_XXX): Likewise.
209 (drex_byte): Likewise.
210 (sib_byte): Likewise.
211 (processor_type): Likewise.
212 (arch_entry): Likewise.
213 (cpu_sub_arch_name): Remove const.
214 (cpu_arch): Add .vmx and .smx.
215 (set_cpu_arch): Append cpu_sub_arch_name.
216 (md_parse_option): Support -march=CPU[,+EXTENSION...].
217 (md_show_usage): Updated.
219 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
220 (XXX_MNEM_SUFFIX): Likewise.
221 (END_OF_INSN): Likewise.
222 (templates): Likewise.
223 (modrm_byte): Likewise.
224 (rex_byte): Likewise.
225 (DREX_XXX): Likewise.
226 (drex_byte): Likewise.
227 (sib_byte): Likewise.
228 (processor_type): Likewise.
229 (arch_entry): Likewise.
231 * doc/as.texinfo: Update i386 -march option.
233 * doc/c-i386.texi: Update -march= for ISA.
235 2008-01-18 Bob Wilson <bob.wilson@acm.org>
237 * config/tc-xtensa.c (xtensa_leb128): New function.
238 (md_pseudo_table): Use it for sleb128 and uleb128.
239 (is_leb128_expr): New internal flag.
240 (xtensa_symbol_new_hook): Check new flag.
242 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
244 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
245 at90usb82, at90usb162.
246 * doc/c-avr.texi: Change architecture grouping for at90usb82,
248 These changes support the new avr35 architecture group in gcc.
250 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
252 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
253 suffix for AT&T syntax.
255 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
257 * config/tc-i386.c (match_reg_size): New.
258 (match_mem_size): Likewise.
259 (operand_size_match): Likewise.
260 (operand_type_match): Also clear all size fields.
261 (match_template): Skip Intel syntax when in AT&T syntax.
262 Call operand_size_match to check operand size.
263 (i386_att_operand): Set the mem field to 1 for memory
265 (i386_intel_operand): Likewise.
267 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
270 * config/tc-i386.c (_i386_insn): Update comment.
271 (operand_type_match): Also clear unspecified.
272 (operand_type_register_match): Likewise.
273 (parse_operands): Initialize unspecified.
274 (i386_intel_operand): Likewise.
275 (match_template): Check memory and accumulator operand size.
276 (i386_att_operand): Clear unspecified on register operand.
277 (intel_e11): Likewise.
278 (intel_e09): Set operand size and clean unspecified for
281 2008-01-11 Andreas Schwab <schwab@suse.de>
283 * read.c (s_space): Declare `repeat' as offsetT.
285 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
287 * config/tc-i386.c (match_template): Check processor support
290 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
292 * config/tc-i386.c (match_template): Continue if processor
295 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
297 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
298 unwind personality function address.
300 2008-01-09 Bob Wilson <bob.wilson@acm.org>
302 * dwarf2dbg.c (out_sleb128): Delete.
303 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
304 (out_fixed_inc_line_addr): Delete.
305 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
306 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
307 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
308 (process_entries): Remove calls to out_fixed_inc_line_addr. When
309 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
310 * read.h (emit_expr_fix): New prototype.
311 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
312 (emit_expr_fix): New.
314 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
316 * config/tc-i386.c (match_template): Check register size
317 only when size of operands can be encoded the canonical way.
319 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
321 * config/tc-i386.c (i386_operand): Renamed to ...
322 (i386_att_operand): This.
323 (parse_operands): Updated.
325 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
327 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
329 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
331 (md_assemble): Remove Intel mode workaround.
332 (match_template): Check support for old gcc, AT&T mnemonic
334 (md_parse_option): Don't set intel_mnemonic to 0 for
337 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
339 * config/tc-i386.h: Update copyright to 2008.
341 2008-01-04 Nick Clifton <nickc@redhat.com>
343 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
344 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
346 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
348 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
351 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
353 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
354 (cpu_flags_not): Likewise.
355 (cpu_flags_match): Updated to check 64bit and arch.
356 (set_code_flag): Remove cpu_arch_flags_not.
357 (set_16bit_gcc_code_flag): Likewise.
358 (set_cpu_arch): Likewise.
359 (md_begin): Likewise.
360 (parse_insn): Call cpu_flags_match to check 64bit and arch.
361 (match_template): Likewise.
363 2008-01-03 Jakub Jelinek <jakub@redhat.com>
365 * config/tc-i386.c (process_drex): Initialize modrm_reg and
366 modrm_regmem to 0 instead of None.
368 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
370 * config/tc-i386.c (match_template): Use the xmmword field
373 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
375 * config/tc-i386.c (process_suffix): Fix a typo.
377 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
380 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
381 Check memory size in Intel mode.
382 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
383 (intel_e09): Likewise.
385 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
387 2008-01-02 Catherine Moore <clm@codesourcery.com>
389 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
391 For older changes see ChangeLog-2007
397 version-control: never