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