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