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