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