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