12010-12-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2
3	PR gas/11395
4	* config/tc-hppa.c (pa_ip): Revert last change.  Add variable need_cond
5	to determine whether a 64-bit condition is needed for 'A' and 'S'
6	conditions.  Default to 32-bit never condition for logical and unit
7	instructions.  Add error message for missing branch on bit condition.
8
92010-12-31  Robert Millan  <rmh@gnu.org>
10
11	* config/tc-mips.c (ELF_TARGET): New macro.  Generates target
12	names accordingly to whether TE_FreeBSD and whether TE_TMIPS
13	are defined.
14	(mips_target_format): Refactor code using ELF_TARGET().
15	(support_64bit_objects): Likewise.
16
17	* configure.in: Recognize mips-freebsd and mips-kfreebsd-gnu.
18	* configure.tgt: Likewise.
19	* configure: Regenerate.
20
212010-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22
23	* config/tc-i386.c (x86_elf_abi): New.
24	(i386_mach): Return bfd_mach_x64_32 for ILP32.
25	(OPTION_N32): Likewise.
26	(md_longopts): Add "n32" for ELF.
27	(md_parse_option): Handle OPTION_N32.
28	(md_show_usage): Add --n32.
29	(i386_target_format): Update and check x86_elf_abi.
30
31	* config/tc-i386.h (ELF_TARGET_FORMAT32): New.
32
33	* doc/as.texinfo: Document --n32.
34	* doc/c-i386.texi: Likewise.
35
362010-12-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
37
38	PR gas/11395
39	* config/tc-hppa.c (pa_ip): Set doubleword carry/borrow bit when a
40	doubleword completer or doubleword condition is found in an add/sub
41	instruction.  Reject match for 'A'/'S' only if there is no condition
42	and d bit is not set.
43
442010-12-18  Mingjie Xing  <mingjie.xing@gmail.com>
45
46	* config/tc-mips.c (insn_uses_reg): Handle the new flags
47	INSN2_READ_FPR_Z, INSN2_READ_GPR_D and INSN2_READ_GPR_Z.
48	(append_insn): Handle delay-slot filling for the new flags.
49	(validate_mips_insn): Handle the new arguments +a|b|c|z|Z.
50	(mips_ip): Handle the new arguments +a|b|c|z|Z.
51
522010-12-18  DJ Delorie  <dj@redhat.com>
53
54	* config/rx-parse.y (SUB): Correct subtraction of immediate
55	pattern.
56
572010-12-16  DJ Delorie  <dj@redhat.com>
58
59	* config/tc-rx.c (rx_validate_fix_sub): Permit subtraction in more
60	cases.
61	(tc_gen_reloc): Fix handling of subtraction (esp wrt endianness).
62
632010-12-16  Maciej W. Rozycki  <macro@codesourcery.com>
64
65	* symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_label
66	for new fake labels created off the dot special symbol.
67	* config/tc-mips.h (tc_new_dot_label): New macro.
68	(mips_record_label): New prototype.
69	* config/tc-mips.c (my_getExpression): Remove MIPS16 fake label
70	annotation.
71	(s_cons, s_float_cons, s_gpword, s_gpdword): Only clear labels
72	recorded once data expressions have been evaluated.
73	(mips_define_label): Move code to record labels over to...
74	(mips_record_label): ... this new function.
75	* doc/internals.texi: Document tc_new_dot_label.
76
772010-12-10  Maciej W. Rozycki  <macro@codesourcery.com>
78
79	* config/tc-mips.h (TC_ADDRESS_BYTES): New macro.
80	(mips_address_bytes): New prototype.
81	* config/tc-mips.c (mips_address_bytes): New function.
82
832010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
84
85	* config/tc-mips.c (mips_ip): Remove dead format specifier code.
86
872010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
88
89	* config/tc-mips.c (file_ase_mips16): Adjust comment.
90	(append_insn): Update file_ase_mips16.
91	(mips_after_parse_args): Don't set file_ase_mips16 here.
92
932010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
94
95	* config/tc-mips.c (macro)
96	<M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T>: Remove
97	dedicated return points.
98
992010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
100
101	* config/tc-mips.c (macro) <M_DEXT, M_DINS>: Correct types used
102	for pos and size.
103
1042010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
105
106	* config/tc-mips.c (macro) <ld_st>: Don't load a zero into an
107	auxiliary register when using a signed 16-bit constant offset.
108
1092010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
110
111	* config/tc-mips.c (mips_ip): Remove lastregno's
112	preinitialization.
113
1142010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
115
116	* config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-'
117	as a base register specifier.
118
1192010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
120
121	* config/tc-mips.c (macro) <M_S_DOB>: Fix the placement of code.
122
1232010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
124
125	* config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUI
126	argument complained about; reword the message.
127
1282010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
129
130	* config/tc-mips.c (macro)
131	<M_BGTUL_I, M_BGTU_I, M_BLEUL_I, M_BLEU_I>: Fix the constant
132	used to compare against for the always-false/true case.
133
1342010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
135
136	* config/tc-mips.c (macro): Remove a trailing 0 from NOP
137	requests.
138
1392010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
140
141	* config/tc-mips.c (macro): Use EXTRACT_OPERAND to get register
142	numbers.
143
1442010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
145
146	* config/tc-mips.c (macro): Replace 0 with ZERO in macro_build
147	and move_register calls referring to $0.
148
1492010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
150
151	* config/tc-mips.c (macro, mips_ip): Correct message
152	capitalization.
153
1542010-12-09  Arnold Metselaar  <arnold.metselaar@planet.nl>
155
156	* config/tc-z80.c (md_apply_fix): Rename var to fix shadow warning.
157
1582010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
159
160	* config/tc-mips.c (macro_build, macro, mips_ip, md_apply_fix):
161	Fix formatting.
162
1632010-12-09  Mike Frysinger  <vapier@gentoo.org>
164
165	* .gitignore: New file.
166
1672010-12-05  Arnold Metselaar  <arnold.metselaar@planet.nl>
168
169	PR gas/12269
170	* config/tc-z80.c (emit_mx, emit_ldxhl): Do not use
171	symbol_get_value_expression on a symbol that may not yet have
172	a value.
173	* testsuite/gas/z80/atend.s: New file, test case for bug 12269,
174	provided by Chris Smith.
175	* testsuite/gas/z80/atend.d: New file, expected results for atend.s.
176	* testsuite/gas/z80/z80.exp: Run new test case.
177
1782010-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
179
180	PR gas/12282
181	* expr.c (expr_build_dot): Make a clone of the symbol to return if
182	needed.
183
1842010-12-02  Richard Sandiford  <richard.sandiford@linaro.org>
185
186	* symbols.c (S_FORCE_RELOC): Return true for indirect functions
187	even if !strict.
188	* expr.c (operand): Don't convert absolute symbols to constants
189	if S_FORCE_RELOC is true.
190	(expr): Only reduce subtractions between different symbols if
191	S_FORCE_RELOC is false for both of them.
192	* write.c (fixup_segment): Don't remove symbols if S_FORCE_RELOC
193	is true for them, regardless of their segment.
194
1952010-12-01  Maciej W. Rozycki  <macro@codesourcery.com>
196
197	* symbols.h (dot_symbol): New declaration.
198	(dot_symbol_init): New prototype.
199	* symbols.c (dot_symbol): New variable.
200	(symbol_clone): Assert it's not dot_symbol being cloned.
201	(dot_symbol_init): New function.
202	(symbol_clone_if_forward_ref): Create a new temporary symbol
203	when trying to clone dot_symbol.
204	* expr.c (current_location): Refer to dot_symbol instead of
205	making a new temporary symbol.
206	* read.c (read_a_source_file): Update dot_symbol as we go.
207	* as.c (main): Call dot_symbol_init.
208
2092010-12-01  Maciej W. Rozycki  <macro@codesourcery.com>
210
211	* symbols.c (symbol_clone_if_forward_ref): Don't limit cloning
212	to expr_section symbols; clone all equated symbols.  Clear
213	sy_resolving of the cloned copy.
214	* expr.c (operand): Only clone equated symbols on a final
215	(i.e. non-equated) reference.
216
2172010-12-01  Richard Sandiford  <rdsandiford@googlemail.com>
218
219	* config/tc-mips.c (md_convert_frag): Remove a call to
220	S_GET_VALUE and use the result of resolve_symbol_value as the
221	value of the symbol processed in MIPS16 relaxation.
222
2232010-11-30  Joel Sherrill  <joel.sherrill@oarcorp.com>
224
225	* configure.tgt: Add sparc64-rtems.
226
2272010-11-25  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
228
229	* config/tc-s390.c (current_cpu): Initialize with latest CPU.
230	(init_default_arch): Default to z/Architecture mode if CPU provides it.
231	Remove the check setting the CPU default.
232
2332010-11-25  Alan Modra  <amodra@gmail.com>
234
235	* po/es.po: Update.
236
2372010-11-25  Alan Modra  <amodra@gmail.com>
238
239	PR gas/12264
240	* compress-debug.c: Include config.h first.
241
2422010-11-24  Mike Frysinger  <vapier@gentoo.org>
243
244	* doc/as.texinfo: Refer to and include c-bfin.texi for Blackfin
245	options.
246	* doc/c-bfin.texi: Add markup for use in manpage generation.
247
2482010-11-23  Sterling Augustine  <sterling@tensilica.com>
249
250	* doc/as.texinfo: Refer to and include c-xtensa.texi for Xtensa
251	options.  Move Xtensa options to proper alphabetical location.
252
253	* doc/c-xtensa.texi: Add markup for use in manpage generation.
254
2552010-11-23  Mingming Sun  <mingm.sun@gmail.com>
256
257	* config/tc-mips.c (mips_cpu_info_table): Move loongson3a after sb1.
258
2592010-11-23  H.J. Lu  <hongjiu.lu@intel.com>
260
261	* doc/as.texinfo: Refer to and include c-i386.texi for i386
262	options.
263
264	* doc/c-i386.texi: Add markup for use in manpage generation.
265
2662010-11-22  Joseph Myers  <joseph@codesourcery.com>
267
268	* doc/as.texinfo: Refer to or include c-alpha.texi for Alpha
269	options.  Refer to or include c-tic6x.texi for C6X options instead
270	of duplicating documentation here.
271	* doc/c-alpha.texi, doc/c-tic6x.texi: Add markup for use in
272	manpage generation.
273
2742010-11-19  Alan Modra  <amodra@gmail.com>
275
276	PR 2606
277	* configure.in: Disable emulations for PE targets.
278	* configure: Regenerate.
279
2802010-11-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
281
282	PR gas/12181
283	* config/obj-elf.c (elf_adjust_symtab) [TE_SOLARIS]: Make sy
284	weak hidden.
285
2862010-11-17  Nick Clifton  <nickc@redhat.com>
287
288	* input-file.c (input_file_open): Check for empty input files.
289	(input_file_get): Check for end of file before reading any more
290	data.
291	(input_file_give_next_buffer): Likewise.
292
2932010-11-15  H.J. Lu  <hongjiu.lu@intel.com>
294
295	* config/obj-elf.c (elf_process_stab): Mark parameters as
296	ATTRIBUTE_UNUSED.
297
2982010-11-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
299
300	* config/obj-elf.c (elf_generate_asm_lineno): New function.
301	(elf_process_stab): New function.
302	(elf_format_ops): Always use them as generate_asm_lineno,
303	process_stab members.
304
3052010-11-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
306
307	PR gas/12198
308	* config/tc-arm.c (arm_arch_v6m_only): New variable.
309	(aeabi_set_public_attributes): Ensure we only set the Operating System
310	Extension when we are on an M-profile core.
311
3122010-11-13  Richard Sandiford  <rdsandiford@googlemail.com>
313
314	* config/tc-mips.c (macro_build): Remove gas_assert from 'o' case.
315	Use a restricted gas_assert for 'i' and 'j'.
316
3172010-11-11  Mingming Sun  <mingm.sun@gmail.com>
318
319	* config/tc-mips.c (mips_cpu_info_table): Add loongson3a in MIPS 64.
320	* doc/c-mips.texi (MIPS cpu): Add loongson3a.
321
3222010-11-10  Richard Sandiford  <richard.sandiford@linaro.org>
323
324	* config/tc-arm.c (do_t_branch): Treat (PLT) branches as wide.
325
3262010-11-05  Nick Clifton  <nickc@redhat.com>
327
328	* config/tc-cr16.c (getprocreg_image): Fix typo MAX_PREG ->
329	MAX_REG.
330	(getprocregp_image): Likewise.
331
3322010-11-05  Tristan Gingold  <gingold@adacore.com>
333
334	* po/gas.pot: Regenerate
335	* po/POTFILES.in: Regenerate
336
3372010-11-05  Tristan Gingold  <gingold@adacore.com>
338
339	* NEWS: Add marker for 2.21.
340
3412010-11-05  Dave Korn  <dave.korn.cygwin@gmail.com>
342
343	PR gas/12166
344	* config/obj-coff.c (weak_altname2name): Don't infer from the presence
345	of a period that the symbol has been already uniquify-d.
346	(weak_uniquify): Don't worry that the symbol might have been already
347	uniquify-d.
348
3492010-11-04  Alan Modra  <amodra@gmail.com>
350
351	* config/tc-ppc.c (nop_limit): New var.
352	(OPTION_NOPS): Define.
353	(md_longopts): Add --nops.
354	(md_parse_option): Handle it.
355	(md_show_usage): Publish.
356	(ppc_handle_align): Pad with a branch followed by nops if more
357	than nop_limit nops.
358
3592010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
360
361	PR gas/12186
362	* config/tc-i386-intel.c (i386_intel_fold): Properly fold
363	_GLOBAL_OFFSET_TABLE_.
364
3652010-11-02  Joseph Myers  <joseph@codesourcery.com>
366
367	* config/tc-tic6x.c (OPTION_MPID, OPTION_MPIC, OPTION_MNO_PIC):
368	New enum values.
369	(md_longopts): Add options mpid, mpic and mno-pic.
370	(tic6x_pid_type, tic6x_pid, tic6x_pic, tic6x_pid_type_table,
371	tic6x_pid_types, tic6x_use_pid): New.
372	(md_parse_option): Handle new options.
373	(md_show_usage): Output help text for new options.
374	(tic6x_set_attributes): Set PID and PIC attributes.
375	* doc/as.texinfo: Document -mpid=, -mpic and -mno-pic.
376	* doc/c-tic6x.texi (TIC6X Options): Likewise.
377
3782010-11-01  Maciej W. Rozycki  <macro@linux-mips.org>
379
380	* config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Use the offset
381	reloc supplied.
382	(mips_ip)['o']: Initialise offset_reloc.
383
3842010-10-29  Joseph Myers  <joseph@codesourcery.com>
385
386	* doc/c-tic6x.texi (TIC6X Directives): Mention
387	Tag_ABI_compatibility.
388
3892010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
390
391	* write.c (compress_debug): Optimize section flags check.
392
3932010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
394            Joseph Myers  <joseph@codesourcery.com>
395
396	* config/tc-tic6x.c (OPTION_MDSBT, OPTION_MNO_DSBT): New enum
397	values.
398	(md_longopts): Add mdsbt and mno-dsbt.
399	(tic6x_dsbt): New static variable.
400	(md_parse_option): Handle OPTION_MDSBT and OPTION_MNO_DSBT.
401	(md_show_usage): Output help text for -mdsbt and -mno-dsbt.
402	(TAG): Add comma at the end.
403	(tic6x_set_attributes): Set Tag_ABI_DSBT.
404	* doc/as.texinfo: Document -mdsbt and -mno-dsbt.
405	* doc/c-tic6x.texi (TIC6X Options): Likewise.
406	(TIC6X Directives): Mention Tag_ABI_DSBT.
407
4082010-10-28  Matthias Klose  <doko@ubuntu.com>
409
410	* doc/as.texinfo: Add directory section for info document.
411
4122010-10-28  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
413
414	* config/tc-s390.c (md_begin): Only add to hash table if cpu and
415	mode mask fit.
416
4172010-10-28  Alan Modra  <amodra@gmail.com>
418
419	* config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
420
4212010-10-26  Alan Modra  <amodra@gmail.com>
422
423	* config/obj-coff.c (coff_format_ops): Fix typo.
424
4252010-10-25  Richard Sandiford  <rdsandiford@googlemail.com>
426
427	* config/tc-mips.c (macro2): Delete.
428
4292010-10-25  Nathan Sidwell  <nathan@codesourcery.com>
430
431	* config/tc-tic6x.c: Add attribution.
432
4332010-10-25  Mark Mitchell  <mark@codesourcery.com>
434
435	* obj.h (struct format_ops): Add adjust_symtab.
436	* config/obj-multi.h (obj_adjust_symtab): Define.
437	* config/obj-aout.c (aout_format_ops): Init new field.
438	* config/obj-coff.c (coff_format_ops): Likewise.
439	* config/obj-ecoff.c (ecoff_format_ops): Likewise.
440	* config/obj-elf.c (elf_format_ops): Likewise.
441
4422010-10-25  Alan Modra  <amodra@gmail.com>
443
444	PR gas/12049
445	* write.c (relax_frag): Don't allow forward branches to temporarily
446	becomde backward branches.
447
4482010-10-23  Mark Mitchell  <mark@codesourcery.com>
449
450	* config/obj-elf.c (elf_adjust_symtab): New.  Move group section
451	processing here from elf_frob_file.  Ensure that group signature
452	symbols have the name of the group.
453	(elf_frob_file): Move group section processing to
454	elf_adjust_symtab.
455	* config/obj-elf.h (elf_adjust_symtab): Declare.
456	(obj_adjust_symtab): Define.
457	* config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab.
458
4592010-10-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
460
461	* config/tc-sparc.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define as
462	elf32-sparc-sol2.
463	(ELF64_TARGET_FORMAT): Define as elf64-sparc-sol2.
464
4652010-10-21  Joseph Myers  <joseph@codesourcery.com>
466
467	* config/tc-tic6x.c (tic6x_arch_attribute, tic6x_arches,
468	md_assemble, tic6x_set_attributes): Update for attribute renaming.
469	* doc/c-tic6x.texi: Update for attribute renaming.
470
4712010-10-19  Alan Modra  <amodra@gmail.com>
472
473	* write.c (relax_segment): Correct address on frag added to stop
474	leb128/align frags bouncing.
475
4762010-10-19  Alan Modra  <amodra@gmail.com>
477
478	PR gas/12049
479	* frags.h (struct frag): Add "region" field.
480	* write.c (relax_frag): Don't add "stretch" to forward reference
481	target if there is an intervening org or align.
482	(relax_segment): Set region.
483
4842010-10-18  Maciej W. Rozycki  <macro@linux-mips.org>
485
486	* config/tc-mips.c (macro)[ldd_std]: Fix the relaxation variant
487	for absolute addressing.
488
4892010-10-18  Maciej W. Rozycki  <macro@linux-mips.org>
490
491	* config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Handle 64-bit ABIs.
492
4932010-10-18  Maciej W. Rozycki  <macro@linux-mips.org>
494
495	* config/tc-mips.c (mips_pseudo_table): Add "sbss".
496	(s_change_sec): Handle it.
497
4982010-10-15  Mike Frysinger  <vapier@gentoo.org>
499
500	* config/bfin-parse.y (BYTEOP2M): Call BYTEOP2M().
501
5022010-10-14  H.J. Lu  <hongjiu.lu@intel.com>
503
504	* config/tc-i386.c (match_template): Check checkregsize
505	instead of w for register size check.
506
5072010-10-14  H.J. Lu  <hongjiu.lu@intel.com>
508
509	* config/tc-i386.c (_i386_insn): Add disp32_encoding.
510	(md_assemble): Don't call optimize_disp if disp32_encoding is
511	set.
512	(parse_insn): Support .d32 to force 32bit displacement.
513	(output_branch): Use BIG if disp32_encoding is set.
514
515	* doc/c-i386.texi: Document .d32 encoding suffix.
516
5172010-10-11  Steve Kilbane  <steve.kilbane@analog.com>
518
519	* config/bfin-lex.l (FLAGS): New state.
520	(X, Z, S, M, T): Require FLAGS state.
521	("(", ")"): Start/stop FLAGS state.
522
5232010-10-11  David Gibson  <david.gibson@analog.com>
524
525	* config/bfin-aux.h (bfin_loop_attempt_create_label): New prototype.
526	* config/bfin-parse.y (LOOP_BEGIN, LOOP_END): Handle numeric labels.
527	* config/tc-bfin.c (bfin_loop_attempt_create_label): New funtion.
528
5292010-10-11  David Gibson  <david.gibson@analog.com>
530
531	* config/tc-bfin.c (bfin_gen_loop): Check symbol before removing.
532
5332010-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
534
535	Fix build with -DDEBUG=7
536	* config/obj-coff.c (s_get_name, symbol_dump): Add prototypes.
537
5382010-10-07  Bernd Schmidt  <bernds@codesourcery.com>
539
540	* config/tc-tic6x.c (tic6x_try_encode): Correct encoding of fstg field
541	in SPKERNEL instructions.
542
5432010-10-06  Nathan Sidwell  <nathan@codesourcery.com>
544
545	* config/tc-arm.c (encode_branch): Remove superfluous braces.
546	(do_t_branch): Move reloc setting to end of routine.
547
5482010-10-04  David Daney  <ddaney@caviumnetworks.com>
549
550	* config/tc-mips.c (mips_fix_cn63xxp1): New variable.
551	(mips_ip):  Add errata work around when mips_fix_cn63xxp1 set.
552	(OPTION_FIX_CN63XXP1, OPTION_NO_FIX_CN63XXP1): New enum options
553	enumerations.
554	(md_longopts): Add options for -mfix-cn63xxp1 and -mno-fix-cn63xxp1.
555	(md_parse_option): Handle OPTION_FIX_CN63XXP1 and
556	OPTION_NO_FIX_CN63XXP1.
557	(md_show_usage): Add documentation for -mfix-cn63xxp1.
558	* doc/c-mips.texi (-mfix-cn63xxp1, -mno-fix-cn63xxp1): Document
559	the new options.
560
5612010-09-29  Bernd Schmidt  <bernds@codesourcery.com>
562
563	* gas/tic6x/insns-bad-1.s: Remove test for readonly tscl.
564	* gas/tic6x/insns-bad-1.l: Likewise.
565	* gas/tic6x/insns-c674x.d: Add test for writeable tscl.
566	* gas/tic6x/insns-c674x.s: Likewise.
567
5682010-09-29  Alan Modra  <amodra@gmail.com>
569
570	* expr.c (expr): Correct returned segment value.
571
5722010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
573
574	* configure: Regenerate.
575
5762010-09-27  Bernd Schmidt  <bernds@codesourcery.com>
577
578	* config/tc-tic6x.c (tic6x_fix_adjustable): New function.
579	* config/tc-tic6x.h (tic6x_fix_adjustable): Declare.
580	(tc_fix_adjustable): New macro.
581
5822010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
583
584	* config/tc-s390.c: (md_parse_option): New option -march=z196.
585	* doc/c-s390.texi: Document new option.
586
5872010-09-27  Tejas Belagod  <tejas.belagod@arm.com>
588
589	* config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative
590	VSTR, issue an error in THUMB mode.
591
5922010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
593
594	* config/tc-arm.c (arm_ext_virt): New variable.
595	(arm_reg_type): Add REG_TYPE_RNB for banked registers.
596	(reg_entry): Allow registers to be larger than a byte.
597	(reg_alias): Fix type warning.
598	(parse_operands): Parse banked registers when appropriate.
599	(do_mrs): Add support for Virtualization Extensions.
600	(do_hvc): New function.
601	(do_t_mrs): Add support for Virtualization Extensions.
602	(do_t_msr): Likewise.
603	(do_t_hvc): New function.
604	(SPLRBANK): New define.
605	(reg_names): Add banked registers.
606	(insns): Add support for Virtualization Extensions.
607	(md_apply_fixup): Likewise.
608	(arm_cpus): -mcpu=cortex-a15 implies the Virtualization Extensions.
609	(arm_extensions): Add 'virt' extension.
610	(aeabi_set_public_attributes): Add support for Virtualization
611	Extensions.
612	* doc/c-arm.texi: Document 'virt' extension.
613
6142010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
615
616	* config/tc-arm.c (arm_ext_adiv): New variable.
617	(do_div): New function.
618	(insns): Accept UDIV and SDIV in ARM state.
619	(arm_cpus): The cortex-a15 option has all current v7-A extensions.
620	(arm_extensions): Add 'idiv' extension.
621	(aeabi_set_public_attributes): Update Tag_DIV_use values for the
622	Integer Divide extension.
623	* doc/c-arm.texi: Document the idiv extension.
624
6252010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
626
627	* config/tc-arm.c (arm_ext_v6m): New variable.
628	(arm_ext_m): Add support for OS extension.
629	(arm_ext_os): New variable.
630	(do_t_swi): In v6-M ensure we have the OS extension.
631	(arm_cpus): The cortex-m1 and cortex-m0 options have the OS
632	extension by default.
633	(arm_archs): Add armv6s-m.
634	(arm_extensions): Add 'os' extension.
635	(cpu_arch_ver): Add support for v6S-M.
636	* doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m
637	architecture options.
638
6392010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
640
641	* config/tc-arm.c (arm_ext_v6z): Remove.
642	(arm_ext_sec): New variable.
643	(do_t_smc): In Thumb state SMC requires v7-A.
644	(insns): Make SMC depend on Security Extensions.
645	(arm_cpus): All -mcpu=cortex-a* options have the Security Extensions.
646	(arm_extensions): Add 'sec' extension.
647	(cpu_arch_ver): Reorder.
648	(aeabi_set_public_attributes): Emit Tag_Virtualization_use as
649	appropriate.
650	* doc/c-arm.texi: Document Security Extensions.
651
6522010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
653
654	* config/tc-arm.c (arm_ext_mp): Add.
655	(do_pld): Update comment.
656	(insns): Add support for pldw.
657	(arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
658	MP extension.
659	(arm_extensions): Add 'mp' extension.
660	(aeabi_set_public_attributes): Emit correct build attribute when
661	MP extension is enabled.
662	* doc/c-arm.texi: Update for MP extensions.
663
6642010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
665
666	* config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
667	(arm_option_extension_value_table): Add.
668	(arm_extensions): Change type.
669	(arm_option_cpu_table): Rename...
670	(arm_option_fpu_table): ...to this.
671	(arm_fpus): Change type.
672	(arm_parse_extension): Enforce alphabetical order.  Allow
673	extensions to be removed.
674	(arm_parse_arch): Allow extensions to be specified with -march.
675	(s_arm_arch_extension): Add.
676	(s_arm_fpu): Update for type changes.
677	* doc/c-arm.texi: Document changes to infrastructure.
678
6792010-09-23  Alan Modra  <amodra@gmail.com>
680
681	* config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
682	with the absolute section symbol.
683
6842010-09-22  Mike Frysinger  <vapier@gentoo.org>
685
686	* config/bfin-parse.y: Fix typo in BYTEOP16P comment.
687
6882010-09-22  Robin Getz  <robin.getz@analog.com>
689
690	* config/bfin-parse.y (is_store): New function.
691	(gen_multi_instr_1): Check parallel slots for store insns.
692
6932010-09-22  Robin Getz  <robin.getz@analog.com>
694
695	* config/bfin-defs.h (IS_EMUDAT): New define.
696	* config/bfin-parse.y: Accept EMUDAT for any register move.
697
6982010-09-22  Robin Getz  <robin.getz@analog.com>
699
700	* config/bfin-parse.y: Improve error messages.
701
7022010-09-22  Robin Getz  <robin.getz@analog.com>
703
704	* config/bfin-parse.y (DBG): Fix regno encoding.
705	(DBGCMPLX): Likewise.
706
7072010-09-22  Robin Getz  <robin.getz@analog.com>
708
709	* config/bfin-lex.l: Accept multibyte chars in symbol names.
710
7112010-09-22  Robin Getz  <robin.getz@analog.com>
712
713	* config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
714	* config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
715
7162010-09-22  Mike Frysinger  <vapier@gentoo.org>
717
718	* config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
719	* config/tc-bfin.c (bfin_gen_pseudochr): New function.
720	* config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
721
7222010-09-22  Mike Frysinger  <vapier@gentoo.org>
723
724	* config/bfin-lex.l (abort): Accept case-insensitive abort insn.
725	* config/bfin-parse.y (ABORT): Handle the ABORT token.
726
7272010-09-22  Mike Frysinger  <vapier@gentoo.org>
728
729	* config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
730
7312010-09-22  Mike Frysinger  <vapier@gentoo.org>
732
733	* doc/c-bfin.texi (-mcpu): Add bf592.
734	* config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
735	(bfin_cpus[]): Add 0.0/0.1 for bf592.
736
7372010-09-22  Mike Frysinger  <vapier@gentoo.org>
738
739	* config/tc-bfin.c (comment_chars): Add #.
740
7412010-09-20  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
742
743	* config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
744
7452010-09-20  Richard Henderson  <rth@redhat.com>
746
747	* config/tc-alpha.c (tc_gen_reloc): Remove hack around
748	bfd_perform_reloc for OBJ_ELF.
749
7502010-09-17  Tejas Belagod  <tejas.belagod@arm.com>
751
752	* config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
753	list for ldm/stm.
754
7552010-09-17  Tejas Belagod  <tejas.belagod@arm.com>
756
757	* config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
758	non-M-arch cpus.
759	(psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
760
7612010-09-17  Tejas Belagod  <tejas.belagod@arm.com>
762
763	* config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
764	of just RR.
765
7662010-09-17  Andrew Burgess  <aburgess@broadcom.com>
767
768	PR gas/12011
769	* config/obj-elf.c (obj_elf_parse_section_letters): Correct test
770	for error return from md_elf_section_letter.
771	* config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
772	* config/tc-i386.c (x86_64_section_letter): Likewise.
773	* config/tc-ia64.c (ia64_elf_section_letter): Likewise.
774	* config/tc-mep.c (mep_elf_section_letter): Likewise.
775
7762010-09-15  Kai Tietz  <kai.tietz@onevision.com>
777
778	* config/obj-coff-seh.c (seh_validate_seg): New funtion.
779	(obj_coff_seh_endproc): Add check for segment.
780	(obj_coff_seh_endprologue): Likewise.
781	(obj_coff_seh_pushreg): Likewise.
782	(obj_coff_seh_pushframe): Likewise.
783	(obj_coff_seh_save): Likewise.
784	(obj_coff_seh_setframe): Likewise.
785
786	* config/obj-coff-seh.h (seh_context): New member code_seg.
787	* config/obj-coff-seh.c: Implementing xdata/pdata section cloning
788	for link-once code-segment.
789
7902010-09-14  Jie Zhang  <jie@codesourcery.com>
791
792	* doc/c-arm.texi: Document -mcpu=cortex-m4.
793
7942010-09-09  H.J. Lu  <hongjiu.lu@intel.com>
795
796	* config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
797	VEX prefix.
798
7992010-09-09  Joseph Myers  <joseph@codesourcery.com>
800
801	* doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
802
8032010-09-09  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
804
805	* config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
806	* doc/c-arm.texi: Document -mcpu=cortex-a15.
807
8082010-09-09  Gunther Nikl  <gnikl@users.sourceforge.net>
809
810	* gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
811	weak symbols first if generating an a.out object.
812
8132010-09-09 Tejas Belagod  <tejas.belagod@arm.com>
814
815	* config/tc-arm.c (md_apply_fix): Check if widened add, sub are
816	flag-setting and handle accordingly.
817
8182010-09-09  Nick Clifton  <nickc@redhat.com>
819
820	PR gas/11972
821	* config/tc-arm.c (parse_big_immediate): Allow for bignums being
822	extended to the size of a .octa.
823
8242010-09-08  Julian Brown  <julian@codesourcery.com>
825
826	* config/tc-arm.c (create_neon_reg_alias): Deal with case
827	sensitivity.
828
8292010-09-08  Nick Clifton  <nickc@redhat.com>
830
831	PR gas/11973
832	* config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
833	long call instruction's displacement.
834
8352010-09-03  H.J. Lu  <hongjiu.lu@intel.com>
836
837	PR gas/11974
838	* config/tc-i386.c (i386_finalize_immediate): Check flag_code
839	instead of use_rela_relocations for 64bit.
840
8412010-09-02  Richard Henderson  <rth@redhat.com>
842
843	* dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
844	(output_fde): Use it.  Make sure to fully init exp before using it.
845
8462010-08-31  Kai Tietz  <kai.tietz@onevision.com>
847
848	* config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
849	(obj_coff_seh_stackalloc): Likewise.
850
8512010-08-31  Alan Modra  <amodra@gmail.com>
852
853	* config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
854
8552010-08-30  Richard Henderson   <rth@redhat.com>
856
857	* config/obj-coff-seh.c: Rewrite the entire file.
858	(symtab, symptr, reltab, relcount, relsize): Remove.
859	(seh_ctx_root, seh_ctx): Remove.
860	(xdata_seg, xdata_subseg, pdata_seg): New.
861	(switch_xdata, switch_pdata): New.
862	(verify_context, verify_context_and_target, skip_whitespace_and_comma):
863	New parsing functions.  Rewrite all parsing functions to use them.
864	(obj_coff_seh_32): Fix != arm thinko.
865	(obj_coff_seh_handler): For x64, don't accept handler pointer here,
866	only flags.
867	(obj_coff_seh_handlerdata): New.
868	(do_seh_endproc): Split out of ...
869	(obj_coff_seh_endproc): ... here.
870	(obj_coff_seh_proc): Use it, if needed.
871	(seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
872	(seh_x64_read_reg): Remove mm_regs alternative.  Tidy integer reg
873	alternatives.  Don't slurp commas.
874	(seh_read_offset): Remove.
875	(obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
876	(obj_coff_seh_scope): Remove.
877	(obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
878	(obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
879	(out_one, out_two, out_four): New.
880	(seh_x64_write_prologue_data, seh_x64_size_prologue_data,
881	seh_x64_write_function_xdata, write_function_xdata): Rewrite
882	from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
883	seh_getelm_data_size, seh_getsize_of_unwind_entry,
884	seh_make_unwind_entry, seh_getsize_unwind_data, and
885	seh_create_unwind_data.
886	(seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
887	(write_function_pdata): Rewrite from make_function_entry_pdata.
888	(seh_write_text_eh_data, make_function_entry_pdata,
889	seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
890	seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
891	seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
892	seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
893	seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
894	seh_getsize_of_unwind_entry, seh_make_unwind_entry,
895	seh_getsize_unwind_data, seh_create_unwind_data,
896	seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
897	* config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
898	Add seh_handlerdata.  Adjust function/what arguments for
899	seh_savereg, seh_pushframe, seh_stackalloc.
900	(struct seh_prologue_element): Adjust members to closer match
901	the elements of the UNWIND_CODE structure.
902	(struct seh_scope_elem): Remove.
903	(struct seh_context): Replace char* members with symbolS or
904	expressionS as appropriate.  Sort members by ARM/x64 applicability.
905	Remove obsolete stuff wrt direct symbol and reloc manipulation.
906
9072010-08-25  Alan Modra  <amodra@gmail.com>
908
909	* NEWS: Mention ampersand in macro change.
910
9112010-08-25  Gunther Nikl  <gnikl@users.sourceforge.net>
912
913	* configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
914
9152010-08-25  Alan Modra  <amodra@gmail.com>
916
917	* config/tc-d10v.c (do_assemble): Correctly detect overflow of
918	"name" buffer.
919	* config/tc-m68hc11.c (md_assemble): Likewise.
920	* config/tc-microblaze.c (md_assemble): Likewise.  Correct cast
921	of is_end_of_line index.
922
9232010-08-25  Jie Zhang  <jie@codesourcery.com>
924
925	* config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
926
9272010-08-25  Jie Zhang  <jie@codesourcery.com>
928
929	* config/tc-arm.c (encode_arm_addr_mode_2): Fix
930	BAD_PC_ADDRESSING condition.
931
9322010-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
933
934	* doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
935
9362010-08-19  H.J. Lu  <hongjiu.lu@intel.com>
937
938	* config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
939
9402010-08-18  H.J. Lu  <hongjiu.lu@intel.com>
941
942	* config/tc-i386.c (build_modrm_byte): Check i.imm_operands
943	instead of VEXXDS.
944
9452010-08-18  Alan Modra  <amodra@gmail.com>
946
947	* macro.c (sub_actual): Add back ampersand suffix when no
948	substitution.
949	(macro_expand_body): Correct comment.
950
9512010-08-17  Roland McGrath  <roland@redhat.com>
952
953	* config/obj-elf.c (obj_elf_parse_section_letters): Take new
954	boolean result parameter CLONE; set it if '?' flag letter seen.
955	(obj_elf_section): Update caller.  Handle that flag by copying
956	the LINKONCE and GROUP_NAME state from NOW_SEG.
957	* doc/as.texinfo (Section): Document the ? flag.
958
9592010-08-09  Cary Coutant  <ccoutant@google.com>
960
961	* as.c (show_usage): Don't list --compress-debug-sections if zlib not
962	installed.
963	(main): Warn if --compress-debug-sections requested and zlib not
964	installed.
965	* doc/as.texinfo: Add --compress-debug-sections,
966	--nocompress-debug-sections.
967
9682010-08-06  H.J. Lu  <hongjiu.lu@intel.com>
969
970	* config/tc-i386.c (set_cpu_arch): Re-indent.
971	(md_parse_option): Likewise.
972
9732010-08-06  Quentin Neill <quentin.neill@amd.com>
974
975	* config/tc-i386.c (arch_entry): Add negated bit to
976	  disambiguate flag names starting with "no".
977	  (cpu_arch): Add negated bit definitions.  Add
978	  ".nop" CPU extension.
979	  (i386_align_code): Use new .cpunop bit to decide
980	  when to generate alignment using nops.
981	  (set_cpu_arch): Use negated bit instead to decide
982	  when to use cpu_flags or vs. cpu_flags_and_not.
983	  (md_parse_option): Likewise.
984
9852010-08-04  H.J. Lu  <hongjiu.lu@intel.com>
986
987	* config/tc-i386.c (match_template): Move the first i.error
988	out of the loop.
989
9902010-08-04  Alan Modra  <amodra@gmail.com>
991
992	* configure.tgt (m32c): Set endian=little.
993	* config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
994	* config/tc-m32c.c (md_number_to_chars): Revert last change.
995
9962010-08-03  Tristan Gingold  <gingold@adacore.com>
997
998	* makefile.vms (OBJS): Add Add compress-debug.c.
999
10002010-08-03  Alan Modra  <amodra@gmail.com>
1001
1002	* config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
1003	* config/tc-m32c.c (md_number_to_chars): Call bigendian
1004	form of number_to_chars, not littleendian.
1005
10062010-08-02  Alan Modra  <amodra@gmail.com>
1007
1008	* config/tc-d30v.c (d30v_cons_align): Don't align constants
1009	in debug sections.
1010
10112010-08-02  Alan Modra  <amodra@gmail.com>
1012
1013	PR gas/11867
1014	* expr.c (operand <'-' and '~'>): Widen bignums.
1015	(operand <'!'>): Correct bignum result and convert to O_constant.
1016	* read.c (emit_expr): Don't assert on .byte bignum.  Don't display
1017	bignum truncated warning for sign extended bignums.
1018
10192010-08-02  Alan Modra  <amodra@gmail.com>
1020
1021	* config/tc-v850.c (md_assemble): Always pass format string to
1022	as_warn.
1023	(md_apply_fix): Similarly for as_warn_where.
1024
10252010-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1026
1027	* config/tc-i386-intel.c: Reformat.
1028
10292010-07-29  Alan Modra  <amodra@gmail.com>
1030
1031	* config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
1032	in large toc code.
1033
10342010-07-28  Alan Modra  <amodra@gmail.com>
1035
1036	PR gas/11841
1037	* symbols.c (symbol_clone): Correct typo in previous patch.
1038
10392010-07-28  Alan Modra  <amodra@gmail.com>
1040
1041	PR gas/11841
1042	* symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
1043
10442010-07-28  Alan Modra  <amodra@gmail.com>
1045
1046	* config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
1047	syntax error message.
1048
10492010-07-27  Maciej W. Rozycki  <macro@codesourcery.com>
1050
1051	* config/tc-mips.c (mips16_macro_build): Pass "args" by
1052	reference rather than value.
1053	(macro_build): Update accordingly.
1054
10552010-07-27  Maciej W. Rozycki  <macro@codesourcery.com>
1056
1057	* config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
1058	a fake label.
1059
10602010-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
1061
1062	* config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
1063	delay slot in the noreorder mode with the o32 ABI.
1064
10652010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
1066	    Ina Pandit  <ina.pandit@kpitcummins.com>
1067
1068	* config/tc-v850.c: Update processor_mask.
1069	(reg_name): Update the structure to use processors field.
1070	(md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
1071	SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
1072	SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
1073	SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
1074	SUBYPTE_SA_9_17_22_32.
1075	(set_machine): Add support for V850E2 and V850E2V3.
1076	(md_pseudo_table): Likewise.
1077	(pre_defined_registers): Update pre defined registers suitable
1078	for each family of registers.
1079	(system_registers): Likewise.
1080	(cc_names): Update the condition code.
1081	(float_cc_names): Update the condition code for float.
1082	(reg_name_search): Update based on current modifications.
1083	(register_name): Likewise.
1084	(system_register_name): Update to support new system registers
1085	and supported families.
1086	(cc_name): Update to support new condition codes.
1087	(float_cc_name): New function to support float condition codes.
1088	(parse_register_list): Update to support newly added registers.
1089	(md_show_usage): Define support for V850E2 and V850E2V3 targets.
1090	Also support added for disp-size-default-22, disp-size-default-32,
1091	mextension, mno-bcond17 and mno-stld23.
1092	(md_parse_option): Implement the support for above options defined
1093	in md_show-usage.
1094	(md_convert_frag): Implement support for subtypes defined in
1095	md_relax_table to support branch operations.
1096	(md_begin): Add support for V850E2 and V850E2V3.
1097	(handle_hi016, handle_hi16): new relocation handling functions
1098	(handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
1099	handle_tdaoff): Updated relocation handling functions for newly
1100	added relocations.
1101	(v850_reloc_prefix): Update the relocation handling functions.
1102	(v850_insert_operand): Updated the functions with error message
1103	parameter and modified the function to use it.
1104	(md_assemble): Update according to the latest modifications.
1105	(md_apply_fix): Updated the functions with error message parameter
1106	and modified the function to use it.
1107	(v850_force_relocation): Update with newly added relocations.
1108	* configure.tgt: Match all v850 targets.
1109	* doc/c-v850.texi: Document the newly added targets.
1110	* NEWS: Likewise.
1111
11122010-07-23  Alan Modra  <amodra@gmail.com>
1113
1114	PR gas/11834
1115	* macro.c (macro_expand): Recover gracefully from named args that
1116	don't match params.
1117
11182010-07-22  Thomas Schwinge  <thomas@codesourcery.com>
1119
1120	Switch MIPS to 32-bit DWARF format.
1121	* config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
1122	* config/tc-mips.c (mips_dwarf2_format): Likewise.
1123
11242010-07-20  Alan Modra  <amodra@gmail.com>
1125
1126	* config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
1127
11282010-07-16  Alan Modra  <amodra@gmail.com>
1129
1130	* config/tc-rx.c (md_estimate_size_before_relax): Fix format
1131	specifier warnings for 32-bit host when --enable-64-bit-bfd.
1132	(rx_relax_frag, md_convert_frag): Likewise.
1133
11342010-07-15  Cary Coutant  <ccoutant@google.com>
1135
1136	* gas/NEWS: Add note about --compress-debug-sections.
1137	* gas/as.c (show_usage): Add --compress-debug-sections and
1138	--nocompress-debug-sections.
1139
11402010-07-15  Rhonda Wittels  <rhonda@codesourcery.com>
1141
1142	* config/obj-elf.c (get_sym_from_input_line_and_check): New
1143	function to catch missing pseudo-op arguments.
1144	(obj_elf_local): Call new function.
1145	(obj_elf_weak): Likewise.
1146	(obj_elf_visibility): Likewise.
1147	(obj_elf_vtable_entry): Likewise.
1148	(obj_elf_type): Likewise.
1149
11502010-07-15  Kai Tietz  <kai.tietz@onevision.com>
1151
1152	* config/obj-coff-seh.c
1153	(seh_getelm_data_size): New.
1154	(seh_read_offset): Handle negative values.
1155	(obj_coff_seh_push): Handle offset for save-register store.
1156	(obj_coff_seh_setframe): Add unwind-information for frame.
1157	(seh_store_elm_data): New.
1158	(seh_getelm_data_size): Return additionally unaligned element count.
1159	(seh_make_unwind_entry): Correct tweak about element count.
1160
11612010-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1162
1163	PR gas/11806
1164	* config/tc-i386-intel.c (i386_intel_simplify): Restore fall
1165	through patch for O_multiply.
1166
11672010-07-11  Kai Tietz  <kai.tietz@onevision.com>
1168
1169	PR ld/11612
1170	* config/obj-coff.c (obj_common_parse): Quote symbol-name.
1171
11722010-07-08 Tejas Belagod <tejas.belagod@arm.com>
1173
1174	* tc-arm.c (OP_oBARRIER): Remove.
1175	(OP_oBARRIER_I15): Add.
1176	(po_barrier_or_imm): Add macro.
1177	(parse_operands): Improve OP_oBARRIER_I15 operand parsing.
1178	(do_barrier): Check correct immediate range.
1179	(do_t_barrier): Likewise.
1180	(barrier_opt_names): Add entries for more symbolic operands.
1181	(insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
1182
11832010-07-08  Daniel Gutson  <dgutson@codesourcery.com>
1184
1185	* config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
1186	error message.
1187
11882010-07-06  Maciej W. Rozycki  <macro@codesourcery.com>
1189
1190	* config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
1191	symbols.
1192
11932010-07-06  Maciej W. Rozycki  <macro@codesourcery.com>
1194
1195	* config/tc-mips.c (nops_for_insn_or_target): Replace
1196	MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
1197	MIPS16_INSN_COND_BRANCH.
1198
11992010-07-05  Jim Wilson  <wilson@codesourcery.com>
1200
1201	PR gas/10531
1202	PR gas/11789
1203	* dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
1204	if it isn't empty.
1205
12062010-07-05  Alan Modra  <amodra@gmail.com>
1207
1208	* config/tc-moxie.c (md_apply_fix): Delete set but otherwise
1209	unused var.
1210
12112010-07-04  H.J. Lu  <hongjiu.lu@intel.com>
1212
1213	* Makefile.am (CONFIG_OBJS): Removed.
1214	(GENERIC_OBJS): Likewise.
1215	(OBJS): Likewise.
1216	* Makefile.in: Regenerated.
1217
12182010-07-03  Jan Beulich  <jbeulich@novell.com>
1219
1220	PR gas/11732
1221	* config/tc-i386.c (i386_finalize_displacement): Don't call
1222	section_symbol() with expr_section.
1223
12242010-07-03  Cary Coutant  <ccoutant@google.com>
1225
1226	* Makefile.am: Add compress-debug.c and compress-debug.h.
1227	* Makefile.in: Regenerate.
1228	* config.in: Add HAVE_ZLIB_H.
1229	* configure.in: Check for zlib.h.
1230	* configure: Regenerate.
1231
1232	* as.c (parse_args): Add --compress-debug-sections and
1233	--nocompress-debug-sections.
1234	* as.h (flag_compress_debug): New variable.
1235	* compress-debug.c: New file.
1236	* compress-debug.h: New file.
1237	* write.c: Include compress-debug.h.
1238	(compress_frag): New function.
1239	(compress_debug): New function.
1240	(write_object_file): Compress debug sections if requested.
1241
12422010-07-03  Andreas Schwab  <schwab@linux-m68k.org>
1243
1244	* config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
1245	before inverting.
1246
12472010-07-03  Alan Modra  <amodra@gmail.com>
1248
1249	* config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
1250	(ppc_setup_opcodes): Likewise.  Simplify opcode selection.
1251
12522010-07-02  DJ Delorie  <dj@redhat.com>
1253
1254	* config/tc-rx.h (md_do_align): New.
1255	(MAX_MEM_FOR_RS_ALIGN_CODE): New.
1256	* config/tc-rx.c (nops): New.
1257	(rx_handle_align): Use various sized nops to align code.
1258
1259	* config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
1260	relaxation.
1261	(rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
1262
12632010-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1264
1265	AVX Programming Reference (June, 2010)
1266	* config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
1267	and .f16c.
1268
1269	* doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
1270
12712010-07-01  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1272
1273	* config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
1274	deprecated mov register instructions.
1275
12762010-07-01  Alan Modra  <amodra@gmail.com>
1277
1278	* config/tc-ppc.c (toc_reloc_types): New variable.
1279	(md_assemble): Set it.
1280	(ppc_frob_file_before_adjust): Don't warn about toc section size
1281	if we have large toc relocs and no small toc relocs.
1282
12832010-06-29  Alan Modra  <amodra@gmail.com>
1284
1285	* config/tc-maxq.h: Delete file.
1286	* config/tc-maxq.c: Delete file.
1287	* Makefile.am: Remove references to maxq.
1288	* configure.tgt: Likewise.
1289	* config/obj-coff.h: Likewise.
1290	* Makefile.in: Regenerate.
1291	* configure: Regenerate.
1292	* po/POTFILES.in: Regenerate.
1293
12942010-06-28  Alan Modra  <amodra@gmail.com>
1295
1296	* config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
1297	* config/tc-crx.c (gettrap): Constify arg.
1298	(handle_LoadStor, get_cinv_parameters): Likewise.
1299	(getreg_image): Fix enum warning
1300	(md_assemble): Restore input line char.
1301	* config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
1302	* config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
1303	* config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
1304	(build_Mytes): Fix build failure for non-elf targets.
1305	* config/tc-tic4x.c (tic4x_eval): Restore terminator char.
1306	* config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
1307
1308	* cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
1309	* ecoff.c (add_ecoff_symbol): Likewise.
1310	* itbl-ops.c (append_insns_as_macros): Likewise.
1311	* listing.c (debugging_pseudo): Likewise.
1312	* read.c (s_mri_common, stringer): Likewise.
1313	* config/obj-coff.c (coff_frob_section): Likewise.
1314	* config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
1315	* config/tc-arm.c (my_get_expression): Likewise.
1316	* config/tc-hppa.c (process_exit, pa_type_args): Likewise.
1317	* config/tc-m32c.c (md_assemble): Likewise.
1318	* config/tc-microblaze.c (md_convert_frag): Likewise.
1319	* config/tc-mips.c (s_change_section): Likewise.
1320	* config/tc-mt.c (mt_fix_adjustable): Likewise.
1321	* config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
1322
1323	* config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
1324	unused vars.
1325	* config/tc-alpha.c (load_expression): Likewise.
1326	(s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
1327	* config/tc-arm.c (parse_neon_el_struct_list): Likewise.
1328	* config/tc-avr.c (extract_word): Likewise.
1329	* config/tc-cris.c (cris_get_expression): Likewise.
1330	* config/tc-d30v.c (build_insn, find_format): Likewise.
1331	* config/tc-dlx.c (machine_ip): Likewise.
1332	* config/tc-hppa.c (pa_get_absolute_expression): Likewise.
1333	* config/tc-i370.c (md_assemble): Likewise.
1334	* config/tc-i960.c (brtab_emit): Likewise.
1335	* config/tc-iq2000.c (s_iq2000_ent): Likewise.
1336	* config/tc-m32c.c (md_convert_frag): Likewise.
1337	* config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
1338	(md_estimate_size_before_relax, md_apply_fix): Likewise.
1339	* config/tc-m68k.c (md_show_usage): Likewise.
1340	* config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
1341	* config/tc-mips.c (s_mips_end): Likewise.
1342	* config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
1343	* config/tc-mn10300.c (md_assemble): Likewise.
1344	* config/tc-msp430.c (extract_word): Likewise.
1345	* config/tc-mt.c (md_assemble): Likewise.
1346	* config/tc-or32.c (machine_ip): Likewise.
1347	* config/tc-pj.c (md_apply_fix): Likewise.
1348	* config/tc-s390.c (md_gather_operands): Likewise.
1349	* config/tc-sh.c (sh_cons_align): Likewise.
1350	* config/tc-sparc.c (sparc_cons_align): Likewise.
1351	* config/tc-tic4x.c (tic4x_sect): Likewise.
1352	* config/tc-tic54x.c (tic54x_stringer): Likewise.
1353	* config/tc-vax.c (vip_op): Likewise.
1354	* config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
1355	* config/tc-xtensa.c (md_assemble): Likewise.
1356	(xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
1357	(xtensa_move_literals): Likewise.
1358
13592010-06-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1360
1361	* config/tc-arm.c (parse_neon_alignment): New function.
1362	(parse_address_main): Fix Neon load/store alignment parsing.
1363
13642010-06-22  Jan Beulich  <jbeulich@novell.com>
1365
1366	* config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
1367	symbols named "$".
1368	(i386_intel_operand): Remove bogus handling of pseudo symbols
1369	named "$".
1370	* expr.c (current_location): Remove 'static' and local
1371	declaration.
1372	* expr.h (current_location): Declare.
1373
13742010-06-21  Sterling Augustine  <sterling@tensilica.com>
1375
1376	PR gas/11728
1377	* as.c: Globalize keep_it.
1378	(main): Remove keep_it. Move conditional from here...
1379	(close_output_file): ...to here.
1380
13812010-06-21  Andreas Schwab  <schwab@redhat.com>
1382
1383	* doc/as.texinfo (Overview): Use @itemx for grouped @table
1384	items.
1385	* doc/c-alpha.texi (Alpha Options): Likewise.
1386	* doc/c-arm.texi (ARM Directives): Likewise.
1387	* doc/c-bfin.texi (Blackfin Options): Likewise.
1388	* doc/c-d10v.texi (D10V-Opts): Likewise.
1389	* doc/c-i386.texi (i386-Options): Likewise.
1390	* doc/c-ia64.texi (IA-64 Options): Likewise.
1391	* doc/c-m68k.texi (M68K-Opts): Likewise.
1392	* doc/c-tic54x.texi (TIC54X-Directives): Likewise.
1393	* doc/internals.texi (Symbols): Likewise.
1394
13952010-06-21  Alan Modra  <amodra@gmail.com>
1396
1397	PR gas/11733
1398	* config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
1399
14002010-06-18  Joseph Myers  <joseph@codesourcery.com>
1401
1402	* config/tc-tic6x.h (tic6x_segment_info_type): Add field
1403	func_units_used.
1404	* config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
1405	(md_assemble): Clear func_units_used for new execute packet.
1406	Check for duplicate functional units and update func_units_used
1407	for instructions using a functional unit.
1408
14092010-06-15  Joseph Myers  <joseph@codesourcery.com>
1410
1411	* config/tc-tic6x.c: Include elf/tic6x.h.
1412	(tic6x_arch_attribute, tic6x_seen_insns): New.
1413	(tic6x_arch_table, tic6x_arches): Add attribute values.
1414	(tic6x_use_arch): Handle attribute settings.
1415	(tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
1416	tic6x_attribute_table, tic6x_attributes,
1417	tic6x_convert_symbolic_attribute): New.
1418	(md_pseudo_table): Add c6xabi_attribute.
1419	(md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
1420	(tic6x_set_attribute_int, tic6x_set_attributes): New.
1421	(tic6x_end): Call tic6x_set_attributes.
1422	* config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
1423	(tic6x_convert_symbolic_attribute): Declare.
1424
14252010-06-14  Alan Modra  <amodra@gmail.com>
1426
1427	* config/tc-ppc.c (md_assemble): Emit APUinfo section for
1428	PPC_OPCODE_E500.
1429
14302010-06-11  Jan Beulich  <jbeulich@novell.com>
1431
1432	* config/tc-i386.c (md_parse_option): Ignore impossible processor
1433	types.
1434	(show_arch): New parameter 'check'.
1435	(md_show_usage): Adjust calls to show_arch().
1436
14372010-06-10  H.J. Lu  <hongjiu.lu@intel.com>
1438
1439	* config/tc-i386.c (update_code_flag): New.
1440	(set_code_flag): Use it.
1441	(i386_target_format): Replace set_code_flag with update_code_flag.
1442
14432010-06-10  Tristan Gingold  <gingold@adacore.com>
1444
1445	* config/obj-som.h: Includes som/reloc.h
1446
14472010-06-10  Jan Beulich  <jbeulich@novell.com>
1448
1449	* config/tc-i386.c (cpu_arch): Add comment.
1450	(i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
1451	from the generic entries of cpu_arch[].
1452
14532010-06-08  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1454
1455	* config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
1456	value.
1457	(parse_operands): Add support for OP_RRnpctw.
1458	(insns): Update floating-point load/store multiples so the
1459	first register is of type OP_RRnpctw.
1460
14612010-06-08  Quentin Neill  <quentin.neill@amd.com>
1462
1463	* config/tc-i386.c (pi): Rename local loop counter
1464	variable i that shadows global static i386_insn i
1465	when DEBUG386 is defined.
1466	(pte) Ditto.
1467
14682010-06-08  Nick Clifton  <nickc@redhat.com>
1469
1470	* doc/as.texinfo: Replace abbreviated 20th century year numbers
1471	with full versions.
1472
14732010-06-02  Quentin Neill  <quentin.neill@amd.com>
1474
1475	* config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
1476
14772010-06-02  Tristan Gingold  <gingold@adacore.com>
1478
1479	* as.h: Remove conditionnal definition of HAVE_STDARG_H,
1480	USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
1481	Remove conditionnal inclusion of stdarg.h and varargs.h.
1482	Assume ISO C.
1483	* config.in: Regenerate.
1484	* configure: Regenerate.
1485	* configure.in: Remove stdarg.h and varargs.h from
1486	AC_CHECK_HEADERS list.
1487	* messages.c (as_tsktsk): Remove non ISO C version.
1488	(as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
1489
14902010-05-31  Tristan Gingold  <gingold@adacore.com>
1491
1492	* config/tc-alpha.c: Add comments for evax.
1493	* config/obj-evax.c: Ditto.
1494
14952010-05-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1496
1497	* config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
1498	lsls and not adds.
1499
15002010-05-27  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1501
1502	* config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
1503	writeback when base register is in register list an error, and
1504	correct check.
1505	(do_t_ldmstm): Change warnings.
1506
15072010-05-26  Catherine Moore  <clm@codesourcery.com>
1508
1509	* config/tc-mips.c (is_opcode_valid): Remove expansionp.
1510	(macro_build): Change invocation of is_opcode_valid.
1511	(mips_ip): Likewise.
1512
15132010-05-25  Nick Clifton  <nickc@redhat.com>
1514
1515	* Makefile.am (MOSTLYCLEANFILES): Fix typo.
1516	* Makefile.in: Regenerate.
1517
15182010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
1519	    Joseph Myers  <joseph@codesourcery.com>
1520	    Andrew Stubbs  <ams@codesourcery.com>
1521
1522	* config/tc-sh.c (sh_fdpic): New.
1523	(sh_check_fixup): Handle relocations on movi20.
1524	(parse_exp): Do not reject PIC operators here.
1525	(build_Mytes): Check for unhandled PIC operators here.  Use
1526	sh_check_fixup for movi20.
1527	(enum options): Add OPTION_FDPIC.
1528	(md_longopts, md_parse_option, md_show_usage): Add --fdpic.
1529	(sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
1530	(sh_elf_final_processing): Handle --fdpic.
1531	(sh_uclinux_target_format): New.
1532	(sh_parse_name): Handle FDPIC relocation operators.
1533	* config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
1534	(sh_uclinux_target_format): Declare for TE_UCLINUX.
1535	* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
1536	em=uclinux.
1537	* doc/c-sh.texi (SH Options): Document --fdpic.
1538
15392010-05-25  Jay Krell  <jay.krell@cornell.edu>
1540
1541	PR ld/11621
1542	* Makefile.am: Replace all occurences of .o with .@OBJEXT@
1543	* Makefile.in: Regenerate.
1544
15452010-05-25  Alan Modra  <amodra@gmail.com>
1546
1547	* config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
1548
15492010-05-19  Nick Clifton  <nickc@redhat.com>
1550
1551	* config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
1552	of known section prefixes.
1553
15542010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1555
1556	PR gas/11600
1557	* obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
1558	(obj_elf_parse_section_letters): Likewise.
1559	(obj_elf_section_word): Likewise.
1560
1561	* config/tc-ppc.c (ppc_section_letter): Removed.
1562	(ppc_section_word): Likewise.
1563	* config/tc-ppc.h (ppc_section_letter): Likewise.
1564	(ppc_section_word): Likewise.
1565	(md_elf_section_letter): Likewise.
1566	(md_elf_section_word): Likewise.
1567
1568	* doc/as.texinfo: Document `e' and `#exclude'.
1569
15702010-05-13  Nathan Sidwell  <nathan@codesourcery.com>
1571
1572	* config/tc-arm.c (md_assemble): Clarify current mode in error
1573	messages about unsupported instructions.
1574	(UT): Delete #define.
1575	(insns): Adjust cbnz, cbz appropriately.
1576
15772010-05-11  Andrew Stubbs  <ams@codesourcery.com>
1578
1579	* config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
1580
15812010-05-11  Jie Zhang  <jie@codesourcery.com>
1582
1583	* config/tc-arm.c (aeabi_set_public_attributes): Set
1584	Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
1585
15862010-05-07  Tristan Gingold  <gingold@adacore.com>
1587
1588	* Makefile.in: Regenerate with automake 1.11.1.
1589	* aclocal.m4: Ditto.
1590	* doc/Makefile.in: Ditto.
1591
15922010-05-05  Nick Clifton  <nickc@redhat.com>
1593
1594	* po/es.po: Updated Spanish translation.
1595
15962010-05-05  Julian Brown  <julian@codesourcery.com>
1597
1598	* read.c (cons_worker): Detect and reject unexpected string argument.
1599
16002010-05-04  Nick Clifton  <nickc@redhat.com>
1601
1602	* write.c (fixup_segment): Revert previous delta.
1603	* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
1604	generation of relocations for fixups against weak symbols.
1605
16062010-04-29  Nathan Sidwell  <nathan@codesourcery.com>
1607
1608	* write.c (fixup_segment): Do not assume we know the section a
1609	defined weak symbol is in.
1610	* config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
1611	weak symbols as not known to be in the same section, even if they
1612	are defined.
1613
16142010-04-27  Joseph Myers  <joseph@codesourcery.com>
1615
1616	* config/tc-tic6x.h (tic6x_label_list): New.
1617	(tic6x_segment_info_type): Keep a list of labels and a current
1618	frag instead of a boolean for whether labels seen and a count of
1619	instructions.
1620	(tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
1621	md_do_align, tic6x_do_align, md_end, tic6x_end): New.
1622	* config/tc-tic6x.c (tic6x_frob_label): Put label on list.
1623	(tic6x_cleanup): Correct comment.
1624	(tic6x_free_label_list): New.
1625	(tic6x_cons_align): Free label list and update for
1626	tic6x_segment_info_type changes.
1627	(tic6x_do_align): New.
1628	(md_assemble): Handle list of labels and saved frag for execute
1629	packet.  Create machine-dependent frag for new execute packet and
1630	adjust labels accordingly.
1631	(tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
1632	(md_convert_frag, md_estimate_size_before_relax): Update comments.
1633
16342010-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1635
1636	PR gas/11535
1637	* config/tc-i386-intel.c (intel_state): Add is_indirect.
1638	(i386_intel_operand): Initialize intel_state.is_indirect.  Check
1639	intel_state.is_indirect for "call|jmp [symbol]".
1640
16412010-04-22  Nick Clifton  <nickc@redhat.com>
1642
1643	* po/gas.pot: Updated by the Translation project.
1644
16452010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
1646
1647	* config/tc-i386.c (i386_is_register): Removed.
1648	(x86_cons): Don't use i386_is_register.
1649	(parse_register): Likewise.
1650	* config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1651	(i386_intel_operand): Likewise.
1652
16532010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
1654
1655	* config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
1656	i386_is_register.
1657
16582010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
1659
1660	* config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
1661	(x86_cons): Updated.
1662	(parse_register): Likewise.
1663	(tc_x86_parse_to_dw2regnum): Likewise.
1664	* config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1665	(i386_intel_operand): Likewise.
1666
16672010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
1668
1669	PR gas/11509
1670	* config/tc-i386-intel.c (i386_intel_simplify_register): New.
1671	(i386_intel_simplify): Use i386_is_register and
1672	i386_intel_simplify_register. Set X_md for O_register and
1673	check X_md for O_constant.
1674	(i386_intel_operand): Use i386_is_register.
1675
1676	* config/tc-i386.c (i386_is_register): New.
1677	(x86_cons): Initialize the X_md field.  Use i386_is_register.
1678	(parse_register): Use i386_is_register.
1679	(tc_x86_parse_to_dw2regnum): Likewise.
1680
16812010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
1682
1683	* expr.c (expr): Initialize the X_md field.
1684
16852010-04-20  Joseph Myers  <joseph@codesourcery.com>
1686
1687	* config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1688	(md_longopts): Add -mgenerate-rel.
1689	(tic6x_generate_rela): New.
1690	(md_parse_option): Handle -mgenerate-rel.
1691	(md_show_usage): Add comment that -mgenerate-rel is undocumented.
1692	(tic6x_init_after_args): New.
1693	(md_apply_fix): Correct shift calculations for SB-relative
1694	relocations.
1695	(md_pcrel_from): Change to tic6x_pcrel_from_section.  Do not
1696	adjust addresses for relocations referencing symbols in other
1697	sections.
1698	(tc_gen_reloc): Adjust addend calculations for REL relocations.
1699	* config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1700	tic6x_pcrel_from_section, tc_init_after_args,
1701	tic6x_init_after_args): New.
1702
17032010-04-20  Nick Clifton  <nickc@redhat.com>
1704
1705	PR gas/11507
1706	* macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1707	altmacro mode if found inside a quoted string.
1708
17092010-04-20  Mike Frysinger  <vapier@gentoo.org>
1710
1711	* config/bfin-lex.l (parse_int): Change index() to strchr().
1712
17132010-04-16  Nick Clifton  <nickc@redhat.com>
1714
1715	PR gas/11395
1716	* config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1717	matcher to accept and unconditional 32-bit add instruction.
1718	(pa_build_unwind_subspace): Cope with error conditions not
1719	allowing the start symbol to be set.
1720
17212010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1722
1723	* config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1724	new tag names in v2.08 of ARM ABI.
1725	* doc/c-arm.texi: Document new tag names in ABI.
1726
17272010-04-14  Tristan Gingold  <gingold@adacore.com>
1728
1729	* config/tc-alpha.c: Includes vms/egps.h on EVAX.
1730	(s_alpha_comm): Used new EGPS macros from egps.h
1731	(RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1732	(s_alpha_section_word): Add comments.  Use new EGPS macros.
1733	Adjust for modified bfd_vms_set_section_flags function.
1734
17352010-04-10  Alan Modra  <amodra@gmail.com>
1736
1737	PR gas/11486
1738	* config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1739
17402010-04-09  Nick Clifton  <nickc@redhat.com>
1741
1742	* as.c (create_obj_attrs_section): Remove unused variable addr.
1743	* listing.c (listing_listing): Remove unused variable message.
1744	* read.c: Remove unnecessary register type qualifiers.
1745	(s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1746	defined.
1747
17482010-04-07  Eric B. Weddington  <eric.weddington@atmel.com>
1749
1750	* config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1751	atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1752	atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1753	atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1754	atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1755	atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1756	atmega88pa, attiny461a, attiny84a, m3000.
1757	Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1758	atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1759	* doc/c-avr.texi: Same.
1760
17612010-04-07  Jie Zhang  <jie@codesourcery.com>
1762
1763	* config/tc-arm.c (make_mapping_symbol): Handle the case
1764	that multiple mapping symbols have the same value 0.
1765
17662010-04-07  Alan Modra  <amodra@gmail.com>
1767
1768	* configure: Regenerate.
1769
17702010-04-06  Nick Clifton  <nickc@redhat.com>
1771
1772	* po/ru.po: New Russian translation.
1773	* configure.in (ALL_LINGUAS): Add ru.
1774	* configure: Regenerate.
1775
17762010-03-30  H.J. Lu  <hongjiu.lu@intel.com>
1777
1778	PR gas/11456
1779	* input-scrub.c (input_scrub_next_buffer): Use memmove instead
1780	of memcpy to copy overlap memory.
1781
17822010-03-25  Joseph Myers  <joseph@codesourcery.com>
1783
1784	* Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1785	(TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1786	* Makefile.in: Regenerate.
1787	* NEWS: Add news entry for TI C6X support.
1788	* app.c (do_scrub_chars): Handle "||^" for TI C6X.  Handle
1789	TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR.  Keep spaces in
1790	operands if TC_KEEP_OPERAND_SPACES.
1791	* configure.tgt (tic6x-*-*): New.
1792	* config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1793	TC_PREDICATE_END_CHAR): Define.
1794	* config/tc-tic6x.c, config/tc-tic6x.h: New.
1795	* doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1796	* doc/Makefile.in: Regenerate.
1797	* doc/all.texi (TIC6X): Define.
1798	* doc/as.texinfo: Add TI C6X documentation.  Include c-tic6x.texi.
1799	* doc/c-tic6x.texi: New.
1800
18012010-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1802
1803	* config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1804
18052010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1806
1807	* config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1808	with operand_size_mismatch.
1809	(operand_size_match): Updated.
1810	(match_template): Likewise.
1811
18122010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1813
1814	* config/tc-i386.c (i386_error): New.
1815	(_i386_insn): Replace err_msg with error.
1816	(operand_size_match): Set error instead of err_msg on failure.
1817	(operand_type_match): Likewise.
1818	(operand_type_register_match): Likewise.
1819	(VEX_check_operands): Likewise.
1820	(match_template): Likewise.  Use error instead of err_msg with
1821	as_bad.
1822
18232010-03-19  Jie Zhang  <jie@codesourcery.com>
1824
1825	* config/tc-arm.c (make_mapping_symbol): Hanle the case
1826	that two mapping symbols have the same value.
1827
18282010-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
1829
1830	* doc/c-arm.texi (.setfp): Correct example.
1831
18322010-03-18  Wei Guozhi  <carrot@google.com>
1833
1834	PR gas/11323
1835	* config/tc-arm.c (reloc_names): New relocation names.
1836	(md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1837	(tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1838	* doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1839
18402010-03-15  Thomas Schwinge  <thomas@codesourcery.com>
1841
1842	* dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1843	cases, and not only for .eh_frame.
1844
1845	* dw2gencfi.c (output_cie): Make it more explicit which code paths
1846	belong to .eh_frame only.
1847
18482010-03-13  Segher Boessenkool  <segher@kernel.crashing.org>
1849
1850	* config/tc-v850.c (v850_insert_operand): Handle out-of-range
1851	assembler constants on 64-bit hosts.
1852
18532010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
1854
1855	* bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1856	Strip trailing whitespace.
1857
18582010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
1859
1860	* doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1861	* config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1862	BFIN_CPU_BF506.
1863	(bfin_cpus[]): Add 0.0 for bf504 and bf506.
1864
18652010-03-10  Jie Zhang  <jie@codesourcery.com>
1866
1867	* doc/as.texinfo: Add Blackfin options.
1868	* doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1869	* config/tc-bfin.c (md_show_usage): Show usage for all
1870	Blackfin specific options.
1871
18722010-03-09  Alan Modra  <amodra@gmail.com>
1873
1874	PR gas/11356
1875	* listing.c (listing_newline): Correct backslash quote logic.
1876
18772010-03-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1878
1879	* config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1880	(ELF_TARGET_FORMAT64): Define.
1881
18822010-03-05  Paul Brook  <paul@codesourcery.com>
1883
1884	* config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1885
18862010-03-02  Andrew Stubbs  <ams@codesourcery.com>
1887
1888	* config/tc-sh.c (get_specific): Move overflow checking code to avoid
1889	reading uninitialized data.
1890
18912010-03-01  Tristan Gingold  <gingold@adacore.com>
1892
1893	* config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1894
18952010-02-26  Doug Evans  <dje@sebabeach.org>
1896
1897	* configure.tgt: Fix mep cpu case.
1898
18992010-02-26  Jie Zhang  <jie@codesourcery.com>
1900
1901	* config/tc-arm.c (do_t_strexd): Remove
1902	operand[1] != operand[2] contraint.
1903
19042010-02-26  Jie Zhang  <jie@codesourcery.com>
1905
1906	* config/tc-arm.c (neon_select_shape): No need to match
1907	the remaining operands in the shape when one operand does
1908	not match.
1909
19102010-02-26  Jie Zhang  <jie@codesourcery.com>
1911
1912	* config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1913	alignment.
1914
19152010-02-25  Doug Evans  <dje@sebabeach.org>
1916
1917	* cgen.c: Whitespace fixes.
1918	(weak_operand_overflow_check): Formatting fix.
1919
19202010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
1921
1922	* config/tc-i386.c (match_template): Update error messages.
1923
19242010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
1925
1926	* config/tc-i386.c (_i386_insn): Add err_msg.
1927	(operand_size_match): Set err_msg on failure.
1928	(operand_type_match): Likewise.
1929	(operand_type_register_match): Likewise.
1930	(VEX_check_operands): Likewise.
1931	(match_template): Likewise.  Use i.err_msg with as_bad.
1932
19332010-02-25  Wu Zhangjin <wuzhangjin@gmail.com>
1934
1935	* config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1936	mips_fix_loongson2f_jump): New variables.
1937	(md_longopts): Add New options -mfix-loongson2f-nop/jump,
1938	-mno-fix-loongson2f-nop/jump.
1939	(md_parse_option): Initialize variables via above options.
1940	(options): New enums for the above options.
1941	(md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1942	(fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1943	New functions.
1944	(append_insn): call fix_loongson2f().
1945	(mips_handle_align): Replace the implicit nops.
1946	* config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1947	for the new mips_handle_align().
1948	* doc/c-mips.texi: Document the new options.
1949
19502010-02-23  Daniel Gutson  <dgutson@codesourcery.com>
1951
1952	* config/tc-arm.c (do_rd_rm_rn): Added warning
1953	for obsolete insns.
1954
19552010-02-23  Andrew Zabolotny  <anpaza@mail.ru>
1956
1957	PR binutils/11297
1958	* config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1959	(avr_cons_fix_new): Handle fixups of a single byte.
1960
19612010-02-22  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1962
1963	PR 9861
1964	* config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1965	compiler's predefines.
1966
19672010-02-19  Alan Modra  <amodra@gmail.com>
1968
1969	* configure.tgt: Whiltespace.  Sort moxie entry.
1970
19712010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1972
1973	* config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1974	* doc/c-arm.texi: Likewise.
1975
19762010-02-12  Daniel Gutson <dgutson@codesourcery.com>
1977
1978	* config/tc-arm.c (asm_opcode): operands type
1979	change.
1980	(BAD_PC_ADDRESSING): New macro message.
1981	(BAD_PC_WRITEBACK): Likewise.
1982	(MIX_ARM_THUMB_OPERANDS): New macro.
1983	(operand_parse_code): Added enum values.
1984	(parse_operands): Added thumb/arm distinction,
1985	plus new enum values handling.
1986	(encode_arm_addr_mode_2): Validations enhanced.
1987	(encode_arm_addr_mode_3): Likewise.
1988	(do_rm_rd_rn): Likewise.
1989	(encode_thumb32_addr_mode): Likewise.
1990	(do_t_ldrex): Likewise.
1991	(do_t_ldst): Likewise.
1992	(do_t_strex): Likewise.
1993	(md_assemble): Call parse_operands with
1994	a new parameter.
1995	(OPS_1): New macro.
1996	(OPS_2): Likewise.
1997	(OPS_3): Likewise.
1998	(OPS_4): Likewise.
1999	(OPS_5): Likewise.
2000	(OPS_6): Likewise.
2001	(insns): Updated insns operands.
2002
20032010-02-12  Tristan Gingold  <gingold@adacore.com>
2004	    Douglas B Rupp  <rupp@gnat.com>
2005
2006	* config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
2007	(DUMMY_RELOC_IA64_SLOTCOUNT): Added.
2008	(pseudo_func): Add an entry for slotcount.
2009	(md_begin): Initialize slotcount pseudo symbol.
2010	(ia64_parse_name): Handle @slotcount parameter.
2011	(ia64_gen_real_reloc_type): Handle slotcount.
2012	(md_apply_fix): Ditto.
2013	* doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
2014
20152010-02-11  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
2016
2017	* config/tc-xtensa.c (istack_init): Don't call memset.
2018
20192010-02-11  Sterling Augustine  <sterling@tensilica.com>
2020
2021	* config/tc-xtensa.c (cache_literal_section): Handle prefixes as
2022	well as suffixes.
2023
20242010-02-11  Sterling Augustine  <sterling@tensilica.com>
2025
2026	* config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
2027
20282010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
2029
2030	* config/tc-i386.c (build_modrm_byte): Reformat.
2031
20322010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
2033
2034	* config/tc-i386.c: Update copyright.
2035
20362010-02-10  Quentin Neill  <quentin.neill@amd.com>
2037	    Sebastian Pop  <sebastian.pop@amd.com>
2038
2039	* config/tc-i386.c (vec_imm4) New operand type.
2040	(fits_in_imm4): New.
2041	(VEX_check_operands): New.
2042	(check_reverse): Call VEX_check_operands.
2043	(build_modrm_byte): Reintroduce code for 5
2044	operand insns.  Fix whitespace.
2045
20462010-02-10  Richard Sandiford  <r.sandiford@uk.ibm.com>
2047
2048	* config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
2049	-mpwr6 and -mpwr7.
2050
20512010-02-09  Sterling Augustine  <sterling@tensilica.com>
2052
2053	* config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
2054	(next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
2055	(xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
2056
20572010-02-08  Christophe Lyon  <christophe.lyon@st.com>
2058
2059	* config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
2060	non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
2061	BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
2062	BFD_RELOC_ARM_PCREL_CALL)
2063
20642010-02-08  Sterling Augustine  <sterling@tensilica.com>
2065
2066	* config/tc-xtensa.c (frag_format_size): Generalize logic to
2067	handle more instruction	sizes and fetch widths.
2068	(branch_align_power): Likewise.
2069	(text_align_power): Likewise.
2070	(bytes_to_stretch): Likewise.
2071
20722010-02-08  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
2073
2074	* config/tc-ppc.c (md_show_usage): Mention -mtitan.  Don't use tabs.
2075	(ppc_mach): Handle titan.
2076	* doc/c-ppc.texi: Mention -mtitan.
2077
20782010-02-05  Sterling Augustine  <sterling@tensilica.com>
2079
2080	* config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
2081	replace with...
2082	(xtensa_fetch_width) ...this.
2083
20842010-02-05  Joseph Myers  <joseph@codesourcery.com>
2085
2086	* Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
2087	MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
2088	* Makefile.in: Regenerate.
2089
20902010-02-03  Quentin Neill  <quentin.neill@amd.com>
2091
2092	* config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
2093	(i386_align_code): Rename  PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
2094	* config/tc-i386.h (processor_type): Same.
2095	* doc/c-i386.texi: Change amdfam15 to bdver1.
2096
20972010-01-29  Nick Clifton  <nickc@redhat.com>
2098
2099	PR 11136
2100	* config/tc-arm.c (neon_check_type): Handle a neon_shape value of
2101	NS_NULL.
2102
21032010-01-27  Dave Korn  <dave.korn.cygwin@gmail.com>
2104
2105	* NEWS: Mention new feature.
2106	* config/obj-coff.c (obj_coff_section): Accept digits and use
2107	to override default section alignment power if specified.
2108	* doc/as.texinfo (.section directive): Update documentation.
2109
21102010-01-27  H.J. Lu  <hongjiu.lu@intel.com>
2111
2112	* config/tc-i386.c (avxscalar): New.
2113	(OPTION_MAVXSCALAR): Likewise.
2114	(build_vex_prefix): Select vector_length for scalar instructions
2115	based on avxscalar.
2116	(md_longopts): Add OPTION_MAVXSCALAR.
2117	(md_parse_option): Handle OPTION_MAVXSCALAR.
2118	(md_show_usage): Add -mavxscalar=.
2119
2120	* doc/c-i386.texi: Document -mavxscalar=.
2121
21222010-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2123
2124	* config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
2125	0xc4 individually.
2126
21272010-01-23  Richard Sandiford  <r.sandiford@uk.ibm.com>
2128
2129	* write.h (fix_at_start): Declare.
2130	* write.c (fix_new_internal): Add at_beginning parameter.
2131	Use it instead of REVERSE_SORT_RELOCS.  Fix the handling of
2132	seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
2133	(fix_new, fix_new_exp): Update accordingly.
2134	(fix_at_start): New function.
2135	* config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
2136	(ppc_ref): New function, for OBJ_XCOFF.
2137	(md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
2138	* config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
2139
21402010-01-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2141
2142	* config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
2143	on 64-bit Solaris/x86.
2144	Include obj-format.h earlier.
2145
21462010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2147
2148	* config/tc-s390.c (s390_elf_final_processing): New function.
2149	* config/tc-s390.h (elf_tc_final_processing): New macro definition.
2150	(s390_elf_final_processing): Added prototype.
2151
2152
21532010-01-20  Nick Clifton  <nickc@redhat.com>
2154
2155	PR 11109
2156	* config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1.  Add
2157	code to handle round-to-zero for VCVT conversions.
2158	(do_neon_cvt): New.  Call do_neon_cvt_1.
2159	(do_neon_cvtr): New.  Call do_neon_cvt_1.
2160	(insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
2161	insn.
2162
21632010-01-18  Tristan Gingold  <gingold@adacore.com>
2164
2165	* config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
2166
21672010-01-15  Sebastian Pop  <sebastian.pop@amd.com>
2168
2169	* config/tc-i386.c (md_assemble): Before accessing the IMM field
2170	check that it's not an XOP insn.
2171
21722010-01-14  Jie Zhang  <jie.zhang@analog.com>
2173
2174	* config/bfin-aux.h: Remove argument names in function
2175	declarations.
2176	* config/bfin-lex.l (parse_int): Fix shadowed variable name
2177	warning.
2178	* config/bfin-parse.y (value_match): Remove argument names
2179	in declaration.
2180	(notethat): Likewise.
2181	(yyerror): Likewise.
2182
21832010-01-13  Daniel Jacobowitz  <dan@codesourcery.com>
2184
2185	* config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
2186
21872010-01-13  Nick Clifton  <nickc@redhat.com>
2188
2189	* config/tc-h8300.c (h8300_elf_section): New function - issue a
2190	warning message if a new section is created without setting any
2191	attributes for it.
2192	(md_pseudo_table): Intercept section creation pseudos.
2193	(md_pcrel_from): Replace abort with an error message.
2194	* config/obj-elf.c (obj_elf_section_name): Export this function.
2195	* config/obj-elf.h (obj_elf_section_name): Prototype.
2196
21972010-01-12  Alan Modra  <amodra@gmail.com>
2198
2199	PR 11122
2200	* listing.c (print_source): Add one to line number.
2201
22022010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2203
2204	* Makefile.in: Regenerate.
2205	* configure: Regenerate.
2206	* doc/Makefile.in: Regenerate.
2207
22082010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
2209
2210	* version.c (parse_args): Change to "Copyright 2010".
2211
22122010-01-06  Quentin Neill  <quentin.neill@amd.com>
2213
2214	* config/tc-i386.c (cpu_arch): Add amdfam15.
2215	(i386_align_code): Add PROCESSOR_AMDFAM15 cases.
2216	* config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
2217	* doc/c-i386.texi: Add amdfam15.
2218
22192010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
2220
2221	* config/tc-arm.c (do_neon_logic): Accept imm value
2222	in the third operand too.
2223	(operand_parse_code): OP_RNDQ_IMVNb renamed to
2224	OP_RNDQ_Ibig.
2225	(parse_operands): OP_NILO case removed, applied renaming.
2226	(insns): Neon shape changed for some logic instructions.
2227
22282010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
2229
2230	* config/tc-arm.c (do_neon_ldx_stx): Added
2231	validation for vector load/store insns.
2232
22332010-01-04  Edmar Wienskoski  <edmar@freescale.com>
2234
2235	* config/tc-ppc.c (md_show_usage): Document -me500mc64.
2236
22372010-01-03  Daniel Gutson  <dgutson@codesourcery.com>
2238
2239	* config/tc-arm.c (struct arm_it): New flag 'is_neon'.
2240	(NEON_ENC_*): Macros renamed to _NEON_ENC_*.
2241	(NEON_ENCODE): New macro.
2242	(check_neon_suffixes): New macro.
2243	(do_vfp_cond_or_thumb): Set the 'is_neon' flag.
2244	(do_vfp_nsyn_opcode): Likewise.
2245	(do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
2246	(do_vfp_nsyn_cmp): Likewise.
2247	(do_neon_shl_imm): Likewise.
2248	(do_neon_qshl_imm): Likewise.
2249	(neon_dyadic_misc): Likewise.
2250	(do_neon_mac_maybe_scalar): Likewise.
2251	(do_neon_qdmulh): Likewise.
2252	(do_neon_qmovn): Likewise.
2253	(do_neon_qmovun): Likewise.
2254	(do_neon_movn): Likewise.
2255	(neon_mac_reg_scalar_long): Likewise.
2256	(do_neon_vmull): Likewise.
2257	(do_neon_trn): Likewise.
2258	(do_neon_ldx_stx): Likewise.
2259	(neon_dp_fixup): Changed signature and set the flag.
2260	(neon_three_same): Call the above with new signature.
2261	(neon_two_same): Likewise.
2262	(neon_imm_shift): Likewise.
2263	(neon_mul_mac): Likewise.
2264	(do_neon_abs_neg): Likewise.
2265	(neon_mixed_length): Likewise.
2266	(do_neon_ext): Likewise.
2267	(do_neon_mov): Likewise.
2268	(do_neon_tbl_tbx): Likewise.
2269	(do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
2270	(neon_compare): Likewise.
2271	(do_neon_shll): Likewise.
2272	(do_neon_cvt): Likewise.
2273	(do_neon_mvn): Likewise.
2274	(do_neon_dup): Likewise.
2275	(md_assemble): Call check_neon_suffixes ().
2276
2277For older changes see ChangeLog-2009
2278
2279Copyright (C) 2010 Free Software Foundation, Inc.
2280
2281Copying and distribution of this file, with or without modification,
2282are permitted in any medium without royalty provided the copyright
2283notice and this notice are preserved.
2284
2285Local Variables:
2286mode: change-log
2287left-margin: 8
2288fill-column: 74
2289version-control: never
2290End:
2291