*** empty log message ***
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
39623e12
PB
12008-03-07 Paul Brook <paul@codesourcery.com>
2
3 * config/tc-arm.c (md_apply_fix): Use correct offset range.
4
d815f1a9
AM
52008-03-07 Alan Modra <amodra@bigpond.net.au>
6
7 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
8 for strict ordering of powerpc_opcodes, but disable for now.
9
7e806470
PB
102008-03-04 Paul Brook <paul@codesourcery.com>
11
12 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
13 (arm_ext_v7m): Rename...
14 (arm_ext_m): ... to this. Include v6-M.
15 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
16 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
17 (md_assemble): Allow wide msr instructions.
18 (insns): Add classifications for v6-m instructions.
19 (arm_cpu_option_table): Add cortex-m1.
20 (arm_arch_option_table): Add armv6-m.
21 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
22
77cba8a3
BW
232008-03-03 Sterling Augustine <sterling@tensilica.com>
24 Bob Wilson <bob.wilson@acm.org>
25
26 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
27 (md_begin): Initialize it.
28 (resources_conflict): Use it.
29
58502fec
BW
302008-03-03 Sterling Augustine <sterling@tensilica.com>
31
32 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
33
d0548f34
L
342008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
35 H.J. Lu <hongjiu.lu@intel.com>
36
37 PR gas/5543
38 * read.c (pseudo_set): Don't allow global register symbol.
39
40 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
41 global.
42
432008-03-03 H.J. Lu <hongjiu.lu@intel.com>
44
45 PR gas/5543
46 * write.c (write_object_file): Don't allow symbols which were
47 equated to register. Stop if there is an error.
48
783de163
AM
492008-03-01 Alan Modra <amodra@bigpond.net.au>
50
51 * config/tc-ppc.h (struct _ppc_fix_extra): New.
52 (ppc_cpu): Declare.
53 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
54 * config/tc-ppc.c (ppu_cpu): Make global.
55 (ppc_insert_operand): Add ppu_cpu parameter.
56 (md_assemble): Adjust for above change.
57 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
58
5ad34203
NC
592008-02-22 Nick Clifton <nickc@redhat.com>
60
61 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
584206db 62 targeted ARM ports, otherwise just skip generating the reloc.
5ad34203 63
1ceab344
L
642008-02-18 H.J. Lu <hongjiu.lu@intel.com>
65
66 * doc/c-i386.texi: Update -march= and .arch.
67
ca75ed2d
NC
682008-02-18 Nick Clifton <nickc@redhat.com>
69
70 * config/tc-mn10300.c (has_known_symbol_location): New function.
71 Do not regard weak symbols as having a known location.
72 (md_estimate_size_before_relax): Use new function.
73 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
74
192dc9c6
JB
752008-02-18 Jan Beulich <jbeulich@novell.com>
76
77 * config/tc-i386.c (match_template): Disallow 'l' suffix when
78 currently selected CPU has no 32-bit support.
79 (parse_real_register): Do not return registers not available on
80 currently selected CPU.
81
1fed0ba1
L
822008-02-16 H.J. Lu <hongjiu.lu@intel.com>
83
84 * config/tc-i386.c (process_immext): Fix format.
85
65da13b5
L
862008-02-16 H.J. Lu <hongjiu.lu@intel.com>
87
88 * config/tc-i386.c (inoutportreg): New.
89 (process_immext): New.
90 (md_assemble): Use it.
91 (update_imm): Use imm16 and imm32s.
92 (i386_att_operand): Use inoutportreg.
93
0dfbf9d7
L
942008-02-14 H.J. Lu <hongjiu.lu@intel.com>
95
96 * config/tc-i386.c (operand_type_all_zero): New.
97 (operand_type_set): Likewise.
98 (operand_type_equal): Likewise.
99 (cpu_flags_all_zero): Likewise.
100 (cpu_flags_set): Likewise.
101 (cpu_flags_equal): Likewise.
102 (UINTS_ALL_ZERO): Removed.
103 (UINTS_SET): Likewise.
104 (UINTS_CLEAR): Likewise.
105 (UINTS_EQUAL): Likewise.
106 (cpu_flags_match): Updated.
107 (smallest_imm_type): Likewise.
108 (set_cpu_arch): Likewise.
109 (md_assemble): Likewise.
110 (optimize_imm): Likewise.
111 (match_template): Likewise.
112 (process_suffix): Likewise.
113 (update_imm): Likewise.
114 (process_drex): Likewise.
115 (process_operands): Likewise.
116 (build_modrm_byte): Likewise.
117 (i386_immediate): Likewise.
118 (i386_displacement): Likewise.
119 (i386_att_operand): Likewise.
120 (parse_real_register): Likewise.
121 (md_parse_option): Likewise.
122 (i386_target_format): Likewise.
123
93ac2687
NC
1242008-02-14 Dimitry Andric <dimitry@andric.com>
125
126 PR gas/5712
127 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
128 pointer past the comma after parsing a floating point register
129 name.
130
d669d37f
NC
1312008-02-14 Hakan Ardo <hakan@debian.org>
132
133 PR gas/2626
134 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
135 to AVR_ISA_2xxe.
136 (avr_operand): Disallow post-increment addressing in the lpm
137 instruction for the attiny26.
138
b7240065
JB
1392008-02-13 Jan Beulich <jbeulich@novell.com>
140
141 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
142 if not in Intel mode.
143 (i386_intel_operand): Ignore segment overrides in immediate and
144 offset operands.
145 (intel_e11): Range-check i.mem_operands before use as array
146 index. Filter out FLAT for uses other than as segment override.
147 (intel_get_token): Remove broken promotion of "FLAT:" to mean
148 "offset FLAT:".
149
34b772a6
JB
1502008-02-13 Jan Beulich <jbeulich@novell.com>
151
152 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
153
a60de03c
JB
1542008-02-13 Jan Beulich <jbeulich@novell.com>
155
156 * config/tc-i386.c (allow_pseudo_reg): New.
157 (parse_real_register): Check for NULL just once. Allow all
158 register table entries when allow_pseudo_reg is non-zero.
159 Don't allow any registers without type when allow_pseudo_reg
160 is zero.
161 (tc_x86_regname_to_dw2regnum): Replace with ...
162 (tc_x86_parse_to_dw2regnum): ... this.
163 (tc_x86_frame_initial_instructions): Adjust for above change.
164 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
165 (tc_parse_to_dw2regnum): New.
166 (tc_x86_regname_to_dw2regnum): Replace with ...
167 (tc_x86_parse_to_dw2regnum): ... this.
168 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
169 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
170 error handling.
171
9c95b521
NC
1722008-02-12 Nick Clifton <nickc@redhat.com>
173
174 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
175 argument.
176 (tic4x_insn_add): Likewise.
177 (md_begin): Drop cast that was discarding a const qualifier.
178 * config/tc-d30v.c (get_reloc): Add const qualifier to op
179 argument.
180 (build_insn): Drop cast that was discarding a const qualifier.
181
f03fe4c1
L
1822008-02-11 H.J. Lu <hongjiu.lu@intel.com>
183
184 * config/tc-i386.c (cpu_arch): Add .xsave.
185 (md_show_usage): Add .xsave.
186
187 * doc/c-i386.texi: Add xsave to -march=.
188
1bf57e9f
AM
1892008-02-07 Alan Modra <amodra@bigpond.net.au>
190
191 * read.c (s_weakref): Don't pass unadorned NULL to concat.
192 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
193
2276bc20
BW
1942008-02-05 Sterling Augustine <sterling@tensilica.com>
195
196 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
197 checks into assertions. When relaxation produces an operation that
198 does not fit in the current FLIX instruction, make sure that the
199 operation is relaxed as needed to account for being placed following
200 the current instruction.
201
bb8541b9
L
2022008-02-04 H.J. Lu <hongjiu.lu@intel.com>
203
204 PR 5715
205 * configure: Regenerated.
206
967344c6
AN
2072008-02-04 Adam Nemet <anemet@caviumnetworks.com>
208
209 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
210
f8a52b59
BW
2112008-01-31 Marc Gauthier <marc@tensilica.com>
212
213 * configure.tgt (xtensa*-*-*): Recognize processor variants.
214
6e3d6dc1
NC
2152008-01-25 Kai Tietz <kai.tietz@onevision.com>
216
217 * read.c: (emit_expr): Correct for mingw use of printf size
218 specifier.
219
cec28c98
BW
2202008-01-24 Bob Wilson <bob.wilson@acm.org>
221
222 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
223 can only be encoded in FLIX instructions but are not specified as such.
224 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
225 labels.
226
ae40c993
L
2272008-01-24 H.J. Lu <hongjiu.lu@intel.com>
228
229 * NEWS: Mention new command line options for x86 targets.
230
599121aa
L
2312008-01-23 H.J. Lu <hongjiu.lu@intel.com>
232
233 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
234
2b1ed17b
EW
2352008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
236
237 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
238
2cb4f3d5
L
2392008-01-23 H.J. Lu <hongjiu.lu@intel.com>
240
241 * config/tc-i386.c (md_show_usage): Show more processors for
242 -march=/-mtune=.
243
115c7c25
L
2442008-01-22 H.J. Lu <hongjiu.lu@intel.com>
245
246 * config/tc-i386.c (i386_target_format): Remove cpummx2.
247
6305a203
L
2482008-01-22 H.J. Lu <hongjiu.lu@intel.com>
249
250 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
251 (XXX_MNEM_SUFFIX): Likewise.
252 (END_OF_INSN): Likewise.
253 (templates): Likewise.
254 (modrm_byte): Likewise.
255 (rex_byte): Likewise.
256 (DREX_XXX): Likewise.
257 (drex_byte): Likewise.
258 (sib_byte): Likewise.
259 (processor_type): Likewise.
260 (arch_entry): Likewise.
261 (cpu_sub_arch_name): Remove const.
262 (cpu_arch): Add .vmx and .smx.
263 (set_cpu_arch): Append cpu_sub_arch_name.
264 (md_parse_option): Support -march=CPU[,+EXTENSION...].
265 (md_show_usage): Updated.
266
267 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
268 (XXX_MNEM_SUFFIX): Likewise.
269 (END_OF_INSN): Likewise.
270 (templates): Likewise.
271 (modrm_byte): Likewise.
272 (rex_byte): Likewise.
273 (DREX_XXX): Likewise.
274 (drex_byte): Likewise.
275 (sib_byte): Likewise.
276 (processor_type): Likewise.
277 (arch_entry): Likewise.
278
279 * doc/as.texinfo: Update i386 -march option.
280
281 * doc/c-i386.texi: Update -march= for ISA.
282
fb227da0
BW
2832008-01-18 Bob Wilson <bob.wilson@acm.org>
284
285 * config/tc-xtensa.c (xtensa_leb128): New function.
286 (md_pseudo_table): Use it for sleb128 and uleb128.
287 (is_leb128_expr): New internal flag.
288 (xtensa_symbol_new_hook): Check new flag.
289
982b62a0
EW
2902008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
291
292 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
293 at90usb82, at90usb162.
294 * doc/c-avr.texi: Change architecture grouping for at90usb82,
295 at90usb162.
296 These changes support the new avr35 architecture group in gcc.
297
321fd21e
L
2982008-01-15 H.J. Lu <hongjiu.lu@intel.com>
299
300 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
301 suffix for AT&T syntax.
302
5c07affc
L
3032008-01-14 H.J. Lu <hongjiu.lu@intel.com>
304
305 * config/tc-i386.c (match_reg_size): New.
306 (match_mem_size): Likewise.
307 (operand_size_match): Likewise.
308 (operand_type_match): Also clear all size fields.
309 (match_template): Skip Intel syntax when in AT&T syntax.
310 Call operand_size_match to check operand size.
311 (i386_att_operand): Set the mem field to 1 for memory
312 operand.
313 (i386_intel_operand): Likewise.
314
7d5e4556
L
3152008-01-12 H.J. Lu <hongjiu.lu@intel.com>
316
317 PR gas/5534
318 * config/tc-i386.c (_i386_insn): Update comment.
319 (operand_type_match): Also clear unspecified.
320 (operand_type_register_match): Likewise.
321 (parse_operands): Initialize unspecified.
322 (i386_intel_operand): Likewise.
323 (match_template): Check memory and accumulator operand size.
324 (i386_att_operand): Clear unspecified on register operand.
325 (intel_e11): Likewise.
326 (intel_e09): Set operand size and clean unspecified for
327 "XXX PTR".
328
a4a151e6
AS
3292008-01-11 Andreas Schwab <schwab@suse.de>
330
331 * read.c (s_space): Declare `repeat' as offsetT.
332
50aecf8c
L
3332008-01-10 H.J. Lu <hongjiu.lu@intel.com>
334
335 * config/tc-i386.c (match_template): Check processor support
336 first.
337
2dbab7d5
L
3382008-01-10 H.J. Lu <hongjiu.lu@intel.com>
339
340 * config/tc-i386.c (match_template): Continue if processor
341 doesn't match.
342
417c21b7
AO
3432008-01-09 Alexandre Oliva <aoliva@redhat.com>
344
345 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
346 unwind personality function address.
347
7ddd14de
BW
3482008-01-09 Bob Wilson <bob.wilson@acm.org>
349
350 * dwarf2dbg.c (out_sleb128): Delete.
351 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
352 (out_fixed_inc_line_addr): Delete.
353 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
354 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
355 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
356 (process_entries): Remove calls to out_fixed_inc_line_addr. When
357 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
358 * read.h (emit_expr_fix): New prototype.
359 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
360 (emit_expr_fix): New.
361
45664ddb
L
3622008-01-09 H.J. Lu <hongjiu.lu@intel.com>
363
364 * config/tc-i386.c (match_template): Check register size
365 only when size of operands can be encoded the canonical way.
366
a7619375
L
3672008-01-08 H.J. Lu <hongjiu.lu@intel.com>
368
369 * config/tc-i386.c (i386_operand): Renamed to ...
370 (i386_att_operand): This.
371 (parse_operands): Updated.
372
e1d4d893
L
3732008-01-05 H.J. Lu <hongjiu.lu@intel.com>
374
375 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
376
377 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
378 only.
379 (md_assemble): Remove Intel mode workaround.
380 (match_template): Check support for old gcc, AT&T mnemonic
381 and Intel Syntax.
382 (md_parse_option): Don't set intel_mnemonic to 0 for
383 OPTION_MOLD_GCC.
384
23117009
L
3852008-01-04 H.J. Lu <hongjiu.lu@intel.com>
386
387 * config/tc-i386.h: Update copyright to 2008.
388
b0e34bfe
NC
3892008-01-04 Nick Clifton <nickc@redhat.com>
390
391 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
392 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
393
aacd03c3
L
3942008-01-03 H.J. Lu <hongjiu.lu@intel.com>
395
396 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
397 of SYSV386_COMPAT.
398
3629bb00
L
3992008-01-03 H.J. Lu <hongjiu.lu@intel.com>
400
401 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
402 (cpu_flags_not): Likewise.
403 (cpu_flags_match): Updated to check 64bit and arch.
404 (set_code_flag): Remove cpu_arch_flags_not.
405 (set_16bit_gcc_code_flag): Likewise.
406 (set_cpu_arch): Likewise.
407 (md_begin): Likewise.
408 (parse_insn): Call cpu_flags_match to check 64bit and arch.
409 (match_template): Likewise.
410
5dd15031
JJ
4112008-01-03 Jakub Jelinek <jakub@redhat.com>
412
413 * config/tc-i386.c (process_drex): Initialize modrm_reg and
414 modrm_regmem to 0 instead of None.
415
24995bd6
L
4162008-01-03 H.J. Lu <hongjiu.lu@intel.com>
417
418 * config/tc-i386.c (match_template): Use the xmmword field
419 instead of no_xsuf.
420
fc4adea1
L
4212008-01-02 H.J. Lu <hongjiu.lu@intel.com>
422
423 * config/tc-i386.c (process_suffix): Fix a typo.
424
582d5edd
L
4252008-01-02 H.J. Lu <hongjiu.lu@intel.com>
426
427 PR gas/5534
428 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
429 Check memory size in Intel mode.
430 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
431 (intel_e09): Likewise.
432
433 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
434
e7c604dd
CM
4352008-01-02 Catherine Moore <clm@codesourcery.com>
436
437 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
438
6c7ac64e 439For older changes see ChangeLog-2007
08d56133
NC
440\f
441Local Variables:
442mode: change-log
443left-margin: 8
444fill-column: 74
445version-control: never
446End:
This page took 0.559789 seconds and 4 git commands to generate.