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