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