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