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