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