* c-typeprint.c (c_type_print_base, case TYPE_CODE_TYPEDEF): Verify
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
0970e49e
MR
12010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
2
3 * config/tc-mips.c (macro)[ldd_std]: Fix the relaxation variant
4 for absolute addressing.
5
704897fb
MR
62010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
7
8 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Handle 64-bit ABIs.
9
998b3c36
MR
102010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
11
12 * config/tc-mips.c (mips_pseudo_table): Add "sbss".
13 (s_change_sec): Handle it.
14
e1791cb8
MF
152010-10-15 Mike Frysinger <vapier@gentoo.org>
16
17 * config/bfin-parse.y (BYTEOP2M): Call BYTEOP2M().
18
56ffb741
L
192010-10-14 H.J. Lu <hongjiu.lu@intel.com>
20
21 * config/tc-i386.c (match_template): Check checkregsize
22 instead of w for register size check.
23
f8a5c266
L
242010-10-14 H.J. Lu <hongjiu.lu@intel.com>
25
26 * config/tc-i386.c (_i386_insn): Add disp32_encoding.
27 (md_assemble): Don't call optimize_disp if disp32_encoding is
28 set.
29 (parse_insn): Support .d32 to force 32bit displacement.
30 (output_branch): Use BIG if disp32_encoding is set.
31
32 * doc/c-i386.texi: Document .d32 encoding suffix.
33
0bc37e5b 342010-10-11 Steve Kilbane <steve.kilbane@analog.com>
65646555
MF
35
36 * config/bfin-lex.l (FLAGS): New state.
37 (X, Z, S, M, T): Require FLAGS state.
38 ("(", ")"): Start/stop FLAGS state.
39
0bc37e5b 402010-10-11 David Gibson <david.gibson@analog.com>
56640434
MF
41
42 * config/bfin-aux.h (bfin_loop_attempt_create_label): New prototype.
43 * config/bfin-parse.y (LOOP_BEGIN, LOOP_END): Handle numeric labels.
44 * config/tc-bfin.c (bfin_loop_attempt_create_label): New funtion.
45
0bc37e5b 462010-10-11 David Gibson <david.gibson@analog.com>
71ef6f79
MF
47
48 * config/tc-bfin.c (bfin_gen_loop): Check symbol before removing.
49
9ccb8af9
AM
502010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
51
52 Fix build with -DDEBUG=7
53 * config/obj-coff.c (s_get_name, symbol_dump): Add prototypes.
54
5d4c71e1
BS
552010-10-07 Bernd Schmidt <bernds@codesourcery.com>
56
57 * config/tc-tic6x.c (tic6x_try_encode): Correct encoding of fstg field
58 in SPKERNEL instructions.
59
9ae92b05
NS
602010-10-06 Nathan Sidwell <nathan@codesourcery.com>
61
62 * config/tc-arm.c (encode_branch): Remove superfluous braces.
63 (do_t_branch): Move reloc setting to end of routine.
64
d954098f
DD
652010-10-04 David Daney <ddaney@caviumnetworks.com>
66
67 * config/tc-mips.c (mips_fix_cn63xxp1): New variable.
68 (mips_ip): Add errata work around when mips_fix_cn63xxp1 set.
69 (OPTION_FIX_CN63XXP1, OPTION_NO_FIX_CN63XXP1): New enum options
70 enumerations.
71 (md_longopts): Add options for -mfix-cn63xxp1 and -mno-fix-cn63xxp1.
72 (md_parse_option): Handle OPTION_FIX_CN63XXP1 and
73 OPTION_NO_FIX_CN63XXP1.
74 (md_show_usage): Add documentation for -mfix-cn63xxp1.
75 * doc/c-mips.texi (-mfix-cn63xxp1, -mno-fix-cn63xxp1): Document
76 the new options.
77
bb73df25
BS
782010-09-29 Bernd Schmidt <bernds@codesourcery.com>
79
80 * gas/tic6x/insns-bad-1.s: Remove test for readonly tscl.
81 * gas/tic6x/insns-bad-1.l: Likewise.
82 * gas/tic6x/insns-c674x.d: Add test for writeable tscl.
83 * gas/tic6x/insns-c674x.s: Likewise.
84
1e0f6894
AM
852010-09-29 Alan Modra <amodra@gmail.com>
86
87 * expr.c (expr): Correct returned segment value.
88
3cac54d2
RW
892010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
90
91 * configure: Regenerate.
92
43bb514a
BS
932010-09-27 Bernd Schmidt <bernds@codesourcery.com>
94
95 * config/tc-tic6x.c (tic6x_fix_adjustable): New function.
96 * config/tc-tic6x.h (tic6x_fix_adjustable): Declare.
97 (tc_fix_adjustable): New macro.
98
d9aee5d7
AK
992010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
100
101 * config/tc-s390.c: (md_parse_option): New option -march=z196.
102 * doc/c-s390.texi: Document new option.
103
6844b2c2
MGD
1042010-09-27 Tejas Belagod <tejas.belagod@arm.com>
105
106 * config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative
107 VSTR, issue an error in THUMB mode.
108
90ec0d68
MGD
1092010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
110
111 * config/tc-arm.c (arm_ext_virt): New variable.
112 (arm_reg_type): Add REG_TYPE_RNB for banked registers.
113 (reg_entry): Allow registers to be larger than a byte.
114 (reg_alias): Fix type warning.
115 (parse_operands): Parse banked registers when appropriate.
116 (do_mrs): Add support for Virtualization Extensions.
117 (do_hvc): New function.
118 (do_t_mrs): Add support for Virtualization Extensions.
119 (do_t_msr): Likewise.
120 (do_t_hvc): New function.
121 (SPLRBANK): New define.
122 (reg_names): Add banked registers.
123 (insns): Add support for Virtualization Extensions.
124 (md_apply_fixup): Likewise.
125 (arm_cpus): -mcpu=cortex-a15 implies the Virtualization Extensions.
126 (arm_extensions): Add 'virt' extension.
127 (aeabi_set_public_attributes): Add support for Virtualization
128 Extensions.
129 * doc/c-arm.texi: Document 'virt' extension.
130
eea54501
MGD
1312010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
132
133 * config/tc-arm.c (arm_ext_adiv): New variable.
134 (do_div): New function.
135 (insns): Accept UDIV and SDIV in ARM state.
136 (arm_cpus): The cortex-a15 option has all current v7-A extensions.
137 (arm_extensions): Add 'idiv' extension.
138 (aeabi_set_public_attributes): Update Tag_DIV_use values for the
139 Integer Divide extension.
140 * doc/c-arm.texi: Document the idiv extension.
141
b2a5fbdc
MGD
1422010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
143
144 * config/tc-arm.c (arm_ext_v6m): New variable.
145 (arm_ext_m): Add support for OS extension.
146 (arm_ext_os): New variable.
147 (do_t_swi): In v6-M ensure we have the OS extension.
1e0f6894 148 (arm_cpus): The cortex-m1 and cortex-m0 options have the OS
b2a5fbdc
MGD
149 extension by default.
150 (arm_archs): Add armv6s-m.
151 (arm_extensions): Add 'os' extension.
152 (cpu_arch_ver): Add support for v6S-M.
153 * doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m
154 architecture options.
155
f4c65163
MGD
1562010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
157
158 * config/tc-arm.c (arm_ext_v6z): Remove.
159 (arm_ext_sec): New variable.
160 (do_t_smc): In Thumb state SMC requires v7-A.
161 (insns): Make SMC depend on Security Extensions.
162 (arm_cpus): All -mcpu=cortex-a* options have the Security Extensions.
163 (arm_extensions): Add 'sec' extension.
164 (cpu_arch_ver): Reorder.
165 (aeabi_set_public_attributes): Emit Tag_Virtualization_use as
166 appropriate.
167 * doc/c-arm.texi: Document Security Extensions.
168
60e5ef9f
MGD
1692010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
170
171 * config/tc-arm.c (arm_ext_mp): Add.
172 (do_pld): Update comment.
173 (insns): Add support for pldw.
174 (arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
175 MP extension.
176 (arm_extensions): Add 'mp' extension.
177 (aeabi_set_public_attributes): Emit correct build attribute when
178 MP extension is enabled.
179 * doc/c-arm.texi: Update for MP extensions.
180
69133863
MGD
1812010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
182
183 * config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
184 (arm_option_extension_value_table): Add.
185 (arm_extensions): Change type.
186 (arm_option_cpu_table): Rename...
187 (arm_option_fpu_table): ...to this.
188 (arm_fpus): Change type.
1e0f6894 189 (arm_parse_extension): Enforce alphabetical order. Allow
69133863
MGD
190 extensions to be removed.
191 (arm_parse_arch): Allow extensions to be specified with -march.
192 (s_arm_arch_extension): Add.
193 (s_arm_fpu): Update for type changes.
194 * doc/c-arm.texi: Document changes to infrastructure.
195
57b3551e
AM
1962010-09-23 Alan Modra <amodra@gmail.com>
197
198 * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
199 with the absolute section symbol.
200
f9e32221
MF
2012010-09-22 Mike Frysinger <vapier@gentoo.org>
202
203 * config/bfin-parse.y: Fix typo in BYTEOP16P comment.
204
db3b8e53
MF
2052010-09-22 Robin Getz <robin.getz@analog.com>
206
207 * config/bfin-parse.y (is_store): New function.
208 (gen_multi_instr_1): Check parallel slots for store insns.
209
9d2eed06
MF
2102010-09-22 Robin Getz <robin.getz@analog.com>
211
212 * config/bfin-defs.h (IS_EMUDAT): New define.
213 * config/bfin-parse.y: Accept EMUDAT for any register move.
214
a2c28b80
MF
2152010-09-22 Robin Getz <robin.getz@analog.com>
216
217 * config/bfin-parse.y: Improve error messages.
218
a01eda85
MF
2192010-09-22 Robin Getz <robin.getz@analog.com>
220
221 * config/bfin-parse.y (DBG): Fix regno encoding.
222 (DBGCMPLX): Likewise.
223
efda0242
MF
2242010-09-22 Robin Getz <robin.getz@analog.com>
225
226 * config/bfin-lex.l: Accept multibyte chars in symbol names.
227
22215ae0
MF
2282010-09-22 Robin Getz <robin.getz@analog.com>
229
230 * config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
231 * config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
232
73a63ccf
MF
2332010-09-22 Mike Frysinger <vapier@gentoo.org>
234
235 * config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
236 * config/tc-bfin.c (bfin_gen_pseudochr): New function.
237 * config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
238
1b182c3c
MF
2392010-09-22 Mike Frysinger <vapier@gentoo.org>
240
241 * config/bfin-lex.l (abort): Accept case-insensitive abort insn.
242 * config/bfin-parse.y (ABORT): Handle the ABORT token.
243
30208012
MF
2442010-09-22 Mike Frysinger <vapier@gentoo.org>
245
246 * config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
247
6e38d384
MF
2482010-09-22 Mike Frysinger <vapier@gentoo.org>
249
250 * doc/c-bfin.texi (-mcpu): Add bf592.
251 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
252 (bfin_cpus[]): Add 0.0/0.1 for bf592.
253
7286ec15
MF
2542010-09-22 Mike Frysinger <vapier@gentoo.org>
255
256 * config/tc-bfin.c (comment_chars): Add #.
257
4ff9b924
MGD
2582010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
259
260 * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
261
bc1bc43f
RH
2622010-09-20 Richard Henderson <rth@redhat.com>
263
264 * config/tc-alpha.c (tc_gen_reloc): Remove hack around
265 bfd_perform_reloc for OBJ_ELF.
266
eab4f823
MGD
2672010-09-17 Tejas Belagod <tejas.belagod@arm.com>
268
269 * config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
270 list for ldm/stm.
271
59b42a0d
MGD
2722010-09-17 Tejas Belagod <tejas.belagod@arm.com>
273
274 * config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
275 non-M-arch cpus.
276 (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
277
db472d6f
MGD
2782010-09-17 Tejas Belagod <tejas.belagod@arm.com>
279
280 * config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
281 of just RR.
282
8f3bae45
AM
2832010-09-17 Andrew Burgess <aburgess@broadcom.com>
284
285 PR gas/12011
286 * config/obj-elf.c (obj_elf_parse_section_letters): Correct test
287 for error return from md_elf_section_letter.
288 * config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
289 * config/tc-i386.c (x86_64_section_letter): Likewise.
290 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
291 * config/tc-mep.c (mep_elf_section_letter): Likewise.
292
2d7f4929
KT
2932010-09-15 Kai Tietz <kai.tietz@onevision.com>
294
bea2c1d7
KT
295 * config/obj-coff-seh.c (seh_validate_seg): New funtion.
296 (obj_coff_seh_endproc): Add check for segment.
297 (obj_coff_seh_endprologue): Likewise.
298 (obj_coff_seh_pushreg): Likewise.
299 (obj_coff_seh_pushframe): Likewise.
300 (obj_coff_seh_save): Likewise.
301 (obj_coff_seh_setframe): Likewise.
302
303 * config/obj-coff-seh.h (seh_context): New member code_seg.
304 * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
305 for link-once code-segment.
2d7f4929 306
7ef07ba0
JZ
3072010-09-14 Jie Zhang <jie@codesourcery.com>
308
309 * doc/c-arm.texi: Document -mcpu=cortex-m4.
310
04251de0
L
3112010-09-09 H.J. Lu <hongjiu.lu@intel.com>
312
313 * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
314 VEX prefix.
315
8a0344f6
JM
3162010-09-09 Joseph Myers <joseph@codesourcery.com>
317
318 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
319
dbb1f804
MGD
3202010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
321
322 * config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
323 * doc/c-arm.texi: Document -mcpu=cortex-a15.
324
33f0727f
NC
3252010-09-09 Gunther Nikl <gnikl@users.sourceforge.net>
326
327 * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
328 weak symbols first if generating an a.out object.
329
40f246e3
NC
3302010-09-09 Tejas Belagod <tejas.belagod@arm.com>
331
332 * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
333 flag-setting and handle accordingly.
334
95b75c01
NC
3352010-09-09 Nick Clifton <nickc@redhat.com>
336
337 PR gas/11972
338 * config/tc-arm.c (parse_big_immediate): Allow for bignums being
339 extended to the size of a .octa.
340
15735687
NS
3412010-09-08 Julian Brown <julian@codesourcery.com>
342
343 * config/tc-arm.c (create_neon_reg_alias): Deal with case
344 sensitivity.
345
ab3e2b4a
NC
3462010-09-08 Nick Clifton <nickc@redhat.com>
347
348 PR gas/11973
349 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
350 long call instruction's displacement.
351
13f864ae
L
3522010-09-03 H.J. Lu <hongjiu.lu@intel.com>
353
354 PR gas/11974
355 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
356 instead of use_rela_relocations for 64bit.
357
3251495b
RH
3582010-09-02 Richard Henderson <rth@redhat.com>
359
360 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
361 (output_fde): Use it. Make sure to fully init exp before using it.
362
6e0973c0
KT
3632010-08-31 Kai Tietz <kai.tietz@onevision.com>
364
365 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
366 (obj_coff_seh_stackalloc): Likewise.
367
91952a06
AM
3682010-08-31 Alan Modra <amodra@gmail.com>
369
370 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
371
681418c2
RH
3722010-08-30 Richard Henderson <rth@redhat.com>
373
374 * config/obj-coff-seh.c: Rewrite the entire file.
375 (symtab, symptr, reltab, relcount, relsize): Remove.
376 (seh_ctx_root, seh_ctx): Remove.
377 (xdata_seg, xdata_subseg, pdata_seg): New.
378 (switch_xdata, switch_pdata): New.
379 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
380 New parsing functions. Rewrite all parsing functions to use them.
381 (obj_coff_seh_32): Fix != arm thinko.
382 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
383 only flags.
384 (obj_coff_seh_handlerdata): New.
385 (do_seh_endproc): Split out of ...
386 (obj_coff_seh_endproc): ... here.
387 (obj_coff_seh_proc): Use it, if needed.
388 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
389 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
390 alternatives. Don't slurp commas.
391 (seh_read_offset): Remove.
392 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
393 (obj_coff_seh_scope): Remove.
394 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
395 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
396 (out_one, out_two, out_four): New.
397 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
398 seh_x64_write_function_xdata, write_function_xdata): Rewrite
399 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
400 seh_getelm_data_size, seh_getsize_of_unwind_entry,
401 seh_make_unwind_entry, seh_getsize_unwind_data, and
402 seh_create_unwind_data.
403 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
404 (write_function_pdata): Rewrite from make_function_entry_pdata.
405 (seh_write_text_eh_data, make_function_entry_pdata,
406 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
407 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
408 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
409 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
410 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
411 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
412 seh_getsize_unwind_data, seh_create_unwind_data,
413 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
414 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
415 Add seh_handlerdata. Adjust function/what arguments for
416 seh_savereg, seh_pushframe, seh_stackalloc.
417 (struct seh_prologue_element): Adjust members to closer match
418 the elements of the UNWIND_CODE structure.
419 (struct seh_scope_elem): Remove.
420 (struct seh_context): Replace char* members with symbolS or
421 expressionS as appropriate. Sort members by ARM/x64 applicability.
422 Remove obsolete stuff wrt direct symbol and reloc manipulation.
423
5fec8599
L
4242010-08-25 Alan Modra <amodra@gmail.com>
425
426 * NEWS: Mention ampersand in macro change.
427
6f034178
AM
4282010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
429
430 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
431
4ad7ac30
AM
4322010-08-25 Alan Modra <amodra@gmail.com>
433
434 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
435 "name" buffer.
436 * config/tc-m68hc11.c (md_assemble): Likewise.
437 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
438 of is_end_of_line index.
439
dc5ec521
JZ
4402010-08-25 Jie Zhang <jie@codesourcery.com>
441
442 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
443
23a10334
JZ
4442010-08-25 Jie Zhang <jie@codesourcery.com>
445
446 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
447 BAD_PC_ADDRESSING condition.
448
f0cd0667
MR
4492010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
450
451 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
452
43f3e2ee
L
4532010-08-19 H.J. Lu <hongjiu.lu@intel.com>
454
455 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
456
9f2670f2
L
4572010-08-18 H.J. Lu <hongjiu.lu@intel.com>
458
459 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
460 instead of VEXXDS.
461
d1f52f54
AM
4622010-08-18 Alan Modra <amodra@gmail.com>
463
464 * macro.c (sub_actual): Add back ampersand suffix when no
465 substitution.
466 (macro_expand_body): Correct comment.
467
01642c12
RM
4682010-08-17 Roland McGrath <roland@redhat.com>
469
470 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
471 boolean result parameter CLONE; set it if '?' flag letter seen.
472 (obj_elf_section): Update caller. Handle that flag by copying
473 the LINKONCE and GROUP_NAME state from NOW_SEG.
474 * doc/as.texinfo (Section): Document the ? flag.
475
955974c6
CC
4762010-08-09 Cary Coutant <ccoutant@google.com>
477
478 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
479 installed.
480 (main): Warn if --compress-debug-sections requested and zlib not
481 installed.
482 * doc/as.texinfo: Add --compress-debug-sections,
483 --nocompress-debug-sections.
484
49021df2
L
4852010-08-06 H.J. Lu <hongjiu.lu@intel.com>
486
487 * config/tc-i386.c (set_cpu_arch): Re-indent.
488 (md_parse_option): Likewise.
489
22109423
L
4902010-08-06 Quentin Neill <quentin.neill@amd.com>
491
492 * config/tc-i386.c (arch_entry): Add negated bit to
493 disambiguate flag names starting with "no".
494 (cpu_arch): Add negated bit definitions. Add
495 ".nop" CPU extension.
496 (i386_align_code): Use new .cpunop bit to decide
497 when to generate alignment using nops.
498 (set_cpu_arch): Use negated bit instead to decide
499 when to use cpu_flags or vs. cpu_flags_and_not.
500 (md_parse_option): Likewise.
501
01559ecc
L
5022010-08-04 H.J. Lu <hongjiu.lu@intel.com>
503
504 * config/tc-i386.c (match_template): Move the first i.error
505 out of the loop.
506
b96282be
AM
5072010-08-04 Alan Modra <amodra@gmail.com>
508
509 * configure.tgt (m32c): Set endian=little.
510 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
511 * config/tc-m32c.c (md_number_to_chars): Revert last change.
512
1222b291
TG
5132010-08-03 Tristan Gingold <gingold@adacore.com>
514
515 * makefile.vms (OBJS): Add Add compress-debug.c.
516
e4d9f078
AM
5172010-08-03 Alan Modra <amodra@gmail.com>
518
519 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
520 * config/tc-m32c.c (md_number_to_chars): Call bigendian
521 form of number_to_chars, not littleendian.
522
69da848e
AM
5232010-08-02 Alan Modra <amodra@gmail.com>
524
525 * config/tc-d30v.c (d30v_cons_align): Don't align constants
526 in debug sections.
527
93d90f46
AM
5282010-08-02 Alan Modra <amodra@gmail.com>
529
530 PR gas/11867
531 * expr.c (operand <'-' and '~'>): Widen bignums.
532 (operand <'!'>): Correct bignum result and convert to O_constant.
533 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
534 bignum truncated warning for sign extended bignums.
535
cd94c7fb
AM
5362010-08-02 Alan Modra <amodra@gmail.com>
537
538 * config/tc-v850.c (md_assemble): Always pass format string to
539 as_warn.
540 (md_apply_fix): Similarly for as_warn_where.
541
f09c1772
L
5422010-07-29 H.J. Lu <hongjiu.lu@intel.com>
543
544 * config/tc-i386-intel.c: Reformat.
545
cc9edbf3
AM
5462010-07-29 Alan Modra <amodra@gmail.com>
547
548 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
549 in large toc code.
550
25313d6a
AM
5512010-07-28 Alan Modra <amodra@gmail.com>
552
553 PR gas/11841
554 * symbols.c (symbol_clone): Correct typo in previous patch.
555
9d75b288
AM
5562010-07-28 Alan Modra <amodra@gmail.com>
557
558 PR gas/11841
559 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
560
5a938047
AM
5612010-07-28 Alan Modra <amodra@gmail.com>
562
563 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
564 syntax error message.
565
03ea81db
MR
5662010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
567
568 * config/tc-mips.c (mips16_macro_build): Pass "args" by
569 reference rather than value.
570 (macro_build): Update accordingly.
571
5722010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
8680f6e1
MR
573
574 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
575 a fake label.
576
d3fca0b5
MR
5772010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
578
579 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
580 delay slot in the noreorder mode with the o32 ABI.
581
1cd986c5
NC
5822010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
583 Ina Pandit <ina.pandit@kpitcummins.com>
584
585 * config/tc-v850.c: Update processor_mask.
586 (reg_name): Update the structure to use processors field.
587 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
588 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
589 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
590 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
591 SUBYPTE_SA_9_17_22_32.
592 (set_machine): Add support for V850E2 and V850E2V3.
593 (md_pseudo_table): Likewise.
594 (pre_defined_registers): Update pre defined registers suitable
595 for each family of registers.
596 (system_registers): Likewise.
597 (cc_names): Update the condition code.
598 (float_cc_names): Update the condition code for float.
599 (reg_name_search): Update based on current modifications.
600 (register_name): Likewise.
601 (system_register_name): Update to support new system registers
602 and supported families.
603 (cc_name): Update to support new condition codes.
604 (float_cc_name): New function to support float condition codes.
605 (parse_register_list): Update to support newly added registers.
606 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
607 Also support added for disp-size-default-22, disp-size-default-32,
608 mextension, mno-bcond17 and mno-stld23.
609 (md_parse_option): Implement the support for above options defined
610 in md_show-usage.
611 (md_convert_frag): Implement support for subtypes defined in
612 md_relax_table to support branch operations.
613 (md_begin): Add support for V850E2 and V850E2V3.
614 (handle_hi016, handle_hi16): new relocation handling functions
615 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
616 handle_tdaoff): Updated relocation handling functions for newly
617 added relocations.
618 (v850_reloc_prefix): Update the relocation handling functions.
619 (v850_insert_operand): Updated the functions with error message
620 parameter and modified the function to use it.
621 (md_assemble): Update according to the latest modifications.
622 (md_apply_fix): Updated the functions with error message parameter
623 and modified the function to use it.
624 (v850_force_relocation): Update with newly added relocations.
625 * configure.tgt: Match all v850 targets.
626 * doc/c-v850.texi: Document the newly added targets.
627 * NEWS: Likewise.
628
c0ba1095
AM
6292010-07-23 Alan Modra <amodra@gmail.com>
630
631 PR gas/11834
632 * macro.c (macro_expand): Recover gracefully from named args that
633 don't match params.
634
1575952e
TS
6352010-07-22 Thomas Schwinge <thomas@codesourcery.com>
636
637 Switch MIPS to 32-bit DWARF format.
638 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
639 * config/tc-mips.c (mips_dwarf2_format): Likewise.
640
33740db9
AM
6412010-07-20 Alan Modra <amodra@gmail.com>
642
643 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
644
4e92bb1c
AM
6452010-07-16 Alan Modra <amodra@gmail.com>
646
647 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
648 specifier warnings for 32-bit host when --enable-64-bit-bfd.
649 (rx_relax_frag, md_convert_frag): Likewise.
650
0af8aa50
L
6512010-07-15 Cary Coutant <ccoutant@google.com>
652
653 * gas/NEWS: Add note about --compress-debug-sections.
654 * gas/as.c (show_usage): Add --compress-debug-sections and
655 --nocompress-debug-sections.
656
6e8bd58f
NS
6572010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
658
659 * config/obj-elf.c (get_sym_from_input_line_and_check): New
660 function to catch missing pseudo-op arguments.
661 (obj_elf_local): Call new function.
662 (obj_elf_weak): Likewise.
663 (obj_elf_visibility): Likewise.
664 (obj_elf_vtable_entry): Likewise.
665 (obj_elf_type): Likewise.
666
1e17085d
KT
6672010-07-15 Kai Tietz <kai.tietz@onevision.com>
668
669 * config/obj-coff-seh.c
670 (seh_getelm_data_size): New.
671 (seh_read_offset): Handle negative values.
672 (obj_coff_seh_push): Handle offset for save-register store.
673 (obj_coff_seh_setframe): Add unwind-information for frame.
674 (seh_store_elm_data): New.
675 (seh_getelm_data_size): Return additionally unaligned element count.
676 (seh_make_unwind_entry): Correct tweak about element count.
677
92b4f90c
L
6782010-07-12 H.J. Lu <hongjiu.lu@intel.com>
679
680 PR gas/11806
681 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
682 through patch for O_multiply.
683
a7879ef1
KT
6842010-07-11 Kai Tietz <kai.tietz@onevision.com>
685
686 PR ld/11612
687 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
688
52e7f43d
RE
6892010-07-08 Tejas Belagod <tejas.belagod@arm.com>
690
691 * tc-arm.c (OP_oBARRIER): Remove.
692 (OP_oBARRIER_I15): Add.
693 (po_barrier_or_imm): Add macro.
694 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
695 (do_barrier): Check correct immediate range.
696 (do_t_barrier): Likewise.
697 (barrier_opt_names): Add entries for more symbolic operands.
698 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
699
db187cb9
NS
7002010-07-08 Daniel Gutson <dgutson@codesourcery.com>
701
702 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
703 error message.
704
30cfc97a
MR
7052010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
706
707 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
708 symbols.
709
9a2c7088
MR
7102010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
711
712 * config/tc-mips.c (nops_for_insn_or_target): Replace
713 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
714 MIPS16_INSN_COND_BRANCH.
715
df1c40a7
L
7162010-07-05 Jim Wilson <wilson@codesourcery.com>
717
718 PR gas/10531
719 PR gas/11789
720 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
721 if it isn't empty.
722
793d370e
AM
7232010-07-05 Alan Modra <amodra@gmail.com>
724
725 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
726 unused var.
727
dbb3fc7d
L
7282010-07-04 H.J. Lu <hongjiu.lu@intel.com>
729
730 * Makefile.am (CONFIG_OBJS): Removed.
731 (GENERIC_OBJS): Likewise.
732 (OBJS): Likewise.
733 * Makefile.in: Regenerated.
734
c64efb4b
L
7352010-07-03 Jan Beulich <jbeulich@novell.com>
736
737 PR gas/11732
738 * config/tc-i386.c (i386_finalize_displacement): Don't call
739 section_symbol() with expr_section.
740
0acf065b
CC
7412010-07-03 Cary Coutant <ccoutant@google.com>
742
743 * Makefile.am: Add compress-debug.c and compress-debug.h.
744 * Makefile.in: Regenerate.
745 * config.in: Add HAVE_ZLIB_H.
746 * configure.in: Check for zlib.h.
747 * configure: Regenerate.
748
749 * as.c (parse_args): Add --compress-debug-sections and
750 --nocompress-debug-sections.
751 * as.h (flag_compress_debug): New variable.
752 * compress-debug.c: New file.
753 * compress-debug.h: New file.
754 * write.c: Include compress-debug.h.
755 (compress_frag): New function.
756 (compress_debug): New function.
757 (write_object_file): Compress debug sections if requested.
758
7102e95e
AS
7592010-07-03 Andreas Schwab <schwab@linux-m68k.org>
760
761 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
762 before inverting.
763
bdc70b4a
AM
7642010-07-03 Alan Modra <amodra@gmail.com>
765
766 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
767 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
768
44a808b1
DD
7692010-07-02 DJ Delorie <dj@redhat.com>
770
731df70d
DD
771 * config/tc-rx.h (md_do_align): New.
772 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
773 * config/tc-rx.c (nops): New.
774 (rx_handle_align): Use various sized nops to align code.
775
44a808b1
DD
776 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
777 relaxation.
778 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
779
c7b8aa3a
L
7802010-07-01 H.J. Lu <hongjiu.lu@intel.com>
781
782 AVX Programming Reference (June, 2010)
783 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
784 and .f16c.
785
786 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
787
76fa04a4
MGD
7882010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
789
790 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
791 deprecated mov register instructions.
792
01efc3af
AM
7932010-07-01 Alan Modra <amodra@gmail.com>
794
795 * config/tc-ppc.c (toc_reloc_types): New variable.
796 (md_assemble): Set it.
797 (ppc_frob_file_before_adjust): Don't warn about toc section size
798 if we have large toc relocs and no small toc relocs.
799
360cfc9c
AM
8002010-06-29 Alan Modra <amodra@gmail.com>
801
802 * config/tc-maxq.h: Delete file.
803 * config/tc-maxq.c: Delete file.
804 * Makefile.am: Remove references to maxq.
805 * configure.tgt: Likewise.
806 * config/obj-coff.h: Likewise.
807 * Makefile.in: Regenerate.
808 * configure: Regenerate.
809 * po/POTFILES.in: Regenerate.
810
87975d2a
AM
8112010-06-28 Alan Modra <amodra@gmail.com>
812
813 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
814 * config/tc-crx.c (gettrap): Constify arg.
815 (handle_LoadStor, get_cinv_parameters): Likewise.
816 (getreg_image): Fix enum warning
817 (md_assemble): Restore input line char.
818 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
819 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
820 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
821 (build_Mytes): Fix build failure for non-elf targets.
822 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
823 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
824
825 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
826 * ecoff.c (add_ecoff_symbol): Likewise.
827 * itbl-ops.c (append_insns_as_macros): Likewise.
828 * listing.c (debugging_pseudo): Likewise.
829 * read.c (s_mri_common, stringer): Likewise.
830 * config/obj-coff.c (coff_frob_section): Likewise.
831 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
832 * config/tc-arm.c (my_get_expression): Likewise.
833 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
834 * config/tc-m32c.c (md_assemble): Likewise.
835 * config/tc-microblaze.c (md_convert_frag): Likewise.
836 * config/tc-mips.c (s_change_section): Likewise.
837 * config/tc-mt.c (mt_fix_adjustable): Likewise.
838 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
839
840 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
841 unused vars.
842 * config/tc-alpha.c (load_expression): Likewise.
843 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
844 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
845 * config/tc-avr.c (extract_word): Likewise.
846 * config/tc-cris.c (cris_get_expression): Likewise.
847 * config/tc-d30v.c (build_insn, find_format): Likewise.
848 * config/tc-dlx.c (machine_ip): Likewise.
849 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
850 * config/tc-i370.c (md_assemble): Likewise.
851 * config/tc-i960.c (brtab_emit): Likewise.
852 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
853 * config/tc-m32c.c (md_convert_frag): Likewise.
854 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
855 (md_estimate_size_before_relax, md_apply_fix): Likewise.
856 * config/tc-m68k.c (md_show_usage): Likewise.
857 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
858 * config/tc-mips.c (s_mips_end): Likewise.
859 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
860 * config/tc-mn10300.c (md_assemble): Likewise.
861 * config/tc-msp430.c (extract_word): Likewise.
862 * config/tc-mt.c (md_assemble): Likewise.
863 * config/tc-or32.c (machine_ip): Likewise.
864 * config/tc-pj.c (md_apply_fix): Likewise.
865 * config/tc-s390.c (md_gather_operands): Likewise.
866 * config/tc-sh.c (sh_cons_align): Likewise.
867 * config/tc-sparc.c (sparc_cons_align): Likewise.
868 * config/tc-tic4x.c (tic4x_sect): Likewise.
869 * config/tc-tic54x.c (tic54x_stringer): Likewise.
870 * config/tc-vax.c (vip_op): Likewise.
871 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
872 * config/tc-xtensa.c (md_assemble): Likewise.
873 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
874 (xtensa_move_literals): Likewise.
875
8e560766
MGD
8762010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
877
878 * config/tc-arm.c (parse_neon_alignment): New function.
879 (parse_address_main): Fix Neon load/store alignment parsing.
880
b7adb16d
JB
8812010-06-22 Jan Beulich <jbeulich@novell.com>
882
b7adb16d
JB
883 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
884 symbols named "$".
885 (i386_intel_operand): Remove bogus handling of pseudo symbols
886 named "$".
887 * expr.c (current_location): Remove 'static' and local
888 declaration.
889 * expr.h (current_location): Declare.
890
58e8191c
SA
8912010-06-21 Sterling Augustine <sterling@tensilica.com>
892
893 PR gas/11728
894 * as.c: Globalize keep_it.
895 (main): Remove keep_it. Move conditional from here...
896 (close_output_file): ...to here.
897
1f9bb1ca
AS
8982010-06-21 Andreas Schwab <schwab@redhat.com>
899
900 * doc/as.texinfo (Overview): Use @itemx for grouped @table
901 items.
902 * doc/c-alpha.texi (Alpha Options): Likewise.
903 * doc/c-arm.texi (ARM Directives): Likewise.
904 * doc/c-bfin.texi (Blackfin Options): Likewise.
905 * doc/c-d10v.texi (D10V-Opts): Likewise.
906 * doc/c-i386.texi (i386-Options): Likewise.
907 * doc/c-ia64.texi (IA-64 Options): Likewise.
908 * doc/c-m68k.texi (M68K-Opts): Likewise.
909 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
910 * doc/internals.texi (Symbols): Likewise.
911
6d0cb78c
AM
9122010-06-21 Alan Modra <amodra@gmail.com>
913
914 PR gas/11733
915 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
916
38bd8d09
JM
9172010-06-18 Joseph Myers <joseph@codesourcery.com>
918
919 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
920 func_units_used.
921 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
922 (md_assemble): Clear func_units_used for new execute packet.
923 Check for duplicate functional units and update func_units_used
924 for instructions using a functional unit.
925
59e6276b
JM
9262010-06-15 Joseph Myers <joseph@codesourcery.com>
927
928 * config/tc-tic6x.c: Include elf/tic6x.h.
929 (tic6x_arch_attribute, tic6x_seen_insns): New.
930 (tic6x_arch_table, tic6x_arches): Add attribute values.
931 (tic6x_use_arch): Handle attribute settings.
932 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
933 tic6x_attribute_table, tic6x_attributes,
934 tic6x_convert_symbolic_attribute): New.
935 (md_pseudo_table): Add c6xabi_attribute.
936 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
937 (tic6x_set_attribute_int, tic6x_set_attributes): New.
938 (tic6x_end): Call tic6x_set_attributes.
939 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
940 (tic6x_convert_symbolic_attribute): Declare.
941
e01d869a
AM
9422010-06-14 Alan Modra <amodra@gmail.com>
943
944 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
945 PPC_OPCODE_E500.
946
1ded5609
JB
9472010-06-11 Jan Beulich <jbeulich@novell.com>
948
949 * config/tc-i386.c (md_parse_option): Ignore impossible processor
950 types.
951 (show_arch): New parameter 'check'.
952 (md_show_usage): Adjust calls to show_arch().
953
78f12dd3
L
9542010-06-10 H.J. Lu <hongjiu.lu@intel.com>
955
956 * config/tc-i386.c (update_code_flag): New.
957 (set_code_flag): Use it.
958 (i386_target_format): Replace set_code_flag with update_code_flag.
959
e1f000f6
TG
9602010-06-10 Tristan Gingold <gingold@adacore.com>
961
962 * config/obj-som.h: Includes som/reloc.h
963
89507696
JB
9642010-06-10 Jan Beulich <jbeulich@novell.com>
965
966 * config/tc-i386.c (cpu_arch): Add comment.
967 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
968 from the generic entries of cpu_arch[].
969
55881a11
MGD
9702010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
971
e1f000f6 972 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
55881a11
MGD
973 value.
974 (parse_operands): Add support for OP_RRnpctw.
e1f000f6 975 (insns): Update floating-point load/store multiples so the
55881a11
MGD
976 first register is of type OP_RRnpctw.
977
09137c09
SP
9782010-06-08 Quentin Neill <quentin.neill@amd.com>
979
980 * config/tc-i386.c (pi): Rename local loop counter
981 variable i that shadows global static i386_insn i
982 when DEBUG386 is defined.
983 (pte) Ditto.
984
9fbcbd81
NC
9852010-06-08 Nick Clifton <nickc@redhat.com>
986
987 * doc/as.texinfo: Replace abbreviated 20th century year numbers
988 with full versions.
989
40a9833c
SP
9902010-06-02 Quentin Neill <quentin.neill@amd.com>
991
992 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
993
aadd8030
TG
9942010-06-02 Tristan Gingold <gingold@adacore.com>
995
996 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
997 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
998 Remove conditionnal inclusion of stdarg.h and varargs.h.
999 Assume ISO C.
1000 * config.in: Regenerate.
1001 * configure: Regenerate.
1002 * configure.in: Remove stdarg.h and varargs.h from
1003 AC_CHECK_HEADERS list.
1004 * messages.c (as_tsktsk): Remove non ISO C version.
1005 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
1006
51794af8
TG
10072010-05-31 Tristan Gingold <gingold@adacore.com>
1008
1009 * config/tc-alpha.c: Add comments for evax.
1010 * config/obj-evax.c: Ditto.
1011
941a8a52
MGD
10122010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1013
1014 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
1015 lsls and not adds.
1016
1e5b0379
NC
10172010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1018
1019 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
1020 writeback when base register is in register list an error, and
1021 correct check.
1022 (do_t_ldmstm): Change warnings.
1023
f79e2745
CM
10242010-05-26 Catherine Moore <clm@codesourcery.com>
1025
1026 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
1027 (macro_build): Change invocation of is_opcode_valid.
1028 (mips_ip): Likewise.
1029
5ae57a91
NC
10302010-05-25 Nick Clifton <nickc@redhat.com>
1031
1032 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
1033 * Makefile.in: Regenerate.
1034
8e45593f
NC
10352010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
1036 Joseph Myers <joseph@codesourcery.com>
1037 Andrew Stubbs <ams@codesourcery.com>
1038
1039 * config/tc-sh.c (sh_fdpic): New.
1040 (sh_check_fixup): Handle relocations on movi20.
1041 (parse_exp): Do not reject PIC operators here.
1042 (build_Mytes): Check for unhandled PIC operators here. Use
1043 sh_check_fixup for movi20.
1044 (enum options): Add OPTION_FDPIC.
1045 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
1046 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
1047 (sh_elf_final_processing): Handle --fdpic.
1048 (sh_uclinux_target_format): New.
1049 (sh_parse_name): Handle FDPIC relocation operators.
1050 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
1051 (sh_uclinux_target_format): Declare for TE_UCLINUX.
1052 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
1053 em=uclinux.
1054 * doc/c-sh.texi (SH Options): Document --fdpic.
1055
52a6ecd2
NC
10562010-05-25 Jay Krell <jay.krell@cornell.edu>
1057
1058 PR ld/11621
1059 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
1060 * Makefile.in: Regenerate.
1061
1239de13
AM
10622010-05-25 Alan Modra <amodra@gmail.com>
1063
1064 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
1065
9c8b3bfe
NC
10662010-05-19 Nick Clifton <nickc@redhat.com>
1067
1068 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
1069 of known section prefixes.
1070
18ae9cc1
L
10712010-05-18 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 PR gas/11600
1074 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
1075 (obj_elf_parse_section_letters): Likewise.
1076 (obj_elf_section_word): Likewise.
1077
1078 * config/tc-ppc.c (ppc_section_letter): Removed.
1079 (ppc_section_word): Likewise.
1080 * config/tc-ppc.h (ppc_section_letter): Likewise.
1081 (ppc_section_word): Likewise.
1082 (md_elf_section_letter): Likewise.
1083 (md_elf_section_word): Likewise.
1084
1085 * doc/as.texinfo: Document `e' and `#exclude'.
1086
bf3eeda7
NS
10872010-05-13 Nathan Sidwell <nathan@codesourcery.com>
1088
1089 * config/tc-arm.c (md_assemble): Clarify current mode in error
1090 messages about unsupported instructions.
1091 (UT): Delete #define.
1092 (insns): Adjust cbnz, cbz appropriately.
1093
4547cb56
NC
10942010-05-11 Andrew Stubbs <ams@codesourcery.com>
1095
1096 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
1097
10982010-05-11 Jie Zhang <jie@codesourcery.com>
1099
1100 * config/tc-arm.c (aeabi_set_public_attributes): Set
1101 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
1102
6540b386
TG
11032010-05-07 Tristan Gingold <gingold@adacore.com>
1104
1105 * Makefile.in: Regenerate with automake 1.11.1.
1106 * aclocal.m4: Ditto.
1107 * doc/Makefile.in: Ditto.
1108
3e01a7fd
NC
11092010-05-05 Nick Clifton <nickc@redhat.com>
1110
1111 * po/es.po: Updated Spanish translation.
1112
847d4311
NS
11132010-05-05 Julian Brown <julian@codesourcery.com>
1114
1115 * read.c (cons_worker): Detect and reject unexpected string argument.
1116
1fc5d88e
NC
11172010-05-04 Nick Clifton <nickc@redhat.com>
1118
1119 * write.c (fixup_segment): Revert previous delta.
1120 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
1121 generation of relocations for fixups against weak symbols.
1122
77db8e2e
NC
11232010-04-29 Nathan Sidwell <nathan@codesourcery.com>
1124
1125 * write.c (fixup_segment): Do not assume we know the section a
1126 defined weak symbol is in.
1127 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
1128 weak symbols as not known to be in the same section, even if they
1129 are defined.
1130
d99e5b39
JM
11312010-04-27 Joseph Myers <joseph@codesourcery.com>
1132
1133 * config/tc-tic6x.h (tic6x_label_list): New.
1134 (tic6x_segment_info_type): Keep a list of labels and a current
1135 frag instead of a boolean for whether labels seen and a count of
1136 instructions.
1137 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
1138 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
1139 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
1140 (tic6x_cleanup): Correct comment.
1141 (tic6x_free_label_list): New.
1142 (tic6x_cons_align): Free label list and update for
1143 tic6x_segment_info_type changes.
1144 (tic6x_do_align): New.
1145 (md_assemble): Handle list of labels and saved frag for execute
1146 packet. Create machine-dependent frag for new execute packet and
1147 adjust labels accordingly.
1148 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
1149 (md_convert_frag, md_estimate_size_before_relax): Update comments.
1150
25303607
L
11512010-04-24 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 PR gas/11535
1154 * config/tc-i386-intel.c (intel_state): Add is_indirect.
1155 (i386_intel_operand): Initialize intel_state.is_indirect. Check
1156 intel_state.is_indirect for "call|jmp [symbol]".
1157
9c9c98a5
NC
11582010-04-22 Nick Clifton <nickc@redhat.com>
1159
1160 * po/gas.pot: Updated by the Translation project.
1161
0398aac5
L
11622010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1163
1164 * config/tc-i386.c (i386_is_register): Removed.
1165 (x86_cons): Don't use i386_is_register.
1166 (parse_register): Likewise.
1167 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1168 (i386_intel_operand): Likewise.
1169
e96d56a1
L
11702010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1171
1172 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
1173 i386_is_register.
1174
8d46fc7c
L
11752010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1176
1177 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
1178 (x86_cons): Updated.
1179 (parse_register): Likewise.
1180 (tc_x86_parse_to_dw2regnum): Likewise.
1181 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1182 (i386_intel_operand): Likewise.
1183
3c7b9c2c
L
11842010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 PR gas/11509
1187 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
1188 (i386_intel_simplify): Use i386_is_register and
1189 i386_intel_simplify_register. Set X_md for O_register and
1190 check X_md for O_constant.
1191 (i386_intel_operand): Use i386_is_register.
1192
1193 * config/tc-i386.c (i386_is_register): New.
1194 (x86_cons): Initialize the X_md field. Use i386_is_register.
1195 (parse_register): Use i386_is_register.
1196 (tc_x86_parse_to_dw2regnum): Likewise.
1197
34a7d6c6
L
11982010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1199
1200 * expr.c (expr): Initialize the X_md field.
1201
41820509
JM
12022010-04-20 Joseph Myers <joseph@codesourcery.com>
1203
1204 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1205 (md_longopts): Add -mgenerate-rel.
1206 (tic6x_generate_rela): New.
1207 (md_parse_option): Handle -mgenerate-rel.
1208 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
1209 (tic6x_init_after_args): New.
1210 (md_apply_fix): Correct shift calculations for SB-relative
1211 relocations.
1212 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
1213 adjust addresses for relocations referencing symbols in other
1214 sections.
1215 (tc_gen_reloc): Adjust addend calculations for REL relocations.
1216 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1217 tic6x_pcrel_from_section, tc_init_after_args,
1218 tic6x_init_after_args): New.
1219
aa27de95
NC
12202010-04-20 Nick Clifton <nickc@redhat.com>
1221
1222 PR gas/11507
1223 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1224 altmacro mode if found inside a quoted string.
1225
048e5b80
MF
12262010-04-20 Mike Frysinger <vapier@gentoo.org>
1227
1228 * config/bfin-lex.l (parse_int): Change index() to strchr().
1229
bb7835b8
NC
12302010-04-16 Nick Clifton <nickc@redhat.com>
1231
1232 PR gas/11395
1233 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1234 matcher to accept and unconditional 32-bit add instruction.
1235 (pa_build_unwind_subspace): Cope with error conditions not
1236 allowing the start symbol to be set.
1237
75375b3e
MGD
12382010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1239
1240 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1241 new tag names in v2.08 of ARM ABI.
1242 * doc/c-arm.texi: Document new tag names in ABI.
1243
d8703844
TG
12442010-04-14 Tristan Gingold <gingold@adacore.com>
1245
1246 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
1247 (s_alpha_comm): Used new EGPS macros from egps.h
1248 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1249 (s_alpha_section_word): Add comments. Use new EGPS macros.
1250 Adjust for modified bfd_vms_set_section_flags function.
1251
aa0c8c1a
AM
12522010-04-10 Alan Modra <amodra@gmail.com>
1253
1254 PR gas/11486
1255 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1256
3d540e93
NC
12572010-04-09 Nick Clifton <nickc@redhat.com>
1258
1259 * as.c (create_obj_attrs_section): Remove unused variable addr.
1260 * listing.c (listing_listing): Remove unused variable message.
1261 * read.c: Remove unnecessary register type qualifiers.
1262 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1263 defined.
1264
e760a81b
EW
12652010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
1266
1267 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1268 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1269 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1270 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1271 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1272 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1273 atmega88pa, attiny461a, attiny84a, m3000.
1274 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1275 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1276 * doc/c-avr.texi: Same.
1277
2de7820f
JZ
12782010-04-07 Jie Zhang <jie@codesourcery.com>
1279
1280 * config/tc-arm.c (make_mapping_symbol): Handle the case
1281 that multiple mapping symbols have the same value 0.
1282
397841b5
AM
12832010-04-07 Alan Modra <amodra@gmail.com>
1284
1285 * configure: Regenerate.
1286
bd32c6bd
NC
12872010-04-06 Nick Clifton <nickc@redhat.com>
1288
1289 * po/ru.po: New Russian translation.
1290 * configure.in (ALL_LINGUAS): Add ru.
1291 * configure: Regenerate.
1292
b36562f6
L
12932010-03-30 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 PR gas/11456
1296 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
1297 of memcpy to copy overlap memory.
1298
40b36596
JM
12992010-03-25 Joseph Myers <joseph@codesourcery.com>
1300
1301 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1302 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1303 * Makefile.in: Regenerate.
1304 * NEWS: Add news entry for TI C6X support.
1305 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
1306 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
1307 operands if TC_KEEP_OPERAND_SPACES.
1308 * configure.tgt (tic6x-*-*): New.
1309 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1310 TC_PREDICATE_END_CHAR): Define.
1311 * config/tc-tic6x.c, config/tc-tic6x.h: New.
1312 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1313 * doc/Makefile.in: Regenerate.
1314 * doc/all.texi (TIC6X): Define.
1315 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
1316 * doc/c-tic6x.texi: New.
1317
cff8d58a
L
13182010-03-22 H.J. Lu <hongjiu.lu@intel.com>
1319
1320 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1321
86e026a4
L
13222010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1323
1324 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1325 with operand_size_mismatch.
1326 (operand_size_match): Updated.
1327 (match_template): Likewise.
1328
a65babc9
L
13292010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1330
1331 * config/tc-i386.c (i386_error): New.
1332 (_i386_insn): Replace err_msg with error.
1333 (operand_size_match): Set error instead of err_msg on failure.
1334 (operand_type_match): Likewise.
1335 (operand_type_register_match): Likewise.
1336 (VEX_check_operands): Likewise.
1337 (match_template): Likewise. Use error instead of err_msg with
1338 as_bad.
1339
0f020cef
JZ
13402010-03-19 Jie Zhang <jie@codesourcery.com>
1341
1342 * config/tc-arm.c (make_mapping_symbol): Hanle the case
1343 that two mapping symbols have the same value.
1344
a5b82cbe
DJ
13452010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1346
1347 * doc/c-arm.texi (.setfp): Correct example.
1348
b43420e6
NC
13492010-03-18 Wei Guozhi <carrot@google.com>
1350
1351 PR gas/11323
1352 * config/tc-arm.c (reloc_names): New relocation names.
1353 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1354 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1355 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1356
4e4e1355
TS
13572010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1358
d905c788
TS
1359 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1360 cases, and not only for .eh_frame.
1361
4e4e1355
TS
1362 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1363 belong to .eh_frame only.
1364
dc86b458
SB
13652010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1366
1367 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1368 assembler constants on 64-bit hosts.
1369
ee9e7c78
MF
13702010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1371
1372 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1373 Strip trailing whitespace.
1374
a23c851a
MF
13752010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1376
1377 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1378 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1379 BFIN_CPU_BF506.
1380 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1381
9982501a
JZ
13822010-03-10 Jie Zhang <jie@codesourcery.com>
1383
1384 * doc/as.texinfo: Add Blackfin options.
1385 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1386 * config/tc-bfin.c (md_show_usage): Show usage for all
1387 Blackfin specific options.
1388
4199fe12
AM
13892010-03-09 Alan Modra <amodra@gmail.com>
1390
1391 PR gas/11356
1392 * listing.c (listing_newline): Correct backslash quote logic.
1393
40cf28aa
RO
13942010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1395
1396 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1397 (ELF_TARGET_FORMAT64): Define.
1398
26b6f191
PB
13992010-03-05 Paul Brook <paul@codesourcery.com>
1400
1401 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1402
772657e9
AS
14032010-03-02 Andrew Stubbs <ams@codesourcery.com>
1404
1405 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1406 reading uninitialized data.
1407
bd56defd
TG
14082010-03-01 Tristan Gingold <gingold@adacore.com>
1409
1410 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1411
743d7f19
DE
14122010-02-26 Doug Evans <dje@sebabeach.org>
1413
1414 * configure.tgt: Fix mep cpu case.
1415
f8a8e9d6
JZ
14162010-02-26 Jie Zhang <jie@codesourcery.com>
1417
1418 * config/tc-arm.c (do_t_strexd): Remove
1419 operand[1] != operand[2] contraint.
1420
3fde54a2
JZ
14212010-02-26 Jie Zhang <jie@codesourcery.com>
1422
1423 * config/tc-arm.c (neon_select_shape): No need to match
1424 the remaining operands in the shape when one operand does
1425 not match.
1426
e23c0ad8
JZ
14272010-02-26 Jie Zhang <jie@codesourcery.com>
1428
1429 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1430 alignment.
1431
fae0b242
DE
14322010-02-25 Doug Evans <dje@sebabeach.org>
1433
1434 * cgen.c: Whitespace fixes.
1435 (weak_operand_overflow_check): Formatting fix.
1436
a6c56050
L
14372010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1438
1439 * config/tc-i386.c (match_template): Update error messages.
1440
891edac4
L
14412010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1442
1443 * config/tc-i386.c (_i386_insn): Add err_msg.
1444 (operand_size_match): Set err_msg on failure.
1445 (operand_type_match): Likewise.
1446 (operand_type_register_match): Likewise.
1447 (VEX_check_operands): Likewise.
1448 (match_template): Likewise. Use i.err_msg with as_bad.
1449
c67a084a
NC
14502010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1451
1452 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1453 mips_fix_loongson2f_jump): New variables.
1454 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1455 -mno-fix-loongson2f-nop/jump.
1456 (md_parse_option): Initialize variables via above options.
1457 (options): New enums for the above options.
1458 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1459 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1460 New functions.
1461 (append_insn): call fix_loongson2f().
1462 (mips_handle_align): Replace the implicit nops.
1463 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1464 for the new mips_handle_align().
1465 * doc/c-mips.texi: Document the new options.
1466
56adecf4
DG
14672010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1468
1469 * config/tc-arm.c (do_rd_rm_rn): Added warning
1470 for obsolete insns.
1471
17e57237
NC
14722010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1473
1474 PR binutils/11297
1475 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1476 (avr_cons_fix_new): Handle fixups of a single byte.
1477
8a59fff3
MGD
14782010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1479
1480 PR 9861
1481 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1482 compiler's predefines.
1483
487565fe
AM
14842010-02-19 Alan Modra <amodra@gmail.com>
1485
1486 * configure.tgt: Whiltespace. Sort moxie entry.
1487
cd21e546
MGD
14882010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1489
1490 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1491 * doc/c-arm.texi: Likewise.
1492
77551a33
DG
14932010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1494
1495 * config/tc-arm.c (asm_opcode): operands type
1496 change.
1497 (BAD_PC_ADDRESSING): New macro message.
1498 (BAD_PC_WRITEBACK): Likewise.
1499 (MIX_ARM_THUMB_OPERANDS): New macro.
1500 (operand_parse_code): Added enum values.
1501 (parse_operands): Added thumb/arm distinction,
1502 plus new enum values handling.
1503 (encode_arm_addr_mode_2): Validations enhanced.
1504 (encode_arm_addr_mode_3): Likewise.
1505 (do_rm_rd_rn): Likewise.
1506 (encode_thumb32_addr_mode): Likewise.
1507 (do_t_ldrex): Likewise.
1508 (do_t_ldst): Likewise.
1509 (do_t_strex): Likewise.
1510 (md_assemble): Call parse_operands with
1511 a new parameter.
1512 (OPS_1): New macro.
1513 (OPS_2): Likewise.
1514 (OPS_3): Likewise.
1515 (OPS_4): Likewise.
1516 (OPS_5): Likewise.
1517 (OPS_6): Likewise.
1518 (insns): Updated insns operands.
1519
9d0e8497
TG
15202010-02-12 Tristan Gingold <gingold@adacore.com>
1521 Douglas B Rupp <rupp@gnat.com>
1522
1523 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1524 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1525 (pseudo_func): Add an entry for slotcount.
1526 (md_begin): Initialize slotcount pseudo symbol.
1527 (ia64_parse_name): Handle @slotcount parameter.
1528 (ia64_gen_real_reloc_type): Handle slotcount.
1529 (md_apply_fix): Ditto.
1530 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1531
6fa78d94
SA
15322010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1533
1534 * config/tc-xtensa.c (istack_init): Don't call memset.
1535
a89c407e
SA
15362010-02-11 Sterling Augustine <sterling@tensilica.com>
1537
1538 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1539 well as suffixes.
1540
6fa78d94 15412010-02-11 Sterling Augustine <sterling@tensilica.com>
a89c407e
SA
1542
1543 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1544
24981e7b
L
15452010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 * config/tc-i386.c (build_modrm_byte): Reformat.
1548
c75ef631
L
15492010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1550
1551 * config/tc-i386.c: Update copyright.
1552
a683cc34
SP
15532010-02-10 Quentin Neill <quentin.neill@amd.com>
1554 Sebastian Pop <sebastian.pop@amd.com>
1555
1556 * config/tc-i386.c (vec_imm4) New operand type.
1557 (fits_in_imm4): New.
1558 (VEX_check_operands): New.
1559 (check_reverse): Call VEX_check_operands.
1560 (build_modrm_byte): Reintroduce code for 5
1561 operand insns. Fix whitespace.
1562
cdc51b07
RS
15632010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1564
1565 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1566 -mpwr6 and -mpwr7.
1567
3a1e9c4a
SA
15682010-02-09 Sterling Augustine <sterling@tensilica.com>
1569
1570 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1571 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1572 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1573
486499d0
CL
15742010-02-08 Christophe Lyon <christophe.lyon@st.com>
1575
1576 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1577 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1578 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1579 BFD_RELOC_ARM_PCREL_CALL)
1580
19ef5f3d
SA
15812010-02-08 Sterling Augustine <sterling@tensilica.com>
1582
1583 * config/tc-xtensa.c (frag_format_size): Generalize logic to
1584 handle more instruction sizes and fetch widths.
1585 (branch_align_power): Likewise.
1586 (text_align_power): Likewise.
1587 (bytes_to_stretch): Likewise.
1588
ce3d2015
AM
15892010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1590
1591 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
1592 (ppc_mach): Handle titan.
1593 * doc/c-ppc.texi: Mention -mtitan.
1594
19ef5f3d
SA
15952010-02-05 Sterling Augustine <sterling@tensilica.com>
1596
1597 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1598 replace with...
1599 (xtensa_fetch_width) ...this.
1600
1e4cb857
JM
16012010-02-05 Joseph Myers <joseph@codesourcery.com>
1602
1603 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1604 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1605 * Makefile.in: Regenerate.
1606
68339fdf
SP
16072010-02-03 Quentin Neill <quentin.neill@amd.com>
1608
1609 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1610 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1611 * config/tc-i386.h (processor_type): Same.
1612 * doc/c-i386.texi: Change amdfam15 to bdver1.
1613
99b253c5
NC
16142010-01-29 Nick Clifton <nickc@redhat.com>
1615
1616 PR 11136
1617 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1618 NS_NULL.
1619
31907d5e
DK
16202010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
1621
1622 * NEWS: Mention new feature.
1623 * config/obj-coff.c (obj_coff_section): Accept digits and use
1624 to override default section alignment power if specified.
1625 * doc/as.texinfo (.section directive): Update documentation.
1626
539f890d
L
16272010-01-27 H.J. Lu <hongjiu.lu@intel.com>
1628
1629 * config/tc-i386.c (avxscalar): New.
1630 (OPTION_MAVXSCALAR): Likewise.
1631 (build_vex_prefix): Select vector_length for scalar instructions
1632 based on avxscalar.
1633 (md_longopts): Add OPTION_MAVXSCALAR.
1634 (md_parse_option): Handle OPTION_MAVXSCALAR.
1635 (md_show_usage): Add -mavxscalar=.
1636
1637 * doc/c-i386.texi: Document -mavxscalar=.
1638
80de6e00
L
16392010-01-24 H.J. Lu <hongjiu.lu@intel.com>
1640
1641 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1642 0xc4 individually.
1643
c865e45b
RS
16442010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
1645
1646 * write.h (fix_at_start): Declare.
1647 * write.c (fix_new_internal): Add at_beginning parameter.
1648 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
1649 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1650 (fix_new, fix_new_exp): Update accordingly.
1651 (fix_at_start): New function.
1652 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1653 (ppc_ref): New function, for OBJ_XCOFF.
1654 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1655 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1656
53e5c8fe
RO
16572010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1658
1659 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1660 on 64-bit Solaris/x86.
1661 Include obj-format.h earlier.
1662
55786da2 16632010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
99b253c5 1664
55786da2
AK
1665 * config/tc-s390.c (s390_elf_final_processing): New function.
1666 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1667 (s390_elf_final_processing): Added prototype.
1668
1669
760f3a89
NC
16702010-01-20 Nick Clifton <nickc@redhat.com>
1671
1672 PR 11109
1673 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1674 code to handle round-to-zero for VCVT conversions.
1675 (do_neon_cvt): New. Call do_neon_cvt_1.
1676 (do_neon_cvtr): New. Call do_neon_cvt_1.
1677 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1678 insn.
1679
37a1f277
TG
16802010-01-18 Tristan Gingold <gingold@adacore.com>
1681
1682 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
760f3a89 1683
a6461c02
SP
16842010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1685
1686 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1687 check that it's not an XOP insn.
1688
62fb9fe1
JZ
16892010-01-14 Jie Zhang <jie.zhang@analog.com>
1690
1691 * config/bfin-aux.h: Remove argument names in function
1692 declarations.
1693 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1694 warning.
1695 * config/bfin-parse.y (value_match): Remove argument names
1696 in declaration.
1697 (notethat): Likewise.
1698 (yyerror): Likewise.
1699
afa62d5e
DJ
17002010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1701
1702 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1703
52b010e4
NC
17042010-01-13 Nick Clifton <nickc@redhat.com>
1705
1706 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1707 warning message if a new section is created without setting any
1708 attributes for it.
1709 (md_pseudo_table): Intercept section creation pseudos.
1710 (md_pcrel_from): Replace abort with an error message.
1711 * config/obj-elf.c (obj_elf_section_name): Export this function.
1712 * config/obj-elf.h (obj_elf_section_name): Prototype.
1713
cc761f75
AM
17142010-01-12 Alan Modra <amodra@gmail.com>
1715
1716 PR 11122
1717 * listing.c (print_source): Add one to line number.
1718
3725885a
RW
17192010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1720
1721 * Makefile.in: Regenerate.
1722 * configure: Regenerate.
1723 * doc/Makefile.in: Regenerate.
1724
5256a5b0
L
17252010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1726
1727 * version.c (parse_args): Change to "Copyright 2010".
1728
69dd9865
SP
17292010-01-06 Quentin Neill <quentin.neill@amd.com>
1730
1731 * config/tc-i386.c (cpu_arch): Add amdfam15.
1732 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1733 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1734 * doc/c-i386.texi: Add amdfam15.
1735
4316f0d2
DG
17362010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1737
1738 * config/tc-arm.c (do_neon_logic): Accept imm value
1739 in the third operand too.
1740 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1741 OP_RNDQ_Ibig.
1742 (parse_operands): OP_NILO case removed, applied renaming.
1743 (insns): Neon shape changed for some logic instructions.
1744
b1a769ed
DG
17452010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1746
1747 * config/tc-arm.c (do_neon_ldx_stx): Added
1748 validation for vector load/store insns.
1749
0dc93057
AM
17502010-01-04 Edmar Wienskoski <edmar@freescale.com>
1751
1752 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1753
88714cb8
DG
17542010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1755
1756 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1757 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1758 (NEON_ENCODE): New macro.
1759 (check_neon_suffixes): New macro.
1760 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1761 (do_vfp_nsyn_opcode): Likewise.
1762 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1763 (do_vfp_nsyn_cmp): Likewise.
1764 (do_neon_shl_imm): Likewise.
1765 (do_neon_qshl_imm): Likewise.
1766 (neon_dyadic_misc): Likewise.
1767 (do_neon_mac_maybe_scalar): Likewise.
1768 (do_neon_qdmulh): Likewise.
1769 (do_neon_qmovn): Likewise.
1770 (do_neon_qmovun): Likewise.
1771 (do_neon_movn): Likewise.
1772 (neon_mac_reg_scalar_long): Likewise.
1773 (do_neon_vmull): Likewise.
1774 (do_neon_trn): Likewise.
1775 (do_neon_ldx_stx): Likewise.
1776 (neon_dp_fixup): Changed signature and set the flag.
1777 (neon_three_same): Call the above with new signature.
1778 (neon_two_same): Likewise.
1779 (neon_imm_shift): Likewise.
1780 (neon_mul_mac): Likewise.
1781 (do_neon_abs_neg): Likewise.
1782 (neon_mixed_length): Likewise.
1783 (do_neon_ext): Likewise.
1784 (do_neon_mov): Likewise.
1785 (do_neon_tbl_tbx): Likewise.
1786 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1787 (neon_compare): Likewise.
1788 (do_neon_shll): Likewise.
1789 (do_neon_cvt): Likewise.
1790 (do_neon_mvn): Likewise.
1791 (do_neon_dup): Likewise.
0dc93057 1792 (md_assemble): Call check_neon_suffixes ().
99f1a7a7 1793
43ecc30f 1794For older changes see ChangeLog-2009
08d56133
NC
1795\f
1796Local Variables:
1797mode: change-log
1798left-margin: 8
1799fill-column: 74
1800version-control: never
1801End:
This page took 0.592056 seconds and 4 git commands to generate.