daily update
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
58502fec
BW
12008-03-03 Sterling Augustine <sterling@tensilica.com>
2
3 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
4
d0548f34
L
52008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
6 H.J. Lu <hongjiu.lu@intel.com>
7
8 PR gas/5543
9 * read.c (pseudo_set): Don't allow global register symbol.
10
11 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
12 global.
13
142008-03-03 H.J. Lu <hongjiu.lu@intel.com>
15
16 PR gas/5543
17 * write.c (write_object_file): Don't allow symbols which were
18 equated to register. Stop if there is an error.
19
783de163
AM
202008-03-01 Alan Modra <amodra@bigpond.net.au>
21
22 * config/tc-ppc.h (struct _ppc_fix_extra): New.
23 (ppc_cpu): Declare.
24 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
25 * config/tc-ppc.c (ppu_cpu): Make global.
26 (ppc_insert_operand): Add ppu_cpu parameter.
27 (md_assemble): Adjust for above change.
28 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
29
5ad34203
NC
302008-02-22 Nick Clifton <nickc@redhat.com>
31
32 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
584206db 33 targeted ARM ports, otherwise just skip generating the reloc.
5ad34203 34
1ceab344
L
352008-02-18 H.J. Lu <hongjiu.lu@intel.com>
36
37 * doc/c-i386.texi: Update -march= and .arch.
38
ca75ed2d
NC
392008-02-18 Nick Clifton <nickc@redhat.com>
40
41 * config/tc-mn10300.c (has_known_symbol_location): New function.
42 Do not regard weak symbols as having a known location.
43 (md_estimate_size_before_relax): Use new function.
44 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
45
192dc9c6
JB
462008-02-18 Jan Beulich <jbeulich@novell.com>
47
48 * config/tc-i386.c (match_template): Disallow 'l' suffix when
49 currently selected CPU has no 32-bit support.
50 (parse_real_register): Do not return registers not available on
51 currently selected CPU.
52
1fed0ba1
L
532008-02-16 H.J. Lu <hongjiu.lu@intel.com>
54
55 * config/tc-i386.c (process_immext): Fix format.
56
65da13b5
L
572008-02-16 H.J. Lu <hongjiu.lu@intel.com>
58
59 * config/tc-i386.c (inoutportreg): New.
60 (process_immext): New.
61 (md_assemble): Use it.
62 (update_imm): Use imm16 and imm32s.
63 (i386_att_operand): Use inoutportreg.
64
0dfbf9d7
L
652008-02-14 H.J. Lu <hongjiu.lu@intel.com>
66
67 * config/tc-i386.c (operand_type_all_zero): New.
68 (operand_type_set): Likewise.
69 (operand_type_equal): Likewise.
70 (cpu_flags_all_zero): Likewise.
71 (cpu_flags_set): Likewise.
72 (cpu_flags_equal): Likewise.
73 (UINTS_ALL_ZERO): Removed.
74 (UINTS_SET): Likewise.
75 (UINTS_CLEAR): Likewise.
76 (UINTS_EQUAL): Likewise.
77 (cpu_flags_match): Updated.
78 (smallest_imm_type): Likewise.
79 (set_cpu_arch): Likewise.
80 (md_assemble): Likewise.
81 (optimize_imm): Likewise.
82 (match_template): Likewise.
83 (process_suffix): Likewise.
84 (update_imm): Likewise.
85 (process_drex): Likewise.
86 (process_operands): Likewise.
87 (build_modrm_byte): Likewise.
88 (i386_immediate): Likewise.
89 (i386_displacement): Likewise.
90 (i386_att_operand): Likewise.
91 (parse_real_register): Likewise.
92 (md_parse_option): Likewise.
93 (i386_target_format): Likewise.
94
93ac2687
NC
952008-02-14 Dimitry Andric <dimitry@andric.com>
96
97 PR gas/5712
98 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
99 pointer past the comma after parsing a floating point register
100 name.
101
d669d37f
NC
1022008-02-14 Hakan Ardo <hakan@debian.org>
103
104 PR gas/2626
105 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
106 to AVR_ISA_2xxe.
107 (avr_operand): Disallow post-increment addressing in the lpm
108 instruction for the attiny26.
109
b7240065
JB
1102008-02-13 Jan Beulich <jbeulich@novell.com>
111
112 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
113 if not in Intel mode.
114 (i386_intel_operand): Ignore segment overrides in immediate and
115 offset operands.
116 (intel_e11): Range-check i.mem_operands before use as array
117 index. Filter out FLAT for uses other than as segment override.
118 (intel_get_token): Remove broken promotion of "FLAT:" to mean
119 "offset FLAT:".
120
34b772a6
JB
1212008-02-13 Jan Beulich <jbeulich@novell.com>
122
123 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
124
a60de03c
JB
1252008-02-13 Jan Beulich <jbeulich@novell.com>
126
127 * config/tc-i386.c (allow_pseudo_reg): New.
128 (parse_real_register): Check for NULL just once. Allow all
129 register table entries when allow_pseudo_reg is non-zero.
130 Don't allow any registers without type when allow_pseudo_reg
131 is zero.
132 (tc_x86_regname_to_dw2regnum): Replace with ...
133 (tc_x86_parse_to_dw2regnum): ... this.
134 (tc_x86_frame_initial_instructions): Adjust for above change.
135 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
136 (tc_parse_to_dw2regnum): New.
137 (tc_x86_regname_to_dw2regnum): Replace with ...
138 (tc_x86_parse_to_dw2regnum): ... this.
139 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
140 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
141 error handling.
142
9c95b521
NC
1432008-02-12 Nick Clifton <nickc@redhat.com>
144
145 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
146 argument.
147 (tic4x_insn_add): Likewise.
148 (md_begin): Drop cast that was discarding a const qualifier.
149 * config/tc-d30v.c (get_reloc): Add const qualifier to op
150 argument.
151 (build_insn): Drop cast that was discarding a const qualifier.
152
f03fe4c1
L
1532008-02-11 H.J. Lu <hongjiu.lu@intel.com>
154
155 * config/tc-i386.c (cpu_arch): Add .xsave.
156 (md_show_usage): Add .xsave.
157
158 * doc/c-i386.texi: Add xsave to -march=.
159
1bf57e9f
AM
1602008-02-07 Alan Modra <amodra@bigpond.net.au>
161
162 * read.c (s_weakref): Don't pass unadorned NULL to concat.
163 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
164
2276bc20
BW
1652008-02-05 Sterling Augustine <sterling@tensilica.com>
166
167 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
168 checks into assertions. When relaxation produces an operation that
169 does not fit in the current FLIX instruction, make sure that the
170 operation is relaxed as needed to account for being placed following
171 the current instruction.
172
bb8541b9
L
1732008-02-04 H.J. Lu <hongjiu.lu@intel.com>
174
175 PR 5715
176 * configure: Regenerated.
177
967344c6
AN
1782008-02-04 Adam Nemet <anemet@caviumnetworks.com>
179
180 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
181
f8a52b59
BW
1822008-01-31 Marc Gauthier <marc@tensilica.com>
183
184 * configure.tgt (xtensa*-*-*): Recognize processor variants.
185
6e3d6dc1
NC
1862008-01-25 Kai Tietz <kai.tietz@onevision.com>
187
188 * read.c: (emit_expr): Correct for mingw use of printf size
189 specifier.
190
cec28c98
BW
1912008-01-24 Bob Wilson <bob.wilson@acm.org>
192
193 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
194 can only be encoded in FLIX instructions but are not specified as such.
195 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
196 labels.
197
ae40c993
L
1982008-01-24 H.J. Lu <hongjiu.lu@intel.com>
199
200 * NEWS: Mention new command line options for x86 targets.
201
599121aa
L
2022008-01-23 H.J. Lu <hongjiu.lu@intel.com>
203
204 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
205
2b1ed17b
EW
2062008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
207
208 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
209
2cb4f3d5
L
2102008-01-23 H.J. Lu <hongjiu.lu@intel.com>
211
212 * config/tc-i386.c (md_show_usage): Show more processors for
213 -march=/-mtune=.
214
115c7c25
L
2152008-01-22 H.J. Lu <hongjiu.lu@intel.com>
216
217 * config/tc-i386.c (i386_target_format): Remove cpummx2.
218
6305a203
L
2192008-01-22 H.J. Lu <hongjiu.lu@intel.com>
220
221 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
222 (XXX_MNEM_SUFFIX): Likewise.
223 (END_OF_INSN): Likewise.
224 (templates): Likewise.
225 (modrm_byte): Likewise.
226 (rex_byte): Likewise.
227 (DREX_XXX): Likewise.
228 (drex_byte): Likewise.
229 (sib_byte): Likewise.
230 (processor_type): Likewise.
231 (arch_entry): Likewise.
232 (cpu_sub_arch_name): Remove const.
233 (cpu_arch): Add .vmx and .smx.
234 (set_cpu_arch): Append cpu_sub_arch_name.
235 (md_parse_option): Support -march=CPU[,+EXTENSION...].
236 (md_show_usage): Updated.
237
238 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
239 (XXX_MNEM_SUFFIX): Likewise.
240 (END_OF_INSN): Likewise.
241 (templates): Likewise.
242 (modrm_byte): Likewise.
243 (rex_byte): Likewise.
244 (DREX_XXX): Likewise.
245 (drex_byte): Likewise.
246 (sib_byte): Likewise.
247 (processor_type): Likewise.
248 (arch_entry): Likewise.
249
250 * doc/as.texinfo: Update i386 -march option.
251
252 * doc/c-i386.texi: Update -march= for ISA.
253
fb227da0
BW
2542008-01-18 Bob Wilson <bob.wilson@acm.org>
255
256 * config/tc-xtensa.c (xtensa_leb128): New function.
257 (md_pseudo_table): Use it for sleb128 and uleb128.
258 (is_leb128_expr): New internal flag.
259 (xtensa_symbol_new_hook): Check new flag.
260
982b62a0
EW
2612008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
262
263 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
264 at90usb82, at90usb162.
265 * doc/c-avr.texi: Change architecture grouping for at90usb82,
266 at90usb162.
267 These changes support the new avr35 architecture group in gcc.
268
321fd21e
L
2692008-01-15 H.J. Lu <hongjiu.lu@intel.com>
270
271 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
272 suffix for AT&T syntax.
273
5c07affc
L
2742008-01-14 H.J. Lu <hongjiu.lu@intel.com>
275
276 * config/tc-i386.c (match_reg_size): New.
277 (match_mem_size): Likewise.
278 (operand_size_match): Likewise.
279 (operand_type_match): Also clear all size fields.
280 (match_template): Skip Intel syntax when in AT&T syntax.
281 Call operand_size_match to check operand size.
282 (i386_att_operand): Set the mem field to 1 for memory
283 operand.
284 (i386_intel_operand): Likewise.
285
7d5e4556
L
2862008-01-12 H.J. Lu <hongjiu.lu@intel.com>
287
288 PR gas/5534
289 * config/tc-i386.c (_i386_insn): Update comment.
290 (operand_type_match): Also clear unspecified.
291 (operand_type_register_match): Likewise.
292 (parse_operands): Initialize unspecified.
293 (i386_intel_operand): Likewise.
294 (match_template): Check memory and accumulator operand size.
295 (i386_att_operand): Clear unspecified on register operand.
296 (intel_e11): Likewise.
297 (intel_e09): Set operand size and clean unspecified for
298 "XXX PTR".
299
a4a151e6
AS
3002008-01-11 Andreas Schwab <schwab@suse.de>
301
302 * read.c (s_space): Declare `repeat' as offsetT.
303
50aecf8c
L
3042008-01-10 H.J. Lu <hongjiu.lu@intel.com>
305
306 * config/tc-i386.c (match_template): Check processor support
307 first.
308
2dbab7d5
L
3092008-01-10 H.J. Lu <hongjiu.lu@intel.com>
310
311 * config/tc-i386.c (match_template): Continue if processor
312 doesn't match.
313
417c21b7
AO
3142008-01-09 Alexandre Oliva <aoliva@redhat.com>
315
316 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
317 unwind personality function address.
318
7ddd14de
BW
3192008-01-09 Bob Wilson <bob.wilson@acm.org>
320
321 * dwarf2dbg.c (out_sleb128): Delete.
322 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
323 (out_fixed_inc_line_addr): Delete.
324 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
325 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
326 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
327 (process_entries): Remove calls to out_fixed_inc_line_addr. When
328 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
329 * read.h (emit_expr_fix): New prototype.
330 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
331 (emit_expr_fix): New.
332
45664ddb
L
3332008-01-09 H.J. Lu <hongjiu.lu@intel.com>
334
335 * config/tc-i386.c (match_template): Check register size
336 only when size of operands can be encoded the canonical way.
337
a7619375
L
3382008-01-08 H.J. Lu <hongjiu.lu@intel.com>
339
340 * config/tc-i386.c (i386_operand): Renamed to ...
341 (i386_att_operand): This.
342 (parse_operands): Updated.
343
e1d4d893
L
3442008-01-05 H.J. Lu <hongjiu.lu@intel.com>
345
346 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
347
348 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
349 only.
350 (md_assemble): Remove Intel mode workaround.
351 (match_template): Check support for old gcc, AT&T mnemonic
352 and Intel Syntax.
353 (md_parse_option): Don't set intel_mnemonic to 0 for
354 OPTION_MOLD_GCC.
355
23117009
L
3562008-01-04 H.J. Lu <hongjiu.lu@intel.com>
357
358 * config/tc-i386.h: Update copyright to 2008.
359
b0e34bfe
NC
3602008-01-04 Nick Clifton <nickc@redhat.com>
361
362 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
363 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
364
aacd03c3
L
3652008-01-03 H.J. Lu <hongjiu.lu@intel.com>
366
367 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
368 of SYSV386_COMPAT.
369
3629bb00
L
3702008-01-03 H.J. Lu <hongjiu.lu@intel.com>
371
372 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
373 (cpu_flags_not): Likewise.
374 (cpu_flags_match): Updated to check 64bit and arch.
375 (set_code_flag): Remove cpu_arch_flags_not.
376 (set_16bit_gcc_code_flag): Likewise.
377 (set_cpu_arch): Likewise.
378 (md_begin): Likewise.
379 (parse_insn): Call cpu_flags_match to check 64bit and arch.
380 (match_template): Likewise.
381
5dd15031
JJ
3822008-01-03 Jakub Jelinek <jakub@redhat.com>
383
384 * config/tc-i386.c (process_drex): Initialize modrm_reg and
385 modrm_regmem to 0 instead of None.
386
24995bd6
L
3872008-01-03 H.J. Lu <hongjiu.lu@intel.com>
388
389 * config/tc-i386.c (match_template): Use the xmmword field
390 instead of no_xsuf.
391
fc4adea1
L
3922008-01-02 H.J. Lu <hongjiu.lu@intel.com>
393
394 * config/tc-i386.c (process_suffix): Fix a typo.
395
582d5edd
L
3962008-01-02 H.J. Lu <hongjiu.lu@intel.com>
397
398 PR gas/5534
399 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
400 Check memory size in Intel mode.
401 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
402 (intel_e09): Likewise.
403
404 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
405
e7c604dd
CM
4062008-01-02 Catherine Moore <clm@codesourcery.com>
407
408 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
409
6c7ac64e 410For older changes see ChangeLog-2007
08d56133
NC
411\f
412Local Variables:
413mode: change-log
414left-margin: 8
415fill-column: 74
416version-control: never
417End:
This page took 0.423219 seconds and 4 git commands to generate.