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