* config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
[external/binutils.git] / gas / ChangeLog
1 2010-03-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2
3         * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
4         (ELF_TARGET_FORMAT64): Define.
5
6 2010-03-05  Paul Brook  <paul@codesourcery.com>
7
8         * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
9
10 2010-03-02  Andrew Stubbs  <ams@codesourcery.com>
11
12         * config/tc-sh.c (get_specific): Move overflow checking code to avoid
13         reading uninitialized data.
14
15 2010-03-01  Tristan Gingold  <gingold@adacore.com>
16
17         * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
18
19 2010-02-26  Doug Evans  <dje@sebabeach.org>
20
21         * configure.tgt: Fix mep cpu case.
22
23 2010-02-26  Jie Zhang  <jie@codesourcery.com>
24
25         * config/tc-arm.c (do_t_strexd): Remove
26         operand[1] != operand[2] contraint.
27
28 2010-02-26  Jie Zhang  <jie@codesourcery.com>
29
30         * config/tc-arm.c (neon_select_shape): No need to match
31         the remaining operands in the shape when one operand does
32         not match.
33
34 2010-02-26  Jie Zhang  <jie@codesourcery.com>
35
36         * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
37         alignment.
38
39 2010-02-25  Doug Evans  <dje@sebabeach.org>
40
41         * cgen.c: Whitespace fixes.
42         (weak_operand_overflow_check): Formatting fix.
43
44 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
45
46         * config/tc-i386.c (match_template): Update error messages.
47
48 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
49
50         * config/tc-i386.c (_i386_insn): Add err_msg.
51         (operand_size_match): Set err_msg on failure.
52         (operand_type_match): Likewise.
53         (operand_type_register_match): Likewise.
54         (VEX_check_operands): Likewise.
55         (match_template): Likewise.  Use i.err_msg with as_bad.
56
57 2010-02-25  Wu Zhangjin <wuzhangjin@gmail.com>
58
59         * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
60         mips_fix_loongson2f_jump): New variables.
61         (md_longopts): Add New options -mfix-loongson2f-nop/jump,
62         -mno-fix-loongson2f-nop/jump.
63         (md_parse_option): Initialize variables via above options.
64         (options): New enums for the above options.
65         (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
66         (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
67         New functions.
68         (append_insn): call fix_loongson2f().
69         (mips_handle_align): Replace the implicit nops.
70         * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
71         for the new mips_handle_align().
72         * doc/c-mips.texi: Document the new options.
73
74 2010-02-23  Daniel Gutson  <dgutson@codesourcery.com>
75
76         * config/tc-arm.c (do_rd_rm_rn): Added warning
77         for obsolete insns.
78
79 2010-02-23  Andrew Zabolotny  <anpaza@mail.ru>
80
81         PR binutils/11297
82         * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
83         (avr_cons_fix_new): Handle fixups of a single byte.
84
85 2010-02-22  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
86
87         PR 9861
88         * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
89         compiler's predefines.
90
91 2010-02-19  Alan Modra  <amodra@gmail.com>
92
93         * configure.tgt: Whiltespace.  Sort moxie entry.
94
95 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
96
97         * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
98         * doc/c-arm.texi: Likewise.
99
100 2010-02-12  Daniel Gutson <dgutson@codesourcery.com>
101
102         * config/tc-arm.c (asm_opcode): operands type
103         change.
104         (BAD_PC_ADDRESSING): New macro message.
105         (BAD_PC_WRITEBACK): Likewise.
106         (MIX_ARM_THUMB_OPERANDS): New macro.
107         (operand_parse_code): Added enum values.
108         (parse_operands): Added thumb/arm distinction,
109         plus new enum values handling.
110         (encode_arm_addr_mode_2): Validations enhanced.
111         (encode_arm_addr_mode_3): Likewise.
112         (do_rm_rd_rn): Likewise.
113         (encode_thumb32_addr_mode): Likewise.
114         (do_t_ldrex): Likewise.
115         (do_t_ldst): Likewise.
116         (do_t_strex): Likewise.
117         (md_assemble): Call parse_operands with
118         a new parameter.
119         (OPS_1): New macro.
120         (OPS_2): Likewise.
121         (OPS_3): Likewise.
122         (OPS_4): Likewise.
123         (OPS_5): Likewise.
124         (OPS_6): Likewise.
125         (insns): Updated insns operands.
126
127 2010-02-12  Tristan Gingold  <gingold@adacore.com>
128             Douglas B Rupp  <rupp@gnat.com>
129
130         * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
131         (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
132         (pseudo_func): Add an entry for slotcount.
133         (md_begin): Initialize slotcount pseudo symbol.
134         (ia64_parse_name): Handle @slotcount parameter.
135         (ia64_gen_real_reloc_type): Handle slotcount.
136         (md_apply_fix): Ditto.
137         * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
138
139 2010-02-11  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
140
141         * config/tc-xtensa.c (istack_init): Don't call memset.
142
143 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
144
145         * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
146         well as suffixes.
147
148 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
149
150         * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
151
152 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
153
154         * config/tc-i386.c (build_modrm_byte): Reformat.
155
156 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
157
158         * config/tc-i386.c: Update copyright.
159
160 2010-02-10  Quentin Neill  <quentin.neill@amd.com>
161             Sebastian Pop  <sebastian.pop@amd.com>
162
163         * config/tc-i386.c (vec_imm4) New operand type.
164         (fits_in_imm4): New.
165         (VEX_check_operands): New.
166         (check_reverse): Call VEX_check_operands.
167         (build_modrm_byte): Reintroduce code for 5
168         operand insns.  Fix whitespace.
169
170 2010-02-10  Richard Sandiford  <r.sandiford@uk.ibm.com>
171
172         * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
173         -mpwr6 and -mpwr7.
174
175 2010-02-09  Sterling Augustine  <sterling@tensilica.com>
176
177         * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
178         (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
179         (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
180
181 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
182
183         * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
184         non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
185         BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
186         BFD_RELOC_ARM_PCREL_CALL)
187
188 2010-02-08  Sterling Augustine  <sterling@tensilica.com>
189
190         * config/tc-xtensa.c (frag_format_size): Generalize logic to
191         handle more instruction sizes and fetch widths.
192         (branch_align_power): Likewise.
193         (text_align_power): Likewise.
194         (bytes_to_stretch): Likewise.
195
196 2010-02-08  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
197
198         * config/tc-ppc.c (md_show_usage): Mention -mtitan.  Don't use tabs.
199         (ppc_mach): Handle titan.
200         * doc/c-ppc.texi: Mention -mtitan.
201
202 2010-02-05  Sterling Augustine  <sterling@tensilica.com>
203
204         * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
205         replace with...
206         (xtensa_fetch_width) ...this.
207
208 2010-02-05  Joseph Myers  <joseph@codesourcery.com>
209
210         * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
211         MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
212         * Makefile.in: Regenerate.
213
214 2010-02-03  Quentin Neill  <quentin.neill@amd.com>
215
216         * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
217         (i386_align_code): Rename  PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
218         * config/tc-i386.h (processor_type): Same.
219         * doc/c-i386.texi: Change amdfam15 to bdver1.
220
221 2010-01-29  Nick Clifton  <nickc@redhat.com>
222
223         PR 11136
224         * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
225         NS_NULL.
226
227 2010-01-27  Dave Korn  <dave.korn.cygwin@gmail.com>
228
229         * NEWS: Mention new feature.
230         * config/obj-coff.c (obj_coff_section): Accept digits and use
231         to override default section alignment power if specified.
232         * doc/as.texinfo (.section directive): Update documentation.
233
234 2010-01-27  H.J. Lu  <hongjiu.lu@intel.com>
235
236         * config/tc-i386.c (avxscalar): New.
237         (OPTION_MAVXSCALAR): Likewise.
238         (build_vex_prefix): Select vector_length for scalar instructions
239         based on avxscalar.
240         (md_longopts): Add OPTION_MAVXSCALAR.
241         (md_parse_option): Handle OPTION_MAVXSCALAR.
242         (md_show_usage): Add -mavxscalar=.
243
244         * doc/c-i386.texi: Document -mavxscalar=.
245
246 2010-01-24  H.J. Lu  <hongjiu.lu@intel.com>
247
248         * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
249         0xc4 individually.
250
251 2010-01-23  Richard Sandiford  <r.sandiford@uk.ibm.com>
252
253         * write.h (fix_at_start): Declare.
254         * write.c (fix_new_internal): Add at_beginning parameter.
255         Use it instead of REVERSE_SORT_RELOCS.  Fix the handling of
256         seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
257         (fix_new, fix_new_exp): Update accordingly.
258         (fix_at_start): New function.
259         * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
260         (ppc_ref): New function, for OBJ_XCOFF.
261         (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
262         * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
263
264 2010-01-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
265
266         * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
267         on 64-bit Solaris/x86.
268         Include obj-format.h earlier.
269
270 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
271
272         * config/tc-s390.c (s390_elf_final_processing): New function.
273         * config/tc-s390.h (elf_tc_final_processing): New macro definition.
274         (s390_elf_final_processing): Added prototype.
275
276
277 2010-01-20  Nick Clifton  <nickc@redhat.com>
278
279         PR 11109
280         * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1.  Add
281         code to handle round-to-zero for VCVT conversions.
282         (do_neon_cvt): New.  Call do_neon_cvt_1.
283         (do_neon_cvtr): New.  Call do_neon_cvt_1.
284         (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
285         insn.
286
287 2010-01-18  Tristan Gingold  <gingold@adacore.com>
288
289         * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
290
291 2010-01-15  Sebastian Pop  <sebastian.pop@amd.com>
292
293         * config/tc-i386.c (md_assemble): Before accessing the IMM field
294         check that it's not an XOP insn.
295
296 2010-01-14  Jie Zhang  <jie.zhang@analog.com>
297
298         * config/bfin-aux.h: Remove argument names in function
299         declarations.
300         * config/bfin-lex.l (parse_int): Fix shadowed variable name
301         warning.
302         * config/bfin-parse.y (value_match): Remove argument names
303         in declaration.
304         (notethat): Likewise.
305         (yyerror): Likewise.
306
307 2010-01-13  Daniel Jacobowitz  <dan@codesourcery.com>
308
309         * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
310
311 2010-01-13  Nick Clifton  <nickc@redhat.com>
312
313         * config/tc-h8300.c (h8300_elf_section): New function - issue a
314         warning message if a new section is created without setting any
315         attributes for it.
316         (md_pseudo_table): Intercept section creation pseudos.
317         (md_pcrel_from): Replace abort with an error message.
318         * config/obj-elf.c (obj_elf_section_name): Export this function.
319         * config/obj-elf.h (obj_elf_section_name): Prototype.
320
321 2010-01-12  Alan Modra  <amodra@gmail.com>
322
323         PR 11122
324         * listing.c (print_source): Add one to line number.
325
326 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
327
328         * Makefile.in: Regenerate.
329         * configure: Regenerate.
330         * doc/Makefile.in: Regenerate.
331
332 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
333
334         * version.c (parse_args): Change to "Copyright 2010".
335
336 2010-01-06  Quentin Neill  <quentin.neill@amd.com>
337
338         * config/tc-i386.c (cpu_arch): Add amdfam15.
339         (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
340         * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
341         * doc/c-i386.texi: Add amdfam15.
342
343 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
344
345         * config/tc-arm.c (do_neon_logic): Accept imm value
346         in the third operand too.
347         (operand_parse_code): OP_RNDQ_IMVNb renamed to
348         OP_RNDQ_Ibig.
349         (parse_operands): OP_NILO case removed, applied renaming.
350         (insns): Neon shape changed for some logic instructions.
351
352 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
353
354         * config/tc-arm.c (do_neon_ldx_stx): Added
355         validation for vector load/store insns.
356
357 2010-01-04  Edmar Wienskoski  <edmar@freescale.com>
358
359         * config/tc-ppc.c (md_show_usage): Document -me500mc64.
360
361 2010-01-03  Daniel Gutson  <dgutson@codesourcery.com>
362
363         * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
364         (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
365         (NEON_ENCODE): New macro.
366         (check_neon_suffixes): New macro.
367         (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
368         (do_vfp_nsyn_opcode): Likewise.
369         (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
370         (do_vfp_nsyn_cmp): Likewise.
371         (do_neon_shl_imm): Likewise.
372         (do_neon_qshl_imm): Likewise.
373         (neon_dyadic_misc): Likewise.
374         (do_neon_mac_maybe_scalar): Likewise.
375         (do_neon_qdmulh): Likewise.
376         (do_neon_qmovn): Likewise.
377         (do_neon_qmovun): Likewise.
378         (do_neon_movn): Likewise.
379         (neon_mac_reg_scalar_long): Likewise.
380         (do_neon_vmull): Likewise.
381         (do_neon_trn): Likewise.
382         (do_neon_ldx_stx): Likewise.
383         (neon_dp_fixup): Changed signature and set the flag.
384         (neon_three_same): Call the above with new signature.
385         (neon_two_same): Likewise.
386         (neon_imm_shift): Likewise.
387         (neon_mul_mac): Likewise.
388         (do_neon_abs_neg): Likewise.
389         (neon_mixed_length): Likewise.
390         (do_neon_ext): Likewise.
391         (do_neon_mov): Likewise.
392         (do_neon_tbl_tbx): Likewise.
393         (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
394         (neon_compare): Likewise.
395         (do_neon_shll): Likewise.
396         (do_neon_cvt): Likewise.
397         (do_neon_mvn): Likewise.
398         (do_neon_dup): Likewise.
399         (md_assemble): Call check_neon_suffixes ().
400
401 For older changes see ChangeLog-2009
402 \f
403 Local Variables:
404 mode: change-log
405 left-margin: 8
406 fill-column: 74
407 version-control: never
408 End: