bfd/
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
8a9036a4
L
12009-07-25 H.J. Lu <hongjiu.lu@intel.com>
2
3 * config/tc-i386.c (cpu_arch): Add l1om.
4 (check_cpu_arch_compatible): New.
5 (set_cpu_arch): Use it.
6 (i386_arch): New.
7 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
8 (md_show_usage): Display l1om.
9 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
10 cpu_arch_isa_flags.bitfield.cpul1om is set.
11
12 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
13 (i386_arch): New.
14 (ELF_TARGET_L1OM_FORMAT): Likewise.
15
16 * doc/c-i386.texi: Document l1om.
17
01fb1836 182009-07-24 Roland McGrath <roland@redhat.com>
8e884a26 19 Mark Wielaard <mjw@redhat.com>
01fb1836
RM
20
21 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
22 flags on .comment section.
23
8fdcc58d
TS
242009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
25 Alan Modra <amodra@bigpond.net.au>
26
27 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
28 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
29 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
30
309d3373
JB
312009-07-24 Jan Beulich <jbeulich@novell.com>
32
33 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
34 .nosse, and .noavx.
35 (cpu_flags_and_not): New.
36 (set_cpu_arch): Check whether sub-architecture specified is a
37 feature disable.
38 (md_parse_option): Likewise.
39 (parse_real_register): Don't return floating point register
40 when x87 functionality is disabled.
41 (md_show_usage): Add new sub-options.
42 * doc/c-i386.texi: Update with new command line sub-options.
43
20203fb9
NC
442009-07-24 Nick Clifton <nickc@redhat.com>
45
46 PR 10437
47 * config/tc-alpha.c: Fix up uses of gas printf like functions so
48 that the format string is a constant string. Add translation
49 support to message strings.
50 * config/tc-arc.c: Likewise.
51 * config/tc-arm.c: Likewise.
52 * config/tc-cris.c: Likewise.
53 * config/tc-fr30.c: Likewise.
54 * config/tc-frv.c: Likewise.
55 * config/tc-h8300.c: Likewise.
56 * config/tc-hppa.c: Likewise.
57 * config/tc-i370.c: Likewise.
58 * config/tc-i960.c: Likewise.
59 * config/tc-ia64.c: Likewise.
60 * config/tc-m32r.c: Likewise.
61 * config/tc-mep.c: Likewise.
62 * config/tc-mips.c: Likewise.
63 * config/tc-moxie.c: Likewise.
64 * config/tc-msp430.c: Likewise.
65 * config/tc-openrisc.c: Likewise.
66 * config/tc-pdp11.c: Likewise.
67 * config/tc-pj.c: Likewise.
68 * config/tc-s390.c: Likewise.
69 * config/tc-sh.c: Likewise.
70 * config/tc-sh64.c: Likewise.
71 * config/tc-sparc.c: Likewise.
72 * config/tc-spu.c: Likewise.
73 * config/tc-tic30.c: Likewise.
74 * config/tc-tic4x.c: Likewise.
75 * config/tc-tic54x.c: Likewise.
76 * config/tc-v850.c: Likewise.
77 * config/tc-xc16x.c: Likewise.
78 * config/tc-xstormy16.c: Likewise.
79 * config/tc-z80.c: Likewise.
80 * config/tc-z8k.c: Likewise.
81 * config/atof-ieee.c: Add translation support to as_warn
82 messages.
83 * config/obj-coff.c: Likewise.
84
3e7a7d11
NC
852009-07-23 Ulrich Drepper <drepper@redhat.com>
86
87 * config/obj-elf.c (obj_elf_type): Add code to support a type of
88 gnu_unique_object.
89 * doc/as.texinfo: Document new feature of .type directive.
90 * NEWS: Mention support for gnu_unique_object symbol type.
91
a946d7e3
NC
922009-07-23 Nick Clifton <nickc@redhat.com>
93
94 PR binutils/10379
95 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
96 the .global directive for MIPS ports.
97
711eedef
L
982009-07-21 H.J. Lu <hongjiu.lu@intel.com>
99
100 PR gas/10420
101 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
102 64bit.
103 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
104 for 64bit.
105
bc0844ae
L
1062009-07-17 H.J. Lu <hongjiu.lu@intel.com>
107
108 * config/tc-i386.c (md_assemble): Update operand types.
109 (update_imm): Updated.
110 (finalize_imm): Update the first 2 immediate operands only
111 for instructions with 2 operands or more.
112
9afe6eb8
L
1132009-07-17 H.J. Lu <hongjiu.lu@intel.com>
114
115 * config/tc-i386.c (md_assemble): Check implicit registers
116 only for instructions with 3 operands or less.
117
a61a9fbc
NC
1182009-07-17 Nick Clifton <nickc@redhat.com>
119
120 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
121 compile time warning.
122
915bcca5
L
1232009-07-16 H.J. Lu <hongjiu.lu@intel.com>
124
125 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
126 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
127
9a6f4e97
NS
1282009-07-16 Nathan Sidwell <nathan@codesourcery.com>
129
130 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
131 the offset for REL targets here.
132
3726e6c5
L
1332009-07-15 Kai Tietz <kai.tietz@onevision.com>
134
135 * listing.c (print_source): Initialize cache by NULL.
136
52970753
NC
1372009-07-15 Daniel Gutson <dgutson@codesourcery.com>
138
139 * doc/c-arm.texi (mauto-it): Removed old option.
140 (mimplicit-it): Added right option.
141
140033b3
NC
1422009-07-14 Daniel Gutson <dgutson@codesourcery.com>
143
144 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
145 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
146 MAX_MEM_ALIGNMENT_BYTES.
147 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
148 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
149
63b33ceb
NC
1502009-07-14 Nick Clifton <nickc@redhat.com>
151
152 PR 10387
153 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
154 (ARM_IS_FUNC): Likewise.
155
752d5da4
NC
1562009-07-14 Daniel Gutson <dgutson@codesourcery.com>
157
158 * config/tc-arm.c (md_assemble): Added validation.
159
8455dd2c
L
1602009-07-10 H.J. Lu <hongjiu.lu@intel.com>
161
162 * Makefile.am: Run "make dep-am".
163 * Makefile.in: Regenerated.
164
fa8f86ff
TT
1652009-07-10 Tom Tromey <tromey@redhat.com>
166
167 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
168 elf/dwarf2.h.
169 (DEPTC_alpha_elf): Likewise.
170 (DEPTC_alpha_evax): Likewise.
171 (DEPTC_arm_elf): Likewise.
172 (DEPTC_hppa_elf): Likewise.
173 (DEPTC_i386_aout): Likewise.
174 (DEPTC_i386_coff): Likewise.
175 (DEPTC_i386_elf): Likewise.
176 (DEPTC_m68k_aout): Likewise.
177 (DEPTC_m68k_coff): Likewise.
178 (DEPTC_m68k_elf): Likewise.
179 (DEPTC_mips_coff): Likewise.
180 (DEPTC_mips_ecoff): Likewise.
181 (DEPTC_mips_elf): Likewise.
182 (DEPTC_ppc_coff): Likewise.
183 (DEPTC_ppc_elf): Likewise.
184 (DEPTC_s390_elf): Likewise.
185 (DEPTC_sh_coff): Likewise.
186 (DEPTC_sh_elf): Likewise.
187 (DEPTC_sh64_elf): Likewise.
188 (DEPTC_sparc_aout): Likewise.
189 (DEPTC_sparc_coff): Likewise.
190 (DEPTC_sparc_elf): Likewise.
191 (as.o): Likewise.
192 (dwarf2dbg.o): Likewise.
193 (dw2gencfi.o): Likewise.
194 (ehopt.o): Likewise.
195 (read.o): Likewise.
196 * Makefile.in: Rebuild.
197 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
198 * dwarf2dbg.c: Likewise.
199 * ehopt.c: Likewise.
200
c921be7d
NC
2012009-07-09 Daniel Gutson <dgutson@codesourcery.com>
202
203 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
204 (set_it_insn_type_nonvoid): New macro.
205 (emit_thumb32_expr): New function.
206 (thumb_insn_size): New function.
207 (emit_insn): New function.
208 (s_arm_elf_inst): New function.
209 (md_pseudo_table): New pseudo-opcode entries added.
210 * doc/c-arm.texi: New directive added.
211
7ec721f4
DD
2122009-07-07 DJ Delorie <dj@redhat.com>
213
214 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
215 when enabling other options without a specific configuration.
216
1103f72c
NC
2172009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
218
219 * config/tc-arm.c (insns): Fix encoding for torvsc.
220
922d8de8
DR
2212009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
222
223 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
224 (build_modrm_byte): Add support to handle FMA4 instructions.
225 (md_show_usage): Add fma4.
01fb1836 226
c1a6351f
AM
2272009-07-04 Alan Modra <amodra@bigpond.net.au>
228
229 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
230
e57f8c65
TG
2312009-07-02 Tristan Gingold <gingold@adacore.com>
232
233 * Makefile.am (OBJ_FORMATS): Add macho.
234 (CPU_OBJ_VALID): Ditto.
235 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
236 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
237 (obj-macho.o): New rule.
238 * Makefile.in: Regenerated.
239 * configure.tgt (generic_target): Add i386-*-darwin*.
240 * config/tc-i386.h: Use i386_target_format for Mach-O.
241 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
242 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
243 * config/obj-macho.h: New file.
244 * config/obj-macho.c: New file.
01fb1836 245
1ef52f49
NC
2462009-07-01 Nick Clifton <nickc@redhat.com>
247
248 PR 10168
249 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
250 PKHBT.
251
921e5f0a
PB
2522009-07-01 Paul Brook <paul@codesourcery.com>
253
254 * config/tc-arm.c (MISSING_FNSTART): Define.
255 (s_arm_unwind_fnstart): Diagnose duplicate directive.
256 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
257 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
258 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
259 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
260 not inside function unwinding region.
261
7ab9ffdd
L
2622009-06-29 H.J. Lu <hongjiu.lu@intel.com>
263
264 * config/tc-i386.c: Reformat.
265
3ef23cd4
DD
2662009-06-23 DJ Delorie <dj@redhat.com>
267
268 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
269 32 bits for relaxable branches so that we can relax them later.
270 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
271 (mep_relax_frag): New.
272 (md_convert_frag): Relax IVC2 branches in-place.
273 * config/tc-mep.h ((mep_relax_frag): New.
274
9c2799c2 2752009-06-22 Martin Thuresson <martin@mtme.org>
01fb1836 276
9c2799c2
NC
277 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
278 gas/config/atof-ieee.c, gas/config/obj-aout.c,
279 gas/config/obj-coff.c, gas/config/obj-ecoff.c,
280 gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
281 gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
282 gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
283 gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
284 gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
285 gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
286 gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
287 gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
288 gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
289 gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
290 gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
291 gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
292 gas/config/tc-s390.c, gas/config/tc-score.c,
293 gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
294 gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
295 gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
296 gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
297 gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
298 gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
299 gas macro `assert' to `gas_assert'.
300
e07e6e58
NC
3012009-06-22 Daniel Gutson <dgutson@codesourcery.com>
302
303 * config/tc-arm.c (implicit_it_mode): New enum.
304 (implicit_it_mode): New global.
305 (it_instruction_type): New enum.
306 (arm_parse_it_mode): New function.
307 (arm_long_opts): New option added.
308 (arm_it): New field.
309 (it_state): New enum.
310 (now_it): New macro.
311 (check_it_blocks_finished): New function.
312 (insns[]): Use the IT Thumb opcodes for ARM too.
313 (arm_cleanup): Call check_it_blocks_finished.
314 (now_it_compatible): New function.
315 (conditional_insn): New function.
316 (set_it_insn_type): New macro.
317 (set_it_insn_type_last): New macro.
318 (do_it): Call automatic IT machinery functions.
319 (do_t_add_sub): Likewise
320 (do_t_arit3): Likewise.
321 (do_t_arit3c): Likewise.
322 (do_t_blx): Likewise.
323 (do_t_branch): Likewise.
324 (do_t_bkpt): Likewise.
325 (do_t_branch23): Likewise.
326 (do_t_bx): Likewise.
327 (do_t_bxj): Likewise.
328 (do_t_cps): Likewise.
329 (do_t_cpsi): Likewise.
330 (do_t_cbz): Likewise.
331 (do_t_it): Likewise.
332 (encode_thumb2_ldmstm): Likewise.
333 (do_t_ldst): Likewise.
334 (do_t_mov_cmp): Likewise.
335 (do_t_mvn_tst): Likewise.
336 (do_t_mul): Likewise.
337 (do_t_neg): Likewise.
338 (do_t_setend): Likewise.
339 (do_t_shift): Likewise.
340 (do_t_tb): Likewise.
341 (output_it_inst): New function.
342 (new_automatic_it_block): New function.
343 (close_automatic_it_block): New function.
344 (now_it_add_mask): New function.
345 (it_fsm_pre_encode): New function.
346 (handle_it_state): New function.
347 (it_fsm_post_encode): New function.
348 (force_automatic_it_block_close): New function.
349 (in_it_block): New function.
350 (md_assemble): Call automatic IT block machinery functions.
351 (arm_frob_label): Likewise.
352 (arm_opts): New element.
353 * config/tc-arm.h (it_state): New enum.
354 (current_it): New struct.
355 (arm_segment_info_type): New member added.
356 * doc/c-arm.texi: New option -mimplicit-it documented.
357
90dce00a
AM
3582009-06-20 Alan Modra <amodra@bigpond.net.au>
359
360 PR 10302
361 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
362
5e7c27a6
MS
3632009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
364
365 * config/tc-s390.c (md_gather_operands): Accept an instruction
366 without operands if all operands are tagged as optional.
367
3a21c15a
NC
3682009-06-18 Nick Clifton <nickc@redhat.com>
369
370 PR 10169
371 * gas/tc-arm.c (do_t_ssat): Move common code from here...
372 (do_t_usat): ... and here to...
373 (do_t_ssat_usat): New function: ... here. Add code to check that
374 the shift value, if present, is in range.
375
361dff73
DK
3762009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
377
32425da9
NC
378 Merge cegcc and mingw32ce target name changes
379 from CeGCC project:
361dff73 380
32425da9 381 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
382
383 * configure.tgt: Add arm*-*-cegcc* target.
384
32425da9 385 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
386
387 * configure.tgt: Add arm-*-mingw32ce* target.
388
7b6021f1
MR
3892009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
390
391 * config/tc-vax.c (md_estimate_size_before_relax): Accept
392 indirect symbol references in the PIC mode and emit a
393 PC-relative relocation instead of a GOT/PLT one. Likewise
394 for symbols known to be hidden at this point.
395
fe2ceba1
NC
3962009-06-15 Nick Clifton <nickc@redhat.com>
397
398 PR 10186
399 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
400 instruction.
401
c25bc9fc
L
4022009-06-13 H.J. Lu <hongjiu.lu@intel.com>
403
404 PR ld/10269
405 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
406 instead of generic_force_reloc.
407
408 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
409
f865a31d
AG
4102009-06-11 Anthony Green <green@moxielogic.com>
411
412 * config/tc-moxie.c (md_chars_to_number): Define.
413 (md_begin): Populate opcode hashtable with more form 3 opcodes.
414 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
415 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
416 (tc_gen_reloc): Ditto.
417 (md_pcrel_from): Ditto.
418 (md_chars_to_number): New function.
419
d7a5ed35
AG
4202009-06-10 Anthony Green <green@moxielogic.com>
421
422 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
423 opcodes.
424
1fbfe785
JJ
4252009-06-09 Jakub Jelinek <jakub@redhat.com>
426
427 PR gas/10255
428 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
429 to DW_CFA_advance_loc4.
430
fbeb56a4
DK
4312009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
432
433 PR gas/977
434 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
435 branches to weak symbols.
436 (md_apply_fix): Don't convert fixes against weak symbols to
437 section-relative offsets, but save addend for later reloc emission.
438 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
439 addend to pre-compensate for bfd_install_relocation.
440
26d1917c
AM
4412009-06-04 Alan Modra <amodra@bigpond.net.au>
442
443 * dep-in.sed: Don't use \n in replacement part of s command.
444 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
445 * Makefile.in: Regenerate.
446
d160e035
L
4472009-06-01 H.J. Lu <hongjiu.lu@intel.com>
448
449 PR gas/10198
450 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
451
ff239038
CM
4522009-05-26 Catherine Moore <clm@codesourcery.com>
453
454 * config/tc-mips.c (check_for_24k_errata): Remove.
455 (md_mips_end): Remove call to check_for_24k_errata.
456 (start_noreorder): Likewise.
457 (s_change_sec): Likewise.
458 (s_change_section): Likewise.
459 (insns_between): Add 24k errata checks.
460 (append_insn): Remove declaration and references to nhdx_24k.
461 Remove calls to check_for_24k_errata.
01fb1836 462
f12e7348
NC
4632009-05-26 Nick Clifton <nickc@redhat.com>
464
465 * po/id.po: Updated Indonesian translation.
466 * po/gas.pot: Updated template file.
467
f8f003f1
NC
4682009-05-26 Nick Clifton <nickc@redhat.com>
469
470 PR 10143
471 * config/bfin-parse.y (error): Use "%s" as format string for error
472 message.
473
5de4cd13
AM
4742009-05-26 Alan Modra <amodra@bigpond.net.au>
475
476 * dep-in.sed: Output one filename per line with all lines having
477 continuation backslash. Prefix first line with "A", following
478 lines with "B".
479 * Makefile.am (DEP): Don't use dep.sed here.
480 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
481 sort and uniq.
482 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
483 Emit multi dependencies on one line.
484 * Makefile.in: Regenerate.
485
295fa3cf 4862009-05-25 Tristan Gingold <gingold@adacore.com>
cb0e7c25
TG
487
488 * makefile.vms: New file to compile gas on VMS.
489
490 * configure.com: New file to do configuration on VMS with DCL.
491
65b02341
RS
4922009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
493
494 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
495 (nops_for_insn): Likewise.
496
ad04f5ce
L
4972009-05-22 H.J. Lu <hongjiu.lu@intel.com>
498
499 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
500
c1e679ec
DR
5012009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
502
503 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
504 (build_modrm_byte): Remove DREX handling support.
505 (DREX_*): Delete.
506 (drex_byte): Delete.
507 (md_assemble): Remove DREX handling support.
508 (process_operands): Remove DREX, SSE5 support.
509 (i386_insn): Remove DREX.
01fb1836 510
2b3decb5
AM
5112009-05-22 Alan Modra <amodra@bigpond.net.au>
512
513 * Makefile.am: Run "make dep-am".
514 * Makefile.in: Regenerate.
515
321098a5
L
5162009-05-20 Kai Tietz <kai.tietz@onevision.com>
517 H.J. Lu <hongjiu.lu@intel.com>
518
519 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
520 (TARGET_FORMAT): Removed for x86 pe-coff.
521 (COFF_TARGET_FORMAT): Likewise.
522
523 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
524 (md_parse_option): Likewise.
525 (md_show_usage): Show option --32/--64 for x86 pe-coff.
526 (i386_target_format): Use also for x86 pe-coff.
527
528 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
529 for x86 pe-coff.
530
b899d332
DD
5312009-05-19 DJ Delorie <dj@redhat.com>
532
533 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
534 (mep_process_saved_insns): Remove debugging printfs.
535
c1711530
DK
5362009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
537
538 * NEWS: Mention new feature.
539 * config/obj-coff.c (obj_coff_common_parse): New function.
540 (obj_coff_comm): Likewise.
541 (coff_pseudo_table): Override default ".comm" definition on PE.
542 * doc/as.texinfo: Document new feature.
543
63ad59ae
KT
5442009-05-17 Kai Tietz <kai.tietz@onevision.com>
545
321098a5
L
546 * config/obj-coff.c (obj_coff_section): Add 'y' as
547 specifier for SEC_COFF_NOREAD section flag.
63ad59ae
KT
548 * doc/as.texinfo: Add documentation about .section flag 'y'.
549
77ca1325
DD
5502009-05-13 DJ Delorie <dj@redhat.com>
551
552 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
553
42a68e18
AJ
5542009-05-13 Andrew Jenner <andrew@codesourcery.com>
555
556 * config/tc-arm.c: Move as.h to start of file.
557
267bf995
RR
5582009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
559
84df6011 560 * config/tc-arm.h: Fix typo in comment.
267bf995
RR
561 (ARM_IS_FUNC): New macro.
562 (MD_APPLY_SYM_VALUE): Define.
563
84df6011 564 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
267bf995
RR
565 all versions of EABI.
566 (relax_branch): Do not relax for branches to ARM functions.
567 (md_pcrel_from_section): Set up base correctly for
568 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
569 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
570 BFD_RELOC_ARM_PCREL_CALL.
571 (md_apply_fix): Flip bl to blx where possible.
572 Flip blx to bl where possible.
573 (arm_force_relocation): Force relocations for
574 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
575 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
576 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
577 BFD_RELOC_THUMB_PCREL_BRANCH25.
578 (arm_apply_sym_value): New function.
01fb1836 579
eb979bfb
TG
5802009-05-04 Tristan Gingold <gingold@adacore.com>
581
582 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
583
45eb4c1b
NS
5842009-05-01 Nathan Sidwell <nathan@codesourcery.com>
585
586 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
587 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
588 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
589 the default FPU from the processor.
590
00adf2d4
JB
5912009-05-01 Julian Brown <julian@codesourcery.com>
592
593 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
594 (md_pcrel_from_section): Align address for BLX.
595 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
596 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
597
3526b680
DD
5982009-04-29 DJ Delorie <dj@redhat.com>
599
600 * config/tc-mep.c (md_begin): Check coprocessor type.
601 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
602 (md_check_parallel32_scheduling): Likewise.
603 (slot_ok): New.
604 (mep_check_ivc2_scheduling): New.
605 (mep_check_parallel_scheduling): Call it.
606 (mep_process_saved_insns): Add IVC2 slot support.
607 (md_assemble): Likewise.
608
d8045f23
NC
6092009-04-30 Nick Clifton <nickc@redhat.com>
610
611 * config/obj-elf.c (obj_elf_type): Add support for a
612 gnu_indirect_function type.
613 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
614 against indirect function symbols.
615 * doc/as.texinfo (.type): Document the support for the
616 gnu_indirect_function symbol type.
617 * NEWS: Mention the new feature.
618
92846e72
CC
6192009-04-24 Cary Coutant <ccoutant@google.com>
620
621 * NEWS: Add item about discriminator support.
622 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
623 * dwarf2dbg.c (current): Add discriminator field.
624 (dwarf2_where): Copy discriminator value.
625 (dwarf2_consume_line_info): Set discriminator to 0.
626 (dwarf2_directive_loc): Process discriminator sub-op.
627 (out_leb128): New function.
628 (process_entries): Output DW_LNE_set_discriminator.
629 * doc/as.texinfo: Add discriminator operand to .loc directive.
92846e72 630
520725ea
NS
6312009-04-22 Nathan Sidwell <nathan@codesourcery.com>
632
633 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
634 as_bad calls to silence compiler warning.
635
7ac3eb25
L
6362009-04-21 H.J. Lu <hongjiu.lu@intel.com>
637
638 * config/tc-i386-intel.c (O_XXX): Reorder.
639
ee86248c
JB
6402009-04-20 Jan Beulich <jbeulich@novell.com>
641
642 * Makefile.am: Add explicit dependency of tc-i386.o on
643 tc-i386-intel.c.
644 * Makefile.in: Likewise.
645 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
646 out from i386_immediate.
647 (i386_immediate): Slightly re-arrange, call
648 i386_finalize_immediate.
649 (i386_finalize_displacement): Declare, broken out from
650 i386_displacement.
651 (i386_displacement): Slightly re-arrange, call
652 i386_finalize_displacement.
653 (i386_intel_simplify, i386_intel_parse_name): Declare.
654 (this_operand): Initialize to -1.
655 (set_intel_syntax): Set expression rank for O_full_ptr.
656 (md_assemble): Set this_operand back to -1 after parsing
657 operands.
658 (x86_cons): Negate intel_syntax to indicate state. Call
659 i386_intel_simplify.
660 (md_operand): Convert if to switch. Handle '[' for Intel
661 syntax.
662 (i386_intel_operand): Delete, including all helper functions
663 and data.
664 * config/tc-i386-intel.c: New file, all new code.
665 * config/tc-i386.h (i386_operator): Declare.
666 (md_operator): Define to i386_operator.
667 (i386_need_index_operator): Declare.
668 (md_need_index_operator): Define to i386_need_index_operator.
669 (O_full_ptr): Define.
670
fcaed75e
JB
6712009-04-20 Jan Beulich <jbeulich@novell.com>
672
673 * expr.c (operand): Call md_need_index_operator() and
674 md_operator() if defined. Add unary label.
675 (operator): Call md_operator() if defined.
676 (expr): Adjust assertions on range and rank of op_left and
677 op_right. Don't abort on unhandled operators when reducing
678 expressions with both operands being constant.
679 (expr_set_rank): New.
680 * expr.h (expr_set_rank): Declare.
681
51a5d0aa 6822009-04-15 Anthony Green <green@moxielogic.com>
20135e4c
NC
683
684 * config/tc-moxie.h: New file.
685 * config/tc-moxie.c: New file.
686 * configure: Add support for moxie.
687 * configure.tgt: Add support for moxie.
688
d85733c8
JB
6892009-04-16 Jan Beulich <jbeulich@novell.com>
690
691 * expr.c: Include limits.h if available, and #define CHAR_BITS
692 otherwise.
693 (expr): Check range of shift count when evaluating a constant
694 expression.
695
d8a1b51e
JB
6962009-04-15 Jan Beulich <jbeulich@novell.com>
697
698 * config/tc-i386.c (process_operands): Print operands in
699 correct order depending on intel_syntax.
700
6a32d874
CM
7012009-04-09 Catherine Moore <clm@codesourcery.com>
702
703 * config/tc-mips.c (mips_fix_24k): Declare.
704 (check_for_24k_errata): New.
705 (mips_cleanup): Call check_for_24k_errata.
706 (start_noreorder): Likewise.
707 (md_mips_end): Likewise.
708 (s_change_sec): Likewise.
709 (s_change_section): Likewise.
710 (append_insn): Call check_for_24k_errata. Prevent
711 ERET/DERET instructions from being moved into delay
712 slots.
713 (OPTION_FIX_24K): New.
714 (OPTION_NO_FIX_24k) New.
715 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
716 (md_parse_option): Handle fix-24k options.
717 (md_show_usage): Display fix-24k options.
718 * doc/c-mips.texi: Document.
6a32d874 719
6b6b3450
AN
7202009-04-09 Adam Nemet <anemet@caviumnetworks.com>
721
722 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
723 instead of HAVE_64BIT_SYMBOLS.
724
4d28413b
DD
7252009-04-07 DJ Delorie <dj@redhat.com>
726
727 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
728 (md_show_usage): Change default endian to little.
729 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
730
bcb012d3
DD
7312009-04-06 DJ Delorie <dj@redhat.com>
732
733 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
734 immediates.
735 (build_bytes): Pass insn to do_a_fix_imm.
736
5b19eaba
NC
7372009-04-02 Daniel Gutson <dgutson@codesourcery.com>
738
739 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
740 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
741 Cortex-M1.
742
745435b6
MT
7432009-04-01 Matt Thomas <matt@netbsd.org>
744
745 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
746 (md_assemble): emit symbol name when used as immediate in PIC mode.
747 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
748
1ec520b7
SA
7492009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
750
751 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
752
4343666d
RR
7532009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
754
755 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
756 (find_real_start): Likewise.
757 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
758
e7495e45
NS
7592009-04-01 Nathan Sidwell <nathan@codesourcery.com>
760
761 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
762 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
763 whenever possible.
764
42240548
PB
7652009-03-31 Peter Bergner <bergner@vnet.ibm.com>
766
767 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
768
adfd7328
DK
7692009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
770
771 * doc/internals.texi: Fix trivial syntax errors.
772
0cc9e1d3
AM
7732009-03-26 Alan Modra <amodra@bigpond.net.au>
774
775 PR 10005
776 * config/tc-i386.c (reloc): Don't abort on lack of required
777 reloc type.
778
41aacd83
L
7792009-03-25 H.J. Lu <hongjiu.lu@intel.com>
780
781 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
782 arch.
783
d67ffd56
L
7842009-03-23 H.J. Lu <hongjiu.lu@intel.com>
785
786 PR gas/9966
787 * listing.c (listing_newline): Properly handle `\\"' and ';'.
788
789 * read.c (is_end_of_line): Update comments for line separator.
790 (read_begin): Set line separator in is_end_of_line to 2.
791
b7cac25f
DM
7922009-03-19 David S. Miller <davem@davemloft.net>
793
794 * config/tc-sparc.c (md_parse_option): If the user gives
795 us '--64' make sure max_architecture is at least V9.
796
42e5fcbf
AS
7972009-03-18 Andrew Stubbs <ams@codesourcery.com>
798
799 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
800 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
801 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
802
8d25cc3d
AM
8032009-03-18 Alan Modra <amodra@bigpond.net.au>
804
805 * as.h: Include alloca-conf.h instead of config.h and remove
806 existing #if's handling alloca.
807 * Makefile.am: Run "make dep-am".
808 * Makefile.in: Regenerate.
809
8602d4fe
RS
8102009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
811
812 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
813 C_AIX_WEAKEXT too.
814
9f0eb232
RS
8152009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
816
817 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
818 "value" from fx_offset. Manually resubtract md_pcrel_from_section
819 where necessary.
820
e5231592
RS
8212009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
822
823 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
824 * configure.in: Likewise.
825 * configure: Regenerate.
826
a07dbd48
HPN
8272009-03-11 Hans-Peter Nilsson <hp@axis.com>
828
829 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
830 Rename, changing all callers, to...
831 (md_create_short_jump): Adjust head comment. Assert
832 word-sized-branch distance for v32. Bail out calling as_fatal for
833 compatibility mode here.
834 (md_create_long_jump): ...not here.
835 * config/tc-cris.h (md_create_short_jump): Do not define.
836
187af7df
HPN
8372009-03-10 Hans-Peter Nilsson <hp@axis.com>
838
839 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
840 the jump table for multiple overflowing entries with the same
841 target, handle base symbols being different.
842 (relax_segment) <case rs_broken_word, second loop>: Whenever a
843 single entry overflows, arrange to redirect all entries with the
844 same target.
845
69fe9ce5
AM
8462009-03-10 Alan Modra <amodra@bigpond.net.au>
847
848 * config/tc-ppc.c (parse_cpu): Delete.
849 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
850
f378cd83
L
8512009-03-09 H.J. Lu <hongjiu.lu@intel.com>
852
853 PR gas/9915
854 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
855 (LOCAL_LABELS_FB): Undefine befoe define.
856
d11fd249
NC
8572009-03-06 Nick Clifton <nickc@redhat.com>
858
859 * po/es.po: Updated Spanish translation.
860
cc3f603a
JM
8612009-03-05 Joseph Myers <joseph@codesourcery.com>
862
863 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
864 s_incbin): Call md_cons_align (1).
865
d9319cec
NC
8662009-03-04 Nick Clifton <nickc@redhat.com>
867
868 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
869 based targets.
870 (s_alpha_comm): Only define "temp" and "log_align" local variables
871 for EVAX targets.
872
727fc41e
AM
8732009-03-04 Alan Modra <amodra@bigpond.net.au>
874
875 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
876 have non-zero addend.
877 (md_assemble): Parse args of __tls_get_addr calls.
878 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
879
1c5c6c13
DA
8802009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
881
882 binutils/3807
883 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
884 local scope for ELF targets.
885
ed84b57b
AM
8862009-03-04 Alan Modra <amodra@bigpond.net.au>
887
888 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
889
198f1251
TG
8902009-03-03 Tristan Gingold <gingold@adacore.com>
891 Eric Botcazou <ebotcazou@adacore.com>
892 Douglas B Rupp <rupp@gnat.com>
893
894 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
895 for Alpha.
896 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
897 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
898 (OBJ_SYMFIELD_TYPE): Remove.
899 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
900 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
901 (tc_frob_file_before_fix): Do not defined on evax.
902 * config/tc-alpha.c: Always includes dwarf2dbg.h.
903 Include vms.h if OBJ_EVAX.
904 (struct alpha_fixup): Add xtrasym and procsym (evax only).
905 (enum alpha_macro_arg): Remove trailing comma.
906 (md_longopts): Add replace and noreplace arguments (evax only).
907 (alpha_evax_proc_hash): New variable.
908 (alpha_link_section): Make it global.
909 (alpha_ctors_section, alpha_dtors_section): Removed.
910 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
911 (alpha_lit8_section): Ifndef'ed on evax.
912 (alpha_lit8_symbol): Ditto.
913 (alpha_prologue_label): New variable.
914 (alpha_linkage_symbol): New variable (evax only).
915 (alpha_flag_replace): Ditto.
916 (struct alpha_evax_procs): Add handler and handler_data field.
917 (alpha_evax_proc): Now of type pointer.
918 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
919 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
920 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
921 (alpha_adjust_relocs): Ifndef'ed on evax.
922 (load_expression): Add opname argument.
923 Implement LDA/BSR optimization for evax.
924 (emit_lda): Adjust for new prototype of load_expression.
925 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
926 (emit_loadstore): Likewise.
927 (emit_ldXu): Likewise.
928 (emit_stX): Likewise.
929 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
930 (emit_ldgp): Avoid warning in evax case.
931 (add_to_link_pool): Make it static. Return symbolic expression rather
932 than number expression for the offset.
933 (s_alpha_text): Create .text symbol for evax if not already created.
934 (s_alpha_comm): Do not create specific section for common symbol.
935 Fill common area with zeros for evax.
936 (s_alpha_prologue): Create alpha_prologue_label.
937 (s_alpha_section_name): New function (evax).
938 (s_alpha_section_word): Likewise.
939 (section_name): New static variabke moved out from ...
940 (s_alpha_section): ... here. Create new sections on demand.
941 (s_alpha_literals): New function (evax).
942 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
943 alpha_evax_proc_hash table.
944 (s_alpha_handler): New function (evax).
945 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
946 (s_alpha_prologue): New function (evax).
947 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
948 handling of procedures with hash table.
949 Add support for condition handlers.
950 (s_alpha_linkage): Create linkage_fixup instance and chain it.
951 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
952 (s_alpha_mask): Likewise.
953 (s_alpha_fmask): Likewise.
954 (s_alpha_end): Clear alpha_evax_proc.
955 (s_alpha_align): Increase max_alignment to 16.
956 (alpha_print_token): Call print_expr_1 instead of print_expr.
ed84b57b 957 (md_pseudo_table): Add "section", "literals", "handler" and
198f1251
TG
958 "handler_data" (evax). Do not ignore "prologue" on evax.
959 Fix indentation.
960 (md_begin): Create hash table for alpha_evax_proc_hash.
961 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
962 (md_show_usage): Mention -replace/-noreplace for evax.
963 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
964 (alpha_force_relocation): Likewise.
965 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
966 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
967 (emit_insn): New cases for evax specific relocs.
968 (assemble_insn): Fix indentation.
969 Take care of -MDISP in operand table.
970 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
971 (OBJ_SYMFIELD_TYPE): New macro.
972 (obj_symbol_new_hook): Define.
973 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
974 (obj_frob_file_before_fix): Ditto.
975 (PDSC_S_M_HANDLER_VALID): New macro.
976 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
977 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
978 Add prototypes for functions declared in obj-evax.c
979 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
980 (s_evax_weak): Convert to ansi-C.
981 (evax_symbol_new_hook): New function.
982 (evax_frob_symbol): Ditto.
983 (evax_frob_file_before_adjust): Ditto.
984 (evax_frob_file_before_fix): Ditto.
985 (evax_shorten_name): Ditto.
986 (crc32): Ditto.
987 (encode_32): Ditto.
988 (encode_16): Ditto.
989 (decode_16): Ditto.
990 (shorten_identifier): Ditto.
991 (is_truncated_identifier): Ditto.
992 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
993 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
994 (main): Ditto.
995
a1f7ca36
AM
9962009-03-03 Alan Modra <amodra@bigpond.net.au>
997
998 * Makefile.am: Run "make dep-am".
999 * Makefile.in: Regenerate.
1000
83cf10fd
NC
10012009-03-02 Nick Clifton <nickc@redhat.com>
1002
1003 PR 9874
1004 * config/tc-ia64.c (fix_insn): Fix warning reported by
1005 -Wformat-security.
1006
c3b7224a
NC
10072009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1008
1009 * config/tc-score7.c: New file.
1010 * doc/c-score.texi: New file.
1011 * Makefile.am: Update dependencies for tc-score.c.
1012 * Makefile.in: Regenerate.
1013 * NEWS: Mention support for Score7 architecture.
1014 * config/tc-score.c: Add support for Score7 architecture.
1015 * config/tc-score.h: Likewise.
1016 * doc/Makefile.am: Add c-score.texi.
1017 * doc/Makefile.in: Regenerate.
1018 * doc/all.texi: Add Score7.
1019 * doc/as.texinfo: Add Score7.
1020
04e2c417
MM
10212009-03-01 Mark Mitchell <mark@codesourcery.com>
1022
1023 * config/tc-arm.c (md_assemble): Allow barrier instructions on
1024 ARMv6-M cores.
1025
58e24671
RW
10262009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1027
1028 * configure: Regenerate.
1029
066be9f7
PB
10302009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1031
1032 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
1033 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
1034 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
1035
784788d2
L
10362009-02-25 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 * config/tc-i386.c (fits_in_imm4): Removed.
1039
91c2f09e
DA
10402009-02-24 Helge Deller <deller@gmx.de>
1041
dfaf9df8 1042 * config/tc-hppa.c (pa_ip): Add check of immediate values.
91c2f09e
DA
1043 (SAVE_IMMEDIATE): New define.
1044
94206790
MM
10452009-02-23 Mark Mitchell <mark@codesourcery.com>
1046
1047 * config/tc-arm.c (warn_deprecated_sp): New macro.
1048 (do_t_mov_cmp): Permit R13 as the second
1049 argument to "cmp.n".
1050
0349dc08
L
10512009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
1054 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
1055
c1b80a2a
L
10562009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1057
1058 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
1059
4c664d7b
L
10602009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1061
1062 * config/tc-i386.c (vex_imm4): Removed.
1063 (VEX_check_operands): Likewise.
1064 (match_template): Updated.
1065
11c19e16
MS
10662009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1067
1068 * doc/all.texi: Set S390.
1069 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
1070 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
1071 * doc/Makefile.in: Likewise.
1072 * doc/c-s390.texi: New.
1073
87298967
NS
10742009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1075
1076 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
1077 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
1078 (mcf5307_ctrl): Add VBR.
1079 (no_mac): New variable.
1080 (m68k_extensions): Refer to no_mac mask.
1081 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
1082 52252..52259, 53011..53017.
1083 (m68k_ip): Process CPUCR.
1084 (init_table): Add cpucr entry.
1085 (m68k_set_extension): Allow negated mask to refer to a variable.
1086 (md_show_usage): Use '%s' to silence fprintf warning.
1087 * config/m68k-parse.h (CPUCR): New control register.
1088
ee2c9aa9
NS
10892009-02-10 Nathan Sidwell <nathan@codesourcery.com>
1090
1091 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
1092 as_bad calls to silence compiler warning.
1093
8dc2430f
NC
10942009-02-06 Nick Clifton <nickc@redhat.com>
1095
1096 PR 9814
1097 * config/tc-arm.c (MODE_RECORDED): New define.
1098 (output_inst): Record the thumb_mode in the current frag.
1099 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
1100 (arm_init_frag): Only set the tc_frag_data field if it has not
1101 already been set.
1102
ce2f5b3c
L
11032009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1104
1105 AVX Programming Reference (January, 2009)
1106 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
1107 (CPU_FLAGS_AVX_MATCH): Updated.
1108 (CPU_FLAGS_32BIT_MATCH): Likewise.
1109 (cpu_flags_match): Likewise.
1110
52b6b6b9
JM
11112009-02-03 Sandip Matte <sandip@rmicorp.com>
1112
1113 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
1114 M_MSGWAIT and M_MSGWAIT_T.
1115 (mips_cpu_info_table): Add XLR entry.
1116 * doc/c-mips.texi (-march): Document xlr.
1117
e94345ae 11182009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
a53fddce
EW
1119
1120 * config/tc-avr.c (mcu_types): Add ata6289.
1121 * doc/c-avr.texi: Likewise.
1122
31dd3154
JM
11232009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1124
1125 * configure.in: AC_SUBST pdfdir.
1126 * Makefile.am: Add install-pdf, install-pdf-am,
1127 and install-pdf-recursive targets.
1128 * doc/Makefile.am: Define pdf__strip_dir. Add
1129 install-pdf and install-pdf-am targets.
1130 * po/Make-in: Add install-pdf target.
1131 * configure: Regenerate.
1132 * Makefile.in: Regenerate.
1133 * doc/Makefile.in: Regenerate.
1134
cf869cce
NC
11352009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
1136
1137 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
1138 relocations.
1139 * config/m68k-parse.y (yylex): Parse TLS relocations.
1140 * config/tc-m68k.c (m68k_elf_cons): New static function.
1141 (md_pseudo_table): Use it.
1142 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
1143 relocations.
1144 (md_apply_fix): Fix to set thread local flag.
1145 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
1146
bb0a86e1
NC
11472009-02-03 Vince Weaver <vince@csl.cornell.edu>
1148
1149 PR 9779
1150 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
1151 indexed addressing for symbolic expressions.
1152
fdfde340
JM
11532009-01-29 Mark Mitchell <mark@codesourcery.com>
1154
1155 * config/tc-arm.c (BAD_SP): Define.
1156 (s_arm_unwind_fnstart): Use REG_SP.
1157 (s_arm_unwind_setfp): Likewise.
1158 (reject_bad_reg): New macro.
1159 (do_co_reg): Check for bad registers.
1160 (do_co_reg2c): Likewise.
1161 (do_srs): Use REG_SP.
1162 (do_t_add_sub): Check for bad registers.
1163 (do_t_adr): Likewise.
1164 (do_t_arit3): Likewise.
1165 (do_t_arit3c): Likewise.
1166 (do_t_bfc): Likewise.
1167 (do_t_bfi): Likewise.
1168 (do_t_bfx): Likewise.
1169 (do_t_blx): Likewise.
1170 (do_t_bx): Likewise.
1171 (do_t_bxj): Likewise.
1172 (do_t_clz): Likewise.
1173 (do_t_div): Likewise.
1174 (do_t_mla): Likewise.
1175 (do_t_mlal): Likewise.
1176 (do_t_mov_cmp): Likewise.
1177 (do_t_mov16): Likewise.
1178 (do_t_mvn_tst): Likewise.
1179 (do_t_mrs): Likewise.
1180 (do_t_msr): Likewise.
1181 (do_t_mul): Likewise.
1182 (do_t_mull): Likewise.
1183 (do_t_orn): Likewise.
1184 (do_t_pkhbt): Likewise.
1185 (do_t_pld): Likewise.
1186 (do_t_rbit): Likewise.
1187 (do_t_rev): Likewise.
1188 (do_t_rrx): Likewise.
1189 (do_t_rsb): Likewise.
1190 (do_t_shift): Likewise.
1191 (do_t_simd): Likewise.
1192 (do_t_ssat): Likewise.
1193 (do_t_ssat16): Likewise.
1194 (do_t_sxtah): Likewise.
1195 (do_t_sxth): Likewise.
1196 (do_t_tb): Likewise.
1197 (do_t_usat): Likewise.
1198 (do_t_usat16): Likewise.
1199 (nysn_insert_sp): Use REG_SP.
1200
1c444d06
JM
12012009-01-29 Mark Mitchell <mark@codesourcery.com>
1202
1203 * config/tc-arm.c (do_t_orn): New function.
1204 (do_t_rrx): Likewise.
1205 (insns): Add orn and rrx.
1206
4f80ef3e
JM
12072009-01-29 Mark Mitchell <mark@codesourcery.com>
1208
1209 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
ed84b57b 1210 uasx, uhasx, uhsx, uqasx, uqsax, usax.
4f80ef3e 1211
087b80de
JM
12122009-01-29 Mark Mitchell <mark@codesourcery.com>
1213
1214 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
1215 qdsub in Thumb-2 mode.
1216
17828f45 12172009-01-29 Paul Brook <paul@codesourcery.com>
321098a5 1218 Mark Mitchell <mark@codesourcery.com>
17828f45
JM
1219
1220 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
1221 of MUL when possible.
1222
ec0c103c
NC
12232009-01-29 Nick Clifton <nickc@redhat.com>
1224
1225 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
1226
4a6bc624
NS
12272009-01-29 Nathan Sidwell <nathan@codesourcery.com>
1228 Catherine Moore <clm@codesourcery.com?
1229
1230 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
1231 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
1232 directives.
1233
23fce1e3
NC
12342009-01-27 Nick Clifton <nickc@redhat.com>
1235
1236 * config/tc-mips.c (append_insn): Cope with a complex reloc
1237 sequence containing an unsupported reloc type.
1238 (enum options): Replace computed #define's constants for option
1239 numbers with this enum.
1240 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
1241 environment.
1242 (md_parse_option): Allow -32 in a non-ELF environment.
1243
ee3c0378
AS
12442009-01-26 Andrew Stubbs <ams@codesourcery.com>
1245
1246 * config/tc-arm.c (attributes_set_explicitly): New array.
1247 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
1248 (cpu_arch): Add ARM_ARCH_V5T.
1249 (aeabi_set_attribute_int): New function.
1250 (aeabi_set_attribute_string): New function.
1251 (aeabi_set_public_attributes): Set attributes according to the user's
1252 intentions, rather than the actual state of the binary.
1253 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
1254 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
1255 Support WMMXv2. Use attribute names instead of numbers.
1256 * read.c (s_vendor_attribute): Change return type to int.
1257 Return the tag number that was set.
1258 * read.h (s_vendor_attribute): Change return type to int.
1259
17f4880d
EW
12602009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
1261
1262 PR 9789
1263 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
1264 * doc/c-avr.texi: Likewise.
1265
278df34e
NS
12662009-01-23 Nathan Sidwell <nathan@codesourcery.com>
1267
1268 * doc/c-arm.texi (): Document -mwarn-deprecated.
1269 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
1270 (warn_on_deprecated): ... this.
1271 (opcode_lookup, md_assemble): Check it before warning.
1272 (arm_opts): Add m[no-]warn-deprecated.
1273 (md_parse_option): Replace WARN_DEPRECATED with
1274 warn_on_deprecated.
1275
199114c2
AS
12762009-01-23 Andreas Schwab <schwab@suse.de>
1277
750bdd57
AS
1278 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
1279 arguments to macro_build to match format.
1280
199114c2
AS
1281 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
1282 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
1283
d3bf77be
NC
12842009-01-19 Nick Clifton <nickc@redhat.com>
1285
1286 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
1287 ELF format ARM targets.
1288 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
1289
12902009-01-19 Nick Clifton <nickc@redhat.com>
1291
1292 * configure.tgt: Restore alpha sorting to object format switch
1293 statement.
1294
2d0bb761
AS
12952009-01-19 Andrew Stubbs <ams@codesourcery.com>
1296
1297 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
1298
3493e7b0
JM
12992009-01-16 Mark Shinwell <shinwell@codesourcery.com>
1300
1301 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
1302 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
1303
e04befd0
AS
13042009-01-16 Andrew Stubbs <ams@codesourcery.com>
1305 Daniel Jacobowitz <dan@codesourcery.com>
1306
1307 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
1308 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
1309 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
1310 * read.c (s_vendor_attribute): Add support for symbolic tag names.
1311 Improve string parser.
1312 * doc/c-arm.texi (ARM Machine Directives): Document
1313 .eabi_attribute symbolic tag names.
1314
29670fb9
AM
13152009-01-16 Alan Modra <amodra@bigpond.net.au>
1316
1317 * configure.in (commonbfdlib): Delete.
1318 * configure: Regenerate.
1319 * po/POTFILES.in: Regenerate.
1320
91e22acd
AS
13212009-01-15 Andrew Stubbs <ams@codesourcery.com>
1322 Julian Brown <julian@codesourcery.com>
1323
1324 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
1325
7b86a9fa
AS
13262009-01-15 Andrew Stubbs <ams@codesourcery.com>
1327
1328 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
1329 bfd_elf_add_obj_attr_int_string.
1330
01e1a5bc
NC
13312009-01-15 Douglas B Rupp <rupp@gnat.com>
1332
1333 * configure.tgt(ia64-*-*vms*): New target.
1334 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
1335 * tc.h (md_number_to_chars): Declare iff undefined.
1336 * config/obj-elf.c (obj_elf_change_section): Change type of arg
1337 attr to bfd_vma.
1338 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
1339 variables attr, md_attr to bfd_vma.
1340 (obj_elf_section_word): Likewise.
1341 (obj_elf_section): Change type of variable attr to bfd_vma
1342 * config/obj-elf.h (obj_elf_change_section): Change type of arg
1343 attr to bfd_vma.
1344 * config/tc-ia64.c (bfdver.h,time.h): Include.
1345 (ia64_elf_section_letter): Now returns a bfd_vma.
1346 Handle VMS specific attributes.
1347 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1348 (ia64_init): Don't turn on dependency checking for VMS.
1349 (ia64_target_format): Check for VMS flag bit.
1350 (do_alias): Hande decc$ functions.
1351 (get_vms_time): New function.
1352 (ia64_vms_note): New function.
1353 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
1354 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1355 (tc_init_after_args): Define for VMS.
1356 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
1357 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
1358 * config/tc-alpha.h: Likewise.
1359 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
1360 (x86_64_section_word): Return a bfd_vma.
1361 * config/tc-i386.h: Likewise.
1362 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
1363 attr to bfd_vma.
1364 * config/tc-ip2k.h: Likewise.
1365 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
1366 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
1367 * config/tc-mep.h: Likewise.
1368 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
1369 (ppc_section_word): Return a bfd_vma.
1370 (ppc_section_flags): Change type of arg attr to bfd_vma.
1371 * config/tc-ppc.h: Likewise.
1372 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
1373 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
750bdd57
AS
1374 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
1375 New file with new macros
1376 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1377 macros.
01e1a5bc 1378
bc2d1808
NC
13792009-01-15 Nick Clifton <nickc@redhat.com>
1380
1381 PR 9722
1382 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1383 instructions before generating a Thumb2 nop.
1384
7b6598a4 13852009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750bdd57 1386
7b6598a4
AK
1387 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1388
cd4a7468
AM
13892009-01-12 Alan Modra <amodra@bigpond.net.au>
1390
1391 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1392 (brinfo): New var.
1393 (md_assemble): Poke brinfo into branch instructions.
1394 (spu_brinfo): New function.
1395 (md_apply_fix): Don't assume insn fields start off at zero, mask
1396 them to remove possible brinfo.
1397
1543849b
L
13982009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * doc/c-i386.texi: Reformat.
1401
bd5295b2
L
14022009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1403
dfaf9df8 1404 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
bd5295b2
L
1405 .syscall.
1406 (i386_align_code): Handle PROCESSOR_COREI7.
1407 (md_show_usage): Add corei7, clflush and syscall.
1408 (i386_target_format): Replace cpup4 with cpuclflush.
1409
dfaf9df8 1410 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
bd5295b2
L
1411
1412 * doc/c-i386.texi: Document corei7, clflush and syscall.
1413
1b7f3fb0
L
14142009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1415
1416 * config/tc-i386.c (cpu_arch): Add .rdtscp.
1417 (md_show_usage): Display rdtscp.
1418
1419 * doc/c-i386.texi: Document rdtscp.
1420
1cb0a767
PB
14212009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1422
1423 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1424 Test the new "deprecated" opcode field.
1425
19fc3723
SA
14262009-01-07 Sterling Augustine <sterling@tensilica.com>
1427
1428 * config/tc-xtensa.c (produce_flix): New.
1429 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1430 (md_longopts): Add support for them.
1431 (md_parse_option): Likewise.
1432 (md_show_usage): Add help message.
1433 (finish_vinsn): Don't allow multi-slot flix when produce_flix
1434 option is set to FLIX_NONE.
1435 * config/xtensa-relax.c (transition_applies): Only relax to
1436 flix branches when produce_flix equals FLIX_ALL.
1437 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1438 FLIX_NONE): New.
1439 (produce_flix): Declare.
1440
24864476
CF
14412009-01-06 Chao-ying Fu <fu@mips.com>
1442
1443 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1444 Use strncmp to match jalr and jalr.hb.
1445 Fix a typo.
1446
0bfee649 14472009-01-05 H.J. Lu <hongjiu.lu@intel.com>
d62f07d0 1448
0bfee649
L
1449 AVX Programming Reference (December, 2008)
1450 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1451 support. Don't swap REG and NDS for FMA.
d62f07d0 1452
750bdd57 14532009-01-02 Matthias Klose <doko@ubuntu.com>
e7c604dd 1454
750bdd57
AS
1455 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1456 behaviour.
e7c604dd 1457
0bfee649 1458For older changes see ChangeLog-2008
08d56133
NC
1459\f
1460Local Variables:
1461mode: change-log
1462left-margin: 8
1463fill-column: 74
1464version-control: never
1465End:
This page took 0.441565 seconds and 4 git commands to generate.