daily update
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
2309ddf2
MR
12011-07-29 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * config/tc-mips.c: Adjust comments throughout.
4 (reglist_lookup): Reshape code.
5 (jmp_reloc_p, jalr_reloc_p): Reformat.
6 (got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS
7 relocations.
8 (gpr_mod_mask): Remove unused variable.
9 (gpr_read_mask, gpr_write_mask): Reshape code.
10 (fpr_read_mask, fpr_write_mask): Likewise.
11 (nops_for_vr4130): Ensure non-microMIPS mode.
12 (can_swap_branch_p): Correct pinfo2 reference. Reshape code.
13 (append_insn): Skip Loongson 2F workaround in MIPS16 mode. Use
14 the outermost operator of a compound relocation to determines
15 the relocated field. Fix formatting.
16 (md_convert_frag): Reshape code.
17
69b1d605
TG
182011-07-29 Tristan Gingold <gingold@adacore.com>
19
20 * frags.c (frag_var_init): New function.
21 (frag_var): Call frag_var_init to initialize.
22 (frag_variant): Ditto.
23
9aec2026
NC
242011-07-27 Nathan Sidwell <nathan@codesourcery.com>
25
26 * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a
27 warning.
28 * doc/as.texinfo (Offset): Document .offset directive.
29
088b3cd0
TG
302011-07-27 Tristan Gingold <gingold@adacore.com>
31
32 * frags.c (frag_grow): Revert previous patch.
33
53d780c9
NC
342011-07-26 Kazuhiro Inaoka <kazuhiro.inaoka.ud@renesas.com>
35
36 * config/tc-rx.c (md_convert_frag): Fix encoding of beq.a
37 synthetic instruction.
38
179809c0
TG
392011-07-25 Tristan Gingold <gingold@adacore.com>
40
41 * frags.c (frag_grow): Simplify the code.
42
df58fc94
RS
432011-07-24 Maciej W. Rozycki <macro@codesourcery.com>
44 Chao-ying Fu <fu@mips.com>
45 Richard Sandiford <rdsandiford@googlemail.com>
46
47 * config/tc-mips.h (mips_segment_info): Add one bit for
48 microMIPS.
49 (TC_LABEL_IS_LOCAL): New macro.
50 (mips_label_is_local): New prototype.
51 * config/tc-mips.c (S0, S7): New macros.
52 (emit_branch_likely_macro): New variable.
53 (mips_set_options): Add micromips.
54 (mips_opts): Initialise micromips to -1.
55 (file_ase_micromips): New variable.
56 (CPU_HAS_MICROMIPS): New macro.
57 (hilo_interlocks): Set for microMIPS too.
58 (gpr_interlocks): Likewise.
59 (cop_interlocks): Likewise.
60 (cop_mem_interlocks): Likewise.
61 (HAVE_CODE_COMPRESSION): New macro.
62 (micromips_op_hash): New variable.
63 (micromips_nop16_insn, micromips_nop32_insn): New variables.
64 (NOP_INSN): Handle microMIPS ASE.
65 (mips32_to_micromips_reg_b_map): New macro.
66 (mips32_to_micromips_reg_c_map): Likewise.
67 (mips32_to_micromips_reg_d_map): Likewise.
68 (mips32_to_micromips_reg_e_map): Likewise.
69 (mips32_to_micromips_reg_f_map): Likewise.
70 (mips32_to_micromips_reg_g_map): Likewise.
71 (mips32_to_micromips_reg_l_map): Likewise.
72 (mips32_to_micromips_reg_n_map): Likewise.
73 (mips32_to_micromips_reg_h_map): New variable.
74 (mips32_to_micromips_reg_m_map): Likewise.
75 (mips32_to_micromips_reg_q_map): Likewise.
76 (micromips_to_32_reg_h_map): New variable.
77 (micromips_to_32_reg_i_map): Likewise.
78 (micromips_to_32_reg_m_map): Likewise.
79 (micromips_to_32_reg_q_map): Likewise.
80 (micromips_to_32_reg_b_map): New macro.
81 (micromips_to_32_reg_c_map): Likewise.
82 (micromips_to_32_reg_d_map): Likewise.
83 (micromips_to_32_reg_e_map): Likewise.
84 (micromips_to_32_reg_f_map): Likewise.
85 (micromips_to_32_reg_g_map): Likewise.
86 (micromips_to_32_reg_l_map): Likewise.
87 (micromips_to_32_reg_n_map): Likewise.
88 (micromips_imm_b_map, micromips_imm_c_map): New macros.
89 (RELAX_DELAY_SLOT_16BIT): New macro.
90 (RELAX_DELAY_SLOT_SIZE_FIRST): Likewise.
91 (RELAX_DELAY_SLOT_SIZE_SECOND): Likewise.
92 (RELAX_MICROMIPS_ENCODE, RELAX_MICROMIPS_P): New macros.
93 (RELAX_MICROMIPS_TYPE, RELAX_MICROMIPS_AT): Likewise.
94 (RELAX_MICROMIPS_U16BIT, RELAX_MICROMIPS_UNCOND): Likewise.
95 (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
96 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16): Likewise.
97 (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
98 (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
99 (RELAX_MICROMIPS_TOOFAR32): Likewise.
100 (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
101 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
102 (INSERT_OPERAND, EXTRACT_OPERAND): Handle microMIPS ASE.
103 (mips_macro_warning): Add delay_slot_16bit_p, delay_slot_32bit_p,
104 fsize and insns.
105 (mips_mark_labels): New function.
106 (mips16_small, mips16_ext): Remove variables, replacing with...
107 (forced_insn_size): ... this.
108 (append_insn, mips16_ip): Update accordingly.
109 (micromips_insn_length): New function.
110 (insn_length): Return the length of microMIPS instructions.
111 (mips_record_mips16_mode): Rename to...
112 (mips_record_compressed_mode): ... this. Handle microMIPS ASE.
113 (install_insn): Handle microMIPS ASE.
114 (reglist_lookup): New function.
115 (is_size_valid, is_delay_slot_valid): Likewise.
116 (md_begin): Handle microMIPS ASE.
117 (md_assemble): Likewise. Update for append_insn interface change.
118 (micromips_reloc_p): New function.
119 (got16_reloc_p): Handle microMIPS ASE.
120 (hi16_reloc_p): Likewise.
121 (lo16_reloc_p): Likewise.
122 (jmp_reloc_p): New function.
123 (jalr_reloc_p): Likewise.
124 (matching_lo_reloc): Handle microMIPS ASE.
125 (insn_uses_reg, reg_needs_delay): Likewise.
126 (mips_move_labels): Likewise.
127 (mips16_mark_labels): Rename to...
128 (mips_compressed_mark_labels): ... this. Handle microMIPS ASE.
129 (gpr_mod_mask): New function.
130 (gpr_read_mask, gpr_write_mask): Handle microMIPS ASE.
131 (fpr_read_mask, fpr_write_mask): Likewise.
132 (insns_between, nops_for_vr4130, nops_for_insn): Likewise.
133 (fix_loongson2f_nop, fix_loongson2f_jump): Likewise.
134 (MICROMIPS_LABEL_CHAR): New macro.
135 (micromips_target_label, micromips_target_name): New variables.
136 (micromips_label_name, micromips_label_expr): New functions.
137 (micromips_label_inc, micromips_add_label): Likewise.
138 (mips_label_is_local): Likewise.
139 (micromips_map_reloc): Likewise.
140 (can_swap_branch_p): Handle microMIPS ASE.
141 (append_insn): Add expansionp argument. Handle microMIPS ASE.
142 (start_noreorder, end_noreorder): Handle microMIPS ASE.
143 (macro_start, macro_warning, macro_end): Likewise.
144 (brk_fmt, cop12_fmt, jalr_fmt, lui_fmt): New variables.
145 (mem12_fmt, mfhl_fmt, shft_fmt, trap_fmt): Likewise.
146 (BRK_FMT, COP12_FMT, JALR_FMT, LUI_FMT): New macros.
147 (MEM12_FMT, MFHL_FMT, SHFT_FMT, TRAP_FMT): Likewise.
148 (macro_build): Handle microMIPS ASE. Update for append_insn
149 interface change.
150 (mips16_macro_build): Update for append_insn interface change.
151 (macro_build_jalr): Handle microMIPS ASE.
152 (macro_build_lui): Likewise. Simplify.
153 (load_register): Handle microMIPS ASE.
154 (load_address): Likewise.
155 (move_register): Likewise.
156 (macro_build_branch_likely): New function.
157 (macro_build_branch_ccl): Likewise.
158 (macro_build_branch_rs): Likewise.
159 (macro_build_branch_rsrt): Likewise.
160 (macro): Handle microMIPS ASE.
161 (validate_micromips_insn): New function.
162 (expr_const_in_range): Likewise.
163 (mips_ip): Handle microMIPS ASE.
164 (options): Add OPTION_MICROMIPS and OPTION_NO_MICROMIPS.
165 (md_longopts): Add mmicromips and mno-micromips.
166 (md_parse_option): Handle OPTION_MICROMIPS and
167 OPTION_NO_MICROMIPS.
168 (mips_after_parse_args): Handle microMIPS ASE.
169 (md_pcrel_from): Handle microMIPS relocations.
170 (mips_force_relocation): Likewise.
171 (md_apply_fix): Likewise.
172 (mips_align): Handle microMIPS ASE.
173 (s_mipsset): Likewise.
174 (s_cpload, s_cpsetup, s_cpreturn): Use relocation wrappers.
175 (s_dtprel_internal): Likewise.
176 (s_gpword, s_gpdword): Likewise.
177 (s_insn): Handle microMIPS ASE.
178 (s_mips_stab): Likewise.
179 (relaxed_micromips_32bit_branch_length): New function.
180 (relaxed_micromips_16bit_branch_length): New function.
181 (md_estimate_size_before_relax): Handle microMIPS ASE.
182 (mips_fix_adjustable): Likewise.
183 (tc_gen_reloc): Handle microMIPS relocations.
184 (mips_relax_frag): Handle microMIPS ASE.
185 (md_convert_frag): Likewise.
186 (mips_frob_file_after_relocs): Likewise.
187 (mips_elf_final_processing): Likewise.
188 (mips_nop_opcode): Likewise.
189 (mips_handle_align): Likewise.
190 (md_show_usage): Handle microMIPS options.
191 * symbols.c (TC_LABEL_IS_LOCAL): New macro.
192 (S_IS_LOCAL): Add a TC_LABEL_IS_LOCAL check.
193
194 * doc/as.texinfo (Target MIPS options): Add -mmicromips and
195 -mno-micromips.
196 (-mmicromips, -mno-micromips): New options.
197 * doc/c-mips.texi (-mmicromips, -mno-micromips): New options.
198 (MIPS ISA): Document .set micromips and .set nomicromips.
199 (MIPS insn): Update for microMIPS support.
200
a40bc9dd
RS
2012011-07-24 Maciej W. Rozycki <macro@codesourcery.com>
202
203 * config/tc-mips.c (mips_ip): Make a copy of the instruction's
204 mnemonic and use it for further processing.
205
bcd530a7
RS
2062011-07-24 Maciej W. Rozycki <macro@codesourcery.com>
207
208 * config/tc-mips.c (can_swap_branch_p): Adjust for the rename of
209 INSN_TRAP to INSN_NO_DELAY_SLOT. Remove the check for INSN_SYNC
210 as well as explicit checks for ERET and DERET when scheduling
211 branch delay slots.
212
7a9068fe
L
2132011-07-22 H.J. Lu <hongjiu.lu@intel.com>
214
215 * config/tc-i386.c (cpu_arch): Add k1om.
216 (i386_align_code): Handle PROCESSOR_K1OM.
217 (check_cpu_arch_compatible): Check EM_K1OM.
218 (i386_arch): Handle Intel K1OM.
219 (i386_mach): Return bfd_mach_k1om for Intel K1OM.
220 (i386_target_format): Return ELF_TARGET_K1OM_FORMAT for Intel
221 K1OM.
222
223 * config/tc-i386.h (ELF_TARGET_K1OM_FORMAT): New.
224 (processor_type): Add PROCESSOR_K1OM.
225
226 * doc/c-i386.texi: Document k1om.
227
2aab8acd
L
2282011-07-18 H.J. Lu <hongjiu.lu@intel.com>
229
230 * doc/c-i386.texi: Fix a typo.
231
01f372ca
RS
2322011-07-06 Aurelien Jarno <aurelien@aurel32.net>
233
234 * config/tc-mips.c (append_insn): delete prev_pinfo2 and pinfo2.
235
fe35f09f
RS
2362011-07-04 Richard Sandiford <rdsandiford@googlemail.com>
237
238 * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Fix handling
239 of register 0.
240
e3a82c8e
MR
2412011-07-04 Maciej W. Rozycki <macro@codesourcery.com>
242
243 * config/tc-mips.c (append_insn): Make sure DWARF-2 location
244 information is properly adjusted for branches that get swapped.
245
9c55345c
TS
2462011-07-03 Samuel Thibault <samuel.thibault@gnu.org>
247 Thomas Schwinge <thomas@schwinge.name>
248
2bb70ae0 249 PR binutils/12913
9c55345c
TS
250 * config/obj-elf.c (obj_elf_type): Use ELFOSABI_GNU name instead of
251 ELFOSABI_LINUX alias.
252 * config/tc-ia64.c: Likewise.
253
5f4cb198
NC
2542011-06-30 Paul Carroll <pcarroll@codesourcery.com>
255
256 * config/tc-arm.c (do_t_add_sub): Only allow LSL shifts of less
257 than 4 in Thumb mode.
258
08f10d51
NC
2592011-06-30 Nick Clifton <nickc@redhat.com>
260
261 PR gas/12848
262 * config/tc-arm.c (BAD_RANGE): New error message define.
263 (md_apply_fix): Use it.
264 Fix range check for thumb branch instructions.
265
a4e06468
RS
2662011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
267
268 * config/tc-mips.c (append_method): New enum.
269 (can_swap_branch_p, get_append_method): New functions.
270 (append_insn): Use get_append_method to decide how the instruction
271 should be added.
272
9fe77896
RS
2732011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
274
275 * config/tc-mips.c (append_insn): Remove bogus goto.
276
13408f1e
RS
2772011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
278
279 * config/tc-mips.c (append_insn): Always clear the history after an
280 unconditional branch.
281
ceb94aa5
RS
2822011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
283
284 * config/tc-mips.c (find_altered_mips16_opcode): New function.
285 (append_insn): Use it.
286
4c260379
RS
2872011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
288
289 * config/tc-mips.c (insn_uses_reg): Delete.
290 (gpr_read_mask, gpr_write_mask): New functions.
291 (fpr_read_mask, fpr_write_mask): Likewise.
292 (insns_between, nops_for_vr4130, append_insn): Use them.
293
02b1ab82
RS
2942011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
295
296 * config/tc-mips.c (md_mips_end): Call mips_emit_delays.
297
49c62a33
NC
2982011-06-29 Dave Martin <dave.martin@linaro.org>
299
300 PR gas/12931
301 * config/tc-arm.c (mapping_state): When changing to ARM or THUMB
302 state set the minimum required alignment of the section.
303
7016a5d5
TG
3042011-06-29 Tristan Gingold <gingold@adacore.com>
305
306 * config/tc-i386.c (i386_mach): Convert to ISO-C.
307 (md_begin, pe_directive_secrel, md_estimate_size_before_relax): Ditto.
308 (md_convert_frag, md_apply_fix, md_undefined_symbol): Ditto.
309 (md_section_align, tc_gen_reloc): Ditto.
310
af24f60c
TG
3112011-06-28 Tristan Gingold <gingold@adacore.com>
312
313 * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not
314 generate dummy fix.
315
e1f4d6bd
TG
3162011-06-28 Tristan Gingold <gingold@adacore.com>
317
318 * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc.
319 (emit_jsrjmp): Ditto.
320 (tc_gen_reloc): Ditto.
321
4b1c4d2b
TG
3222011-06-28 Tristan Gingold <gingold@adacore.com>
323
324 * config/tc-alpha.c (alpha_evax_proc_hash): Remove.
325 (alpha_evax_proc_data): New variable.
326 (s_alpha_ent): Prevent nested function. Remove has_insert call.
327 (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of
328 error. Do not search in the hash table. Check if match with .ent.
329 (s_alpha_name): Remove unused variable.
330 (md_begin): Remove initialization of alpha_evax_proc_hash.
331
8aacb050
TG
3322011-06-27 Tristan Gingold <gingold@adacore.com>
333
334 * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter.
335 Locally declare basesym. Add comments. Do not set literal_pool_size.
336 (load_expression): Adjust call to add_to_link_pool.
337 (s_alpha_pdesc): Define pdesc symbol using dot.
338 Do not set literal_pool_size.
339 (s_alpha_end): Use NULL instead of 0.
340
bb1d4256
TG
3412011-06-27 Tristan Gingold <gingold@adacore.com>
342
343 * config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
344 Fix style.
345 * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
346 field. Add comments.
347 (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
348
ab9794cf
RS
3492011-06-26 Richard Sandiford <rdsandiford@googlemail.com>
350
351 * config/tc-mips.c (fix_24k_record_store_info): If the previous
352 instruction was a store, and the next instructions are unknown,
353 assume the worst.
354
932d1a1b
RS
3552011-06-25 Richard Sandiford <rdsandiford@googlemail.com>
356
357 PR gas/12915
358 * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn)
359 (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters.
360 (mips_emit_delays, start_noreorder): Update accordingly.
361 (append_insn): Likewise. Revert original fix for this PR
362 and use the ignore parameter instead.
363
e3a99401
TG
3642011-06-24 Tristan Gingold <gingold@adacore.com>
365
366 PR gas/11625
367 * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
368
576d3307
TG
3692011-06-24 Tristan Gingold <gingold@adacore.com>
370
371 * config/tc-alpha.c (add_to_link_pool): Remove useless offset
372 variable. Fix style.
373
f77ef3e2
RS
3742011-06-23 Richard Sandiford <rdsandiford@googlemail.com>
375
376 PR gas/12915
377 * config/tc-mips.c (append_insn): Only consider hazards between the
378 pre-noreorder block and ip.
379
5f1af56b
MGD
3802011-06-21 Sameera Deshpande <sameera.deshpande@arm.com>
381
382 * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
383 in vcvt instruction between floating-point and fixed-point.
384 (operand_parse_code): Add "OP_oI32z".
385 (parse_operands): OP_oI32z case added.
386
ade78dba
L
3872011-06-20 H.J. Lu <hongjiu.lu@intel.com>
388
389 * configure.tgt: Revert x32 change.
390
b47d265e
NC
3912011-06-20 Nick Clifton <nickc@redhat.com>
392
393 * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
394 * doc/Makefile.in: Regenerate.
395 * doc/all.texi: Set XSTORMY16.
396 * doc/c-xstormy16.texi: New file.
397
8b778942
L
3982011-06-19 H.J. Lu <hongjiu.lu@intel.com>
399
400 * configure.tgt: Support x32.
401
90b3661c
NC
4022011-06-15 Nick Clifton <nickc@redhat.com>
403
404 * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
405
2fb4b302
TG
4062011-06-14 Tristan Gingold <gingold@adacore.com>
407
408 * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
409 (tc_new_dot_label): Define.
410 (ppc_new_dot_label): Declare.
411 * config/tc-ppc.c (ppc_frob_label): Set within target field.
412 (ppc_fix_adjustable): Use this field to adjust the reloc.
413 (ppc_new_dot_label): New function.
414
85b0f90c
AM
4152011-06-14 Alan Modra <amodra@gmail.com>
416
417 * po/POTFILES.in: Regenerate.
418
aa137e4d
NC
4192011-06-13 Walter Lee <walt@tilera.com>
420
421 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
422 config/tc-tilepro.c.
423 (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
424 config/tc-tilepro.h.
425 * Makefile.in: Regenerate.
426 * configure.tgt (tilepro-*-*): New.
427 (tilegx-*-*): Likewise.
428 * config/tc-tilegx.c: New file.
429 * config/tc-tilegx.h: Likewise.
430 * config/tc-tilepro.h: Likewise.
431 * config/tc-tilepro.c: Likewise.
432 * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
433 c-tilepro.texi.
434 * doc/Makefile.in: Regenerate.
435 * doc/all.texi (TILEGX): Define.
436 (TILEPRO): Define.
437 * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include
438 c-tilegx.texi and c-tilepro.texi.
439 * doc/c-tilegx.texi: New.
440 * doc/c-tilepro.texi: New.
441
94342ec3
NC
4422011-06-13 Nick Clifton <nickc@redhat.com>
443
444 PR gas/12854
445 * config/tc-arm.c (do_shift): Do not allow shift operations at the
446 end of a register based shift insn.
447 (do_t_shift): Likewise.
448
f9e53abc
NC
4492011-06-13 Nick Clifton <nickc@redhat.com>
450
451 * config/tc-score.c (s3_my_get_expression): Delete unused local
452 variable 'seg'.
453 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
454 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
455 (s3_do_macro_bcmp): Zero inst_expand array.
456 (s3_do_macro_bcmpz): Likewise.
457 (s3_s_score_end): Delete unused local variable 'dot'.
458 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
459 * config/tc-score7.c (s7_my_get_expression): Delete unused local
460 variable 'seg'.
461 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
462 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
463 'r_new'.
464 (s7_s_score_end): Delete unused local variable 'dot'.
465 (s7_relax_frag): Delete unused local variable 'relax_size'.
466 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
467
6c30d220
L
4682011-06-10 H.J. Lu <hongjiu.lu@intel.com>
469
470 AVX Programming Reference (June, 2011)
471 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
472 unsupported_vector_index_register.
473 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
474 (check_VecOperands): New.
f9e53abc 475 (match_template): Call check_VecOperands. Handle
6c30d220
L
476 invalid_vsib_address and unsupported_vector_index_register.
477 (build_modrm_byte): Support VecSIB. Check register-only source
478 operand when two source operands are swapped.
479 (i386_index_check): Allow Xmm/Ymm index registers.
480
481 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
482 and invpcid./invpcid.
483
fd596c16
NC
4842011-06-09 Nick Clifton <nickc@redhat.com>
485
486 PR gas/12861
487 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
488 code.
489 (check_cinv_options): Remove unused local variables. Make
490 function void.
491 (md_assemble): Remove unused local variable.
492
c56791bb
RE
4932011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
494
495 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
496
331fe616 4972011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
a4482bb6
NC
498
499 PR gas/12698
500 * config/tc-arm.c (parse_psr): Set m_profile to false when
501 assembling for any architecture.
502
26d97720
NS
5032011-06-02 Jie Zhang jie@codesourcery.com
504 Nathan Sidwell nathan@codesourcery.com
505
506 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
507 (encode_arm_addr_mode_2): Set default sign of zero here ...
508 (encode_arm_addr_mode_3): ... and here.
509 (encode_arm_cp_address): ... and here.
510 (md_apply_fix): Use default sign of zero here.
511
cc643b88
NC
5122011-06-02 Nick Clifton <nickc@redhat.com>
513
514 * as.c: Fix spelling typo.
515 * read.c: Likewise.
516 * config/tc-ppc.c: Likewise.
517 * po/gas.pit: Regenerate.
518
3b2f0793
PB
5192011-05-31 Paul Brook <paul@codesourcery.com>
520
521 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
522 (arm_extensions): Allow idiv on ARMv7-R.
523 * doc/c-arm.text: Update idiv extension restrictions.
524
b5884301
PB
5252011-05-31 Paul Brook <paul@codesourcery.com>
526
527 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
528 loads.
529
10960bfb
PB
5302011-05-31 Paul Brook <paul@codesourcery.com>
531
532 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
533 addresses.
534
6e7ce2cd
PB
5352011-05-31 Paul Brook <paul@codesourcery.com>
536 Nathan Sidwell <nathan@codesourcery.com>
537
538 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
539 pc-relative fixes to constants.
540 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
cc643b88 541
8e1adb8d
NC
5422011-05-27 Nick Clifton <nickc@redhat.com>
543
544 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
545
c8fa16ed
AK
5462011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
547
548 * config/tc-s390.c (md_gather_operands): Fix check for floating
549 register pair operands.
550
5e4b319c
AK
5512011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
552
553 * config/tc-s390.c (md_gather_operands): Emit an error for odd
554 numbered registers used as register pair operand.
555
56d0a8a1
NC
5562011-05-23 Nick Clifton <nickc@redhat.com>
557
558 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
559
4a732032
BS
5602011-05-20 Bernd Schmidt <bernds@codesourcery.com>
561
562 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
563 (tic6x_parse_name): Handle it.
564 (tic6x_fix_new_exp): Handle O_pcr_offset.
565 (tic6x_fix_adjustable): Return 0 for the new relocs.
566 (md_apply_fix): Handle them.
567 (tc_gen_reloc): Likewise.
568 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
569
d0da06e2
NC
5702011-05-18 Nick Clifton <nickc@redhat.com>
571
572 PR gas/12754
573 * config/tc-tic30.c (ordinal_names): Allow translation of the
574 ordinal names.
575
a1727c1a
NC
5762011-05-18 Nick Clifton <nickc@redhat.com>
577
578 * config/tc-arm.c (s_unreq): Reword warning message to make it
579 easier to translate.
580 * config/tc-ia64.c (md_show_usage): Add note for translators.
581 * configure.in (ALL_LINGUAS): Add "fi".
582 * configure: Regenerate.
583
85645aed
TG
5842011-05-18 Tristan Gingold <gingold@adacore.com>
585
586 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
587 Put size into an union with dw.
588 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
589 (ppc_xcoff_end): Declare.
590 (md_end): Define.
591 * config/tc-ppc.c: Add includes for xcoff.
592 (ppc_dwsect): New function.
593 (md_pseudo_table): Add dwsect.
594 (struct dw_subsection): New.
595 (dw_sections): New.
596 (ppc_change_debug_section): New function.
597 (ppc_xcoff_end): Ditto.
598 (ppc_function): Adjust for ppc_tc_sy.
599 (ppc_symbol_new_hook): Ditto.
600 (ppc_frob_symbol): Ditto.
601 (ppc_frob_section): Do not set vma for debug sections.
602 (ppc_fix_adjustable): Return true for debug sections.
603 * config/obj-coff.c: Add includes for xcoff.
604 (coff_frob_section): Handle dwarf section.
605
9fd07943
NC
6062011-05-17 Nick Clifton <nickc@redhat.com>
607
4e511523
NC
608 * po/fi.po: New Finnish translation.
609 * po/fr.po: Updated French translation.
610
9fd07943
NC
611 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
612 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
613 * cond.c (s_else): Fix typos in error messages.
614 * config/tc-pj.c (md_assemble): Fix typo in error message.
615
0d7e0060
HPN
6162011-05-16 Hans-Peter Nilsson <hp@axis.com>
617
618 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
619 emitting ELF object.
620 (md_show_usage): Only mention --pic if the assembler can generate
621 ELF objects.
622 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
623 prerequisite for --pic being a valid option.
624
5648d7c7
AM
6252011-05-13 Frederic Marchal <fmarchal@perso.be>
626
627 PR gas/12755
628 * config/tc-v850.c (parse_register_list): Correct error string.
629
8aedb9fe
QN
6302011-05-12 Quentin Neill <quentin.neill@amd.com>
631
632 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
633 (i386_align_code): Ditto
634
58ad575f
MGD
6352011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
636
637 PR gas/12715
638 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
639 immediates on 32-bit hosts.
640
af2f724e
QN
6412011-05-10 Quentin Neill <quentin.neill@amd.com>
642
643 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
644 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
645 (i386_align_code): Rename PROCESSOR_BDVER1.
646 (processor_type): Ditto.
647 * doc/c-i386.texi: Add bdver2.
648
6e789b26
AM
6492011-05-10 Alan Modra <amodra@gmail.com>
650
651 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
652
1bce6bd8
PB
6532011-05-09 Paul Brook <paul@codesourcery.com>
654
655 * config/tc-tic6x.c (streq): Define.
656 (tic6x_get_unwind): New.
657 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
658 s_tic6x_personalityindex, s_tic6x_personality): New functions.
659 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
660 "personality" and "cantunwind".
661 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
662 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
663 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
664 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
665 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
666 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
667 tic6x_cfi_endproc): New.
668 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
669 (tic6x_unwind_info): New.
670 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
671 text_unwind.
672 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
673 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
674 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
675 tc_cfi_section_name): Define.
676 * doc/c-tic6x.texi: Document new unwinding directives.
677 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
678 definitions.
679 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
680 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
681 Move to dw2gencfi.h.
682 (CFI_EMIT_target): Define.
683 (dot_cfi_sections): Check tc_cfi_section_name.
684 (dot_cfi_startproc): Use tc_cfi_startproc.
685 (dot_cfi_endproc): Use tc_cfi_endproc.
686 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
687 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
688 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
689
6303c4ae
AM
6902011-05-07 Alan Modra <amodra@gmail.com>
691
692 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
693 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
694 (struct fde_entry): Rename cseg to cur_seg.
695 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
696 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
697 that #if SUPPORT_FRAME_LINKONCE.
698 (cfi_finish): Likewise.
699
f3b574bf
TG
7002011-05-06 Tristan Gingold <gingold@adacore.com>
701
702 * read.c (s_comm_internal): Remove code for OBJ_VMS.
703 (s_data): Ditto.
704 (s_text): Ditto.
705 * write.c (write_object_file): Ditto.
706 * symbols.c (define_sym_at_dot): Ditto.
707 (colon): Ditto.
708
67ed7401
AM
7092011-05-05 Alan Modra <amodra@gmail.com>
710
711 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
712 file to conditionally compile code added 2011-04-26.
713 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
714 when SUPPORT_FRAME_LINKONCE.
715 (get_cfi_seg): Likewise. Reintroduce old code for when not
716 SUPPORT_FRAME_LINKONCE.
717 (cfi_finish): Move get_cfi_seg calls out of loop when not
718 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
719
2fbb87f6
PB
7202011-05-03 Paul Brook <paul@codesourcery.com>
721
2fbb87f6
PB
722 * config/tc-tic6x.c (s_ehtype): New function.
723 (md_pseudo_table): Add "ehtype".
724 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
725 * doc/c-tic6x.texi: Document .ehtype directive.
726
72b016b4
NC
7272011-04-26 Kai Tietz <ktietz@redhat.com>
728
729 * dw2gencfi.c (dwcfi_seg_list): New struct.
730 (dwcfi_hash): New static hash variable.
731 (get_debugseg_name): New.
732 (alloc_debugseg_item): New.
733 (make_debug_seg): New.
734 (dwcfi_hash_insert): New.
735 (dwcfi_hash_find): New.
736 (dwcfi_hash_find_or_make): New.
737 (cfi_insn_data): New member cur_seg.
738 (cie_entry): Likewise.
739 (fde_entry): New cseg and handled members.
740 (alloc_fde_entry): Initialize cseg member.
741 (alloc_cfi_insn_data): Initialize cur_seg member.
742 (dot_cfi_sections): Compare for beginning of
743 section names via strncmp.
744 (get_cfi_seg): New.
745 (cfi_finish): Treat link-once sections.
746 (is_now_linkonce_segment): New local helper.
747 (output_cie): Ignore cie entries not member of current
748 segment.
749 (output_fde): Likewise.
750 (select_cie_for_fde): Likewise.
751 (cfi_change_reg_numbers): Add new argument for current segment
752 and ignore insn elements, if not part of current segment.
753 * ehopt.c (get_cie_info): Use strncmp for
754 section name matching.
755 (heck_eh_frame): Likewise.
756
15be625d
CM
7572011-04-20 Catherine Moore <clm@codesourcery.com>
758 David Ung <davidu@mips.com>
759
760 * config/mips.c (mips_cl_insn): Add new field complete_p.
761 (create_insn): Initialize complete_p to zero.
762 (BASE_REG_EQ): New.
763 (fix_24k_align_to): New.
764 (fix_24k_store_info): Declare.
765 (fix_24k_sort): New.
766 (fix_24k_record_store_info): New.
767 (nops_for_24k): New.
768 (nops_for_insn): Call nops_for_24k.
769 (append_insn): Move O_constant expression handling.
72b016b4 770
8ad17b3a
AM
7712011-04-20 Alan Modra <amodra@gmail.com>
772
773 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
774 (hash_new_sized): New function, split out from..
775 (hash_new): ..here.
776
00bbc0bd
NC
7772011-04-19 Nick Clifton <nickc@redhat.com>
778
779 * config/tc-arm.c (v7m_psrs): Revert previous delta.
780
ac7f631b
NC
7812011-04-18 Julian Brown <julian@codesourcery.com>
782 Nick Clifton <nickc@redhat.com>
783
784 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
785 detect M-profile targets.
786 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
787 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
788
902cc293
AK
7892011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
790
791 * config/tc-s390.c (s390_machine): New prototype.
792 (md_pseudo_table): New pseudo-op .machine.
793 (s390_opcode_hash): Initialize to NULL.
794 (s390_parse_cpu): New function.
795 (md_parse_option): Use s390_parse_cpu.
796 (s390_setup_opcodes): New function.
797 (md_begin): Use s390_setup_opcodes.
798 (s390_machine): New hook handling the new .machine pseudo.
799
800 * doc/c-s390.texi: Document the new pseudo op .machine.
801
2b5d6a91
L
8022011-04-12 H.J. Lu <hongjiu.lu@intel.com>
803
804 * config/tc-i386.c (i386_mach): Start error message with lower
805 case.
806 (md_begin): Likewise.
807 (md_parse_option): Likewise.
808 (i386_target_format): Likewise.
809 (check_byte_reg): Likewise.
810 (check_long_reg): Likewise.
811 (check_qword_reg): Likewise.
812 (check_word_reg): Likewise.
813
0d9b4b55
NC
8142011-04-12 Nick Clifton <nickc@redhat.com>
815
816 PR gas/12532
817 * config/tc-arm.c (relax_branch): Do not relax branches to
818 preemptable global symbols.
819
d2cd1205
JB
8202011-04-11 Julian Brown <julian@codesourcery.com>
821
822 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
823 for *APSR bitmasks.
824 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
825 Remove OP_RVC_PSR.
826 (parse_operands): Likewise.
827 (do_mrs): Tweak error message for constraint.
828 (do_t_mrs): Update constraints for changes to APSR support.
829 (do_t_msr): Likewise. Don't set PSR_f flag here.
830 (psrs): Remove "g", "nzcvq", "nzcvqg".
831 (insns): Tweak entries for msr and mrs instructions.
832
4a57f2cf
KT
8332011-04-11 Kai Tietz <ktietz@redhat.com>
834
835 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
836
249c2423
NC
8372011-04-11 Nick Clifton <nickc@redhat.com>
838
4e4f7c87
NC
839 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
840 * config/tc-i386.h (x86_cons): Always prototype.
841
249c2423
NC
842 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
843 in order to avoid a compile time warning.
844 (getprocreg_image): Likewise.
845
d86fff44
AM
8462011-04-11 Alan Modra <amodra@gmail.com>
847
848 * config/tc-cr16.c (getprocreg_image): Correct range check.
849 (getprocregp_image): Likewise.
850
8c5fc800
JM
8512011-04-06 Joseph Myers <joseph@codesourcery.com>
852
853 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
854 xscale*be|xscale*b, xscale*): Remove architectures.
855 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
856 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
857
592588f3
TG
8582011-04-01 Tristan Gingold <gingold@adacore.com>
859
860 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
861
ac145307
BS
8622011-03-31 Bernd Schmidt <bernds@codesourcery.com>
863
864 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
865 static variables.
866 (md_begin): Initialize them.
867 (s_tic6x_scomm): New static function.
868 (md_pseudo_table): Add "scomm".
869 (tc_gen_reloc): Really undo all adjustments made by
870 bfd_install_relocation.
871 * doc/c-tic6x.texi: Document the .scomm directive.
872
fc0eebac
TG
8732011-03-31 Tristan Gingold <gingold@adacore.com>
874
875 * dwarf2dbg.c (DWARF2_VERSION): Define.
876 (out_debug_line): Use it.
877 (out_debug_aranges): Ditto.
878 (out_debug_info): Ditto.
879 * config/tc-ia64.h (DWARF2_VERSION): Override it.
880
f956bf33
NC
8812011-03-30 Michael Snyder <msnyder@vmware.com>
882
883 * obj-elf.c (obj_elf_section): Free malloced name.
4ac14836
NC
884 * macro.c (get_any_string): Free malloced br_buf.
885 (do_formals): Free 'formal'.
f956bf33 886
c734e7e3
TG
8872011-03-30 Tristan Gingold <gingold@adacore.com>
888
889 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
890 to offset only if within is set.
891 (ppc_stabx): Reformat. For stsym stabs, add a check and set
892 within only for symbols.
893
af3ecb4a
RH
8942011-03-29 Richard Henderson <rth@redhat.com>
895
896 PR 12610
897 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
898 label; zap alpha_insn_label.
899
75c1c785
L
9002011-03-29 H.J. Lu <hongjiu.lu@intel.com>
901
902 * config/tc-i386.c (handle_quad): Properly handle multiple
903 operands.
904
fc99ebdc
MF
9052011-03-29 Mike Frysinger <vapier@gentoo.org>
906
907 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
908 reg $2 is the same as dest reg $4.
909
3823a074
MF
9102011-03-29 Mike Frysinger <vapier@gentoo.org>
911
912 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
913 reg $2 is the same as dest reg $4.
914
0be99d4b
MF
9152011-03-29 Mike Frysinger <vapier@gentoo.org>
916
917 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
918 reg $2 is the same as dest reg $4.
919
f4a2f576
MF
9202011-03-28 Mike Frysinger <vapier@gentoo.org>
921
922 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
923 reg $1 is the same as dest reg $7.
924
314a59d5
L
9252011-03-28 H.J. Lu <hongjiu.lu@intel.com>
926
927 * config/tc-i386.c (handle_quad): New.
928 (md_pseudo_table): Add "quad".
929
5b806d27
NC
9302011-03-26 John Marino <binutils@marino.st>
931
932 * configure.tgt: Fix support for *-*-dragonfly*.
933 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
934 * config/te-dragonfly.h: New file.
935
b8c610a7
EW
9362011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
937
938 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
939 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
940 at90pwm161.
941 * doc/c-avr.texi: Document new device names.
942
2dd0dc94
MF
9432011-03-24 Mike Frysinger <vapier@gentoo.org>
944
945 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
946 reg $1 is the same as dest reg $7.
947 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
948 dest reg $7.
949
a0bc8198
MF
9502011-03-24 Mike Frysinger <vapier@gentoo.org>
951
952 * config/bfin-parse.y (check_macfuncs): Clarify error message when
953 P is mismatched. Check destination regno are off by one when P is
954 set, or are equal when P is not set.
955
ba48c47b
MF
9562011-03-23 Mike Frysinger <vapier@gentoo.org>
957
958 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
959 the same as dest reg $4.
960 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
961
6f8a4444
EW
9622011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
963
964 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
965 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
966 * doc/c-avr.texi: Document new device names.
967
8cc66334
EW
9682011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
969
970 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
971 (AVR_INSN): Change definition to match.
972 (avr_opcodes): Likewise, change to match.
973 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
974 (md_show_usage): Add XMEGA architecture names.
975 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
976 Add support for SPM Z+ instruction.
977 * doc/c-avr.texi: Add documentation for XMEGA architectures and
978 devices.
979
4fb8d1c6
EW
9802011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
981
982 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
983
869fe6ea
AM
9842011-03-18 Alan Modra <amodra@gmail.com>
985
986 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
987 on .size expression errors rather than symbols in the size expression.
988
144886fa
AM
9892011-03-18 Alan Modra <amodra@gmail.com>
990
991 * input-scrub.c (line_numberT): Delete.
992 (input_scrub_close): Reset line counters.
993 * messages.c (as_show_where): Don't print invalid line number.
994 (as_warn_internal, as_bad_internal): Likewise.
995
04648e65
AM
9962011-03-18 Alan Modra <amodra@gmail.com>
997
998 * read.c (read_a_source_file): Remove md_after_pass_hook.
999 Move "quit" label before set of dot_symbol.
1000 * config/tc-d10v.h (md_after_pass_hook): Don't define.
1001 * config/tc-d30v.h (md_after_pass_hook): Likewise.
1002 * config/tc-m32r.h (md_after_pass_hook): Likewise.
1003 (md_cleanup): Define to call m32r_fill_insn.
1004
db3a4e40
AK
10052011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1006
1007 * config/tc-s390.c (md_parse_option): Add -march=all option which
1008 switches to the highest available CPU.
1009
259af69e
AM
10102011-03-17 Alan Modra <amodra@gmail.com>
1011
1012 PR 12569
1013 * expr.c (operand): Correct passing of "mode" to expr.
1014 * read.c (do_org): Allow expr_section.
1015 (get_known_segmented_expression): Don't assert anything about the
1016 segment.
1017
21be61f5
L
10182011-03-16 H.J. Lu <hongjiu.lu@intel.com>
1019
1020 * as.c (show_usage): Add --size-check=.
1021 (parse_args): Add and handle OPTION_SIZE_CHECK.
1022
1023 * as.h (flag_size_check): New.
1024
1025 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
1026 bad .size directive only for --size-check=error.
1027
1028 * doc/as.texinfo: Document --size-check=.
1029
7f35e991
MF
10302011-03-14 Mike Frysinger <vapier@gentoo.org>
1031
1032 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
1033 bf542/bf544/bf547/bf548/bf549.
1034
34e77a92
RS
10352011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
1036
1037 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
1038 determine whether a relocation is needed.
1039 (md_apply_fix, arm_apply_sym_value): Likewise.
1040
35fc36a8
RS
10412011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
1042
1043 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
1044 for Thumb symbols.
1045
502df130
NC
10462011-03-11 Nick Clifton <nickc@redhat.com>
1047
1048 * remap.c (remap_debug_filename): Always allocate a buffer for the
1049 returned pointer.
1050 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
1051 remap_debug_filename.
1052
5652b491
MS
10532011-03-10 Michael Snyder <msnyder@vmware.com>
1054
1055 Revert the following change:
1056 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
1057 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
1058
293855c8
AM
10592011-03-10 Alan Modra <amodra@gmail.com>
1060
1061 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
1062 TARGET_SYMBOL_FIELDS): Don't define.
1063 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
1064
9f6db0d3
MS
10652011-03-09 Michael Snyder <msnyder@vmware.com>
1066
1067 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
1068 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
5652b491
MS
1069 (emit_fixed_inc_line_addr): Assign instead of conditional in
1070 assert.
9f6db0d3 1071
49002d7f
L
10722011-03-05 H.J. Lu <hongjiu.lu@intel.com>
1073
1074 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
1075 non-constant .size expression.
1076
14aa5a8b
NC
10772011-03-02 Nick Clifton <nickc@redhat.com>
1078
1079 * ecoff.c: Incldue filenames.h
1080
8b6efd89
KT
10812011-02-28 Kai Tietz <kai.tietz@onevision.com>
1082
1083 * depend.c (register_dependency): Use filename_(n)cmp.
1084 * dwarf2dbg.c (get_filenum): Likewise.
1085 * ecoff.c (add_file): Likewise.
1086 (ecoff_generate_asm_lineno): Likewise.
1087 * input-scrub.c (new_logical_line_flags): Likewise.
1088 * listing.c (file_info): Likewise.
1089 (listing_newline): Likewise.
1090 * remap.c (remap_debug_filename): Likewise.
1091 * stabs.c (generate_asm_file): Likewise.
1092 (stabs_generate_asm_lineno): Likewise.
1093
d455268f
MR
10942011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1095
1096 * config/tc-mips.c (append_insn): Disable branch relaxation for
1097 DSP instructions.
1098
3eebd5eb
MR
10992011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1100
1101 * config/tc-mips.c (macro): Handle M_PREF_AB.
1102
66b3e8da
MR
11032011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1104
1105 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
1106 register to use.
1107 (RELAX_BRANCH_UNCOND): Adjust accordingly.
1108 (RELAX_BRANCH_LIKELY): Likewise.
1109 (RELAX_BRANCH_LINK): Likewise.
1110 (RELAX_BRANCH_TOOFAR): Likewise.
1111 (RELAX_BRANCH_AT): New macro.
1112 (append_insn): Encode the temporary register to use in standard
1113 MIPS branch relaxation.
1114 (relaxed_branch_length): Update according to changes to
1115 RELAX_BRANCH_ENCODE.
1116 (md_convert_frag): Use the encoded register as the temporary.
1117
ce70d90a
MR
11182011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1119
1120 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
1121 reject PC-relative relocations.
1122
5c4f07ba
MR
11232011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1124
1125 * config/tc-mips.c (md_convert_frag): Correct message
1126 capitalization.
1127
5a0ade8b
AM
11282011-02-28 Alan Modra <amodra@gmail.com>
1129
1130 * symbols.c (report_op_error): Remove unnecessary forward declaration.
1131 Add "op" parameter. Report operator and operand segments in error
1132 message, not operand symbols.
1133 (resolve_symbol_value): Always set segment for equated symbols, not
1134 just when finalizing. Adjust report_op_error calls.
1135
f2d8a97c
L
11362011-02-25 H.J. Lu <hongjiu.lu@intel.com>
1137
7f648587
L
1138 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
1139 if 64bit relocations aren't allowed.
f2d8a97c 1140
e1e90034
AM
11412011-02-25 Alan Modra <amodra@gmail.com>
1142
1143 PR gas/12519
1144 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
1145
dfa58db1
MR
11462011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
1147
1148 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
1149 initialization of offset_reloc.
1150
d58a1929
RH
11512011-02-15 Richard Henderson <rth@redhat.com>
1152
1153 * dw2gencfi.c (dot_cfi_dummy): New.
1154 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
1155 * read.c (pobegin): Unconditionally call cfi_pop_insert.
1156
822ce8ee
RW
11572011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1158
1159 * configure: Regenerate.
1160
36f44611
MF
11612011-02-13 Mike Frysinger <vapier@gentoo.org>
1162
1163 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
1164 * config/bfin-parse.y (BYTEOP2M): Delete token.
1165 (asm_1): Remove BYTEOP2M insn matching.
1166
26bb3ddd
MF
11672011-02-12 Mike Frysinger <vapier@gentoo.org>
1168
1169 * config/bfin-defs.h: Include opcode/bfin.h.
1170 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
1171
347d120a
MF
11722011-02-11 Mike Frysinger <vapier@gentoo.org>
1173
1174 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
1175 (Modify Registers): Fix subtracted typo.
1176 (.byte2): Extend and swap descriptions with .byte4.
1177 (.byte4): Extend and swap descriptions with .byte2.
1178 (.db, .dw, .dd): Document behavior.
1179
5f956293
MF
11802011-02-11 Mike Frysinger <vapier@gentoo.org>
1181
1182 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
1183
c0e524fe
AM
11842011-02-11 Alan Modra <amodra@gmail.com>
1185
1186 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
1187
635fb38d
AM
11882011-02-10 Alan Modra <amodra@gmail.com>
1189
1190 * doc/as.texinfo (Overview): Add missing markup around Blackfin
1191 and PowerPC options.
1192
b8b738ac
AM
11932011-02-10 Alan Modra <amodra@gmail.com>
1194
1195 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
1196 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
1197 (Overview <Target PowerPC options>): Add a number of missing options.
1198 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
1199
2dde1948
L
12002011-02-08 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 PR gas/6957
1203 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
1204 for i686.
1205
a586129e
L
12062011-02-08 H.J. Lu <hongjiu.lu@intel.com>
1207
1208 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
1209 for ISA extensions.
1210 (md_parse_option): Likewise.
1211
98d23bef
BS
12122011-02-04 Bernd Schmidt <bernds@codesourcery.com>
1213
1214 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
1215 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
1216 (TIC6X Options): Don't mention "-matomic".
1217 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
1218 (md_longopts): Remove corresponding entries.
1219 (md_parse_option): Don't handle them.
1220 (md_show_usage): Don't document them.
1221 (tic6x_atomic): Delete variable.
1222 (tic6x_update_features): Always copy tic6x_arch_enable to
1223 tic6x_features.
1224 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
1225 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
1226 (md_pseudo_table): Remove ".atomic" and ".noatomic".
1227
a22429b9
NC
12282011-01-31 Nick Clifton <nickc@redhat.com>
1229
1230 * write.c (write_contents): Include output file name and bfd error
1231 value when reporting the inability to write to the output file.
1232 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
1233 frag that has a non-zero fill value.
1234
eb6fae19
DD
12352011-01-27 DJ Delorie <dj@redhat.com>
1236
1237 * config/tc-rx.c (md_convert_frag): If we can't compute the target
1238 address, zero out the values stored in the object file to make
1239 objdump's output consistent.
1240
ca19b261
KT
12412011-01-26 Kai Tietz <kai.tietz@onevision.com>
1242
1243 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
1244 x86_dwarf2_return_column to 32.
1245
b37a4e79
NC
12462011-01-20 Nick Clifton <nickc@redhat.com>
1247
1248 PR gas/12384
1249 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
1250 comparison.
1251
6ac88ef3
L
12522011-01-18 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 * write.c (compress_debug): Return if section size is smaller
1255 than 32 bytes.
1256
24a2d04d
L
12572011-01-18 H.J. Lu <hongjiu.lu@intel.com>
1258
1259 PR gas/12409
1260 * write.c (compress_debug): Return if section size is 0.
1261
4a58c4bd
NC
12622011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
1263
1264 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
1265 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
1266 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
1267 fmp626} options.
1268
7c31ae13
NC
12692011-01-18 Nick Clifton <nickc@redhat.com>
1270
1271 PR gas/12390
1272 * doc/all.texi: Add NS32K
1273 * doc/as.texinfo: Remove target specific details of which
1274 characters act as comment initiators and statement separators into
1275 individual target specific files.
1276 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
1277 the hash character at the start of a line.
1278 * doc/c-arm.texi (ARM-Chars): Likewise.
1279 * doc/c-avr.texi (AVR-Chars): Likewise.
1280 * doc/c-d10v.texi (D10V-Chars): Likewise.
1281 * doc/c-d30v.texi (D30V-Chars): Likewise.
1282 * doc/c-mmix.texi (MMIX-Chars): Likewise.
1283 * doc/c-s390.texi (s390 characters): Likewise.
1284 * doc/c-sh.texi (SH-Chars): Likewise.
1285 * doc/c-sh64.texi (SH64-Chars): Likewise.
1286 * doc/c-sparc.texi (SPARC-Chars): Likewise.
1287 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
1288 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
1289 * doc/c-z80.texi (Z80-Chars): Likewise.
1290 * doc/c-z8k.texi (Z8000-Chars): Likewise.
1291 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
1292 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
1293 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
1294 line separator characters.
1295 * doc/c-cr16.texi (CR16 Syntax): Likewise.
1296 * doc/c-i386.texi (i386-Chars): Likewise.
1297 * doc/c-i860.texi (i860-Chars): Likewise.
1298 * doc/c-i960.texi (i960-Chars): Likewise.
1299 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
1300 * doc/c-lm32.texi (LM32-Chars): likewise.
1301 * doc/c-m32c.texi (M32C-Chars): Likewise.
1302 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
1303 * doc/c-m68k.texi (M68K-Chars): Likewise.
1304 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
1305 * doc/c-msp430.texi (MSP430-Chars): Likewise.
1306 * doc/c-mt.texi (MT-Chars): Likewise.
1307 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
1308 * doc/c-pj.texi (PJ-Chars): Likewise.
1309 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
1310 * doc/c-rx.texi (RX-Chars): Likewise.
1311 * doc/c-score.texi (SCORE-Chars): Likewise.
1312 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
1313 * doc/c-v850.texi (V850-Chars): Likewise.
1314 * doc/c-vax.texi (VAX-Chars): Likewise.
1315 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
1316
2a2a0f38
QN
13172011-01-17 Quentin Neill <quentin.neill@amd.com>
1318
1319 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
1320
1321 * doc/c-i386.texi (i386-TBM): New section.
1322
862be3fb
L
13232011-01-16 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
1326 (disallow_64bit_reloc): This.
1327 (md_assemble): Don't check movabs for x32 mode here.
1328 (i386_target_format): Updated.
1329 (tc_gen_reloc): Check if 64bit relocations are allowed.
1330
7f56bc95
L
13312011-01-15 H.J. Lu <hongjiu.lu@intel.com>
1332
1333 * config/tc-i386.c (disallow_64bit_disp): New.
1334 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
1335 X86_64_ABI/X86_64_X32_ABI.
1336 (md_assemble): Don't allow movabs with relocation in x32 mode.
1337 (i386_target_format): Updated.
1338
570561f7
L
13392011-01-14 H.J. Lu <hongjiu.lu@intel.com>
1340
1341 * config/tc-i386.c (OPTION_N32): Renamed to ...
1342 (OPTION_X32): This.
1343 (md_longopts): Replace n32 with x32.
1344 (md_parse_option): Updated.
1345 (md_show_usage): Likewise.
1346
4a22cb7c 1347 * doc/c-i386.texi: Replace --n32 with --x32.
570561f7 1348
c95354ed
MX
13492011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
1350
1351 * config/tc-mips.c (mips_ip): Update error messages. Take an
1352 unadjusted offset for "+c" argument.
1353
7af8ed2d
NC
13542011-01-10 Nick Clifton <nickc@redhat.com>
1355
1356 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
1357 it.
1358
cdf9ccec
NC
13592011-01-10 Nick Clifton <nickc@redhat.com>
1360
1361 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
1362 part of the file.
1363
0855e32b
NS
13642011-01-10 Nathan Sidwell <nathan@codesourcery.com>
1365 Glauber de Oliveira Costa <glommer@gmail.com>
1366
1367 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
1368 .tlsdescseq directive.
1369 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
1370 following a symbol.
1371 (s_arm_tls_descseq): New directive.
1372 (md_pseudo_table): Add it.
1373 (encode_branch): Allow TLS_CALL relocs too.
1374 (do_t_blx, do_t_branch23): Use encode_branch.
1375 (reloc_names): Add tlsdesc and tlscall.
1376 (md_apply_fix): Process tls desc relocations.
1377 (tc_gen_reloc): Likewise.
1378 (arm_fix_adjustable): Likewise.
1379
87973e9f
QN
13802011-01-07 Quentin Neill <quentin.neill@amd.com>
1381
1382 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
1383
1384 * doc/c-i386.texi (i386-BMI): New section.
1385
12505806
PK
13862011-01-06 Paul Koning <ni1d@arrl.net>
1387
1388 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
1389 references to absolute addresses.
1390
9689e3a3
DD
13912011-01-05 DJ Delorie <dj@redhat.com>
1392
1393 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
1394 instead of an RH_NEG32 one.
1395
35cc6a0b
L
13962011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1397
1398 * doc/c-i386.texi: Clarify --n32.
1399
f12dc422
L
14002011-01-04 H.J. Lu <hongjiu.lu@intel.com>
1401
1402 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
1403 integer registers in VEX.vvvv. Check register-only source
1404 operand when two source operands are swapped. Properly update
1405 destination when two source operands are swapped.
1406
0db46eb4
L
14072011-01-01 H.J. Lu <hongjiu.lu@intel.com>
1408
1409 * gas.c (parse_args): Update copyright to 2011.
1410
5b326c3e 1411For older changes see ChangeLog-2010
08d56133
NC
1412\f
1413Local Variables:
1414mode: change-log
1415left-margin: 8
1416fill-column: 74
1417version-control: never
1418End:
This page took 0.591118 seconds and 4 git commands to generate.