bfd
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
fa8f86ff
TT
12009-07-10 Tom Tromey <tromey@redhat.com>
2
3 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
4 elf/dwarf2.h.
5 (DEPTC_alpha_elf): Likewise.
6 (DEPTC_alpha_evax): Likewise.
7 (DEPTC_arm_elf): Likewise.
8 (DEPTC_hppa_elf): Likewise.
9 (DEPTC_i386_aout): Likewise.
10 (DEPTC_i386_coff): Likewise.
11 (DEPTC_i386_elf): Likewise.
12 (DEPTC_m68k_aout): Likewise.
13 (DEPTC_m68k_coff): Likewise.
14 (DEPTC_m68k_elf): Likewise.
15 (DEPTC_mips_coff): Likewise.
16 (DEPTC_mips_ecoff): Likewise.
17 (DEPTC_mips_elf): Likewise.
18 (DEPTC_ppc_coff): Likewise.
19 (DEPTC_ppc_elf): Likewise.
20 (DEPTC_s390_elf): Likewise.
21 (DEPTC_sh_coff): Likewise.
22 (DEPTC_sh_elf): Likewise.
23 (DEPTC_sh64_elf): Likewise.
24 (DEPTC_sparc_aout): Likewise.
25 (DEPTC_sparc_coff): Likewise.
26 (DEPTC_sparc_elf): Likewise.
27 (as.o): Likewise.
28 (dwarf2dbg.o): Likewise.
29 (dw2gencfi.o): Likewise.
30 (ehopt.o): Likewise.
31 (read.o): Likewise.
32 * Makefile.in: Rebuild.
33 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
34 * dwarf2dbg.c: Likewise.
35 * ehopt.c: Likewise.
36
c921be7d
NC
372009-07-09 Daniel Gutson <dgutson@codesourcery.com>
38
39 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
40 (set_it_insn_type_nonvoid): New macro.
41 (emit_thumb32_expr): New function.
42 (thumb_insn_size): New function.
43 (emit_insn): New function.
44 (s_arm_elf_inst): New function.
45 (md_pseudo_table): New pseudo-opcode entries added.
46 * doc/c-arm.texi: New directive added.
47
7ec721f4
DD
482009-07-07 DJ Delorie <dj@redhat.com>
49
50 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
51 when enabling other options without a specific configuration.
52
1103f72c
NC
532009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
54
55 * config/tc-arm.c (insns): Fix encoding for torvsc.
56
922d8de8
DR
572009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
58
59 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
60 (build_modrm_byte): Add support to handle FMA4 instructions.
61 (md_show_usage): Add fma4.
62
c1a6351f
AM
632009-07-04 Alan Modra <amodra@bigpond.net.au>
64
65 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
66
e57f8c65
TG
672009-07-02 Tristan Gingold <gingold@adacore.com>
68
69 * Makefile.am (OBJ_FORMATS): Add macho.
70 (CPU_OBJ_VALID): Ditto.
71 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
72 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
73 (obj-macho.o): New rule.
74 * Makefile.in: Regenerated.
75 * configure.tgt (generic_target): Add i386-*-darwin*.
76 * config/tc-i386.h: Use i386_target_format for Mach-O.
77 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
78 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
79 * config/obj-macho.h: New file.
80 * config/obj-macho.c: New file.
81
1ef52f49
NC
822009-07-01 Nick Clifton <nickc@redhat.com>
83
84 PR 10168
85 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
86 PKHBT.
87
921e5f0a
PB
882009-07-01 Paul Brook <paul@codesourcery.com>
89
90 * config/tc-arm.c (MISSING_FNSTART): Define.
91 (s_arm_unwind_fnstart): Diagnose duplicate directive.
92 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
93 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
94 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
95 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
96 not inside function unwinding region.
97
7ab9ffdd
L
982009-06-29 H.J. Lu <hongjiu.lu@intel.com>
99
100 * config/tc-i386.c: Reformat.
101
3ef23cd4
DD
1022009-06-23 DJ Delorie <dj@redhat.com>
103
104 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
105 32 bits for relaxable branches so that we can relax them later.
106 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
107 (mep_relax_frag): New.
108 (md_convert_frag): Relax IVC2 branches in-place.
109 * config/tc-mep.h ((mep_relax_frag): New.
110
9c2799c2
NC
1112009-06-22 Martin Thuresson <martin@mtme.org>
112
113 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
114 gas/config/atof-ieee.c, gas/config/obj-aout.c,
115 gas/config/obj-coff.c, gas/config/obj-ecoff.c,
116 gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
117 gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
118 gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
119 gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
120 gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
121 gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
122 gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
123 gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
124 gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
125 gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
126 gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
127 gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
128 gas/config/tc-s390.c, gas/config/tc-score.c,
129 gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
130 gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
131 gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
132 gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
133 gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
134 gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
135 gas macro `assert' to `gas_assert'.
136
e07e6e58
NC
1372009-06-22 Daniel Gutson <dgutson@codesourcery.com>
138
139 * config/tc-arm.c (implicit_it_mode): New enum.
140 (implicit_it_mode): New global.
141 (it_instruction_type): New enum.
142 (arm_parse_it_mode): New function.
143 (arm_long_opts): New option added.
144 (arm_it): New field.
145 (it_state): New enum.
146 (now_it): New macro.
147 (check_it_blocks_finished): New function.
148 (insns[]): Use the IT Thumb opcodes for ARM too.
149 (arm_cleanup): Call check_it_blocks_finished.
150 (now_it_compatible): New function.
151 (conditional_insn): New function.
152 (set_it_insn_type): New macro.
153 (set_it_insn_type_last): New macro.
154 (do_it): Call automatic IT machinery functions.
155 (do_t_add_sub): Likewise
156 (do_t_arit3): Likewise.
157 (do_t_arit3c): Likewise.
158 (do_t_blx): Likewise.
159 (do_t_branch): Likewise.
160 (do_t_bkpt): Likewise.
161 (do_t_branch23): Likewise.
162 (do_t_bx): Likewise.
163 (do_t_bxj): Likewise.
164 (do_t_cps): Likewise.
165 (do_t_cpsi): Likewise.
166 (do_t_cbz): Likewise.
167 (do_t_it): Likewise.
168 (encode_thumb2_ldmstm): Likewise.
169 (do_t_ldst): Likewise.
170 (do_t_mov_cmp): Likewise.
171 (do_t_mvn_tst): Likewise.
172 (do_t_mul): Likewise.
173 (do_t_neg): Likewise.
174 (do_t_setend): Likewise.
175 (do_t_shift): Likewise.
176 (do_t_tb): Likewise.
177 (output_it_inst): New function.
178 (new_automatic_it_block): New function.
179 (close_automatic_it_block): New function.
180 (now_it_add_mask): New function.
181 (it_fsm_pre_encode): New function.
182 (handle_it_state): New function.
183 (it_fsm_post_encode): New function.
184 (force_automatic_it_block_close): New function.
185 (in_it_block): New function.
186 (md_assemble): Call automatic IT block machinery functions.
187 (arm_frob_label): Likewise.
188 (arm_opts): New element.
189 * config/tc-arm.h (it_state): New enum.
190 (current_it): New struct.
191 (arm_segment_info_type): New member added.
192 * doc/c-arm.texi: New option -mimplicit-it documented.
193
90dce00a
AM
1942009-06-20 Alan Modra <amodra@bigpond.net.au>
195
196 PR 10302
197 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
198
5e7c27a6
MS
1992009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
200
201 * config/tc-s390.c (md_gather_operands): Accept an instruction
202 without operands if all operands are tagged as optional.
203
3a21c15a
NC
2042009-06-18 Nick Clifton <nickc@redhat.com>
205
206 PR 10169
207 * gas/tc-arm.c (do_t_ssat): Move common code from here...
208 (do_t_usat): ... and here to...
209 (do_t_ssat_usat): New function: ... here. Add code to check that
210 the shift value, if present, is in range.
211
361dff73
DK
2122009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
213
32425da9
NC
214 Merge cegcc and mingw32ce target name changes
215 from CeGCC project:
361dff73 216
32425da9 217 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
218
219 * configure.tgt: Add arm*-*-cegcc* target.
220
32425da9 221 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
222
223 * configure.tgt: Add arm-*-mingw32ce* target.
224
7b6021f1
MR
2252009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
226
227 * config/tc-vax.c (md_estimate_size_before_relax): Accept
228 indirect symbol references in the PIC mode and emit a
229 PC-relative relocation instead of a GOT/PLT one. Likewise
230 for symbols known to be hidden at this point.
231
fe2ceba1
NC
2322009-06-15 Nick Clifton <nickc@redhat.com>
233
234 PR 10186
235 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
236 instruction.
237
c25bc9fc
L
2382009-06-13 H.J. Lu <hongjiu.lu@intel.com>
239
240 PR ld/10269
241 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
242 instead of generic_force_reloc.
243
244 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
245
f865a31d
AG
2462009-06-11 Anthony Green <green@moxielogic.com>
247
248 * config/tc-moxie.c (md_chars_to_number): Define.
249 (md_begin): Populate opcode hashtable with more form 3 opcodes.
250 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
251 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
252 (tc_gen_reloc): Ditto.
253 (md_pcrel_from): Ditto.
254 (md_chars_to_number): New function.
255
d7a5ed35
AG
2562009-06-10 Anthony Green <green@moxielogic.com>
257
258 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
259 opcodes.
260
1fbfe785
JJ
2612009-06-09 Jakub Jelinek <jakub@redhat.com>
262
263 PR gas/10255
264 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
265 to DW_CFA_advance_loc4.
266
fbeb56a4
DK
2672009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
268
269 PR gas/977
270 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
271 branches to weak symbols.
272 (md_apply_fix): Don't convert fixes against weak symbols to
273 section-relative offsets, but save addend for later reloc emission.
274 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
275 addend to pre-compensate for bfd_install_relocation.
276
26d1917c
AM
2772009-06-04 Alan Modra <amodra@bigpond.net.au>
278
279 * dep-in.sed: Don't use \n in replacement part of s command.
280 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
281 * Makefile.in: Regenerate.
282
d160e035
L
2832009-06-01 H.J. Lu <hongjiu.lu@intel.com>
284
285 PR gas/10198
286 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
287
ff239038
CM
2882009-05-26 Catherine Moore <clm@codesourcery.com>
289
290 * config/tc-mips.c (check_for_24k_errata): Remove.
291 (md_mips_end): Remove call to check_for_24k_errata.
292 (start_noreorder): Likewise.
293 (s_change_sec): Likewise.
294 (s_change_section): Likewise.
295 (insns_between): Add 24k errata checks.
296 (append_insn): Remove declaration and references to nhdx_24k.
297 Remove calls to check_for_24k_errata.
298
f12e7348
NC
2992009-05-26 Nick Clifton <nickc@redhat.com>
300
301 * po/id.po: Updated Indonesian translation.
302 * po/gas.pot: Updated template file.
303
f8f003f1
NC
3042009-05-26 Nick Clifton <nickc@redhat.com>
305
306 PR 10143
307 * config/bfin-parse.y (error): Use "%s" as format string for error
308 message.
309
5de4cd13
AM
3102009-05-26 Alan Modra <amodra@bigpond.net.au>
311
312 * dep-in.sed: Output one filename per line with all lines having
313 continuation backslash. Prefix first line with "A", following
314 lines with "B".
315 * Makefile.am (DEP): Don't use dep.sed here.
316 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
317 sort and uniq.
318 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
319 Emit multi dependencies on one line.
320 * Makefile.in: Regenerate.
321
295fa3cf 3222009-05-25 Tristan Gingold <gingold@adacore.com>
cb0e7c25
TG
323
324 * makefile.vms: New file to compile gas on VMS.
325
326 * configure.com: New file to do configuration on VMS with DCL.
327
65b02341
RS
3282009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
329
330 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
331 (nops_for_insn): Likewise.
332
ad04f5ce
L
3332009-05-22 H.J. Lu <hongjiu.lu@intel.com>
334
335 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
336
c1e679ec
DR
3372009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
338
339 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
340 (build_modrm_byte): Remove DREX handling support.
341 (DREX_*): Delete.
342 (drex_byte): Delete.
343 (md_assemble): Remove DREX handling support.
344 (process_operands): Remove DREX, SSE5 support.
345 (i386_insn): Remove DREX.
346
2b3decb5
AM
3472009-05-22 Alan Modra <amodra@bigpond.net.au>
348
349 * Makefile.am: Run "make dep-am".
350 * Makefile.in: Regenerate.
351
321098a5
L
3522009-05-20 Kai Tietz <kai.tietz@onevision.com>
353 H.J. Lu <hongjiu.lu@intel.com>
354
355 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
356 (TARGET_FORMAT): Removed for x86 pe-coff.
357 (COFF_TARGET_FORMAT): Likewise.
358
359 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
360 (md_parse_option): Likewise.
361 (md_show_usage): Show option --32/--64 for x86 pe-coff.
362 (i386_target_format): Use also for x86 pe-coff.
363
364 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
365 for x86 pe-coff.
366
b899d332
DD
3672009-05-19 DJ Delorie <dj@redhat.com>
368
369 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
370 (mep_process_saved_insns): Remove debugging printfs.
371
c1711530
DK
3722009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
373
374 * NEWS: Mention new feature.
375 * config/obj-coff.c (obj_coff_common_parse): New function.
376 (obj_coff_comm): Likewise.
377 (coff_pseudo_table): Override default ".comm" definition on PE.
378 * doc/as.texinfo: Document new feature.
379
63ad59ae
KT
3802009-05-17 Kai Tietz <kai.tietz@onevision.com>
381
321098a5
L
382 * config/obj-coff.c (obj_coff_section): Add 'y' as
383 specifier for SEC_COFF_NOREAD section flag.
63ad59ae
KT
384 * doc/as.texinfo: Add documentation about .section flag 'y'.
385
77ca1325
DD
3862009-05-13 DJ Delorie <dj@redhat.com>
387
388 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
389
42a68e18
AJ
3902009-05-13 Andrew Jenner <andrew@codesourcery.com>
391
392 * config/tc-arm.c: Move as.h to start of file.
393
267bf995
RR
3942009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
395
84df6011 396 * config/tc-arm.h: Fix typo in comment.
267bf995
RR
397 (ARM_IS_FUNC): New macro.
398 (MD_APPLY_SYM_VALUE): Define.
399
84df6011 400 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
267bf995
RR
401 all versions of EABI.
402 (relax_branch): Do not relax for branches to ARM functions.
403 (md_pcrel_from_section): Set up base correctly for
404 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
405 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
406 BFD_RELOC_ARM_PCREL_CALL.
407 (md_apply_fix): Flip bl to blx where possible.
408 Flip blx to bl where possible.
409 (arm_force_relocation): Force relocations for
410 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
411 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
412 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
413 BFD_RELOC_THUMB_PCREL_BRANCH25.
414 (arm_apply_sym_value): New function.
415
eb979bfb
TG
4162009-05-04 Tristan Gingold <gingold@adacore.com>
417
418 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
419
45eb4c1b
NS
4202009-05-01 Nathan Sidwell <nathan@codesourcery.com>
421
422 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
423 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
424 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
425 the default FPU from the processor.
426
00adf2d4
JB
4272009-05-01 Julian Brown <julian@codesourcery.com>
428
429 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
430 (md_pcrel_from_section): Align address for BLX.
431 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
432 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
433
3526b680
DD
4342009-04-29 DJ Delorie <dj@redhat.com>
435
436 * config/tc-mep.c (md_begin): Check coprocessor type.
437 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
438 (md_check_parallel32_scheduling): Likewise.
439 (slot_ok): New.
440 (mep_check_ivc2_scheduling): New.
441 (mep_check_parallel_scheduling): Call it.
442 (mep_process_saved_insns): Add IVC2 slot support.
443 (md_assemble): Likewise.
444
d8045f23
NC
4452009-04-30 Nick Clifton <nickc@redhat.com>
446
447 * config/obj-elf.c (obj_elf_type): Add support for a
448 gnu_indirect_function type.
449 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
450 against indirect function symbols.
451 * doc/as.texinfo (.type): Document the support for the
452 gnu_indirect_function symbol type.
453 * NEWS: Mention the new feature.
454
92846e72
CC
4552009-04-24 Cary Coutant <ccoutant@google.com>
456
457 * NEWS: Add item about discriminator support.
458 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
459 * dwarf2dbg.c (current): Add discriminator field.
460 (dwarf2_where): Copy discriminator value.
461 (dwarf2_consume_line_info): Set discriminator to 0.
462 (dwarf2_directive_loc): Process discriminator sub-op.
463 (out_leb128): New function.
464 (process_entries): Output DW_LNE_set_discriminator.
465 * doc/as.texinfo: Add discriminator operand to .loc directive.
92846e72 466
520725ea
NS
4672009-04-22 Nathan Sidwell <nathan@codesourcery.com>
468
469 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
470 as_bad calls to silence compiler warning.
471
7ac3eb25
L
4722009-04-21 H.J. Lu <hongjiu.lu@intel.com>
473
474 * config/tc-i386-intel.c (O_XXX): Reorder.
475
ee86248c
JB
4762009-04-20 Jan Beulich <jbeulich@novell.com>
477
478 * Makefile.am: Add explicit dependency of tc-i386.o on
479 tc-i386-intel.c.
480 * Makefile.in: Likewise.
481 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
482 out from i386_immediate.
483 (i386_immediate): Slightly re-arrange, call
484 i386_finalize_immediate.
485 (i386_finalize_displacement): Declare, broken out from
486 i386_displacement.
487 (i386_displacement): Slightly re-arrange, call
488 i386_finalize_displacement.
489 (i386_intel_simplify, i386_intel_parse_name): Declare.
490 (this_operand): Initialize to -1.
491 (set_intel_syntax): Set expression rank for O_full_ptr.
492 (md_assemble): Set this_operand back to -1 after parsing
493 operands.
494 (x86_cons): Negate intel_syntax to indicate state. Call
495 i386_intel_simplify.
496 (md_operand): Convert if to switch. Handle '[' for Intel
497 syntax.
498 (i386_intel_operand): Delete, including all helper functions
499 and data.
500 * config/tc-i386-intel.c: New file, all new code.
501 * config/tc-i386.h (i386_operator): Declare.
502 (md_operator): Define to i386_operator.
503 (i386_need_index_operator): Declare.
504 (md_need_index_operator): Define to i386_need_index_operator.
505 (O_full_ptr): Define.
506
fcaed75e
JB
5072009-04-20 Jan Beulich <jbeulich@novell.com>
508
509 * expr.c (operand): Call md_need_index_operator() and
510 md_operator() if defined. Add unary label.
511 (operator): Call md_operator() if defined.
512 (expr): Adjust assertions on range and rank of op_left and
513 op_right. Don't abort on unhandled operators when reducing
514 expressions with both operands being constant.
515 (expr_set_rank): New.
516 * expr.h (expr_set_rank): Declare.
517
51a5d0aa 5182009-04-15 Anthony Green <green@moxielogic.com>
20135e4c
NC
519
520 * config/tc-moxie.h: New file.
521 * config/tc-moxie.c: New file.
522 * configure: Add support for moxie.
523 * configure.tgt: Add support for moxie.
524
d85733c8
JB
5252009-04-16 Jan Beulich <jbeulich@novell.com>
526
527 * expr.c: Include limits.h if available, and #define CHAR_BITS
528 otherwise.
529 (expr): Check range of shift count when evaluating a constant
530 expression.
531
d8a1b51e
JB
5322009-04-15 Jan Beulich <jbeulich@novell.com>
533
534 * config/tc-i386.c (process_operands): Print operands in
535 correct order depending on intel_syntax.
536
6a32d874
CM
5372009-04-09 Catherine Moore <clm@codesourcery.com>
538
539 * config/tc-mips.c (mips_fix_24k): Declare.
540 (check_for_24k_errata): New.
541 (mips_cleanup): Call check_for_24k_errata.
542 (start_noreorder): Likewise.
543 (md_mips_end): Likewise.
544 (s_change_sec): Likewise.
545 (s_change_section): Likewise.
546 (append_insn): Call check_for_24k_errata. Prevent
547 ERET/DERET instructions from being moved into delay
548 slots.
549 (OPTION_FIX_24K): New.
550 (OPTION_NO_FIX_24k) New.
551 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
552 (md_parse_option): Handle fix-24k options.
553 (md_show_usage): Display fix-24k options.
554 * doc/c-mips.texi: Document.
6a32d874 555
6b6b3450
AN
5562009-04-09 Adam Nemet <anemet@caviumnetworks.com>
557
558 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
559 instead of HAVE_64BIT_SYMBOLS.
560
4d28413b
DD
5612009-04-07 DJ Delorie <dj@redhat.com>
562
563 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
564 (md_show_usage): Change default endian to little.
565 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
566
bcb012d3
DD
5672009-04-06 DJ Delorie <dj@redhat.com>
568
569 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
570 immediates.
571 (build_bytes): Pass insn to do_a_fix_imm.
572
5b19eaba
NC
5732009-04-02 Daniel Gutson <dgutson@codesourcery.com>
574
575 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
576 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
577 Cortex-M1.
578
745435b6
MT
5792009-04-01 Matt Thomas <matt@netbsd.org>
580
581 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
582 (md_assemble): emit symbol name when used as immediate in PIC mode.
583 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
584
1ec520b7
SA
5852009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
586
587 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
588
4343666d
RR
5892009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
590
591 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
592 (find_real_start): Likewise.
593 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
594
e7495e45
NS
5952009-04-01 Nathan Sidwell <nathan@codesourcery.com>
596
597 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
598 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
599 whenever possible.
600
42240548
PB
6012009-03-31 Peter Bergner <bergner@vnet.ibm.com>
602
603 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
604
adfd7328
DK
6052009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
606
607 * doc/internals.texi: Fix trivial syntax errors.
608
0cc9e1d3
AM
6092009-03-26 Alan Modra <amodra@bigpond.net.au>
610
611 PR 10005
612 * config/tc-i386.c (reloc): Don't abort on lack of required
613 reloc type.
614
41aacd83
L
6152009-03-25 H.J. Lu <hongjiu.lu@intel.com>
616
617 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
618 arch.
619
d67ffd56
L
6202009-03-23 H.J. Lu <hongjiu.lu@intel.com>
621
622 PR gas/9966
623 * listing.c (listing_newline): Properly handle `\\"' and ';'.
624
625 * read.c (is_end_of_line): Update comments for line separator.
626 (read_begin): Set line separator in is_end_of_line to 2.
627
b7cac25f
DM
6282009-03-19 David S. Miller <davem@davemloft.net>
629
630 * config/tc-sparc.c (md_parse_option): If the user gives
631 us '--64' make sure max_architecture is at least V9.
632
42e5fcbf
AS
6332009-03-18 Andrew Stubbs <ams@codesourcery.com>
634
635 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
636 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
637 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
638
8d25cc3d
AM
6392009-03-18 Alan Modra <amodra@bigpond.net.au>
640
641 * as.h: Include alloca-conf.h instead of config.h and remove
642 existing #if's handling alloca.
643 * Makefile.am: Run "make dep-am".
644 * Makefile.in: Regenerate.
645
8602d4fe
RS
6462009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
647
648 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
649 C_AIX_WEAKEXT too.
650
9f0eb232
RS
6512009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
652
653 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
654 "value" from fx_offset. Manually resubtract md_pcrel_from_section
655 where necessary.
656
e5231592
RS
6572009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
658
659 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
660 * configure.in: Likewise.
661 * configure: Regenerate.
662
a07dbd48
HPN
6632009-03-11 Hans-Peter Nilsson <hp@axis.com>
664
665 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
666 Rename, changing all callers, to...
667 (md_create_short_jump): Adjust head comment. Assert
668 word-sized-branch distance for v32. Bail out calling as_fatal for
669 compatibility mode here.
670 (md_create_long_jump): ...not here.
671 * config/tc-cris.h (md_create_short_jump): Do not define.
672
187af7df
HPN
6732009-03-10 Hans-Peter Nilsson <hp@axis.com>
674
675 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
676 the jump table for multiple overflowing entries with the same
677 target, handle base symbols being different.
678 (relax_segment) <case rs_broken_word, second loop>: Whenever a
679 single entry overflows, arrange to redirect all entries with the
680 same target.
681
69fe9ce5
AM
6822009-03-10 Alan Modra <amodra@bigpond.net.au>
683
684 * config/tc-ppc.c (parse_cpu): Delete.
685 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
686
f378cd83
L
6872009-03-09 H.J. Lu <hongjiu.lu@intel.com>
688
689 PR gas/9915
690 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
691 (LOCAL_LABELS_FB): Undefine befoe define.
692
d11fd249
NC
6932009-03-06 Nick Clifton <nickc@redhat.com>
694
695 * po/es.po: Updated Spanish translation.
696
cc3f603a
JM
6972009-03-05 Joseph Myers <joseph@codesourcery.com>
698
699 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
700 s_incbin): Call md_cons_align (1).
701
d9319cec
NC
7022009-03-04 Nick Clifton <nickc@redhat.com>
703
704 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
705 based targets.
706 (s_alpha_comm): Only define "temp" and "log_align" local variables
707 for EVAX targets.
708
727fc41e
AM
7092009-03-04 Alan Modra <amodra@bigpond.net.au>
710
711 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
712 have non-zero addend.
713 (md_assemble): Parse args of __tls_get_addr calls.
714 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
715
1c5c6c13
DA
7162009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
717
718 binutils/3807
719 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
720 local scope for ELF targets.
721
ed84b57b
AM
7222009-03-04 Alan Modra <amodra@bigpond.net.au>
723
724 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
725
198f1251
TG
7262009-03-03 Tristan Gingold <gingold@adacore.com>
727 Eric Botcazou <ebotcazou@adacore.com>
728 Douglas B Rupp <rupp@gnat.com>
729
730 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
731 for Alpha.
732 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
733 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
734 (OBJ_SYMFIELD_TYPE): Remove.
735 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
736 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
737 (tc_frob_file_before_fix): Do not defined on evax.
738 * config/tc-alpha.c: Always includes dwarf2dbg.h.
739 Include vms.h if OBJ_EVAX.
740 (struct alpha_fixup): Add xtrasym and procsym (evax only).
741 (enum alpha_macro_arg): Remove trailing comma.
742 (md_longopts): Add replace and noreplace arguments (evax only).
743 (alpha_evax_proc_hash): New variable.
744 (alpha_link_section): Make it global.
745 (alpha_ctors_section, alpha_dtors_section): Removed.
746 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
747 (alpha_lit8_section): Ifndef'ed on evax.
748 (alpha_lit8_symbol): Ditto.
749 (alpha_prologue_label): New variable.
750 (alpha_linkage_symbol): New variable (evax only).
751 (alpha_flag_replace): Ditto.
752 (struct alpha_evax_procs): Add handler and handler_data field.
753 (alpha_evax_proc): Now of type pointer.
754 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
755 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
756 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
757 (alpha_adjust_relocs): Ifndef'ed on evax.
758 (load_expression): Add opname argument.
759 Implement LDA/BSR optimization for evax.
760 (emit_lda): Adjust for new prototype of load_expression.
761 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
762 (emit_loadstore): Likewise.
763 (emit_ldXu): Likewise.
764 (emit_stX): Likewise.
765 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
766 (emit_ldgp): Avoid warning in evax case.
767 (add_to_link_pool): Make it static. Return symbolic expression rather
768 than number expression for the offset.
769 (s_alpha_text): Create .text symbol for evax if not already created.
770 (s_alpha_comm): Do not create specific section for common symbol.
771 Fill common area with zeros for evax.
772 (s_alpha_prologue): Create alpha_prologue_label.
773 (s_alpha_section_name): New function (evax).
774 (s_alpha_section_word): Likewise.
775 (section_name): New static variabke moved out from ...
776 (s_alpha_section): ... here. Create new sections on demand.
777 (s_alpha_literals): New function (evax).
778 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
779 alpha_evax_proc_hash table.
780 (s_alpha_handler): New function (evax).
781 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
782 (s_alpha_prologue): New function (evax).
783 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
784 handling of procedures with hash table.
785 Add support for condition handlers.
786 (s_alpha_linkage): Create linkage_fixup instance and chain it.
787 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
788 (s_alpha_mask): Likewise.
789 (s_alpha_fmask): Likewise.
790 (s_alpha_end): Clear alpha_evax_proc.
791 (s_alpha_align): Increase max_alignment to 16.
792 (alpha_print_token): Call print_expr_1 instead of print_expr.
ed84b57b 793 (md_pseudo_table): Add "section", "literals", "handler" and
198f1251
TG
794 "handler_data" (evax). Do not ignore "prologue" on evax.
795 Fix indentation.
796 (md_begin): Create hash table for alpha_evax_proc_hash.
797 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
798 (md_show_usage): Mention -replace/-noreplace for evax.
799 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
800 (alpha_force_relocation): Likewise.
801 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
802 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
803 (emit_insn): New cases for evax specific relocs.
804 (assemble_insn): Fix indentation.
805 Take care of -MDISP in operand table.
806 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
807 (OBJ_SYMFIELD_TYPE): New macro.
808 (obj_symbol_new_hook): Define.
809 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
810 (obj_frob_file_before_fix): Ditto.
811 (PDSC_S_M_HANDLER_VALID): New macro.
812 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
813 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
814 Add prototypes for functions declared in obj-evax.c
815 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
816 (s_evax_weak): Convert to ansi-C.
817 (evax_symbol_new_hook): New function.
818 (evax_frob_symbol): Ditto.
819 (evax_frob_file_before_adjust): Ditto.
820 (evax_frob_file_before_fix): Ditto.
821 (evax_shorten_name): Ditto.
822 (crc32): Ditto.
823 (encode_32): Ditto.
824 (encode_16): Ditto.
825 (decode_16): Ditto.
826 (shorten_identifier): Ditto.
827 (is_truncated_identifier): Ditto.
828 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
829 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
830 (main): Ditto.
831
a1f7ca36
AM
8322009-03-03 Alan Modra <amodra@bigpond.net.au>
833
834 * Makefile.am: Run "make dep-am".
835 * Makefile.in: Regenerate.
836
83cf10fd
NC
8372009-03-02 Nick Clifton <nickc@redhat.com>
838
839 PR 9874
840 * config/tc-ia64.c (fix_insn): Fix warning reported by
841 -Wformat-security.
842
c3b7224a
NC
8432009-03-02 Qinwei <qinwei@sunnorth.com.cn>
844
845 * config/tc-score7.c: New file.
846 * doc/c-score.texi: New file.
847 * Makefile.am: Update dependencies for tc-score.c.
848 * Makefile.in: Regenerate.
849 * NEWS: Mention support for Score7 architecture.
850 * config/tc-score.c: Add support for Score7 architecture.
851 * config/tc-score.h: Likewise.
852 * doc/Makefile.am: Add c-score.texi.
853 * doc/Makefile.in: Regenerate.
854 * doc/all.texi: Add Score7.
855 * doc/as.texinfo: Add Score7.
856
04e2c417
MM
8572009-03-01 Mark Mitchell <mark@codesourcery.com>
858
859 * config/tc-arm.c (md_assemble): Allow barrier instructions on
860 ARMv6-M cores.
861
58e24671
RW
8622009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
863
864 * configure: Regenerate.
865
066be9f7
PB
8662009-02-26 Peter Bergner <bergner@vnet.ibm.com>
867
868 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
869 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
870 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
871
784788d2
L
8722009-02-25 H.J. Lu <hongjiu.lu@intel.com>
873
874 * config/tc-i386.c (fits_in_imm4): Removed.
875
91c2f09e
DA
8762009-02-24 Helge Deller <deller@gmx.de>
877
dfaf9df8 878 * config/tc-hppa.c (pa_ip): Add check of immediate values.
91c2f09e
DA
879 (SAVE_IMMEDIATE): New define.
880
94206790
MM
8812009-02-23 Mark Mitchell <mark@codesourcery.com>
882
883 * config/tc-arm.c (warn_deprecated_sp): New macro.
884 (do_t_mov_cmp): Permit R13 as the second
885 argument to "cmp.n".
886
0349dc08
L
8872009-02-23 H.J. Lu <hongjiu.lu@intel.com>
888
889 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
890 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
891
c1b80a2a
L
8922009-02-23 H.J. Lu <hongjiu.lu@intel.com>
893
894 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
895
4c664d7b
L
8962009-02-23 H.J. Lu <hongjiu.lu@intel.com>
897
898 * config/tc-i386.c (vex_imm4): Removed.
899 (VEX_check_operands): Likewise.
900 (match_template): Updated.
901
11c19e16
MS
9022009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
903
904 * doc/all.texi: Set S390.
905 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
906 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
907 * doc/Makefile.in: Likewise.
908 * doc/c-s390.texi: New.
909
87298967
NS
9102009-02-12 Nathan Sidwell <nathan@codesourcery.com>
911
912 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
913 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
914 (mcf5307_ctrl): Add VBR.
915 (no_mac): New variable.
916 (m68k_extensions): Refer to no_mac mask.
917 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
918 52252..52259, 53011..53017.
919 (m68k_ip): Process CPUCR.
920 (init_table): Add cpucr entry.
921 (m68k_set_extension): Allow negated mask to refer to a variable.
922 (md_show_usage): Use '%s' to silence fprintf warning.
923 * config/m68k-parse.h (CPUCR): New control register.
924
ee2c9aa9
NS
9252009-02-10 Nathan Sidwell <nathan@codesourcery.com>
926
927 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
928 as_bad calls to silence compiler warning.
929
8dc2430f
NC
9302009-02-06 Nick Clifton <nickc@redhat.com>
931
932 PR 9814
933 * config/tc-arm.c (MODE_RECORDED): New define.
934 (output_inst): Record the thumb_mode in the current frag.
935 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
936 (arm_init_frag): Only set the tc_frag_data field if it has not
937 already been set.
938
ce2f5b3c
L
9392009-02-04 H.J. Lu <hongjiu.lu@intel.com>
940
941 AVX Programming Reference (January, 2009)
942 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
943 (CPU_FLAGS_AVX_MATCH): Updated.
944 (CPU_FLAGS_32BIT_MATCH): Likewise.
945 (cpu_flags_match): Likewise.
946
52b6b6b9
JM
9472009-02-03 Sandip Matte <sandip@rmicorp.com>
948
949 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
950 M_MSGWAIT and M_MSGWAIT_T.
951 (mips_cpu_info_table): Add XLR entry.
952 * doc/c-mips.texi (-march): Document xlr.
953
e94345ae 9542009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
a53fddce
EW
955
956 * config/tc-avr.c (mcu_types): Add ata6289.
957 * doc/c-avr.texi: Likewise.
958
31dd3154
JM
9592009-02-03 Carlos O'Donell <carlos@codesourcery.com>
960
961 * configure.in: AC_SUBST pdfdir.
962 * Makefile.am: Add install-pdf, install-pdf-am,
963 and install-pdf-recursive targets.
964 * doc/Makefile.am: Define pdf__strip_dir. Add
965 install-pdf and install-pdf-am targets.
966 * po/Make-in: Add install-pdf target.
967 * configure: Regenerate.
968 * Makefile.in: Regenerate.
969 * doc/Makefile.in: Regenerate.
970
cf869cce
NC
9712009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
972
973 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
974 relocations.
975 * config/m68k-parse.y (yylex): Parse TLS relocations.
976 * config/tc-m68k.c (m68k_elf_cons): New static function.
977 (md_pseudo_table): Use it.
978 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
979 relocations.
980 (md_apply_fix): Fix to set thread local flag.
981 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
982
bb0a86e1
NC
9832009-02-03 Vince Weaver <vince@csl.cornell.edu>
984
985 PR 9779
986 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
987 indexed addressing for symbolic expressions.
988
fdfde340
JM
9892009-01-29 Mark Mitchell <mark@codesourcery.com>
990
991 * config/tc-arm.c (BAD_SP): Define.
992 (s_arm_unwind_fnstart): Use REG_SP.
993 (s_arm_unwind_setfp): Likewise.
994 (reject_bad_reg): New macro.
995 (do_co_reg): Check for bad registers.
996 (do_co_reg2c): Likewise.
997 (do_srs): Use REG_SP.
998 (do_t_add_sub): Check for bad registers.
999 (do_t_adr): Likewise.
1000 (do_t_arit3): Likewise.
1001 (do_t_arit3c): Likewise.
1002 (do_t_bfc): Likewise.
1003 (do_t_bfi): Likewise.
1004 (do_t_bfx): Likewise.
1005 (do_t_blx): Likewise.
1006 (do_t_bx): Likewise.
1007 (do_t_bxj): Likewise.
1008 (do_t_clz): Likewise.
1009 (do_t_div): Likewise.
1010 (do_t_mla): Likewise.
1011 (do_t_mlal): Likewise.
1012 (do_t_mov_cmp): Likewise.
1013 (do_t_mov16): Likewise.
1014 (do_t_mvn_tst): Likewise.
1015 (do_t_mrs): Likewise.
1016 (do_t_msr): Likewise.
1017 (do_t_mul): Likewise.
1018 (do_t_mull): Likewise.
1019 (do_t_orn): Likewise.
1020 (do_t_pkhbt): Likewise.
1021 (do_t_pld): Likewise.
1022 (do_t_rbit): Likewise.
1023 (do_t_rev): Likewise.
1024 (do_t_rrx): Likewise.
1025 (do_t_rsb): Likewise.
1026 (do_t_shift): Likewise.
1027 (do_t_simd): Likewise.
1028 (do_t_ssat): Likewise.
1029 (do_t_ssat16): Likewise.
1030 (do_t_sxtah): Likewise.
1031 (do_t_sxth): Likewise.
1032 (do_t_tb): Likewise.
1033 (do_t_usat): Likewise.
1034 (do_t_usat16): Likewise.
1035 (nysn_insert_sp): Use REG_SP.
1036
1c444d06
JM
10372009-01-29 Mark Mitchell <mark@codesourcery.com>
1038
1039 * config/tc-arm.c (do_t_orn): New function.
1040 (do_t_rrx): Likewise.
1041 (insns): Add orn and rrx.
1042
4f80ef3e
JM
10432009-01-29 Mark Mitchell <mark@codesourcery.com>
1044
1045 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
ed84b57b 1046 uasx, uhasx, uhsx, uqasx, uqsax, usax.
4f80ef3e 1047
087b80de
JM
10482009-01-29 Mark Mitchell <mark@codesourcery.com>
1049
1050 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
1051 qdsub in Thumb-2 mode.
1052
17828f45 10532009-01-29 Paul Brook <paul@codesourcery.com>
321098a5 1054 Mark Mitchell <mark@codesourcery.com>
17828f45
JM
1055
1056 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
1057 of MUL when possible.
1058
ec0c103c
NC
10592009-01-29 Nick Clifton <nickc@redhat.com>
1060
1061 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
1062
4a6bc624
NS
10632009-01-29 Nathan Sidwell <nathan@codesourcery.com>
1064 Catherine Moore <clm@codesourcery.com?
1065
1066 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
1067 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
1068 directives.
1069
23fce1e3
NC
10702009-01-27 Nick Clifton <nickc@redhat.com>
1071
1072 * config/tc-mips.c (append_insn): Cope with a complex reloc
1073 sequence containing an unsupported reloc type.
1074 (enum options): Replace computed #define's constants for option
1075 numbers with this enum.
1076 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
1077 environment.
1078 (md_parse_option): Allow -32 in a non-ELF environment.
1079
ee3c0378
AS
10802009-01-26 Andrew Stubbs <ams@codesourcery.com>
1081
1082 * config/tc-arm.c (attributes_set_explicitly): New array.
1083 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
1084 (cpu_arch): Add ARM_ARCH_V5T.
1085 (aeabi_set_attribute_int): New function.
1086 (aeabi_set_attribute_string): New function.
1087 (aeabi_set_public_attributes): Set attributes according to the user's
1088 intentions, rather than the actual state of the binary.
1089 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
1090 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
1091 Support WMMXv2. Use attribute names instead of numbers.
1092 * read.c (s_vendor_attribute): Change return type to int.
1093 Return the tag number that was set.
1094 * read.h (s_vendor_attribute): Change return type to int.
1095
17f4880d
EW
10962009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
1097
1098 PR 9789
1099 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
1100 * doc/c-avr.texi: Likewise.
1101
278df34e
NS
11022009-01-23 Nathan Sidwell <nathan@codesourcery.com>
1103
1104 * doc/c-arm.texi (): Document -mwarn-deprecated.
1105 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
1106 (warn_on_deprecated): ... this.
1107 (opcode_lookup, md_assemble): Check it before warning.
1108 (arm_opts): Add m[no-]warn-deprecated.
1109 (md_parse_option): Replace WARN_DEPRECATED with
1110 warn_on_deprecated.
1111
199114c2
AS
11122009-01-23 Andreas Schwab <schwab@suse.de>
1113
750bdd57
AS
1114 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
1115 arguments to macro_build to match format.
1116
199114c2
AS
1117 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
1118 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
1119
d3bf77be
NC
11202009-01-19 Nick Clifton <nickc@redhat.com>
1121
1122 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
1123 ELF format ARM targets.
1124 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
1125
11262009-01-19 Nick Clifton <nickc@redhat.com>
1127
1128 * configure.tgt: Restore alpha sorting to object format switch
1129 statement.
1130
2d0bb761
AS
11312009-01-19 Andrew Stubbs <ams@codesourcery.com>
1132
1133 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
1134
3493e7b0
JM
11352009-01-16 Mark Shinwell <shinwell@codesourcery.com>
1136
1137 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
1138 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
1139
e04befd0
AS
11402009-01-16 Andrew Stubbs <ams@codesourcery.com>
1141 Daniel Jacobowitz <dan@codesourcery.com>
1142
1143 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
1144 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
1145 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
1146 * read.c (s_vendor_attribute): Add support for symbolic tag names.
1147 Improve string parser.
1148 * doc/c-arm.texi (ARM Machine Directives): Document
1149 .eabi_attribute symbolic tag names.
1150
29670fb9
AM
11512009-01-16 Alan Modra <amodra@bigpond.net.au>
1152
1153 * configure.in (commonbfdlib): Delete.
1154 * configure: Regenerate.
1155 * po/POTFILES.in: Regenerate.
1156
91e22acd
AS
11572009-01-15 Andrew Stubbs <ams@codesourcery.com>
1158 Julian Brown <julian@codesourcery.com>
1159
1160 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
1161
7b86a9fa
AS
11622009-01-15 Andrew Stubbs <ams@codesourcery.com>
1163
1164 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
1165 bfd_elf_add_obj_attr_int_string.
1166
01e1a5bc
NC
11672009-01-15 Douglas B Rupp <rupp@gnat.com>
1168
1169 * configure.tgt(ia64-*-*vms*): New target.
1170 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
1171 * tc.h (md_number_to_chars): Declare iff undefined.
1172 * config/obj-elf.c (obj_elf_change_section): Change type of arg
1173 attr to bfd_vma.
1174 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
1175 variables attr, md_attr to bfd_vma.
1176 (obj_elf_section_word): Likewise.
1177 (obj_elf_section): Change type of variable attr to bfd_vma
1178 * config/obj-elf.h (obj_elf_change_section): Change type of arg
1179 attr to bfd_vma.
1180 * config/tc-ia64.c (bfdver.h,time.h): Include.
1181 (ia64_elf_section_letter): Now returns a bfd_vma.
1182 Handle VMS specific attributes.
1183 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1184 (ia64_init): Don't turn on dependency checking for VMS.
1185 (ia64_target_format): Check for VMS flag bit.
1186 (do_alias): Hande decc$ functions.
1187 (get_vms_time): New function.
1188 (ia64_vms_note): New function.
1189 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
1190 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1191 (tc_init_after_args): Define for VMS.
1192 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
1193 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
1194 * config/tc-alpha.h: Likewise.
1195 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
1196 (x86_64_section_word): Return a bfd_vma.
1197 * config/tc-i386.h: Likewise.
1198 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
1199 attr to bfd_vma.
1200 * config/tc-ip2k.h: Likewise.
1201 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
1202 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
1203 * config/tc-mep.h: Likewise.
1204 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
1205 (ppc_section_word): Return a bfd_vma.
1206 (ppc_section_flags): Change type of arg attr to bfd_vma.
1207 * config/tc-ppc.h: Likewise.
1208 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
1209 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
750bdd57
AS
1210 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
1211 New file with new macros
1212 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1213 macros.
01e1a5bc 1214
bc2d1808
NC
12152009-01-15 Nick Clifton <nickc@redhat.com>
1216
1217 PR 9722
1218 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1219 instructions before generating a Thumb2 nop.
1220
7b6598a4 12212009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750bdd57 1222
7b6598a4
AK
1223 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1224
cd4a7468
AM
12252009-01-12 Alan Modra <amodra@bigpond.net.au>
1226
1227 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1228 (brinfo): New var.
1229 (md_assemble): Poke brinfo into branch instructions.
1230 (spu_brinfo): New function.
1231 (md_apply_fix): Don't assume insn fields start off at zero, mask
1232 them to remove possible brinfo.
1233
1543849b
L
12342009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 * doc/c-i386.texi: Reformat.
1237
bd5295b2
L
12382009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1239
dfaf9df8 1240 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
bd5295b2
L
1241 .syscall.
1242 (i386_align_code): Handle PROCESSOR_COREI7.
1243 (md_show_usage): Add corei7, clflush and syscall.
1244 (i386_target_format): Replace cpup4 with cpuclflush.
1245
dfaf9df8 1246 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
bd5295b2
L
1247
1248 * doc/c-i386.texi: Document corei7, clflush and syscall.
1249
1b7f3fb0
L
12502009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1251
1252 * config/tc-i386.c (cpu_arch): Add .rdtscp.
1253 (md_show_usage): Display rdtscp.
1254
1255 * doc/c-i386.texi: Document rdtscp.
1256
1cb0a767
PB
12572009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1258
1259 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1260 Test the new "deprecated" opcode field.
1261
19fc3723
SA
12622009-01-07 Sterling Augustine <sterling@tensilica.com>
1263
1264 * config/tc-xtensa.c (produce_flix): New.
1265 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1266 (md_longopts): Add support for them.
1267 (md_parse_option): Likewise.
1268 (md_show_usage): Add help message.
1269 (finish_vinsn): Don't allow multi-slot flix when produce_flix
1270 option is set to FLIX_NONE.
1271 * config/xtensa-relax.c (transition_applies): Only relax to
1272 flix branches when produce_flix equals FLIX_ALL.
1273 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1274 FLIX_NONE): New.
1275 (produce_flix): Declare.
1276
24864476
CF
12772009-01-06 Chao-ying Fu <fu@mips.com>
1278
1279 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1280 Use strncmp to match jalr and jalr.hb.
1281 Fix a typo.
1282
0bfee649 12832009-01-05 H.J. Lu <hongjiu.lu@intel.com>
d62f07d0 1284
0bfee649
L
1285 AVX Programming Reference (December, 2008)
1286 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1287 support. Don't swap REG and NDS for FMA.
d62f07d0 1288
750bdd57 12892009-01-02 Matthias Klose <doko@ubuntu.com>
e7c604dd 1290
750bdd57
AS
1291 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1292 behaviour.
e7c604dd 1293
0bfee649 1294For older changes see ChangeLog-2008
08d56133
NC
1295\f
1296Local Variables:
1297mode: change-log
1298left-margin: 8
1299fill-column: 74
1300version-control: never
1301End:
This page took 0.429022 seconds and 4 git commands to generate.