*** empty log message ***
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
f124dd4f
DM
12011-09-08 Mark Fortescue <mark@mtfhpc.demon.co.uk>
2
3 * config/tc-sparc.c (sparc_ip): Handle 'i' + r<0..31>
4 in addition to 'i' + [goli]<0..7>.
5
32425e36
NC
62011-09-08 Joern Rennecke <joern.rennecke@embecosm.com>
7
8 * cgen.c (gas_cgen_pcrel_r_type): New function.
9 (gas_cgen_tc_gen_reloc): Check for GAS_CGEN_PCREL_R_TYPE.
10 * cgen.h (gas_cgen_pcrel_r_type): Declare.
11
48b07401
RS
122011-09-08 Richard Sandiford <rdsandiford@googlemail.com>
13
14 PR gas/13167
15 * dwarf2dbg.c (dwarf2_flush_pending_lines): Use symbol_temp_new_now.
16
5045d766
RS
172011-09-05 Richard Sandiford <rdsandiford@googlemail.com>
18
19 PR gas/13024
20 * dwarf2dbg.c (pending_lines, pending_lines_tail): New variables.
21 (dwarf2_gen_line_info_1): Delete.
22 (dwarf2_push_line, dwarf2_flush_pending_lines): New functions.
23 (dwarf2_gen_line_info, dwarf2_emit_label): Use them.
24 (dwarf2_consume_line_info): Call dwarf2_flush_pending_lines.
25 (dwarf2_directive_loc): Push previous .locs instead of generating
26 them immediately.
27
7cf80422
NC
282011-08-26 Nick Clifton <nickc@redhat.com>
29
30 * po/es.po: Updated Spanish translation.
31
0ac5db19
TG
322011-08-26 Tristan Gingold <gingold@adacore.com>
33
34 * config/tc-alpha.c (s_alpha_linkage): Simplify. Add comments.
35
362011-08-26 Tristan Gingold <gingold@adacore.com>
37
38 * config/tc-alpha.c (add_to_link_pool): Improve comment.
39 (s_alpha_fp_save): Fix indentation.
40
6753e72f
NC
412011-08-19 Nick Clifton <nickc@redhat.com>
42
43 * doc/as.texinfo: Include c-xstormy16.texi.
44
7230378d
AM
452011-08-18 Alan Modra <amodra@gmail.com>
46
47 * write.c (resolve_reloc_expr_symbols): Convert local symbols
48 on relocs to section+offset.
49 (get_frag_for_reloc): New function.
50 (write_relocs): Merge sort fixup relocs with those from .reloc
51 directives.
52
87333bb7
MR
532011-08-10 Maciej W. Rozycki <macro@codesourcery.com>
54
55 * config/tc-mips.c (can_swap_branch_p): Update the comment on
56 MIPS16 fixups.
57
b5503c7b
MR
582011-08-09 Chao-ying Fu <fu@mips.com>
59 Daniel Jacobowitz <dan@codesourcery.com>
60
61 * config/tc-mips.c (mips_cpu_info_table): Add "m14k" and
62 "m14kc".
63 * doc/c-mips.texi (MIPS architecture options): Add "m14k" and
64 "m14kc" to the list of -march options.
65
dec0624d
MR
662011-08-09 Chao-ying Fu <fu@mips.com>
67 Maciej W. Rozycki <macro@codesourcery.com>
68
69 * config/tc-mips.c (mips_set_options): Add ase_mcu.
70 (mips_opts): Initialise ase_mcu to -1.
71 (ISA_SUPPORTS_MCU_ASE): New macro.
72 (MIPS_CPU_ASE_MCU): Likewise.
73 (is_opcode_valid): Handle MCU.
74 (macro_build, macro): Likewise.
75 (validate_mips_insn, validate_micromips_insn): Likewise.
76 (mips_ip): Likewise.
77 (options): Add OPTION_MCU and OPTION_NO_MCU.
78 (md_longopts): Add mmcu and mno-mcu.
79 (md_parse_option): Handle OPTION_MCU and OPTION_NO_MCU.
80 (mips_after_parse_args): Handle MCU.
81 (s_mipsset): Likewise.
82 (md_show_usage): Handle MCU options.
83
84 * doc/as.texinfo: Document -mmcu and -mno-mcu options.
85 * doc/c-mips.texi: Likewise, and document ".set mcu" and
86 ".set nomcu" directives.
87
2b0c8b40
MR
882011-08-09 Maciej W. Rozycki <macro@codesourcery.com>
89
90 * config/tc-mips.c (gpr_mod_mask): Remove INSN2_MOD_GPR_MB,
91 INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG,
92 INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MM,
93 INSN2_MOD_GPR_MN, INSN2_MOD_GPR_MP and INSN2_MOD_GPR_MQ opcode
94 register use checks.
95 (gpr_read_mask): Add INSN2_READ_GPR_MC, INSN2_READ_GPR_ME
96 INSN2_READ_GPR_MG, INSN2_READ_GPR_MJ, INSN2_READ_GPR_MMN,
97 INSN2_READ_GPR_MP and INSN2_READ_GPR_MQ opcode register use
98 checks.
99 (gpr_write_mask): Replace INSN2_WRITE_GPR_S opcode register
100 use flag with INSN_WRITE_GPR_S. Add INSN2_WRITE_GPR_MB,
101 INSN2_WRITE_GPR_MHI, INSN2_WRITE_GPR_MJ and INSN2_WRITE_GPR_MP
102 opcode register use checks.
103 (can_swap_branch_p): Enable microMIPS branch swapping.
104 (append_insn): Likewise.
105
40209cad
MR
1062011-08-09 Maciej W. Rozycki <macro@codesourcery.com>
107
108 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Remove forced 16-bit
109 branch size information.
110 (RELAX_MICROMIPS_U16BIT): Remove macro.
111 (RELAX_MICROMIPS_UNCOND): Adjust accordingly.
112 (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
113 (RELAX_MICROMIPS_RELAX32): Likewise.
114 (RELAX_MICROMIPS_TOOFAR16): Likewise.
115 (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
116 (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
117 (RELAX_MICROMIPS_TOOFAR32): Likewise.
118 (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
119 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
120 (append_insn): Always check forced_insn_length for microMIPS
121 relaxation. Adjust code for the removal of
122 RELAX_MICROMIPS_U16BIT.
123 (mips_ip) <'D', 'E'>: If forced_insn_length, then emit the
124 relocation straight away.
125 (relaxed_micromips_16bit_branch_length): Adjust code for the
126 removal of RELAX_MICROMIPS_U16BIT.
127
74a6005f
TG
1282011-08-08 Tristan Gingold <gingold@adacore.com>
129
130 * config/obj-macho.c (obj_mach_o_section): New function.
131 (struct known_section): New type.
132 (known_sections): Declare.
133 (obj_mach_o_known_section): New function.
134 (obj_mach_o_common_parse): Ditto.
135 (obj_mach_o_comm): Ditto.
136 (obj_mach_o_subsections_via_symbols): Ditto.
137 (mach_o_pseudo_table): Add new pseudos.
138
af385746
RH
1392011-08-06 Richard Henderson <rth@redhat.com>
140
141 * dw2gencfi.c (all_fde_data): Export.
142 * dw2gencfi.h (all_fde_data): Declare.
143 * config/tc-alpha.c (alpha_elf_md_end): Don't convert legacy unwind
144 info to cfi unwind info if the user already has supplied some.
145
14fe068b
RS
1462011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
147
148 * config/tc-mips.c (emit_nop): Delete.
149 (get_delay_slot_nop): New function.
150 (nops_for_insn_or_target): Use it.
151 (append_insn): Likewise. When avoiding hazards, call add_fixed_insn
152 and insert_into_history directly.
153
11625dd8
RS
1542011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
155
156 * config/tc-mips.c (delayed_branch_p, compact_branch_p)
157 (uncond_branch_p, branch_likely_p): New functions.
158 (insns_between, nops_for_insn_or_target, append_insn)
159 (macro_start): Use them.
160 (get_append_method): Likewise. Remove redundant test.
161
ea783ef3
DM
1622011-08-05 David S. Miller <davem@davemloft.net>
163
164 * config/tc-sparc.c (v9a_asr_table): Add "cps".
165 (sparc_ip): Handle '4', '5' and '(' format codes.
166
2ae08483
L
1672011-08-04 H.J. Lu <hongjiu.lu@intel.com>
168
169 PR gas/13056
170 * output-file.c (output_file_close): Call bfd_cache_close_all
171 on error.
172
173 * write.c (write_object_file): Revert the last change.
174
5e9f6467
AM
1752011-08-04 Alan Modra <amodra@gmail.com>
176
177 * write.c (write_object_file): Call set_symtab even if we had
178 errors.
179
249a777b
TG
1802011-08-04 Tristan Gingold <gingold@adacore.com>
181
182 * config/obj-elf.c (obj_elf_section): Do not free name.
183
877807f8
NC
1842011-08-03 James Greenhalgh <james.greenhalgh@arm.com>
185
186 * config/tc-arm.c (do_t_strexbh): New.
187 (insns): Update accordingly.
188
d7921315
L
1892011-08-01 H.J. Lu <hongjiu.lu@intel.com>
190
191 PR ld/13048
192 * config/tc-i386.c (handle_quad): Removed.
193 (md_pseudo_table): Remove "quad".
194 (tc_gen_reloc): Don't check BFD_RELOC_64 for disallow_64bit_reloc.
195 (x86_dwarf2_addr_size): New.
196
197 * config/tc-i386.h (x86_dwarf2_addr_size): New.
198 (DWARF2_ADDR_SIZE): Likewise.
199
a8040cf2
NC
2002011-08-01 Nick Clifton <nickc@redhat.com>
201
202 PR ld/12974
203 * config/tc-arm.c (literal_pool): Add locs field.
204 (add_to_lit_pool): Initialise the locs entry for the new literal.
205 (s_ltorg): Generate a DWARF2 line number entry for each emitted
206 literal pool entry.
207
1596988d
TG
2082011-08-01 Tristan Gingold <gingold@adacore.com>
209
210 * write.c (write_relocs): Fix -Wshadow in DEBUG3 and DEBUG4.
211
8d8385cf
TG
2122011-08-01 Tristan Gingold <gingold@adacore.com>
213
214 * frags.c (frag_grow): Simplify the code.
215
c3109199
RS
2162011-07-30 Richard Sandiford <rdsandiford@googlemail.com>
217
218 * config/tc-mips.c (nops_for_vr4130): Revert previous commit.
219
2309ddf2
MR
2202011-07-29 Maciej W. Rozycki <macro@codesourcery.com>
221
222 * config/tc-mips.c: Adjust comments throughout.
223 (reglist_lookup): Reshape code.
224 (jmp_reloc_p, jalr_reloc_p): Reformat.
225 (got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS
226 relocations.
227 (gpr_mod_mask): Remove unused variable.
228 (gpr_read_mask, gpr_write_mask): Reshape code.
229 (fpr_read_mask, fpr_write_mask): Likewise.
230 (nops_for_vr4130): Ensure non-microMIPS mode.
231 (can_swap_branch_p): Correct pinfo2 reference. Reshape code.
232 (append_insn): Skip Loongson 2F workaround in MIPS16 mode. Use
233 the outermost operator of a compound relocation to determines
234 the relocated field. Fix formatting.
235 (md_convert_frag): Reshape code.
236
69b1d605
TG
2372011-07-29 Tristan Gingold <gingold@adacore.com>
238
239 * frags.c (frag_var_init): New function.
240 (frag_var): Call frag_var_init to initialize.
241 (frag_variant): Ditto.
242
9aec2026
NC
2432011-07-27 Nathan Sidwell <nathan@codesourcery.com>
244
245 * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a
246 warning.
247 * doc/as.texinfo (Offset): Document .offset directive.
248
088b3cd0
TG
2492011-07-27 Tristan Gingold <gingold@adacore.com>
250
251 * frags.c (frag_grow): Revert previous patch.
252
53d780c9
NC
2532011-07-26 Kazuhiro Inaoka <kazuhiro.inaoka.ud@renesas.com>
254
255 * config/tc-rx.c (md_convert_frag): Fix encoding of beq.a
256 synthetic instruction.
257
179809c0
TG
2582011-07-25 Tristan Gingold <gingold@adacore.com>
259
260 * frags.c (frag_grow): Simplify the code.
261
df58fc94
RS
2622011-07-24 Maciej W. Rozycki <macro@codesourcery.com>
263 Chao-ying Fu <fu@mips.com>
264 Richard Sandiford <rdsandiford@googlemail.com>
265
266 * config/tc-mips.h (mips_segment_info): Add one bit for
267 microMIPS.
268 (TC_LABEL_IS_LOCAL): New macro.
269 (mips_label_is_local): New prototype.
270 * config/tc-mips.c (S0, S7): New macros.
271 (emit_branch_likely_macro): New variable.
272 (mips_set_options): Add micromips.
273 (mips_opts): Initialise micromips to -1.
274 (file_ase_micromips): New variable.
275 (CPU_HAS_MICROMIPS): New macro.
276 (hilo_interlocks): Set for microMIPS too.
277 (gpr_interlocks): Likewise.
278 (cop_interlocks): Likewise.
279 (cop_mem_interlocks): Likewise.
280 (HAVE_CODE_COMPRESSION): New macro.
281 (micromips_op_hash): New variable.
282 (micromips_nop16_insn, micromips_nop32_insn): New variables.
283 (NOP_INSN): Handle microMIPS ASE.
284 (mips32_to_micromips_reg_b_map): New macro.
285 (mips32_to_micromips_reg_c_map): Likewise.
286 (mips32_to_micromips_reg_d_map): Likewise.
287 (mips32_to_micromips_reg_e_map): Likewise.
288 (mips32_to_micromips_reg_f_map): Likewise.
289 (mips32_to_micromips_reg_g_map): Likewise.
290 (mips32_to_micromips_reg_l_map): Likewise.
291 (mips32_to_micromips_reg_n_map): Likewise.
292 (mips32_to_micromips_reg_h_map): New variable.
293 (mips32_to_micromips_reg_m_map): Likewise.
294 (mips32_to_micromips_reg_q_map): Likewise.
295 (micromips_to_32_reg_h_map): New variable.
296 (micromips_to_32_reg_i_map): Likewise.
297 (micromips_to_32_reg_m_map): Likewise.
298 (micromips_to_32_reg_q_map): Likewise.
299 (micromips_to_32_reg_b_map): New macro.
300 (micromips_to_32_reg_c_map): Likewise.
301 (micromips_to_32_reg_d_map): Likewise.
302 (micromips_to_32_reg_e_map): Likewise.
303 (micromips_to_32_reg_f_map): Likewise.
304 (micromips_to_32_reg_g_map): Likewise.
305 (micromips_to_32_reg_l_map): Likewise.
306 (micromips_to_32_reg_n_map): Likewise.
307 (micromips_imm_b_map, micromips_imm_c_map): New macros.
308 (RELAX_DELAY_SLOT_16BIT): New macro.
309 (RELAX_DELAY_SLOT_SIZE_FIRST): Likewise.
310 (RELAX_DELAY_SLOT_SIZE_SECOND): Likewise.
311 (RELAX_MICROMIPS_ENCODE, RELAX_MICROMIPS_P): New macros.
312 (RELAX_MICROMIPS_TYPE, RELAX_MICROMIPS_AT): Likewise.
313 (RELAX_MICROMIPS_U16BIT, RELAX_MICROMIPS_UNCOND): Likewise.
314 (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
315 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16): Likewise.
316 (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
317 (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
318 (RELAX_MICROMIPS_TOOFAR32): Likewise.
319 (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
320 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
321 (INSERT_OPERAND, EXTRACT_OPERAND): Handle microMIPS ASE.
322 (mips_macro_warning): Add delay_slot_16bit_p, delay_slot_32bit_p,
323 fsize and insns.
324 (mips_mark_labels): New function.
325 (mips16_small, mips16_ext): Remove variables, replacing with...
326 (forced_insn_size): ... this.
327 (append_insn, mips16_ip): Update accordingly.
328 (micromips_insn_length): New function.
329 (insn_length): Return the length of microMIPS instructions.
330 (mips_record_mips16_mode): Rename to...
331 (mips_record_compressed_mode): ... this. Handle microMIPS ASE.
332 (install_insn): Handle microMIPS ASE.
333 (reglist_lookup): New function.
334 (is_size_valid, is_delay_slot_valid): Likewise.
335 (md_begin): Handle microMIPS ASE.
336 (md_assemble): Likewise. Update for append_insn interface change.
337 (micromips_reloc_p): New function.
338 (got16_reloc_p): Handle microMIPS ASE.
339 (hi16_reloc_p): Likewise.
340 (lo16_reloc_p): Likewise.
341 (jmp_reloc_p): New function.
342 (jalr_reloc_p): Likewise.
343 (matching_lo_reloc): Handle microMIPS ASE.
344 (insn_uses_reg, reg_needs_delay): Likewise.
345 (mips_move_labels): Likewise.
346 (mips16_mark_labels): Rename to...
347 (mips_compressed_mark_labels): ... this. Handle microMIPS ASE.
348 (gpr_mod_mask): New function.
349 (gpr_read_mask, gpr_write_mask): Handle microMIPS ASE.
350 (fpr_read_mask, fpr_write_mask): Likewise.
351 (insns_between, nops_for_vr4130, nops_for_insn): Likewise.
352 (fix_loongson2f_nop, fix_loongson2f_jump): Likewise.
353 (MICROMIPS_LABEL_CHAR): New macro.
354 (micromips_target_label, micromips_target_name): New variables.
355 (micromips_label_name, micromips_label_expr): New functions.
356 (micromips_label_inc, micromips_add_label): Likewise.
357 (mips_label_is_local): Likewise.
358 (micromips_map_reloc): Likewise.
359 (can_swap_branch_p): Handle microMIPS ASE.
360 (append_insn): Add expansionp argument. Handle microMIPS ASE.
361 (start_noreorder, end_noreorder): Handle microMIPS ASE.
362 (macro_start, macro_warning, macro_end): Likewise.
363 (brk_fmt, cop12_fmt, jalr_fmt, lui_fmt): New variables.
364 (mem12_fmt, mfhl_fmt, shft_fmt, trap_fmt): Likewise.
365 (BRK_FMT, COP12_FMT, JALR_FMT, LUI_FMT): New macros.
366 (MEM12_FMT, MFHL_FMT, SHFT_FMT, TRAP_FMT): Likewise.
367 (macro_build): Handle microMIPS ASE. Update for append_insn
368 interface change.
369 (mips16_macro_build): Update for append_insn interface change.
370 (macro_build_jalr): Handle microMIPS ASE.
371 (macro_build_lui): Likewise. Simplify.
372 (load_register): Handle microMIPS ASE.
373 (load_address): Likewise.
374 (move_register): Likewise.
375 (macro_build_branch_likely): New function.
376 (macro_build_branch_ccl): Likewise.
377 (macro_build_branch_rs): Likewise.
378 (macro_build_branch_rsrt): Likewise.
379 (macro): Handle microMIPS ASE.
380 (validate_micromips_insn): New function.
381 (expr_const_in_range): Likewise.
382 (mips_ip): Handle microMIPS ASE.
383 (options): Add OPTION_MICROMIPS and OPTION_NO_MICROMIPS.
384 (md_longopts): Add mmicromips and mno-micromips.
385 (md_parse_option): Handle OPTION_MICROMIPS and
386 OPTION_NO_MICROMIPS.
387 (mips_after_parse_args): Handle microMIPS ASE.
388 (md_pcrel_from): Handle microMIPS relocations.
389 (mips_force_relocation): Likewise.
390 (md_apply_fix): Likewise.
391 (mips_align): Handle microMIPS ASE.
392 (s_mipsset): Likewise.
393 (s_cpload, s_cpsetup, s_cpreturn): Use relocation wrappers.
394 (s_dtprel_internal): Likewise.
395 (s_gpword, s_gpdword): Likewise.
396 (s_insn): Handle microMIPS ASE.
397 (s_mips_stab): Likewise.
398 (relaxed_micromips_32bit_branch_length): New function.
399 (relaxed_micromips_16bit_branch_length): New function.
400 (md_estimate_size_before_relax): Handle microMIPS ASE.
401 (mips_fix_adjustable): Likewise.
402 (tc_gen_reloc): Handle microMIPS relocations.
403 (mips_relax_frag): Handle microMIPS ASE.
404 (md_convert_frag): Likewise.
405 (mips_frob_file_after_relocs): Likewise.
406 (mips_elf_final_processing): Likewise.
407 (mips_nop_opcode): Likewise.
408 (mips_handle_align): Likewise.
409 (md_show_usage): Handle microMIPS options.
410 * symbols.c (TC_LABEL_IS_LOCAL): New macro.
411 (S_IS_LOCAL): Add a TC_LABEL_IS_LOCAL check.
412
413 * doc/as.texinfo (Target MIPS options): Add -mmicromips and
414 -mno-micromips.
415 (-mmicromips, -mno-micromips): New options.
416 * doc/c-mips.texi (-mmicromips, -mno-micromips): New options.
417 (MIPS ISA): Document .set micromips and .set nomicromips.
418 (MIPS insn): Update for microMIPS support.
419
a40bc9dd
RS
4202011-07-24 Maciej W. Rozycki <macro@codesourcery.com>
421
422 * config/tc-mips.c (mips_ip): Make a copy of the instruction's
423 mnemonic and use it for further processing.
424
bcd530a7
RS
4252011-07-24 Maciej W. Rozycki <macro@codesourcery.com>
426
427 * config/tc-mips.c (can_swap_branch_p): Adjust for the rename of
428 INSN_TRAP to INSN_NO_DELAY_SLOT. Remove the check for INSN_SYNC
429 as well as explicit checks for ERET and DERET when scheduling
430 branch delay slots.
431
7a9068fe
L
4322011-07-22 H.J. Lu <hongjiu.lu@intel.com>
433
434 * config/tc-i386.c (cpu_arch): Add k1om.
435 (i386_align_code): Handle PROCESSOR_K1OM.
436 (check_cpu_arch_compatible): Check EM_K1OM.
437 (i386_arch): Handle Intel K1OM.
438 (i386_mach): Return bfd_mach_k1om for Intel K1OM.
439 (i386_target_format): Return ELF_TARGET_K1OM_FORMAT for Intel
440 K1OM.
441
442 * config/tc-i386.h (ELF_TARGET_K1OM_FORMAT): New.
443 (processor_type): Add PROCESSOR_K1OM.
444
445 * doc/c-i386.texi: Document k1om.
446
2aab8acd
L
4472011-07-18 H.J. Lu <hongjiu.lu@intel.com>
448
449 * doc/c-i386.texi: Fix a typo.
450
01f372ca
RS
4512011-07-06 Aurelien Jarno <aurelien@aurel32.net>
452
453 * config/tc-mips.c (append_insn): delete prev_pinfo2 and pinfo2.
454
fe35f09f
RS
4552011-07-04 Richard Sandiford <rdsandiford@googlemail.com>
456
457 * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Fix handling
458 of register 0.
459
e3a82c8e
MR
4602011-07-04 Maciej W. Rozycki <macro@codesourcery.com>
461
462 * config/tc-mips.c (append_insn): Make sure DWARF-2 location
463 information is properly adjusted for branches that get swapped.
464
9c55345c
TS
4652011-07-03 Samuel Thibault <samuel.thibault@gnu.org>
466 Thomas Schwinge <thomas@schwinge.name>
467
2bb70ae0 468 PR binutils/12913
9c55345c
TS
469 * config/obj-elf.c (obj_elf_type): Use ELFOSABI_GNU name instead of
470 ELFOSABI_LINUX alias.
471 * config/tc-ia64.c: Likewise.
472
5f4cb198
NC
4732011-06-30 Paul Carroll <pcarroll@codesourcery.com>
474
475 * config/tc-arm.c (do_t_add_sub): Only allow LSL shifts of less
476 than 4 in Thumb mode.
477
08f10d51
NC
4782011-06-30 Nick Clifton <nickc@redhat.com>
479
480 PR gas/12848
481 * config/tc-arm.c (BAD_RANGE): New error message define.
482 (md_apply_fix): Use it.
483 Fix range check for thumb branch instructions.
484
a4e06468
RS
4852011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
486
487 * config/tc-mips.c (append_method): New enum.
488 (can_swap_branch_p, get_append_method): New functions.
489 (append_insn): Use get_append_method to decide how the instruction
490 should be added.
491
9fe77896
RS
4922011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
493
494 * config/tc-mips.c (append_insn): Remove bogus goto.
495
13408f1e
RS
4962011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
497
498 * config/tc-mips.c (append_insn): Always clear the history after an
499 unconditional branch.
500
ceb94aa5
RS
5012011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
502
503 * config/tc-mips.c (find_altered_mips16_opcode): New function.
504 (append_insn): Use it.
505
4c260379
RS
5062011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
507
508 * config/tc-mips.c (insn_uses_reg): Delete.
509 (gpr_read_mask, gpr_write_mask): New functions.
510 (fpr_read_mask, fpr_write_mask): Likewise.
511 (insns_between, nops_for_vr4130, append_insn): Use them.
512
02b1ab82
RS
5132011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
514
515 * config/tc-mips.c (md_mips_end): Call mips_emit_delays.
516
49c62a33
NC
5172011-06-29 Dave Martin <dave.martin@linaro.org>
518
519 PR gas/12931
520 * config/tc-arm.c (mapping_state): When changing to ARM or THUMB
521 state set the minimum required alignment of the section.
522
7016a5d5
TG
5232011-06-29 Tristan Gingold <gingold@adacore.com>
524
525 * config/tc-i386.c (i386_mach): Convert to ISO-C.
526 (md_begin, pe_directive_secrel, md_estimate_size_before_relax): Ditto.
527 (md_convert_frag, md_apply_fix, md_undefined_symbol): Ditto.
528 (md_section_align, tc_gen_reloc): Ditto.
529
af24f60c
TG
5302011-06-28 Tristan Gingold <gingold@adacore.com>
531
532 * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not
533 generate dummy fix.
534
e1f4d6bd
TG
5352011-06-28 Tristan Gingold <gingold@adacore.com>
536
537 * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc.
538 (emit_jsrjmp): Ditto.
539 (tc_gen_reloc): Ditto.
540
4b1c4d2b
TG
5412011-06-28 Tristan Gingold <gingold@adacore.com>
542
543 * config/tc-alpha.c (alpha_evax_proc_hash): Remove.
544 (alpha_evax_proc_data): New variable.
545 (s_alpha_ent): Prevent nested function. Remove has_insert call.
546 (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of
547 error. Do not search in the hash table. Check if match with .ent.
548 (s_alpha_name): Remove unused variable.
549 (md_begin): Remove initialization of alpha_evax_proc_hash.
550
8aacb050
TG
5512011-06-27 Tristan Gingold <gingold@adacore.com>
552
553 * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter.
554 Locally declare basesym. Add comments. Do not set literal_pool_size.
555 (load_expression): Adjust call to add_to_link_pool.
556 (s_alpha_pdesc): Define pdesc symbol using dot.
557 Do not set literal_pool_size.
558 (s_alpha_end): Use NULL instead of 0.
559
bb1d4256
TG
5602011-06-27 Tristan Gingold <gingold@adacore.com>
561
562 * config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
563 Fix style.
564 * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
565 field. Add comments.
566 (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
567
ab9794cf
RS
5682011-06-26 Richard Sandiford <rdsandiford@googlemail.com>
569
570 * config/tc-mips.c (fix_24k_record_store_info): If the previous
571 instruction was a store, and the next instructions are unknown,
572 assume the worst.
573
932d1a1b
RS
5742011-06-25 Richard Sandiford <rdsandiford@googlemail.com>
575
576 PR gas/12915
577 * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn)
578 (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters.
579 (mips_emit_delays, start_noreorder): Update accordingly.
580 (append_insn): Likewise. Revert original fix for this PR
581 and use the ignore parameter instead.
582
e3a99401
TG
5832011-06-24 Tristan Gingold <gingold@adacore.com>
584
585 PR gas/11625
586 * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
587
576d3307
TG
5882011-06-24 Tristan Gingold <gingold@adacore.com>
589
590 * config/tc-alpha.c (add_to_link_pool): Remove useless offset
591 variable. Fix style.
592
f77ef3e2
RS
5932011-06-23 Richard Sandiford <rdsandiford@googlemail.com>
594
595 PR gas/12915
596 * config/tc-mips.c (append_insn): Only consider hazards between the
597 pre-noreorder block and ip.
598
5f1af56b
MGD
5992011-06-21 Sameera Deshpande <sameera.deshpande@arm.com>
600
601 * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
602 in vcvt instruction between floating-point and fixed-point.
603 (operand_parse_code): Add "OP_oI32z".
604 (parse_operands): OP_oI32z case added.
605
ade78dba
L
6062011-06-20 H.J. Lu <hongjiu.lu@intel.com>
607
608 * configure.tgt: Revert x32 change.
609
b47d265e
NC
6102011-06-20 Nick Clifton <nickc@redhat.com>
611
612 * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
613 * doc/Makefile.in: Regenerate.
614 * doc/all.texi: Set XSTORMY16.
615 * doc/c-xstormy16.texi: New file.
616
8b778942
L
6172011-06-19 H.J. Lu <hongjiu.lu@intel.com>
618
619 * configure.tgt: Support x32.
620
90b3661c
NC
6212011-06-15 Nick Clifton <nickc@redhat.com>
622
623 * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
624
2fb4b302
TG
6252011-06-14 Tristan Gingold <gingold@adacore.com>
626
627 * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
628 (tc_new_dot_label): Define.
629 (ppc_new_dot_label): Declare.
630 * config/tc-ppc.c (ppc_frob_label): Set within target field.
631 (ppc_fix_adjustable): Use this field to adjust the reloc.
632 (ppc_new_dot_label): New function.
633
85b0f90c
AM
6342011-06-14 Alan Modra <amodra@gmail.com>
635
636 * po/POTFILES.in: Regenerate.
637
aa137e4d
NC
6382011-06-13 Walter Lee <walt@tilera.com>
639
640 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
641 config/tc-tilepro.c.
642 (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
643 config/tc-tilepro.h.
644 * Makefile.in: Regenerate.
645 * configure.tgt (tilepro-*-*): New.
646 (tilegx-*-*): Likewise.
647 * config/tc-tilegx.c: New file.
648 * config/tc-tilegx.h: Likewise.
649 * config/tc-tilepro.h: Likewise.
650 * config/tc-tilepro.c: Likewise.
651 * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
652 c-tilepro.texi.
653 * doc/Makefile.in: Regenerate.
654 * doc/all.texi (TILEGX): Define.
655 (TILEPRO): Define.
656 * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include
657 c-tilegx.texi and c-tilepro.texi.
658 * doc/c-tilegx.texi: New.
659 * doc/c-tilepro.texi: New.
660
94342ec3
NC
6612011-06-13 Nick Clifton <nickc@redhat.com>
662
663 PR gas/12854
664 * config/tc-arm.c (do_shift): Do not allow shift operations at the
665 end of a register based shift insn.
666 (do_t_shift): Likewise.
667
f9e53abc
NC
6682011-06-13 Nick Clifton <nickc@redhat.com>
669
670 * config/tc-score.c (s3_my_get_expression): Delete unused local
671 variable 'seg'.
672 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
673 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
674 (s3_do_macro_bcmp): Zero inst_expand array.
675 (s3_do_macro_bcmpz): Likewise.
676 (s3_s_score_end): Delete unused local variable 'dot'.
677 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
678 * config/tc-score7.c (s7_my_get_expression): Delete unused local
679 variable 'seg'.
680 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
681 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
682 'r_new'.
683 (s7_s_score_end): Delete unused local variable 'dot'.
684 (s7_relax_frag): Delete unused local variable 'relax_size'.
685 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
686
6c30d220
L
6872011-06-10 H.J. Lu <hongjiu.lu@intel.com>
688
689 AVX Programming Reference (June, 2011)
690 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
691 unsupported_vector_index_register.
692 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
693 (check_VecOperands): New.
f9e53abc 694 (match_template): Call check_VecOperands. Handle
6c30d220
L
695 invalid_vsib_address and unsupported_vector_index_register.
696 (build_modrm_byte): Support VecSIB. Check register-only source
697 operand when two source operands are swapped.
698 (i386_index_check): Allow Xmm/Ymm index registers.
699
700 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
701 and invpcid./invpcid.
702
fd596c16
NC
7032011-06-09 Nick Clifton <nickc@redhat.com>
704
705 PR gas/12861
706 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
707 code.
708 (check_cinv_options): Remove unused local variables. Make
709 function void.
710 (md_assemble): Remove unused local variable.
711
c56791bb
RE
7122011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
713
714 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
715
331fe616 7162011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
a4482bb6
NC
717
718 PR gas/12698
719 * config/tc-arm.c (parse_psr): Set m_profile to false when
720 assembling for any architecture.
721
26d97720
NS
7222011-06-02 Jie Zhang jie@codesourcery.com
723 Nathan Sidwell nathan@codesourcery.com
724
725 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
726 (encode_arm_addr_mode_2): Set default sign of zero here ...
727 (encode_arm_addr_mode_3): ... and here.
728 (encode_arm_cp_address): ... and here.
729 (md_apply_fix): Use default sign of zero here.
730
cc643b88
NC
7312011-06-02 Nick Clifton <nickc@redhat.com>
732
733 * as.c: Fix spelling typo.
734 * read.c: Likewise.
735 * config/tc-ppc.c: Likewise.
736 * po/gas.pit: Regenerate.
737
3b2f0793
PB
7382011-05-31 Paul Brook <paul@codesourcery.com>
739
740 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
741 (arm_extensions): Allow idiv on ARMv7-R.
742 * doc/c-arm.text: Update idiv extension restrictions.
743
b5884301
PB
7442011-05-31 Paul Brook <paul@codesourcery.com>
745
746 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
747 loads.
748
10960bfb
PB
7492011-05-31 Paul Brook <paul@codesourcery.com>
750
751 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
752 addresses.
753
6e7ce2cd
PB
7542011-05-31 Paul Brook <paul@codesourcery.com>
755 Nathan Sidwell <nathan@codesourcery.com>
756
757 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
758 pc-relative fixes to constants.
759 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
cc643b88 760
8e1adb8d
NC
7612011-05-27 Nick Clifton <nickc@redhat.com>
762
763 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
764
c8fa16ed
AK
7652011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
766
767 * config/tc-s390.c (md_gather_operands): Fix check for floating
768 register pair operands.
769
5e4b319c
AK
7702011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
771
772 * config/tc-s390.c (md_gather_operands): Emit an error for odd
773 numbered registers used as register pair operand.
774
56d0a8a1
NC
7752011-05-23 Nick Clifton <nickc@redhat.com>
776
777 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
778
4a732032
BS
7792011-05-20 Bernd Schmidt <bernds@codesourcery.com>
780
781 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
782 (tic6x_parse_name): Handle it.
783 (tic6x_fix_new_exp): Handle O_pcr_offset.
784 (tic6x_fix_adjustable): Return 0 for the new relocs.
785 (md_apply_fix): Handle them.
786 (tc_gen_reloc): Likewise.
787 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
788
d0da06e2
NC
7892011-05-18 Nick Clifton <nickc@redhat.com>
790
791 PR gas/12754
792 * config/tc-tic30.c (ordinal_names): Allow translation of the
793 ordinal names.
794
a1727c1a
NC
7952011-05-18 Nick Clifton <nickc@redhat.com>
796
797 * config/tc-arm.c (s_unreq): Reword warning message to make it
798 easier to translate.
799 * config/tc-ia64.c (md_show_usage): Add note for translators.
800 * configure.in (ALL_LINGUAS): Add "fi".
801 * configure: Regenerate.
802
85645aed
TG
8032011-05-18 Tristan Gingold <gingold@adacore.com>
804
805 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
806 Put size into an union with dw.
807 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
808 (ppc_xcoff_end): Declare.
809 (md_end): Define.
810 * config/tc-ppc.c: Add includes for xcoff.
811 (ppc_dwsect): New function.
812 (md_pseudo_table): Add dwsect.
813 (struct dw_subsection): New.
814 (dw_sections): New.
815 (ppc_change_debug_section): New function.
816 (ppc_xcoff_end): Ditto.
817 (ppc_function): Adjust for ppc_tc_sy.
818 (ppc_symbol_new_hook): Ditto.
819 (ppc_frob_symbol): Ditto.
820 (ppc_frob_section): Do not set vma for debug sections.
821 (ppc_fix_adjustable): Return true for debug sections.
822 * config/obj-coff.c: Add includes for xcoff.
823 (coff_frob_section): Handle dwarf section.
824
9fd07943
NC
8252011-05-17 Nick Clifton <nickc@redhat.com>
826
4e511523
NC
827 * po/fi.po: New Finnish translation.
828 * po/fr.po: Updated French translation.
829
9fd07943
NC
830 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
831 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
832 * cond.c (s_else): Fix typos in error messages.
833 * config/tc-pj.c (md_assemble): Fix typo in error message.
834
0d7e0060
HPN
8352011-05-16 Hans-Peter Nilsson <hp@axis.com>
836
837 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
838 emitting ELF object.
839 (md_show_usage): Only mention --pic if the assembler can generate
840 ELF objects.
841 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
842 prerequisite for --pic being a valid option.
843
5648d7c7
AM
8442011-05-13 Frederic Marchal <fmarchal@perso.be>
845
846 PR gas/12755
847 * config/tc-v850.c (parse_register_list): Correct error string.
848
8aedb9fe
QN
8492011-05-12 Quentin Neill <quentin.neill@amd.com>
850
851 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
852 (i386_align_code): Ditto
853
58ad575f
MGD
8542011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
855
856 PR gas/12715
857 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
858 immediates on 32-bit hosts.
859
af2f724e
QN
8602011-05-10 Quentin Neill <quentin.neill@amd.com>
861
862 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
863 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
864 (i386_align_code): Rename PROCESSOR_BDVER1.
865 (processor_type): Ditto.
866 * doc/c-i386.texi: Add bdver2.
867
6e789b26
AM
8682011-05-10 Alan Modra <amodra@gmail.com>
869
870 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
871
1bce6bd8
PB
8722011-05-09 Paul Brook <paul@codesourcery.com>
873
874 * config/tc-tic6x.c (streq): Define.
875 (tic6x_get_unwind): New.
876 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
877 s_tic6x_personalityindex, s_tic6x_personality): New functions.
878 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
879 "personality" and "cantunwind".
880 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
881 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
882 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
883 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
884 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
885 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
886 tic6x_cfi_endproc): New.
887 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
888 (tic6x_unwind_info): New.
889 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
890 text_unwind.
891 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
892 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
893 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
894 tc_cfi_section_name): Define.
895 * doc/c-tic6x.texi: Document new unwinding directives.
896 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
897 definitions.
898 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
899 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
900 Move to dw2gencfi.h.
901 (CFI_EMIT_target): Define.
902 (dot_cfi_sections): Check tc_cfi_section_name.
903 (dot_cfi_startproc): Use tc_cfi_startproc.
904 (dot_cfi_endproc): Use tc_cfi_endproc.
905 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
906 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
907 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
908
6303c4ae
AM
9092011-05-07 Alan Modra <amodra@gmail.com>
910
911 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
912 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
913 (struct fde_entry): Rename cseg to cur_seg.
914 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
915 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
916 that #if SUPPORT_FRAME_LINKONCE.
917 (cfi_finish): Likewise.
918
f3b574bf
TG
9192011-05-06 Tristan Gingold <gingold@adacore.com>
920
921 * read.c (s_comm_internal): Remove code for OBJ_VMS.
922 (s_data): Ditto.
923 (s_text): Ditto.
924 * write.c (write_object_file): Ditto.
925 * symbols.c (define_sym_at_dot): Ditto.
926 (colon): Ditto.
927
67ed7401
AM
9282011-05-05 Alan Modra <amodra@gmail.com>
929
930 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
931 file to conditionally compile code added 2011-04-26.
932 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
933 when SUPPORT_FRAME_LINKONCE.
934 (get_cfi_seg): Likewise. Reintroduce old code for when not
935 SUPPORT_FRAME_LINKONCE.
936 (cfi_finish): Move get_cfi_seg calls out of loop when not
937 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
938
2fbb87f6
PB
9392011-05-03 Paul Brook <paul@codesourcery.com>
940
2fbb87f6
PB
941 * config/tc-tic6x.c (s_ehtype): New function.
942 (md_pseudo_table): Add "ehtype".
943 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
944 * doc/c-tic6x.texi: Document .ehtype directive.
945
72b016b4
NC
9462011-04-26 Kai Tietz <ktietz@redhat.com>
947
948 * dw2gencfi.c (dwcfi_seg_list): New struct.
949 (dwcfi_hash): New static hash variable.
950 (get_debugseg_name): New.
951 (alloc_debugseg_item): New.
952 (make_debug_seg): New.
953 (dwcfi_hash_insert): New.
954 (dwcfi_hash_find): New.
955 (dwcfi_hash_find_or_make): New.
956 (cfi_insn_data): New member cur_seg.
957 (cie_entry): Likewise.
958 (fde_entry): New cseg and handled members.
959 (alloc_fde_entry): Initialize cseg member.
960 (alloc_cfi_insn_data): Initialize cur_seg member.
961 (dot_cfi_sections): Compare for beginning of
962 section names via strncmp.
963 (get_cfi_seg): New.
964 (cfi_finish): Treat link-once sections.
965 (is_now_linkonce_segment): New local helper.
966 (output_cie): Ignore cie entries not member of current
967 segment.
968 (output_fde): Likewise.
969 (select_cie_for_fde): Likewise.
970 (cfi_change_reg_numbers): Add new argument for current segment
971 and ignore insn elements, if not part of current segment.
972 * ehopt.c (get_cie_info): Use strncmp for
973 section name matching.
974 (heck_eh_frame): Likewise.
975
15be625d
CM
9762011-04-20 Catherine Moore <clm@codesourcery.com>
977 David Ung <davidu@mips.com>
978
979 * config/mips.c (mips_cl_insn): Add new field complete_p.
980 (create_insn): Initialize complete_p to zero.
981 (BASE_REG_EQ): New.
982 (fix_24k_align_to): New.
983 (fix_24k_store_info): Declare.
984 (fix_24k_sort): New.
985 (fix_24k_record_store_info): New.
986 (nops_for_24k): New.
987 (nops_for_insn): Call nops_for_24k.
988 (append_insn): Move O_constant expression handling.
72b016b4 989
8ad17b3a
AM
9902011-04-20 Alan Modra <amodra@gmail.com>
991
992 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
993 (hash_new_sized): New function, split out from..
994 (hash_new): ..here.
995
00bbc0bd
NC
9962011-04-19 Nick Clifton <nickc@redhat.com>
997
998 * config/tc-arm.c (v7m_psrs): Revert previous delta.
999
ac7f631b
NC
10002011-04-18 Julian Brown <julian@codesourcery.com>
1001 Nick Clifton <nickc@redhat.com>
1002
1003 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
1004 detect M-profile targets.
1005 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
1006 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
1007
902cc293
AK
10082011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1009
1010 * config/tc-s390.c (s390_machine): New prototype.
1011 (md_pseudo_table): New pseudo-op .machine.
1012 (s390_opcode_hash): Initialize to NULL.
1013 (s390_parse_cpu): New function.
1014 (md_parse_option): Use s390_parse_cpu.
1015 (s390_setup_opcodes): New function.
1016 (md_begin): Use s390_setup_opcodes.
1017 (s390_machine): New hook handling the new .machine pseudo.
1018
1019 * doc/c-s390.texi: Document the new pseudo op .machine.
1020
2b5d6a91
L
10212011-04-12 H.J. Lu <hongjiu.lu@intel.com>
1022
1023 * config/tc-i386.c (i386_mach): Start error message with lower
1024 case.
1025 (md_begin): Likewise.
1026 (md_parse_option): Likewise.
1027 (i386_target_format): Likewise.
1028 (check_byte_reg): Likewise.
1029 (check_long_reg): Likewise.
1030 (check_qword_reg): Likewise.
1031 (check_word_reg): Likewise.
1032
0d9b4b55
NC
10332011-04-12 Nick Clifton <nickc@redhat.com>
1034
1035 PR gas/12532
1036 * config/tc-arm.c (relax_branch): Do not relax branches to
1037 preemptable global symbols.
1038
d2cd1205
JB
10392011-04-11 Julian Brown <julian@codesourcery.com>
1040
1041 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
1042 for *APSR bitmasks.
1043 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
1044 Remove OP_RVC_PSR.
1045 (parse_operands): Likewise.
1046 (do_mrs): Tweak error message for constraint.
1047 (do_t_mrs): Update constraints for changes to APSR support.
1048 (do_t_msr): Likewise. Don't set PSR_f flag here.
1049 (psrs): Remove "g", "nzcvq", "nzcvqg".
1050 (insns): Tweak entries for msr and mrs instructions.
1051
4a57f2cf
KT
10522011-04-11 Kai Tietz <ktietz@redhat.com>
1053
1054 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
1055
249c2423
NC
10562011-04-11 Nick Clifton <nickc@redhat.com>
1057
4e4f7c87
NC
1058 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
1059 * config/tc-i386.h (x86_cons): Always prototype.
1060
249c2423
NC
1061 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
1062 in order to avoid a compile time warning.
1063 (getprocreg_image): Likewise.
1064
d86fff44
AM
10652011-04-11 Alan Modra <amodra@gmail.com>
1066
1067 * config/tc-cr16.c (getprocreg_image): Correct range check.
1068 (getprocregp_image): Likewise.
1069
8c5fc800
JM
10702011-04-06 Joseph Myers <joseph@codesourcery.com>
1071
1072 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
1073 xscale*be|xscale*b, xscale*): Remove architectures.
1074 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
1075 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
1076
592588f3
TG
10772011-04-01 Tristan Gingold <gingold@adacore.com>
1078
1079 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
1080
ac145307
BS
10812011-03-31 Bernd Schmidt <bernds@codesourcery.com>
1082
1083 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
1084 static variables.
1085 (md_begin): Initialize them.
1086 (s_tic6x_scomm): New static function.
1087 (md_pseudo_table): Add "scomm".
1088 (tc_gen_reloc): Really undo all adjustments made by
1089 bfd_install_relocation.
1090 * doc/c-tic6x.texi: Document the .scomm directive.
1091
fc0eebac
TG
10922011-03-31 Tristan Gingold <gingold@adacore.com>
1093
1094 * dwarf2dbg.c (DWARF2_VERSION): Define.
1095 (out_debug_line): Use it.
1096 (out_debug_aranges): Ditto.
1097 (out_debug_info): Ditto.
1098 * config/tc-ia64.h (DWARF2_VERSION): Override it.
1099
f956bf33
NC
11002011-03-30 Michael Snyder <msnyder@vmware.com>
1101
1102 * obj-elf.c (obj_elf_section): Free malloced name.
4ac14836
NC
1103 * macro.c (get_any_string): Free malloced br_buf.
1104 (do_formals): Free 'formal'.
f956bf33 1105
c734e7e3
TG
11062011-03-30 Tristan Gingold <gingold@adacore.com>
1107
1108 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
1109 to offset only if within is set.
1110 (ppc_stabx): Reformat. For stsym stabs, add a check and set
1111 within only for symbols.
1112
af3ecb4a
RH
11132011-03-29 Richard Henderson <rth@redhat.com>
1114
1115 PR 12610
1116 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
1117 label; zap alpha_insn_label.
1118
75c1c785
L
11192011-03-29 H.J. Lu <hongjiu.lu@intel.com>
1120
1121 * config/tc-i386.c (handle_quad): Properly handle multiple
1122 operands.
1123
fc99ebdc
MF
11242011-03-29 Mike Frysinger <vapier@gentoo.org>
1125
1126 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
1127 reg $2 is the same as dest reg $4.
1128
3823a074
MF
11292011-03-29 Mike Frysinger <vapier@gentoo.org>
1130
1131 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
1132 reg $2 is the same as dest reg $4.
1133
0be99d4b
MF
11342011-03-29 Mike Frysinger <vapier@gentoo.org>
1135
1136 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
1137 reg $2 is the same as dest reg $4.
1138
f4a2f576
MF
11392011-03-28 Mike Frysinger <vapier@gentoo.org>
1140
1141 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
1142 reg $1 is the same as dest reg $7.
1143
314a59d5
L
11442011-03-28 H.J. Lu <hongjiu.lu@intel.com>
1145
1146 * config/tc-i386.c (handle_quad): New.
1147 (md_pseudo_table): Add "quad".
1148
5b806d27
NC
11492011-03-26 John Marino <binutils@marino.st>
1150
1151 * configure.tgt: Fix support for *-*-dragonfly*.
1152 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
1153 * config/te-dragonfly.h: New file.
1154
b8c610a7
EW
11552011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
1156
1157 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
1158 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
1159 at90pwm161.
1160 * doc/c-avr.texi: Document new device names.
1161
2dd0dc94
MF
11622011-03-24 Mike Frysinger <vapier@gentoo.org>
1163
1164 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
1165 reg $1 is the same as dest reg $7.
1166 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
1167 dest reg $7.
1168
a0bc8198
MF
11692011-03-24 Mike Frysinger <vapier@gentoo.org>
1170
1171 * config/bfin-parse.y (check_macfuncs): Clarify error message when
1172 P is mismatched. Check destination regno are off by one when P is
1173 set, or are equal when P is not set.
1174
ba48c47b
MF
11752011-03-23 Mike Frysinger <vapier@gentoo.org>
1176
1177 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
1178 the same as dest reg $4.
1179 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
1180
6f8a4444
EW
11812011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
1182
1183 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
1184 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
1185 * doc/c-avr.texi: Document new device names.
1186
8cc66334
EW
11872011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
1188
1189 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
1190 (AVR_INSN): Change definition to match.
1191 (avr_opcodes): Likewise, change to match.
1192 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
1193 (md_show_usage): Add XMEGA architecture names.
1194 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
1195 Add support for SPM Z+ instruction.
1196 * doc/c-avr.texi: Add documentation for XMEGA architectures and
1197 devices.
1198
4fb8d1c6
EW
11992011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
1200
1201 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
1202
869fe6ea
AM
12032011-03-18 Alan Modra <amodra@gmail.com>
1204
1205 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
1206 on .size expression errors rather than symbols in the size expression.
1207
144886fa
AM
12082011-03-18 Alan Modra <amodra@gmail.com>
1209
1210 * input-scrub.c (line_numberT): Delete.
1211 (input_scrub_close): Reset line counters.
1212 * messages.c (as_show_where): Don't print invalid line number.
1213 (as_warn_internal, as_bad_internal): Likewise.
1214
04648e65
AM
12152011-03-18 Alan Modra <amodra@gmail.com>
1216
1217 * read.c (read_a_source_file): Remove md_after_pass_hook.
1218 Move "quit" label before set of dot_symbol.
1219 * config/tc-d10v.h (md_after_pass_hook): Don't define.
1220 * config/tc-d30v.h (md_after_pass_hook): Likewise.
1221 * config/tc-m32r.h (md_after_pass_hook): Likewise.
1222 (md_cleanup): Define to call m32r_fill_insn.
1223
db3a4e40
AK
12242011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1225
1226 * config/tc-s390.c (md_parse_option): Add -march=all option which
1227 switches to the highest available CPU.
1228
259af69e
AM
12292011-03-17 Alan Modra <amodra@gmail.com>
1230
1231 PR 12569
1232 * expr.c (operand): Correct passing of "mode" to expr.
1233 * read.c (do_org): Allow expr_section.
1234 (get_known_segmented_expression): Don't assert anything about the
1235 segment.
1236
21be61f5
L
12372011-03-16 H.J. Lu <hongjiu.lu@intel.com>
1238
1239 * as.c (show_usage): Add --size-check=.
1240 (parse_args): Add and handle OPTION_SIZE_CHECK.
1241
1242 * as.h (flag_size_check): New.
1243
1244 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
1245 bad .size directive only for --size-check=error.
1246
1247 * doc/as.texinfo: Document --size-check=.
1248
7f35e991
MF
12492011-03-14 Mike Frysinger <vapier@gentoo.org>
1250
1251 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
1252 bf542/bf544/bf547/bf548/bf549.
1253
34e77a92
RS
12542011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
1255
1256 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
1257 determine whether a relocation is needed.
1258 (md_apply_fix, arm_apply_sym_value): Likewise.
1259
35fc36a8
RS
12602011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
1261
1262 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
1263 for Thumb symbols.
1264
502df130
NC
12652011-03-11 Nick Clifton <nickc@redhat.com>
1266
1267 * remap.c (remap_debug_filename): Always allocate a buffer for the
1268 returned pointer.
1269 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
1270 remap_debug_filename.
1271
5652b491
MS
12722011-03-10 Michael Snyder <msnyder@vmware.com>
1273
1274 Revert the following change:
1275 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
1276 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
1277
293855c8
AM
12782011-03-10 Alan Modra <amodra@gmail.com>
1279
1280 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
1281 TARGET_SYMBOL_FIELDS): Don't define.
1282 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
1283
9f6db0d3
MS
12842011-03-09 Michael Snyder <msnyder@vmware.com>
1285
1286 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
1287 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
5652b491
MS
1288 (emit_fixed_inc_line_addr): Assign instead of conditional in
1289 assert.
9f6db0d3 1290
49002d7f
L
12912011-03-05 H.J. Lu <hongjiu.lu@intel.com>
1292
1293 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
1294 non-constant .size expression.
1295
14aa5a8b
NC
12962011-03-02 Nick Clifton <nickc@redhat.com>
1297
1298 * ecoff.c: Incldue filenames.h
1299
8b6efd89
KT
13002011-02-28 Kai Tietz <kai.tietz@onevision.com>
1301
1302 * depend.c (register_dependency): Use filename_(n)cmp.
1303 * dwarf2dbg.c (get_filenum): Likewise.
1304 * ecoff.c (add_file): Likewise.
1305 (ecoff_generate_asm_lineno): Likewise.
1306 * input-scrub.c (new_logical_line_flags): Likewise.
1307 * listing.c (file_info): Likewise.
1308 (listing_newline): Likewise.
1309 * remap.c (remap_debug_filename): Likewise.
1310 * stabs.c (generate_asm_file): Likewise.
1311 (stabs_generate_asm_lineno): Likewise.
1312
d455268f
MR
13132011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1314
1315 * config/tc-mips.c (append_insn): Disable branch relaxation for
1316 DSP instructions.
1317
3eebd5eb
MR
13182011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1319
1320 * config/tc-mips.c (macro): Handle M_PREF_AB.
1321
66b3e8da
MR
13222011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1323
1324 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
1325 register to use.
1326 (RELAX_BRANCH_UNCOND): Adjust accordingly.
1327 (RELAX_BRANCH_LIKELY): Likewise.
1328 (RELAX_BRANCH_LINK): Likewise.
1329 (RELAX_BRANCH_TOOFAR): Likewise.
1330 (RELAX_BRANCH_AT): New macro.
1331 (append_insn): Encode the temporary register to use in standard
1332 MIPS branch relaxation.
1333 (relaxed_branch_length): Update according to changes to
1334 RELAX_BRANCH_ENCODE.
1335 (md_convert_frag): Use the encoded register as the temporary.
1336
ce70d90a
MR
13372011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1338
1339 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
1340 reject PC-relative relocations.
1341
5c4f07ba
MR
13422011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1343
1344 * config/tc-mips.c (md_convert_frag): Correct message
1345 capitalization.
1346
5a0ade8b
AM
13472011-02-28 Alan Modra <amodra@gmail.com>
1348
1349 * symbols.c (report_op_error): Remove unnecessary forward declaration.
1350 Add "op" parameter. Report operator and operand segments in error
1351 message, not operand symbols.
1352 (resolve_symbol_value): Always set segment for equated symbols, not
1353 just when finalizing. Adjust report_op_error calls.
1354
f2d8a97c
L
13552011-02-25 H.J. Lu <hongjiu.lu@intel.com>
1356
7f648587
L
1357 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
1358 if 64bit relocations aren't allowed.
f2d8a97c 1359
e1e90034
AM
13602011-02-25 Alan Modra <amodra@gmail.com>
1361
1362 PR gas/12519
1363 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
1364
dfa58db1
MR
13652011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
1366
1367 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
1368 initialization of offset_reloc.
1369
d58a1929
RH
13702011-02-15 Richard Henderson <rth@redhat.com>
1371
1372 * dw2gencfi.c (dot_cfi_dummy): New.
1373 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
1374 * read.c (pobegin): Unconditionally call cfi_pop_insert.
1375
822ce8ee
RW
13762011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1377
1378 * configure: Regenerate.
1379
36f44611
MF
13802011-02-13 Mike Frysinger <vapier@gentoo.org>
1381
1382 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
1383 * config/bfin-parse.y (BYTEOP2M): Delete token.
1384 (asm_1): Remove BYTEOP2M insn matching.
1385
26bb3ddd
MF
13862011-02-12 Mike Frysinger <vapier@gentoo.org>
1387
1388 * config/bfin-defs.h: Include opcode/bfin.h.
1389 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
1390
347d120a
MF
13912011-02-11 Mike Frysinger <vapier@gentoo.org>
1392
1393 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
1394 (Modify Registers): Fix subtracted typo.
1395 (.byte2): Extend and swap descriptions with .byte4.
1396 (.byte4): Extend and swap descriptions with .byte2.
1397 (.db, .dw, .dd): Document behavior.
1398
5f956293
MF
13992011-02-11 Mike Frysinger <vapier@gentoo.org>
1400
1401 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
1402
c0e524fe
AM
14032011-02-11 Alan Modra <amodra@gmail.com>
1404
1405 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
1406
635fb38d
AM
14072011-02-10 Alan Modra <amodra@gmail.com>
1408
1409 * doc/as.texinfo (Overview): Add missing markup around Blackfin
1410 and PowerPC options.
1411
b8b738ac
AM
14122011-02-10 Alan Modra <amodra@gmail.com>
1413
1414 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
1415 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
1416 (Overview <Target PowerPC options>): Add a number of missing options.
1417 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
1418
2dde1948
L
14192011-02-08 H.J. Lu <hongjiu.lu@intel.com>
1420
1421 PR gas/6957
1422 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
1423 for i686.
1424
a586129e
L
14252011-02-08 H.J. Lu <hongjiu.lu@intel.com>
1426
1427 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
1428 for ISA extensions.
1429 (md_parse_option): Likewise.
1430
98d23bef
BS
14312011-02-04 Bernd Schmidt <bernds@codesourcery.com>
1432
1433 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
1434 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
1435 (TIC6X Options): Don't mention "-matomic".
1436 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
1437 (md_longopts): Remove corresponding entries.
1438 (md_parse_option): Don't handle them.
1439 (md_show_usage): Don't document them.
1440 (tic6x_atomic): Delete variable.
1441 (tic6x_update_features): Always copy tic6x_arch_enable to
1442 tic6x_features.
1443 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
1444 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
1445 (md_pseudo_table): Remove ".atomic" and ".noatomic".
1446
a22429b9
NC
14472011-01-31 Nick Clifton <nickc@redhat.com>
1448
1449 * write.c (write_contents): Include output file name and bfd error
1450 value when reporting the inability to write to the output file.
1451 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
1452 frag that has a non-zero fill value.
1453
eb6fae19
DD
14542011-01-27 DJ Delorie <dj@redhat.com>
1455
1456 * config/tc-rx.c (md_convert_frag): If we can't compute the target
1457 address, zero out the values stored in the object file to make
1458 objdump's output consistent.
1459
ca19b261
KT
14602011-01-26 Kai Tietz <kai.tietz@onevision.com>
1461
1462 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
1463 x86_dwarf2_return_column to 32.
1464
b37a4e79
NC
14652011-01-20 Nick Clifton <nickc@redhat.com>
1466
1467 PR gas/12384
1468 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
1469 comparison.
1470
6ac88ef3
L
14712011-01-18 H.J. Lu <hongjiu.lu@intel.com>
1472
1473 * write.c (compress_debug): Return if section size is smaller
1474 than 32 bytes.
1475
24a2d04d
L
14762011-01-18 H.J. Lu <hongjiu.lu@intel.com>
1477
1478 PR gas/12409
1479 * write.c (compress_debug): Return if section size is 0.
1480
4a58c4bd
NC
14812011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
1482
1483 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
1484 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
1485 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
1486 fmp626} options.
1487
7c31ae13
NC
14882011-01-18 Nick Clifton <nickc@redhat.com>
1489
1490 PR gas/12390
1491 * doc/all.texi: Add NS32K
1492 * doc/as.texinfo: Remove target specific details of which
1493 characters act as comment initiators and statement separators into
1494 individual target specific files.
1495 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
1496 the hash character at the start of a line.
1497 * doc/c-arm.texi (ARM-Chars): Likewise.
1498 * doc/c-avr.texi (AVR-Chars): Likewise.
1499 * doc/c-d10v.texi (D10V-Chars): Likewise.
1500 * doc/c-d30v.texi (D30V-Chars): Likewise.
1501 * doc/c-mmix.texi (MMIX-Chars): Likewise.
1502 * doc/c-s390.texi (s390 characters): Likewise.
1503 * doc/c-sh.texi (SH-Chars): Likewise.
1504 * doc/c-sh64.texi (SH64-Chars): Likewise.
1505 * doc/c-sparc.texi (SPARC-Chars): Likewise.
1506 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
1507 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
1508 * doc/c-z80.texi (Z80-Chars): Likewise.
1509 * doc/c-z8k.texi (Z8000-Chars): Likewise.
1510 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
1511 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
1512 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
1513 line separator characters.
1514 * doc/c-cr16.texi (CR16 Syntax): Likewise.
1515 * doc/c-i386.texi (i386-Chars): Likewise.
1516 * doc/c-i860.texi (i860-Chars): Likewise.
1517 * doc/c-i960.texi (i960-Chars): Likewise.
1518 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
1519 * doc/c-lm32.texi (LM32-Chars): likewise.
1520 * doc/c-m32c.texi (M32C-Chars): Likewise.
1521 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
1522 * doc/c-m68k.texi (M68K-Chars): Likewise.
1523 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
1524 * doc/c-msp430.texi (MSP430-Chars): Likewise.
1525 * doc/c-mt.texi (MT-Chars): Likewise.
1526 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
1527 * doc/c-pj.texi (PJ-Chars): Likewise.
1528 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
1529 * doc/c-rx.texi (RX-Chars): Likewise.
1530 * doc/c-score.texi (SCORE-Chars): Likewise.
1531 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
1532 * doc/c-v850.texi (V850-Chars): Likewise.
1533 * doc/c-vax.texi (VAX-Chars): Likewise.
1534 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
1535
2a2a0f38
QN
15362011-01-17 Quentin Neill <quentin.neill@amd.com>
1537
1538 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
1539
1540 * doc/c-i386.texi (i386-TBM): New section.
1541
862be3fb
L
15422011-01-16 H.J. Lu <hongjiu.lu@intel.com>
1543
1544 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
1545 (disallow_64bit_reloc): This.
1546 (md_assemble): Don't check movabs for x32 mode here.
1547 (i386_target_format): Updated.
1548 (tc_gen_reloc): Check if 64bit relocations are allowed.
1549
7f56bc95
L
15502011-01-15 H.J. Lu <hongjiu.lu@intel.com>
1551
1552 * config/tc-i386.c (disallow_64bit_disp): New.
1553 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
1554 X86_64_ABI/X86_64_X32_ABI.
1555 (md_assemble): Don't allow movabs with relocation in x32 mode.
1556 (i386_target_format): Updated.
1557
570561f7
L
15582011-01-14 H.J. Lu <hongjiu.lu@intel.com>
1559
1560 * config/tc-i386.c (OPTION_N32): Renamed to ...
1561 (OPTION_X32): This.
1562 (md_longopts): Replace n32 with x32.
1563 (md_parse_option): Updated.
1564 (md_show_usage): Likewise.
1565
4a22cb7c 1566 * doc/c-i386.texi: Replace --n32 with --x32.
570561f7 1567
c95354ed
MX
15682011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
1569
1570 * config/tc-mips.c (mips_ip): Update error messages. Take an
1571 unadjusted offset for "+c" argument.
1572
7af8ed2d
NC
15732011-01-10 Nick Clifton <nickc@redhat.com>
1574
1575 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
1576 it.
1577
cdf9ccec
NC
15782011-01-10 Nick Clifton <nickc@redhat.com>
1579
1580 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
1581 part of the file.
1582
0855e32b
NS
15832011-01-10 Nathan Sidwell <nathan@codesourcery.com>
1584 Glauber de Oliveira Costa <glommer@gmail.com>
1585
1586 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
1587 .tlsdescseq directive.
1588 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
1589 following a symbol.
1590 (s_arm_tls_descseq): New directive.
1591 (md_pseudo_table): Add it.
1592 (encode_branch): Allow TLS_CALL relocs too.
1593 (do_t_blx, do_t_branch23): Use encode_branch.
1594 (reloc_names): Add tlsdesc and tlscall.
1595 (md_apply_fix): Process tls desc relocations.
1596 (tc_gen_reloc): Likewise.
1597 (arm_fix_adjustable): Likewise.
1598
87973e9f
QN
15992011-01-07 Quentin Neill <quentin.neill@amd.com>
1600
1601 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
1602
1603 * doc/c-i386.texi (i386-BMI): New section.
1604
12505806
PK
16052011-01-06 Paul Koning <ni1d@arrl.net>
1606
1607 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
1608 references to absolute addresses.
1609
9689e3a3
DD
16102011-01-05 DJ Delorie <dj@redhat.com>
1611
1612 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
1613 instead of an RH_NEG32 one.
1614
35cc6a0b
L
16152011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1616
1617 * doc/c-i386.texi: Clarify --n32.
1618
f12dc422
L
16192011-01-04 H.J. Lu <hongjiu.lu@intel.com>
1620
1621 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
1622 integer registers in VEX.vvvv. Check register-only source
1623 operand when two source operands are swapped. Properly update
1624 destination when two source operands are swapped.
1625
0db46eb4
L
16262011-01-01 H.J. Lu <hongjiu.lu@intel.com>
1627
1628 * gas.c (parse_args): Update copyright to 2011.
1629
5b326c3e 1630For older changes see ChangeLog-2010
08d56133
NC
1631\f
1632Local Variables:
1633mode: change-log
1634left-margin: 8
1635fill-column: 74
1636version-control: never
1637End:
This page took 0.542114 seconds and 4 git commands to generate.