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