*** empty log message ***
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
9160ea82
AM
12010-10-28 Matthias Klose <doko@ubuntu.com>
2
3 * doc/as.texinfo: Add directory section for info document.
4
be7a250d
AK
52010-10-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6
7 * config/tc-s390.c (md_begin): Only add to hash table if cpu and
8 mode mask fit.
9
c2ce945a
AM
102010-10-28 Alan Modra <amodra@gmail.com>
11
12 * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
13
6309d591
AM
142010-10-26 Alan Modra <amodra@gmail.com>
15
16 * config/obj-coff.c (coff_format_ops): Fix typo.
17
3b4f7931
RS
182010-10-25 Richard Sandiford <rdsandiford@googlemail.com>
19
20 * config/tc-mips.c (macro2): Delete.
21
c0621d88
NS
222010-10-25 Nathan Sidwell <nathan@codesourcery.com>
23
24 * config/tc-tic6x.c: Add attribution.
25
645ea3ea
AM
262010-10-25 Mark Mitchell <mark@codesourcery.com>
27
28 * obj.h (struct format_ops): Add adjust_symtab.
29 * config/obj-multi.h (obj_adjust_symtab): Define.
30 * config/obj-aout.c (aout_format_ops): Init new field.
31 * config/obj-coff.c (coff_format_ops): Likewise.
32 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
33 * config/obj-elf.c (elf_format_ops): Likewise.
34
e5940dff
AM
352010-10-25 Alan Modra <amodra@gmail.com>
36
37 PR gas/12049
38 * write.c (relax_frag): Don't allow forward branches to temporarily
39 becomde backward branches.
40
709001e9
MM
412010-10-23 Mark Mitchell <mark@codesourcery.com>
42
43 * config/obj-elf.c (elf_adjust_symtab): New. Move group section
44 processing here from elf_frob_file. Ensure that group signature
45 symbols have the name of the group.
46 (elf_frob_file): Move group section processing to
47 elf_adjust_symtab.
48 * config/obj-elf.h (elf_adjust_symtab): Declare.
49 (obj_adjust_symtab): Define.
50 * config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab.
51
1360ba76
RO
522010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
53
54 * config/tc-sparc.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define as
55 elf32-sparc-sol2.
56 (ELF64_TARGET_FORMAT): Define as elf64-sparc-sol2.
57
75fa6dc1
JM
582010-10-21 Joseph Myers <joseph@codesourcery.com>
59
60 * config/tc-tic6x.c (tic6x_arch_attribute, tic6x_arches,
61 md_assemble, tic6x_set_attributes): Update for attribute renaming.
62 * doc/c-tic6x.texi: Update for attribute renaming.
63
20f5cfbd
AM
642010-10-19 Alan Modra <amodra@gmail.com>
65
66 * write.c (relax_segment): Correct address on frag added to stop
67 leb128/align frags bouncing.
68
e35a414d
AM
692010-10-19 Alan Modra <amodra@gmail.com>
70
71 PR gas/12049
72 * frags.h (struct frag): Add "region" field.
73 * write.c (relax_frag): Don't add "stretch" to forward reference
74 target if there is an intervening org or align.
75 (relax_segment): Set region.
76
0970e49e
MR
772010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
78
79 * config/tc-mips.c (macro)[ldd_std]: Fix the relaxation variant
80 for absolute addressing.
81
704897fb
MR
822010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
83
84 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Handle 64-bit ABIs.
85
998b3c36
MR
862010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
87
88 * config/tc-mips.c (mips_pseudo_table): Add "sbss".
89 (s_change_sec): Handle it.
90
e1791cb8
MF
912010-10-15 Mike Frysinger <vapier@gentoo.org>
92
93 * config/bfin-parse.y (BYTEOP2M): Call BYTEOP2M().
94
56ffb741
L
952010-10-14 H.J. Lu <hongjiu.lu@intel.com>
96
97 * config/tc-i386.c (match_template): Check checkregsize
98 instead of w for register size check.
99
f8a5c266
L
1002010-10-14 H.J. Lu <hongjiu.lu@intel.com>
101
102 * config/tc-i386.c (_i386_insn): Add disp32_encoding.
103 (md_assemble): Don't call optimize_disp if disp32_encoding is
104 set.
105 (parse_insn): Support .d32 to force 32bit displacement.
106 (output_branch): Use BIG if disp32_encoding is set.
107
108 * doc/c-i386.texi: Document .d32 encoding suffix.
109
0bc37e5b 1102010-10-11 Steve Kilbane <steve.kilbane@analog.com>
65646555
MF
111
112 * config/bfin-lex.l (FLAGS): New state.
113 (X, Z, S, M, T): Require FLAGS state.
114 ("(", ")"): Start/stop FLAGS state.
115
0bc37e5b 1162010-10-11 David Gibson <david.gibson@analog.com>
56640434
MF
117
118 * config/bfin-aux.h (bfin_loop_attempt_create_label): New prototype.
119 * config/bfin-parse.y (LOOP_BEGIN, LOOP_END): Handle numeric labels.
120 * config/tc-bfin.c (bfin_loop_attempt_create_label): New funtion.
121
0bc37e5b 1222010-10-11 David Gibson <david.gibson@analog.com>
71ef6f79
MF
123
124 * config/tc-bfin.c (bfin_gen_loop): Check symbol before removing.
125
9ccb8af9
AM
1262010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
127
128 Fix build with -DDEBUG=7
129 * config/obj-coff.c (s_get_name, symbol_dump): Add prototypes.
130
5d4c71e1
BS
1312010-10-07 Bernd Schmidt <bernds@codesourcery.com>
132
133 * config/tc-tic6x.c (tic6x_try_encode): Correct encoding of fstg field
134 in SPKERNEL instructions.
135
9ae92b05
NS
1362010-10-06 Nathan Sidwell <nathan@codesourcery.com>
137
138 * config/tc-arm.c (encode_branch): Remove superfluous braces.
139 (do_t_branch): Move reloc setting to end of routine.
140
d954098f
DD
1412010-10-04 David Daney <ddaney@caviumnetworks.com>
142
143 * config/tc-mips.c (mips_fix_cn63xxp1): New variable.
144 (mips_ip): Add errata work around when mips_fix_cn63xxp1 set.
145 (OPTION_FIX_CN63XXP1, OPTION_NO_FIX_CN63XXP1): New enum options
146 enumerations.
147 (md_longopts): Add options for -mfix-cn63xxp1 and -mno-fix-cn63xxp1.
148 (md_parse_option): Handle OPTION_FIX_CN63XXP1 and
149 OPTION_NO_FIX_CN63XXP1.
150 (md_show_usage): Add documentation for -mfix-cn63xxp1.
151 * doc/c-mips.texi (-mfix-cn63xxp1, -mno-fix-cn63xxp1): Document
152 the new options.
153
bb73df25
BS
1542010-09-29 Bernd Schmidt <bernds@codesourcery.com>
155
156 * gas/tic6x/insns-bad-1.s: Remove test for readonly tscl.
157 * gas/tic6x/insns-bad-1.l: Likewise.
158 * gas/tic6x/insns-c674x.d: Add test for writeable tscl.
159 * gas/tic6x/insns-c674x.s: Likewise.
160
1e0f6894
AM
1612010-09-29 Alan Modra <amodra@gmail.com>
162
163 * expr.c (expr): Correct returned segment value.
164
3cac54d2
RW
1652010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
166
167 * configure: Regenerate.
168
43bb514a
BS
1692010-09-27 Bernd Schmidt <bernds@codesourcery.com>
170
171 * config/tc-tic6x.c (tic6x_fix_adjustable): New function.
172 * config/tc-tic6x.h (tic6x_fix_adjustable): Declare.
173 (tc_fix_adjustable): New macro.
174
d9aee5d7
AK
1752010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
176
177 * config/tc-s390.c: (md_parse_option): New option -march=z196.
178 * doc/c-s390.texi: Document new option.
179
6844b2c2
MGD
1802010-09-27 Tejas Belagod <tejas.belagod@arm.com>
181
182 * config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative
183 VSTR, issue an error in THUMB mode.
184
90ec0d68
MGD
1852010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
186
187 * config/tc-arm.c (arm_ext_virt): New variable.
188 (arm_reg_type): Add REG_TYPE_RNB for banked registers.
189 (reg_entry): Allow registers to be larger than a byte.
190 (reg_alias): Fix type warning.
191 (parse_operands): Parse banked registers when appropriate.
192 (do_mrs): Add support for Virtualization Extensions.
193 (do_hvc): New function.
194 (do_t_mrs): Add support for Virtualization Extensions.
195 (do_t_msr): Likewise.
196 (do_t_hvc): New function.
197 (SPLRBANK): New define.
198 (reg_names): Add banked registers.
199 (insns): Add support for Virtualization Extensions.
200 (md_apply_fixup): Likewise.
201 (arm_cpus): -mcpu=cortex-a15 implies the Virtualization Extensions.
202 (arm_extensions): Add 'virt' extension.
203 (aeabi_set_public_attributes): Add support for Virtualization
204 Extensions.
205 * doc/c-arm.texi: Document 'virt' extension.
206
eea54501
MGD
2072010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
208
209 * config/tc-arm.c (arm_ext_adiv): New variable.
210 (do_div): New function.
211 (insns): Accept UDIV and SDIV in ARM state.
212 (arm_cpus): The cortex-a15 option has all current v7-A extensions.
213 (arm_extensions): Add 'idiv' extension.
214 (aeabi_set_public_attributes): Update Tag_DIV_use values for the
215 Integer Divide extension.
216 * doc/c-arm.texi: Document the idiv extension.
217
b2a5fbdc
MGD
2182010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
219
220 * config/tc-arm.c (arm_ext_v6m): New variable.
221 (arm_ext_m): Add support for OS extension.
222 (arm_ext_os): New variable.
223 (do_t_swi): In v6-M ensure we have the OS extension.
1e0f6894 224 (arm_cpus): The cortex-m1 and cortex-m0 options have the OS
b2a5fbdc
MGD
225 extension by default.
226 (arm_archs): Add armv6s-m.
227 (arm_extensions): Add 'os' extension.
228 (cpu_arch_ver): Add support for v6S-M.
229 * doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m
230 architecture options.
231
f4c65163
MGD
2322010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
233
234 * config/tc-arm.c (arm_ext_v6z): Remove.
235 (arm_ext_sec): New variable.
236 (do_t_smc): In Thumb state SMC requires v7-A.
237 (insns): Make SMC depend on Security Extensions.
238 (arm_cpus): All -mcpu=cortex-a* options have the Security Extensions.
239 (arm_extensions): Add 'sec' extension.
240 (cpu_arch_ver): Reorder.
241 (aeabi_set_public_attributes): Emit Tag_Virtualization_use as
242 appropriate.
243 * doc/c-arm.texi: Document Security Extensions.
244
60e5ef9f
MGD
2452010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
246
247 * config/tc-arm.c (arm_ext_mp): Add.
248 (do_pld): Update comment.
249 (insns): Add support for pldw.
250 (arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
251 MP extension.
252 (arm_extensions): Add 'mp' extension.
253 (aeabi_set_public_attributes): Emit correct build attribute when
254 MP extension is enabled.
255 * doc/c-arm.texi: Update for MP extensions.
256
69133863
MGD
2572010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
258
259 * config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
260 (arm_option_extension_value_table): Add.
261 (arm_extensions): Change type.
262 (arm_option_cpu_table): Rename...
263 (arm_option_fpu_table): ...to this.
264 (arm_fpus): Change type.
1e0f6894 265 (arm_parse_extension): Enforce alphabetical order. Allow
69133863
MGD
266 extensions to be removed.
267 (arm_parse_arch): Allow extensions to be specified with -march.
268 (s_arm_arch_extension): Add.
269 (s_arm_fpu): Update for type changes.
270 * doc/c-arm.texi: Document changes to infrastructure.
271
57b3551e
AM
2722010-09-23 Alan Modra <amodra@gmail.com>
273
274 * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
275 with the absolute section symbol.
276
f9e32221
MF
2772010-09-22 Mike Frysinger <vapier@gentoo.org>
278
279 * config/bfin-parse.y: Fix typo in BYTEOP16P comment.
280
db3b8e53
MF
2812010-09-22 Robin Getz <robin.getz@analog.com>
282
283 * config/bfin-parse.y (is_store): New function.
284 (gen_multi_instr_1): Check parallel slots for store insns.
285
9d2eed06
MF
2862010-09-22 Robin Getz <robin.getz@analog.com>
287
288 * config/bfin-defs.h (IS_EMUDAT): New define.
289 * config/bfin-parse.y: Accept EMUDAT for any register move.
290
a2c28b80
MF
2912010-09-22 Robin Getz <robin.getz@analog.com>
292
293 * config/bfin-parse.y: Improve error messages.
294
a01eda85
MF
2952010-09-22 Robin Getz <robin.getz@analog.com>
296
297 * config/bfin-parse.y (DBG): Fix regno encoding.
298 (DBGCMPLX): Likewise.
299
efda0242
MF
3002010-09-22 Robin Getz <robin.getz@analog.com>
301
302 * config/bfin-lex.l: Accept multibyte chars in symbol names.
303
22215ae0
MF
3042010-09-22 Robin Getz <robin.getz@analog.com>
305
306 * config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
307 * config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
308
73a63ccf
MF
3092010-09-22 Mike Frysinger <vapier@gentoo.org>
310
311 * config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
312 * config/tc-bfin.c (bfin_gen_pseudochr): New function.
313 * config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
314
1b182c3c
MF
3152010-09-22 Mike Frysinger <vapier@gentoo.org>
316
317 * config/bfin-lex.l (abort): Accept case-insensitive abort insn.
318 * config/bfin-parse.y (ABORT): Handle the ABORT token.
319
30208012
MF
3202010-09-22 Mike Frysinger <vapier@gentoo.org>
321
322 * config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
323
6e38d384
MF
3242010-09-22 Mike Frysinger <vapier@gentoo.org>
325
326 * doc/c-bfin.texi (-mcpu): Add bf592.
327 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
328 (bfin_cpus[]): Add 0.0/0.1 for bf592.
329
7286ec15
MF
3302010-09-22 Mike Frysinger <vapier@gentoo.org>
331
332 * config/tc-bfin.c (comment_chars): Add #.
333
4ff9b924
MGD
3342010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
335
336 * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
337
bc1bc43f
RH
3382010-09-20 Richard Henderson <rth@redhat.com>
339
340 * config/tc-alpha.c (tc_gen_reloc): Remove hack around
341 bfd_perform_reloc for OBJ_ELF.
342
eab4f823
MGD
3432010-09-17 Tejas Belagod <tejas.belagod@arm.com>
344
345 * config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
346 list for ldm/stm.
347
59b42a0d
MGD
3482010-09-17 Tejas Belagod <tejas.belagod@arm.com>
349
350 * config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
351 non-M-arch cpus.
352 (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
353
db472d6f
MGD
3542010-09-17 Tejas Belagod <tejas.belagod@arm.com>
355
356 * config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
357 of just RR.
358
8f3bae45
AM
3592010-09-17 Andrew Burgess <aburgess@broadcom.com>
360
361 PR gas/12011
362 * config/obj-elf.c (obj_elf_parse_section_letters): Correct test
363 for error return from md_elf_section_letter.
364 * config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
365 * config/tc-i386.c (x86_64_section_letter): Likewise.
366 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
367 * config/tc-mep.c (mep_elf_section_letter): Likewise.
368
2d7f4929
KT
3692010-09-15 Kai Tietz <kai.tietz@onevision.com>
370
bea2c1d7
KT
371 * config/obj-coff-seh.c (seh_validate_seg): New funtion.
372 (obj_coff_seh_endproc): Add check for segment.
373 (obj_coff_seh_endprologue): Likewise.
374 (obj_coff_seh_pushreg): Likewise.
375 (obj_coff_seh_pushframe): Likewise.
376 (obj_coff_seh_save): Likewise.
377 (obj_coff_seh_setframe): Likewise.
378
379 * config/obj-coff-seh.h (seh_context): New member code_seg.
380 * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
381 for link-once code-segment.
2d7f4929 382
7ef07ba0
JZ
3832010-09-14 Jie Zhang <jie@codesourcery.com>
384
385 * doc/c-arm.texi: Document -mcpu=cortex-m4.
386
04251de0
L
3872010-09-09 H.J. Lu <hongjiu.lu@intel.com>
388
389 * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
390 VEX prefix.
391
8a0344f6
JM
3922010-09-09 Joseph Myers <joseph@codesourcery.com>
393
394 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
395
dbb1f804
MGD
3962010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
397
398 * config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
399 * doc/c-arm.texi: Document -mcpu=cortex-a15.
400
33f0727f
NC
4012010-09-09 Gunther Nikl <gnikl@users.sourceforge.net>
402
403 * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
404 weak symbols first if generating an a.out object.
405
40f246e3
NC
4062010-09-09 Tejas Belagod <tejas.belagod@arm.com>
407
408 * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
409 flag-setting and handle accordingly.
410
95b75c01
NC
4112010-09-09 Nick Clifton <nickc@redhat.com>
412
413 PR gas/11972
414 * config/tc-arm.c (parse_big_immediate): Allow for bignums being
415 extended to the size of a .octa.
416
15735687
NS
4172010-09-08 Julian Brown <julian@codesourcery.com>
418
419 * config/tc-arm.c (create_neon_reg_alias): Deal with case
420 sensitivity.
421
ab3e2b4a
NC
4222010-09-08 Nick Clifton <nickc@redhat.com>
423
424 PR gas/11973
425 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
426 long call instruction's displacement.
427
13f864ae
L
4282010-09-03 H.J. Lu <hongjiu.lu@intel.com>
429
430 PR gas/11974
431 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
432 instead of use_rela_relocations for 64bit.
433
3251495b
RH
4342010-09-02 Richard Henderson <rth@redhat.com>
435
436 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
437 (output_fde): Use it. Make sure to fully init exp before using it.
438
6e0973c0
KT
4392010-08-31 Kai Tietz <kai.tietz@onevision.com>
440
441 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
442 (obj_coff_seh_stackalloc): Likewise.
443
91952a06
AM
4442010-08-31 Alan Modra <amodra@gmail.com>
445
446 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
447
681418c2
RH
4482010-08-30 Richard Henderson <rth@redhat.com>
449
450 * config/obj-coff-seh.c: Rewrite the entire file.
451 (symtab, symptr, reltab, relcount, relsize): Remove.
452 (seh_ctx_root, seh_ctx): Remove.
453 (xdata_seg, xdata_subseg, pdata_seg): New.
454 (switch_xdata, switch_pdata): New.
455 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
456 New parsing functions. Rewrite all parsing functions to use them.
457 (obj_coff_seh_32): Fix != arm thinko.
458 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
459 only flags.
460 (obj_coff_seh_handlerdata): New.
461 (do_seh_endproc): Split out of ...
462 (obj_coff_seh_endproc): ... here.
463 (obj_coff_seh_proc): Use it, if needed.
464 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
465 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
466 alternatives. Don't slurp commas.
467 (seh_read_offset): Remove.
468 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
469 (obj_coff_seh_scope): Remove.
470 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
471 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
472 (out_one, out_two, out_four): New.
473 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
474 seh_x64_write_function_xdata, write_function_xdata): Rewrite
475 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
476 seh_getelm_data_size, seh_getsize_of_unwind_entry,
477 seh_make_unwind_entry, seh_getsize_unwind_data, and
478 seh_create_unwind_data.
479 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
480 (write_function_pdata): Rewrite from make_function_entry_pdata.
481 (seh_write_text_eh_data, make_function_entry_pdata,
482 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
483 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
484 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
485 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
486 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
487 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
488 seh_getsize_unwind_data, seh_create_unwind_data,
489 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
490 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
491 Add seh_handlerdata. Adjust function/what arguments for
492 seh_savereg, seh_pushframe, seh_stackalloc.
493 (struct seh_prologue_element): Adjust members to closer match
494 the elements of the UNWIND_CODE structure.
495 (struct seh_scope_elem): Remove.
496 (struct seh_context): Replace char* members with symbolS or
497 expressionS as appropriate. Sort members by ARM/x64 applicability.
498 Remove obsolete stuff wrt direct symbol and reloc manipulation.
499
5fec8599
L
5002010-08-25 Alan Modra <amodra@gmail.com>
501
502 * NEWS: Mention ampersand in macro change.
503
6f034178
AM
5042010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
505
506 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
507
4ad7ac30
AM
5082010-08-25 Alan Modra <amodra@gmail.com>
509
510 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
511 "name" buffer.
512 * config/tc-m68hc11.c (md_assemble): Likewise.
513 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
514 of is_end_of_line index.
515
dc5ec521
JZ
5162010-08-25 Jie Zhang <jie@codesourcery.com>
517
518 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
519
23a10334
JZ
5202010-08-25 Jie Zhang <jie@codesourcery.com>
521
522 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
523 BAD_PC_ADDRESSING condition.
524
f0cd0667
MR
5252010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
526
527 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
528
43f3e2ee
L
5292010-08-19 H.J. Lu <hongjiu.lu@intel.com>
530
531 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
532
9f2670f2
L
5332010-08-18 H.J. Lu <hongjiu.lu@intel.com>
534
535 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
536 instead of VEXXDS.
537
d1f52f54
AM
5382010-08-18 Alan Modra <amodra@gmail.com>
539
540 * macro.c (sub_actual): Add back ampersand suffix when no
541 substitution.
542 (macro_expand_body): Correct comment.
543
01642c12
RM
5442010-08-17 Roland McGrath <roland@redhat.com>
545
546 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
547 boolean result parameter CLONE; set it if '?' flag letter seen.
548 (obj_elf_section): Update caller. Handle that flag by copying
549 the LINKONCE and GROUP_NAME state from NOW_SEG.
550 * doc/as.texinfo (Section): Document the ? flag.
551
955974c6
CC
5522010-08-09 Cary Coutant <ccoutant@google.com>
553
554 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
555 installed.
556 (main): Warn if --compress-debug-sections requested and zlib not
557 installed.
558 * doc/as.texinfo: Add --compress-debug-sections,
559 --nocompress-debug-sections.
560
49021df2
L
5612010-08-06 H.J. Lu <hongjiu.lu@intel.com>
562
563 * config/tc-i386.c (set_cpu_arch): Re-indent.
564 (md_parse_option): Likewise.
565
22109423
L
5662010-08-06 Quentin Neill <quentin.neill@amd.com>
567
568 * config/tc-i386.c (arch_entry): Add negated bit to
569 disambiguate flag names starting with "no".
570 (cpu_arch): Add negated bit definitions. Add
571 ".nop" CPU extension.
572 (i386_align_code): Use new .cpunop bit to decide
573 when to generate alignment using nops.
574 (set_cpu_arch): Use negated bit instead to decide
575 when to use cpu_flags or vs. cpu_flags_and_not.
576 (md_parse_option): Likewise.
577
01559ecc
L
5782010-08-04 H.J. Lu <hongjiu.lu@intel.com>
579
580 * config/tc-i386.c (match_template): Move the first i.error
581 out of the loop.
582
b96282be
AM
5832010-08-04 Alan Modra <amodra@gmail.com>
584
585 * configure.tgt (m32c): Set endian=little.
586 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
587 * config/tc-m32c.c (md_number_to_chars): Revert last change.
588
1222b291
TG
5892010-08-03 Tristan Gingold <gingold@adacore.com>
590
591 * makefile.vms (OBJS): Add Add compress-debug.c.
592
e4d9f078
AM
5932010-08-03 Alan Modra <amodra@gmail.com>
594
595 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
596 * config/tc-m32c.c (md_number_to_chars): Call bigendian
597 form of number_to_chars, not littleendian.
598
69da848e
AM
5992010-08-02 Alan Modra <amodra@gmail.com>
600
601 * config/tc-d30v.c (d30v_cons_align): Don't align constants
602 in debug sections.
603
93d90f46
AM
6042010-08-02 Alan Modra <amodra@gmail.com>
605
606 PR gas/11867
607 * expr.c (operand <'-' and '~'>): Widen bignums.
608 (operand <'!'>): Correct bignum result and convert to O_constant.
609 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
610 bignum truncated warning for sign extended bignums.
611
cd94c7fb
AM
6122010-08-02 Alan Modra <amodra@gmail.com>
613
614 * config/tc-v850.c (md_assemble): Always pass format string to
615 as_warn.
616 (md_apply_fix): Similarly for as_warn_where.
617
f09c1772
L
6182010-07-29 H.J. Lu <hongjiu.lu@intel.com>
619
620 * config/tc-i386-intel.c: Reformat.
621
cc9edbf3
AM
6222010-07-29 Alan Modra <amodra@gmail.com>
623
624 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
625 in large toc code.
626
25313d6a
AM
6272010-07-28 Alan Modra <amodra@gmail.com>
628
629 PR gas/11841
630 * symbols.c (symbol_clone): Correct typo in previous patch.
631
9d75b288
AM
6322010-07-28 Alan Modra <amodra@gmail.com>
633
634 PR gas/11841
635 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
636
5a938047
AM
6372010-07-28 Alan Modra <amodra@gmail.com>
638
639 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
640 syntax error message.
641
03ea81db
MR
6422010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
643
644 * config/tc-mips.c (mips16_macro_build): Pass "args" by
645 reference rather than value.
646 (macro_build): Update accordingly.
647
6482010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
8680f6e1
MR
649
650 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
651 a fake label.
652
d3fca0b5
MR
6532010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
654
655 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
656 delay slot in the noreorder mode with the o32 ABI.
657
1cd986c5
NC
6582010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
659 Ina Pandit <ina.pandit@kpitcummins.com>
660
661 * config/tc-v850.c: Update processor_mask.
662 (reg_name): Update the structure to use processors field.
663 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
664 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
665 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
666 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
667 SUBYPTE_SA_9_17_22_32.
668 (set_machine): Add support for V850E2 and V850E2V3.
669 (md_pseudo_table): Likewise.
670 (pre_defined_registers): Update pre defined registers suitable
671 for each family of registers.
672 (system_registers): Likewise.
673 (cc_names): Update the condition code.
674 (float_cc_names): Update the condition code for float.
675 (reg_name_search): Update based on current modifications.
676 (register_name): Likewise.
677 (system_register_name): Update to support new system registers
678 and supported families.
679 (cc_name): Update to support new condition codes.
680 (float_cc_name): New function to support float condition codes.
681 (parse_register_list): Update to support newly added registers.
682 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
683 Also support added for disp-size-default-22, disp-size-default-32,
684 mextension, mno-bcond17 and mno-stld23.
685 (md_parse_option): Implement the support for above options defined
686 in md_show-usage.
687 (md_convert_frag): Implement support for subtypes defined in
688 md_relax_table to support branch operations.
689 (md_begin): Add support for V850E2 and V850E2V3.
690 (handle_hi016, handle_hi16): new relocation handling functions
691 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
692 handle_tdaoff): Updated relocation handling functions for newly
693 added relocations.
694 (v850_reloc_prefix): Update the relocation handling functions.
695 (v850_insert_operand): Updated the functions with error message
696 parameter and modified the function to use it.
697 (md_assemble): Update according to the latest modifications.
698 (md_apply_fix): Updated the functions with error message parameter
699 and modified the function to use it.
700 (v850_force_relocation): Update with newly added relocations.
701 * configure.tgt: Match all v850 targets.
702 * doc/c-v850.texi: Document the newly added targets.
703 * NEWS: Likewise.
704
c0ba1095
AM
7052010-07-23 Alan Modra <amodra@gmail.com>
706
707 PR gas/11834
708 * macro.c (macro_expand): Recover gracefully from named args that
709 don't match params.
710
1575952e
TS
7112010-07-22 Thomas Schwinge <thomas@codesourcery.com>
712
713 Switch MIPS to 32-bit DWARF format.
714 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
715 * config/tc-mips.c (mips_dwarf2_format): Likewise.
716
33740db9
AM
7172010-07-20 Alan Modra <amodra@gmail.com>
718
719 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
720
4e92bb1c
AM
7212010-07-16 Alan Modra <amodra@gmail.com>
722
723 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
724 specifier warnings for 32-bit host when --enable-64-bit-bfd.
725 (rx_relax_frag, md_convert_frag): Likewise.
726
0af8aa50
L
7272010-07-15 Cary Coutant <ccoutant@google.com>
728
729 * gas/NEWS: Add note about --compress-debug-sections.
730 * gas/as.c (show_usage): Add --compress-debug-sections and
731 --nocompress-debug-sections.
732
6e8bd58f
NS
7332010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
734
735 * config/obj-elf.c (get_sym_from_input_line_and_check): New
736 function to catch missing pseudo-op arguments.
737 (obj_elf_local): Call new function.
738 (obj_elf_weak): Likewise.
739 (obj_elf_visibility): Likewise.
740 (obj_elf_vtable_entry): Likewise.
741 (obj_elf_type): Likewise.
742
1e17085d
KT
7432010-07-15 Kai Tietz <kai.tietz@onevision.com>
744
745 * config/obj-coff-seh.c
746 (seh_getelm_data_size): New.
747 (seh_read_offset): Handle negative values.
748 (obj_coff_seh_push): Handle offset for save-register store.
749 (obj_coff_seh_setframe): Add unwind-information for frame.
750 (seh_store_elm_data): New.
751 (seh_getelm_data_size): Return additionally unaligned element count.
752 (seh_make_unwind_entry): Correct tweak about element count.
753
92b4f90c
L
7542010-07-12 H.J. Lu <hongjiu.lu@intel.com>
755
756 PR gas/11806
757 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
758 through patch for O_multiply.
759
a7879ef1
KT
7602010-07-11 Kai Tietz <kai.tietz@onevision.com>
761
762 PR ld/11612
763 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
764
52e7f43d
RE
7652010-07-08 Tejas Belagod <tejas.belagod@arm.com>
766
767 * tc-arm.c (OP_oBARRIER): Remove.
768 (OP_oBARRIER_I15): Add.
769 (po_barrier_or_imm): Add macro.
770 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
771 (do_barrier): Check correct immediate range.
772 (do_t_barrier): Likewise.
773 (barrier_opt_names): Add entries for more symbolic operands.
774 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
775
db187cb9
NS
7762010-07-08 Daniel Gutson <dgutson@codesourcery.com>
777
778 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
779 error message.
780
30cfc97a
MR
7812010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
782
783 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
784 symbols.
785
9a2c7088
MR
7862010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
787
788 * config/tc-mips.c (nops_for_insn_or_target): Replace
789 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
790 MIPS16_INSN_COND_BRANCH.
791
df1c40a7
L
7922010-07-05 Jim Wilson <wilson@codesourcery.com>
793
794 PR gas/10531
795 PR gas/11789
796 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
797 if it isn't empty.
798
793d370e
AM
7992010-07-05 Alan Modra <amodra@gmail.com>
800
801 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
802 unused var.
803
dbb3fc7d
L
8042010-07-04 H.J. Lu <hongjiu.lu@intel.com>
805
806 * Makefile.am (CONFIG_OBJS): Removed.
807 (GENERIC_OBJS): Likewise.
808 (OBJS): Likewise.
809 * Makefile.in: Regenerated.
810
c64efb4b
L
8112010-07-03 Jan Beulich <jbeulich@novell.com>
812
813 PR gas/11732
814 * config/tc-i386.c (i386_finalize_displacement): Don't call
815 section_symbol() with expr_section.
816
0acf065b
CC
8172010-07-03 Cary Coutant <ccoutant@google.com>
818
819 * Makefile.am: Add compress-debug.c and compress-debug.h.
820 * Makefile.in: Regenerate.
821 * config.in: Add HAVE_ZLIB_H.
822 * configure.in: Check for zlib.h.
823 * configure: Regenerate.
824
825 * as.c (parse_args): Add --compress-debug-sections and
826 --nocompress-debug-sections.
827 * as.h (flag_compress_debug): New variable.
828 * compress-debug.c: New file.
829 * compress-debug.h: New file.
830 * write.c: Include compress-debug.h.
831 (compress_frag): New function.
832 (compress_debug): New function.
833 (write_object_file): Compress debug sections if requested.
834
7102e95e
AS
8352010-07-03 Andreas Schwab <schwab@linux-m68k.org>
836
837 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
838 before inverting.
839
bdc70b4a
AM
8402010-07-03 Alan Modra <amodra@gmail.com>
841
842 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
843 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
844
44a808b1
DD
8452010-07-02 DJ Delorie <dj@redhat.com>
846
731df70d
DD
847 * config/tc-rx.h (md_do_align): New.
848 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
849 * config/tc-rx.c (nops): New.
850 (rx_handle_align): Use various sized nops to align code.
851
44a808b1
DD
852 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
853 relaxation.
854 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
855
c7b8aa3a
L
8562010-07-01 H.J. Lu <hongjiu.lu@intel.com>
857
858 AVX Programming Reference (June, 2010)
859 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
860 and .f16c.
861
862 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
863
76fa04a4
MGD
8642010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
865
866 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
867 deprecated mov register instructions.
868
01efc3af
AM
8692010-07-01 Alan Modra <amodra@gmail.com>
870
871 * config/tc-ppc.c (toc_reloc_types): New variable.
872 (md_assemble): Set it.
873 (ppc_frob_file_before_adjust): Don't warn about toc section size
874 if we have large toc relocs and no small toc relocs.
875
360cfc9c
AM
8762010-06-29 Alan Modra <amodra@gmail.com>
877
878 * config/tc-maxq.h: Delete file.
879 * config/tc-maxq.c: Delete file.
880 * Makefile.am: Remove references to maxq.
881 * configure.tgt: Likewise.
882 * config/obj-coff.h: Likewise.
883 * Makefile.in: Regenerate.
884 * configure: Regenerate.
885 * po/POTFILES.in: Regenerate.
886
87975d2a
AM
8872010-06-28 Alan Modra <amodra@gmail.com>
888
889 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
890 * config/tc-crx.c (gettrap): Constify arg.
891 (handle_LoadStor, get_cinv_parameters): Likewise.
892 (getreg_image): Fix enum warning
893 (md_assemble): Restore input line char.
894 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
895 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
896 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
897 (build_Mytes): Fix build failure for non-elf targets.
898 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
899 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
900
901 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
902 * ecoff.c (add_ecoff_symbol): Likewise.
903 * itbl-ops.c (append_insns_as_macros): Likewise.
904 * listing.c (debugging_pseudo): Likewise.
905 * read.c (s_mri_common, stringer): Likewise.
906 * config/obj-coff.c (coff_frob_section): Likewise.
907 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
908 * config/tc-arm.c (my_get_expression): Likewise.
909 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
910 * config/tc-m32c.c (md_assemble): Likewise.
911 * config/tc-microblaze.c (md_convert_frag): Likewise.
912 * config/tc-mips.c (s_change_section): Likewise.
913 * config/tc-mt.c (mt_fix_adjustable): Likewise.
914 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
915
916 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
917 unused vars.
918 * config/tc-alpha.c (load_expression): Likewise.
919 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
920 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
921 * config/tc-avr.c (extract_word): Likewise.
922 * config/tc-cris.c (cris_get_expression): Likewise.
923 * config/tc-d30v.c (build_insn, find_format): Likewise.
924 * config/tc-dlx.c (machine_ip): Likewise.
925 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
926 * config/tc-i370.c (md_assemble): Likewise.
927 * config/tc-i960.c (brtab_emit): Likewise.
928 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
929 * config/tc-m32c.c (md_convert_frag): Likewise.
930 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
931 (md_estimate_size_before_relax, md_apply_fix): Likewise.
932 * config/tc-m68k.c (md_show_usage): Likewise.
933 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
934 * config/tc-mips.c (s_mips_end): Likewise.
935 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
936 * config/tc-mn10300.c (md_assemble): Likewise.
937 * config/tc-msp430.c (extract_word): Likewise.
938 * config/tc-mt.c (md_assemble): Likewise.
939 * config/tc-or32.c (machine_ip): Likewise.
940 * config/tc-pj.c (md_apply_fix): Likewise.
941 * config/tc-s390.c (md_gather_operands): Likewise.
942 * config/tc-sh.c (sh_cons_align): Likewise.
943 * config/tc-sparc.c (sparc_cons_align): Likewise.
944 * config/tc-tic4x.c (tic4x_sect): Likewise.
945 * config/tc-tic54x.c (tic54x_stringer): Likewise.
946 * config/tc-vax.c (vip_op): Likewise.
947 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
948 * config/tc-xtensa.c (md_assemble): Likewise.
949 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
950 (xtensa_move_literals): Likewise.
951
8e560766
MGD
9522010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
953
954 * config/tc-arm.c (parse_neon_alignment): New function.
955 (parse_address_main): Fix Neon load/store alignment parsing.
956
b7adb16d
JB
9572010-06-22 Jan Beulich <jbeulich@novell.com>
958
b7adb16d
JB
959 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
960 symbols named "$".
961 (i386_intel_operand): Remove bogus handling of pseudo symbols
962 named "$".
963 * expr.c (current_location): Remove 'static' and local
964 declaration.
965 * expr.h (current_location): Declare.
966
58e8191c
SA
9672010-06-21 Sterling Augustine <sterling@tensilica.com>
968
969 PR gas/11728
970 * as.c: Globalize keep_it.
971 (main): Remove keep_it. Move conditional from here...
972 (close_output_file): ...to here.
973
1f9bb1ca
AS
9742010-06-21 Andreas Schwab <schwab@redhat.com>
975
976 * doc/as.texinfo (Overview): Use @itemx for grouped @table
977 items.
978 * doc/c-alpha.texi (Alpha Options): Likewise.
979 * doc/c-arm.texi (ARM Directives): Likewise.
980 * doc/c-bfin.texi (Blackfin Options): Likewise.
981 * doc/c-d10v.texi (D10V-Opts): Likewise.
982 * doc/c-i386.texi (i386-Options): Likewise.
983 * doc/c-ia64.texi (IA-64 Options): Likewise.
984 * doc/c-m68k.texi (M68K-Opts): Likewise.
985 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
986 * doc/internals.texi (Symbols): Likewise.
987
6d0cb78c
AM
9882010-06-21 Alan Modra <amodra@gmail.com>
989
990 PR gas/11733
991 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
992
38bd8d09
JM
9932010-06-18 Joseph Myers <joseph@codesourcery.com>
994
995 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
996 func_units_used.
997 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
998 (md_assemble): Clear func_units_used for new execute packet.
999 Check for duplicate functional units and update func_units_used
1000 for instructions using a functional unit.
1001
59e6276b
JM
10022010-06-15 Joseph Myers <joseph@codesourcery.com>
1003
1004 * config/tc-tic6x.c: Include elf/tic6x.h.
1005 (tic6x_arch_attribute, tic6x_seen_insns): New.
1006 (tic6x_arch_table, tic6x_arches): Add attribute values.
1007 (tic6x_use_arch): Handle attribute settings.
1008 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
1009 tic6x_attribute_table, tic6x_attributes,
1010 tic6x_convert_symbolic_attribute): New.
1011 (md_pseudo_table): Add c6xabi_attribute.
1012 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
1013 (tic6x_set_attribute_int, tic6x_set_attributes): New.
1014 (tic6x_end): Call tic6x_set_attributes.
1015 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
1016 (tic6x_convert_symbolic_attribute): Declare.
1017
e01d869a
AM
10182010-06-14 Alan Modra <amodra@gmail.com>
1019
1020 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
1021 PPC_OPCODE_E500.
1022
1ded5609
JB
10232010-06-11 Jan Beulich <jbeulich@novell.com>
1024
1025 * config/tc-i386.c (md_parse_option): Ignore impossible processor
1026 types.
1027 (show_arch): New parameter 'check'.
1028 (md_show_usage): Adjust calls to show_arch().
1029
78f12dd3
L
10302010-06-10 H.J. Lu <hongjiu.lu@intel.com>
1031
1032 * config/tc-i386.c (update_code_flag): New.
1033 (set_code_flag): Use it.
1034 (i386_target_format): Replace set_code_flag with update_code_flag.
1035
e1f000f6
TG
10362010-06-10 Tristan Gingold <gingold@adacore.com>
1037
1038 * config/obj-som.h: Includes som/reloc.h
1039
89507696
JB
10402010-06-10 Jan Beulich <jbeulich@novell.com>
1041
1042 * config/tc-i386.c (cpu_arch): Add comment.
1043 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
1044 from the generic entries of cpu_arch[].
1045
55881a11
MGD
10462010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1047
e1f000f6 1048 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
55881a11
MGD
1049 value.
1050 (parse_operands): Add support for OP_RRnpctw.
e1f000f6 1051 (insns): Update floating-point load/store multiples so the
55881a11
MGD
1052 first register is of type OP_RRnpctw.
1053
09137c09
SP
10542010-06-08 Quentin Neill <quentin.neill@amd.com>
1055
1056 * config/tc-i386.c (pi): Rename local loop counter
1057 variable i that shadows global static i386_insn i
1058 when DEBUG386 is defined.
1059 (pte) Ditto.
1060
9fbcbd81
NC
10612010-06-08 Nick Clifton <nickc@redhat.com>
1062
1063 * doc/as.texinfo: Replace abbreviated 20th century year numbers
1064 with full versions.
1065
40a9833c
SP
10662010-06-02 Quentin Neill <quentin.neill@amd.com>
1067
1068 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
1069
aadd8030
TG
10702010-06-02 Tristan Gingold <gingold@adacore.com>
1071
1072 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
1073 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
1074 Remove conditionnal inclusion of stdarg.h and varargs.h.
1075 Assume ISO C.
1076 * config.in: Regenerate.
1077 * configure: Regenerate.
1078 * configure.in: Remove stdarg.h and varargs.h from
1079 AC_CHECK_HEADERS list.
1080 * messages.c (as_tsktsk): Remove non ISO C version.
1081 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
1082
51794af8
TG
10832010-05-31 Tristan Gingold <gingold@adacore.com>
1084
1085 * config/tc-alpha.c: Add comments for evax.
1086 * config/obj-evax.c: Ditto.
1087
941a8a52
MGD
10882010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1089
1090 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
1091 lsls and not adds.
1092
1e5b0379
NC
10932010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1094
1095 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
1096 writeback when base register is in register list an error, and
1097 correct check.
1098 (do_t_ldmstm): Change warnings.
1099
f79e2745
CM
11002010-05-26 Catherine Moore <clm@codesourcery.com>
1101
1102 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
1103 (macro_build): Change invocation of is_opcode_valid.
1104 (mips_ip): Likewise.
1105
5ae57a91
NC
11062010-05-25 Nick Clifton <nickc@redhat.com>
1107
1108 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
1109 * Makefile.in: Regenerate.
1110
8e45593f
NC
11112010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
1112 Joseph Myers <joseph@codesourcery.com>
1113 Andrew Stubbs <ams@codesourcery.com>
1114
1115 * config/tc-sh.c (sh_fdpic): New.
1116 (sh_check_fixup): Handle relocations on movi20.
1117 (parse_exp): Do not reject PIC operators here.
1118 (build_Mytes): Check for unhandled PIC operators here. Use
1119 sh_check_fixup for movi20.
1120 (enum options): Add OPTION_FDPIC.
1121 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
1122 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
1123 (sh_elf_final_processing): Handle --fdpic.
1124 (sh_uclinux_target_format): New.
1125 (sh_parse_name): Handle FDPIC relocation operators.
1126 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
1127 (sh_uclinux_target_format): Declare for TE_UCLINUX.
1128 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
1129 em=uclinux.
1130 * doc/c-sh.texi (SH Options): Document --fdpic.
1131
52a6ecd2
NC
11322010-05-25 Jay Krell <jay.krell@cornell.edu>
1133
1134 PR ld/11621
1135 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
1136 * Makefile.in: Regenerate.
1137
1239de13
AM
11382010-05-25 Alan Modra <amodra@gmail.com>
1139
1140 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
1141
9c8b3bfe
NC
11422010-05-19 Nick Clifton <nickc@redhat.com>
1143
1144 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
1145 of known section prefixes.
1146
18ae9cc1
L
11472010-05-18 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 PR gas/11600
1150 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
1151 (obj_elf_parse_section_letters): Likewise.
1152 (obj_elf_section_word): Likewise.
1153
1154 * config/tc-ppc.c (ppc_section_letter): Removed.
1155 (ppc_section_word): Likewise.
1156 * config/tc-ppc.h (ppc_section_letter): Likewise.
1157 (ppc_section_word): Likewise.
1158 (md_elf_section_letter): Likewise.
1159 (md_elf_section_word): Likewise.
1160
1161 * doc/as.texinfo: Document `e' and `#exclude'.
1162
bf3eeda7
NS
11632010-05-13 Nathan Sidwell <nathan@codesourcery.com>
1164
1165 * config/tc-arm.c (md_assemble): Clarify current mode in error
1166 messages about unsupported instructions.
1167 (UT): Delete #define.
1168 (insns): Adjust cbnz, cbz appropriately.
1169
4547cb56
NC
11702010-05-11 Andrew Stubbs <ams@codesourcery.com>
1171
1172 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
1173
11742010-05-11 Jie Zhang <jie@codesourcery.com>
1175
1176 * config/tc-arm.c (aeabi_set_public_attributes): Set
1177 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
1178
6540b386
TG
11792010-05-07 Tristan Gingold <gingold@adacore.com>
1180
1181 * Makefile.in: Regenerate with automake 1.11.1.
1182 * aclocal.m4: Ditto.
1183 * doc/Makefile.in: Ditto.
1184
3e01a7fd
NC
11852010-05-05 Nick Clifton <nickc@redhat.com>
1186
1187 * po/es.po: Updated Spanish translation.
1188
847d4311
NS
11892010-05-05 Julian Brown <julian@codesourcery.com>
1190
1191 * read.c (cons_worker): Detect and reject unexpected string argument.
1192
1fc5d88e
NC
11932010-05-04 Nick Clifton <nickc@redhat.com>
1194
1195 * write.c (fixup_segment): Revert previous delta.
1196 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
1197 generation of relocations for fixups against weak symbols.
1198
77db8e2e
NC
11992010-04-29 Nathan Sidwell <nathan@codesourcery.com>
1200
1201 * write.c (fixup_segment): Do not assume we know the section a
1202 defined weak symbol is in.
1203 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
1204 weak symbols as not known to be in the same section, even if they
1205 are defined.
1206
d99e5b39
JM
12072010-04-27 Joseph Myers <joseph@codesourcery.com>
1208
1209 * config/tc-tic6x.h (tic6x_label_list): New.
1210 (tic6x_segment_info_type): Keep a list of labels and a current
1211 frag instead of a boolean for whether labels seen and a count of
1212 instructions.
1213 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
1214 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
1215 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
1216 (tic6x_cleanup): Correct comment.
1217 (tic6x_free_label_list): New.
1218 (tic6x_cons_align): Free label list and update for
1219 tic6x_segment_info_type changes.
1220 (tic6x_do_align): New.
1221 (md_assemble): Handle list of labels and saved frag for execute
1222 packet. Create machine-dependent frag for new execute packet and
1223 adjust labels accordingly.
1224 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
1225 (md_convert_frag, md_estimate_size_before_relax): Update comments.
1226
25303607
L
12272010-04-24 H.J. Lu <hongjiu.lu@intel.com>
1228
1229 PR gas/11535
1230 * config/tc-i386-intel.c (intel_state): Add is_indirect.
1231 (i386_intel_operand): Initialize intel_state.is_indirect. Check
1232 intel_state.is_indirect for "call|jmp [symbol]".
1233
9c9c98a5
NC
12342010-04-22 Nick Clifton <nickc@redhat.com>
1235
1236 * po/gas.pot: Updated by the Translation project.
1237
0398aac5
L
12382010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1239
1240 * config/tc-i386.c (i386_is_register): Removed.
1241 (x86_cons): Don't use i386_is_register.
1242 (parse_register): Likewise.
1243 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1244 (i386_intel_operand): Likewise.
1245
e96d56a1
L
12462010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1247
1248 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
1249 i386_is_register.
1250
8d46fc7c
L
12512010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1252
1253 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
1254 (x86_cons): Updated.
1255 (parse_register): Likewise.
1256 (tc_x86_parse_to_dw2regnum): Likewise.
1257 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1258 (i386_intel_operand): Likewise.
1259
3c7b9c2c
L
12602010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1261
1262 PR gas/11509
1263 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
1264 (i386_intel_simplify): Use i386_is_register and
1265 i386_intel_simplify_register. Set X_md for O_register and
1266 check X_md for O_constant.
1267 (i386_intel_operand): Use i386_is_register.
1268
1269 * config/tc-i386.c (i386_is_register): New.
1270 (x86_cons): Initialize the X_md field. Use i386_is_register.
1271 (parse_register): Use i386_is_register.
1272 (tc_x86_parse_to_dw2regnum): Likewise.
1273
34a7d6c6
L
12742010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1275
1276 * expr.c (expr): Initialize the X_md field.
1277
41820509
JM
12782010-04-20 Joseph Myers <joseph@codesourcery.com>
1279
1280 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1281 (md_longopts): Add -mgenerate-rel.
1282 (tic6x_generate_rela): New.
1283 (md_parse_option): Handle -mgenerate-rel.
1284 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
1285 (tic6x_init_after_args): New.
1286 (md_apply_fix): Correct shift calculations for SB-relative
1287 relocations.
1288 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
1289 adjust addresses for relocations referencing symbols in other
1290 sections.
1291 (tc_gen_reloc): Adjust addend calculations for REL relocations.
1292 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1293 tic6x_pcrel_from_section, tc_init_after_args,
1294 tic6x_init_after_args): New.
1295
aa27de95
NC
12962010-04-20 Nick Clifton <nickc@redhat.com>
1297
1298 PR gas/11507
1299 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1300 altmacro mode if found inside a quoted string.
1301
048e5b80
MF
13022010-04-20 Mike Frysinger <vapier@gentoo.org>
1303
1304 * config/bfin-lex.l (parse_int): Change index() to strchr().
1305
bb7835b8
NC
13062010-04-16 Nick Clifton <nickc@redhat.com>
1307
1308 PR gas/11395
1309 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1310 matcher to accept and unconditional 32-bit add instruction.
1311 (pa_build_unwind_subspace): Cope with error conditions not
1312 allowing the start symbol to be set.
1313
75375b3e
MGD
13142010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1315
1316 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1317 new tag names in v2.08 of ARM ABI.
1318 * doc/c-arm.texi: Document new tag names in ABI.
1319
d8703844
TG
13202010-04-14 Tristan Gingold <gingold@adacore.com>
1321
1322 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
1323 (s_alpha_comm): Used new EGPS macros from egps.h
1324 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1325 (s_alpha_section_word): Add comments. Use new EGPS macros.
1326 Adjust for modified bfd_vms_set_section_flags function.
1327
aa0c8c1a
AM
13282010-04-10 Alan Modra <amodra@gmail.com>
1329
1330 PR gas/11486
1331 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1332
3d540e93
NC
13332010-04-09 Nick Clifton <nickc@redhat.com>
1334
1335 * as.c (create_obj_attrs_section): Remove unused variable addr.
1336 * listing.c (listing_listing): Remove unused variable message.
1337 * read.c: Remove unnecessary register type qualifiers.
1338 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1339 defined.
1340
e760a81b
EW
13412010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
1342
1343 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1344 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1345 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1346 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1347 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1348 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1349 atmega88pa, attiny461a, attiny84a, m3000.
1350 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1351 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1352 * doc/c-avr.texi: Same.
1353
2de7820f
JZ
13542010-04-07 Jie Zhang <jie@codesourcery.com>
1355
1356 * config/tc-arm.c (make_mapping_symbol): Handle the case
1357 that multiple mapping symbols have the same value 0.
1358
397841b5
AM
13592010-04-07 Alan Modra <amodra@gmail.com>
1360
1361 * configure: Regenerate.
1362
bd32c6bd
NC
13632010-04-06 Nick Clifton <nickc@redhat.com>
1364
1365 * po/ru.po: New Russian translation.
1366 * configure.in (ALL_LINGUAS): Add ru.
1367 * configure: Regenerate.
1368
b36562f6
L
13692010-03-30 H.J. Lu <hongjiu.lu@intel.com>
1370
1371 PR gas/11456
1372 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
1373 of memcpy to copy overlap memory.
1374
40b36596
JM
13752010-03-25 Joseph Myers <joseph@codesourcery.com>
1376
1377 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1378 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1379 * Makefile.in: Regenerate.
1380 * NEWS: Add news entry for TI C6X support.
1381 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
1382 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
1383 operands if TC_KEEP_OPERAND_SPACES.
1384 * configure.tgt (tic6x-*-*): New.
1385 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1386 TC_PREDICATE_END_CHAR): Define.
1387 * config/tc-tic6x.c, config/tc-tic6x.h: New.
1388 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1389 * doc/Makefile.in: Regenerate.
1390 * doc/all.texi (TIC6X): Define.
1391 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
1392 * doc/c-tic6x.texi: New.
1393
cff8d58a
L
13942010-03-22 H.J. Lu <hongjiu.lu@intel.com>
1395
1396 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1397
86e026a4
L
13982010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1401 with operand_size_mismatch.
1402 (operand_size_match): Updated.
1403 (match_template): Likewise.
1404
a65babc9
L
14052010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1406
1407 * config/tc-i386.c (i386_error): New.
1408 (_i386_insn): Replace err_msg with error.
1409 (operand_size_match): Set error instead of err_msg on failure.
1410 (operand_type_match): Likewise.
1411 (operand_type_register_match): Likewise.
1412 (VEX_check_operands): Likewise.
1413 (match_template): Likewise. Use error instead of err_msg with
1414 as_bad.
1415
0f020cef
JZ
14162010-03-19 Jie Zhang <jie@codesourcery.com>
1417
1418 * config/tc-arm.c (make_mapping_symbol): Hanle the case
1419 that two mapping symbols have the same value.
1420
a5b82cbe
DJ
14212010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1422
1423 * doc/c-arm.texi (.setfp): Correct example.
1424
b43420e6
NC
14252010-03-18 Wei Guozhi <carrot@google.com>
1426
1427 PR gas/11323
1428 * config/tc-arm.c (reloc_names): New relocation names.
1429 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1430 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1431 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1432
4e4e1355
TS
14332010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1434
d905c788
TS
1435 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1436 cases, and not only for .eh_frame.
1437
4e4e1355
TS
1438 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1439 belong to .eh_frame only.
1440
dc86b458
SB
14412010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1442
1443 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1444 assembler constants on 64-bit hosts.
1445
ee9e7c78
MF
14462010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1447
1448 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1449 Strip trailing whitespace.
1450
a23c851a
MF
14512010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1452
1453 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1454 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1455 BFIN_CPU_BF506.
1456 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1457
9982501a
JZ
14582010-03-10 Jie Zhang <jie@codesourcery.com>
1459
1460 * doc/as.texinfo: Add Blackfin options.
1461 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1462 * config/tc-bfin.c (md_show_usage): Show usage for all
1463 Blackfin specific options.
1464
4199fe12
AM
14652010-03-09 Alan Modra <amodra@gmail.com>
1466
1467 PR gas/11356
1468 * listing.c (listing_newline): Correct backslash quote logic.
1469
40cf28aa
RO
14702010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1471
1472 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1473 (ELF_TARGET_FORMAT64): Define.
1474
26b6f191
PB
14752010-03-05 Paul Brook <paul@codesourcery.com>
1476
1477 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1478
772657e9
AS
14792010-03-02 Andrew Stubbs <ams@codesourcery.com>
1480
1481 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1482 reading uninitialized data.
1483
bd56defd
TG
14842010-03-01 Tristan Gingold <gingold@adacore.com>
1485
1486 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1487
743d7f19
DE
14882010-02-26 Doug Evans <dje@sebabeach.org>
1489
1490 * configure.tgt: Fix mep cpu case.
1491
f8a8e9d6
JZ
14922010-02-26 Jie Zhang <jie@codesourcery.com>
1493
1494 * config/tc-arm.c (do_t_strexd): Remove
1495 operand[1] != operand[2] contraint.
1496
3fde54a2
JZ
14972010-02-26 Jie Zhang <jie@codesourcery.com>
1498
1499 * config/tc-arm.c (neon_select_shape): No need to match
1500 the remaining operands in the shape when one operand does
1501 not match.
1502
e23c0ad8
JZ
15032010-02-26 Jie Zhang <jie@codesourcery.com>
1504
1505 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1506 alignment.
1507
fae0b242
DE
15082010-02-25 Doug Evans <dje@sebabeach.org>
1509
1510 * cgen.c: Whitespace fixes.
1511 (weak_operand_overflow_check): Formatting fix.
1512
a6c56050
L
15132010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1514
1515 * config/tc-i386.c (match_template): Update error messages.
1516
891edac4
L
15172010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 * config/tc-i386.c (_i386_insn): Add err_msg.
1520 (operand_size_match): Set err_msg on failure.
1521 (operand_type_match): Likewise.
1522 (operand_type_register_match): Likewise.
1523 (VEX_check_operands): Likewise.
1524 (match_template): Likewise. Use i.err_msg with as_bad.
1525
c67a084a
NC
15262010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1527
1528 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1529 mips_fix_loongson2f_jump): New variables.
1530 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1531 -mno-fix-loongson2f-nop/jump.
1532 (md_parse_option): Initialize variables via above options.
1533 (options): New enums for the above options.
1534 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1535 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1536 New functions.
1537 (append_insn): call fix_loongson2f().
1538 (mips_handle_align): Replace the implicit nops.
1539 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1540 for the new mips_handle_align().
1541 * doc/c-mips.texi: Document the new options.
1542
56adecf4
DG
15432010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1544
1545 * config/tc-arm.c (do_rd_rm_rn): Added warning
1546 for obsolete insns.
1547
17e57237
NC
15482010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1549
1550 PR binutils/11297
1551 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1552 (avr_cons_fix_new): Handle fixups of a single byte.
1553
8a59fff3
MGD
15542010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1555
1556 PR 9861
1557 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1558 compiler's predefines.
1559
487565fe
AM
15602010-02-19 Alan Modra <amodra@gmail.com>
1561
1562 * configure.tgt: Whiltespace. Sort moxie entry.
1563
cd21e546
MGD
15642010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1565
1566 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1567 * doc/c-arm.texi: Likewise.
1568
77551a33
DG
15692010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1570
1571 * config/tc-arm.c (asm_opcode): operands type
1572 change.
1573 (BAD_PC_ADDRESSING): New macro message.
1574 (BAD_PC_WRITEBACK): Likewise.
1575 (MIX_ARM_THUMB_OPERANDS): New macro.
1576 (operand_parse_code): Added enum values.
1577 (parse_operands): Added thumb/arm distinction,
1578 plus new enum values handling.
1579 (encode_arm_addr_mode_2): Validations enhanced.
1580 (encode_arm_addr_mode_3): Likewise.
1581 (do_rm_rd_rn): Likewise.
1582 (encode_thumb32_addr_mode): Likewise.
1583 (do_t_ldrex): Likewise.
1584 (do_t_ldst): Likewise.
1585 (do_t_strex): Likewise.
1586 (md_assemble): Call parse_operands with
1587 a new parameter.
1588 (OPS_1): New macro.
1589 (OPS_2): Likewise.
1590 (OPS_3): Likewise.
1591 (OPS_4): Likewise.
1592 (OPS_5): Likewise.
1593 (OPS_6): Likewise.
1594 (insns): Updated insns operands.
1595
9d0e8497
TG
15962010-02-12 Tristan Gingold <gingold@adacore.com>
1597 Douglas B Rupp <rupp@gnat.com>
1598
1599 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1600 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1601 (pseudo_func): Add an entry for slotcount.
1602 (md_begin): Initialize slotcount pseudo symbol.
1603 (ia64_parse_name): Handle @slotcount parameter.
1604 (ia64_gen_real_reloc_type): Handle slotcount.
1605 (md_apply_fix): Ditto.
1606 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1607
6fa78d94
SA
16082010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1609
1610 * config/tc-xtensa.c (istack_init): Don't call memset.
1611
a89c407e
SA
16122010-02-11 Sterling Augustine <sterling@tensilica.com>
1613
1614 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1615 well as suffixes.
1616
6fa78d94 16172010-02-11 Sterling Augustine <sterling@tensilica.com>
a89c407e
SA
1618
1619 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1620
24981e7b
L
16212010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1622
1623 * config/tc-i386.c (build_modrm_byte): Reformat.
1624
c75ef631
L
16252010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 * config/tc-i386.c: Update copyright.
1628
a683cc34
SP
16292010-02-10 Quentin Neill <quentin.neill@amd.com>
1630 Sebastian Pop <sebastian.pop@amd.com>
1631
1632 * config/tc-i386.c (vec_imm4) New operand type.
1633 (fits_in_imm4): New.
1634 (VEX_check_operands): New.
1635 (check_reverse): Call VEX_check_operands.
1636 (build_modrm_byte): Reintroduce code for 5
1637 operand insns. Fix whitespace.
1638
cdc51b07
RS
16392010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1640
1641 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1642 -mpwr6 and -mpwr7.
1643
3a1e9c4a
SA
16442010-02-09 Sterling Augustine <sterling@tensilica.com>
1645
1646 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1647 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1648 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1649
486499d0
CL
16502010-02-08 Christophe Lyon <christophe.lyon@st.com>
1651
1652 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1653 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1654 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1655 BFD_RELOC_ARM_PCREL_CALL)
1656
19ef5f3d
SA
16572010-02-08 Sterling Augustine <sterling@tensilica.com>
1658
1659 * config/tc-xtensa.c (frag_format_size): Generalize logic to
1660 handle more instruction sizes and fetch widths.
1661 (branch_align_power): Likewise.
1662 (text_align_power): Likewise.
1663 (bytes_to_stretch): Likewise.
1664
ce3d2015
AM
16652010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1666
1667 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
1668 (ppc_mach): Handle titan.
1669 * doc/c-ppc.texi: Mention -mtitan.
1670
19ef5f3d
SA
16712010-02-05 Sterling Augustine <sterling@tensilica.com>
1672
1673 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1674 replace with...
1675 (xtensa_fetch_width) ...this.
1676
1e4cb857
JM
16772010-02-05 Joseph Myers <joseph@codesourcery.com>
1678
1679 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1680 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1681 * Makefile.in: Regenerate.
1682
68339fdf
SP
16832010-02-03 Quentin Neill <quentin.neill@amd.com>
1684
1685 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1686 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1687 * config/tc-i386.h (processor_type): Same.
1688 * doc/c-i386.texi: Change amdfam15 to bdver1.
1689
99b253c5
NC
16902010-01-29 Nick Clifton <nickc@redhat.com>
1691
1692 PR 11136
1693 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1694 NS_NULL.
1695
31907d5e
DK
16962010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
1697
1698 * NEWS: Mention new feature.
1699 * config/obj-coff.c (obj_coff_section): Accept digits and use
1700 to override default section alignment power if specified.
1701 * doc/as.texinfo (.section directive): Update documentation.
1702
539f890d
L
17032010-01-27 H.J. Lu <hongjiu.lu@intel.com>
1704
1705 * config/tc-i386.c (avxscalar): New.
1706 (OPTION_MAVXSCALAR): Likewise.
1707 (build_vex_prefix): Select vector_length for scalar instructions
1708 based on avxscalar.
1709 (md_longopts): Add OPTION_MAVXSCALAR.
1710 (md_parse_option): Handle OPTION_MAVXSCALAR.
1711 (md_show_usage): Add -mavxscalar=.
1712
1713 * doc/c-i386.texi: Document -mavxscalar=.
1714
80de6e00
L
17152010-01-24 H.J. Lu <hongjiu.lu@intel.com>
1716
1717 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1718 0xc4 individually.
1719
c865e45b
RS
17202010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
1721
1722 * write.h (fix_at_start): Declare.
1723 * write.c (fix_new_internal): Add at_beginning parameter.
1724 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
1725 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1726 (fix_new, fix_new_exp): Update accordingly.
1727 (fix_at_start): New function.
1728 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1729 (ppc_ref): New function, for OBJ_XCOFF.
1730 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1731 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1732
53e5c8fe
RO
17332010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1734
1735 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1736 on 64-bit Solaris/x86.
1737 Include obj-format.h earlier.
1738
55786da2 17392010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
99b253c5 1740
55786da2
AK
1741 * config/tc-s390.c (s390_elf_final_processing): New function.
1742 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1743 (s390_elf_final_processing): Added prototype.
1744
1745
760f3a89
NC
17462010-01-20 Nick Clifton <nickc@redhat.com>
1747
1748 PR 11109
1749 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1750 code to handle round-to-zero for VCVT conversions.
1751 (do_neon_cvt): New. Call do_neon_cvt_1.
1752 (do_neon_cvtr): New. Call do_neon_cvt_1.
1753 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1754 insn.
1755
37a1f277
TG
17562010-01-18 Tristan Gingold <gingold@adacore.com>
1757
1758 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
760f3a89 1759
a6461c02
SP
17602010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1761
1762 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1763 check that it's not an XOP insn.
1764
62fb9fe1
JZ
17652010-01-14 Jie Zhang <jie.zhang@analog.com>
1766
1767 * config/bfin-aux.h: Remove argument names in function
1768 declarations.
1769 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1770 warning.
1771 * config/bfin-parse.y (value_match): Remove argument names
1772 in declaration.
1773 (notethat): Likewise.
1774 (yyerror): Likewise.
1775
afa62d5e
DJ
17762010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1777
1778 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1779
52b010e4
NC
17802010-01-13 Nick Clifton <nickc@redhat.com>
1781
1782 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1783 warning message if a new section is created without setting any
1784 attributes for it.
1785 (md_pseudo_table): Intercept section creation pseudos.
1786 (md_pcrel_from): Replace abort with an error message.
1787 * config/obj-elf.c (obj_elf_section_name): Export this function.
1788 * config/obj-elf.h (obj_elf_section_name): Prototype.
1789
cc761f75
AM
17902010-01-12 Alan Modra <amodra@gmail.com>
1791
1792 PR 11122
1793 * listing.c (print_source): Add one to line number.
1794
3725885a
RW
17952010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1796
1797 * Makefile.in: Regenerate.
1798 * configure: Regenerate.
1799 * doc/Makefile.in: Regenerate.
1800
5256a5b0
L
18012010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1802
1803 * version.c (parse_args): Change to "Copyright 2010".
1804
69dd9865
SP
18052010-01-06 Quentin Neill <quentin.neill@amd.com>
1806
1807 * config/tc-i386.c (cpu_arch): Add amdfam15.
1808 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1809 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1810 * doc/c-i386.texi: Add amdfam15.
1811
4316f0d2
DG
18122010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1813
1814 * config/tc-arm.c (do_neon_logic): Accept imm value
1815 in the third operand too.
1816 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1817 OP_RNDQ_Ibig.
1818 (parse_operands): OP_NILO case removed, applied renaming.
1819 (insns): Neon shape changed for some logic instructions.
1820
b1a769ed
DG
18212010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1822
1823 * config/tc-arm.c (do_neon_ldx_stx): Added
1824 validation for vector load/store insns.
1825
0dc93057
AM
18262010-01-04 Edmar Wienskoski <edmar@freescale.com>
1827
1828 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1829
88714cb8
DG
18302010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1831
1832 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1833 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1834 (NEON_ENCODE): New macro.
1835 (check_neon_suffixes): New macro.
1836 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1837 (do_vfp_nsyn_opcode): Likewise.
1838 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1839 (do_vfp_nsyn_cmp): Likewise.
1840 (do_neon_shl_imm): Likewise.
1841 (do_neon_qshl_imm): Likewise.
1842 (neon_dyadic_misc): Likewise.
1843 (do_neon_mac_maybe_scalar): Likewise.
1844 (do_neon_qdmulh): Likewise.
1845 (do_neon_qmovn): Likewise.
1846 (do_neon_qmovun): Likewise.
1847 (do_neon_movn): Likewise.
1848 (neon_mac_reg_scalar_long): Likewise.
1849 (do_neon_vmull): Likewise.
1850 (do_neon_trn): Likewise.
1851 (do_neon_ldx_stx): Likewise.
1852 (neon_dp_fixup): Changed signature and set the flag.
1853 (neon_three_same): Call the above with new signature.
1854 (neon_two_same): Likewise.
1855 (neon_imm_shift): Likewise.
1856 (neon_mul_mac): Likewise.
1857 (do_neon_abs_neg): Likewise.
1858 (neon_mixed_length): Likewise.
1859 (do_neon_ext): Likewise.
1860 (do_neon_mov): Likewise.
1861 (do_neon_tbl_tbx): Likewise.
1862 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1863 (neon_compare): Likewise.
1864 (do_neon_shll): Likewise.
1865 (do_neon_cvt): Likewise.
1866 (do_neon_mvn): Likewise.
1867 (do_neon_dup): Likewise.
0dc93057 1868 (md_assemble): Call check_neon_suffixes ().
99f1a7a7 1869
43ecc30f 1870For older changes see ChangeLog-2009
08d56133
NC
1871\f
1872Local Variables:
1873mode: change-log
1874left-margin: 8
1875fill-column: 74
1876version-control: never
1877End:
This page took 0.53627 seconds and 4 git commands to generate.