PR ld/5785
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
1ceab344
L
12008-02-18 H.J. Lu <hongjiu.lu@intel.com>
2
3 * doc/c-i386.texi: Update -march= and .arch.
4
ca75ed2d
NC
52008-02-18 Nick Clifton <nickc@redhat.com>
6
7 * config/tc-mn10300.c (has_known_symbol_location): New function.
8 Do not regard weak symbols as having a known location.
9 (md_estimate_size_before_relax): Use new function.
10 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
11
192dc9c6
JB
122008-02-18 Jan Beulich <jbeulich@novell.com>
13
14 * config/tc-i386.c (match_template): Disallow 'l' suffix when
15 currently selected CPU has no 32-bit support.
16 (parse_real_register): Do not return registers not available on
17 currently selected CPU.
18
1fed0ba1
L
192008-02-16 H.J. Lu <hongjiu.lu@intel.com>
20
21 * config/tc-i386.c (process_immext): Fix format.
22
65da13b5
L
232008-02-16 H.J. Lu <hongjiu.lu@intel.com>
24
25 * config/tc-i386.c (inoutportreg): New.
26 (process_immext): New.
27 (md_assemble): Use it.
28 (update_imm): Use imm16 and imm32s.
29 (i386_att_operand): Use inoutportreg.
30
0dfbf9d7
L
312008-02-14 H.J. Lu <hongjiu.lu@intel.com>
32
33 * config/tc-i386.c (operand_type_all_zero): New.
34 (operand_type_set): Likewise.
35 (operand_type_equal): Likewise.
36 (cpu_flags_all_zero): Likewise.
37 (cpu_flags_set): Likewise.
38 (cpu_flags_equal): Likewise.
39 (UINTS_ALL_ZERO): Removed.
40 (UINTS_SET): Likewise.
41 (UINTS_CLEAR): Likewise.
42 (UINTS_EQUAL): Likewise.
43 (cpu_flags_match): Updated.
44 (smallest_imm_type): Likewise.
45 (set_cpu_arch): Likewise.
46 (md_assemble): Likewise.
47 (optimize_imm): Likewise.
48 (match_template): Likewise.
49 (process_suffix): Likewise.
50 (update_imm): Likewise.
51 (process_drex): Likewise.
52 (process_operands): Likewise.
53 (build_modrm_byte): Likewise.
54 (i386_immediate): Likewise.
55 (i386_displacement): Likewise.
56 (i386_att_operand): Likewise.
57 (parse_real_register): Likewise.
58 (md_parse_option): Likewise.
59 (i386_target_format): Likewise.
60
93ac2687
NC
612008-02-14 Dimitry Andric <dimitry@andric.com>
62
63 PR gas/5712
64 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
65 pointer past the comma after parsing a floating point register
66 name.
67
d669d37f
NC
682008-02-14 Hakan Ardo <hakan@debian.org>
69
70 PR gas/2626
71 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
72 to AVR_ISA_2xxe.
73 (avr_operand): Disallow post-increment addressing in the lpm
74 instruction for the attiny26.
75
b7240065
JB
762008-02-13 Jan Beulich <jbeulich@novell.com>
77
78 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
79 if not in Intel mode.
80 (i386_intel_operand): Ignore segment overrides in immediate and
81 offset operands.
82 (intel_e11): Range-check i.mem_operands before use as array
83 index. Filter out FLAT for uses other than as segment override.
84 (intel_get_token): Remove broken promotion of "FLAT:" to mean
85 "offset FLAT:".
86
34b772a6
JB
872008-02-13 Jan Beulich <jbeulich@novell.com>
88
89 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
90
a60de03c
JB
912008-02-13 Jan Beulich <jbeulich@novell.com>
92
93 * config/tc-i386.c (allow_pseudo_reg): New.
94 (parse_real_register): Check for NULL just once. Allow all
95 register table entries when allow_pseudo_reg is non-zero.
96 Don't allow any registers without type when allow_pseudo_reg
97 is zero.
98 (tc_x86_regname_to_dw2regnum): Replace with ...
99 (tc_x86_parse_to_dw2regnum): ... this.
100 (tc_x86_frame_initial_instructions): Adjust for above change.
101 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
102 (tc_parse_to_dw2regnum): New.
103 (tc_x86_regname_to_dw2regnum): Replace with ...
104 (tc_x86_parse_to_dw2regnum): ... this.
105 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
106 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
107 error handling.
108
9c95b521
NC
1092008-02-12 Nick Clifton <nickc@redhat.com>
110
111 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
112 argument.
113 (tic4x_insn_add): Likewise.
114 (md_begin): Drop cast that was discarding a const qualifier.
115 * config/tc-d30v.c (get_reloc): Add const qualifier to op
116 argument.
117 (build_insn): Drop cast that was discarding a const qualifier.
118
f03fe4c1
L
1192008-02-11 H.J. Lu <hongjiu.lu@intel.com>
120
121 * config/tc-i386.c (cpu_arch): Add .xsave.
122 (md_show_usage): Add .xsave.
123
124 * doc/c-i386.texi: Add xsave to -march=.
125
1bf57e9f
AM
1262008-02-07 Alan Modra <amodra@bigpond.net.au>
127
128 * read.c (s_weakref): Don't pass unadorned NULL to concat.
129 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
130
2276bc20
BW
1312008-02-05 Sterling Augustine <sterling@tensilica.com>
132
133 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
134 checks into assertions. When relaxation produces an operation that
135 does not fit in the current FLIX instruction, make sure that the
136 operation is relaxed as needed to account for being placed following
137 the current instruction.
138
bb8541b9
L
1392008-02-04 H.J. Lu <hongjiu.lu@intel.com>
140
141 PR 5715
142 * configure: Regenerated.
143
967344c6
AN
1442008-02-04 Adam Nemet <anemet@caviumnetworks.com>
145
146 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
147
f8a52b59
BW
1482008-01-31 Marc Gauthier <marc@tensilica.com>
149
150 * configure.tgt (xtensa*-*-*): Recognize processor variants.
151
6e3d6dc1
NC
1522008-01-25 Kai Tietz <kai.tietz@onevision.com>
153
154 * read.c: (emit_expr): Correct for mingw use of printf size
155 specifier.
156
cec28c98
BW
1572008-01-24 Bob Wilson <bob.wilson@acm.org>
158
159 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
160 can only be encoded in FLIX instructions but are not specified as such.
161 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
162 labels.
163
ae40c993
L
1642008-01-24 H.J. Lu <hongjiu.lu@intel.com>
165
166 * NEWS: Mention new command line options for x86 targets.
167
599121aa
L
1682008-01-23 H.J. Lu <hongjiu.lu@intel.com>
169
170 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
171
2b1ed17b
EW
1722008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
173
174 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
175
2cb4f3d5
L
1762008-01-23 H.J. Lu <hongjiu.lu@intel.com>
177
178 * config/tc-i386.c (md_show_usage): Show more processors for
179 -march=/-mtune=.
180
115c7c25
L
1812008-01-22 H.J. Lu <hongjiu.lu@intel.com>
182
183 * config/tc-i386.c (i386_target_format): Remove cpummx2.
184
6305a203
L
1852008-01-22 H.J. Lu <hongjiu.lu@intel.com>
186
187 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
188 (XXX_MNEM_SUFFIX): Likewise.
189 (END_OF_INSN): Likewise.
190 (templates): Likewise.
191 (modrm_byte): Likewise.
192 (rex_byte): Likewise.
193 (DREX_XXX): Likewise.
194 (drex_byte): Likewise.
195 (sib_byte): Likewise.
196 (processor_type): Likewise.
197 (arch_entry): Likewise.
198 (cpu_sub_arch_name): Remove const.
199 (cpu_arch): Add .vmx and .smx.
200 (set_cpu_arch): Append cpu_sub_arch_name.
201 (md_parse_option): Support -march=CPU[,+EXTENSION...].
202 (md_show_usage): Updated.
203
204 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
205 (XXX_MNEM_SUFFIX): Likewise.
206 (END_OF_INSN): Likewise.
207 (templates): Likewise.
208 (modrm_byte): Likewise.
209 (rex_byte): Likewise.
210 (DREX_XXX): Likewise.
211 (drex_byte): Likewise.
212 (sib_byte): Likewise.
213 (processor_type): Likewise.
214 (arch_entry): Likewise.
215
216 * doc/as.texinfo: Update i386 -march option.
217
218 * doc/c-i386.texi: Update -march= for ISA.
219
fb227da0
BW
2202008-01-18 Bob Wilson <bob.wilson@acm.org>
221
222 * config/tc-xtensa.c (xtensa_leb128): New function.
223 (md_pseudo_table): Use it for sleb128 and uleb128.
224 (is_leb128_expr): New internal flag.
225 (xtensa_symbol_new_hook): Check new flag.
226
982b62a0
EW
2272008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
228
229 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
230 at90usb82, at90usb162.
231 * doc/c-avr.texi: Change architecture grouping for at90usb82,
232 at90usb162.
233 These changes support the new avr35 architecture group in gcc.
234
321fd21e
L
2352008-01-15 H.J. Lu <hongjiu.lu@intel.com>
236
237 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
238 suffix for AT&T syntax.
239
5c07affc
L
2402008-01-14 H.J. Lu <hongjiu.lu@intel.com>
241
242 * config/tc-i386.c (match_reg_size): New.
243 (match_mem_size): Likewise.
244 (operand_size_match): Likewise.
245 (operand_type_match): Also clear all size fields.
246 (match_template): Skip Intel syntax when in AT&T syntax.
247 Call operand_size_match to check operand size.
248 (i386_att_operand): Set the mem field to 1 for memory
249 operand.
250 (i386_intel_operand): Likewise.
251
7d5e4556
L
2522008-01-12 H.J. Lu <hongjiu.lu@intel.com>
253
254 PR gas/5534
255 * config/tc-i386.c (_i386_insn): Update comment.
256 (operand_type_match): Also clear unspecified.
257 (operand_type_register_match): Likewise.
258 (parse_operands): Initialize unspecified.
259 (i386_intel_operand): Likewise.
260 (match_template): Check memory and accumulator operand size.
261 (i386_att_operand): Clear unspecified on register operand.
262 (intel_e11): Likewise.
263 (intel_e09): Set operand size and clean unspecified for
264 "XXX PTR".
265
a4a151e6
AS
2662008-01-11 Andreas Schwab <schwab@suse.de>
267
268 * read.c (s_space): Declare `repeat' as offsetT.
269
50aecf8c
L
2702008-01-10 H.J. Lu <hongjiu.lu@intel.com>
271
272 * config/tc-i386.c (match_template): Check processor support
273 first.
274
2dbab7d5
L
2752008-01-10 H.J. Lu <hongjiu.lu@intel.com>
276
277 * config/tc-i386.c (match_template): Continue if processor
278 doesn't match.
279
417c21b7
AO
2802008-01-09 Alexandre Oliva <aoliva@redhat.com>
281
282 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
283 unwind personality function address.
284
7ddd14de
BW
2852008-01-09 Bob Wilson <bob.wilson@acm.org>
286
287 * dwarf2dbg.c (out_sleb128): Delete.
288 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
289 (out_fixed_inc_line_addr): Delete.
290 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
291 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
292 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
293 (process_entries): Remove calls to out_fixed_inc_line_addr. When
294 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
295 * read.h (emit_expr_fix): New prototype.
296 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
297 (emit_expr_fix): New.
298
45664ddb
L
2992008-01-09 H.J. Lu <hongjiu.lu@intel.com>
300
301 * config/tc-i386.c (match_template): Check register size
302 only when size of operands can be encoded the canonical way.
303
a7619375
L
3042008-01-08 H.J. Lu <hongjiu.lu@intel.com>
305
306 * config/tc-i386.c (i386_operand): Renamed to ...
307 (i386_att_operand): This.
308 (parse_operands): Updated.
309
e1d4d893
L
3102008-01-05 H.J. Lu <hongjiu.lu@intel.com>
311
312 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
313
314 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
315 only.
316 (md_assemble): Remove Intel mode workaround.
317 (match_template): Check support for old gcc, AT&T mnemonic
318 and Intel Syntax.
319 (md_parse_option): Don't set intel_mnemonic to 0 for
320 OPTION_MOLD_GCC.
321
23117009
L
3222008-01-04 H.J. Lu <hongjiu.lu@intel.com>
323
324 * config/tc-i386.h: Update copyright to 2008.
325
b0e34bfe
NC
3262008-01-04 Nick Clifton <nickc@redhat.com>
327
328 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
329 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
330
aacd03c3
L
3312008-01-03 H.J. Lu <hongjiu.lu@intel.com>
332
333 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
334 of SYSV386_COMPAT.
335
3629bb00
L
3362008-01-03 H.J. Lu <hongjiu.lu@intel.com>
337
338 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
339 (cpu_flags_not): Likewise.
340 (cpu_flags_match): Updated to check 64bit and arch.
341 (set_code_flag): Remove cpu_arch_flags_not.
342 (set_16bit_gcc_code_flag): Likewise.
343 (set_cpu_arch): Likewise.
344 (md_begin): Likewise.
345 (parse_insn): Call cpu_flags_match to check 64bit and arch.
346 (match_template): Likewise.
347
5dd15031
JJ
3482008-01-03 Jakub Jelinek <jakub@redhat.com>
349
350 * config/tc-i386.c (process_drex): Initialize modrm_reg and
351 modrm_regmem to 0 instead of None.
352
24995bd6
L
3532008-01-03 H.J. Lu <hongjiu.lu@intel.com>
354
355 * config/tc-i386.c (match_template): Use the xmmword field
356 instead of no_xsuf.
357
fc4adea1
L
3582008-01-02 H.J. Lu <hongjiu.lu@intel.com>
359
360 * config/tc-i386.c (process_suffix): Fix a typo.
361
582d5edd
L
3622008-01-02 H.J. Lu <hongjiu.lu@intel.com>
363
364 PR gas/5534
365 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
366 Check memory size in Intel mode.
367 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
368 (intel_e09): Likewise.
369
370 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
371
e7c604dd
CM
3722008-01-02 Catherine Moore <clm@codesourcery.com>
373
374 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
375
6c7ac64e 376For older changes see ChangeLog-2007
08d56133
NC
377\f
378Local Variables:
379mode: change-log
380left-margin: 8
381fill-column: 74
382version-control: never
383End:
This page took 0.409285 seconds and 4 git commands to generate.