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