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