55bc5a638654690b1cf41ee72ab481c85edb2b5a
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
2
3 * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
4 entries.
5
6 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
7
8 * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
9 of vex256.
10
11 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
12
13 PR gas/10677
14 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
15 for BFD_RELOC_X86_64_GOTPCREL.
16
17 2009-09-23 H.J. Lu <hongjiu.lu@intel.com>
18
19 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
20 BFD_RELOC_386_GOT32.
21
22 2009-09-23 Sterling Augustine <sterling@jaw.hq.tensilica.com>
23
24 * config/tc-xtensa.c (md_apply_fix): Remove check for constant with
25 difference of of two symbols.
26 (xtensa_fix_adjustable): Likewise.
27
28 2009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
29
30 * configure.com: Fix a typo.
31
32 2009-09-23 Alan Modra <amodra@bigpond.net.au>
33
34 * symbols.c (define_sym_at_dot): New function, extracted from..
35 (colon): ..here. Define error case cloned symbol.
36
37 2009-09-21 H.J. Lu <hongjiu.lu@intel.com>
38
39 * config/tc-i386.c: Remove white spaces.
40
41 2009-09-21 Ben Elliston <bje@au.ibm.com>
42 Peter Bergner <bergner@vnet.ibm.com>
43
44 * config/tc-ppc.c (md_show_usage): Document -mpcca2.
45 * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.
46
47 2009-09-18 Nick Clifton <nickc@redhat.com>
48
49 * po/es.po: Updated Spanish translation.
50
51 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
52
53 * config/tc-i386.c (offset_in_range): Sign extend offset only
54 if BFD64 is defined.
55
56 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
57
58 * config/tc-i386-intel.c (i386_intel_operand): Initialize
59 intel_state.has_offset to 0.
60
61 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
62
63 * config/tc-i386.c (offset_in_range): Sign extend offset only
64 for 32bit address mode.
65
66 2009-09-15 Tristan Gingold <gingold@adacore.com>
67
68 * makefile.vms (OBJS): Compile te-vms.c only on Itanium.
69
70 2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
71
72 PR gas/10637
73 * config/tc-i386-intel.c (intel_state): Add has_offset.
74 (i386_intel_simplify): Set intel_state.has_offset to 1 for
75 O_offset.
76 (i386_intel_operand): Turn on intel_state.is_mem if
77 intel_state.has_offset is 0 and the last char is ']'.
78
79 2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
80
81 PR gas/10636
82 * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
83 if there is an ADDR_PREFIX.
84 (i386_finalize_displacement): Repor error if signed 32bit
85 displacement is out of range.
86
87 2009-09-13 Richard Sandiford <rdsandiford@googlemail.com>
88
89 * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
90 Require the target to be a bare symbol on targets with
91 in-place addends.
92 (macro_build_jalr): Update accordingly.
93 (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
94 with in-place addends.
95
96 2009-09-11 Nick Clifton <nickc@redhat.com>
97
98 * po/gas.pot: Updated by the Translation project.
99
100 2009-09-11 Martin Thuresson <martint@google.com>
101
102 * as.c (main): Call dwarf2_init.
103 * config/obj-elf.c (struct group_list): New field.
104 (build_group_lists): Use hash lookup.
105 (free_section_idx): New function.
106 (elf_frob_file): Adjust.
107 * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
108 (get_line_subseg): Adjust.
109 (dwarf2_init): New function.
110 * dwarf2dbg.h (dwarf2_init): New declaration.
111
112 2009-09-11 Martin Thuresson <martint@google.com>
113
114 Updated sources to compile cleanly with -Wc++-compat:
115 * app.c: Add casts.
116 * as.c: Add casts.
117 * config/obj-elf.c: Add casts.
118 (obj_elf_type): Rename variable typename to type_name.
119 * config/tc-i386-intel.c (i386_operators): Rename member operator to op.
120 * config/tc-i386.c: Add casts.
121 (check_cpu_arch_compatible): Rename argument new to new_flag.
122 (gotrel): Update variable to use enum name instead of integer value.
123 * dw2gencfi.c: Add casts.
124 (struct cfi_escape_data): Move to top level.
125 * dwarf2dbg.c: Add cast.
126 * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern.
127 * ehopt.c Add casts.
128 (enum frame_state): Move to top level.
129 * expr.c (operatorf): Rename function operator to operatorf.
130 (operand): Rename variable operator to op.
131 (expr_set_rank): Rename argument operator to op.
132 * frags.c: Add cast.
133 * hash.c: Add casts.
134 * input-scrub.c: Add cast.
135 * listing.c: Add casts.
136 (enum edict_enum): Move to top level.
137 * macro.c: Add casts.
138 * macro.h (enum formal_type): Move to top level.
139 * read.c: Add casts.
140 (s_include): Rename variable try to try_file.
141 * remap.c: Add cast.
142 * stabs.c: Add casts.
143 * subsegs.c: Add casts.
144 * symbols.c: Add casts.
145 * write.c: Add casts.
146
147 2009-09-11 Hans-Peter Nilsson <hp@bitrange.com>
148
149 PR gas/10623
150 * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
151 Allow register operands for SWYM as for TRIP and TRAP. Correct
152 operand handling and error checking. Never emit
153 BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
154
155 2009-09-10 Alan Modra <amodra@bigpond.net.au>
156
157 * config/tc-d10v.c: Include dwarf2dbg.h.
158 (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
159 (d10v_frob_label): New function.
160 * config/tc-d10v.h (d10v_frob_label): Declare.
161 (tc_frob_label): Define as d10v_frob_label.
162
163 2009-09-10 Alan Modra <amodra@bigpond.net.au>
164
165 * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
166 * config/tc-frv.c (frv_frob_label): Likewise.
167
168 2009-09-09 Alan Modra <amodra@bigpond.net.au>
169
170 * config/obj-coff.h (USE_UNIQUE): Don't define.
171 * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
172 * symbols.c (an_external_name): Define when TE_PE.
173 (S_SET_EXTERNAL): Assign an_external_name when TE_PE.
174 * tc.h (an_external_name): Declare when TE_PE.
175
176 * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
177
178 2009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
179
180 * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
181
182 2009-09-08 Alan Modra <amodra@bigpond.net.au>
183
184 * read.c (emit_expr_fix): Handle size 3.
185 * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
186 * config/tc-d30v.c (write_long, write_1_short,
187 write_2_short, md_assemble): Likewise.
188 * config/tc-dlx.c (md_assemble): Likewise.
189 * config/tc-i860.c (md_assemble): Likewise.
190 * config/tc-mn10200.c (md_assemble): Likewise.
191 * config/tc-pj.c (md_assemble): Likewise.
192 * config/tc-vax.c (md_assemble): Likewise.
193
194 2009-09-07 Daniel Gutson <dgutson@codesourcery.com>
195
196 * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
197 * doc/c-arm.texi: cortex-r4f CPU added.
198
199 2009-09-07 Tristan Gingold <gingold@adacore.com>
200
201 * po/POTFILES.in: Regenerate.
202 * po/gas.pot: Regenerate.
203
204 * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c
205 (POTFILES): Add $(TARG_ENV_CFILES) in definition.
206 (EXTRA_as_new_SOURCES): Ditto.
207 * Makefile: Regenerate.
208 * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
209 BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
210 * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
211 st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and
212 sys/stat.h headers.
213 Add te-vms.o in extra_objects if te_file is vms.
214 * configure: Regenerate.
215 * config.in: Regenerate.
216 * config/te-vms.c: New file, from bfd/vmsutil.c
217 (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
218 (vms_dwarf2_file_name): New functions.
219 (vms_file_stats_name): Make it static, add a dirname parameter to
220 locally create the full pathname.
221 * config/te-vms.h: Add a copyright header.
222 Declare the above functions.
223 (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
224 the above functions in the definition.
225 * makefile.vms (OBJS): Add te-vms.obj.
226 (te-vms.obj): Create a specific target.
227 * configure.com: Create targ-env.h using a per target value.
228 Compile te-vms.c for ia64.
229
230 2009-09-05 Jie Zhang <jie.zhang@analog.com>
231
232 * doc/as.texinfo: Document that Blackfin GAS does not
233 accept SYMBOL = VALUE.
234
235 2009-09-05 Martin Thuresson <martin@mtme.org>
236
237 * config/tc-arc.c (struct syntax_classes): Rename member class
238 to s_class. (arc_extinst): Rename variable class to
239 s_class. Update code to use renamed members.
240 * config/tc-mips.c (insn_uses_reg): Rename argument class to
241 regclass.
242 * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
243 (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
244 (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
245 members.
246 * config/tc-ppc.h (struct ppc_tc_sy): Change name of member
247 from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
248 code to use renamed members.
249 * config/tc-score.c (s3_adjust_paritybit): Rename argument
250 class to i_class.
251 * config/tc-score7.c (s7_adjust_paritybit): Rename argument
252 class to i_class.
253
254 2009-09-04 Tristan Gingold <gingold@adacore.com>
255
256 * NEWS: Add marker for 2.20.
257
258 2009-09-04 Jie Zhang <jie.zhang@analog.com>
259
260 * config/bfin-parse.y (asm_1): Implement HLT instruction.
261 Fix comments for DBGA, DBGAH and DBGAL.
262 * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
263 to the new encoding of DBGA, DBGAH, and DBGAL.
264
265 2009-09-04 Jie Zhang <jie.zhang@analog.com>
266
267 * doc/all.texi: Replace BFIN with Blackfin.
268 * doc/as.texinfo: Likewise.
269 * doc/c-bfin.texi: Likewise.
270 * doc/asconfig.texi: Likewise.
271
272 * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514,
273 bf516 and bf518.
274
275 2009-09-04 Jie Zhang <jie.zhang@analog.com>
276
277 * Makefile.am (bfin-parse.o): Remove bfin-parse.h from
278 the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
279 prerequisite.
280 (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ...
281 (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
282 (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h
283 to the prerequisite.
284 * Makefile.in: Regenerate.
285
286 2009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
287
288 * Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
289 (itbl-ops.o, itbl-tops.o): Likewise.
290 (itbl-parse.h): Use separate rule.
291 * Makefile.in: Regenerate.
292
293 2009-09-03 Jie Zhang <jie.zhang@analog.com>
294
295 * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
296 -mcpu= option.
297
298 2009-09-03 Jie Zhang <jie.zhang@analog.com>
299
300 * config/bfin-lex.l: Remove V as STATUS_REG.
301
302 2009-09-03 Jie Zhang <jie.zhang@analog.com>
303
304 * config/bfin-parse.y: Remove trailing whitespace.
305 (ccstat): Indent.
306 * config/tc-bfin.c (struct bfin_reg_entry): Remove.
307 (bfin_reg_info[]): Remove.
308
309 2009-09-03 Jie Zhang <jie.zhang@analog.com>
310
311 * config/bfin-defs.h (F_REG_ALL): Remove macro.
312 (F_REG_HIGH): Redefine.
313 (F_REG_NONE): New macro.
314 (F_REG_LOW): New macro.
315 (REG_CLASS): Enclose macro argument in parentheses when used.
316 (REG_EVEN): Likewise.
317 (IS_H): Use flags.
318 (IS_HCOMPL): Use flags.
319 * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags.
320 (parse_reg): Set flags.
321 (parse_halfreg): Set flags.
322
323 2009-09-03 Jie Zhang <jie.zhang@analog.com>
324
325 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
326 05000074 only when both slot1 and slot2 are filled.
327
328 2009-09-03 Jie Zhang <jie.zhang@analog.com>
329
330 * config/tc-bfin.c (md_assemble): Bump line counters if there is
331 EOL in the instruction.
332
333 2009-09-03 Jie Zhang <jie.zhang@analog.com>
334
335 * config/bfin-defs.h (IS_GENREG): Define.
336 (IS_DAGREG): Define.
337 (IS_SYSREG): Define.
338 * config/bfin-parse.y (asm_1): Check illegal register move
339 instructions.
340
341 2009-09-03 Jie Zhang <jie.zhang@analog.com>
342
343 * config/bfin-parse.y (asm_1): Fix a typo.
344
345 2009-09-03 Jie Zhang <jie.zhang@analog.com>
346
347 * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
348 * config/tc-bfin.c (bfin_start_line_hook): Remove.
349 (bfin_loop_beginend): New.
350 * config/tc-bfin.h (bfin_start_line_hook): Don't declare.
351 (md_start_line_hook): Don't define.
352 * config/bfin-aux.h (bfin_loop_beginend): Declare.
353
354 2009-09-03 Tristan Gingold <gingold@adacore.com>
355
356 * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
357 Call xstrdup on the result and free the buffer after use.
358
359 2009-09-03 Tristan Gingold <gingold@adacore.com>
360
361 * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
362
363 2009-09-02 Jie Zhang <jie.zhang@analog.com>
364
365 * config/bfin-parse.y (value_match): Use int instead of long.
366
367 From Michael Frysinger <michael.frysinger@analog.com>
368 * config/bfin-defs.h (Expr_Node_Value): Declare the i_value
369 member as long long.
370
371 2009-09-02 Jie Zhang <jie.zhang@analog.com>
372
373 From Bernd Schmidt <bernd.schmidt@analog.com>
374 * config/bfin-parse.y (asm_1): Clean up and unify error handling
375 for load and store insns.
376 (neg_value): Delete function.
377
378 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
379
380 * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
381 Supply correct source file name for generated files which may be
382 in $(srcdir).
383 * Makefile.in: Regenerate.
384
385 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
386
387 * version.c (parse_args): Change to "Copyright 2009".
388
389 2009-09-01 Tristan Gingold <gingold@adacore.com>
390
391 * makefile.vms: Adjust include pathes. Remove useless vaxctrl
392 library.
393 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
394 Make edit silent.
395
396 2009-09-01 Jie Zhang <jie.zhang@analog.com>
397
398 * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
399 in comparison.
400
401 2009-09-01 Jie Zhang <jie.zhang@analog.com>
402
403 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>
404 * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
405 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.
406
407 2007-08-23 Jie Zhang <jie.zhang@analog.com>
408 * config/tc-bfin.c (bfin_fix_adjustable): Adjust
409 BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
410 BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
411
412 2009-09-01 Jie Zhang <jie.zhang@analog.com>
413
414 * read.c (TC_START_LABEL): Add a new argument.
415 (read_a_source_file): Pass the beginning of the symbol through
416 the new argument of TC_START_LABEL.
417 * config/tc-arm.h (TC_START_LABEL): Add a new argument.
418 * config/tc-bfin.c (bfin_start_label): Only search '(' and '['
419 from the beginning of the symbol.
420 * config/tc-bfin.h (TC_START_LABEL): Add the new argument.
421 * config/tc-d30v.h (TC_START_LABEL): Likewise.
422 * config/tc-fr30.h (TC_START_LABEL): Likewise.
423 * config/tc-m32c.h (TC_START_LABEL): Likewise.
424 * config/tc-m32r.h (TC_START_LABEL): Likewise.
425 * config/tc-mep.h (TC_START_LABEL): Likewise.
426
427 2009-08-31 H.J. Lu <hongjiu.lu@intel.com>
428
429 PR gas/10570
430 * write.c (write_object_file): Revert the accidental change
431 made in revision 1.124 on 2009-08-17.
432
433 2009-08-31 Jan Beulich <jbeulich@novell.com>
434
435 * config/obj-elf.c (obj_elf_change_section): Set default type
436 by calling bfd_elf_get_default_section_type.
437
438 2009-08-31 Jie Zhang <jie.zhang@analog.com>
439
440 * config/bfin-aux.h: Change format from DOS to UNIX.
441
442 2009-08-29 Martin Thuresson <martin@mtme.org>
443
444 * config/tc-arm.c (struct asm_cond, struct asm_psr, struct
445 asm_barrier_opt): Change member template to
446 template_name. (md_begin): Update code to reflect new member
447 names.
448 * config/tc-i386.c (struct templates, struct _i386_insn)
449 (match_template, cpu_flags_match, match_reg_size, match_mem_size)
450 (operand_size_match, md_begin, i386_print_statistics, pi)
451 (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
452 (optimize_disp): Updated code to use new names. (parse_insn):
453 Added casts.
454 * config/tc-ia64.c (dot_template, emit_one_bundle): Updated
455 code to use new names.
456 * config/tc-score.c (struct s3_asm_opcode): Renamed member
457 template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
458 s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
459 use new names.
460 * config/tc-score7.c (struct s7_asm_opcode): Renamed member
461 template to template_name. (s7_parse_16_32_inst,
462 s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
463 use new names.
464 * config/tc-tic30.c (md_begin, struct tic30_insn)
465 (md_assemble): Update code to use new names.
466 * config/tc-tic54x.c (struct _tic54x_insn, md_begin)
467 (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
468 Update code to use new names.
469 * config/tc-arm.c (insert_reg_alias): Rename variable new to
470 new_reg.
471 * config/tc-dlx.c (parse_operand): Rename variable new to
472 new_pos.
473 * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
474 new to newr.
475 * config/tc-mcore.c (parse_exp, parse_imm): Rename variable
476 new to new_pointer.
477 * config/tc-microblaze.c (parse_exp, parse_imm, check_got):
478 Change name from new to new_pointer.
479 * config/tc-or32.c (parse_operand): Rename variable new to
480 new_pointer.
481 * config/tc-pdp11.c (md_assemble): Rename variable new to
482 new_pointer.
483 * config/tc-pj.c (alias): Change argument new to new_name.
484 * config/tc-score.c (s3_build_score_ops_hsh): Rename variable
485 new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
486 new to new_i2n. (s3_convert): Rename variables old and new to
487 r_old and r_new.
488 * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
489 new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
490 new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
491 variables old and new to r_old and r_new.
492 * config/tc-sh.c (parse_exp): Rename variable new to
493 new_pointer.
494 * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
495 new_pointer.
496 * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
497 to new_pointer.
498 * config/tc-z8k.c (parse_exp): Rename variable new to
499 new_pointer.
500 * listing.c (listing_newline): Rename variable new to new_i.
501
502 2009-08-29 Matt Fleming <matt@console-pimps.org>
503
504 * config/tc-sh.c (md_apply_fix): Extend sign of the offset value
505 for 64-bit host.
506
507 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
508
509 * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
510 (i386_align_code): Handle PROCESSOR_L1OM.
511 (check_cpu_arch_compatible): Fix a typo in comments.
512 (set_cpu_arch): Check cpu_arch_isa instead of
513 cpu_arch_isa_flags.bitfield.cpul1om.
514 (i386_mach): Likewise.
515 (i386_target_format): Likewise.
516
517 * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.
518
519 2009-08-26 DJ Delorie <dj@redhat.com>
520
521 * config/tc-mep.c (md_pcrel_from_section): Handle any other
522 forced-relocation cases.
523
524 2009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
525
526 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
527 * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix
528 syntax error.
529 * Makefile.in: Regenerate.
530 * po/POTFILES.in: Likewise.
531 * po/gas.pot: Likewise.
532
533 2009-08-26 Nick Clifton <nickc@redhat.com>
534
535 * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
536 seh_ctx_root being NULL.
537
538 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
539
540 * Makefile.am (am__skiplex, am__skipyacc): New.
541 * Makefile.in: Regenerate.
542
543 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
544
545 * Makefile.am (YFLAGS): Remove, not needed any more.
546 (AM_CPPFLAGS): Renamed from ...
547 (INCLUDES): ... this.
548 * Makefile.in: Regenerate.
549
550 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
551 foreign and no-dist.
552 (all): Remove now-unneeded dependency upon info.
553 (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
554 (DEP_FILE_DEPS): Remove variables.
555 (OBJ_FORMAT_CFILES): Add config/obj-multi.c.
556 (OBJ_FORMAT_HFILES): Add config/obj-multi.h.
557 ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
558 ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
559 (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
560 (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
561 (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
562 now-unneeded rules.
563 (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
564 $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
565 $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
566 are picked up in the Makefile.
567 (itbl-lex.c, itbl-ops.o): Remove manual dependencies.
568 (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
569 (itbl-test.o): Rewrite using automake-style dependency
570 tracking rules; only list the dependency upon the primary source
571 file, but no included headers.
572 (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
573 Remove.
574 (mkdep section): Remove.
575 * Makefile.in: Regenerate.
576 * po/POTFILES.in, po/gas.pot: Regenerate.
577
578 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
579 (install-html-recursive): Remove.
580 * Makefile.in: Regenerate.
581 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
582 (html__strip_dir, install-html, install-html-am): Remove.
583 * doc/Makefile.in: Regenerate.
584
585 * Makefile.in: Regenerate.
586 * aclocal.m4: Likewise.
587 * config.in: Likewise.
588 * configure: Likewise.
589 * doc/Makefile.in: Likewise.
590
591 2009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
592
593 * config/tc-xtensa.c (config_max_slots): New global variable.
594 (md_begin): Set config_max_slots.
595 (total_frag_text_expansion): Use config_max_slots instead of
596 MAX_SLOTS.
597 (xg_init_vinsn): Likewise.
598 (xg_clear_vinsn): Likewise.
599 (xg_free_vinsn): Likewise.
600
601 2009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>
602
603 * config/tc-xtensa.c (xg_copy_vinsn): New function.
604 (finish_vinsn): Call xg_copy_vinsn.
605
606 2009-08-19 Sterling Augustine <sterling@tensilica.com>
607
608 * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev
609 to no_transform_end.
610 * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set
611 and use no_transform_end.
612
613 2009-08-18 Kai Tietz <kai.tietz@onevision.com>
614
615 * config/obj-coff-seh.c: Add copyright notice.
616 * config/obj-coff-seh.h: Add copyright notice.
617 Add x64 specific macros from coff/pe.h header.
618
619 2009-08-18 Sterling Augustine <sterling@tensilica.com>
620
621 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
622 sizeof instead of hard-coded value.
623 (add_xt_block_frags): Remove unused local variable.
624 (frag_flags_to_number): Change return type to flagword. Remove
625 unused local variable.
626
627 2009-08-17 Sterling Augustine <sterling@tensilica.com>
628
629 * config/tc-xtensa.c (xtensa_frob_label): move call to
630 do_align_targets to set frag_type only.
631
632 2009-08-17 Kai Tietz <kai.tietz@onevision.com>
633
634 * config/obj-coff-seh.c: New file.
635 * config/obj-coff-seh.h: Likewise.
636 * config/obj-coff.c (obj-coff-seh.c): Add include.
637 (coff_pseudo_table): Add new .seh... commands.
638 * config/obj-coff.h (obj_coff_seh_do_final): Add new
639 function prototype.
640 (obj_coff_generate_pdata): New obj-coff hook.
641 * write.c (size_seg): Avoid sizing of already sized
642 sections.
643 (write_object_file): Call conditional hook
644 objc_coff_generate_pdata.
645 * Makefile.am: Add dependencies for new files.
646 * Makefile.in: Regenerated.
647
648 2009-08-17 Nick Clifton <nickc@redhat.com>
649
650 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
651 (parse_reg): Use safe-ctype.h macros.
652 (parse_exp): Likewise.
653 (md_assemble): Likewise.
654
655 2009-08-11 DJ Delorie <dj@redhat.com>
656
657 * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
658 symbols correctly.
659 (md_convert_frag): Likewise.
660 (md_pcrel_from_section): Likewise.
661 (mep_force_relocation): Likewise.
662
663 2009-08-11 Bernd Schmidt <bernd.schmidt@analog.com>
664
665 * config/bfin-parse.y (gen_multi_instr_1): New function.
666 (asm): Use it instead of bfin_gen_multi_instr.
667 (error): Add a format string when calling as_bad.
668 * config/bfin-defs.h (insn_regmask): Declare.
669 * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
670 macros.
671 (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
672 decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
673 decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
674 decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
675 insn_regmask): New functions.
676
677 From Jie Zhang <jie.zhang@analog.com>
678 * config/tc-bfin.h (bfin_anomaly_checks): Declare.
679 (AC_05000074): Define.
680 (ENABLE_AC_05000074): Define.
681 * config/tc-bfin.c (enum bfin_cpu_type): New.
682 (bfin_cpu_t): Typedef.
683 (bfin_cpu_type): Define.
684 (bfin_si_revision): Define.
685 (bfin_anomaly_checks): Define.
686 (struct bfin_cpu): New.
687 (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
688 (bfin_isa): New global variable.
689 (OPTION_MCPU): Define.
690 (md_longopts[]): Add -mcpu option.
691 (md_parse_option): Deal with -mcpu option and initialize
692 bfin_anomaly_checks.
693 * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
694 -mcpu option.
695 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
696 05000074.
697
698 2009-08-11 Mike Frysinger <vapier@gentoo.org>
699
700 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
701 (unary): Likewise.
702
703 2009-08-11 Nick Clifton <nickc@redhat.com>
704
705 PR 10443
706 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
707 operands.
708
709 2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
710
711 Fix compilation of i386-*-go32.
712 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
713 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
714 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
715 * config/tc-i386.h <!i386_target_format>: ... here.
716
717 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
718
719 PR gas/10479
720 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
721
722 2009-08-07 Daniel Jacobowitz <dan@codesourcery.com>
723
724 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
725 variables.
726 (mapping_state): Use the section's mapstate.
727 (mapping_state_2): Likewise. Skip special sections.
728 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
729 (arm_elf_change_section): Do not set deleted globals.
730 * config/tc-arm.h (struct arm_segment_info_type): Document
731 marked_pr_dependency.
732
733 2009-08-07 Michael Eager <eager@eagercon.com>
734
735 * NEWS: Mention MicroBlaze support.
736
737 2009-08-06 Michael Eager <eager@eagercon.com>
738
739 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
740 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
741 DEP_microblaze_elf target.
742 * Makefile.in: Regenerate.
743 * config/tc-microblaze.c: Add MicroBlaze assembler.
744 * config/tc-microblaze.h: Add header for tc-microblaze.c.
745 * configure.in: Add microblaze target.
746 * configure: Regenerate.
747 * configure.tgt: Same.
748 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
749 * doc/Makefile.in: Same.
750 * doc/all.texi: Set MICROBLAZE.
751 * doc/as.texinfo: Add MicroBlaze doc links.
752 * doc/c-microblaze.texi: New MicroBlaze docs.
753
754 2009-08-06 Nick Clifton <nickc@redhat.com>
755
756 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
757 block in case it is a null macro.
758
759 2009-08-05 Chao-ying Fu <fu@mips.com>
760
761 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
762 true for new abi. For non-IRIX targets, it is always true.
763 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
764
765 2009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
766
767 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
768 attiny861a, atmega644pa, attiny24a, attiny44a.
769 * doc/c-avr.texi: Likewise.
770
771 2009-08-04 Sandra Loosemore <sandra@codesourcery.com>
772
773 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
774 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
775
776 2009-08-04 Nathan Sidwell <nathan@codesourcery.com>
777
778 * config/tc-arm.c (my_get_expression): Detect missing expressions.
779
780 2009-08-02 Eric B. Weddington <eric.weddington@atmel.com>
781
782 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
783 * doc/c-avr.texi: Likewise.
784
785 2009-08-01 Eric B. Weddington <eric.weddington@atmel.com>
786
787 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
788 * doc/c-avr.texi: Likewise.
789
790 2009-07-31 Daniel Gutson <dgutson@codesourcery.com>
791 Daniel Jacobowitz <dan@codesourcery.com>
792
793 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
794 * config/tc-arm.c (make_mapping_symbol): New function, from
795 mapping_state. Save mapping symbols in the frag.
796 (insert_data_mapping_symbol): New.
797 (mapping_state): Use make_mapping_symbol, improve state transitions.
798 (mapping_state_2): New. Provide dummy definition.
799 (opcode_select): Do not call mapping_state.
800 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
801 (output_inst): Update use of tc_frag_data.
802 (new_automatic_it_block): Call mapping_state before emitting the
803 IT instruction.
804 (md_assemble): Move mapping_state to just before outputting the
805 new instruction.
806 (arm_handle_align): Update use of tc_frag_data.
807 Call insert_data_mapping_symbol.
808 (arm_init_frag): Update use of tc_frag_data. Call
809 mapping_state_2.
810 (arm_elf_change_section): Always update the mapping symbol FSM state.
811 (check_mapping_symbols): New function.
812 (arm_adjust_symtab): Use check_mapping_symbols.
813 * config/tc-arm.h (struct arm_frag_type): New.
814 (TC_FRAG_TYPE): Change to struct arm_frag_type.
815 (TC_FRAG_INIT): Pass max_chars.
816 (arm_init_frag): Update prototype.
817
818 2009-07-31 Anthony Green <green@moxielogic.com>
819
820 * configure.tgt (generic_target): Add moxie-uclinux support.
821
822 2009-07-30 Nick Clifton <nickc@redhat.com>
823
824 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
825 different syntaxes support by the ARM port.
826 (ARM Directives): Add entry for .syntax.
827
828 * doc/c-mips.texi (MIPS insn): Fix typo.
829
830 2009-07-29 Alan Modra <amodra@bigpond.net.au>
831
832 PR ld/10269
833 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
834 * config/tc-i386.c: Revert 2009-06-13 change.
835 * config/tc-i386.h: Likewise.
836
837 2009-07-28 Jan Beulich <jbeulich@novell.com>
838
839 * expr.c (op_rank): Specify size. Remove O_md* initializers.
840
841 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
842
843 * config/tc-m68k.c (mcf5221x_ctrl): New.
844 (m68k_cpu): Add line for MCF5221x.
845
846 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
847
848 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
849 (mcf53017_ctrl): Fix RAMBAR.
850
851 2009-07-27 Jan Beulich <jbeulich@novell.com>
852
853 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
854 symbol_new() with the passed in, unmodified one.
855
856 2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
857
858 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
859 object file without symbol values.
860 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
861 then set the relocation type as NULL.
862
863 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
864
865 * config/tc-i386.c (cpu_arch): Add l1om.
866 (check_cpu_arch_compatible): New.
867 (set_cpu_arch): Use it.
868 (i386_arch): New.
869 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
870 (md_show_usage): Display l1om.
871 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
872 cpu_arch_isa_flags.bitfield.cpul1om is set.
873
874 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
875 (i386_arch): New.
876 (ELF_TARGET_L1OM_FORMAT): Likewise.
877
878 * doc/c-i386.texi: Document l1om.
879
880 2009-07-24 Roland McGrath <roland@redhat.com>
881 Mark Wielaard <mjw@redhat.com>
882
883 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
884 flags on .comment section.
885
886 2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
887 Alan Modra <amodra@bigpond.net.au>
888
889 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
890 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
891 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
892
893 2009-07-24 Jan Beulich <jbeulich@novell.com>
894
895 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
896 .nosse, and .noavx.
897 (cpu_flags_and_not): New.
898 (set_cpu_arch): Check whether sub-architecture specified is a
899 feature disable.
900 (md_parse_option): Likewise.
901 (parse_real_register): Don't return floating point register
902 when x87 functionality is disabled.
903 (md_show_usage): Add new sub-options.
904 * doc/c-i386.texi: Update with new command line sub-options.
905
906 2009-07-24 Nick Clifton <nickc@redhat.com>
907
908 PR 10437
909 * config/tc-alpha.c: Fix up uses of gas printf like functions so
910 that the format string is a constant string. Add translation
911 support to message strings.
912 * config/tc-arc.c: Likewise.
913 * config/tc-arm.c: Likewise.
914 * config/tc-cris.c: Likewise.
915 * config/tc-fr30.c: Likewise.
916 * config/tc-frv.c: Likewise.
917 * config/tc-h8300.c: Likewise.
918 * config/tc-hppa.c: Likewise.
919 * config/tc-i370.c: Likewise.
920 * config/tc-i960.c: Likewise.
921 * config/tc-ia64.c: Likewise.
922 * config/tc-m32r.c: Likewise.
923 * config/tc-mep.c: Likewise.
924 * config/tc-mips.c: Likewise.
925 * config/tc-moxie.c: Likewise.
926 * config/tc-msp430.c: Likewise.
927 * config/tc-openrisc.c: Likewise.
928 * config/tc-pdp11.c: Likewise.
929 * config/tc-pj.c: Likewise.
930 * config/tc-s390.c: Likewise.
931 * config/tc-sh.c: Likewise.
932 * config/tc-sh64.c: Likewise.
933 * config/tc-sparc.c: Likewise.
934 * config/tc-spu.c: Likewise.
935 * config/tc-tic30.c: Likewise.
936 * config/tc-tic4x.c: Likewise.
937 * config/tc-tic54x.c: Likewise.
938 * config/tc-v850.c: Likewise.
939 * config/tc-xc16x.c: Likewise.
940 * config/tc-xstormy16.c: Likewise.
941 * config/tc-z80.c: Likewise.
942 * config/tc-z8k.c: Likewise.
943 * config/atof-ieee.c: Add translation support to as_warn
944 messages.
945 * config/obj-coff.c: Likewise.
946
947 2009-07-23 Ulrich Drepper <drepper@redhat.com>
948
949 * config/obj-elf.c (obj_elf_type): Add code to support a type of
950 gnu_unique_object.
951 * doc/as.texinfo: Document new feature of .type directive.
952 * NEWS: Mention support for gnu_unique_object symbol type.
953
954 2009-07-23 Nick Clifton <nickc@redhat.com>
955
956 PR binutils/10379
957 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
958 the .global directive for MIPS ports.
959
960 2009-07-21 H.J. Lu <hongjiu.lu@intel.com>
961
962 PR gas/10420
963 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
964 64bit.
965 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
966 for 64bit.
967
968 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
969
970 * config/tc-i386.c (md_assemble): Update operand types.
971 (update_imm): Updated.
972 (finalize_imm): Update the first 2 immediate operands only
973 for instructions with 2 operands or more.
974
975 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
976
977 * config/tc-i386.c (md_assemble): Check implicit registers
978 only for instructions with 3 operands or less.
979
980 2009-07-17 Nick Clifton <nickc@redhat.com>
981
982 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
983 compile time warning.
984
985 2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
986
987 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
988 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
989
990 2009-07-16 Nathan Sidwell <nathan@codesourcery.com>
991
992 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
993 the offset for REL targets here.
994
995 2009-07-15 Kai Tietz <kai.tietz@onevision.com>
996
997 * listing.c (print_source): Initialize cache by NULL.
998
999 2009-07-15 Daniel Gutson <dgutson@codesourcery.com>
1000
1001 * doc/c-arm.texi (mauto-it): Removed old option.
1002 (mimplicit-it): Added right option.
1003
1004 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1005
1006 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
1007 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
1008 MAX_MEM_ALIGNMENT_BYTES.
1009 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
1010 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
1011
1012 2009-07-14 Nick Clifton <nickc@redhat.com>
1013
1014 PR 10387
1015 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
1016 (ARM_IS_FUNC): Likewise.
1017
1018 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1019
1020 * config/tc-arm.c (md_assemble): Added validation.
1021
1022 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
1023
1024 * Makefile.am: Run "make dep-am".
1025 * Makefile.in: Regenerated.
1026
1027 2009-07-10 Tom Tromey <tromey@redhat.com>
1028
1029 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
1030 elf/dwarf2.h.
1031 (DEPTC_alpha_elf): Likewise.
1032 (DEPTC_alpha_evax): Likewise.
1033 (DEPTC_arm_elf): Likewise.
1034 (DEPTC_hppa_elf): Likewise.
1035 (DEPTC_i386_aout): Likewise.
1036 (DEPTC_i386_coff): Likewise.
1037 (DEPTC_i386_elf): Likewise.
1038 (DEPTC_m68k_aout): Likewise.
1039 (DEPTC_m68k_coff): Likewise.
1040 (DEPTC_m68k_elf): Likewise.
1041 (DEPTC_mips_coff): Likewise.
1042 (DEPTC_mips_ecoff): Likewise.
1043 (DEPTC_mips_elf): Likewise.
1044 (DEPTC_ppc_coff): Likewise.
1045 (DEPTC_ppc_elf): Likewise.
1046 (DEPTC_s390_elf): Likewise.
1047 (DEPTC_sh_coff): Likewise.
1048 (DEPTC_sh_elf): Likewise.
1049 (DEPTC_sh64_elf): Likewise.
1050 (DEPTC_sparc_aout): Likewise.
1051 (DEPTC_sparc_coff): Likewise.
1052 (DEPTC_sparc_elf): Likewise.
1053 (as.o): Likewise.
1054 (dwarf2dbg.o): Likewise.
1055 (dw2gencfi.o): Likewise.
1056 (ehopt.o): Likewise.
1057 (read.o): Likewise.
1058 * Makefile.in: Rebuild.
1059 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
1060 * dwarf2dbg.c: Likewise.
1061 * ehopt.c: Likewise.
1062
1063 2009-07-09 Daniel Gutson <dgutson@codesourcery.com>
1064
1065 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
1066 (set_it_insn_type_nonvoid): New macro.
1067 (emit_thumb32_expr): New function.
1068 (thumb_insn_size): New function.
1069 (emit_insn): New function.
1070 (s_arm_elf_inst): New function.
1071 (md_pseudo_table): New pseudo-opcode entries added.
1072 * doc/c-arm.texi: New directive added.
1073
1074 2009-07-07 DJ Delorie <dj@redhat.com>
1075
1076 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
1077 when enabling other options without a specific configuration.
1078
1079 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
1080
1081 * config/tc-arm.c (insns): Fix encoding for torvsc.
1082
1083 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1084
1085 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
1086 (build_modrm_byte): Add support to handle FMA4 instructions.
1087 (md_show_usage): Add fma4.
1088
1089 2009-07-04 Alan Modra <amodra@bigpond.net.au>
1090
1091 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
1092
1093 2009-07-02 Tristan Gingold <gingold@adacore.com>
1094
1095 * Makefile.am (OBJ_FORMATS): Add macho.
1096 (CPU_OBJ_VALID): Ditto.
1097 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
1098 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
1099 (obj-macho.o): New rule.
1100 * Makefile.in: Regenerated.
1101 * configure.tgt (generic_target): Add i386-*-darwin*.
1102 * config/tc-i386.h: Use i386_target_format for Mach-O.
1103 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
1104 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
1105 * config/obj-macho.h: New file.
1106 * config/obj-macho.c: New file.
1107
1108 2009-07-01 Nick Clifton <nickc@redhat.com>
1109
1110 PR 10168
1111 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
1112 PKHBT.
1113
1114 2009-07-01 Paul Brook <paul@codesourcery.com>
1115
1116 * config/tc-arm.c (MISSING_FNSTART): Define.
1117 (s_arm_unwind_fnstart): Diagnose duplicate directive.
1118 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
1119 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
1120 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
1121 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
1122 not inside function unwinding region.
1123
1124 2009-06-29 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 * config/tc-i386.c: Reformat.
1127
1128 2009-06-23 DJ Delorie <dj@redhat.com>
1129
1130 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
1131 32 bits for relaxable branches so that we can relax them later.
1132 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
1133 (mep_relax_frag): New.
1134 (md_convert_frag): Relax IVC2 branches in-place.
1135 * config/tc-mep.h ((mep_relax_frag): New.
1136
1137 2009-06-22 Martin Thuresson <martin@mtme.org>
1138
1139 * app, as.c, as.h, atof-generic.c, cgen.c,
1140 config/atof-ieee.c, config/obj-aout.c,
1141 config/obj-coff.c, config/obj-ecoff.c,
1142 config/obj-elf.c, config/obj-som.c, config/tc-alpha.c,
1143 config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c,
1144 config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c,
1145 config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c,
1146 config/tc-i386-intel.c, config/tc-i386.c,
1147 config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c,
1148 config/tc-iq2000.c, config/tc-m32c.c,
1149 config/tc-m32r.c, config/tc-m68hc11.c,
1150 config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c,
1151 config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c,
1152 config/tc-mn10300.c, config/tc-moxie.c,
1153 config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c,
1154 config/tc-s390.c, config/tc-score.c,
1155 config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c,
1156 config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c,
1157 config/tc-xtensa.c, config/xtensa-relax.c,
1158 dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c,
1159 frags.c, input-file.c, read.c, sb.c,
1160 subsegs.c, symbols.c, write.c: Change the name of the
1161 gas macro `assert' to `gas_assert'.
1162
1163 2009-06-22 Daniel Gutson <dgutson@codesourcery.com>
1164
1165 * config/tc-arm.c (implicit_it_mode): New enum.
1166 (implicit_it_mode): New global.
1167 (it_instruction_type): New enum.
1168 (arm_parse_it_mode): New function.
1169 (arm_long_opts): New option added.
1170 (arm_it): New field.
1171 (it_state): New enum.
1172 (now_it): New macro.
1173 (check_it_blocks_finished): New function.
1174 (insns[]): Use the IT Thumb opcodes for ARM too.
1175 (arm_cleanup): Call check_it_blocks_finished.
1176 (now_it_compatible): New function.
1177 (conditional_insn): New function.
1178 (set_it_insn_type): New macro.
1179 (set_it_insn_type_last): New macro.
1180 (do_it): Call automatic IT machinery functions.
1181 (do_t_add_sub): Likewise
1182 (do_t_arit3): Likewise.
1183 (do_t_arit3c): Likewise.
1184 (do_t_blx): Likewise.
1185 (do_t_branch): Likewise.
1186 (do_t_bkpt): Likewise.
1187 (do_t_branch23): Likewise.
1188 (do_t_bx): Likewise.
1189 (do_t_bxj): Likewise.
1190 (do_t_cps): Likewise.
1191 (do_t_cpsi): Likewise.
1192 (do_t_cbz): Likewise.
1193 (do_t_it): Likewise.
1194 (encode_thumb2_ldmstm): Likewise.
1195 (do_t_ldst): Likewise.
1196 (do_t_mov_cmp): Likewise.
1197 (do_t_mvn_tst): Likewise.
1198 (do_t_mul): Likewise.
1199 (do_t_neg): Likewise.
1200 (do_t_setend): Likewise.
1201 (do_t_shift): Likewise.
1202 (do_t_tb): Likewise.
1203 (output_it_inst): New function.
1204 (new_automatic_it_block): New function.
1205 (close_automatic_it_block): New function.
1206 (now_it_add_mask): New function.
1207 (it_fsm_pre_encode): New function.
1208 (handle_it_state): New function.
1209 (it_fsm_post_encode): New function.
1210 (force_automatic_it_block_close): New function.
1211 (in_it_block): New function.
1212 (md_assemble): Call automatic IT block machinery functions.
1213 (arm_frob_label): Likewise.
1214 (arm_opts): New element.
1215 * config/tc-arm.h (it_state): New enum.
1216 (current_it): New struct.
1217 (arm_segment_info_type): New member added.
1218 * doc/c-arm.texi: New option -mimplicit-it documented.
1219
1220 2009-06-20 Alan Modra <amodra@bigpond.net.au>
1221
1222 PR 10302
1223 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
1224
1225 2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1226
1227 * config/tc-s390.c (md_gather_operands): Accept an instruction
1228 without operands if all operands are tagged as optional.
1229
1230 2009-06-18 Nick Clifton <nickc@redhat.com>
1231
1232 PR 10169
1233 * tc-arm.c (do_t_ssat): Move common code from here...
1234 (do_t_usat): ... and here to...
1235 (do_t_ssat_usat): New function: ... here. Add code to check that
1236 the shift value, if present, is in range.
1237
1238 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
1239
1240 Merge cegcc and mingw32ce target name changes
1241 from CeGCC project:
1242
1243 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
1244
1245 * configure.tgt: Add arm*-*-cegcc* target.
1246
1247 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
1248
1249 * configure.tgt: Add arm-*-mingw32ce* target.
1250
1251 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
1252
1253 * config/tc-vax.c (md_estimate_size_before_relax): Accept
1254 indirect symbol references in the PIC mode and emit a
1255 PC-relative relocation instead of a GOT/PLT one. Likewise
1256 for symbols known to be hidden at this point.
1257
1258 2009-06-15 Nick Clifton <nickc@redhat.com>
1259
1260 PR 10186
1261 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
1262 instruction.
1263
1264 2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
1265
1266 PR ld/10269
1267 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
1268 instead of generic_force_reloc.
1269
1270 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
1271
1272 2009-06-11 Anthony Green <green@moxielogic.com>
1273
1274 * config/tc-moxie.c (md_chars_to_number): Define.
1275 (md_begin): Populate opcode hashtable with more form 3 opcodes.
1276 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
1277 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
1278 (tc_gen_reloc): Ditto.
1279 (md_pcrel_from): Ditto.
1280 (md_chars_to_number): New function.
1281
1282 2009-06-10 Anthony Green <green@moxielogic.com>
1283
1284 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
1285 opcodes.
1286
1287 2009-06-09 Jakub Jelinek <jakub@redhat.com>
1288
1289 PR gas/10255
1290 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
1291 to DW_CFA_advance_loc4.
1292
1293 2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
1294
1295 PR gas/977
1296 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
1297 branches to weak symbols.
1298 (md_apply_fix): Don't convert fixes against weak symbols to
1299 section-relative offsets, but save addend for later reloc emission.
1300 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
1301 addend to pre-compensate for bfd_install_relocation.
1302
1303 2009-06-04 Alan Modra <amodra@bigpond.net.au>
1304
1305 * dep-in.sed: Don't use \n in replacement part of s command.
1306 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
1307 * Makefile.in: Regenerate.
1308
1309 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
1310
1311 PR gas/10198
1312 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
1313
1314 2009-05-26 Catherine Moore <clm@codesourcery.com>
1315
1316 * config/tc-mips.c (check_for_24k_errata): Remove.
1317 (md_mips_end): Remove call to check_for_24k_errata.
1318 (start_noreorder): Likewise.
1319 (s_change_sec): Likewise.
1320 (s_change_section): Likewise.
1321 (insns_between): Add 24k errata checks.
1322 (append_insn): Remove declaration and references to nhdx_24k.
1323 Remove calls to check_for_24k_errata.
1324
1325 2009-05-26 Nick Clifton <nickc@redhat.com>
1326
1327 * po/id.po: Updated Indonesian translation.
1328 * po/gas.pot: Updated template file.
1329
1330 2009-05-26 Nick Clifton <nickc@redhat.com>
1331
1332 PR 10143
1333 * config/bfin-parse.y (error): Use "%s" as format string for error
1334 message.
1335
1336 2009-05-26 Alan Modra <amodra@bigpond.net.au>
1337
1338 * dep-in.sed: Output one filename per line with all lines having
1339 continuation backslash. Prefix first line with "A", following
1340 lines with "B".
1341 * Makefile.am (DEP): Don't use dep.sed here.
1342 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
1343 sort and uniq.
1344 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
1345 Emit multi dependencies on one line.
1346 * Makefile.in: Regenerate.
1347
1348 2009-05-25 Tristan Gingold <gingold@adacore.com>
1349
1350 * makefile.vms: New file to compile gas on VMS.
1351
1352 * configure.com: New file to do configuration on VMS with DCL.
1353
1354 2009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
1355
1356 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
1357 (nops_for_insn): Likewise.
1358
1359 2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
1360
1361 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
1362
1363 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1364
1365 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
1366 (build_modrm_byte): Remove DREX handling support.
1367 (DREX_*): Delete.
1368 (drex_byte): Delete.
1369 (md_assemble): Remove DREX handling support.
1370 (process_operands): Remove DREX, SSE5 support.
1371 (i386_insn): Remove DREX.
1372
1373 2009-05-22 Alan Modra <amodra@bigpond.net.au>
1374
1375 * Makefile.am: Run "make dep-am".
1376 * Makefile.in: Regenerate.
1377
1378 2009-05-20 Kai Tietz <kai.tietz@onevision.com>
1379 H.J. Lu <hongjiu.lu@intel.com>
1380
1381 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
1382 (TARGET_FORMAT): Removed for x86 pe-coff.
1383 (COFF_TARGET_FORMAT): Likewise.
1384
1385 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
1386 (md_parse_option): Likewise.
1387 (md_show_usage): Show option --32/--64 for x86 pe-coff.
1388 (i386_target_format): Use also for x86 pe-coff.
1389
1390 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
1391 for x86 pe-coff.
1392
1393 2009-05-19 DJ Delorie <dj@redhat.com>
1394
1395 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
1396 (mep_process_saved_insns): Remove debugging printfs.
1397
1398 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
1399
1400 * NEWS: Mention new feature.
1401 * config/obj-coff.c (obj_coff_common_parse): New function.
1402 (obj_coff_comm): Likewise.
1403 (coff_pseudo_table): Override default ".comm" definition on PE.
1404 * doc/as.texinfo: Document new feature.
1405
1406 2009-05-17 Kai Tietz <kai.tietz@onevision.com>
1407
1408 * config/obj-coff.c (obj_coff_section): Add 'y' as
1409 specifier for SEC_COFF_NOREAD section flag.
1410 * doc/as.texinfo: Add documentation about .section flag 'y'.
1411
1412 2009-05-13 DJ Delorie <dj@redhat.com>
1413
1414 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
1415
1416 2009-05-13 Andrew Jenner <andrew@codesourcery.com>
1417
1418 * config/tc-arm.c: Move as.h to start of file.
1419
1420 2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1421
1422 * config/tc-arm.h: Fix typo in comment.
1423 (ARM_IS_FUNC): New macro.
1424 (MD_APPLY_SYM_VALUE): Define.
1425
1426 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
1427 all versions of EABI.
1428 (relax_branch): Do not relax for branches to ARM functions.
1429 (md_pcrel_from_section): Set up base correctly for
1430 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
1431 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
1432 BFD_RELOC_ARM_PCREL_CALL.
1433 (md_apply_fix): Flip bl to blx where possible.
1434 Flip blx to bl where possible.
1435 (arm_force_relocation): Force relocations for
1436 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
1437 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
1438 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
1439 BFD_RELOC_THUMB_PCREL_BRANCH25.
1440 (arm_apply_sym_value): New function.
1441
1442 2009-05-04 Tristan Gingold <gingold@adacore.com>
1443
1444 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
1445
1446 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
1447
1448 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
1449 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
1450 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
1451 the default FPU from the processor.
1452
1453 2009-05-01 Julian Brown <julian@codesourcery.com>
1454
1455 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
1456 (md_pcrel_from_section): Align address for BLX.
1457 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
1458 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
1459
1460 2009-04-29 DJ Delorie <dj@redhat.com>
1461
1462 * config/tc-mep.c (md_begin): Check coprocessor type.
1463 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
1464 (md_check_parallel32_scheduling): Likewise.
1465 (slot_ok): New.
1466 (mep_check_ivc2_scheduling): New.
1467 (mep_check_parallel_scheduling): Call it.
1468 (mep_process_saved_insns): Add IVC2 slot support.
1469 (md_assemble): Likewise.
1470
1471 2009-04-30 Nick Clifton <nickc@redhat.com>
1472
1473 * config/obj-elf.c (obj_elf_type): Add support for a
1474 gnu_indirect_function type.
1475 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
1476 against indirect function symbols.
1477 * doc/as.texinfo (.type): Document the support for the
1478 gnu_indirect_function symbol type.
1479 * NEWS: Mention the new feature.
1480
1481 2009-04-24 Cary Coutant <ccoutant@google.com>
1482
1483 * NEWS: Add item about discriminator support.
1484 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
1485 * dwarf2dbg.c (current): Add discriminator field.
1486 (dwarf2_where): Copy discriminator value.
1487 (dwarf2_consume_line_info): Set discriminator to 0.
1488 (dwarf2_directive_loc): Process discriminator sub-op.
1489 (out_leb128): New function.
1490 (process_entries): Output DW_LNE_set_discriminator.
1491 * doc/as.texinfo: Add discriminator operand to .loc directive.
1492
1493 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
1494
1495 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
1496 as_bad calls to silence compiler warning.
1497
1498 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
1499
1500 * config/tc-i386-intel.c (O_XXX): Reorder.
1501
1502 2009-04-20 Jan Beulich <jbeulich@novell.com>
1503
1504 * Makefile.am: Add explicit dependency of tc-i386.o on
1505 tc-i386-intel.c.
1506 * Makefile.in: Likewise.
1507 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
1508 out from i386_immediate.
1509 (i386_immediate): Slightly re-arrange, call
1510 i386_finalize_immediate.
1511 (i386_finalize_displacement): Declare, broken out from
1512 i386_displacement.
1513 (i386_displacement): Slightly re-arrange, call
1514 i386_finalize_displacement.
1515 (i386_intel_simplify, i386_intel_parse_name): Declare.
1516 (this_operand): Initialize to -1.
1517 (set_intel_syntax): Set expression rank for O_full_ptr.
1518 (md_assemble): Set this_operand back to -1 after parsing
1519 operands.
1520 (x86_cons): Negate intel_syntax to indicate state. Call
1521 i386_intel_simplify.
1522 (md_operand): Convert if to switch. Handle '[' for Intel
1523 syntax.
1524 (i386_intel_operand): Delete, including all helper functions
1525 and data.
1526 * config/tc-i386-intel.c: New file, all new code.
1527 * config/tc-i386.h (i386_operator): Declare.
1528 (md_operator): Define to i386_operator.
1529 (i386_need_index_operator): Declare.
1530 (md_need_index_operator): Define to i386_need_index_operator.
1531 (O_full_ptr): Define.
1532
1533 2009-04-20 Jan Beulich <jbeulich@novell.com>
1534
1535 * expr.c (operand): Call md_need_index_operator() and
1536 md_operator() if defined. Add unary label.
1537 (operator): Call md_operator() if defined.
1538 (expr): Adjust assertions on range and rank of op_left and
1539 op_right. Don't abort on unhandled operators when reducing
1540 expressions with both operands being constant.
1541 (expr_set_rank): New.
1542 * expr.h (expr_set_rank): Declare.
1543
1544 2009-04-15 Anthony Green <green@moxielogic.com>
1545
1546 * config/tc-moxie.h: New file.
1547 * config/tc-moxie.c: New file.
1548 * configure: Add support for moxie.
1549 * configure.tgt: Add support for moxie.
1550
1551 2009-04-16 Jan Beulich <jbeulich@novell.com>
1552
1553 * expr.c: Include limits.h if available, and #define CHAR_BITS
1554 otherwise.
1555 (expr): Check range of shift count when evaluating a constant
1556 expression.
1557
1558 2009-04-15 Jan Beulich <jbeulich@novell.com>
1559
1560 * config/tc-i386.c (process_operands): Print operands in
1561 correct order depending on intel_syntax.
1562
1563 2009-04-09 Catherine Moore <clm@codesourcery.com>
1564
1565 * config/tc-mips.c (mips_fix_24k): Declare.
1566 (check_for_24k_errata): New.
1567 (mips_cleanup): Call check_for_24k_errata.
1568 (start_noreorder): Likewise.
1569 (md_mips_end): Likewise.
1570 (s_change_sec): Likewise.
1571 (s_change_section): Likewise.
1572 (append_insn): Call check_for_24k_errata. Prevent
1573 ERET/DERET instructions from being moved into delay
1574 slots.
1575 (OPTION_FIX_24K): New.
1576 (OPTION_NO_FIX_24k) New.
1577 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
1578 (md_parse_option): Handle fix-24k options.
1579 (md_show_usage): Display fix-24k options.
1580 * doc/c-mips.texi: Document.
1581
1582 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
1583
1584 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
1585 instead of HAVE_64BIT_SYMBOLS.
1586
1587 2009-04-07 DJ Delorie <dj@redhat.com>
1588
1589 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
1590 (md_show_usage): Change default endian to little.
1591 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
1592
1593 2009-04-06 DJ Delorie <dj@redhat.com>
1594
1595 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
1596 immediates.
1597 (build_bytes): Pass insn to do_a_fix_imm.
1598
1599 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
1600
1601 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
1602 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
1603 Cortex-M1.
1604
1605 2009-04-01 Matt Thomas <matt@netbsd.org>
1606
1607 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
1608 (md_assemble): emit symbol name when used as immediate in PIC mode.
1609 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
1610
1611 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1612
1613 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
1614
1615 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1616
1617 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
1618 (find_real_start): Likewise.
1619 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
1620
1621 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
1622
1623 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
1624 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
1625 whenever possible.
1626
1627 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
1628
1629 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
1630
1631 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
1632
1633 * doc/internals.texi: Fix trivial syntax errors.
1634
1635 2009-03-26 Alan Modra <amodra@bigpond.net.au>
1636
1637 PR 10005
1638 * config/tc-i386.c (reloc): Don't abort on lack of required
1639 reloc type.
1640
1641 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
1642
1643 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
1644 arch.
1645
1646 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
1647
1648 PR gas/9966
1649 * listing.c (listing_newline): Properly handle `\\"' and ';'.
1650
1651 * read.c (is_end_of_line): Update comments for line separator.
1652 (read_begin): Set line separator in is_end_of_line to 2.
1653
1654 2009-03-19 David S. Miller <davem@davemloft.net>
1655
1656 * config/tc-sparc.c (md_parse_option): If the user gives
1657 us '--64' make sure max_architecture is at least V9.
1658
1659 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
1660
1661 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
1662 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
1663 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
1664
1665 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1666
1667 * as.h: Include alloca-conf.h instead of config.h and remove
1668 existing #if's handling alloca.
1669 * Makefile.am: Run "make dep-am".
1670 * Makefile.in: Regenerate.
1671
1672 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1673
1674 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
1675 C_AIX_WEAKEXT too.
1676
1677 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1678
1679 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
1680 "value" from fx_offset. Manually resubtract md_pcrel_from_section
1681 where necessary.
1682
1683 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1684
1685 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1686 * configure.in: Likewise.
1687 * configure: Regenerate.
1688
1689 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
1690
1691 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
1692 Rename, changing all callers, to...
1693 (md_create_short_jump): Adjust head comment. Assert
1694 word-sized-branch distance for v32. Bail out calling as_fatal for
1695 compatibility mode here.
1696 (md_create_long_jump): ...not here.
1697 * config/tc-cris.h (md_create_short_jump): Do not define.
1698
1699 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
1700
1701 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
1702 the jump table for multiple overflowing entries with the same
1703 target, handle base symbols being different.
1704 (relax_segment) <case rs_broken_word, second loop>: Whenever a
1705 single entry overflows, arrange to redirect all entries with the
1706 same target.
1707
1708 2009-03-10 Alan Modra <amodra@bigpond.net.au>
1709
1710 * config/tc-ppc.c (parse_cpu): Delete.
1711 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
1712
1713 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
1714
1715 PR gas/9915
1716 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
1717 (LOCAL_LABELS_FB): Undefine befoe define.
1718
1719 2009-03-06 Nick Clifton <nickc@redhat.com>
1720
1721 * po/es.po: Updated Spanish translation.
1722
1723 2009-03-05 Joseph Myers <joseph@codesourcery.com>
1724
1725 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
1726 s_incbin): Call md_cons_align (1).
1727
1728 2009-03-04 Nick Clifton <nickc@redhat.com>
1729
1730 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
1731 based targets.
1732 (s_alpha_comm): Only define "temp" and "log_align" local variables
1733 for EVAX targets.
1734
1735 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1736
1737 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
1738 have non-zero addend.
1739 (md_assemble): Parse args of __tls_get_addr calls.
1740 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
1741
1742 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1743
1744 binutils/3807
1745 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
1746 local scope for ELF targets.
1747
1748 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1749
1750 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
1751
1752 2009-03-03 Tristan Gingold <gingold@adacore.com>
1753 Eric Botcazou <ebotcazou@adacore.com>
1754 Douglas B Rupp <rupp@gnat.com>
1755
1756 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
1757 for Alpha.
1758 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
1759 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
1760 (OBJ_SYMFIELD_TYPE): Remove.
1761 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
1762 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
1763 (tc_frob_file_before_fix): Do not defined on evax.
1764 * config/tc-alpha.c: Always includes dwarf2dbg.h.
1765 Include vms.h if OBJ_EVAX.
1766 (struct alpha_fixup): Add xtrasym and procsym (evax only).
1767 (enum alpha_macro_arg): Remove trailing comma.
1768 (md_longopts): Add replace and noreplace arguments (evax only).
1769 (alpha_evax_proc_hash): New variable.
1770 (alpha_link_section): Make it global.
1771 (alpha_ctors_section, alpha_dtors_section): Removed.
1772 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
1773 (alpha_lit8_section): Ifndef'ed on evax.
1774 (alpha_lit8_symbol): Ditto.
1775 (alpha_prologue_label): New variable.
1776 (alpha_linkage_symbol): New variable (evax only).
1777 (alpha_flag_replace): Ditto.
1778 (struct alpha_evax_procs): Add handler and handler_data field.
1779 (alpha_evax_proc): Now of type pointer.
1780 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
1781 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
1782 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
1783 (alpha_adjust_relocs): Ifndef'ed on evax.
1784 (load_expression): Add opname argument.
1785 Implement LDA/BSR optimization for evax.
1786 (emit_lda): Adjust for new prototype of load_expression.
1787 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
1788 (emit_loadstore): Likewise.
1789 (emit_ldXu): Likewise.
1790 (emit_stX): Likewise.
1791 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
1792 (emit_ldgp): Avoid warning in evax case.
1793 (add_to_link_pool): Make it static. Return symbolic expression rather
1794 than number expression for the offset.
1795 (s_alpha_text): Create .text symbol for evax if not already created.
1796 (s_alpha_comm): Do not create specific section for common symbol.
1797 Fill common area with zeros for evax.
1798 (s_alpha_prologue): Create alpha_prologue_label.
1799 (s_alpha_section_name): New function (evax).
1800 (s_alpha_section_word): Likewise.
1801 (section_name): New static variabke moved out from ...
1802 (s_alpha_section): ... here. Create new sections on demand.
1803 (s_alpha_literals): New function (evax).
1804 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
1805 alpha_evax_proc_hash table.
1806 (s_alpha_handler): New function (evax).
1807 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
1808 (s_alpha_prologue): New function (evax).
1809 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
1810 handling of procedures with hash table.
1811 Add support for condition handlers.
1812 (s_alpha_linkage): Create linkage_fixup instance and chain it.
1813 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
1814 (s_alpha_mask): Likewise.
1815 (s_alpha_fmask): Likewise.
1816 (s_alpha_end): Clear alpha_evax_proc.
1817 (s_alpha_align): Increase max_alignment to 16.
1818 (alpha_print_token): Call print_expr_1 instead of print_expr.
1819 (md_pseudo_table): Add "section", "literals", "handler" and
1820 "handler_data" (evax). Do not ignore "prologue" on evax.
1821 Fix indentation.
1822 (md_begin): Create hash table for alpha_evax_proc_hash.
1823 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
1824 (md_show_usage): Mention -replace/-noreplace for evax.
1825 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
1826 (alpha_force_relocation): Likewise.
1827 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
1828 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
1829 (emit_insn): New cases for evax specific relocs.
1830 (assemble_insn): Fix indentation.
1831 Take care of -MDISP in operand table.
1832 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
1833 (OBJ_SYMFIELD_TYPE): New macro.
1834 (obj_symbol_new_hook): Define.
1835 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
1836 (obj_frob_file_before_fix): Ditto.
1837 (PDSC_S_M_HANDLER_VALID): New macro.
1838 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
1839 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
1840 Add prototypes for functions declared in obj-evax.c
1841 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
1842 (s_evax_weak): Convert to ansi-C.
1843 (evax_symbol_new_hook): New function.
1844 (evax_frob_symbol): Ditto.
1845 (evax_frob_file_before_adjust): Ditto.
1846 (evax_frob_file_before_fix): Ditto.
1847 (evax_shorten_name): Ditto.
1848 (crc32): Ditto.
1849 (encode_32): Ditto.
1850 (encode_16): Ditto.
1851 (decode_16): Ditto.
1852 (shorten_identifier): Ditto.
1853 (is_truncated_identifier): Ditto.
1854 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
1855 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
1856 (main): Ditto.
1857
1858 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1859
1860 * Makefile.am: Run "make dep-am".
1861 * Makefile.in: Regenerate.
1862
1863 2009-03-02 Nick Clifton <nickc@redhat.com>
1864
1865 PR 9874
1866 * config/tc-ia64.c (fix_insn): Fix warning reported by
1867 -Wformat-security.
1868
1869 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1870
1871 * config/tc-score7.c: New file.
1872 * doc/c-score.texi: New file.
1873 * Makefile.am: Update dependencies for tc-score.c.
1874 * Makefile.in: Regenerate.
1875 * NEWS: Mention support for Score7 architecture.
1876 * config/tc-score.c: Add support for Score7 architecture.
1877 * config/tc-score.h: Likewise.
1878 * doc/Makefile.am: Add c-score.texi.
1879 * doc/Makefile.in: Regenerate.
1880 * doc/all.texi: Add Score7.
1881 * doc/as.texinfo: Add Score7.
1882
1883 2009-03-01 Mark Mitchell <mark@codesourcery.com>
1884
1885 * config/tc-arm.c (md_assemble): Allow barrier instructions on
1886 ARMv6-M cores.
1887
1888 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1889
1890 * configure: Regenerate.
1891
1892 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1893
1894 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
1895 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
1896 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
1897
1898 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 * config/tc-i386.c (fits_in_imm4): Removed.
1901
1902 2009-02-24 Helge Deller <deller@gmx.de>
1903
1904 * config/tc-hppa.c (pa_ip): Add check of immediate values.
1905 (SAVE_IMMEDIATE): New define.
1906
1907 2009-02-23 Mark Mitchell <mark@codesourcery.com>
1908
1909 * config/tc-arm.c (warn_deprecated_sp): New macro.
1910 (do_t_mov_cmp): Permit R13 as the second
1911 argument to "cmp.n".
1912
1913 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1914
1915 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
1916 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
1917
1918 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
1921
1922 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1923
1924 * config/tc-i386.c (vex_imm4): Removed.
1925 (VEX_check_operands): Likewise.
1926 (match_template): Updated.
1927
1928 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1929
1930 * doc/all.texi: Set S390.
1931 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
1932 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
1933 * doc/Makefile.in: Likewise.
1934 * doc/c-s390.texi: New.
1935
1936 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1937
1938 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
1939 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
1940 (mcf5307_ctrl): Add VBR.
1941 (no_mac): New variable.
1942 (m68k_extensions): Refer to no_mac mask.
1943 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
1944 52252..52259, 53011..53017.
1945 (m68k_ip): Process CPUCR.
1946 (init_table): Add cpucr entry.
1947 (m68k_set_extension): Allow negated mask to refer to a variable.
1948 (md_show_usage): Use '%s' to silence fprintf warning.
1949 * config/m68k-parse.h (CPUCR): New control register.
1950
1951 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
1952
1953 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
1954 as_bad calls to silence compiler warning.
1955
1956 2009-02-06 Nick Clifton <nickc@redhat.com>
1957
1958 PR 9814
1959 * config/tc-arm.c (MODE_RECORDED): New define.
1960 (output_inst): Record the thumb_mode in the current frag.
1961 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
1962 (arm_init_frag): Only set the tc_frag_data field if it has not
1963 already been set.
1964
1965 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1966
1967 AVX Programming Reference (January, 2009)
1968 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
1969 (CPU_FLAGS_AVX_MATCH): Updated.
1970 (CPU_FLAGS_32BIT_MATCH): Likewise.
1971 (cpu_flags_match): Likewise.
1972
1973 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1974
1975 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
1976 M_MSGWAIT and M_MSGWAIT_T.
1977 (mips_cpu_info_table): Add XLR entry.
1978 * doc/c-mips.texi (-march): Document xlr.
1979
1980 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
1981
1982 * config/tc-avr.c (mcu_types): Add ata6289.
1983 * doc/c-avr.texi: Likewise.
1984
1985 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1986
1987 * configure.in: AC_SUBST pdfdir.
1988 * Makefile.am: Add install-pdf, install-pdf-am,
1989 and install-pdf-recursive targets.
1990 * doc/Makefile.am: Define pdf__strip_dir. Add
1991 install-pdf and install-pdf-am targets.
1992 * po/Make-in: Add install-pdf target.
1993 * configure: Regenerate.
1994 * Makefile.in: Regenerate.
1995 * doc/Makefile.in: Regenerate.
1996
1997 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
1998
1999 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
2000 relocations.
2001 * config/m68k-parse.y (yylex): Parse TLS relocations.
2002 * config/tc-m68k.c (m68k_elf_cons): New static function.
2003 (md_pseudo_table): Use it.
2004 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
2005 relocations.
2006 (md_apply_fix): Fix to set thread local flag.
2007 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
2008
2009 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
2010
2011 PR 9779
2012 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
2013 indexed addressing for symbolic expressions.
2014
2015 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2016
2017 * config/tc-arm.c (BAD_SP): Define.
2018 (s_arm_unwind_fnstart): Use REG_SP.
2019 (s_arm_unwind_setfp): Likewise.
2020 (reject_bad_reg): New macro.
2021 (do_co_reg): Check for bad registers.
2022 (do_co_reg2c): Likewise.
2023 (do_srs): Use REG_SP.
2024 (do_t_add_sub): Check for bad registers.
2025 (do_t_adr): Likewise.
2026 (do_t_arit3): Likewise.
2027 (do_t_arit3c): Likewise.
2028 (do_t_bfc): Likewise.
2029 (do_t_bfi): Likewise.
2030 (do_t_bfx): Likewise.
2031 (do_t_blx): Likewise.
2032 (do_t_bx): Likewise.
2033 (do_t_bxj): Likewise.
2034 (do_t_clz): Likewise.
2035 (do_t_div): Likewise.
2036 (do_t_mla): Likewise.
2037 (do_t_mlal): Likewise.
2038 (do_t_mov_cmp): Likewise.
2039 (do_t_mov16): Likewise.
2040 (do_t_mvn_tst): Likewise.
2041 (do_t_mrs): Likewise.
2042 (do_t_msr): Likewise.
2043 (do_t_mul): Likewise.
2044 (do_t_mull): Likewise.
2045 (do_t_orn): Likewise.
2046 (do_t_pkhbt): Likewise.
2047 (do_t_pld): Likewise.
2048 (do_t_rbit): Likewise.
2049 (do_t_rev): Likewise.
2050 (do_t_rrx): Likewise.
2051 (do_t_rsb): Likewise.
2052 (do_t_shift): Likewise.
2053 (do_t_simd): Likewise.
2054 (do_t_ssat): Likewise.
2055 (do_t_ssat16): Likewise.
2056 (do_t_sxtah): Likewise.
2057 (do_t_sxth): Likewise.
2058 (do_t_tb): Likewise.
2059 (do_t_usat): Likewise.
2060 (do_t_usat16): Likewise.
2061 (nysn_insert_sp): Use REG_SP.
2062
2063 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2064
2065 * config/tc-arm.c (do_t_orn): New function.
2066 (do_t_rrx): Likewise.
2067 (insns): Add orn and rrx.
2068
2069 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2070
2071 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
2072 uasx, uhasx, uhsx, uqasx, uqsax, usax.
2073
2074 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2075
2076 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
2077 qdsub in Thumb-2 mode.
2078
2079 2009-01-29 Paul Brook <paul@codesourcery.com>
2080 Mark Mitchell <mark@codesourcery.com>
2081
2082 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
2083 of MUL when possible.
2084
2085 2009-01-29 Nick Clifton <nickc@redhat.com>
2086
2087 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
2088
2089 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
2090 Catherine Moore <clm@codesourcery.com?
2091
2092 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
2093 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
2094 directives.
2095
2096 2009-01-27 Nick Clifton <nickc@redhat.com>
2097
2098 * config/tc-mips.c (append_insn): Cope with a complex reloc
2099 sequence containing an unsupported reloc type.
2100 (enum options): Replace computed #define's constants for option
2101 numbers with this enum.
2102 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
2103 environment.
2104 (md_parse_option): Allow -32 in a non-ELF environment.
2105
2106 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
2107
2108 * config/tc-arm.c (attributes_set_explicitly): New array.
2109 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
2110 (cpu_arch): Add ARM_ARCH_V5T.
2111 (aeabi_set_attribute_int): New function.
2112 (aeabi_set_attribute_string): New function.
2113 (aeabi_set_public_attributes): Set attributes according to the user's
2114 intentions, rather than the actual state of the binary.
2115 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
2116 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
2117 Support WMMXv2. Use attribute names instead of numbers.
2118 * read.c (s_vendor_attribute): Change return type to int.
2119 Return the tag number that was set.
2120 * read.h (s_vendor_attribute): Change return type to int.
2121
2122 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
2123
2124 PR 9789
2125 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
2126 * doc/c-avr.texi: Likewise.
2127
2128 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
2129
2130 * doc/c-arm.texi (): Document -mwarn-deprecated.
2131 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
2132 (warn_on_deprecated): ... this.
2133 (opcode_lookup, md_assemble): Check it before warning.
2134 (arm_opts): Add m[no-]warn-deprecated.
2135 (md_parse_option): Replace WARN_DEPRECATED with
2136 warn_on_deprecated.
2137
2138 2009-01-23 Andreas Schwab <schwab@suse.de>
2139
2140 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
2141 arguments to macro_build to match format.
2142
2143 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
2144 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
2145
2146 2009-01-19 Nick Clifton <nickc@redhat.com>
2147
2148 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
2149 ELF format ARM targets.
2150 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
2151
2152 2009-01-19 Nick Clifton <nickc@redhat.com>
2153
2154 * configure.tgt: Restore alpha sorting to object format switch
2155 statement.
2156
2157 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
2158
2159 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
2160
2161 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
2162
2163 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
2164 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
2165
2166 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
2167 Daniel Jacobowitz <dan@codesourcery.com>
2168
2169 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
2170 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
2171 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
2172 * read.c (s_vendor_attribute): Add support for symbolic tag names.
2173 Improve string parser.
2174 * doc/c-arm.texi (ARM Machine Directives): Document
2175 .eabi_attribute symbolic tag names.
2176
2177 2009-01-16 Alan Modra <amodra@bigpond.net.au>
2178
2179 * configure.in (commonbfdlib): Delete.
2180 * configure: Regenerate.
2181 * po/POTFILES.in: Regenerate.
2182
2183 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
2184 Julian Brown <julian@codesourcery.com>
2185
2186 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
2187
2188 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
2189
2190 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
2191 bfd_elf_add_obj_attr_int_string.
2192
2193 2009-01-15 Douglas B Rupp <rupp@gnat.com>
2194
2195 * configure.tgt(ia64-*-*vms*): New target.
2196 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
2197 * tc.h (md_number_to_chars): Declare iff undefined.
2198 * config/obj-elf.c (obj_elf_change_section): Change type of arg
2199 attr to bfd_vma.
2200 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
2201 variables attr, md_attr to bfd_vma.
2202 (obj_elf_section_word): Likewise.
2203 (obj_elf_section): Change type of variable attr to bfd_vma
2204 * config/obj-elf.h (obj_elf_change_section): Change type of arg
2205 attr to bfd_vma.
2206 * config/tc-ia64.c (bfdver.h,time.h): Include.
2207 (ia64_elf_section_letter): Now returns a bfd_vma.
2208 Handle VMS specific attributes.
2209 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2210 (ia64_init): Don't turn on dependency checking for VMS.
2211 (ia64_target_format): Check for VMS flag bit.
2212 (do_alias): Hande decc$ functions.
2213 (get_vms_time): New function.
2214 (ia64_vms_note): New function.
2215 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
2216 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2217 (tc_init_after_args): Define for VMS.
2218 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
2219 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
2220 * config/tc-alpha.h: Likewise.
2221 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
2222 (x86_64_section_word): Return a bfd_vma.
2223 * config/tc-i386.h: Likewise.
2224 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
2225 attr to bfd_vma.
2226 * config/tc-ip2k.h: Likewise.
2227 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
2228 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
2229 * config/tc-mep.h: Likewise.
2230 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
2231 (ppc_section_word): Return a bfd_vma.
2232 (ppc_section_flags): Change type of arg attr to bfd_vma.
2233 * config/tc-ppc.h: Likewise.
2234 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
2235 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
2236 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
2237 New file with new macros
2238 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
2239 macros.
2240
2241 2009-01-15 Nick Clifton <nickc@redhat.com>
2242
2243 PR 9722
2244 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
2245 instructions before generating a Thumb2 nop.
2246
2247 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2248
2249 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
2250
2251 2009-01-12 Alan Modra <amodra@bigpond.net.au>
2252
2253 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
2254 (brinfo): New var.
2255 (md_assemble): Poke brinfo into branch instructions.
2256 (spu_brinfo): New function.
2257 (md_apply_fix): Don't assume insn fields start off at zero, mask
2258 them to remove possible brinfo.
2259
2260 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2261
2262 * doc/c-i386.texi: Reformat.
2263
2264 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2265
2266 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
2267 .syscall.
2268 (i386_align_code): Handle PROCESSOR_COREI7.
2269 (md_show_usage): Add corei7, clflush and syscall.
2270 (i386_target_format): Replace cpup4 with cpuclflush.
2271
2272 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
2273
2274 * doc/c-i386.texi: Document corei7, clflush and syscall.
2275
2276 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
2277
2278 * config/tc-i386.c (cpu_arch): Add .rdtscp.
2279 (md_show_usage): Display rdtscp.
2280
2281 * doc/c-i386.texi: Document rdtscp.
2282
2283 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
2284
2285 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
2286 Test the new "deprecated" opcode field.
2287
2288 2009-01-07 Sterling Augustine <sterling@tensilica.com>
2289
2290 * config/tc-xtensa.c (produce_flix): New.
2291 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
2292 (md_longopts): Add support for them.
2293 (md_parse_option): Likewise.
2294 (md_show_usage): Add help message.
2295 (finish_vinsn): Don't allow multi-slot flix when produce_flix
2296 option is set to FLIX_NONE.
2297 * config/xtensa-relax.c (transition_applies): Only relax to
2298 flix branches when produce_flix equals FLIX_ALL.
2299 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
2300 FLIX_NONE): New.
2301 (produce_flix): Declare.
2302
2303 2009-01-06 Chao-ying Fu <fu@mips.com>
2304
2305 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
2306 Use strncmp to match jalr and jalr.hb.
2307 Fix a typo.
2308
2309 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
2310
2311 AVX Programming Reference (December, 2008)
2312 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
2313 support. Don't swap REG and NDS for FMA.
2314
2315 2009-01-02 Matthias Klose <doko@ubuntu.com>
2316
2317 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
2318 behaviour.
2319
2320 For older changes see ChangeLog-2008
2321 \f
2322 Local Variables:
2323 mode: change-log
2324 left-margin: 8
2325 fill-column: 74
2326 version-control: never
2327 End:
This page took 0.074219 seconds and 3 git commands to generate.