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