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