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