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