PR gas/11973
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
ab3e2b4a
NC
12010-09-08 Nick Clifton <nickc@redhat.com>
2
3 PR gas/11973
4 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
5 long call instruction's displacement.
6
13f864ae
L
72010-09-03 H.J. Lu <hongjiu.lu@intel.com>
8
9 PR gas/11974
10 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
11 instead of use_rela_relocations for 64bit.
12
3251495b
RH
132010-09-02 Richard Henderson <rth@redhat.com>
14
15 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
16 (output_fde): Use it. Make sure to fully init exp before using it.
17
6e0973c0
KT
182010-08-31 Kai Tietz <kai.tietz@onevision.com>
19
20 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
21 (obj_coff_seh_stackalloc): Likewise.
22
91952a06
AM
232010-08-31 Alan Modra <amodra@gmail.com>
24
25 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
26
681418c2
RH
272010-08-30 Richard Henderson <rth@redhat.com>
28
29 * config/obj-coff-seh.c: Rewrite the entire file.
30 (symtab, symptr, reltab, relcount, relsize): Remove.
31 (seh_ctx_root, seh_ctx): Remove.
32 (xdata_seg, xdata_subseg, pdata_seg): New.
33 (switch_xdata, switch_pdata): New.
34 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
35 New parsing functions. Rewrite all parsing functions to use them.
36 (obj_coff_seh_32): Fix != arm thinko.
37 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
38 only flags.
39 (obj_coff_seh_handlerdata): New.
40 (do_seh_endproc): Split out of ...
41 (obj_coff_seh_endproc): ... here.
42 (obj_coff_seh_proc): Use it, if needed.
43 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
44 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
45 alternatives. Don't slurp commas.
46 (seh_read_offset): Remove.
47 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
48 (obj_coff_seh_scope): Remove.
49 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
50 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
51 (out_one, out_two, out_four): New.
52 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
53 seh_x64_write_function_xdata, write_function_xdata): Rewrite
54 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
55 seh_getelm_data_size, seh_getsize_of_unwind_entry,
56 seh_make_unwind_entry, seh_getsize_unwind_data, and
57 seh_create_unwind_data.
58 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
59 (write_function_pdata): Rewrite from make_function_entry_pdata.
60 (seh_write_text_eh_data, make_function_entry_pdata,
61 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
62 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
63 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
64 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
65 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
66 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
67 seh_getsize_unwind_data, seh_create_unwind_data,
68 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
69 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
70 Add seh_handlerdata. Adjust function/what arguments for
71 seh_savereg, seh_pushframe, seh_stackalloc.
72 (struct seh_prologue_element): Adjust members to closer match
73 the elements of the UNWIND_CODE structure.
74 (struct seh_scope_elem): Remove.
75 (struct seh_context): Replace char* members with symbolS or
76 expressionS as appropriate. Sort members by ARM/x64 applicability.
77 Remove obsolete stuff wrt direct symbol and reloc manipulation.
78
5fec8599
L
792010-08-25 Alan Modra <amodra@gmail.com>
80
81 * NEWS: Mention ampersand in macro change.
82
6f034178
AM
832010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
84
85 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
86
4ad7ac30
AM
872010-08-25 Alan Modra <amodra@gmail.com>
88
89 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
90 "name" buffer.
91 * config/tc-m68hc11.c (md_assemble): Likewise.
92 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
93 of is_end_of_line index.
94
dc5ec521
JZ
952010-08-25 Jie Zhang <jie@codesourcery.com>
96
97 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
98
23a10334
JZ
992010-08-25 Jie Zhang <jie@codesourcery.com>
100
101 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
102 BAD_PC_ADDRESSING condition.
103
f0cd0667
MR
1042010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
105
106 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
107
43f3e2ee
L
1082010-08-19 H.J. Lu <hongjiu.lu@intel.com>
109
110 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
111
9f2670f2
L
1122010-08-18 H.J. Lu <hongjiu.lu@intel.com>
113
114 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
115 instead of VEXXDS.
116
d1f52f54
AM
1172010-08-18 Alan Modra <amodra@gmail.com>
118
119 * macro.c (sub_actual): Add back ampersand suffix when no
120 substitution.
121 (macro_expand_body): Correct comment.
122
01642c12
RM
1232010-08-17 Roland McGrath <roland@redhat.com>
124
125 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
126 boolean result parameter CLONE; set it if '?' flag letter seen.
127 (obj_elf_section): Update caller. Handle that flag by copying
128 the LINKONCE and GROUP_NAME state from NOW_SEG.
129 * doc/as.texinfo (Section): Document the ? flag.
130
955974c6
CC
1312010-08-09 Cary Coutant <ccoutant@google.com>
132
133 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
134 installed.
135 (main): Warn if --compress-debug-sections requested and zlib not
136 installed.
137 * doc/as.texinfo: Add --compress-debug-sections,
138 --nocompress-debug-sections.
139
49021df2
L
1402010-08-06 H.J. Lu <hongjiu.lu@intel.com>
141
142 * config/tc-i386.c (set_cpu_arch): Re-indent.
143 (md_parse_option): Likewise.
144
22109423
L
1452010-08-06 Quentin Neill <quentin.neill@amd.com>
146
147 * config/tc-i386.c (arch_entry): Add negated bit to
148 disambiguate flag names starting with "no".
149 (cpu_arch): Add negated bit definitions. Add
150 ".nop" CPU extension.
151 (i386_align_code): Use new .cpunop bit to decide
152 when to generate alignment using nops.
153 (set_cpu_arch): Use negated bit instead to decide
154 when to use cpu_flags or vs. cpu_flags_and_not.
155 (md_parse_option): Likewise.
156
01559ecc
L
1572010-08-04 H.J. Lu <hongjiu.lu@intel.com>
158
159 * config/tc-i386.c (match_template): Move the first i.error
160 out of the loop.
161
b96282be
AM
1622010-08-04 Alan Modra <amodra@gmail.com>
163
164 * configure.tgt (m32c): Set endian=little.
165 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
166 * config/tc-m32c.c (md_number_to_chars): Revert last change.
167
1222b291
TG
1682010-08-03 Tristan Gingold <gingold@adacore.com>
169
170 * makefile.vms (OBJS): Add Add compress-debug.c.
171
e4d9f078
AM
1722010-08-03 Alan Modra <amodra@gmail.com>
173
174 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
175 * config/tc-m32c.c (md_number_to_chars): Call bigendian
176 form of number_to_chars, not littleendian.
177
69da848e
AM
1782010-08-02 Alan Modra <amodra@gmail.com>
179
180 * config/tc-d30v.c (d30v_cons_align): Don't align constants
181 in debug sections.
182
93d90f46
AM
1832010-08-02 Alan Modra <amodra@gmail.com>
184
185 PR gas/11867
186 * expr.c (operand <'-' and '~'>): Widen bignums.
187 (operand <'!'>): Correct bignum result and convert to O_constant.
188 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
189 bignum truncated warning for sign extended bignums.
190
cd94c7fb
AM
1912010-08-02 Alan Modra <amodra@gmail.com>
192
193 * config/tc-v850.c (md_assemble): Always pass format string to
194 as_warn.
195 (md_apply_fix): Similarly for as_warn_where.
196
f09c1772
L
1972010-07-29 H.J. Lu <hongjiu.lu@intel.com>
198
199 * config/tc-i386-intel.c: Reformat.
200
cc9edbf3
AM
2012010-07-29 Alan Modra <amodra@gmail.com>
202
203 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
204 in large toc code.
205
25313d6a
AM
2062010-07-28 Alan Modra <amodra@gmail.com>
207
208 PR gas/11841
209 * symbols.c (symbol_clone): Correct typo in previous patch.
210
9d75b288
AM
2112010-07-28 Alan Modra <amodra@gmail.com>
212
213 PR gas/11841
214 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
215
5a938047
AM
2162010-07-28 Alan Modra <amodra@gmail.com>
217
218 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
219 syntax error message.
220
03ea81db
MR
2212010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
222
223 * config/tc-mips.c (mips16_macro_build): Pass "args" by
224 reference rather than value.
225 (macro_build): Update accordingly.
226
2272010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
8680f6e1
MR
228
229 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
230 a fake label.
231
d3fca0b5
MR
2322010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
233
234 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
235 delay slot in the noreorder mode with the o32 ABI.
236
1cd986c5
NC
2372010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
238 Ina Pandit <ina.pandit@kpitcummins.com>
239
240 * config/tc-v850.c: Update processor_mask.
241 (reg_name): Update the structure to use processors field.
242 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
243 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
244 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
245 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
246 SUBYPTE_SA_9_17_22_32.
247 (set_machine): Add support for V850E2 and V850E2V3.
248 (md_pseudo_table): Likewise.
249 (pre_defined_registers): Update pre defined registers suitable
250 for each family of registers.
251 (system_registers): Likewise.
252 (cc_names): Update the condition code.
253 (float_cc_names): Update the condition code for float.
254 (reg_name_search): Update based on current modifications.
255 (register_name): Likewise.
256 (system_register_name): Update to support new system registers
257 and supported families.
258 (cc_name): Update to support new condition codes.
259 (float_cc_name): New function to support float condition codes.
260 (parse_register_list): Update to support newly added registers.
261 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
262 Also support added for disp-size-default-22, disp-size-default-32,
263 mextension, mno-bcond17 and mno-stld23.
264 (md_parse_option): Implement the support for above options defined
265 in md_show-usage.
266 (md_convert_frag): Implement support for subtypes defined in
267 md_relax_table to support branch operations.
268 (md_begin): Add support for V850E2 and V850E2V3.
269 (handle_hi016, handle_hi16): new relocation handling functions
270 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
271 handle_tdaoff): Updated relocation handling functions for newly
272 added relocations.
273 (v850_reloc_prefix): Update the relocation handling functions.
274 (v850_insert_operand): Updated the functions with error message
275 parameter and modified the function to use it.
276 (md_assemble): Update according to the latest modifications.
277 (md_apply_fix): Updated the functions with error message parameter
278 and modified the function to use it.
279 (v850_force_relocation): Update with newly added relocations.
280 * configure.tgt: Match all v850 targets.
281 * doc/c-v850.texi: Document the newly added targets.
282 * NEWS: Likewise.
283
c0ba1095
AM
2842010-07-23 Alan Modra <amodra@gmail.com>
285
286 PR gas/11834
287 * macro.c (macro_expand): Recover gracefully from named args that
288 don't match params.
289
1575952e
TS
2902010-07-22 Thomas Schwinge <thomas@codesourcery.com>
291
292 Switch MIPS to 32-bit DWARF format.
293 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
294 * config/tc-mips.c (mips_dwarf2_format): Likewise.
295
33740db9
AM
2962010-07-20 Alan Modra <amodra@gmail.com>
297
298 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
299
4e92bb1c
AM
3002010-07-16 Alan Modra <amodra@gmail.com>
301
302 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
303 specifier warnings for 32-bit host when --enable-64-bit-bfd.
304 (rx_relax_frag, md_convert_frag): Likewise.
305
0af8aa50
L
3062010-07-15 Cary Coutant <ccoutant@google.com>
307
308 * gas/NEWS: Add note about --compress-debug-sections.
309 * gas/as.c (show_usage): Add --compress-debug-sections and
310 --nocompress-debug-sections.
311
6e8bd58f
NS
3122010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
313
314 * config/obj-elf.c (get_sym_from_input_line_and_check): New
315 function to catch missing pseudo-op arguments.
316 (obj_elf_local): Call new function.
317 (obj_elf_weak): Likewise.
318 (obj_elf_visibility): Likewise.
319 (obj_elf_vtable_entry): Likewise.
320 (obj_elf_type): Likewise.
321
1e17085d
KT
3222010-07-15 Kai Tietz <kai.tietz@onevision.com>
323
324 * config/obj-coff-seh.c
325 (seh_getelm_data_size): New.
326 (seh_read_offset): Handle negative values.
327 (obj_coff_seh_push): Handle offset for save-register store.
328 (obj_coff_seh_setframe): Add unwind-information for frame.
329 (seh_store_elm_data): New.
330 (seh_getelm_data_size): Return additionally unaligned element count.
331 (seh_make_unwind_entry): Correct tweak about element count.
332
92b4f90c
L
3332010-07-12 H.J. Lu <hongjiu.lu@intel.com>
334
335 PR gas/11806
336 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
337 through patch for O_multiply.
338
a7879ef1
KT
3392010-07-11 Kai Tietz <kai.tietz@onevision.com>
340
341 PR ld/11612
342 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
343
52e7f43d
RE
3442010-07-08 Tejas Belagod <tejas.belagod@arm.com>
345
346 * tc-arm.c (OP_oBARRIER): Remove.
347 (OP_oBARRIER_I15): Add.
348 (po_barrier_or_imm): Add macro.
349 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
350 (do_barrier): Check correct immediate range.
351 (do_t_barrier): Likewise.
352 (barrier_opt_names): Add entries for more symbolic operands.
353 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
354
db187cb9
NS
3552010-07-08 Daniel Gutson <dgutson@codesourcery.com>
356
357 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
358 error message.
359
30cfc97a
MR
3602010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
361
362 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
363 symbols.
364
9a2c7088
MR
3652010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
366
367 * config/tc-mips.c (nops_for_insn_or_target): Replace
368 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
369 MIPS16_INSN_COND_BRANCH.
370
df1c40a7
L
3712010-07-05 Jim Wilson <wilson@codesourcery.com>
372
373 PR gas/10531
374 PR gas/11789
375 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
376 if it isn't empty.
377
793d370e
AM
3782010-07-05 Alan Modra <amodra@gmail.com>
379
380 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
381 unused var.
382
dbb3fc7d
L
3832010-07-04 H.J. Lu <hongjiu.lu@intel.com>
384
385 * Makefile.am (CONFIG_OBJS): Removed.
386 (GENERIC_OBJS): Likewise.
387 (OBJS): Likewise.
388 * Makefile.in: Regenerated.
389
c64efb4b
L
3902010-07-03 Jan Beulich <jbeulich@novell.com>
391
392 PR gas/11732
393 * config/tc-i386.c (i386_finalize_displacement): Don't call
394 section_symbol() with expr_section.
395
0acf065b
CC
3962010-07-03 Cary Coutant <ccoutant@google.com>
397
398 * Makefile.am: Add compress-debug.c and compress-debug.h.
399 * Makefile.in: Regenerate.
400 * config.in: Add HAVE_ZLIB_H.
401 * configure.in: Check for zlib.h.
402 * configure: Regenerate.
403
404 * as.c (parse_args): Add --compress-debug-sections and
405 --nocompress-debug-sections.
406 * as.h (flag_compress_debug): New variable.
407 * compress-debug.c: New file.
408 * compress-debug.h: New file.
409 * write.c: Include compress-debug.h.
410 (compress_frag): New function.
411 (compress_debug): New function.
412 (write_object_file): Compress debug sections if requested.
413
7102e95e
AS
4142010-07-03 Andreas Schwab <schwab@linux-m68k.org>
415
416 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
417 before inverting.
418
bdc70b4a
AM
4192010-07-03 Alan Modra <amodra@gmail.com>
420
421 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
422 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
423
44a808b1
DD
4242010-07-02 DJ Delorie <dj@redhat.com>
425
731df70d
DD
426 * config/tc-rx.h (md_do_align): New.
427 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
428 * config/tc-rx.c (nops): New.
429 (rx_handle_align): Use various sized nops to align code.
430
44a808b1
DD
431 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
432 relaxation.
433 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
434
c7b8aa3a
L
4352010-07-01 H.J. Lu <hongjiu.lu@intel.com>
436
437 AVX Programming Reference (June, 2010)
438 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
439 and .f16c.
440
441 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
442
76fa04a4
MGD
4432010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
444
445 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
446 deprecated mov register instructions.
447
01efc3af
AM
4482010-07-01 Alan Modra <amodra@gmail.com>
449
450 * config/tc-ppc.c (toc_reloc_types): New variable.
451 (md_assemble): Set it.
452 (ppc_frob_file_before_adjust): Don't warn about toc section size
453 if we have large toc relocs and no small toc relocs.
454
360cfc9c
AM
4552010-06-29 Alan Modra <amodra@gmail.com>
456
457 * config/tc-maxq.h: Delete file.
458 * config/tc-maxq.c: Delete file.
459 * Makefile.am: Remove references to maxq.
460 * configure.tgt: Likewise.
461 * config/obj-coff.h: Likewise.
462 * Makefile.in: Regenerate.
463 * configure: Regenerate.
464 * po/POTFILES.in: Regenerate.
465
87975d2a
AM
4662010-06-28 Alan Modra <amodra@gmail.com>
467
468 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
469 * config/tc-crx.c (gettrap): Constify arg.
470 (handle_LoadStor, get_cinv_parameters): Likewise.
471 (getreg_image): Fix enum warning
472 (md_assemble): Restore input line char.
473 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
474 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
475 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
476 (build_Mytes): Fix build failure for non-elf targets.
477 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
478 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
479
480 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
481 * ecoff.c (add_ecoff_symbol): Likewise.
482 * itbl-ops.c (append_insns_as_macros): Likewise.
483 * listing.c (debugging_pseudo): Likewise.
484 * read.c (s_mri_common, stringer): Likewise.
485 * config/obj-coff.c (coff_frob_section): Likewise.
486 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
487 * config/tc-arm.c (my_get_expression): Likewise.
488 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
489 * config/tc-m32c.c (md_assemble): Likewise.
490 * config/tc-microblaze.c (md_convert_frag): Likewise.
491 * config/tc-mips.c (s_change_section): Likewise.
492 * config/tc-mt.c (mt_fix_adjustable): Likewise.
493 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
494
495 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
496 unused vars.
497 * config/tc-alpha.c (load_expression): Likewise.
498 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
499 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
500 * config/tc-avr.c (extract_word): Likewise.
501 * config/tc-cris.c (cris_get_expression): Likewise.
502 * config/tc-d30v.c (build_insn, find_format): Likewise.
503 * config/tc-dlx.c (machine_ip): Likewise.
504 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
505 * config/tc-i370.c (md_assemble): Likewise.
506 * config/tc-i960.c (brtab_emit): Likewise.
507 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
508 * config/tc-m32c.c (md_convert_frag): Likewise.
509 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
510 (md_estimate_size_before_relax, md_apply_fix): Likewise.
511 * config/tc-m68k.c (md_show_usage): Likewise.
512 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
513 * config/tc-mips.c (s_mips_end): Likewise.
514 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
515 * config/tc-mn10300.c (md_assemble): Likewise.
516 * config/tc-msp430.c (extract_word): Likewise.
517 * config/tc-mt.c (md_assemble): Likewise.
518 * config/tc-or32.c (machine_ip): Likewise.
519 * config/tc-pj.c (md_apply_fix): Likewise.
520 * config/tc-s390.c (md_gather_operands): Likewise.
521 * config/tc-sh.c (sh_cons_align): Likewise.
522 * config/tc-sparc.c (sparc_cons_align): Likewise.
523 * config/tc-tic4x.c (tic4x_sect): Likewise.
524 * config/tc-tic54x.c (tic54x_stringer): Likewise.
525 * config/tc-vax.c (vip_op): Likewise.
526 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
527 * config/tc-xtensa.c (md_assemble): Likewise.
528 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
529 (xtensa_move_literals): Likewise.
530
8e560766
MGD
5312010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
532
533 * config/tc-arm.c (parse_neon_alignment): New function.
534 (parse_address_main): Fix Neon load/store alignment parsing.
535
b7adb16d
JB
5362010-06-22 Jan Beulich <jbeulich@novell.com>
537
b7adb16d
JB
538 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
539 symbols named "$".
540 (i386_intel_operand): Remove bogus handling of pseudo symbols
541 named "$".
542 * expr.c (current_location): Remove 'static' and local
543 declaration.
544 * expr.h (current_location): Declare.
545
58e8191c
SA
5462010-06-21 Sterling Augustine <sterling@tensilica.com>
547
548 PR gas/11728
549 * as.c: Globalize keep_it.
550 (main): Remove keep_it. Move conditional from here...
551 (close_output_file): ...to here.
552
1f9bb1ca
AS
5532010-06-21 Andreas Schwab <schwab@redhat.com>
554
555 * doc/as.texinfo (Overview): Use @itemx for grouped @table
556 items.
557 * doc/c-alpha.texi (Alpha Options): Likewise.
558 * doc/c-arm.texi (ARM Directives): Likewise.
559 * doc/c-bfin.texi (Blackfin Options): Likewise.
560 * doc/c-d10v.texi (D10V-Opts): Likewise.
561 * doc/c-i386.texi (i386-Options): Likewise.
562 * doc/c-ia64.texi (IA-64 Options): Likewise.
563 * doc/c-m68k.texi (M68K-Opts): Likewise.
564 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
565 * doc/internals.texi (Symbols): Likewise.
566
6d0cb78c
AM
5672010-06-21 Alan Modra <amodra@gmail.com>
568
569 PR gas/11733
570 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
571
38bd8d09
JM
5722010-06-18 Joseph Myers <joseph@codesourcery.com>
573
574 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
575 func_units_used.
576 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
577 (md_assemble): Clear func_units_used for new execute packet.
578 Check for duplicate functional units and update func_units_used
579 for instructions using a functional unit.
580
59e6276b
JM
5812010-06-15 Joseph Myers <joseph@codesourcery.com>
582
583 * config/tc-tic6x.c: Include elf/tic6x.h.
584 (tic6x_arch_attribute, tic6x_seen_insns): New.
585 (tic6x_arch_table, tic6x_arches): Add attribute values.
586 (tic6x_use_arch): Handle attribute settings.
587 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
588 tic6x_attribute_table, tic6x_attributes,
589 tic6x_convert_symbolic_attribute): New.
590 (md_pseudo_table): Add c6xabi_attribute.
591 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
592 (tic6x_set_attribute_int, tic6x_set_attributes): New.
593 (tic6x_end): Call tic6x_set_attributes.
594 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
595 (tic6x_convert_symbolic_attribute): Declare.
596
e01d869a
AM
5972010-06-14 Alan Modra <amodra@gmail.com>
598
599 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
600 PPC_OPCODE_E500.
601
1ded5609
JB
6022010-06-11 Jan Beulich <jbeulich@novell.com>
603
604 * config/tc-i386.c (md_parse_option): Ignore impossible processor
605 types.
606 (show_arch): New parameter 'check'.
607 (md_show_usage): Adjust calls to show_arch().
608
78f12dd3
L
6092010-06-10 H.J. Lu <hongjiu.lu@intel.com>
610
611 * config/tc-i386.c (update_code_flag): New.
612 (set_code_flag): Use it.
613 (i386_target_format): Replace set_code_flag with update_code_flag.
614
e1f000f6
TG
6152010-06-10 Tristan Gingold <gingold@adacore.com>
616
617 * config/obj-som.h: Includes som/reloc.h
618
89507696
JB
6192010-06-10 Jan Beulich <jbeulich@novell.com>
620
621 * config/tc-i386.c (cpu_arch): Add comment.
622 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
623 from the generic entries of cpu_arch[].
624
55881a11
MGD
6252010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
626
e1f000f6 627 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
55881a11
MGD
628 value.
629 (parse_operands): Add support for OP_RRnpctw.
e1f000f6 630 (insns): Update floating-point load/store multiples so the
55881a11
MGD
631 first register is of type OP_RRnpctw.
632
09137c09
SP
6332010-06-08 Quentin Neill <quentin.neill@amd.com>
634
635 * config/tc-i386.c (pi): Rename local loop counter
636 variable i that shadows global static i386_insn i
637 when DEBUG386 is defined.
638 (pte) Ditto.
639
9fbcbd81
NC
6402010-06-08 Nick Clifton <nickc@redhat.com>
641
642 * doc/as.texinfo: Replace abbreviated 20th century year numbers
643 with full versions.
644
40a9833c
SP
6452010-06-02 Quentin Neill <quentin.neill@amd.com>
646
647 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
648
aadd8030
TG
6492010-06-02 Tristan Gingold <gingold@adacore.com>
650
651 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
652 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
653 Remove conditionnal inclusion of stdarg.h and varargs.h.
654 Assume ISO C.
655 * config.in: Regenerate.
656 * configure: Regenerate.
657 * configure.in: Remove stdarg.h and varargs.h from
658 AC_CHECK_HEADERS list.
659 * messages.c (as_tsktsk): Remove non ISO C version.
660 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
661
51794af8
TG
6622010-05-31 Tristan Gingold <gingold@adacore.com>
663
664 * config/tc-alpha.c: Add comments for evax.
665 * config/obj-evax.c: Ditto.
666
941a8a52
MGD
6672010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
668
669 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
670 lsls and not adds.
671
1e5b0379
NC
6722010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
673
674 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
675 writeback when base register is in register list an error, and
676 correct check.
677 (do_t_ldmstm): Change warnings.
678
f79e2745
CM
6792010-05-26 Catherine Moore <clm@codesourcery.com>
680
681 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
682 (macro_build): Change invocation of is_opcode_valid.
683 (mips_ip): Likewise.
684
5ae57a91
NC
6852010-05-25 Nick Clifton <nickc@redhat.com>
686
687 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
688 * Makefile.in: Regenerate.
689
8e45593f
NC
6902010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
691 Joseph Myers <joseph@codesourcery.com>
692 Andrew Stubbs <ams@codesourcery.com>
693
694 * config/tc-sh.c (sh_fdpic): New.
695 (sh_check_fixup): Handle relocations on movi20.
696 (parse_exp): Do not reject PIC operators here.
697 (build_Mytes): Check for unhandled PIC operators here. Use
698 sh_check_fixup for movi20.
699 (enum options): Add OPTION_FDPIC.
700 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
701 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
702 (sh_elf_final_processing): Handle --fdpic.
703 (sh_uclinux_target_format): New.
704 (sh_parse_name): Handle FDPIC relocation operators.
705 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
706 (sh_uclinux_target_format): Declare for TE_UCLINUX.
707 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
708 em=uclinux.
709 * doc/c-sh.texi (SH Options): Document --fdpic.
710
52a6ecd2
NC
7112010-05-25 Jay Krell <jay.krell@cornell.edu>
712
713 PR ld/11621
714 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
715 * Makefile.in: Regenerate.
716
1239de13
AM
7172010-05-25 Alan Modra <amodra@gmail.com>
718
719 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
720
9c8b3bfe
NC
7212010-05-19 Nick Clifton <nickc@redhat.com>
722
723 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
724 of known section prefixes.
725
18ae9cc1
L
7262010-05-18 H.J. Lu <hongjiu.lu@intel.com>
727
728 PR gas/11600
729 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
730 (obj_elf_parse_section_letters): Likewise.
731 (obj_elf_section_word): Likewise.
732
733 * config/tc-ppc.c (ppc_section_letter): Removed.
734 (ppc_section_word): Likewise.
735 * config/tc-ppc.h (ppc_section_letter): Likewise.
736 (ppc_section_word): Likewise.
737 (md_elf_section_letter): Likewise.
738 (md_elf_section_word): Likewise.
739
740 * doc/as.texinfo: Document `e' and `#exclude'.
741
bf3eeda7
NS
7422010-05-13 Nathan Sidwell <nathan@codesourcery.com>
743
744 * config/tc-arm.c (md_assemble): Clarify current mode in error
745 messages about unsupported instructions.
746 (UT): Delete #define.
747 (insns): Adjust cbnz, cbz appropriately.
748
4547cb56
NC
7492010-05-11 Andrew Stubbs <ams@codesourcery.com>
750
751 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
752
7532010-05-11 Jie Zhang <jie@codesourcery.com>
754
755 * config/tc-arm.c (aeabi_set_public_attributes): Set
756 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
757
6540b386
TG
7582010-05-07 Tristan Gingold <gingold@adacore.com>
759
760 * Makefile.in: Regenerate with automake 1.11.1.
761 * aclocal.m4: Ditto.
762 * doc/Makefile.in: Ditto.
763
3e01a7fd
NC
7642010-05-05 Nick Clifton <nickc@redhat.com>
765
766 * po/es.po: Updated Spanish translation.
767
847d4311
NS
7682010-05-05 Julian Brown <julian@codesourcery.com>
769
770 * read.c (cons_worker): Detect and reject unexpected string argument.
771
1fc5d88e
NC
7722010-05-04 Nick Clifton <nickc@redhat.com>
773
774 * write.c (fixup_segment): Revert previous delta.
775 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
776 generation of relocations for fixups against weak symbols.
777
77db8e2e
NC
7782010-04-29 Nathan Sidwell <nathan@codesourcery.com>
779
780 * write.c (fixup_segment): Do not assume we know the section a
781 defined weak symbol is in.
782 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
783 weak symbols as not known to be in the same section, even if they
784 are defined.
785
d99e5b39
JM
7862010-04-27 Joseph Myers <joseph@codesourcery.com>
787
788 * config/tc-tic6x.h (tic6x_label_list): New.
789 (tic6x_segment_info_type): Keep a list of labels and a current
790 frag instead of a boolean for whether labels seen and a count of
791 instructions.
792 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
793 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
794 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
795 (tic6x_cleanup): Correct comment.
796 (tic6x_free_label_list): New.
797 (tic6x_cons_align): Free label list and update for
798 tic6x_segment_info_type changes.
799 (tic6x_do_align): New.
800 (md_assemble): Handle list of labels and saved frag for execute
801 packet. Create machine-dependent frag for new execute packet and
802 adjust labels accordingly.
803 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
804 (md_convert_frag, md_estimate_size_before_relax): Update comments.
805
25303607
L
8062010-04-24 H.J. Lu <hongjiu.lu@intel.com>
807
808 PR gas/11535
809 * config/tc-i386-intel.c (intel_state): Add is_indirect.
810 (i386_intel_operand): Initialize intel_state.is_indirect. Check
811 intel_state.is_indirect for "call|jmp [symbol]".
812
9c9c98a5
NC
8132010-04-22 Nick Clifton <nickc@redhat.com>
814
815 * po/gas.pot: Updated by the Translation project.
816
0398aac5
L
8172010-04-21 H.J. Lu <hongjiu.lu@intel.com>
818
819 * config/tc-i386.c (i386_is_register): Removed.
820 (x86_cons): Don't use i386_is_register.
821 (parse_register): Likewise.
822 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
823 (i386_intel_operand): Likewise.
824
e96d56a1
L
8252010-04-21 H.J. Lu <hongjiu.lu@intel.com>
826
827 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
828 i386_is_register.
829
8d46fc7c
L
8302010-04-21 H.J. Lu <hongjiu.lu@intel.com>
831
832 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
833 (x86_cons): Updated.
834 (parse_register): Likewise.
835 (tc_x86_parse_to_dw2regnum): Likewise.
836 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
837 (i386_intel_operand): Likewise.
838
3c7b9c2c
L
8392010-04-21 H.J. Lu <hongjiu.lu@intel.com>
840
841 PR gas/11509
842 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
843 (i386_intel_simplify): Use i386_is_register and
844 i386_intel_simplify_register. Set X_md for O_register and
845 check X_md for O_constant.
846 (i386_intel_operand): Use i386_is_register.
847
848 * config/tc-i386.c (i386_is_register): New.
849 (x86_cons): Initialize the X_md field. Use i386_is_register.
850 (parse_register): Use i386_is_register.
851 (tc_x86_parse_to_dw2regnum): Likewise.
852
34a7d6c6
L
8532010-04-21 H.J. Lu <hongjiu.lu@intel.com>
854
855 * expr.c (expr): Initialize the X_md field.
856
41820509
JM
8572010-04-20 Joseph Myers <joseph@codesourcery.com>
858
859 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
860 (md_longopts): Add -mgenerate-rel.
861 (tic6x_generate_rela): New.
862 (md_parse_option): Handle -mgenerate-rel.
863 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
864 (tic6x_init_after_args): New.
865 (md_apply_fix): Correct shift calculations for SB-relative
866 relocations.
867 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
868 adjust addresses for relocations referencing symbols in other
869 sections.
870 (tc_gen_reloc): Adjust addend calculations for REL relocations.
871 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
872 tic6x_pcrel_from_section, tc_init_after_args,
873 tic6x_init_after_args): New.
874
aa27de95
NC
8752010-04-20 Nick Clifton <nickc@redhat.com>
876
877 PR gas/11507
878 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
879 altmacro mode if found inside a quoted string.
880
048e5b80
MF
8812010-04-20 Mike Frysinger <vapier@gentoo.org>
882
883 * config/bfin-lex.l (parse_int): Change index() to strchr().
884
bb7835b8
NC
8852010-04-16 Nick Clifton <nickc@redhat.com>
886
887 PR gas/11395
888 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
889 matcher to accept and unconditional 32-bit add instruction.
890 (pa_build_unwind_subspace): Cope with error conditions not
891 allowing the start symbol to be set.
892
75375b3e
MGD
8932010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
894
895 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
896 new tag names in v2.08 of ARM ABI.
897 * doc/c-arm.texi: Document new tag names in ABI.
898
d8703844
TG
8992010-04-14 Tristan Gingold <gingold@adacore.com>
900
901 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
902 (s_alpha_comm): Used new EGPS macros from egps.h
903 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
904 (s_alpha_section_word): Add comments. Use new EGPS macros.
905 Adjust for modified bfd_vms_set_section_flags function.
906
aa0c8c1a
AM
9072010-04-10 Alan Modra <amodra@gmail.com>
908
909 PR gas/11486
910 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
911
3d540e93
NC
9122010-04-09 Nick Clifton <nickc@redhat.com>
913
914 * as.c (create_obj_attrs_section): Remove unused variable addr.
915 * listing.c (listing_listing): Remove unused variable message.
916 * read.c: Remove unnecessary register type qualifiers.
917 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
918 defined.
919
e760a81b
EW
9202010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
921
922 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
923 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
924 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
925 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
926 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
927 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
928 atmega88pa, attiny461a, attiny84a, m3000.
929 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
930 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
931 * doc/c-avr.texi: Same.
932
2de7820f
JZ
9332010-04-07 Jie Zhang <jie@codesourcery.com>
934
935 * config/tc-arm.c (make_mapping_symbol): Handle the case
936 that multiple mapping symbols have the same value 0.
937
397841b5
AM
9382010-04-07 Alan Modra <amodra@gmail.com>
939
940 * configure: Regenerate.
941
bd32c6bd
NC
9422010-04-06 Nick Clifton <nickc@redhat.com>
943
944 * po/ru.po: New Russian translation.
945 * configure.in (ALL_LINGUAS): Add ru.
946 * configure: Regenerate.
947
b36562f6
L
9482010-03-30 H.J. Lu <hongjiu.lu@intel.com>
949
950 PR gas/11456
951 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
952 of memcpy to copy overlap memory.
953
40b36596
JM
9542010-03-25 Joseph Myers <joseph@codesourcery.com>
955
956 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
957 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
958 * Makefile.in: Regenerate.
959 * NEWS: Add news entry for TI C6X support.
960 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
961 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
962 operands if TC_KEEP_OPERAND_SPACES.
963 * configure.tgt (tic6x-*-*): New.
964 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
965 TC_PREDICATE_END_CHAR): Define.
966 * config/tc-tic6x.c, config/tc-tic6x.h: New.
967 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
968 * doc/Makefile.in: Regenerate.
969 * doc/all.texi (TIC6X): Define.
970 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
971 * doc/c-tic6x.texi: New.
972
cff8d58a
L
9732010-03-22 H.J. Lu <hongjiu.lu@intel.com>
974
975 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
976
86e026a4
L
9772010-03-21 H.J. Lu <hongjiu.lu@intel.com>
978
979 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
980 with operand_size_mismatch.
981 (operand_size_match): Updated.
982 (match_template): Likewise.
983
a65babc9
L
9842010-03-21 H.J. Lu <hongjiu.lu@intel.com>
985
986 * config/tc-i386.c (i386_error): New.
987 (_i386_insn): Replace err_msg with error.
988 (operand_size_match): Set error instead of err_msg on failure.
989 (operand_type_match): Likewise.
990 (operand_type_register_match): Likewise.
991 (VEX_check_operands): Likewise.
992 (match_template): Likewise. Use error instead of err_msg with
993 as_bad.
994
0f020cef
JZ
9952010-03-19 Jie Zhang <jie@codesourcery.com>
996
997 * config/tc-arm.c (make_mapping_symbol): Hanle the case
998 that two mapping symbols have the same value.
999
a5b82cbe
DJ
10002010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1001
1002 * doc/c-arm.texi (.setfp): Correct example.
1003
b43420e6
NC
10042010-03-18 Wei Guozhi <carrot@google.com>
1005
1006 PR gas/11323
1007 * config/tc-arm.c (reloc_names): New relocation names.
1008 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1009 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1010 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1011
4e4e1355
TS
10122010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1013
d905c788
TS
1014 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1015 cases, and not only for .eh_frame.
1016
4e4e1355
TS
1017 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1018 belong to .eh_frame only.
1019
dc86b458
SB
10202010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1021
1022 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1023 assembler constants on 64-bit hosts.
1024
ee9e7c78
MF
10252010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1026
1027 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1028 Strip trailing whitespace.
1029
a23c851a
MF
10302010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1031
1032 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1033 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1034 BFIN_CPU_BF506.
1035 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1036
9982501a
JZ
10372010-03-10 Jie Zhang <jie@codesourcery.com>
1038
1039 * doc/as.texinfo: Add Blackfin options.
1040 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1041 * config/tc-bfin.c (md_show_usage): Show usage for all
1042 Blackfin specific options.
1043
4199fe12
AM
10442010-03-09 Alan Modra <amodra@gmail.com>
1045
1046 PR gas/11356
1047 * listing.c (listing_newline): Correct backslash quote logic.
1048
40cf28aa
RO
10492010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1050
1051 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1052 (ELF_TARGET_FORMAT64): Define.
1053
26b6f191
PB
10542010-03-05 Paul Brook <paul@codesourcery.com>
1055
1056 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1057
772657e9
AS
10582010-03-02 Andrew Stubbs <ams@codesourcery.com>
1059
1060 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1061 reading uninitialized data.
1062
bd56defd
TG
10632010-03-01 Tristan Gingold <gingold@adacore.com>
1064
1065 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1066
743d7f19
DE
10672010-02-26 Doug Evans <dje@sebabeach.org>
1068
1069 * configure.tgt: Fix mep cpu case.
1070
f8a8e9d6
JZ
10712010-02-26 Jie Zhang <jie@codesourcery.com>
1072
1073 * config/tc-arm.c (do_t_strexd): Remove
1074 operand[1] != operand[2] contraint.
1075
3fde54a2
JZ
10762010-02-26 Jie Zhang <jie@codesourcery.com>
1077
1078 * config/tc-arm.c (neon_select_shape): No need to match
1079 the remaining operands in the shape when one operand does
1080 not match.
1081
e23c0ad8
JZ
10822010-02-26 Jie Zhang <jie@codesourcery.com>
1083
1084 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1085 alignment.
1086
fae0b242
DE
10872010-02-25 Doug Evans <dje@sebabeach.org>
1088
1089 * cgen.c: Whitespace fixes.
1090 (weak_operand_overflow_check): Formatting fix.
1091
a6c56050
L
10922010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1093
1094 * config/tc-i386.c (match_template): Update error messages.
1095
891edac4
L
10962010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1097
1098 * config/tc-i386.c (_i386_insn): Add err_msg.
1099 (operand_size_match): Set err_msg on failure.
1100 (operand_type_match): Likewise.
1101 (operand_type_register_match): Likewise.
1102 (VEX_check_operands): Likewise.
1103 (match_template): Likewise. Use i.err_msg with as_bad.
1104
c67a084a
NC
11052010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1106
1107 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1108 mips_fix_loongson2f_jump): New variables.
1109 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1110 -mno-fix-loongson2f-nop/jump.
1111 (md_parse_option): Initialize variables via above options.
1112 (options): New enums for the above options.
1113 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1114 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1115 New functions.
1116 (append_insn): call fix_loongson2f().
1117 (mips_handle_align): Replace the implicit nops.
1118 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1119 for the new mips_handle_align().
1120 * doc/c-mips.texi: Document the new options.
1121
56adecf4
DG
11222010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1123
1124 * config/tc-arm.c (do_rd_rm_rn): Added warning
1125 for obsolete insns.
1126
17e57237
NC
11272010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1128
1129 PR binutils/11297
1130 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1131 (avr_cons_fix_new): Handle fixups of a single byte.
1132
8a59fff3
MGD
11332010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1134
1135 PR 9861
1136 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1137 compiler's predefines.
1138
487565fe
AM
11392010-02-19 Alan Modra <amodra@gmail.com>
1140
1141 * configure.tgt: Whiltespace. Sort moxie entry.
1142
cd21e546
MGD
11432010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1144
1145 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1146 * doc/c-arm.texi: Likewise.
1147
77551a33
DG
11482010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1149
1150 * config/tc-arm.c (asm_opcode): operands type
1151 change.
1152 (BAD_PC_ADDRESSING): New macro message.
1153 (BAD_PC_WRITEBACK): Likewise.
1154 (MIX_ARM_THUMB_OPERANDS): New macro.
1155 (operand_parse_code): Added enum values.
1156 (parse_operands): Added thumb/arm distinction,
1157 plus new enum values handling.
1158 (encode_arm_addr_mode_2): Validations enhanced.
1159 (encode_arm_addr_mode_3): Likewise.
1160 (do_rm_rd_rn): Likewise.
1161 (encode_thumb32_addr_mode): Likewise.
1162 (do_t_ldrex): Likewise.
1163 (do_t_ldst): Likewise.
1164 (do_t_strex): Likewise.
1165 (md_assemble): Call parse_operands with
1166 a new parameter.
1167 (OPS_1): New macro.
1168 (OPS_2): Likewise.
1169 (OPS_3): Likewise.
1170 (OPS_4): Likewise.
1171 (OPS_5): Likewise.
1172 (OPS_6): Likewise.
1173 (insns): Updated insns operands.
1174
9d0e8497
TG
11752010-02-12 Tristan Gingold <gingold@adacore.com>
1176 Douglas B Rupp <rupp@gnat.com>
1177
1178 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1179 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1180 (pseudo_func): Add an entry for slotcount.
1181 (md_begin): Initialize slotcount pseudo symbol.
1182 (ia64_parse_name): Handle @slotcount parameter.
1183 (ia64_gen_real_reloc_type): Handle slotcount.
1184 (md_apply_fix): Ditto.
1185 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1186
6fa78d94
SA
11872010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1188
1189 * config/tc-xtensa.c (istack_init): Don't call memset.
1190
a89c407e
SA
11912010-02-11 Sterling Augustine <sterling@tensilica.com>
1192
1193 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1194 well as suffixes.
1195
6fa78d94 11962010-02-11 Sterling Augustine <sterling@tensilica.com>
a89c407e
SA
1197
1198 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1199
24981e7b
L
12002010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 * config/tc-i386.c (build_modrm_byte): Reformat.
1203
c75ef631
L
12042010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1205
1206 * config/tc-i386.c: Update copyright.
1207
a683cc34
SP
12082010-02-10 Quentin Neill <quentin.neill@amd.com>
1209 Sebastian Pop <sebastian.pop@amd.com>
1210
1211 * config/tc-i386.c (vec_imm4) New operand type.
1212 (fits_in_imm4): New.
1213 (VEX_check_operands): New.
1214 (check_reverse): Call VEX_check_operands.
1215 (build_modrm_byte): Reintroduce code for 5
1216 operand insns. Fix whitespace.
1217
cdc51b07
RS
12182010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1219
1220 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1221 -mpwr6 and -mpwr7.
1222
3a1e9c4a
SA
12232010-02-09 Sterling Augustine <sterling@tensilica.com>
1224
1225 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1226 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1227 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1228
486499d0
CL
12292010-02-08 Christophe Lyon <christophe.lyon@st.com>
1230
1231 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1232 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1233 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1234 BFD_RELOC_ARM_PCREL_CALL)
1235
19ef5f3d
SA
12362010-02-08 Sterling Augustine <sterling@tensilica.com>
1237
1238 * config/tc-xtensa.c (frag_format_size): Generalize logic to
1239 handle more instruction sizes and fetch widths.
1240 (branch_align_power): Likewise.
1241 (text_align_power): Likewise.
1242 (bytes_to_stretch): Likewise.
1243
ce3d2015
AM
12442010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1245
1246 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
1247 (ppc_mach): Handle titan.
1248 * doc/c-ppc.texi: Mention -mtitan.
1249
19ef5f3d
SA
12502010-02-05 Sterling Augustine <sterling@tensilica.com>
1251
1252 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1253 replace with...
1254 (xtensa_fetch_width) ...this.
1255
1e4cb857
JM
12562010-02-05 Joseph Myers <joseph@codesourcery.com>
1257
1258 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1259 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1260 * Makefile.in: Regenerate.
1261
68339fdf
SP
12622010-02-03 Quentin Neill <quentin.neill@amd.com>
1263
1264 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1265 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1266 * config/tc-i386.h (processor_type): Same.
1267 * doc/c-i386.texi: Change amdfam15 to bdver1.
1268
99b253c5
NC
12692010-01-29 Nick Clifton <nickc@redhat.com>
1270
1271 PR 11136
1272 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1273 NS_NULL.
1274
31907d5e
DK
12752010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
1276
1277 * NEWS: Mention new feature.
1278 * config/obj-coff.c (obj_coff_section): Accept digits and use
1279 to override default section alignment power if specified.
1280 * doc/as.texinfo (.section directive): Update documentation.
1281
539f890d
L
12822010-01-27 H.J. Lu <hongjiu.lu@intel.com>
1283
1284 * config/tc-i386.c (avxscalar): New.
1285 (OPTION_MAVXSCALAR): Likewise.
1286 (build_vex_prefix): Select vector_length for scalar instructions
1287 based on avxscalar.
1288 (md_longopts): Add OPTION_MAVXSCALAR.
1289 (md_parse_option): Handle OPTION_MAVXSCALAR.
1290 (md_show_usage): Add -mavxscalar=.
1291
1292 * doc/c-i386.texi: Document -mavxscalar=.
1293
80de6e00
L
12942010-01-24 H.J. Lu <hongjiu.lu@intel.com>
1295
1296 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1297 0xc4 individually.
1298
c865e45b
RS
12992010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
1300
1301 * write.h (fix_at_start): Declare.
1302 * write.c (fix_new_internal): Add at_beginning parameter.
1303 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
1304 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1305 (fix_new, fix_new_exp): Update accordingly.
1306 (fix_at_start): New function.
1307 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1308 (ppc_ref): New function, for OBJ_XCOFF.
1309 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1310 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1311
53e5c8fe
RO
13122010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1313
1314 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1315 on 64-bit Solaris/x86.
1316 Include obj-format.h earlier.
1317
55786da2 13182010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
99b253c5 1319
55786da2
AK
1320 * config/tc-s390.c (s390_elf_final_processing): New function.
1321 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1322 (s390_elf_final_processing): Added prototype.
1323
1324
760f3a89
NC
13252010-01-20 Nick Clifton <nickc@redhat.com>
1326
1327 PR 11109
1328 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1329 code to handle round-to-zero for VCVT conversions.
1330 (do_neon_cvt): New. Call do_neon_cvt_1.
1331 (do_neon_cvtr): New. Call do_neon_cvt_1.
1332 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1333 insn.
1334
37a1f277
TG
13352010-01-18 Tristan Gingold <gingold@adacore.com>
1336
1337 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
760f3a89 1338
a6461c02
SP
13392010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1340
1341 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1342 check that it's not an XOP insn.
1343
62fb9fe1
JZ
13442010-01-14 Jie Zhang <jie.zhang@analog.com>
1345
1346 * config/bfin-aux.h: Remove argument names in function
1347 declarations.
1348 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1349 warning.
1350 * config/bfin-parse.y (value_match): Remove argument names
1351 in declaration.
1352 (notethat): Likewise.
1353 (yyerror): Likewise.
1354
afa62d5e
DJ
13552010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1356
1357 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1358
52b010e4
NC
13592010-01-13 Nick Clifton <nickc@redhat.com>
1360
1361 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1362 warning message if a new section is created without setting any
1363 attributes for it.
1364 (md_pseudo_table): Intercept section creation pseudos.
1365 (md_pcrel_from): Replace abort with an error message.
1366 * config/obj-elf.c (obj_elf_section_name): Export this function.
1367 * config/obj-elf.h (obj_elf_section_name): Prototype.
1368
cc761f75
AM
13692010-01-12 Alan Modra <amodra@gmail.com>
1370
1371 PR 11122
1372 * listing.c (print_source): Add one to line number.
1373
3725885a
RW
13742010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1375
1376 * Makefile.in: Regenerate.
1377 * configure: Regenerate.
1378 * doc/Makefile.in: Regenerate.
1379
5256a5b0
L
13802010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1381
1382 * version.c (parse_args): Change to "Copyright 2010".
1383
69dd9865
SP
13842010-01-06 Quentin Neill <quentin.neill@amd.com>
1385
1386 * config/tc-i386.c (cpu_arch): Add amdfam15.
1387 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1388 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1389 * doc/c-i386.texi: Add amdfam15.
1390
4316f0d2
DG
13912010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1392
1393 * config/tc-arm.c (do_neon_logic): Accept imm value
1394 in the third operand too.
1395 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1396 OP_RNDQ_Ibig.
1397 (parse_operands): OP_NILO case removed, applied renaming.
1398 (insns): Neon shape changed for some logic instructions.
1399
b1a769ed
DG
14002010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1401
1402 * config/tc-arm.c (do_neon_ldx_stx): Added
1403 validation for vector load/store insns.
1404
0dc93057
AM
14052010-01-04 Edmar Wienskoski <edmar@freescale.com>
1406
1407 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1408
88714cb8
DG
14092010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1410
1411 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1412 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1413 (NEON_ENCODE): New macro.
1414 (check_neon_suffixes): New macro.
1415 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1416 (do_vfp_nsyn_opcode): Likewise.
1417 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1418 (do_vfp_nsyn_cmp): Likewise.
1419 (do_neon_shl_imm): Likewise.
1420 (do_neon_qshl_imm): Likewise.
1421 (neon_dyadic_misc): Likewise.
1422 (do_neon_mac_maybe_scalar): Likewise.
1423 (do_neon_qdmulh): Likewise.
1424 (do_neon_qmovn): Likewise.
1425 (do_neon_qmovun): Likewise.
1426 (do_neon_movn): Likewise.
1427 (neon_mac_reg_scalar_long): Likewise.
1428 (do_neon_vmull): Likewise.
1429 (do_neon_trn): Likewise.
1430 (do_neon_ldx_stx): Likewise.
1431 (neon_dp_fixup): Changed signature and set the flag.
1432 (neon_three_same): Call the above with new signature.
1433 (neon_two_same): Likewise.
1434 (neon_imm_shift): Likewise.
1435 (neon_mul_mac): Likewise.
1436 (do_neon_abs_neg): Likewise.
1437 (neon_mixed_length): Likewise.
1438 (do_neon_ext): Likewise.
1439 (do_neon_mov): Likewise.
1440 (do_neon_tbl_tbx): Likewise.
1441 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1442 (neon_compare): Likewise.
1443 (do_neon_shll): Likewise.
1444 (do_neon_cvt): Likewise.
1445 (do_neon_mvn): Likewise.
1446 (do_neon_dup): Likewise.
0dc93057 1447 (md_assemble): Call check_neon_suffixes ().
99f1a7a7 1448
43ecc30f 1449For older changes see ChangeLog-2009
08d56133
NC
1450\f
1451Local Variables:
1452mode: change-log
1453left-margin: 8
1454fill-column: 74
1455version-control: never
1456End:
This page took 0.510492 seconds and 4 git commands to generate.