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