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