gas/
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
2 H.J. Lu <hongjiu.lu@intel.com>
3
4 PR gas/5543
5 * read.c (pseudo_set): Don't allow global register symbol.
6
7 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
8 global.
9
10 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
11
12 PR gas/5543
13 * write.c (write_object_file): Don't allow symbols which were
14 equated to register. Stop if there is an error.
15
16 2008-03-01 Alan Modra <amodra@bigpond.net.au>
17
18 * config/tc-ppc.h (struct _ppc_fix_extra): New.
19 (ppc_cpu): Declare.
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.
25
26 2008-02-22 Nick Clifton <nickc@redhat.com>
27
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.
30
31 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
32
33 * doc/c-i386.texi: Update -march= and .arch.
34
35 2008-02-18 Nick Clifton <nickc@redhat.com>
36
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.
41
42 2008-02-18 Jan Beulich <jbeulich@novell.com>
43
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.
48
49 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
50
51 * config/tc-i386.c (process_immext): Fix format.
52
53 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
54
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.
60
61 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
62
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.
90
91 2008-02-14 Dimitry Andric <dimitry@andric.com>
92
93 PR gas/5712
94 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
95 pointer past the comma after parsing a floating point register
96 name.
97
98 2008-02-14 Hakan Ardo <hakan@debian.org>
99
100 PR gas/2626
101 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
102 to AVR_ISA_2xxe.
103 (avr_operand): Disallow post-increment addressing in the lpm
104 instruction for the attiny26.
105
106 2008-02-13 Jan Beulich <jbeulich@novell.com>
107
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
111 offset operands.
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
115 "offset FLAT:".
116
117 2008-02-13 Jan Beulich <jbeulich@novell.com>
118
119 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
120
121 2008-02-13 Jan Beulich <jbeulich@novell.com>
122
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
127 is zero.
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
137 error handling.
138
139 2008-02-12 Nick Clifton <nickc@redhat.com>
140
141 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
142 argument.
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
146 argument.
147 (build_insn): Drop cast that was discarding a const qualifier.
148
149 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
150
151 * config/tc-i386.c (cpu_arch): Add .xsave.
152 (md_show_usage): Add .xsave.
153
154 * doc/c-i386.texi: Add xsave to -march=.
155
156 2008-02-07 Alan Modra <amodra@bigpond.net.au>
157
158 * read.c (s_weakref): Don't pass unadorned NULL to concat.
159 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
160
161 2008-02-05 Sterling Augustine <sterling@tensilica.com>
162
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.
168
169 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
170
171 PR 5715
172 * configure: Regenerated.
173
174 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
175
176 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
177
178 2008-01-31 Marc Gauthier <marc@tensilica.com>
179
180 * configure.tgt (xtensa*-*-*): Recognize processor variants.
181
182 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
183
184 * read.c: (emit_expr): Correct for mingw use of printf size
185 specifier.
186
187 2008-01-24 Bob Wilson <bob.wilson@acm.org>
188
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
192 labels.
193
194 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
195
196 * NEWS: Mention new command line options for x86 targets.
197
198 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
199
200 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
201
202 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
203
204 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
205
206 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
207
208 * config/tc-i386.c (md_show_usage): Show more processors for
209 -march=/-mtune=.
210
211 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
212
213 * config/tc-i386.c (i386_target_format): Remove cpummx2.
214
215 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
216
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.
233
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.
245
246 * doc/as.texinfo: Update i386 -march option.
247
248 * doc/c-i386.texi: Update -march= for ISA.
249
250 2008-01-18 Bob Wilson <bob.wilson@acm.org>
251
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.
256
257 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
258
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,
262 at90usb162.
263 These changes support the new avr35 architecture group in gcc.
264
265 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
266
267 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
268 suffix for AT&T syntax.
269
270 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
271
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
279 operand.
280 (i386_intel_operand): Likewise.
281
282 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
283
284 PR gas/5534
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
294 "XXX PTR".
295
296 2008-01-11 Andreas Schwab <schwab@suse.de>
297
298 * read.c (s_space): Declare `repeat' as offsetT.
299
300 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
301
302 * config/tc-i386.c (match_template): Check processor support
303 first.
304
305 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
306
307 * config/tc-i386.c (match_template): Continue if processor
308 doesn't match.
309
310 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
311
312 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
313 unwind personality function address.
314
315 2008-01-09 Bob Wilson <bob.wilson@acm.org>
316
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.
328
329 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
330
331 * config/tc-i386.c (match_template): Check register size
332 only when size of operands can be encoded the canonical way.
333
334 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
335
336 * config/tc-i386.c (i386_operand): Renamed to ...
337 (i386_att_operand): This.
338 (parse_operands): Updated.
339
340 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
341
342 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
343
344 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
345 only.
346 (md_assemble): Remove Intel mode workaround.
347 (match_template): Check support for old gcc, AT&T mnemonic
348 and Intel Syntax.
349 (md_parse_option): Don't set intel_mnemonic to 0 for
350 OPTION_MOLD_GCC.
351
352 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
353
354 * config/tc-i386.h: Update copyright to 2008.
355
356 2008-01-04 Nick Clifton <nickc@redhat.com>
357
358 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
359 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
360
361 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
362
363 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
364 of SYSV386_COMPAT.
365
366 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
367
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.
377
378 2008-01-03 Jakub Jelinek <jakub@redhat.com>
379
380 * config/tc-i386.c (process_drex): Initialize modrm_reg and
381 modrm_regmem to 0 instead of None.
382
383 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
384
385 * config/tc-i386.c (match_template): Use the xmmword field
386 instead of no_xsuf.
387
388 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
389
390 * config/tc-i386.c (process_suffix): Fix a typo.
391
392 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
393
394 PR gas/5534
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.
399
400 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
401
402 2008-01-02 Catherine Moore <clm@codesourcery.com>
403
404 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
405
406 For older changes see ChangeLog-2007
407 \f
408 Local Variables:
409 mode: change-log
410 left-margin: 8
411 fill-column: 74
412 version-control: never
413 End:
This page took 0.039704 seconds and 4 git commands to generate.