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