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