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