* doc/as.texinfo: Refer to or include c-alpha.texi for Alpha
[binutils-gdb.git] / gas / ChangeLog
1 2010-11-22 Joseph Myers <joseph@codesourcery.com>
2
3 * doc/as.texinfo: Refer to or include c-alpha.texi for Alpha
4 options. Refer to or include c-tic6x.texi for C6X options instead
5 of duplicating documentation here.
6 * doc/c-alpha.texi, doc/c-tic6x.texi: Add markup for use in
7 manpage generation.
8
9 2010-11-19 Alan Modra <amodra@gmail.com>
10
11 PR 2606
12 * configure.in: Disable emulations for PE targets.
13 * configure: Regenerate.
14
15 2010-11-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
16
17 PR gas/12181
18 * config/obj-elf.c (elf_adjust_symtab) [TE_SOLARIS]: Make sy
19 weak hidden.
20
21 2010-11-17 Nick Clifton <nickc@redhat.com>
22
23 * input-file.c (input_file_open): Check for empty input files.
24 (input_file_get): Check for end of file before reading any more
25 data.
26 (input_file_give_next_buffer): Likewise.
27
28 2010-11-15 H.J. Lu <hongjiu.lu@intel.com>
29
30 * config/obj-elf.c (elf_process_stab): Mark parameters as
31 ATTRIBUTE_UNUSED.
32
33 2010-11-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
34
35 * config/obj-elf.c (elf_generate_asm_lineno): New function.
36 (elf_process_stab): New function.
37 (elf_format_ops): Always use them as generate_asm_lineno,
38 process_stab members.
39
40 2010-11-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
41
42 PR gas/12198
43 * config/tc-arm.c (arm_arch_v6m_only): New variable.
44 (aeabi_set_public_attributes): Ensure we only set the Operating System
45 Extension when we are on an M-profile core.
46
47 2010-11-13 Richard Sandiford <rdsandiford@googlemail.com>
48
49 * config/tc-mips.c (macro_build): Remove gas_assert from 'o' case.
50 Use a restricted gas_assert for 'i' and 'j'.
51
52 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
53
54 * config/tc-mips.c (mips_cpu_info_table): Add loongson3a in MIPS 64.
55 * doc/c-mips.texi (MIPS cpu): Add loongson3a.
56
57 2010-11-10 Richard Sandiford <richard.sandiford@linaro.org>
58
59 * config/tc-arm.c (do_t_branch): Treat (PLT) branches as wide.
60
61 2010-11-05 Nick Clifton <nickc@redhat.com>
62
63 * config/tc-cr16.c (getprocreg_image): Fix typo MAX_PREG ->
64 MAX_REG.
65 (getprocregp_image): Likewise.
66
67 2010-11-05 Tristan Gingold <gingold@adacore.com>
68
69 * po/gas.pot: Regenerate
70 * po/POTFILES.in: Regenerate
71
72 2010-11-05 Tristan Gingold <gingold@adacore.com>
73
74 * NEWS: Add marker for 2.21.
75
76 2010-11-05 Dave Korn <dave.korn.cygwin@gmail.com>
77
78 PR gas/12166
79 * config/obj-coff.c (weak_altname2name): Don't infer from the presence
80 of a period that the symbol has been already uniquify-d.
81 (weak_uniquify): Don't worry that the symbol might have been already
82 uniquify-d.
83
84 2010-11-04 Alan Modra <amodra@gmail.com>
85
86 * config/tc-ppc.c (nop_limit): New var.
87 (OPTION_NOPS): Define.
88 (md_longopts): Add --nops.
89 (md_parse_option): Handle it.
90 (md_show_usage): Publish.
91 (ppc_handle_align): Pad with a branch followed by nops if more
92 than nop_limit nops.
93
94 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
95
96 PR gas/12186
97 * config/tc-i386-intel.c (i386_intel_fold): Properly fold
98 _GLOBAL_OFFSET_TABLE_.
99
100 2010-11-02 Joseph Myers <joseph@codesourcery.com>
101
102 * config/tc-tic6x.c (OPTION_MPID, OPTION_MPIC, OPTION_MNO_PIC):
103 New enum values.
104 (md_longopts): Add options mpid, mpic and mno-pic.
105 (tic6x_pid_type, tic6x_pid, tic6x_pic, tic6x_pid_type_table,
106 tic6x_pid_types, tic6x_use_pid): New.
107 (md_parse_option): Handle new options.
108 (md_show_usage): Output help text for new options.
109 (tic6x_set_attributes): Set PID and PIC attributes.
110 * doc/as.texinfo: Document -mpid=, -mpic and -mno-pic.
111 * doc/c-tic6x.texi (TIC6X Options): Likewise.
112
113 2010-11-01 Maciej W. Rozycki <macro@linux-mips.org>
114
115 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Use the offset
116 reloc supplied.
117 (mips_ip)['o']: Initialise offset_reloc.
118
119 2010-10-29 Joseph Myers <joseph@codesourcery.com>
120
121 * doc/c-tic6x.texi (TIC6X Directives): Mention
122 Tag_ABI_compatibility.
123
124 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
125
126 * write.c (compress_debug): Optimize section flags check.
127
128 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
129 Joseph Myers <joseph@codesourcery.com>
130
131 * config/tc-tic6x.c (OPTION_MDSBT, OPTION_MNO_DSBT): New enum
132 values.
133 (md_longopts): Add mdsbt and mno-dsbt.
134 (tic6x_dsbt): New static variable.
135 (md_parse_option): Handle OPTION_MDSBT and OPTION_MNO_DSBT.
136 (md_show_usage): Output help text for -mdsbt and -mno-dsbt.
137 (TAG): Add comma at the end.
138 (tic6x_set_attributes): Set Tag_ABI_DSBT.
139 * doc/as.texinfo: Document -mdsbt and -mno-dsbt.
140 * doc/c-tic6x.texi (TIC6X Options): Likewise.
141 (TIC6X Directives): Mention Tag_ABI_DSBT.
142
143 2010-10-28 Matthias Klose <doko@ubuntu.com>
144
145 * doc/as.texinfo: Add directory section for info document.
146
147 2010-10-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
148
149 * config/tc-s390.c (md_begin): Only add to hash table if cpu and
150 mode mask fit.
151
152 2010-10-28 Alan Modra <amodra@gmail.com>
153
154 * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
155
156 2010-10-26 Alan Modra <amodra@gmail.com>
157
158 * config/obj-coff.c (coff_format_ops): Fix typo.
159
160 2010-10-25 Richard Sandiford <rdsandiford@googlemail.com>
161
162 * config/tc-mips.c (macro2): Delete.
163
164 2010-10-25 Nathan Sidwell <nathan@codesourcery.com>
165
166 * config/tc-tic6x.c: Add attribution.
167
168 2010-10-25 Mark Mitchell <mark@codesourcery.com>
169
170 * obj.h (struct format_ops): Add adjust_symtab.
171 * config/obj-multi.h (obj_adjust_symtab): Define.
172 * config/obj-aout.c (aout_format_ops): Init new field.
173 * config/obj-coff.c (coff_format_ops): Likewise.
174 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
175 * config/obj-elf.c (elf_format_ops): Likewise.
176
177 2010-10-25 Alan Modra <amodra@gmail.com>
178
179 PR gas/12049
180 * write.c (relax_frag): Don't allow forward branches to temporarily
181 becomde backward branches.
182
183 2010-10-23 Mark Mitchell <mark@codesourcery.com>
184
185 * config/obj-elf.c (elf_adjust_symtab): New. Move group section
186 processing here from elf_frob_file. Ensure that group signature
187 symbols have the name of the group.
188 (elf_frob_file): Move group section processing to
189 elf_adjust_symtab.
190 * config/obj-elf.h (elf_adjust_symtab): Declare.
191 (obj_adjust_symtab): Define.
192 * config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab.
193
194 2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
195
196 * config/tc-sparc.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define as
197 elf32-sparc-sol2.
198 (ELF64_TARGET_FORMAT): Define as elf64-sparc-sol2.
199
200 2010-10-21 Joseph Myers <joseph@codesourcery.com>
201
202 * config/tc-tic6x.c (tic6x_arch_attribute, tic6x_arches,
203 md_assemble, tic6x_set_attributes): Update for attribute renaming.
204 * doc/c-tic6x.texi: Update for attribute renaming.
205
206 2010-10-19 Alan Modra <amodra@gmail.com>
207
208 * write.c (relax_segment): Correct address on frag added to stop
209 leb128/align frags bouncing.
210
211 2010-10-19 Alan Modra <amodra@gmail.com>
212
213 PR gas/12049
214 * frags.h (struct frag): Add "region" field.
215 * write.c (relax_frag): Don't add "stretch" to forward reference
216 target if there is an intervening org or align.
217 (relax_segment): Set region.
218
219 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
220
221 * config/tc-mips.c (macro)[ldd_std]: Fix the relaxation variant
222 for absolute addressing.
223
224 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
225
226 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Handle 64-bit ABIs.
227
228 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
229
230 * config/tc-mips.c (mips_pseudo_table): Add "sbss".
231 (s_change_sec): Handle it.
232
233 2010-10-15 Mike Frysinger <vapier@gentoo.org>
234
235 * config/bfin-parse.y (BYTEOP2M): Call BYTEOP2M().
236
237 2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
238
239 * config/tc-i386.c (match_template): Check checkregsize
240 instead of w for register size check.
241
242 2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
243
244 * config/tc-i386.c (_i386_insn): Add disp32_encoding.
245 (md_assemble): Don't call optimize_disp if disp32_encoding is
246 set.
247 (parse_insn): Support .d32 to force 32bit displacement.
248 (output_branch): Use BIG if disp32_encoding is set.
249
250 * doc/c-i386.texi: Document .d32 encoding suffix.
251
252 2010-10-11 Steve Kilbane <steve.kilbane@analog.com>
253
254 * config/bfin-lex.l (FLAGS): New state.
255 (X, Z, S, M, T): Require FLAGS state.
256 ("(", ")"): Start/stop FLAGS state.
257
258 2010-10-11 David Gibson <david.gibson@analog.com>
259
260 * config/bfin-aux.h (bfin_loop_attempt_create_label): New prototype.
261 * config/bfin-parse.y (LOOP_BEGIN, LOOP_END): Handle numeric labels.
262 * config/tc-bfin.c (bfin_loop_attempt_create_label): New funtion.
263
264 2010-10-11 David Gibson <david.gibson@analog.com>
265
266 * config/tc-bfin.c (bfin_gen_loop): Check symbol before removing.
267
268 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
269
270 Fix build with -DDEBUG=7
271 * config/obj-coff.c (s_get_name, symbol_dump): Add prototypes.
272
273 2010-10-07 Bernd Schmidt <bernds@codesourcery.com>
274
275 * config/tc-tic6x.c (tic6x_try_encode): Correct encoding of fstg field
276 in SPKERNEL instructions.
277
278 2010-10-06 Nathan Sidwell <nathan@codesourcery.com>
279
280 * config/tc-arm.c (encode_branch): Remove superfluous braces.
281 (do_t_branch): Move reloc setting to end of routine.
282
283 2010-10-04 David Daney <ddaney@caviumnetworks.com>
284
285 * config/tc-mips.c (mips_fix_cn63xxp1): New variable.
286 (mips_ip): Add errata work around when mips_fix_cn63xxp1 set.
287 (OPTION_FIX_CN63XXP1, OPTION_NO_FIX_CN63XXP1): New enum options
288 enumerations.
289 (md_longopts): Add options for -mfix-cn63xxp1 and -mno-fix-cn63xxp1.
290 (md_parse_option): Handle OPTION_FIX_CN63XXP1 and
291 OPTION_NO_FIX_CN63XXP1.
292 (md_show_usage): Add documentation for -mfix-cn63xxp1.
293 * doc/c-mips.texi (-mfix-cn63xxp1, -mno-fix-cn63xxp1): Document
294 the new options.
295
296 2010-09-29 Bernd Schmidt <bernds@codesourcery.com>
297
298 * gas/tic6x/insns-bad-1.s: Remove test for readonly tscl.
299 * gas/tic6x/insns-bad-1.l: Likewise.
300 * gas/tic6x/insns-c674x.d: Add test for writeable tscl.
301 * gas/tic6x/insns-c674x.s: Likewise.
302
303 2010-09-29 Alan Modra <amodra@gmail.com>
304
305 * expr.c (expr): Correct returned segment value.
306
307 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
308
309 * configure: Regenerate.
310
311 2010-09-27 Bernd Schmidt <bernds@codesourcery.com>
312
313 * config/tc-tic6x.c (tic6x_fix_adjustable): New function.
314 * config/tc-tic6x.h (tic6x_fix_adjustable): Declare.
315 (tc_fix_adjustable): New macro.
316
317 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
318
319 * config/tc-s390.c: (md_parse_option): New option -march=z196.
320 * doc/c-s390.texi: Document new option.
321
322 2010-09-27 Tejas Belagod <tejas.belagod@arm.com>
323
324 * config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative
325 VSTR, issue an error in THUMB mode.
326
327 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
328
329 * config/tc-arm.c (arm_ext_virt): New variable.
330 (arm_reg_type): Add REG_TYPE_RNB for banked registers.
331 (reg_entry): Allow registers to be larger than a byte.
332 (reg_alias): Fix type warning.
333 (parse_operands): Parse banked registers when appropriate.
334 (do_mrs): Add support for Virtualization Extensions.
335 (do_hvc): New function.
336 (do_t_mrs): Add support for Virtualization Extensions.
337 (do_t_msr): Likewise.
338 (do_t_hvc): New function.
339 (SPLRBANK): New define.
340 (reg_names): Add banked registers.
341 (insns): Add support for Virtualization Extensions.
342 (md_apply_fixup): Likewise.
343 (arm_cpus): -mcpu=cortex-a15 implies the Virtualization Extensions.
344 (arm_extensions): Add 'virt' extension.
345 (aeabi_set_public_attributes): Add support for Virtualization
346 Extensions.
347 * doc/c-arm.texi: Document 'virt' extension.
348
349 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
350
351 * config/tc-arm.c (arm_ext_adiv): New variable.
352 (do_div): New function.
353 (insns): Accept UDIV and SDIV in ARM state.
354 (arm_cpus): The cortex-a15 option has all current v7-A extensions.
355 (arm_extensions): Add 'idiv' extension.
356 (aeabi_set_public_attributes): Update Tag_DIV_use values for the
357 Integer Divide extension.
358 * doc/c-arm.texi: Document the idiv extension.
359
360 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
361
362 * config/tc-arm.c (arm_ext_v6m): New variable.
363 (arm_ext_m): Add support for OS extension.
364 (arm_ext_os): New variable.
365 (do_t_swi): In v6-M ensure we have the OS extension.
366 (arm_cpus): The cortex-m1 and cortex-m0 options have the OS
367 extension by default.
368 (arm_archs): Add armv6s-m.
369 (arm_extensions): Add 'os' extension.
370 (cpu_arch_ver): Add support for v6S-M.
371 * doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m
372 architecture options.
373
374 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
375
376 * config/tc-arm.c (arm_ext_v6z): Remove.
377 (arm_ext_sec): New variable.
378 (do_t_smc): In Thumb state SMC requires v7-A.
379 (insns): Make SMC depend on Security Extensions.
380 (arm_cpus): All -mcpu=cortex-a* options have the Security Extensions.
381 (arm_extensions): Add 'sec' extension.
382 (cpu_arch_ver): Reorder.
383 (aeabi_set_public_attributes): Emit Tag_Virtualization_use as
384 appropriate.
385 * doc/c-arm.texi: Document Security Extensions.
386
387 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
388
389 * config/tc-arm.c (arm_ext_mp): Add.
390 (do_pld): Update comment.
391 (insns): Add support for pldw.
392 (arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
393 MP extension.
394 (arm_extensions): Add 'mp' extension.
395 (aeabi_set_public_attributes): Emit correct build attribute when
396 MP extension is enabled.
397 * doc/c-arm.texi: Update for MP extensions.
398
399 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
400
401 * config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
402 (arm_option_extension_value_table): Add.
403 (arm_extensions): Change type.
404 (arm_option_cpu_table): Rename...
405 (arm_option_fpu_table): ...to this.
406 (arm_fpus): Change type.
407 (arm_parse_extension): Enforce alphabetical order. Allow
408 extensions to be removed.
409 (arm_parse_arch): Allow extensions to be specified with -march.
410 (s_arm_arch_extension): Add.
411 (s_arm_fpu): Update for type changes.
412 * doc/c-arm.texi: Document changes to infrastructure.
413
414 2010-09-23 Alan Modra <amodra@gmail.com>
415
416 * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
417 with the absolute section symbol.
418
419 2010-09-22 Mike Frysinger <vapier@gentoo.org>
420
421 * config/bfin-parse.y: Fix typo in BYTEOP16P comment.
422
423 2010-09-22 Robin Getz <robin.getz@analog.com>
424
425 * config/bfin-parse.y (is_store): New function.
426 (gen_multi_instr_1): Check parallel slots for store insns.
427
428 2010-09-22 Robin Getz <robin.getz@analog.com>
429
430 * config/bfin-defs.h (IS_EMUDAT): New define.
431 * config/bfin-parse.y: Accept EMUDAT for any register move.
432
433 2010-09-22 Robin Getz <robin.getz@analog.com>
434
435 * config/bfin-parse.y: Improve error messages.
436
437 2010-09-22 Robin Getz <robin.getz@analog.com>
438
439 * config/bfin-parse.y (DBG): Fix regno encoding.
440 (DBGCMPLX): Likewise.
441
442 2010-09-22 Robin Getz <robin.getz@analog.com>
443
444 * config/bfin-lex.l: Accept multibyte chars in symbol names.
445
446 2010-09-22 Robin Getz <robin.getz@analog.com>
447
448 * config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
449 * config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
450
451 2010-09-22 Mike Frysinger <vapier@gentoo.org>
452
453 * config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
454 * config/tc-bfin.c (bfin_gen_pseudochr): New function.
455 * config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
456
457 2010-09-22 Mike Frysinger <vapier@gentoo.org>
458
459 * config/bfin-lex.l (abort): Accept case-insensitive abort insn.
460 * config/bfin-parse.y (ABORT): Handle the ABORT token.
461
462 2010-09-22 Mike Frysinger <vapier@gentoo.org>
463
464 * config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
465
466 2010-09-22 Mike Frysinger <vapier@gentoo.org>
467
468 * doc/c-bfin.texi (-mcpu): Add bf592.
469 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
470 (bfin_cpus[]): Add 0.0/0.1 for bf592.
471
472 2010-09-22 Mike Frysinger <vapier@gentoo.org>
473
474 * config/tc-bfin.c (comment_chars): Add #.
475
476 2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
477
478 * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
479
480 2010-09-20 Richard Henderson <rth@redhat.com>
481
482 * config/tc-alpha.c (tc_gen_reloc): Remove hack around
483 bfd_perform_reloc for OBJ_ELF.
484
485 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
486
487 * config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
488 list for ldm/stm.
489
490 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
491
492 * config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
493 non-M-arch cpus.
494 (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
495
496 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
497
498 * config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
499 of just RR.
500
501 2010-09-17 Andrew Burgess <aburgess@broadcom.com>
502
503 PR gas/12011
504 * config/obj-elf.c (obj_elf_parse_section_letters): Correct test
505 for error return from md_elf_section_letter.
506 * config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
507 * config/tc-i386.c (x86_64_section_letter): Likewise.
508 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
509 * config/tc-mep.c (mep_elf_section_letter): Likewise.
510
511 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
512
513 * config/obj-coff-seh.c (seh_validate_seg): New funtion.
514 (obj_coff_seh_endproc): Add check for segment.
515 (obj_coff_seh_endprologue): Likewise.
516 (obj_coff_seh_pushreg): Likewise.
517 (obj_coff_seh_pushframe): Likewise.
518 (obj_coff_seh_save): Likewise.
519 (obj_coff_seh_setframe): Likewise.
520
521 * config/obj-coff-seh.h (seh_context): New member code_seg.
522 * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
523 for link-once code-segment.
524
525 2010-09-14 Jie Zhang <jie@codesourcery.com>
526
527 * doc/c-arm.texi: Document -mcpu=cortex-m4.
528
529 2010-09-09 H.J. Lu <hongjiu.lu@intel.com>
530
531 * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
532 VEX prefix.
533
534 2010-09-09 Joseph Myers <joseph@codesourcery.com>
535
536 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
537
538 2010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
539
540 * config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
541 * doc/c-arm.texi: Document -mcpu=cortex-a15.
542
543 2010-09-09 Gunther Nikl <gnikl@users.sourceforge.net>
544
545 * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
546 weak symbols first if generating an a.out object.
547
548 2010-09-09 Tejas Belagod <tejas.belagod@arm.com>
549
550 * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
551 flag-setting and handle accordingly.
552
553 2010-09-09 Nick Clifton <nickc@redhat.com>
554
555 PR gas/11972
556 * config/tc-arm.c (parse_big_immediate): Allow for bignums being
557 extended to the size of a .octa.
558
559 2010-09-08 Julian Brown <julian@codesourcery.com>
560
561 * config/tc-arm.c (create_neon_reg_alias): Deal with case
562 sensitivity.
563
564 2010-09-08 Nick Clifton <nickc@redhat.com>
565
566 PR gas/11973
567 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
568 long call instruction's displacement.
569
570 2010-09-03 H.J. Lu <hongjiu.lu@intel.com>
571
572 PR gas/11974
573 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
574 instead of use_rela_relocations for 64bit.
575
576 2010-09-02 Richard Henderson <rth@redhat.com>
577
578 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
579 (output_fde): Use it. Make sure to fully init exp before using it.
580
581 2010-08-31 Kai Tietz <kai.tietz@onevision.com>
582
583 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
584 (obj_coff_seh_stackalloc): Likewise.
585
586 2010-08-31 Alan Modra <amodra@gmail.com>
587
588 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
589
590 2010-08-30 Richard Henderson <rth@redhat.com>
591
592 * config/obj-coff-seh.c: Rewrite the entire file.
593 (symtab, symptr, reltab, relcount, relsize): Remove.
594 (seh_ctx_root, seh_ctx): Remove.
595 (xdata_seg, xdata_subseg, pdata_seg): New.
596 (switch_xdata, switch_pdata): New.
597 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
598 New parsing functions. Rewrite all parsing functions to use them.
599 (obj_coff_seh_32): Fix != arm thinko.
600 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
601 only flags.
602 (obj_coff_seh_handlerdata): New.
603 (do_seh_endproc): Split out of ...
604 (obj_coff_seh_endproc): ... here.
605 (obj_coff_seh_proc): Use it, if needed.
606 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
607 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
608 alternatives. Don't slurp commas.
609 (seh_read_offset): Remove.
610 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
611 (obj_coff_seh_scope): Remove.
612 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
613 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
614 (out_one, out_two, out_four): New.
615 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
616 seh_x64_write_function_xdata, write_function_xdata): Rewrite
617 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
618 seh_getelm_data_size, seh_getsize_of_unwind_entry,
619 seh_make_unwind_entry, seh_getsize_unwind_data, and
620 seh_create_unwind_data.
621 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
622 (write_function_pdata): Rewrite from make_function_entry_pdata.
623 (seh_write_text_eh_data, make_function_entry_pdata,
624 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
625 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
626 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
627 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
628 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
629 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
630 seh_getsize_unwind_data, seh_create_unwind_data,
631 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
632 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
633 Add seh_handlerdata. Adjust function/what arguments for
634 seh_savereg, seh_pushframe, seh_stackalloc.
635 (struct seh_prologue_element): Adjust members to closer match
636 the elements of the UNWIND_CODE structure.
637 (struct seh_scope_elem): Remove.
638 (struct seh_context): Replace char* members with symbolS or
639 expressionS as appropriate. Sort members by ARM/x64 applicability.
640 Remove obsolete stuff wrt direct symbol and reloc manipulation.
641
642 2010-08-25 Alan Modra <amodra@gmail.com>
643
644 * NEWS: Mention ampersand in macro change.
645
646 2010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
647
648 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
649
650 2010-08-25 Alan Modra <amodra@gmail.com>
651
652 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
653 "name" buffer.
654 * config/tc-m68hc11.c (md_assemble): Likewise.
655 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
656 of is_end_of_line index.
657
658 2010-08-25 Jie Zhang <jie@codesourcery.com>
659
660 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
661
662 2010-08-25 Jie Zhang <jie@codesourcery.com>
663
664 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
665 BAD_PC_ADDRESSING condition.
666
667 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
668
669 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
670
671 2010-08-19 H.J. Lu <hongjiu.lu@intel.com>
672
673 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
674
675 2010-08-18 H.J. Lu <hongjiu.lu@intel.com>
676
677 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
678 instead of VEXXDS.
679
680 2010-08-18 Alan Modra <amodra@gmail.com>
681
682 * macro.c (sub_actual): Add back ampersand suffix when no
683 substitution.
684 (macro_expand_body): Correct comment.
685
686 2010-08-17 Roland McGrath <roland@redhat.com>
687
688 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
689 boolean result parameter CLONE; set it if '?' flag letter seen.
690 (obj_elf_section): Update caller. Handle that flag by copying
691 the LINKONCE and GROUP_NAME state from NOW_SEG.
692 * doc/as.texinfo (Section): Document the ? flag.
693
694 2010-08-09 Cary Coutant <ccoutant@google.com>
695
696 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
697 installed.
698 (main): Warn if --compress-debug-sections requested and zlib not
699 installed.
700 * doc/as.texinfo: Add --compress-debug-sections,
701 --nocompress-debug-sections.
702
703 2010-08-06 H.J. Lu <hongjiu.lu@intel.com>
704
705 * config/tc-i386.c (set_cpu_arch): Re-indent.
706 (md_parse_option): Likewise.
707
708 2010-08-06 Quentin Neill <quentin.neill@amd.com>
709
710 * config/tc-i386.c (arch_entry): Add negated bit to
711 disambiguate flag names starting with "no".
712 (cpu_arch): Add negated bit definitions. Add
713 ".nop" CPU extension.
714 (i386_align_code): Use new .cpunop bit to decide
715 when to generate alignment using nops.
716 (set_cpu_arch): Use negated bit instead to decide
717 when to use cpu_flags or vs. cpu_flags_and_not.
718 (md_parse_option): Likewise.
719
720 2010-08-04 H.J. Lu <hongjiu.lu@intel.com>
721
722 * config/tc-i386.c (match_template): Move the first i.error
723 out of the loop.
724
725 2010-08-04 Alan Modra <amodra@gmail.com>
726
727 * configure.tgt (m32c): Set endian=little.
728 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
729 * config/tc-m32c.c (md_number_to_chars): Revert last change.
730
731 2010-08-03 Tristan Gingold <gingold@adacore.com>
732
733 * makefile.vms (OBJS): Add Add compress-debug.c.
734
735 2010-08-03 Alan Modra <amodra@gmail.com>
736
737 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
738 * config/tc-m32c.c (md_number_to_chars): Call bigendian
739 form of number_to_chars, not littleendian.
740
741 2010-08-02 Alan Modra <amodra@gmail.com>
742
743 * config/tc-d30v.c (d30v_cons_align): Don't align constants
744 in debug sections.
745
746 2010-08-02 Alan Modra <amodra@gmail.com>
747
748 PR gas/11867
749 * expr.c (operand <'-' and '~'>): Widen bignums.
750 (operand <'!'>): Correct bignum result and convert to O_constant.
751 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
752 bignum truncated warning for sign extended bignums.
753
754 2010-08-02 Alan Modra <amodra@gmail.com>
755
756 * config/tc-v850.c (md_assemble): Always pass format string to
757 as_warn.
758 (md_apply_fix): Similarly for as_warn_where.
759
760 2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
761
762 * config/tc-i386-intel.c: Reformat.
763
764 2010-07-29 Alan Modra <amodra@gmail.com>
765
766 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
767 in large toc code.
768
769 2010-07-28 Alan Modra <amodra@gmail.com>
770
771 PR gas/11841
772 * symbols.c (symbol_clone): Correct typo in previous patch.
773
774 2010-07-28 Alan Modra <amodra@gmail.com>
775
776 PR gas/11841
777 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
778
779 2010-07-28 Alan Modra <amodra@gmail.com>
780
781 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
782 syntax error message.
783
784 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
785
786 * config/tc-mips.c (mips16_macro_build): Pass "args" by
787 reference rather than value.
788 (macro_build): Update accordingly.
789
790 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
791
792 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
793 a fake label.
794
795 2010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
796
797 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
798 delay slot in the noreorder mode with the o32 ABI.
799
800 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
801 Ina Pandit <ina.pandit@kpitcummins.com>
802
803 * config/tc-v850.c: Update processor_mask.
804 (reg_name): Update the structure to use processors field.
805 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
806 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
807 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
808 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
809 SUBYPTE_SA_9_17_22_32.
810 (set_machine): Add support for V850E2 and V850E2V3.
811 (md_pseudo_table): Likewise.
812 (pre_defined_registers): Update pre defined registers suitable
813 for each family of registers.
814 (system_registers): Likewise.
815 (cc_names): Update the condition code.
816 (float_cc_names): Update the condition code for float.
817 (reg_name_search): Update based on current modifications.
818 (register_name): Likewise.
819 (system_register_name): Update to support new system registers
820 and supported families.
821 (cc_name): Update to support new condition codes.
822 (float_cc_name): New function to support float condition codes.
823 (parse_register_list): Update to support newly added registers.
824 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
825 Also support added for disp-size-default-22, disp-size-default-32,
826 mextension, mno-bcond17 and mno-stld23.
827 (md_parse_option): Implement the support for above options defined
828 in md_show-usage.
829 (md_convert_frag): Implement support for subtypes defined in
830 md_relax_table to support branch operations.
831 (md_begin): Add support for V850E2 and V850E2V3.
832 (handle_hi016, handle_hi16): new relocation handling functions
833 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
834 handle_tdaoff): Updated relocation handling functions for newly
835 added relocations.
836 (v850_reloc_prefix): Update the relocation handling functions.
837 (v850_insert_operand): Updated the functions with error message
838 parameter and modified the function to use it.
839 (md_assemble): Update according to the latest modifications.
840 (md_apply_fix): Updated the functions with error message parameter
841 and modified the function to use it.
842 (v850_force_relocation): Update with newly added relocations.
843 * configure.tgt: Match all v850 targets.
844 * doc/c-v850.texi: Document the newly added targets.
845 * NEWS: Likewise.
846
847 2010-07-23 Alan Modra <amodra@gmail.com>
848
849 PR gas/11834
850 * macro.c (macro_expand): Recover gracefully from named args that
851 don't match params.
852
853 2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
854
855 Switch MIPS to 32-bit DWARF format.
856 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
857 * config/tc-mips.c (mips_dwarf2_format): Likewise.
858
859 2010-07-20 Alan Modra <amodra@gmail.com>
860
861 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
862
863 2010-07-16 Alan Modra <amodra@gmail.com>
864
865 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
866 specifier warnings for 32-bit host when --enable-64-bit-bfd.
867 (rx_relax_frag, md_convert_frag): Likewise.
868
869 2010-07-15 Cary Coutant <ccoutant@google.com>
870
871 * gas/NEWS: Add note about --compress-debug-sections.
872 * gas/as.c (show_usage): Add --compress-debug-sections and
873 --nocompress-debug-sections.
874
875 2010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
876
877 * config/obj-elf.c (get_sym_from_input_line_and_check): New
878 function to catch missing pseudo-op arguments.
879 (obj_elf_local): Call new function.
880 (obj_elf_weak): Likewise.
881 (obj_elf_visibility): Likewise.
882 (obj_elf_vtable_entry): Likewise.
883 (obj_elf_type): Likewise.
884
885 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
886
887 * config/obj-coff-seh.c
888 (seh_getelm_data_size): New.
889 (seh_read_offset): Handle negative values.
890 (obj_coff_seh_push): Handle offset for save-register store.
891 (obj_coff_seh_setframe): Add unwind-information for frame.
892 (seh_store_elm_data): New.
893 (seh_getelm_data_size): Return additionally unaligned element count.
894 (seh_make_unwind_entry): Correct tweak about element count.
895
896 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
897
898 PR gas/11806
899 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
900 through patch for O_multiply.
901
902 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
903
904 PR ld/11612
905 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
906
907 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
908
909 * tc-arm.c (OP_oBARRIER): Remove.
910 (OP_oBARRIER_I15): Add.
911 (po_barrier_or_imm): Add macro.
912 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
913 (do_barrier): Check correct immediate range.
914 (do_t_barrier): Likewise.
915 (barrier_opt_names): Add entries for more symbolic operands.
916 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
917
918 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
919
920 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
921 error message.
922
923 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
924
925 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
926 symbols.
927
928 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
929
930 * config/tc-mips.c (nops_for_insn_or_target): Replace
931 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
932 MIPS16_INSN_COND_BRANCH.
933
934 2010-07-05 Jim Wilson <wilson@codesourcery.com>
935
936 PR gas/10531
937 PR gas/11789
938 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
939 if it isn't empty.
940
941 2010-07-05 Alan Modra <amodra@gmail.com>
942
943 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
944 unused var.
945
946 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
947
948 * Makefile.am (CONFIG_OBJS): Removed.
949 (GENERIC_OBJS): Likewise.
950 (OBJS): Likewise.
951 * Makefile.in: Regenerated.
952
953 2010-07-03 Jan Beulich <jbeulich@novell.com>
954
955 PR gas/11732
956 * config/tc-i386.c (i386_finalize_displacement): Don't call
957 section_symbol() with expr_section.
958
959 2010-07-03 Cary Coutant <ccoutant@google.com>
960
961 * Makefile.am: Add compress-debug.c and compress-debug.h.
962 * Makefile.in: Regenerate.
963 * config.in: Add HAVE_ZLIB_H.
964 * configure.in: Check for zlib.h.
965 * configure: Regenerate.
966
967 * as.c (parse_args): Add --compress-debug-sections and
968 --nocompress-debug-sections.
969 * as.h (flag_compress_debug): New variable.
970 * compress-debug.c: New file.
971 * compress-debug.h: New file.
972 * write.c: Include compress-debug.h.
973 (compress_frag): New function.
974 (compress_debug): New function.
975 (write_object_file): Compress debug sections if requested.
976
977 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
978
979 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
980 before inverting.
981
982 2010-07-03 Alan Modra <amodra@gmail.com>
983
984 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
985 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
986
987 2010-07-02 DJ Delorie <dj@redhat.com>
988
989 * config/tc-rx.h (md_do_align): New.
990 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
991 * config/tc-rx.c (nops): New.
992 (rx_handle_align): Use various sized nops to align code.
993
994 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
995 relaxation.
996 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
997
998 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
999
1000 AVX Programming Reference (June, 2010)
1001 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
1002 and .f16c.
1003
1004 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
1005
1006 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1007
1008 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
1009 deprecated mov register instructions.
1010
1011 2010-07-01 Alan Modra <amodra@gmail.com>
1012
1013 * config/tc-ppc.c (toc_reloc_types): New variable.
1014 (md_assemble): Set it.
1015 (ppc_frob_file_before_adjust): Don't warn about toc section size
1016 if we have large toc relocs and no small toc relocs.
1017
1018 2010-06-29 Alan Modra <amodra@gmail.com>
1019
1020 * config/tc-maxq.h: Delete file.
1021 * config/tc-maxq.c: Delete file.
1022 * Makefile.am: Remove references to maxq.
1023 * configure.tgt: Likewise.
1024 * config/obj-coff.h: Likewise.
1025 * Makefile.in: Regenerate.
1026 * configure: Regenerate.
1027 * po/POTFILES.in: Regenerate.
1028
1029 2010-06-28 Alan Modra <amodra@gmail.com>
1030
1031 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
1032 * config/tc-crx.c (gettrap): Constify arg.
1033 (handle_LoadStor, get_cinv_parameters): Likewise.
1034 (getreg_image): Fix enum warning
1035 (md_assemble): Restore input line char.
1036 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
1037 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
1038 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
1039 (build_Mytes): Fix build failure for non-elf targets.
1040 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
1041 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
1042
1043 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
1044 * ecoff.c (add_ecoff_symbol): Likewise.
1045 * itbl-ops.c (append_insns_as_macros): Likewise.
1046 * listing.c (debugging_pseudo): Likewise.
1047 * read.c (s_mri_common, stringer): Likewise.
1048 * config/obj-coff.c (coff_frob_section): Likewise.
1049 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
1050 * config/tc-arm.c (my_get_expression): Likewise.
1051 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
1052 * config/tc-m32c.c (md_assemble): Likewise.
1053 * config/tc-microblaze.c (md_convert_frag): Likewise.
1054 * config/tc-mips.c (s_change_section): Likewise.
1055 * config/tc-mt.c (mt_fix_adjustable): Likewise.
1056 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
1057
1058 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
1059 unused vars.
1060 * config/tc-alpha.c (load_expression): Likewise.
1061 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
1062 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
1063 * config/tc-avr.c (extract_word): Likewise.
1064 * config/tc-cris.c (cris_get_expression): Likewise.
1065 * config/tc-d30v.c (build_insn, find_format): Likewise.
1066 * config/tc-dlx.c (machine_ip): Likewise.
1067 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
1068 * config/tc-i370.c (md_assemble): Likewise.
1069 * config/tc-i960.c (brtab_emit): Likewise.
1070 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
1071 * config/tc-m32c.c (md_convert_frag): Likewise.
1072 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
1073 (md_estimate_size_before_relax, md_apply_fix): Likewise.
1074 * config/tc-m68k.c (md_show_usage): Likewise.
1075 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
1076 * config/tc-mips.c (s_mips_end): Likewise.
1077 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
1078 * config/tc-mn10300.c (md_assemble): Likewise.
1079 * config/tc-msp430.c (extract_word): Likewise.
1080 * config/tc-mt.c (md_assemble): Likewise.
1081 * config/tc-or32.c (machine_ip): Likewise.
1082 * config/tc-pj.c (md_apply_fix): Likewise.
1083 * config/tc-s390.c (md_gather_operands): Likewise.
1084 * config/tc-sh.c (sh_cons_align): Likewise.
1085 * config/tc-sparc.c (sparc_cons_align): Likewise.
1086 * config/tc-tic4x.c (tic4x_sect): Likewise.
1087 * config/tc-tic54x.c (tic54x_stringer): Likewise.
1088 * config/tc-vax.c (vip_op): Likewise.
1089 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
1090 * config/tc-xtensa.c (md_assemble): Likewise.
1091 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
1092 (xtensa_move_literals): Likewise.
1093
1094 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1095
1096 * config/tc-arm.c (parse_neon_alignment): New function.
1097 (parse_address_main): Fix Neon load/store alignment parsing.
1098
1099 2010-06-22 Jan Beulich <jbeulich@novell.com>
1100
1101 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
1102 symbols named "$".
1103 (i386_intel_operand): Remove bogus handling of pseudo symbols
1104 named "$".
1105 * expr.c (current_location): Remove 'static' and local
1106 declaration.
1107 * expr.h (current_location): Declare.
1108
1109 2010-06-21 Sterling Augustine <sterling@tensilica.com>
1110
1111 PR gas/11728
1112 * as.c: Globalize keep_it.
1113 (main): Remove keep_it. Move conditional from here...
1114 (close_output_file): ...to here.
1115
1116 2010-06-21 Andreas Schwab <schwab@redhat.com>
1117
1118 * doc/as.texinfo (Overview): Use @itemx for grouped @table
1119 items.
1120 * doc/c-alpha.texi (Alpha Options): Likewise.
1121 * doc/c-arm.texi (ARM Directives): Likewise.
1122 * doc/c-bfin.texi (Blackfin Options): Likewise.
1123 * doc/c-d10v.texi (D10V-Opts): Likewise.
1124 * doc/c-i386.texi (i386-Options): Likewise.
1125 * doc/c-ia64.texi (IA-64 Options): Likewise.
1126 * doc/c-m68k.texi (M68K-Opts): Likewise.
1127 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
1128 * doc/internals.texi (Symbols): Likewise.
1129
1130 2010-06-21 Alan Modra <amodra@gmail.com>
1131
1132 PR gas/11733
1133 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
1134
1135 2010-06-18 Joseph Myers <joseph@codesourcery.com>
1136
1137 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
1138 func_units_used.
1139 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
1140 (md_assemble): Clear func_units_used for new execute packet.
1141 Check for duplicate functional units and update func_units_used
1142 for instructions using a functional unit.
1143
1144 2010-06-15 Joseph Myers <joseph@codesourcery.com>
1145
1146 * config/tc-tic6x.c: Include elf/tic6x.h.
1147 (tic6x_arch_attribute, tic6x_seen_insns): New.
1148 (tic6x_arch_table, tic6x_arches): Add attribute values.
1149 (tic6x_use_arch): Handle attribute settings.
1150 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
1151 tic6x_attribute_table, tic6x_attributes,
1152 tic6x_convert_symbolic_attribute): New.
1153 (md_pseudo_table): Add c6xabi_attribute.
1154 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
1155 (tic6x_set_attribute_int, tic6x_set_attributes): New.
1156 (tic6x_end): Call tic6x_set_attributes.
1157 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
1158 (tic6x_convert_symbolic_attribute): Declare.
1159
1160 2010-06-14 Alan Modra <amodra@gmail.com>
1161
1162 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
1163 PPC_OPCODE_E500.
1164
1165 2010-06-11 Jan Beulich <jbeulich@novell.com>
1166
1167 * config/tc-i386.c (md_parse_option): Ignore impossible processor
1168 types.
1169 (show_arch): New parameter 'check'.
1170 (md_show_usage): Adjust calls to show_arch().
1171
1172 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
1173
1174 * config/tc-i386.c (update_code_flag): New.
1175 (set_code_flag): Use it.
1176 (i386_target_format): Replace set_code_flag with update_code_flag.
1177
1178 2010-06-10 Tristan Gingold <gingold@adacore.com>
1179
1180 * config/obj-som.h: Includes som/reloc.h
1181
1182 2010-06-10 Jan Beulich <jbeulich@novell.com>
1183
1184 * config/tc-i386.c (cpu_arch): Add comment.
1185 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
1186 from the generic entries of cpu_arch[].
1187
1188 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1189
1190 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
1191 value.
1192 (parse_operands): Add support for OP_RRnpctw.
1193 (insns): Update floating-point load/store multiples so the
1194 first register is of type OP_RRnpctw.
1195
1196 2010-06-08 Quentin Neill <quentin.neill@amd.com>
1197
1198 * config/tc-i386.c (pi): Rename local loop counter
1199 variable i that shadows global static i386_insn i
1200 when DEBUG386 is defined.
1201 (pte) Ditto.
1202
1203 2010-06-08 Nick Clifton <nickc@redhat.com>
1204
1205 * doc/as.texinfo: Replace abbreviated 20th century year numbers
1206 with full versions.
1207
1208 2010-06-02 Quentin Neill <quentin.neill@amd.com>
1209
1210 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
1211
1212 2010-06-02 Tristan Gingold <gingold@adacore.com>
1213
1214 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
1215 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
1216 Remove conditionnal inclusion of stdarg.h and varargs.h.
1217 Assume ISO C.
1218 * config.in: Regenerate.
1219 * configure: Regenerate.
1220 * configure.in: Remove stdarg.h and varargs.h from
1221 AC_CHECK_HEADERS list.
1222 * messages.c (as_tsktsk): Remove non ISO C version.
1223 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
1224
1225 2010-05-31 Tristan Gingold <gingold@adacore.com>
1226
1227 * config/tc-alpha.c: Add comments for evax.
1228 * config/obj-evax.c: Ditto.
1229
1230 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1231
1232 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
1233 lsls and not adds.
1234
1235 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1236
1237 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
1238 writeback when base register is in register list an error, and
1239 correct check.
1240 (do_t_ldmstm): Change warnings.
1241
1242 2010-05-26 Catherine Moore <clm@codesourcery.com>
1243
1244 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
1245 (macro_build): Change invocation of is_opcode_valid.
1246 (mips_ip): Likewise.
1247
1248 2010-05-25 Nick Clifton <nickc@redhat.com>
1249
1250 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
1251 * Makefile.in: Regenerate.
1252
1253 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
1254 Joseph Myers <joseph@codesourcery.com>
1255 Andrew Stubbs <ams@codesourcery.com>
1256
1257 * config/tc-sh.c (sh_fdpic): New.
1258 (sh_check_fixup): Handle relocations on movi20.
1259 (parse_exp): Do not reject PIC operators here.
1260 (build_Mytes): Check for unhandled PIC operators here. Use
1261 sh_check_fixup for movi20.
1262 (enum options): Add OPTION_FDPIC.
1263 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
1264 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
1265 (sh_elf_final_processing): Handle --fdpic.
1266 (sh_uclinux_target_format): New.
1267 (sh_parse_name): Handle FDPIC relocation operators.
1268 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
1269 (sh_uclinux_target_format): Declare for TE_UCLINUX.
1270 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
1271 em=uclinux.
1272 * doc/c-sh.texi (SH Options): Document --fdpic.
1273
1274 2010-05-25 Jay Krell <jay.krell@cornell.edu>
1275
1276 PR ld/11621
1277 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
1278 * Makefile.in: Regenerate.
1279
1280 2010-05-25 Alan Modra <amodra@gmail.com>
1281
1282 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
1283
1284 2010-05-19 Nick Clifton <nickc@redhat.com>
1285
1286 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
1287 of known section prefixes.
1288
1289 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
1290
1291 PR gas/11600
1292 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
1293 (obj_elf_parse_section_letters): Likewise.
1294 (obj_elf_section_word): Likewise.
1295
1296 * config/tc-ppc.c (ppc_section_letter): Removed.
1297 (ppc_section_word): Likewise.
1298 * config/tc-ppc.h (ppc_section_letter): Likewise.
1299 (ppc_section_word): Likewise.
1300 (md_elf_section_letter): Likewise.
1301 (md_elf_section_word): Likewise.
1302
1303 * doc/as.texinfo: Document `e' and `#exclude'.
1304
1305 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
1306
1307 * config/tc-arm.c (md_assemble): Clarify current mode in error
1308 messages about unsupported instructions.
1309 (UT): Delete #define.
1310 (insns): Adjust cbnz, cbz appropriately.
1311
1312 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
1313
1314 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
1315
1316 2010-05-11 Jie Zhang <jie@codesourcery.com>
1317
1318 * config/tc-arm.c (aeabi_set_public_attributes): Set
1319 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
1320
1321 2010-05-07 Tristan Gingold <gingold@adacore.com>
1322
1323 * Makefile.in: Regenerate with automake 1.11.1.
1324 * aclocal.m4: Ditto.
1325 * doc/Makefile.in: Ditto.
1326
1327 2010-05-05 Nick Clifton <nickc@redhat.com>
1328
1329 * po/es.po: Updated Spanish translation.
1330
1331 2010-05-05 Julian Brown <julian@codesourcery.com>
1332
1333 * read.c (cons_worker): Detect and reject unexpected string argument.
1334
1335 2010-05-04 Nick Clifton <nickc@redhat.com>
1336
1337 * write.c (fixup_segment): Revert previous delta.
1338 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
1339 generation of relocations for fixups against weak symbols.
1340
1341 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
1342
1343 * write.c (fixup_segment): Do not assume we know the section a
1344 defined weak symbol is in.
1345 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
1346 weak symbols as not known to be in the same section, even if they
1347 are defined.
1348
1349 2010-04-27 Joseph Myers <joseph@codesourcery.com>
1350
1351 * config/tc-tic6x.h (tic6x_label_list): New.
1352 (tic6x_segment_info_type): Keep a list of labels and a current
1353 frag instead of a boolean for whether labels seen and a count of
1354 instructions.
1355 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
1356 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
1357 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
1358 (tic6x_cleanup): Correct comment.
1359 (tic6x_free_label_list): New.
1360 (tic6x_cons_align): Free label list and update for
1361 tic6x_segment_info_type changes.
1362 (tic6x_do_align): New.
1363 (md_assemble): Handle list of labels and saved frag for execute
1364 packet. Create machine-dependent frag for new execute packet and
1365 adjust labels accordingly.
1366 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
1367 (md_convert_frag, md_estimate_size_before_relax): Update comments.
1368
1369 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
1370
1371 PR gas/11535
1372 * config/tc-i386-intel.c (intel_state): Add is_indirect.
1373 (i386_intel_operand): Initialize intel_state.is_indirect. Check
1374 intel_state.is_indirect for "call|jmp [symbol]".
1375
1376 2010-04-22 Nick Clifton <nickc@redhat.com>
1377
1378 * po/gas.pot: Updated by the Translation project.
1379
1380 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1381
1382 * config/tc-i386.c (i386_is_register): Removed.
1383 (x86_cons): Don't use i386_is_register.
1384 (parse_register): Likewise.
1385 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1386 (i386_intel_operand): Likewise.
1387
1388 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1389
1390 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
1391 i386_is_register.
1392
1393 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1394
1395 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
1396 (x86_cons): Updated.
1397 (parse_register): Likewise.
1398 (tc_x86_parse_to_dw2regnum): Likewise.
1399 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1400 (i386_intel_operand): Likewise.
1401
1402 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1403
1404 PR gas/11509
1405 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
1406 (i386_intel_simplify): Use i386_is_register and
1407 i386_intel_simplify_register. Set X_md for O_register and
1408 check X_md for O_constant.
1409 (i386_intel_operand): Use i386_is_register.
1410
1411 * config/tc-i386.c (i386_is_register): New.
1412 (x86_cons): Initialize the X_md field. Use i386_is_register.
1413 (parse_register): Use i386_is_register.
1414 (tc_x86_parse_to_dw2regnum): Likewise.
1415
1416 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1417
1418 * expr.c (expr): Initialize the X_md field.
1419
1420 2010-04-20 Joseph Myers <joseph@codesourcery.com>
1421
1422 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1423 (md_longopts): Add -mgenerate-rel.
1424 (tic6x_generate_rela): New.
1425 (md_parse_option): Handle -mgenerate-rel.
1426 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
1427 (tic6x_init_after_args): New.
1428 (md_apply_fix): Correct shift calculations for SB-relative
1429 relocations.
1430 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
1431 adjust addresses for relocations referencing symbols in other
1432 sections.
1433 (tc_gen_reloc): Adjust addend calculations for REL relocations.
1434 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1435 tic6x_pcrel_from_section, tc_init_after_args,
1436 tic6x_init_after_args): New.
1437
1438 2010-04-20 Nick Clifton <nickc@redhat.com>
1439
1440 PR gas/11507
1441 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1442 altmacro mode if found inside a quoted string.
1443
1444 2010-04-20 Mike Frysinger <vapier@gentoo.org>
1445
1446 * config/bfin-lex.l (parse_int): Change index() to strchr().
1447
1448 2010-04-16 Nick Clifton <nickc@redhat.com>
1449
1450 PR gas/11395
1451 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1452 matcher to accept and unconditional 32-bit add instruction.
1453 (pa_build_unwind_subspace): Cope with error conditions not
1454 allowing the start symbol to be set.
1455
1456 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1457
1458 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1459 new tag names in v2.08 of ARM ABI.
1460 * doc/c-arm.texi: Document new tag names in ABI.
1461
1462 2010-04-14 Tristan Gingold <gingold@adacore.com>
1463
1464 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
1465 (s_alpha_comm): Used new EGPS macros from egps.h
1466 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1467 (s_alpha_section_word): Add comments. Use new EGPS macros.
1468 Adjust for modified bfd_vms_set_section_flags function.
1469
1470 2010-04-10 Alan Modra <amodra@gmail.com>
1471
1472 PR gas/11486
1473 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1474
1475 2010-04-09 Nick Clifton <nickc@redhat.com>
1476
1477 * as.c (create_obj_attrs_section): Remove unused variable addr.
1478 * listing.c (listing_listing): Remove unused variable message.
1479 * read.c: Remove unnecessary register type qualifiers.
1480 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1481 defined.
1482
1483 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
1484
1485 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1486 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1487 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1488 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1489 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1490 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1491 atmega88pa, attiny461a, attiny84a, m3000.
1492 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1493 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1494 * doc/c-avr.texi: Same.
1495
1496 2010-04-07 Jie Zhang <jie@codesourcery.com>
1497
1498 * config/tc-arm.c (make_mapping_symbol): Handle the case
1499 that multiple mapping symbols have the same value 0.
1500
1501 2010-04-07 Alan Modra <amodra@gmail.com>
1502
1503 * configure: Regenerate.
1504
1505 2010-04-06 Nick Clifton <nickc@redhat.com>
1506
1507 * po/ru.po: New Russian translation.
1508 * configure.in (ALL_LINGUAS): Add ru.
1509 * configure: Regenerate.
1510
1511 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
1512
1513 PR gas/11456
1514 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
1515 of memcpy to copy overlap memory.
1516
1517 2010-03-25 Joseph Myers <joseph@codesourcery.com>
1518
1519 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1520 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1521 * Makefile.in: Regenerate.
1522 * NEWS: Add news entry for TI C6X support.
1523 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
1524 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
1525 operands if TC_KEEP_OPERAND_SPACES.
1526 * configure.tgt (tic6x-*-*): New.
1527 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1528 TC_PREDICATE_END_CHAR): Define.
1529 * config/tc-tic6x.c, config/tc-tic6x.h: New.
1530 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1531 * doc/Makefile.in: Regenerate.
1532 * doc/all.texi (TIC6X): Define.
1533 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
1534 * doc/c-tic6x.texi: New.
1535
1536 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
1537
1538 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1539
1540 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1541
1542 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1543 with operand_size_mismatch.
1544 (operand_size_match): Updated.
1545 (match_template): Likewise.
1546
1547 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1548
1549 * config/tc-i386.c (i386_error): New.
1550 (_i386_insn): Replace err_msg with error.
1551 (operand_size_match): Set error instead of err_msg on failure.
1552 (operand_type_match): Likewise.
1553 (operand_type_register_match): Likewise.
1554 (VEX_check_operands): Likewise.
1555 (match_template): Likewise. Use error instead of err_msg with
1556 as_bad.
1557
1558 2010-03-19 Jie Zhang <jie@codesourcery.com>
1559
1560 * config/tc-arm.c (make_mapping_symbol): Hanle the case
1561 that two mapping symbols have the same value.
1562
1563 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1564
1565 * doc/c-arm.texi (.setfp): Correct example.
1566
1567 2010-03-18 Wei Guozhi <carrot@google.com>
1568
1569 PR gas/11323
1570 * config/tc-arm.c (reloc_names): New relocation names.
1571 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1572 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1573 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1574
1575 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1576
1577 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1578 cases, and not only for .eh_frame.
1579
1580 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1581 belong to .eh_frame only.
1582
1583 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1584
1585 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1586 assembler constants on 64-bit hosts.
1587
1588 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1589
1590 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1591 Strip trailing whitespace.
1592
1593 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1594
1595 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1596 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1597 BFIN_CPU_BF506.
1598 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1599
1600 2010-03-10 Jie Zhang <jie@codesourcery.com>
1601
1602 * doc/as.texinfo: Add Blackfin options.
1603 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1604 * config/tc-bfin.c (md_show_usage): Show usage for all
1605 Blackfin specific options.
1606
1607 2010-03-09 Alan Modra <amodra@gmail.com>
1608
1609 PR gas/11356
1610 * listing.c (listing_newline): Correct backslash quote logic.
1611
1612 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1613
1614 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1615 (ELF_TARGET_FORMAT64): Define.
1616
1617 2010-03-05 Paul Brook <paul@codesourcery.com>
1618
1619 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1620
1621 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
1622
1623 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1624 reading uninitialized data.
1625
1626 2010-03-01 Tristan Gingold <gingold@adacore.com>
1627
1628 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1629
1630 2010-02-26 Doug Evans <dje@sebabeach.org>
1631
1632 * configure.tgt: Fix mep cpu case.
1633
1634 2010-02-26 Jie Zhang <jie@codesourcery.com>
1635
1636 * config/tc-arm.c (do_t_strexd): Remove
1637 operand[1] != operand[2] contraint.
1638
1639 2010-02-26 Jie Zhang <jie@codesourcery.com>
1640
1641 * config/tc-arm.c (neon_select_shape): No need to match
1642 the remaining operands in the shape when one operand does
1643 not match.
1644
1645 2010-02-26 Jie Zhang <jie@codesourcery.com>
1646
1647 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1648 alignment.
1649
1650 2010-02-25 Doug Evans <dje@sebabeach.org>
1651
1652 * cgen.c: Whitespace fixes.
1653 (weak_operand_overflow_check): Formatting fix.
1654
1655 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 * config/tc-i386.c (match_template): Update error messages.
1658
1659 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1660
1661 * config/tc-i386.c (_i386_insn): Add err_msg.
1662 (operand_size_match): Set err_msg on failure.
1663 (operand_type_match): Likewise.
1664 (operand_type_register_match): Likewise.
1665 (VEX_check_operands): Likewise.
1666 (match_template): Likewise. Use i.err_msg with as_bad.
1667
1668 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1669
1670 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1671 mips_fix_loongson2f_jump): New variables.
1672 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1673 -mno-fix-loongson2f-nop/jump.
1674 (md_parse_option): Initialize variables via above options.
1675 (options): New enums for the above options.
1676 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1677 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1678 New functions.
1679 (append_insn): call fix_loongson2f().
1680 (mips_handle_align): Replace the implicit nops.
1681 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1682 for the new mips_handle_align().
1683 * doc/c-mips.texi: Document the new options.
1684
1685 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1686
1687 * config/tc-arm.c (do_rd_rm_rn): Added warning
1688 for obsolete insns.
1689
1690 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1691
1692 PR binutils/11297
1693 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1694 (avr_cons_fix_new): Handle fixups of a single byte.
1695
1696 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1697
1698 PR 9861
1699 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1700 compiler's predefines.
1701
1702 2010-02-19 Alan Modra <amodra@gmail.com>
1703
1704 * configure.tgt: Whiltespace. Sort moxie entry.
1705
1706 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1707
1708 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1709 * doc/c-arm.texi: Likewise.
1710
1711 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1712
1713 * config/tc-arm.c (asm_opcode): operands type
1714 change.
1715 (BAD_PC_ADDRESSING): New macro message.
1716 (BAD_PC_WRITEBACK): Likewise.
1717 (MIX_ARM_THUMB_OPERANDS): New macro.
1718 (operand_parse_code): Added enum values.
1719 (parse_operands): Added thumb/arm distinction,
1720 plus new enum values handling.
1721 (encode_arm_addr_mode_2): Validations enhanced.
1722 (encode_arm_addr_mode_3): Likewise.
1723 (do_rm_rd_rn): Likewise.
1724 (encode_thumb32_addr_mode): Likewise.
1725 (do_t_ldrex): Likewise.
1726 (do_t_ldst): Likewise.
1727 (do_t_strex): Likewise.
1728 (md_assemble): Call parse_operands with
1729 a new parameter.
1730 (OPS_1): New macro.
1731 (OPS_2): Likewise.
1732 (OPS_3): Likewise.
1733 (OPS_4): Likewise.
1734 (OPS_5): Likewise.
1735 (OPS_6): Likewise.
1736 (insns): Updated insns operands.
1737
1738 2010-02-12 Tristan Gingold <gingold@adacore.com>
1739 Douglas B Rupp <rupp@gnat.com>
1740
1741 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1742 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1743 (pseudo_func): Add an entry for slotcount.
1744 (md_begin): Initialize slotcount pseudo symbol.
1745 (ia64_parse_name): Handle @slotcount parameter.
1746 (ia64_gen_real_reloc_type): Handle slotcount.
1747 (md_apply_fix): Ditto.
1748 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1749
1750 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1751
1752 * config/tc-xtensa.c (istack_init): Don't call memset.
1753
1754 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1755
1756 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1757 well as suffixes.
1758
1759 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1760
1761 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1762
1763 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1764
1765 * config/tc-i386.c (build_modrm_byte): Reformat.
1766
1767 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1768
1769 * config/tc-i386.c: Update copyright.
1770
1771 2010-02-10 Quentin Neill <quentin.neill@amd.com>
1772 Sebastian Pop <sebastian.pop@amd.com>
1773
1774 * config/tc-i386.c (vec_imm4) New operand type.
1775 (fits_in_imm4): New.
1776 (VEX_check_operands): New.
1777 (check_reverse): Call VEX_check_operands.
1778 (build_modrm_byte): Reintroduce code for 5
1779 operand insns. Fix whitespace.
1780
1781 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1782
1783 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1784 -mpwr6 and -mpwr7.
1785
1786 2010-02-09 Sterling Augustine <sterling@tensilica.com>
1787
1788 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1789 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1790 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1791
1792 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
1793
1794 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1795 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1796 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1797 BFD_RELOC_ARM_PCREL_CALL)
1798
1799 2010-02-08 Sterling Augustine <sterling@tensilica.com>
1800
1801 * config/tc-xtensa.c (frag_format_size): Generalize logic to
1802 handle more instruction sizes and fetch widths.
1803 (branch_align_power): Likewise.
1804 (text_align_power): Likewise.
1805 (bytes_to_stretch): Likewise.
1806
1807 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1808
1809 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
1810 (ppc_mach): Handle titan.
1811 * doc/c-ppc.texi: Mention -mtitan.
1812
1813 2010-02-05 Sterling Augustine <sterling@tensilica.com>
1814
1815 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1816 replace with...
1817 (xtensa_fetch_width) ...this.
1818
1819 2010-02-05 Joseph Myers <joseph@codesourcery.com>
1820
1821 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1822 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1823 * Makefile.in: Regenerate.
1824
1825 2010-02-03 Quentin Neill <quentin.neill@amd.com>
1826
1827 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1828 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1829 * config/tc-i386.h (processor_type): Same.
1830 * doc/c-i386.texi: Change amdfam15 to bdver1.
1831
1832 2010-01-29 Nick Clifton <nickc@redhat.com>
1833
1834 PR 11136
1835 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1836 NS_NULL.
1837
1838 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
1839
1840 * NEWS: Mention new feature.
1841 * config/obj-coff.c (obj_coff_section): Accept digits and use
1842 to override default section alignment power if specified.
1843 * doc/as.texinfo (.section directive): Update documentation.
1844
1845 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
1846
1847 * config/tc-i386.c (avxscalar): New.
1848 (OPTION_MAVXSCALAR): Likewise.
1849 (build_vex_prefix): Select vector_length for scalar instructions
1850 based on avxscalar.
1851 (md_longopts): Add OPTION_MAVXSCALAR.
1852 (md_parse_option): Handle OPTION_MAVXSCALAR.
1853 (md_show_usage): Add -mavxscalar=.
1854
1855 * doc/c-i386.texi: Document -mavxscalar=.
1856
1857 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
1858
1859 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1860 0xc4 individually.
1861
1862 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
1863
1864 * write.h (fix_at_start): Declare.
1865 * write.c (fix_new_internal): Add at_beginning parameter.
1866 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
1867 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1868 (fix_new, fix_new_exp): Update accordingly.
1869 (fix_at_start): New function.
1870 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1871 (ppc_ref): New function, for OBJ_XCOFF.
1872 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1873 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1874
1875 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1876
1877 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1878 on 64-bit Solaris/x86.
1879 Include obj-format.h earlier.
1880
1881 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1882
1883 * config/tc-s390.c (s390_elf_final_processing): New function.
1884 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1885 (s390_elf_final_processing): Added prototype.
1886
1887
1888 2010-01-20 Nick Clifton <nickc@redhat.com>
1889
1890 PR 11109
1891 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1892 code to handle round-to-zero for VCVT conversions.
1893 (do_neon_cvt): New. Call do_neon_cvt_1.
1894 (do_neon_cvtr): New. Call do_neon_cvt_1.
1895 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1896 insn.
1897
1898 2010-01-18 Tristan Gingold <gingold@adacore.com>
1899
1900 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1901
1902 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1903
1904 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1905 check that it's not an XOP insn.
1906
1907 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1908
1909 * config/bfin-aux.h: Remove argument names in function
1910 declarations.
1911 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1912 warning.
1913 * config/bfin-parse.y (value_match): Remove argument names
1914 in declaration.
1915 (notethat): Likewise.
1916 (yyerror): Likewise.
1917
1918 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1919
1920 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1921
1922 2010-01-13 Nick Clifton <nickc@redhat.com>
1923
1924 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1925 warning message if a new section is created without setting any
1926 attributes for it.
1927 (md_pseudo_table): Intercept section creation pseudos.
1928 (md_pcrel_from): Replace abort with an error message.
1929 * config/obj-elf.c (obj_elf_section_name): Export this function.
1930 * config/obj-elf.h (obj_elf_section_name): Prototype.
1931
1932 2010-01-12 Alan Modra <amodra@gmail.com>
1933
1934 PR 11122
1935 * listing.c (print_source): Add one to line number.
1936
1937 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1938
1939 * Makefile.in: Regenerate.
1940 * configure: Regenerate.
1941 * doc/Makefile.in: Regenerate.
1942
1943 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1944
1945 * version.c (parse_args): Change to "Copyright 2010".
1946
1947 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1948
1949 * config/tc-i386.c (cpu_arch): Add amdfam15.
1950 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1951 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1952 * doc/c-i386.texi: Add amdfam15.
1953
1954 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1955
1956 * config/tc-arm.c (do_neon_logic): Accept imm value
1957 in the third operand too.
1958 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1959 OP_RNDQ_Ibig.
1960 (parse_operands): OP_NILO case removed, applied renaming.
1961 (insns): Neon shape changed for some logic instructions.
1962
1963 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1964
1965 * config/tc-arm.c (do_neon_ldx_stx): Added
1966 validation for vector load/store insns.
1967
1968 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1969
1970 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1971
1972 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1973
1974 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1975 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1976 (NEON_ENCODE): New macro.
1977 (check_neon_suffixes): New macro.
1978 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1979 (do_vfp_nsyn_opcode): Likewise.
1980 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1981 (do_vfp_nsyn_cmp): Likewise.
1982 (do_neon_shl_imm): Likewise.
1983 (do_neon_qshl_imm): Likewise.
1984 (neon_dyadic_misc): Likewise.
1985 (do_neon_mac_maybe_scalar): Likewise.
1986 (do_neon_qdmulh): Likewise.
1987 (do_neon_qmovn): Likewise.
1988 (do_neon_qmovun): Likewise.
1989 (do_neon_movn): Likewise.
1990 (neon_mac_reg_scalar_long): Likewise.
1991 (do_neon_vmull): Likewise.
1992 (do_neon_trn): Likewise.
1993 (do_neon_ldx_stx): Likewise.
1994 (neon_dp_fixup): Changed signature and set the flag.
1995 (neon_three_same): Call the above with new signature.
1996 (neon_two_same): Likewise.
1997 (neon_imm_shift): Likewise.
1998 (neon_mul_mac): Likewise.
1999 (do_neon_abs_neg): Likewise.
2000 (neon_mixed_length): Likewise.
2001 (do_neon_ext): Likewise.
2002 (do_neon_mov): Likewise.
2003 (do_neon_tbl_tbx): Likewise.
2004 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
2005 (neon_compare): Likewise.
2006 (do_neon_shll): Likewise.
2007 (do_neon_cvt): Likewise.
2008 (do_neon_mvn): Likewise.
2009 (do_neon_dup): Likewise.
2010 (md_assemble): Call check_neon_suffixes ().
2011
2012 For older changes see ChangeLog-2009
2013 \f
2014 Local Variables:
2015 mode: change-log
2016 left-margin: 8
2017 fill-column: 74
2018 version-control: never
2019 End: