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