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