2009-05-04 Michael Snyder <msnyder@vmware.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
267bf995
RR
12009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2
3 * config\tc-arm.h: Fix typo in comment.
4 (ARM_IS_FUNC): New macro.
5 (MD_APPLY_SYM_VALUE): Define.
6
7 * config\tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
8 all versions of EABI.
9 (relax_branch): Do not relax for branches to ARM functions.
10 (md_pcrel_from_section): Set up base correctly for
11 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
12 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
13 BFD_RELOC_ARM_PCREL_CALL.
14 (md_apply_fix): Flip bl to blx where possible.
15 Flip blx to bl where possible.
16 (arm_force_relocation): Force relocations for
17 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
18 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
19 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
20 BFD_RELOC_THUMB_PCREL_BRANCH25.
21 (arm_apply_sym_value): New function.
22
eb979bfb
TG
232009-05-04 Tristan Gingold <gingold@adacore.com>
24
25 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
26
45eb4c1b
NS
272009-05-01 Nathan Sidwell <nathan@codesourcery.com>
28
29 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
30 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
31 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
32 the default FPU from the processor.
33
00adf2d4
JB
342009-05-01 Julian Brown <julian@codesourcery.com>
35
36 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
37 (md_pcrel_from_section): Align address for BLX.
38 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
39 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
40
3526b680
DD
412009-04-29 DJ Delorie <dj@redhat.com>
42
43 * config/tc-mep.c (md_begin): Check coprocessor type.
44 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
45 (md_check_parallel32_scheduling): Likewise.
46 (slot_ok): New.
47 (mep_check_ivc2_scheduling): New.
48 (mep_check_parallel_scheduling): Call it.
49 (mep_process_saved_insns): Add IVC2 slot support.
50 (md_assemble): Likewise.
51
d8045f23
NC
522009-04-30 Nick Clifton <nickc@redhat.com>
53
54 * config/obj-elf.c (obj_elf_type): Add support for a
55 gnu_indirect_function type.
56 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
57 against indirect function symbols.
58 * doc/as.texinfo (.type): Document the support for the
59 gnu_indirect_function symbol type.
60 * NEWS: Mention the new feature.
61
92846e72
CC
622009-04-24 Cary Coutant <ccoutant@google.com>
63
64 * NEWS: Add item about discriminator support.
65 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
66 * dwarf2dbg.c (current): Add discriminator field.
67 (dwarf2_where): Copy discriminator value.
68 (dwarf2_consume_line_info): Set discriminator to 0.
69 (dwarf2_directive_loc): Process discriminator sub-op.
70 (out_leb128): New function.
71 (process_entries): Output DW_LNE_set_discriminator.
72 * doc/as.texinfo: Add discriminator operand to .loc directive.
73 * testsuite/gas/lns/lns-common-1.d: Add test for discriminator.
74 * testsuite/gas/lns/lns-common-1.s: Likewise.
75
520725ea
NS
762009-04-22 Nathan Sidwell <nathan@codesourcery.com>
77
78 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
79 as_bad calls to silence compiler warning.
80
7ac3eb25
L
812009-04-21 H.J. Lu <hongjiu.lu@intel.com>
82
83 * config/tc-i386-intel.c (O_XXX): Reorder.
84
ee86248c
JB
852009-04-20 Jan Beulich <jbeulich@novell.com>
86
87 * Makefile.am: Add explicit dependency of tc-i386.o on
88 tc-i386-intel.c.
89 * Makefile.in: Likewise.
90 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
91 out from i386_immediate.
92 (i386_immediate): Slightly re-arrange, call
93 i386_finalize_immediate.
94 (i386_finalize_displacement): Declare, broken out from
95 i386_displacement.
96 (i386_displacement): Slightly re-arrange, call
97 i386_finalize_displacement.
98 (i386_intel_simplify, i386_intel_parse_name): Declare.
99 (this_operand): Initialize to -1.
100 (set_intel_syntax): Set expression rank for O_full_ptr.
101 (md_assemble): Set this_operand back to -1 after parsing
102 operands.
103 (x86_cons): Negate intel_syntax to indicate state. Call
104 i386_intel_simplify.
105 (md_operand): Convert if to switch. Handle '[' for Intel
106 syntax.
107 (i386_intel_operand): Delete, including all helper functions
108 and data.
109 * config/tc-i386-intel.c: New file, all new code.
110 * config/tc-i386.h (i386_operator): Declare.
111 (md_operator): Define to i386_operator.
112 (i386_need_index_operator): Declare.
113 (md_need_index_operator): Define to i386_need_index_operator.
114 (O_full_ptr): Define.
115
fcaed75e
JB
1162009-04-20 Jan Beulich <jbeulich@novell.com>
117
118 * expr.c (operand): Call md_need_index_operator() and
119 md_operator() if defined. Add unary label.
120 (operator): Call md_operator() if defined.
121 (expr): Adjust assertions on range and rank of op_left and
122 op_right. Don't abort on unhandled operators when reducing
123 expressions with both operands being constant.
124 (expr_set_rank): New.
125 * expr.h (expr_set_rank): Declare.
126
20135e4c
NC
1272008-04-15 Anthony Green <green@moxielogic.com>
128
129 * config/tc-moxie.h: New file.
130 * config/tc-moxie.c: New file.
131 * configure: Add support for moxie.
132 * configure.tgt: Add support for moxie.
133
d85733c8
JB
1342009-04-16 Jan Beulich <jbeulich@novell.com>
135
136 * expr.c: Include limits.h if available, and #define CHAR_BITS
137 otherwise.
138 (expr): Check range of shift count when evaluating a constant
139 expression.
140
d8a1b51e
JB
1412009-04-15 Jan Beulich <jbeulich@novell.com>
142
143 * config/tc-i386.c (process_operands): Print operands in
144 correct order depending on intel_syntax.
145
6a32d874
CM
1462009-04-09 Catherine Moore <clm@codesourcery.com>
147
148 * config/tc-mips.c (mips_fix_24k): Declare.
149 (check_for_24k_errata): New.
150 (mips_cleanup): Call check_for_24k_errata.
151 (start_noreorder): Likewise.
152 (md_mips_end): Likewise.
153 (s_change_sec): Likewise.
154 (s_change_section): Likewise.
155 (append_insn): Call check_for_24k_errata. Prevent
156 ERET/DERET instructions from being moved into delay
157 slots.
158 (OPTION_FIX_24K): New.
159 (OPTION_NO_FIX_24k) New.
160 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
161 (md_parse_option): Handle fix-24k options.
162 (md_show_usage): Display fix-24k options.
163 * doc/c-mips.texi: Document.
6a32d874 164
6b6b3450
AN
1652009-04-09 Adam Nemet <anemet@caviumnetworks.com>
166
167 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
168 instead of HAVE_64BIT_SYMBOLS.
169
4d28413b
DD
1702009-04-07 DJ Delorie <dj@redhat.com>
171
172 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
173 (md_show_usage): Change default endian to little.
174 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
175
bcb012d3
DD
1762009-04-06 DJ Delorie <dj@redhat.com>
177
178 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
179 immediates.
180 (build_bytes): Pass insn to do_a_fix_imm.
181
5b19eaba
NC
1822009-04-02 Daniel Gutson <dgutson@codesourcery.com>
183
184 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
185 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
186 Cortex-M1.
187
745435b6
MT
1882009-04-01 Matt Thomas <matt@netbsd.org>
189
190 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
191 (md_assemble): emit symbol name when used as immediate in PIC mode.
192 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
193
1ec520b7
SA
1942009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
195
196 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
197
4343666d
RR
1982009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
199
200 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
201 (find_real_start): Likewise.
202 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
203
e7495e45
NS
2042009-04-01 Nathan Sidwell <nathan@codesourcery.com>
205
206 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
207 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
208 whenever possible.
209
42240548
PB
2102009-03-31 Peter Bergner <bergner@vnet.ibm.com>
211
212 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
213
adfd7328
DK
2142009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
215
216 * doc/internals.texi: Fix trivial syntax errors.
217
0cc9e1d3
AM
2182009-03-26 Alan Modra <amodra@bigpond.net.au>
219
220 PR 10005
221 * config/tc-i386.c (reloc): Don't abort on lack of required
222 reloc type.
223
41aacd83
L
2242009-03-25 H.J. Lu <hongjiu.lu@intel.com>
225
226 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
227 arch.
228
d67ffd56
L
2292009-03-23 H.J. Lu <hongjiu.lu@intel.com>
230
231 PR gas/9966
232 * listing.c (listing_newline): Properly handle `\\"' and ';'.
233
234 * read.c (is_end_of_line): Update comments for line separator.
235 (read_begin): Set line separator in is_end_of_line to 2.
236
b7cac25f
DM
2372009-03-19 David S. Miller <davem@davemloft.net>
238
239 * config/tc-sparc.c (md_parse_option): If the user gives
240 us '--64' make sure max_architecture is at least V9.
241
42e5fcbf
AS
2422009-03-18 Andrew Stubbs <ams@codesourcery.com>
243
244 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
245 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
246 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
247
8d25cc3d
AM
2482009-03-18 Alan Modra <amodra@bigpond.net.au>
249
250 * as.h: Include alloca-conf.h instead of config.h and remove
251 existing #if's handling alloca.
252 * Makefile.am: Run "make dep-am".
253 * Makefile.in: Regenerate.
254
8602d4fe
RS
2552009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
256
257 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
258 C_AIX_WEAKEXT too.
259
9f0eb232
RS
2602009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
261
262 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
263 "value" from fx_offset. Manually resubtract md_pcrel_from_section
264 where necessary.
265
e5231592
RS
2662009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
267
268 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
269 * configure.in: Likewise.
270 * configure: Regenerate.
271
a07dbd48
HPN
2722009-03-11 Hans-Peter Nilsson <hp@axis.com>
273
274 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
275 Rename, changing all callers, to...
276 (md_create_short_jump): Adjust head comment. Assert
277 word-sized-branch distance for v32. Bail out calling as_fatal for
278 compatibility mode here.
279 (md_create_long_jump): ...not here.
280 * config/tc-cris.h (md_create_short_jump): Do not define.
281
187af7df
HPN
2822009-03-10 Hans-Peter Nilsson <hp@axis.com>
283
284 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
285 the jump table for multiple overflowing entries with the same
286 target, handle base symbols being different.
287 (relax_segment) <case rs_broken_word, second loop>: Whenever a
288 single entry overflows, arrange to redirect all entries with the
289 same target.
290
69fe9ce5
AM
2912009-03-10 Alan Modra <amodra@bigpond.net.au>
292
293 * config/tc-ppc.c (parse_cpu): Delete.
294 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
295
f378cd83
L
2962009-03-09 H.J. Lu <hongjiu.lu@intel.com>
297
298 PR gas/9915
299 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
300 (LOCAL_LABELS_FB): Undefine befoe define.
301
d11fd249
NC
3022009-03-06 Nick Clifton <nickc@redhat.com>
303
304 * po/es.po: Updated Spanish translation.
305
cc3f603a
JM
3062009-03-05 Joseph Myers <joseph@codesourcery.com>
307
308 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
309 s_incbin): Call md_cons_align (1).
310
d9319cec
NC
3112009-03-04 Nick Clifton <nickc@redhat.com>
312
313 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
314 based targets.
315 (s_alpha_comm): Only define "temp" and "log_align" local variables
316 for EVAX targets.
317
727fc41e
AM
3182009-03-04 Alan Modra <amodra@bigpond.net.au>
319
320 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
321 have non-zero addend.
322 (md_assemble): Parse args of __tls_get_addr calls.
323 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
324
1c5c6c13
DA
3252009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
326
327 binutils/3807
328 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
329 local scope for ELF targets.
330
ed84b57b
AM
3312009-03-04 Alan Modra <amodra@bigpond.net.au>
332
333 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
334
198f1251
TG
3352009-03-03 Tristan Gingold <gingold@adacore.com>
336 Eric Botcazou <ebotcazou@adacore.com>
337 Douglas B Rupp <rupp@gnat.com>
338
339 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
340 for Alpha.
341 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
342 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
343 (OBJ_SYMFIELD_TYPE): Remove.
344 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
345 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
346 (tc_frob_file_before_fix): Do not defined on evax.
347 * config/tc-alpha.c: Always includes dwarf2dbg.h.
348 Include vms.h if OBJ_EVAX.
349 (struct alpha_fixup): Add xtrasym and procsym (evax only).
350 (enum alpha_macro_arg): Remove trailing comma.
351 (md_longopts): Add replace and noreplace arguments (evax only).
352 (alpha_evax_proc_hash): New variable.
353 (alpha_link_section): Make it global.
354 (alpha_ctors_section, alpha_dtors_section): Removed.
355 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
356 (alpha_lit8_section): Ifndef'ed on evax.
357 (alpha_lit8_symbol): Ditto.
358 (alpha_prologue_label): New variable.
359 (alpha_linkage_symbol): New variable (evax only).
360 (alpha_flag_replace): Ditto.
361 (struct alpha_evax_procs): Add handler and handler_data field.
362 (alpha_evax_proc): Now of type pointer.
363 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
364 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
365 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
366 (alpha_adjust_relocs): Ifndef'ed on evax.
367 (load_expression): Add opname argument.
368 Implement LDA/BSR optimization for evax.
369 (emit_lda): Adjust for new prototype of load_expression.
370 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
371 (emit_loadstore): Likewise.
372 (emit_ldXu): Likewise.
373 (emit_stX): Likewise.
374 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
375 (emit_ldgp): Avoid warning in evax case.
376 (add_to_link_pool): Make it static. Return symbolic expression rather
377 than number expression for the offset.
378 (s_alpha_text): Create .text symbol for evax if not already created.
379 (s_alpha_comm): Do not create specific section for common symbol.
380 Fill common area with zeros for evax.
381 (s_alpha_prologue): Create alpha_prologue_label.
382 (s_alpha_section_name): New function (evax).
383 (s_alpha_section_word): Likewise.
384 (section_name): New static variabke moved out from ...
385 (s_alpha_section): ... here. Create new sections on demand.
386 (s_alpha_literals): New function (evax).
387 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
388 alpha_evax_proc_hash table.
389 (s_alpha_handler): New function (evax).
390 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
391 (s_alpha_prologue): New function (evax).
392 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
393 handling of procedures with hash table.
394 Add support for condition handlers.
395 (s_alpha_linkage): Create linkage_fixup instance and chain it.
396 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
397 (s_alpha_mask): Likewise.
398 (s_alpha_fmask): Likewise.
399 (s_alpha_end): Clear alpha_evax_proc.
400 (s_alpha_align): Increase max_alignment to 16.
401 (alpha_print_token): Call print_expr_1 instead of print_expr.
ed84b57b 402 (md_pseudo_table): Add "section", "literals", "handler" and
198f1251
TG
403 "handler_data" (evax). Do not ignore "prologue" on evax.
404 Fix indentation.
405 (md_begin): Create hash table for alpha_evax_proc_hash.
406 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
407 (md_show_usage): Mention -replace/-noreplace for evax.
408 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
409 (alpha_force_relocation): Likewise.
410 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
411 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
412 (emit_insn): New cases for evax specific relocs.
413 (assemble_insn): Fix indentation.
414 Take care of -MDISP in operand table.
415 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
416 (OBJ_SYMFIELD_TYPE): New macro.
417 (obj_symbol_new_hook): Define.
418 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
419 (obj_frob_file_before_fix): Ditto.
420 (PDSC_S_M_HANDLER_VALID): New macro.
421 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
422 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
423 Add prototypes for functions declared in obj-evax.c
424 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
425 (s_evax_weak): Convert to ansi-C.
426 (evax_symbol_new_hook): New function.
427 (evax_frob_symbol): Ditto.
428 (evax_frob_file_before_adjust): Ditto.
429 (evax_frob_file_before_fix): Ditto.
430 (evax_shorten_name): Ditto.
431 (crc32): Ditto.
432 (encode_32): Ditto.
433 (encode_16): Ditto.
434 (decode_16): Ditto.
435 (shorten_identifier): Ditto.
436 (is_truncated_identifier): Ditto.
437 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
438 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
439 (main): Ditto.
440
a1f7ca36
AM
4412009-03-03 Alan Modra <amodra@bigpond.net.au>
442
443 * Makefile.am: Run "make dep-am".
444 * Makefile.in: Regenerate.
445
83cf10fd
NC
4462009-03-02 Nick Clifton <nickc@redhat.com>
447
448 PR 9874
449 * config/tc-ia64.c (fix_insn): Fix warning reported by
450 -Wformat-security.
451
c3b7224a
NC
4522009-03-02 Qinwei <qinwei@sunnorth.com.cn>
453
454 * config/tc-score7.c: New file.
455 * doc/c-score.texi: New file.
456 * Makefile.am: Update dependencies for tc-score.c.
457 * Makefile.in: Regenerate.
458 * NEWS: Mention support for Score7 architecture.
459 * config/tc-score.c: Add support for Score7 architecture.
460 * config/tc-score.h: Likewise.
461 * doc/Makefile.am: Add c-score.texi.
462 * doc/Makefile.in: Regenerate.
463 * doc/all.texi: Add Score7.
464 * doc/as.texinfo: Add Score7.
465
04e2c417
MM
4662009-03-01 Mark Mitchell <mark@codesourcery.com>
467
468 * config/tc-arm.c (md_assemble): Allow barrier instructions on
469 ARMv6-M cores.
470
58e24671
RW
4712009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
472
473 * configure: Regenerate.
474
066be9f7
PB
4752009-02-26 Peter Bergner <bergner@vnet.ibm.com>
476
477 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
478 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
479 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
480
784788d2
L
4812009-02-25 H.J. Lu <hongjiu.lu@intel.com>
482
483 * config/tc-i386.c (fits_in_imm4): Removed.
484
91c2f09e
DA
4852009-02-24 Helge Deller <deller@gmx.de>
486
dfaf9df8 487 * config/tc-hppa.c (pa_ip): Add check of immediate values.
91c2f09e
DA
488 (SAVE_IMMEDIATE): New define.
489
94206790
MM
4902009-02-23 Mark Mitchell <mark@codesourcery.com>
491
492 * config/tc-arm.c (warn_deprecated_sp): New macro.
493 (do_t_mov_cmp): Permit R13 as the second
494 argument to "cmp.n".
495
0349dc08
L
4962009-02-23 H.J. Lu <hongjiu.lu@intel.com>
497
498 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
499 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
500
c1b80a2a
L
5012009-02-23 H.J. Lu <hongjiu.lu@intel.com>
502
503 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
504
4c664d7b
L
5052009-02-23 H.J. Lu <hongjiu.lu@intel.com>
506
507 * config/tc-i386.c (vex_imm4): Removed.
508 (VEX_check_operands): Likewise.
509 (match_template): Updated.
510
11c19e16
MS
5112009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
512
513 * doc/all.texi: Set S390.
514 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
515 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
516 * doc/Makefile.in: Likewise.
517 * doc/c-s390.texi: New.
518
87298967
NS
5192009-02-12 Nathan Sidwell <nathan@codesourcery.com>
520
521 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
522 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
523 (mcf5307_ctrl): Add VBR.
524 (no_mac): New variable.
525 (m68k_extensions): Refer to no_mac mask.
526 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
527 52252..52259, 53011..53017.
528 (m68k_ip): Process CPUCR.
529 (init_table): Add cpucr entry.
530 (m68k_set_extension): Allow negated mask to refer to a variable.
531 (md_show_usage): Use '%s' to silence fprintf warning.
532 * config/m68k-parse.h (CPUCR): New control register.
533
ee2c9aa9
NS
5342009-02-10 Nathan Sidwell <nathan@codesourcery.com>
535
536 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
537 as_bad calls to silence compiler warning.
538
8dc2430f
NC
5392009-02-06 Nick Clifton <nickc@redhat.com>
540
541 PR 9814
542 * config/tc-arm.c (MODE_RECORDED): New define.
543 (output_inst): Record the thumb_mode in the current frag.
544 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
545 (arm_init_frag): Only set the tc_frag_data field if it has not
546 already been set.
547
ce2f5b3c
L
5482009-02-04 H.J. Lu <hongjiu.lu@intel.com>
549
550 AVX Programming Reference (January, 2009)
551 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
552 (CPU_FLAGS_AVX_MATCH): Updated.
553 (CPU_FLAGS_32BIT_MATCH): Likewise.
554 (cpu_flags_match): Likewise.
555
52b6b6b9
JM
5562009-02-03 Sandip Matte <sandip@rmicorp.com>
557
558 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
559 M_MSGWAIT and M_MSGWAIT_T.
560 (mips_cpu_info_table): Add XLR entry.
561 * doc/c-mips.texi (-march): Document xlr.
562
e94345ae 5632009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
a53fddce
EW
564
565 * config/tc-avr.c (mcu_types): Add ata6289.
566 * doc/c-avr.texi: Likewise.
567
31dd3154
JM
5682009-02-03 Carlos O'Donell <carlos@codesourcery.com>
569
570 * configure.in: AC_SUBST pdfdir.
571 * Makefile.am: Add install-pdf, install-pdf-am,
572 and install-pdf-recursive targets.
573 * doc/Makefile.am: Define pdf__strip_dir. Add
574 install-pdf and install-pdf-am targets.
575 * po/Make-in: Add install-pdf target.
576 * configure: Regenerate.
577 * Makefile.in: Regenerate.
578 * doc/Makefile.in: Regenerate.
579
cf869cce
NC
5802009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
581
582 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
583 relocations.
584 * config/m68k-parse.y (yylex): Parse TLS relocations.
585 * config/tc-m68k.c (m68k_elf_cons): New static function.
586 (md_pseudo_table): Use it.
587 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
588 relocations.
589 (md_apply_fix): Fix to set thread local flag.
590 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
591
bb0a86e1
NC
5922009-02-03 Vince Weaver <vince@csl.cornell.edu>
593
594 PR 9779
595 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
596 indexed addressing for symbolic expressions.
597
fdfde340
JM
5982009-01-29 Mark Mitchell <mark@codesourcery.com>
599
600 * config/tc-arm.c (BAD_SP): Define.
601 (s_arm_unwind_fnstart): Use REG_SP.
602 (s_arm_unwind_setfp): Likewise.
603 (reject_bad_reg): New macro.
604 (do_co_reg): Check for bad registers.
605 (do_co_reg2c): Likewise.
606 (do_srs): Use REG_SP.
607 (do_t_add_sub): Check for bad registers.
608 (do_t_adr): Likewise.
609 (do_t_arit3): Likewise.
610 (do_t_arit3c): Likewise.
611 (do_t_bfc): Likewise.
612 (do_t_bfi): Likewise.
613 (do_t_bfx): Likewise.
614 (do_t_blx): Likewise.
615 (do_t_bx): Likewise.
616 (do_t_bxj): Likewise.
617 (do_t_clz): Likewise.
618 (do_t_div): Likewise.
619 (do_t_mla): Likewise.
620 (do_t_mlal): Likewise.
621 (do_t_mov_cmp): Likewise.
622 (do_t_mov16): Likewise.
623 (do_t_mvn_tst): Likewise.
624 (do_t_mrs): Likewise.
625 (do_t_msr): Likewise.
626 (do_t_mul): Likewise.
627 (do_t_mull): Likewise.
628 (do_t_orn): Likewise.
629 (do_t_pkhbt): Likewise.
630 (do_t_pld): Likewise.
631 (do_t_rbit): Likewise.
632 (do_t_rev): Likewise.
633 (do_t_rrx): Likewise.
634 (do_t_rsb): Likewise.
635 (do_t_shift): Likewise.
636 (do_t_simd): Likewise.
637 (do_t_ssat): Likewise.
638 (do_t_ssat16): Likewise.
639 (do_t_sxtah): Likewise.
640 (do_t_sxth): Likewise.
641 (do_t_tb): Likewise.
642 (do_t_usat): Likewise.
643 (do_t_usat16): Likewise.
644 (nysn_insert_sp): Use REG_SP.
645
1c444d06
JM
6462009-01-29 Mark Mitchell <mark@codesourcery.com>
647
648 * config/tc-arm.c (do_t_orn): New function.
649 (do_t_rrx): Likewise.
650 (insns): Add orn and rrx.
651
4f80ef3e
JM
6522009-01-29 Mark Mitchell <mark@codesourcery.com>
653
654 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
ed84b57b 655 uasx, uhasx, uhsx, uqasx, uqsax, usax.
4f80ef3e 656
087b80de
JM
6572009-01-29 Mark Mitchell <mark@codesourcery.com>
658
659 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
660 qdsub in Thumb-2 mode.
661
17828f45
JM
6622009-01-29 Paul Brook <paul@codesourcery.com>
663 Mark Mitchell <mark@codesourcery.com>
664
665 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
666 of MUL when possible.
667
ec0c103c
NC
6682009-01-29 Nick Clifton <nickc@redhat.com>
669
670 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
671
4a6bc624
NS
6722009-01-29 Nathan Sidwell <nathan@codesourcery.com>
673 Catherine Moore <clm@codesourcery.com?
674
675 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
676 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
677 directives.
678
23fce1e3
NC
6792009-01-27 Nick Clifton <nickc@redhat.com>
680
681 * config/tc-mips.c (append_insn): Cope with a complex reloc
682 sequence containing an unsupported reloc type.
683 (enum options): Replace computed #define's constants for option
684 numbers with this enum.
685 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
686 environment.
687 (md_parse_option): Allow -32 in a non-ELF environment.
688
ee3c0378
AS
6892009-01-26 Andrew Stubbs <ams@codesourcery.com>
690
691 * config/tc-arm.c (attributes_set_explicitly): New array.
692 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
693 (cpu_arch): Add ARM_ARCH_V5T.
694 (aeabi_set_attribute_int): New function.
695 (aeabi_set_attribute_string): New function.
696 (aeabi_set_public_attributes): Set attributes according to the user's
697 intentions, rather than the actual state of the binary.
698 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
699 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
700 Support WMMXv2. Use attribute names instead of numbers.
701 * read.c (s_vendor_attribute): Change return type to int.
702 Return the tag number that was set.
703 * read.h (s_vendor_attribute): Change return type to int.
704
17f4880d
EW
7052009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
706
707 PR 9789
708 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
709 * doc/c-avr.texi: Likewise.
710
278df34e
NS
7112009-01-23 Nathan Sidwell <nathan@codesourcery.com>
712
713 * doc/c-arm.texi (): Document -mwarn-deprecated.
714 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
715 (warn_on_deprecated): ... this.
716 (opcode_lookup, md_assemble): Check it before warning.
717 (arm_opts): Add m[no-]warn-deprecated.
718 (md_parse_option): Replace WARN_DEPRECATED with
719 warn_on_deprecated.
720
199114c2
AS
7212009-01-23 Andreas Schwab <schwab@suse.de>
722
750bdd57
AS
723 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
724 arguments to macro_build to match format.
725
199114c2
AS
726 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
727 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
728
d3bf77be
NC
7292009-01-19 Nick Clifton <nickc@redhat.com>
730
731 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
732 ELF format ARM targets.
733 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
734
7352009-01-19 Nick Clifton <nickc@redhat.com>
736
737 * configure.tgt: Restore alpha sorting to object format switch
738 statement.
739
2d0bb761
AS
7402009-01-19 Andrew Stubbs <ams@codesourcery.com>
741
742 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
743
3493e7b0
JM
7442009-01-16 Mark Shinwell <shinwell@codesourcery.com>
745
746 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
747 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
748
e04befd0
AS
7492009-01-16 Andrew Stubbs <ams@codesourcery.com>
750 Daniel Jacobowitz <dan@codesourcery.com>
751
752 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
753 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
754 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
755 * read.c (s_vendor_attribute): Add support for symbolic tag names.
756 Improve string parser.
757 * doc/c-arm.texi (ARM Machine Directives): Document
758 .eabi_attribute symbolic tag names.
759
29670fb9
AM
7602009-01-16 Alan Modra <amodra@bigpond.net.au>
761
762 * configure.in (commonbfdlib): Delete.
763 * configure: Regenerate.
764 * po/POTFILES.in: Regenerate.
765
91e22acd
AS
7662009-01-15 Andrew Stubbs <ams@codesourcery.com>
767 Julian Brown <julian@codesourcery.com>
768
769 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
770
7b86a9fa
AS
7712009-01-15 Andrew Stubbs <ams@codesourcery.com>
772
773 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
774 bfd_elf_add_obj_attr_int_string.
775
01e1a5bc
NC
7762009-01-15 Douglas B Rupp <rupp@gnat.com>
777
778 * configure.tgt(ia64-*-*vms*): New target.
779 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
780 * tc.h (md_number_to_chars): Declare iff undefined.
781 * config/obj-elf.c (obj_elf_change_section): Change type of arg
782 attr to bfd_vma.
783 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
784 variables attr, md_attr to bfd_vma.
785 (obj_elf_section_word): Likewise.
786 (obj_elf_section): Change type of variable attr to bfd_vma
787 * config/obj-elf.h (obj_elf_change_section): Change type of arg
788 attr to bfd_vma.
789 * config/tc-ia64.c (bfdver.h,time.h): Include.
790 (ia64_elf_section_letter): Now returns a bfd_vma.
791 Handle VMS specific attributes.
792 (ia64_elf_section_flags): Arg attr now a bfd_vma.
793 (ia64_init): Don't turn on dependency checking for VMS.
794 (ia64_target_format): Check for VMS flag bit.
795 (do_alias): Hande decc$ functions.
796 (get_vms_time): New function.
797 (ia64_vms_note): New function.
798 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
799 (ia64_elf_section_flags): Arg attr now a bfd_vma.
800 (tc_init_after_args): Define for VMS.
801 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
802 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
803 * config/tc-alpha.h: Likewise.
804 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
805 (x86_64_section_word): Return a bfd_vma.
806 * config/tc-i386.h: Likewise.
807 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
808 attr to bfd_vma.
809 * config/tc-ip2k.h: Likewise.
810 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
811 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
812 * config/tc-mep.h: Likewise.
813 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
814 (ppc_section_word): Return a bfd_vma.
815 (ppc_section_flags): Change type of arg attr to bfd_vma.
816 * config/tc-ppc.h: Likewise.
817 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
818 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
750bdd57
AS
819 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
820 New file with new macros
821 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
822 macros.
01e1a5bc 823
bc2d1808
NC
8242009-01-15 Nick Clifton <nickc@redhat.com>
825
826 PR 9722
827 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
828 instructions before generating a Thumb2 nop.
829
7b6598a4 8302009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750bdd57 831
7b6598a4
AK
832 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
833
cd4a7468
AM
8342009-01-12 Alan Modra <amodra@bigpond.net.au>
835
836 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
837 (brinfo): New var.
838 (md_assemble): Poke brinfo into branch instructions.
839 (spu_brinfo): New function.
840 (md_apply_fix): Don't assume insn fields start off at zero, mask
841 them to remove possible brinfo.
842
1543849b
L
8432009-01-10 H.J. Lu <hongjiu.lu@intel.com>
844
845 * doc/c-i386.texi: Reformat.
846
bd5295b2
L
8472009-01-10 H.J. Lu <hongjiu.lu@intel.com>
848
dfaf9df8 849 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
bd5295b2
L
850 .syscall.
851 (i386_align_code): Handle PROCESSOR_COREI7.
852 (md_show_usage): Add corei7, clflush and syscall.
853 (i386_target_format): Replace cpup4 with cpuclflush.
854
dfaf9df8 855 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
bd5295b2
L
856
857 * doc/c-i386.texi: Document corei7, clflush and syscall.
858
1b7f3fb0
L
8592009-01-09 H.J. Lu <hongjiu.lu@intel.com>
860
861 * config/tc-i386.c (cpu_arch): Add .rdtscp.
862 (md_show_usage): Display rdtscp.
863
864 * doc/c-i386.texi: Document rdtscp.
865
1cb0a767
PB
8662009-01-09 Peter Bergner <bergner@vnet.ibm.com>
867
868 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
869 Test the new "deprecated" opcode field.
870
19fc3723
SA
8712009-01-07 Sterling Augustine <sterling@tensilica.com>
872
873 * config/tc-xtensa.c (produce_flix): New.
874 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
875 (md_longopts): Add support for them.
876 (md_parse_option): Likewise.
877 (md_show_usage): Add help message.
878 (finish_vinsn): Don't allow multi-slot flix when produce_flix
879 option is set to FLIX_NONE.
880 * config/xtensa-relax.c (transition_applies): Only relax to
881 flix branches when produce_flix equals FLIX_ALL.
882 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
883 FLIX_NONE): New.
884 (produce_flix): Declare.
885
24864476
CF
8862009-01-06 Chao-ying Fu <fu@mips.com>
887
888 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
889 Use strncmp to match jalr and jalr.hb.
890 Fix a typo.
891
0bfee649 8922009-01-05 H.J. Lu <hongjiu.lu@intel.com>
d62f07d0 893
0bfee649
L
894 AVX Programming Reference (December, 2008)
895 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
896 support. Don't swap REG and NDS for FMA.
d62f07d0 897
750bdd57 8982009-01-02 Matthias Klose <doko@ubuntu.com>
e7c604dd 899
750bdd57
AS
900 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
901 behaviour.
e7c604dd 902
0bfee649 903For older changes see ChangeLog-2008
08d56133
NC
904\f
905Local Variables:
906mode: change-log
907left-margin: 8
908fill-column: 74
909version-control: never
910End:
This page took 0.514724 seconds and 4 git commands to generate.