7fb71a2e7169a712f041ac9fd7a92e93081e3412
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2008-03-17 Adrian Bunk <bunk@stusta.de>
2
3 PR 5946
4 * config/tc-hppa.c (is_same_frag): Delete.
5
6 2008-03-14 Sterling Augustine <sterling@tensilica.com>
7
8 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
9 RELAX_LOOP_END_ADD_NOP.
10
11 2008-03-13 Evandro Menezes <evandro@yahoo.com>
12
13 PR gas/5895
14 * read.c (s_mexit): Warn if attempting to exit a macro when not
15 inside a macro definition.
16
17 2008-03-13 Alan Modra <amodra@bigpond.net.au>
18
19 * Makefile.am: Run "make dep-am".
20 * Makefile.in: Regenerate.
21 * configure: Regenerate.
22
23 2008-03-09 Paul Brook <paul@codesourcery.com>
24
25 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
26 * doc/c-arm.texi: Add cortex-a9.
27
28 2008-03-09 Paul Brook <paul@codesourcery.com>
29
30 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
31 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
32 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
33 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
34 * doc/c-arm.texi: Document new ARM FPU variants.
35
36 2008-03-07 Paul Brook <paul@codesourcery.com>
37
38 * config/tc-arm.c (md_apply_fix): Use correct offset range.
39
40 2008-03-07 Alan Modra <amodra@bigpond.net.au>
41
42 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
43 for strict ordering of powerpc_opcodes, but disable for now.
44
45 2008-03-04 Paul Brook <paul@codesourcery.com>
46
47 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
48 (arm_ext_v7m): Rename...
49 (arm_ext_m): ... to this. Include v6-M.
50 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
51 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
52 (md_assemble): Allow wide msr instructions.
53 (insns): Add classifications for v6-m instructions.
54 (arm_cpu_option_table): Add cortex-m1.
55 (arm_arch_option_table): Add armv6-m.
56 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
57
58 2008-03-03 Sterling Augustine <sterling@tensilica.com>
59 Bob Wilson <bob.wilson@acm.org>
60
61 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
62 (md_begin): Initialize it.
63 (resources_conflict): Use it.
64
65 2008-03-03 Sterling Augustine <sterling@tensilica.com>
66
67 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
68
69 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
70 H.J. Lu <hongjiu.lu@intel.com>
71
72 PR gas/5543
73 * read.c (pseudo_set): Don't allow global register symbol.
74
75 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
76 global.
77
78 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
79
80 PR gas/5543
81 * write.c (write_object_file): Don't allow symbols which were
82 equated to register. Stop if there is an error.
83
84 2008-03-01 Alan Modra <amodra@bigpond.net.au>
85
86 * config/tc-ppc.h (struct _ppc_fix_extra): New.
87 (ppc_cpu): Declare.
88 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
89 * config/tc-ppc.c (ppu_cpu): Make global.
90 (ppc_insert_operand): Add ppu_cpu parameter.
91 (md_assemble): Adjust for above change.
92 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
93
94 2008-02-22 Nick Clifton <nickc@redhat.com>
95
96 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
97 targeted ARM ports, otherwise just skip generating the reloc.
98
99 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
100
101 * doc/c-i386.texi: Update -march= and .arch.
102
103 2008-02-18 Nick Clifton <nickc@redhat.com>
104
105 * config/tc-mn10300.c (has_known_symbol_location): New function.
106 Do not regard weak symbols as having a known location.
107 (md_estimate_size_before_relax): Use new function.
108 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
109
110 2008-02-18 Jan Beulich <jbeulich@novell.com>
111
112 * config/tc-i386.c (match_template): Disallow 'l' suffix when
113 currently selected CPU has no 32-bit support.
114 (parse_real_register): Do not return registers not available on
115 currently selected CPU.
116
117 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
118
119 * config/tc-i386.c (process_immext): Fix format.
120
121 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
122
123 * config/tc-i386.c (inoutportreg): New.
124 (process_immext): New.
125 (md_assemble): Use it.
126 (update_imm): Use imm16 and imm32s.
127 (i386_att_operand): Use inoutportreg.
128
129 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
130
131 * config/tc-i386.c (operand_type_all_zero): New.
132 (operand_type_set): Likewise.
133 (operand_type_equal): Likewise.
134 (cpu_flags_all_zero): Likewise.
135 (cpu_flags_set): Likewise.
136 (cpu_flags_equal): Likewise.
137 (UINTS_ALL_ZERO): Removed.
138 (UINTS_SET): Likewise.
139 (UINTS_CLEAR): Likewise.
140 (UINTS_EQUAL): Likewise.
141 (cpu_flags_match): Updated.
142 (smallest_imm_type): Likewise.
143 (set_cpu_arch): Likewise.
144 (md_assemble): Likewise.
145 (optimize_imm): Likewise.
146 (match_template): Likewise.
147 (process_suffix): Likewise.
148 (update_imm): Likewise.
149 (process_drex): Likewise.
150 (process_operands): Likewise.
151 (build_modrm_byte): Likewise.
152 (i386_immediate): Likewise.
153 (i386_displacement): Likewise.
154 (i386_att_operand): Likewise.
155 (parse_real_register): Likewise.
156 (md_parse_option): Likewise.
157 (i386_target_format): Likewise.
158
159 2008-02-14 Dimitry Andric <dimitry@andric.com>
160
161 PR gas/5712
162 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
163 pointer past the comma after parsing a floating point register
164 name.
165
166 2008-02-14 Hakan Ardo <hakan@debian.org>
167
168 PR gas/2626
169 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
170 to AVR_ISA_2xxe.
171 (avr_operand): Disallow post-increment addressing in the lpm
172 instruction for the attiny26.
173
174 2008-02-13 Jan Beulich <jbeulich@novell.com>
175
176 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
177 if not in Intel mode.
178 (i386_intel_operand): Ignore segment overrides in immediate and
179 offset operands.
180 (intel_e11): Range-check i.mem_operands before use as array
181 index. Filter out FLAT for uses other than as segment override.
182 (intel_get_token): Remove broken promotion of "FLAT:" to mean
183 "offset FLAT:".
184
185 2008-02-13 Jan Beulich <jbeulich@novell.com>
186
187 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
188
189 2008-02-13 Jan Beulich <jbeulich@novell.com>
190
191 * config/tc-i386.c (allow_pseudo_reg): New.
192 (parse_real_register): Check for NULL just once. Allow all
193 register table entries when allow_pseudo_reg is non-zero.
194 Don't allow any registers without type when allow_pseudo_reg
195 is zero.
196 (tc_x86_regname_to_dw2regnum): Replace with ...
197 (tc_x86_parse_to_dw2regnum): ... this.
198 (tc_x86_frame_initial_instructions): Adjust for above change.
199 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
200 (tc_parse_to_dw2regnum): New.
201 (tc_x86_regname_to_dw2regnum): Replace with ...
202 (tc_x86_parse_to_dw2regnum): ... this.
203 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
204 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
205 error handling.
206
207 2008-02-12 Nick Clifton <nickc@redhat.com>
208
209 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
210 argument.
211 (tic4x_insn_add): Likewise.
212 (md_begin): Drop cast that was discarding a const qualifier.
213 * config/tc-d30v.c (get_reloc): Add const qualifier to op
214 argument.
215 (build_insn): Drop cast that was discarding a const qualifier.
216
217 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
218
219 * config/tc-i386.c (cpu_arch): Add .xsave.
220 (md_show_usage): Add .xsave.
221
222 * doc/c-i386.texi: Add xsave to -march=.
223
224 2008-02-07 Alan Modra <amodra@bigpond.net.au>
225
226 * read.c (s_weakref): Don't pass unadorned NULL to concat.
227 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
228
229 2008-02-05 Sterling Augustine <sterling@tensilica.com>
230
231 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
232 checks into assertions. When relaxation produces an operation that
233 does not fit in the current FLIX instruction, make sure that the
234 operation is relaxed as needed to account for being placed following
235 the current instruction.
236
237 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
238
239 PR 5715
240 * configure: Regenerated.
241
242 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
243
244 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
245
246 2008-01-31 Marc Gauthier <marc@tensilica.com>
247
248 * configure.tgt (xtensa*-*-*): Recognize processor variants.
249
250 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
251
252 * read.c: (emit_expr): Correct for mingw use of printf size
253 specifier.
254
255 2008-01-24 Bob Wilson <bob.wilson@acm.org>
256
257 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
258 can only be encoded in FLIX instructions but are not specified as such.
259 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
260 labels.
261
262 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
263
264 * NEWS: Mention new command line options for x86 targets.
265
266 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
267
268 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
269
270 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
271
272 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
273
274 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
275
276 * config/tc-i386.c (md_show_usage): Show more processors for
277 -march=/-mtune=.
278
279 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
280
281 * config/tc-i386.c (i386_target_format): Remove cpummx2.
282
283 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
284
285 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
286 (XXX_MNEM_SUFFIX): Likewise.
287 (END_OF_INSN): Likewise.
288 (templates): Likewise.
289 (modrm_byte): Likewise.
290 (rex_byte): Likewise.
291 (DREX_XXX): Likewise.
292 (drex_byte): Likewise.
293 (sib_byte): Likewise.
294 (processor_type): Likewise.
295 (arch_entry): Likewise.
296 (cpu_sub_arch_name): Remove const.
297 (cpu_arch): Add .vmx and .smx.
298 (set_cpu_arch): Append cpu_sub_arch_name.
299 (md_parse_option): Support -march=CPU[,+EXTENSION...].
300 (md_show_usage): Updated.
301
302 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
303 (XXX_MNEM_SUFFIX): Likewise.
304 (END_OF_INSN): Likewise.
305 (templates): Likewise.
306 (modrm_byte): Likewise.
307 (rex_byte): Likewise.
308 (DREX_XXX): Likewise.
309 (drex_byte): Likewise.
310 (sib_byte): Likewise.
311 (processor_type): Likewise.
312 (arch_entry): Likewise.
313
314 * doc/as.texinfo: Update i386 -march option.
315
316 * doc/c-i386.texi: Update -march= for ISA.
317
318 2008-01-18 Bob Wilson <bob.wilson@acm.org>
319
320 * config/tc-xtensa.c (xtensa_leb128): New function.
321 (md_pseudo_table): Use it for sleb128 and uleb128.
322 (is_leb128_expr): New internal flag.
323 (xtensa_symbol_new_hook): Check new flag.
324
325 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
326
327 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
328 at90usb82, at90usb162.
329 * doc/c-avr.texi: Change architecture grouping for at90usb82,
330 at90usb162.
331 These changes support the new avr35 architecture group in gcc.
332
333 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
334
335 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
336 suffix for AT&T syntax.
337
338 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
339
340 * config/tc-i386.c (match_reg_size): New.
341 (match_mem_size): Likewise.
342 (operand_size_match): Likewise.
343 (operand_type_match): Also clear all size fields.
344 (match_template): Skip Intel syntax when in AT&T syntax.
345 Call operand_size_match to check operand size.
346 (i386_att_operand): Set the mem field to 1 for memory
347 operand.
348 (i386_intel_operand): Likewise.
349
350 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
351
352 PR gas/5534
353 * config/tc-i386.c (_i386_insn): Update comment.
354 (operand_type_match): Also clear unspecified.
355 (operand_type_register_match): Likewise.
356 (parse_operands): Initialize unspecified.
357 (i386_intel_operand): Likewise.
358 (match_template): Check memory and accumulator operand size.
359 (i386_att_operand): Clear unspecified on register operand.
360 (intel_e11): Likewise.
361 (intel_e09): Set operand size and clean unspecified for
362 "XXX PTR".
363
364 2008-01-11 Andreas Schwab <schwab@suse.de>
365
366 * read.c (s_space): Declare `repeat' as offsetT.
367
368 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
369
370 * config/tc-i386.c (match_template): Check processor support
371 first.
372
373 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
374
375 * config/tc-i386.c (match_template): Continue if processor
376 doesn't match.
377
378 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
379
380 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
381 unwind personality function address.
382
383 2008-01-09 Bob Wilson <bob.wilson@acm.org>
384
385 * dwarf2dbg.c (out_sleb128): Delete.
386 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
387 (out_fixed_inc_line_addr): Delete.
388 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
389 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
390 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
391 (process_entries): Remove calls to out_fixed_inc_line_addr. When
392 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
393 * read.h (emit_expr_fix): New prototype.
394 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
395 (emit_expr_fix): New.
396
397 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
398
399 * config/tc-i386.c (match_template): Check register size
400 only when size of operands can be encoded the canonical way.
401
402 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
403
404 * config/tc-i386.c (i386_operand): Renamed to ...
405 (i386_att_operand): This.
406 (parse_operands): Updated.
407
408 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
409
410 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
411
412 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
413 only.
414 (md_assemble): Remove Intel mode workaround.
415 (match_template): Check support for old gcc, AT&T mnemonic
416 and Intel Syntax.
417 (md_parse_option): Don't set intel_mnemonic to 0 for
418 OPTION_MOLD_GCC.
419
420 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
421
422 * config/tc-i386.h: Update copyright to 2008.
423
424 2008-01-04 Nick Clifton <nickc@redhat.com>
425
426 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
427 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
428
429 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
430
431 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
432 of SYSV386_COMPAT.
433
434 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
435
436 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
437 (cpu_flags_not): Likewise.
438 (cpu_flags_match): Updated to check 64bit and arch.
439 (set_code_flag): Remove cpu_arch_flags_not.
440 (set_16bit_gcc_code_flag): Likewise.
441 (set_cpu_arch): Likewise.
442 (md_begin): Likewise.
443 (parse_insn): Call cpu_flags_match to check 64bit and arch.
444 (match_template): Likewise.
445
446 2008-01-03 Jakub Jelinek <jakub@redhat.com>
447
448 * config/tc-i386.c (process_drex): Initialize modrm_reg and
449 modrm_regmem to 0 instead of None.
450
451 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
452
453 * config/tc-i386.c (match_template): Use the xmmword field
454 instead of no_xsuf.
455
456 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
457
458 * config/tc-i386.c (process_suffix): Fix a typo.
459
460 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
461
462 PR gas/5534
463 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
464 Check memory size in Intel mode.
465 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
466 (intel_e09): Likewise.
467
468 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
469
470 2008-01-02 Catherine Moore <clm@codesourcery.com>
471
472 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
473
474 For older changes see ChangeLog-2007
475 \f
476 Local Variables:
477 mode: change-log
478 left-margin: 8
479 fill-column: 74
480 version-control: never
481 End:
This page took 0.042111 seconds and 4 git commands to generate.