]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/ChangeLog
Silence gcc printf warnings
[thirdparty/binutils-gdb.git] / gas / ChangeLog
1 2008-07-30 Alan Modra <amodra@bigpond.net.au>
2
3 * messages.c, symbols.c, write.c: Silence gcc warnings.
4
5 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
6
7 * config/tc-i386.c (operand_type_check): Warning fix.
8
9 2008-07-26 Michael Eager <eager@eagercon.com>
10
11 * doc/as.texinfo: Add description of single-precision attribute.
12
13 2008-07-24 Jie Zhang <jie.zhang@analog.com>
14
15 * config/bfin-parse.y (asm_1): Error if plain symbol is used
16 as load/store offset.
17
18 2008-07-22 Chao-ying Fu <fu@mips.com>
19
20 * config/tc-mips.c (mips_ip): Reset s to argsStart.
21
22 2008-07-22 Jie Zhang <jie.zhang@analog.com>
23
24 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
25
26 2008-07-21 DJ Delorie <dj@redhat.com>
27
28 * config/tc-h8300.c (fix_operand_size): Use the default size
29 specified by the .lbranch/.sbranch pseudos.
30
31 2008-07-18 DJ Delorie <dj@redhat.com>
32
33 * config/tc-m32c.h (H_TICK_HEX): Define.
34 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
35 (md_longopts): Add support for it.
36 (md_parse_option): Likewise.
37 * doc/as.texinfo (Overview): Add new m32c options.
38 * doc/c-m32c.texi (M32C-Modifiers): Likewise
39
40 * as.h: (enable_h_tick_hex): New.
41 * app.c (enable_h_tick_hex): New.
42 (LEX_IS_H): New.
43 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
44 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
45 style hex constants and convert the input stream to 0x00 style.
46 (do_scrub_chars): If a 'X style character constant is found after
47 a symbol character (like you're or X'00), warn the user.
48
49 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
50
51 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
52 (mips_fix_adjustable): Likewise.
53 (mips_frob_file_after_relocs): Likewise.
54
55 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
56
57 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
58 about overriding an earlier setting.
59
60 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
61
62 * config/tc-mips.c (NO_ISA_COP): New macro.
63 (COP_INSN): New macro.
64 (is_opcode_valid): Use them.
65 (macro) <ld_st>: Use them. Don't accept coprocessor load store
66 insns based on the ISA if CPU is NO_ISA_COP.
67 <copz>: Likewise for coprocessor operations.
68
69 2008-07-07 Paul Brook <paul@codesourcery.com>
70
71 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
72 relocations.
73
74 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
75
76 * configure.tgt: Add bfin-*-rtems*.
77
78 2008-07-04 Alan Modra <amodra@bigpond.net.au>
79
80 * config/tc-spu.c (md_apply_fix): Handle fully resolved
81 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
82
83 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
84
85 * config/tc-ppc.c (parse_cpu): Handle -m464.
86 (md_show_usage): Likewise.
87
88 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
89
90 Add support for ATtiny13A.
91 * config/tc-avr.c (mcu_types): Add attiny13a.
92 * doc/c-avr.texi: Likewise.
93
94 2008-06-24 Bob Wilson <bob.wilson@acm.org>
95 Alan Modra <amodra@bigpond.net.au>
96
97 * write.c (relax_segment <rs_org>): Include current stretch
98 value when calculating whether .org is backwards.
99
100 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
101
102 * configure: Regenerate.
103
104 2008-06-17 Nick Clifton <nickc@redhat.com>
105
106 * app.c (do_scrub_chars): Do not UNGET an EOF value.
107
108 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
109
110 PR gas/6607
111 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
112 text_section. Do the "stepping backwards" test for text_section
113 using unsigned operands.
114
115 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
116
117 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
118 (ppc_insert_operand): Likewise.
119 (ppc_machine): Likewise.
120 * config/tc-ppc.h: #include "opcode/ppc.h"
121 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
122 (ppc_cpu): Update extern decl.
123
124 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
125
126 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
127 +x, +X, +p, +P, +s, +S.
128 (mips_ip): Likewise.
129
130 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
131 (mips_ip): Likewise.
132 (macro_build): Likewise.
133 (CPU_HAS_SEQ): New macro.
134 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
135
136 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
137
138 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
139 * doc/c-avr.texi: Likewise.
140
141 2008-06-04 Nick Clifton <nickc@redhat.com>
142
143 * app.c (do_scrub_chars): Do not UNGET an EOF value.
144
145 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
146
147 * config/tc-i386.c (set_sse_check): New.
148 (md_pseudo_table): Add "sse_check".
149
150 2008-06-03 Paul Brook <paul@codesourcery.com>
151
152 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
153
154 2008-05-30 Nick Clifton <nickc@redhat.com>
155
156 PR 5523
157 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
158 relocs here.
159
160 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
161
162 * config/tc-mips.c (mips_cpu_info_table): Move records for
163 ST Loongson-2E/2F processors to a better place.
164
165 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
166
167 PR gas/6518
168 * config/tc-i386.c (match_template): Report ambiguous operand
169 size, not invalid suffix when there is no match in Intel
170 syntax.
171
172 2008-05-22 Paul Brook <paul@codesourcery.com>
173
174 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
175
176 2008-05-21 I-Jui Sung <ijsung@gmail.com>
177
178 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
179 compatible cores: fa526, fa626, fa626te, fa726te.
180 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
181 fa726te} options.
182
183 2008-05-14 Alan Modra <amodra@bigpond.net.au>
184
185 * Makefile.am: Run "make dep-am".
186 * Makefile.in: Regenerate.
187 * doc/Makefile.in: Regenerate.
188 * po/POTFILES.in: Regenerate.
189
190 2008-05-09 Catherine Moore <clm@codesourcery.com>
191
192 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
193 with non-MIPS16 relocs.
194
195 2008-05-09 Chao-ying Fu <fu@mips.com>
196
197 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
198 case that some characters append at the end of the name.
199 (mips_ip): Likewise.
200 (s_change_sec): Likewise.
201 (md_section_align): Likewise.
202
203 2008-05-07 Bob Wilson <bob.wilson@acm.org>
204
205 * config/tc-xtensa.c (xtensa_create_property_segments): Use
206 xtensa_make_property_section instead of xtensa_get_property_section.
207 (xtensa_create_xproperty_segments): Likewise.
208
209 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
210
211 * NEWS: Mention XSAVE, EPT and MOVBE.
212
213 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
214 (md_show_usage): Add .movbe and .ept.
215
216 * doc/c-i386.texi: Add movbe and ept to -march=. Document
217 .movbe and .ept.
218
219 2008-04-29 David S. Miller <davem@davemloft.net>
220
221 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
222
223 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
224
225 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
226 New statics.
227 (OPTION_ELF_BASE): Make room for new option macros.
228 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
229 OPTION_DOUBLE_FLOAT): New option macros.
230 (md_longopts): Add msoft-float, mhard-float, msingle-float and
231 mdouble-float.
232 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
233 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
234 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
235 and -mdouble-float.
236 (struct mips_set_options): New fields soft_float and single_float.
237 (mips_opts): Initialized them. Add comment for each field
238 initializer.
239 (mips_after_parse_args): Set them based on file_mips_soft_float
240 and file_mips_single_float.
241 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
242 `.set singlefloat' and `.set doublefloat'.
243 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
244 Handle single-float and soft-float instructions here.
245 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
246 (is_opcode_valid_16): New function.
247 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
248 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
249 M_S_DOB>: Remove special-casing of r4650.
250 * doc/c-mips.texi (-march=): Add Octeon.
251 (MIPS Opts): Document -msoft-float and -mhard-float. Document
252 -msingle-float and -mdouble-float.
253 (MIPS floating-point): New section. Document `.set softfloat' and
254 `.set hardfloat'. Document `.set singlefloat' and `.set
255 doublefloat'.
256
257 2008-04-25 David S. Miller <davem@davemloft.net>
258
259 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
260 %asr aliases.
261
262 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
263 rather than occaisionally 'levels'. Consistently refer to Sun's
264 UNIX variant as SunOS, every version of Solaris is also SunOS.
265 Document new 'softint_clear' and 'softint_set' aliases. Clarify
266 which architecture versions support '%dcr', '%cq', and '%gl'. Add
267 section on 32-bit/64-bit opcode translations.
268
269 2008-04-23 Mike Frysinger <vapier@gentoo.org>
270
271 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
272 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
273 (obj-fdpicelf.o): Define.
274 * Makefile.in: Regenerate.
275 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
276 (bfin-*-*): Delete.
277 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
278 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
279 * config/obj-fdpicelf.c: New.
280 * config/obj-fdpicelf.h: Likewise.
281 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
282 the OBJ_FDPIC_ELF define.
283 (OPTION_NOPIC): Define.
284 (md_longopts): Add mnopic and mno-fdpic.
285 (md_parse_option): Handle OPTION_NOPIC.
286
287 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
288
289 * aclocal.m4: Regenerate.
290 * configure: Regenerate.
291
292 2008-04-23 David S. Miller <davem@davemloft.net>
293
294 * config/tc-sparc.c (v9a_asr_table): Add missing
295 'stick' and 'stick_cmpr', and document ordering rules
296 of table.
297 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
298 BFD_RELOC_SPARC_PC10.
299 * doc/c-sparc.texi: New section on Sparc constants.
300 Add documentation for %stick and %stick_cmpr.
301
302 2008-04-22 David S. Miller <davem@davemloft.net>
303
304 * config/obj-elf.c (obj_elf_section_type): Add prototype
305 before obj_elf_section_word and add 'warn' arg.
306 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
307 is matched, try checking for #SECTION_TYPE.
308 (obj_elf_section): Adjust for new args.
309 (obj_elf_type_name): New function.
310 (obj_elf_type): Call it, and accept STT_foo number strings
311 in .type statements as output by SunPRO compiler.
312
313 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
314
315 * config/tc-i386.c (md_assemble): Don't check SSE instructions
316 if noavx is 0.
317
318 2008-04-18 David S. Miller <davem@davemloft.net>
319
320 * doc/c-sparc.texi: Add syntax section.
321
322 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
323
324 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
325 REG and NDS for instructions with immediate operand.
326
327 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
328
329 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
330 FMA.
331
332 2008-04-16 David S. Miller <davem@davemloft.net>
333
334 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
335 and relocation generation.
336 (tc_gen_reloc): Likewise.
337
338 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
339
340 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
341 relocations are properly aligned, and not negative.
342
343 2008-04-15 Khem Raj <kraj@mvista.com>
344
345 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
346
347 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
348
349 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
350 accept e500mc instructions.
351 (md_show_usage): Document -me500mc.
352
353 2008-04-11 Nick Clifton <nickc@redhat.com>
354
355 * listing.c (print_timestamp): Use localtime rather than
356 localtime_r since not all build environments provide the latter.
357
358 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
359
360 * NEWS: Mention -msse-check=[none|error|warning].
361
362 * config/tc-i386.c (sse_check): New.
363 (OPTION_MSSE_CHECK): Likewise.
364 (md_assemble): Check SSE instructions if needed.
365 (md_longopts): Add -msse-check.
366 (md_parse_option): Handle OPTION_MSSE_CHECK.
367 (md_show_usage): Show -msse-check=[none|error|warning].
368
369 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
370
371 2008-04-10 Santiago Urueña <suruena@gmail.com>
372
373 * listing.c: Add -ag listing flag to show general information in
374 listings such as gas version, passed options, and time stamp.
375 (listing_general_info): New function.
376 (print_options): New function.
377 (print_single_option): New function.
378 (print_timestamp): New function.
379 (MAX_DATELEN): Define.
380 (listing_print): Add call to listing_general_info.
381 * listing.h (LISTING_GENERAL): Define.
382 (listing_print): Add new parameter.
383 * as.c (show_usage): Print new switch.
384 (parse_args): Parse new switch.
385 (main): Pass command line on to listing_print.
386 * NEWS: Mention this new feature.
387 * doc/as.texinfo: Document the new sub-option.
388
389 2008-04-08 Alan Modra <amodra@bigpond.net.au>
390
391 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
392 call. Delete out of date comment.
393 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
394 (dwarf2_emit_label): Don't emit unless there has been a previous
395 .file or we are outputting assembler generated debug.
396 dwarf2_consume_line_info after emitting line info, not before.
397 (out_debug_info): Simplify files_in_use test.
398
399 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
400
401 * config/tc-i386.c (parse_real_register): Return AVX register
402 only if AVX is enabled.
403
404 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
405
406 PR gas/6043
407 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
408 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
409
410 2008-04-04 Adrian Bunk <bunk@stusta.de>
411 Bob Wilson <bob.wilson@acm.org>
412
413 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
414 call to decode_reloc.
415
416 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
417
418 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
419
420 * config/tc-i386.c (cpu_arch): Add .pclmul.
421 (md_show_usage): Replace clmul with pclmul.
422 * doc/c-i386.texi: Likewise.
423
424 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
425
426 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
427
428 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
429 Document -msse2avx, .avx, .aes, .clmul and .fma.
430
431 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
432 (vex_prefix): Likewise.
433 (sse2avx): Likewise.
434 (CPU_FLAGS_ARCH_MATCH): Likewise.
435 (CPU_FLAGS_64BIT_MATCH): Likewise.
436 (CPU_FLAGS_32BIT_MATCH): Likewise.
437 (CPU_FLAGS_PERFECT_MATCH): Likewise.
438 (regymm): Likewise.
439 (vex_imm4): Likewise.
440 (fits_in_imm4): Likewise.
441 (build_vex_prefix): Likewise.
442 (VEX_check_operands): Likewise.
443 (bad_implicit_operand): Likewise.
444 (OPTION_MSSE2AVX): Likewise.
445 (T_YMMWORD): Likewise.
446 (_i386_insn): Add vex.
447 (cpu_arch): Add .avx, .aes, .clmul and .fma.
448 (cpu_flags_match): Changed to take a pointer to const template.
449 Enable encoding SSE instructions with VEX prefix for -msse2avx.
450 (match_mem_size): Also check ymmword.
451 (operand_type_match): Clear ymmword.
452 (md_begin): Allow '_' in mnemonic.
453 (type_names): Add OPERAND_TYPE_VEX_IMM4.
454 (process_immext): Update assert.
455 (md_assemble): Don't call process_immext if sse2avx and immext
456 are true. Call build_vex_prefix if vex is true.
457 (parse_insn): Updated for cpu_flags_match.
458 (swap_operands): Handle 5 operands.
459 (match_template): Handle 5 operands. Updated for cpu_flags_match.
460 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
461 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
462 (check_byte_reg): Check regymm.
463 (process_operands): Duplicate the destination register for
464 -msse2avx if needed.
465 (build_modrm_byte): Updated for instructions with VEX encoding.
466 (output_insn): Output VEX prefix if needed.
467 (md_longopts): Add msse2avx.
468 (md_parse_option): Handle OPTION_MSSE2AVX.
469 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
470 (intel_e09): Support YMMWORD.
471 (intel_e11): Likewise.
472 (intel_get_token): Likewise.
473
474 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
475
476 * config/tc-avr.c (mcu_types): Add attiny167.
477 * doc/c-avr.texi: Likewise.
478
479 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
480
481 * config/tc-avr.c (mcu_types): Add atmega32u4.
482 * doc/c-avr.texi: Likewise.
483
484 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
485
486 * config/tc-avr.c (mcu_types): Add atmega32c1.
487 * doc/c-avr.texi: Likewise.
488
489 2008-03-28 Paul Brook <paul@codesourcery.com>
490
491 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
492 to avoid spurious symbols.
493
494 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
495
496 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
497 as_bad_where.
498
499 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
500
501 * config/tc-avr.c (mcu_types): Add atmega32m1.
502 * doc/c-avr.texi: Likewise.
503
504 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
505
506 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
507 start of block.
508 (do_neon_ext): Fix sign of comparison.
509
510 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
511
512 From Jie Zhang <jie.zhang@analog.com>
513 * config/bfin-parse.y (asm_1): Check AREGS in comparison
514 instructions. And call yyerror when comparing PREG with
515 DREG.
516 (check_macfunc_option): New.
517 (check_macfuncs): Check option by calling check_macfunc_option.
518 Fix comparison always true warnings. Both scalar instructions
519 of vector instruction must share the same mode option. Only allow
520 option mode at the end of the second instruction of the vector.
521 (asm_1): Check option by calling check_macfunc_option.
522
523 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
524 option for multiply and multiply-accumulate to data register
525 instruction.
526 (check_macfuncs): Don't check if accumulator matches the data register
527 here.
528 (assign_macfunc): Check if accumulator matches the
529 data register in each rule that moves to the data
530 register.
531
532 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
533 generated for LOOP_BEGIN and LOOP_END instructions.
534 (bfin_gen_loop): Likewise.
535
536 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
537
538 * config/tc-s390.c (md_parse_option): z10 option added.
539
540 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
541
542 * aclocal.m4: Regenerate.
543 * configure: Likewise.
544 * Makefile.in: Likewise.
545 * doc/Makefile.in: Likewise.
546
547 2008-03-17 Adrian Bunk <bunk@stusta.de>
548
549 PR 5946
550 * config/tc-hppa.c (is_same_frag): Delete.
551
552 2008-03-14 Sterling Augustine <sterling@tensilica.com>
553
554 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
555 RELAX_LOOP_END_ADD_NOP.
556
557 2008-03-13 Evandro Menezes <evandro@yahoo.com>
558
559 PR gas/5895
560 * read.c (s_mexit): Warn if attempting to exit a macro when not
561 inside a macro definition.
562
563 2008-03-13 Alan Modra <amodra@bigpond.net.au>
564
565 * Makefile.am: Run "make dep-am".
566 * Makefile.in: Regenerate.
567 * configure: Regenerate.
568
569 2008-03-09 Paul Brook <paul@codesourcery.com>
570
571 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
572 * doc/c-arm.texi: Add cortex-a9.
573
574 2008-03-09 Paul Brook <paul@codesourcery.com>
575
576 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
577 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
578 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
579 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
580 * doc/c-arm.texi: Document new ARM FPU variants.
581
582 2008-03-07 Paul Brook <paul@codesourcery.com>
583
584 * config/tc-arm.c (md_apply_fix): Use correct offset range.
585
586 2008-03-07 Alan Modra <amodra@bigpond.net.au>
587
588 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
589 for strict ordering of powerpc_opcodes, but disable for now.
590
591 2008-03-04 Paul Brook <paul@codesourcery.com>
592
593 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
594 (arm_ext_v7m): Rename...
595 (arm_ext_m): ... to this. Include v6-M.
596 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
597 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
598 (md_assemble): Allow wide msr instructions.
599 (insns): Add classifications for v6-m instructions.
600 (arm_cpu_option_table): Add cortex-m1.
601 (arm_arch_option_table): Add armv6-m.
602 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
603
604 2008-03-03 Sterling Augustine <sterling@tensilica.com>
605 Bob Wilson <bob.wilson@acm.org>
606
607 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
608 (md_begin): Initialize it.
609 (resources_conflict): Use it.
610
611 2008-03-03 Sterling Augustine <sterling@tensilica.com>
612
613 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
614
615 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
616 H.J. Lu <hongjiu.lu@intel.com>
617
618 PR gas/5543
619 * read.c (pseudo_set): Don't allow global register symbol.
620
621 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
622 global.
623
624 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
625
626 PR gas/5543
627 * write.c (write_object_file): Don't allow symbols which were
628 equated to register. Stop if there is an error.
629
630 2008-03-01 Alan Modra <amodra@bigpond.net.au>
631
632 * config/tc-ppc.h (struct _ppc_fix_extra): New.
633 (ppc_cpu): Declare.
634 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
635 * config/tc-ppc.c (ppu_cpu): Make global.
636 (ppc_insert_operand): Add ppu_cpu parameter.
637 (md_assemble): Adjust for above change.
638 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
639
640 2008-02-22 Nick Clifton <nickc@redhat.com>
641
642 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
643 targeted ARM ports, otherwise just skip generating the reloc.
644
645 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
646
647 * doc/c-i386.texi: Update -march= and .arch.
648
649 2008-02-18 Nick Clifton <nickc@redhat.com>
650
651 * config/tc-mn10300.c (has_known_symbol_location): New function.
652 Do not regard weak symbols as having a known location.
653 (md_estimate_size_before_relax): Use new function.
654 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
655
656 2008-02-18 Jan Beulich <jbeulich@novell.com>
657
658 * config/tc-i386.c (match_template): Disallow 'l' suffix when
659 currently selected CPU has no 32-bit support.
660 (parse_real_register): Do not return registers not available on
661 currently selected CPU.
662
663 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
664
665 * config/tc-i386.c (process_immext): Fix format.
666
667 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
668
669 * config/tc-i386.c (inoutportreg): New.
670 (process_immext): New.
671 (md_assemble): Use it.
672 (update_imm): Use imm16 and imm32s.
673 (i386_att_operand): Use inoutportreg.
674
675 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
676
677 * config/tc-i386.c (operand_type_all_zero): New.
678 (operand_type_set): Likewise.
679 (operand_type_equal): Likewise.
680 (cpu_flags_all_zero): Likewise.
681 (cpu_flags_set): Likewise.
682 (cpu_flags_equal): Likewise.
683 (UINTS_ALL_ZERO): Removed.
684 (UINTS_SET): Likewise.
685 (UINTS_CLEAR): Likewise.
686 (UINTS_EQUAL): Likewise.
687 (cpu_flags_match): Updated.
688 (smallest_imm_type): Likewise.
689 (set_cpu_arch): Likewise.
690 (md_assemble): Likewise.
691 (optimize_imm): Likewise.
692 (match_template): Likewise.
693 (process_suffix): Likewise.
694 (update_imm): Likewise.
695 (process_drex): Likewise.
696 (process_operands): Likewise.
697 (build_modrm_byte): Likewise.
698 (i386_immediate): Likewise.
699 (i386_displacement): Likewise.
700 (i386_att_operand): Likewise.
701 (parse_real_register): Likewise.
702 (md_parse_option): Likewise.
703 (i386_target_format): Likewise.
704
705 2008-02-14 Dimitry Andric <dimitry@andric.com>
706
707 PR gas/5712
708 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
709 pointer past the comma after parsing a floating point register
710 name.
711
712 2008-02-14 Hakan Ardo <hakan@debian.org>
713
714 PR gas/2626
715 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
716 to AVR_ISA_2xxe.
717 (avr_operand): Disallow post-increment addressing in the lpm
718 instruction for the attiny26.
719
720 2008-02-13 Jan Beulich <jbeulich@novell.com>
721
722 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
723 if not in Intel mode.
724 (i386_intel_operand): Ignore segment overrides in immediate and
725 offset operands.
726 (intel_e11): Range-check i.mem_operands before use as array
727 index. Filter out FLAT for uses other than as segment override.
728 (intel_get_token): Remove broken promotion of "FLAT:" to mean
729 "offset FLAT:".
730
731 2008-02-13 Jan Beulich <jbeulich@novell.com>
732
733 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
734
735 2008-02-13 Jan Beulich <jbeulich@novell.com>
736
737 * config/tc-i386.c (allow_pseudo_reg): New.
738 (parse_real_register): Check for NULL just once. Allow all
739 register table entries when allow_pseudo_reg is non-zero.
740 Don't allow any registers without type when allow_pseudo_reg
741 is zero.
742 (tc_x86_regname_to_dw2regnum): Replace with ...
743 (tc_x86_parse_to_dw2regnum): ... this.
744 (tc_x86_frame_initial_instructions): Adjust for above change.
745 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
746 (tc_parse_to_dw2regnum): New.
747 (tc_x86_regname_to_dw2regnum): Replace with ...
748 (tc_x86_parse_to_dw2regnum): ... this.
749 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
750 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
751 error handling.
752
753 2008-02-12 Nick Clifton <nickc@redhat.com>
754
755 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
756 argument.
757 (tic4x_insn_add): Likewise.
758 (md_begin): Drop cast that was discarding a const qualifier.
759 * config/tc-d30v.c (get_reloc): Add const qualifier to op
760 argument.
761 (build_insn): Drop cast that was discarding a const qualifier.
762
763 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
764
765 * config/tc-i386.c (cpu_arch): Add .xsave.
766 (md_show_usage): Add .xsave.
767
768 * doc/c-i386.texi: Add xsave to -march=.
769
770 2008-02-07 Alan Modra <amodra@bigpond.net.au>
771
772 * read.c (s_weakref): Don't pass unadorned NULL to concat.
773 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
774
775 2008-02-05 Sterling Augustine <sterling@tensilica.com>
776
777 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
778 checks into assertions. When relaxation produces an operation that
779 does not fit in the current FLIX instruction, make sure that the
780 operation is relaxed as needed to account for being placed following
781 the current instruction.
782
783 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
784
785 PR 5715
786 * configure: Regenerated.
787
788 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
789
790 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
791
792 2008-01-31 Marc Gauthier <marc@tensilica.com>
793
794 * configure.tgt (xtensa*-*-*): Recognize processor variants.
795
796 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
797
798 * read.c: (emit_expr): Correct for mingw use of printf size
799 specifier.
800
801 2008-01-24 Bob Wilson <bob.wilson@acm.org>
802
803 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
804 can only be encoded in FLIX instructions but are not specified as such.
805 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
806 labels.
807
808 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
809
810 * NEWS: Mention new command line options for x86 targets.
811
812 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
813
814 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
815
816 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
817
818 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
819
820 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
821
822 * config/tc-i386.c (md_show_usage): Show more processors for
823 -march=/-mtune=.
824
825 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
826
827 * config/tc-i386.c (i386_target_format): Remove cpummx2.
828
829 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
830
831 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
832 (XXX_MNEM_SUFFIX): Likewise.
833 (END_OF_INSN): Likewise.
834 (templates): Likewise.
835 (modrm_byte): Likewise.
836 (rex_byte): Likewise.
837 (DREX_XXX): Likewise.
838 (drex_byte): Likewise.
839 (sib_byte): Likewise.
840 (processor_type): Likewise.
841 (arch_entry): Likewise.
842 (cpu_sub_arch_name): Remove const.
843 (cpu_arch): Add .vmx and .smx.
844 (set_cpu_arch): Append cpu_sub_arch_name.
845 (md_parse_option): Support -march=CPU[,+EXTENSION...].
846 (md_show_usage): Updated.
847
848 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
849 (XXX_MNEM_SUFFIX): Likewise.
850 (END_OF_INSN): Likewise.
851 (templates): Likewise.
852 (modrm_byte): Likewise.
853 (rex_byte): Likewise.
854 (DREX_XXX): Likewise.
855 (drex_byte): Likewise.
856 (sib_byte): Likewise.
857 (processor_type): Likewise.
858 (arch_entry): Likewise.
859
860 * doc/as.texinfo: Update i386 -march option.
861
862 * doc/c-i386.texi: Update -march= for ISA.
863
864 2008-01-18 Bob Wilson <bob.wilson@acm.org>
865
866 * config/tc-xtensa.c (xtensa_leb128): New function.
867 (md_pseudo_table): Use it for sleb128 and uleb128.
868 (is_leb128_expr): New internal flag.
869 (xtensa_symbol_new_hook): Check new flag.
870
871 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
872
873 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
874 at90usb82, at90usb162.
875 * doc/c-avr.texi: Change architecture grouping for at90usb82,
876 at90usb162.
877 These changes support the new avr35 architecture group in gcc.
878
879 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
880
881 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
882 suffix for AT&T syntax.
883
884 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
885
886 * config/tc-i386.c (match_reg_size): New.
887 (match_mem_size): Likewise.
888 (operand_size_match): Likewise.
889 (operand_type_match): Also clear all size fields.
890 (match_template): Skip Intel syntax when in AT&T syntax.
891 Call operand_size_match to check operand size.
892 (i386_att_operand): Set the mem field to 1 for memory
893 operand.
894 (i386_intel_operand): Likewise.
895
896 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
897
898 PR gas/5534
899 * config/tc-i386.c (_i386_insn): Update comment.
900 (operand_type_match): Also clear unspecified.
901 (operand_type_register_match): Likewise.
902 (parse_operands): Initialize unspecified.
903 (i386_intel_operand): Likewise.
904 (match_template): Check memory and accumulator operand size.
905 (i386_att_operand): Clear unspecified on register operand.
906 (intel_e11): Likewise.
907 (intel_e09): Set operand size and clean unspecified for
908 "XXX PTR".
909
910 2008-01-11 Andreas Schwab <schwab@suse.de>
911
912 * read.c (s_space): Declare `repeat' as offsetT.
913
914 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
915
916 * config/tc-i386.c (match_template): Check processor support
917 first.
918
919 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
920
921 * config/tc-i386.c (match_template): Continue if processor
922 doesn't match.
923
924 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
925
926 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
927 unwind personality function address.
928
929 2008-01-09 Bob Wilson <bob.wilson@acm.org>
930
931 * dwarf2dbg.c (out_sleb128): Delete.
932 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
933 (out_fixed_inc_line_addr): Delete.
934 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
935 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
936 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
937 (process_entries): Remove calls to out_fixed_inc_line_addr. When
938 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
939 * read.h (emit_expr_fix): New prototype.
940 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
941 (emit_expr_fix): New.
942
943 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
944
945 * config/tc-i386.c (match_template): Check register size
946 only when size of operands can be encoded the canonical way.
947
948 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
949
950 * config/tc-i386.c (i386_operand): Renamed to ...
951 (i386_att_operand): This.
952 (parse_operands): Updated.
953
954 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
955
956 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
957
958 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
959 only.
960 (md_assemble): Remove Intel mode workaround.
961 (match_template): Check support for old gcc, AT&T mnemonic
962 and Intel Syntax.
963 (md_parse_option): Don't set intel_mnemonic to 0 for
964 OPTION_MOLD_GCC.
965
966 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
967
968 * config/tc-i386.h: Update copyright to 2008.
969
970 2008-01-04 Nick Clifton <nickc@redhat.com>
971
972 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
973 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
974
975 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
976
977 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
978 of SYSV386_COMPAT.
979
980 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
981
982 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
983 (cpu_flags_not): Likewise.
984 (cpu_flags_match): Updated to check 64bit and arch.
985 (set_code_flag): Remove cpu_arch_flags_not.
986 (set_16bit_gcc_code_flag): Likewise.
987 (set_cpu_arch): Likewise.
988 (md_begin): Likewise.
989 (parse_insn): Call cpu_flags_match to check 64bit and arch.
990 (match_template): Likewise.
991
992 2008-01-03 Jakub Jelinek <jakub@redhat.com>
993
994 * config/tc-i386.c (process_drex): Initialize modrm_reg and
995 modrm_regmem to 0 instead of None.
996
997 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
998
999 * config/tc-i386.c (match_template): Use the xmmword field
1000 instead of no_xsuf.
1001
1002 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * config/tc-i386.c (process_suffix): Fix a typo.
1005
1006 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1007
1008 PR gas/5534
1009 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1010 Check memory size in Intel mode.
1011 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1012 (intel_e09): Likewise.
1013
1014 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1015
1016 2008-01-02 Catherine Moore <clm@codesourcery.com>
1017
1018 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1019
1020 For older changes see ChangeLog-2007
1021 \f
1022 Local Variables:
1023 mode: change-log
1024 left-margin: 8
1025 fill-column: 74
1026 version-control: never
1027 End: