3 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
8 * doc/c-i386.texi: Update -march= and .arch.
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.
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.
26 * config/tc-i386.c (process_immext): Fix format.
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.
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.
69 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
70 pointer past the comma after parsing a floating point register
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.
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
94 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
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
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.
126 * config/tc-i386.c (cpu_arch): Add .xsave.
127 (md_show_usage): Add .xsave.
129 * doc/c-i386.texi: Add xsave to -march=.
133 * read.c (s_weakref): Don't pass unadorned NULL to concat.
134 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
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.
147 * configure: Regenerated.
151 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
155 * configure.tgt (xtensa*-*-*): Recognize processor variants.
159 * read.c: (emit_expr): Correct for mingw use of printf size
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
171 * NEWS: Mention new command line options for x86 targets.
175 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
179 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
183 * config/tc-i386.c (md_show_usage): Show more processors for
188 * config/tc-i386.c (i386_target_format): Remove cpummx2.
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.
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.
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.
242 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
243 suffix for AT&T syntax.
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.
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
273 * read.c (s_space): Declare `repeat' as offsetT.
277 * config/tc-i386.c (match_template): Check processor support
282 * config/tc-i386.c (match_template): Continue if processor
287 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
288 unwind personality function address.
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.
306 * config/tc-i386.c (match_template): Check register size
307 only when size of operands can be encoded the canonical way.
311 * config/tc-i386.c (i386_operand): Renamed to ...
312 (i386_att_operand): This.
313 (parse_operands): Updated.
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
329 * config/tc-i386.h: Update copyright to 2008.
333 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
334 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
338 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
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.
355 * config/tc-i386.c (process_drex): Initialize modrm_reg and
356 modrm_regmem to 0 instead of None.
360 * config/tc-i386.c (match_template): Use the xmmword field
365 * config/tc-i386.c (process_suffix): Fix a typo.
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.
379 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
381 For older changes see ChangeLog-2007
387 version-control: never