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