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