]> Git Repo - binutils.git/blob - gas/ChangeLog
2010-04-14 Tristan Gingold <[email protected]>
[binutils.git] / gas / ChangeLog
1 2010-04-14  Tristan Gingold  <[email protected]>
2
3         * config/tc-alpha.c: Includes vms/egps.h on EVAX.
4         (s_alpha_comm): Used new EGPS macros from egps.h
5         (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
6         (s_alpha_section_word): Add comments.  Use new EGPS macros.
7         Adjust for modified bfd_vms_set_section_flags function.
8
9 2010-04-10  Alan Modra  <[email protected]>
10
11         PR gas/11486
12         * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
13
14 2010-04-09  Nick Clifton  <[email protected]>
15
16         * as.c (create_obj_attrs_section): Remove unused variable addr.
17         * listing.c (listing_listing): Remove unused variable message.
18         * read.c: Remove unnecessary register type qualifiers.
19         (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
20         defined.
21
22 2010-04-07  Eric B. Weddington  <[email protected]>
23
24         * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
25         atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
26         atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
27         atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
28         atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
29         atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
30         atmega88pa, attiny461a, attiny84a, m3000.
31         Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
32         atmega8hvd, attiny327, m3000f, m3000s, m3001b.
33         * doc/c-avr.texi: Same.
34
35 2010-04-07  Jie Zhang  <[email protected]>
36
37         * config/tc-arm.c (make_mapping_symbol): Handle the case
38         that multiple mapping symbols have the same value 0.
39
40 2010-04-07  Alan Modra  <[email protected]>
41
42         * configure: Regenerate.
43
44 2010-04-06  Nick Clifton  <[email protected]>
45
46         * po/ru.po: New Russian translation.
47         * configure.in (ALL_LINGUAS): Add ru.
48         * configure: Regenerate.
49
50 2010-03-30  H.J. Lu  <[email protected]>
51
52         PR gas/11456
53         * input-scrub.c (input_scrub_next_buffer): Use memmove instead
54         of memcpy to copy overlap memory.
55
56 2010-03-25  Joseph Myers  <[email protected]>
57
58         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
59         (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
60         * Makefile.in: Regenerate.
61         * NEWS: Add news entry for TI C6X support.
62         * app.c (do_scrub_chars): Handle "||^" for TI C6X.  Handle
63         TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR.  Keep spaces in
64         operands if TC_KEEP_OPERAND_SPACES.
65         * configure.tgt (tic6x-*-*): New.
66         * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
67         TC_PREDICATE_END_CHAR): Define.
68         * config/tc-tic6x.c, config/tc-tic6x.h: New.
69         * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
70         * doc/Makefile.in: Regenerate.
71         * doc/all.texi (TIC6X): Define.
72         * doc/as.texinfo: Add TI C6X documentation.  Include c-tic6x.texi.
73         * doc/c-tic6x.texi: New.
74
75 2010-03-22  H.J. Lu  <[email protected]>
76
77         * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
78
79 2010-03-21  H.J. Lu  <[email protected]>
80
81         * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
82         with operand_size_mismatch.
83         (operand_size_match): Updated.
84         (match_template): Likewise.
85
86 2010-03-21  H.J. Lu  <[email protected]>
87
88         * config/tc-i386.c (i386_error): New.
89         (_i386_insn): Replace err_msg with error.
90         (operand_size_match): Set error instead of err_msg on failure.
91         (operand_type_match): Likewise.
92         (operand_type_register_match): Likewise.
93         (VEX_check_operands): Likewise.
94         (match_template): Likewise.  Use error instead of err_msg with
95         as_bad.
96
97 2010-03-19  Jie Zhang  <[email protected]>
98
99         * config/tc-arm.c (make_mapping_symbol): Hanle the case
100         that two mapping symbols have the same value.
101
102 2010-03-18  Daniel Jacobowitz  <[email protected]>
103
104         * doc/c-arm.texi (.setfp): Correct example.
105
106 2010-03-18  Wei Guozhi  <[email protected]>
107
108         PR gas/11323
109         * config/tc-arm.c (reloc_names): New relocation names.
110         (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
111         (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
112         * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
113
114 2010-03-15  Thomas Schwinge  <[email protected]>
115
116         * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
117         cases, and not only for .eh_frame.
118
119         * dw2gencfi.c (output_cie): Make it more explicit which code paths
120         belong to .eh_frame only.
121
122 2010-03-13  Segher Boessenkool  <[email protected]>
123
124         * config/tc-v850.c (v850_insert_operand): Handle out-of-range
125         assembler constants on 64-bit hosts.
126
127 2010-03-10  Mike Frysinger  <[email protected]>
128
129         * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
130         Strip trailing whitespace.
131
132 2010-03-10  Mike Frysinger  <[email protected]>
133
134         * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
135         * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
136         BFIN_CPU_BF506.
137         (bfin_cpus[]): Add 0.0 for bf504 and bf506.
138
139 2010-03-10  Jie Zhang  <[email protected]>
140
141         * doc/as.texinfo: Add Blackfin options.
142         * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
143         * config/tc-bfin.c (md_show_usage): Show usage for all
144         Blackfin specific options.
145
146 2010-03-09  Alan Modra  <[email protected]>
147
148         PR gas/11356
149         * listing.c (listing_newline): Correct backslash quote logic.
150
151 2010-03-08  Rainer Orth  <[email protected]>
152
153         * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
154         (ELF_TARGET_FORMAT64): Define.
155
156 2010-03-05  Paul Brook  <[email protected]>
157
158         * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
159
160 2010-03-02  Andrew Stubbs  <[email protected]>
161
162         * config/tc-sh.c (get_specific): Move overflow checking code to avoid
163         reading uninitialized data.
164
165 2010-03-01  Tristan Gingold  <[email protected]>
166
167         * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
168
169 2010-02-26  Doug Evans  <[email protected]>
170
171         * configure.tgt: Fix mep cpu case.
172
173 2010-02-26  Jie Zhang  <[email protected]>
174
175         * config/tc-arm.c (do_t_strexd): Remove
176         operand[1] != operand[2] contraint.
177
178 2010-02-26  Jie Zhang  <[email protected]>
179
180         * config/tc-arm.c (neon_select_shape): No need to match
181         the remaining operands in the shape when one operand does
182         not match.
183
184 2010-02-26  Jie Zhang  <[email protected]>
185
186         * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
187         alignment.
188
189 2010-02-25  Doug Evans  <[email protected]>
190
191         * cgen.c: Whitespace fixes.
192         (weak_operand_overflow_check): Formatting fix.
193
194 2010-02-25  H.J. Lu  <[email protected]>
195
196         * config/tc-i386.c (match_template): Update error messages.
197
198 2010-02-25  H.J. Lu  <[email protected]>
199
200         * config/tc-i386.c (_i386_insn): Add err_msg.
201         (operand_size_match): Set err_msg on failure.
202         (operand_type_match): Likewise.
203         (operand_type_register_match): Likewise.
204         (VEX_check_operands): Likewise.
205         (match_template): Likewise.  Use i.err_msg with as_bad.
206
207 2010-02-25  Wu Zhangjin <[email protected]>
208
209         * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
210         mips_fix_loongson2f_jump): New variables.
211         (md_longopts): Add New options -mfix-loongson2f-nop/jump,
212         -mno-fix-loongson2f-nop/jump.
213         (md_parse_option): Initialize variables via above options.
214         (options): New enums for the above options.
215         (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
216         (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
217         New functions.
218         (append_insn): call fix_loongson2f().
219         (mips_handle_align): Replace the implicit nops.
220         * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
221         for the new mips_handle_align().
222         * doc/c-mips.texi: Document the new options.
223
224 2010-02-23  Daniel Gutson  <[email protected]>
225
226         * config/tc-arm.c (do_rd_rm_rn): Added warning
227         for obsolete insns.
228
229 2010-02-23  Andrew Zabolotny  <[email protected]>
230
231         PR binutils/11297
232         * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
233         (avr_cons_fix_new): Handle fixups of a single byte.
234
235 2010-02-22  Matthew Gretton-Dann  <[email protected]>
236
237         PR 9861
238         * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
239         compiler's predefines.
240
241 2010-02-19  Alan Modra  <[email protected]>
242
243         * configure.tgt: Whiltespace.  Sort moxie entry.
244
245 2010-02-18  Matthew Gretton-Dann  <[email protected]>
246
247         * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
248         * doc/c-arm.texi: Likewise.
249
250 2010-02-12  Daniel Gutson <[email protected]>
251
252         * config/tc-arm.c (asm_opcode): operands type
253         change.
254         (BAD_PC_ADDRESSING): New macro message.
255         (BAD_PC_WRITEBACK): Likewise.
256         (MIX_ARM_THUMB_OPERANDS): New macro.
257         (operand_parse_code): Added enum values.
258         (parse_operands): Added thumb/arm distinction,
259         plus new enum values handling.
260         (encode_arm_addr_mode_2): Validations enhanced.
261         (encode_arm_addr_mode_3): Likewise.
262         (do_rm_rd_rn): Likewise.
263         (encode_thumb32_addr_mode): Likewise.
264         (do_t_ldrex): Likewise.
265         (do_t_ldst): Likewise.
266         (do_t_strex): Likewise.
267         (md_assemble): Call parse_operands with
268         a new parameter.
269         (OPS_1): New macro.
270         (OPS_2): Likewise.
271         (OPS_3): Likewise.
272         (OPS_4): Likewise.
273         (OPS_5): Likewise.
274         (OPS_6): Likewise.
275         (insns): Updated insns operands.
276
277 2010-02-12  Tristan Gingold  <[email protected]>
278             Douglas B Rupp  <[email protected]>
279
280         * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
281         (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
282         (pseudo_func): Add an entry for slotcount.
283         (md_begin): Initialize slotcount pseudo symbol.
284         (ia64_parse_name): Handle @slotcount parameter.
285         (ia64_gen_real_reloc_type): Handle slotcount.
286         (md_apply_fix): Ditto.
287         * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
288
289 2010-02-11  Sterling Augustine  <[email protected]>
290
291         * config/tc-xtensa.c (istack_init): Don't call memset.
292
293 2010-02-11  Sterling Augustine  <[email protected]>
294
295         * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
296         well as suffixes.
297
298 2010-02-11  Sterling Augustine  <[email protected]>
299
300         * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
301
302 2010-02-11  H.J. Lu  <[email protected]>
303
304         * config/tc-i386.c (build_modrm_byte): Reformat.
305
306 2010-02-11  H.J. Lu  <[email protected]>
307
308         * config/tc-i386.c: Update copyright.
309
310 2010-02-10  Quentin Neill  <[email protected]>
311             Sebastian Pop  <[email protected]>
312
313         * config/tc-i386.c (vec_imm4) New operand type.
314         (fits_in_imm4): New.
315         (VEX_check_operands): New.
316         (check_reverse): Call VEX_check_operands.
317         (build_modrm_byte): Reintroduce code for 5
318         operand insns.  Fix whitespace.
319
320 2010-02-10  Richard Sandiford  <[email protected]>
321
322         * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
323         -mpwr6 and -mpwr7.
324
325 2010-02-09  Sterling Augustine  <[email protected]>
326
327         * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
328         (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
329         (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
330
331 2010-02-08  Christophe Lyon  <[email protected]>
332
333         * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
334         non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
335         BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
336         BFD_RELOC_ARM_PCREL_CALL)
337
338 2010-02-08  Sterling Augustine  <[email protected]>
339
340         * config/tc-xtensa.c (frag_format_size): Generalize logic to
341         handle more instruction sizes and fetch widths.
342         (branch_align_power): Likewise.
343         (text_align_power): Likewise.
344         (bytes_to_stretch): Likewise.
345
346 2010-02-08  Philipp Tomsich  <[email protected]>
347
348         * config/tc-ppc.c (md_show_usage): Mention -mtitan.  Don't use tabs.
349         (ppc_mach): Handle titan.
350         * doc/c-ppc.texi: Mention -mtitan.
351
352 2010-02-05  Sterling Augustine  <[email protected]>
353
354         * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
355         replace with...
356         (xtensa_fetch_width) ...this.
357
358 2010-02-05  Joseph Myers  <[email protected]>
359
360         * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
361         MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
362         * Makefile.in: Regenerate.
363
364 2010-02-03  Quentin Neill  <[email protected]>
365
366         * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
367         (i386_align_code): Rename  PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
368         * config/tc-i386.h (processor_type): Same.
369         * doc/c-i386.texi: Change amdfam15 to bdver1.
370
371 2010-01-29  Nick Clifton  <[email protected]>
372
373         PR 11136
374         * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
375         NS_NULL.
376
377 2010-01-27  Dave Korn  <[email protected]>
378
379         * NEWS: Mention new feature.
380         * config/obj-coff.c (obj_coff_section): Accept digits and use
381         to override default section alignment power if specified.
382         * doc/as.texinfo (.section directive): Update documentation.
383
384 2010-01-27  H.J. Lu  <[email protected]>
385
386         * config/tc-i386.c (avxscalar): New.
387         (OPTION_MAVXSCALAR): Likewise.
388         (build_vex_prefix): Select vector_length for scalar instructions
389         based on avxscalar.
390         (md_longopts): Add OPTION_MAVXSCALAR.
391         (md_parse_option): Handle OPTION_MAVXSCALAR.
392         (md_show_usage): Add -mavxscalar=.
393
394         * doc/c-i386.texi: Document -mavxscalar=.
395
396 2010-01-24  H.J. Lu  <[email protected]>
397
398         * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
399         0xc4 individually.
400
401 2010-01-23  Richard Sandiford  <[email protected]>
402
403         * write.h (fix_at_start): Declare.
404         * write.c (fix_new_internal): Add at_beginning parameter.
405         Use it instead of REVERSE_SORT_RELOCS.  Fix the handling of
406         seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
407         (fix_new, fix_new_exp): Update accordingly.
408         (fix_at_start): New function.
409         * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
410         (ppc_ref): New function, for OBJ_XCOFF.
411         (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
412         * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
413
414 2010-01-21  Rainer Orth  <[email protected]>
415
416         * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
417         on 64-bit Solaris/x86.
418         Include obj-format.h earlier.
419
420 2010-01-21  Andreas Krebbel  <[email protected]>
421
422         * config/tc-s390.c (s390_elf_final_processing): New function.
423         * config/tc-s390.h (elf_tc_final_processing): New macro definition.
424         (s390_elf_final_processing): Added prototype.
425
426
427 2010-01-20  Nick Clifton  <[email protected]>
428
429         PR 11109
430         * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1.  Add
431         code to handle round-to-zero for VCVT conversions.
432         (do_neon_cvt): New.  Call do_neon_cvt_1.
433         (do_neon_cvtr): New.  Call do_neon_cvt_1.
434         (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
435         insn.
436
437 2010-01-18  Tristan Gingold  <[email protected]>
438
439         * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
440
441 2010-01-15  Sebastian Pop  <[email protected]>
442
443         * config/tc-i386.c (md_assemble): Before accessing the IMM field
444         check that it's not an XOP insn.
445
446 2010-01-14  Jie Zhang  <[email protected]>
447
448         * config/bfin-aux.h: Remove argument names in function
449         declarations.
450         * config/bfin-lex.l (parse_int): Fix shadowed variable name
451         warning.
452         * config/bfin-parse.y (value_match): Remove argument names
453         in declaration.
454         (notethat): Likewise.
455         (yyerror): Likewise.
456
457 2010-01-13  Daniel Jacobowitz  <[email protected]>
458
459         * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
460
461 2010-01-13  Nick Clifton  <[email protected]>
462
463         * config/tc-h8300.c (h8300_elf_section): New function - issue a
464         warning message if a new section is created without setting any
465         attributes for it.
466         (md_pseudo_table): Intercept section creation pseudos.
467         (md_pcrel_from): Replace abort with an error message.
468         * config/obj-elf.c (obj_elf_section_name): Export this function.
469         * config/obj-elf.h (obj_elf_section_name): Prototype.
470
471 2010-01-12  Alan Modra  <[email protected]>
472
473         PR 11122
474         * listing.c (print_source): Add one to line number.
475
476 2010-01-09  Ralf Wildenhues  <[email protected]>
477
478         * Makefile.in: Regenerate.
479         * configure: Regenerate.
480         * doc/Makefile.in: Regenerate.
481
482 2010-01-08  H.J. Lu  <[email protected]>
483
484         * version.c (parse_args): Change to "Copyright 2010".
485
486 2010-01-06  Quentin Neill  <[email protected]>
487
488         * config/tc-i386.c (cpu_arch): Add amdfam15.
489         (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
490         * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
491         * doc/c-i386.texi: Add amdfam15.
492
493 2010-01-04  Daniel Gutson  <[email protected]>
494
495         * config/tc-arm.c (do_neon_logic): Accept imm value
496         in the third operand too.
497         (operand_parse_code): OP_RNDQ_IMVNb renamed to
498         OP_RNDQ_Ibig.
499         (parse_operands): OP_NILO case removed, applied renaming.
500         (insns): Neon shape changed for some logic instructions.
501
502 2010-01-04  Daniel Gutson  <[email protected]>
503
504         * config/tc-arm.c (do_neon_ldx_stx): Added
505         validation for vector load/store insns.
506
507 2010-01-04  Edmar Wienskoski  <[email protected]>
508
509         * config/tc-ppc.c (md_show_usage): Document -me500mc64.
510
511 2010-01-03  Daniel Gutson  <[email protected]>
512
513         * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
514         (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
515         (NEON_ENCODE): New macro.
516         (check_neon_suffixes): New macro.
517         (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
518         (do_vfp_nsyn_opcode): Likewise.
519         (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
520         (do_vfp_nsyn_cmp): Likewise.
521         (do_neon_shl_imm): Likewise.
522         (do_neon_qshl_imm): Likewise.
523         (neon_dyadic_misc): Likewise.
524         (do_neon_mac_maybe_scalar): Likewise.
525         (do_neon_qdmulh): Likewise.
526         (do_neon_qmovn): Likewise.
527         (do_neon_qmovun): Likewise.
528         (do_neon_movn): Likewise.
529         (neon_mac_reg_scalar_long): Likewise.
530         (do_neon_vmull): Likewise.
531         (do_neon_trn): Likewise.
532         (do_neon_ldx_stx): Likewise.
533         (neon_dp_fixup): Changed signature and set the flag.
534         (neon_three_same): Call the above with new signature.
535         (neon_two_same): Likewise.
536         (neon_imm_shift): Likewise.
537         (neon_mul_mac): Likewise.
538         (do_neon_abs_neg): Likewise.
539         (neon_mixed_length): Likewise.
540         (do_neon_ext): Likewise.
541         (do_neon_mov): Likewise.
542         (do_neon_tbl_tbx): Likewise.
543         (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
544         (neon_compare): Likewise.
545         (do_neon_shll): Likewise.
546         (do_neon_cvt): Likewise.
547         (do_neon_mvn): Likewise.
548         (do_neon_dup): Likewise.
549         (md_assemble): Call check_neon_suffixes ().
550
551 For older changes see ChangeLog-2009
552 \f
553 Local Variables:
554 mode: change-log
555 left-margin: 8
556 fill-column: 74
557 version-control: never
558 End:
This page took 0.06037 seconds and 4 git commands to generate.