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