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