PR gas/12931
[binutils-gdb.git] / gas / ChangeLog
1 2011-06-30 Nick Clifton <nickc@redhat.com>
2
3 PR gas/12848
4 * config/tc-arm.c (BAD_RANGE): New error message define.
5 (md_apply_fix): Use it.
6 Fix range check for thumb branch instructions.
7
8 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
9
10 * config/tc-mips.c (append_method): New enum.
11 (can_swap_branch_p, get_append_method): New functions.
12 (append_insn): Use get_append_method to decide how the instruction
13 should be added.
14
15 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
16
17 * config/tc-mips.c (append_insn): Remove bogus goto.
18
19 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
20
21 * config/tc-mips.c (append_insn): Always clear the history after an
22 unconditional branch.
23
24 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
25
26 * config/tc-mips.c (find_altered_mips16_opcode): New function.
27 (append_insn): Use it.
28
29 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
30
31 * config/tc-mips.c (insn_uses_reg): Delete.
32 (gpr_read_mask, gpr_write_mask): New functions.
33 (fpr_read_mask, fpr_write_mask): Likewise.
34 (insns_between, nops_for_vr4130, append_insn): Use them.
35
36 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
37
38 * config/tc-mips.c (md_mips_end): Call mips_emit_delays.
39
40 2011-06-29 Dave Martin <dave.martin@linaro.org>
41
42 PR gas/12931
43 * config/tc-arm.c (mapping_state): When changing to ARM or THUMB
44 state set the minimum required alignment of the section.
45
46 2011-06-29 Tristan Gingold <gingold@adacore.com>
47
48 * config/tc-i386.c (i386_mach): Convert to ISO-C.
49 (md_begin, pe_directive_secrel, md_estimate_size_before_relax): Ditto.
50 (md_convert_frag, md_apply_fix, md_undefined_symbol): Ditto.
51 (md_section_align, tc_gen_reloc): Ditto.
52
53 2011-06-28 Tristan Gingold <gingold@adacore.com>
54
55 * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not
56 generate dummy fix.
57
58 2011-06-28 Tristan Gingold <gingold@adacore.com>
59
60 * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc.
61 (emit_jsrjmp): Ditto.
62 (tc_gen_reloc): Ditto.
63
64 2011-06-28 Tristan Gingold <gingold@adacore.com>
65
66 * config/tc-alpha.c (alpha_evax_proc_hash): Remove.
67 (alpha_evax_proc_data): New variable.
68 (s_alpha_ent): Prevent nested function. Remove has_insert call.
69 (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of
70 error. Do not search in the hash table. Check if match with .ent.
71 (s_alpha_name): Remove unused variable.
72 (md_begin): Remove initialization of alpha_evax_proc_hash.
73
74 2011-06-27 Tristan Gingold <gingold@adacore.com>
75
76 * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter.
77 Locally declare basesym. Add comments. Do not set literal_pool_size.
78 (load_expression): Adjust call to add_to_link_pool.
79 (s_alpha_pdesc): Define pdesc symbol using dot.
80 Do not set literal_pool_size.
81 (s_alpha_end): Use NULL instead of 0.
82
83 2011-06-27 Tristan Gingold <gingold@adacore.com>
84
85 * config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
86 Fix style.
87 * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
88 field. Add comments.
89 (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
90
91 2011-06-26 Richard Sandiford <rdsandiford@googlemail.com>
92
93 * config/tc-mips.c (fix_24k_record_store_info): If the previous
94 instruction was a store, and the next instructions are unknown,
95 assume the worst.
96
97 2011-06-25 Richard Sandiford <rdsandiford@googlemail.com>
98
99 PR gas/12915
100 * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn)
101 (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters.
102 (mips_emit_delays, start_noreorder): Update accordingly.
103 (append_insn): Likewise. Revert original fix for this PR
104 and use the ignore parameter instead.
105
106 2011-06-24 Tristan Gingold <gingold@adacore.com>
107
108 PR gas/11625
109 * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
110
111 2011-06-24 Tristan Gingold <gingold@adacore.com>
112
113 * config/tc-alpha.c (add_to_link_pool): Remove useless offset
114 variable. Fix style.
115
116 2011-06-23 Richard Sandiford <rdsandiford@googlemail.com>
117
118 PR gas/12915
119 * config/tc-mips.c (append_insn): Only consider hazards between the
120 pre-noreorder block and ip.
121
122 2011-06-21 Sameera Deshpande <sameera.deshpande@arm.com>
123
124 * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
125 in vcvt instruction between floating-point and fixed-point.
126 (operand_parse_code): Add "OP_oI32z".
127 (parse_operands): OP_oI32z case added.
128
129 2011-06-20 H.J. Lu <hongjiu.lu@intel.com>
130
131 * configure.tgt: Revert x32 change.
132
133 2011-06-20 Nick Clifton <nickc@redhat.com>
134
135 * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
136 * doc/Makefile.in: Regenerate.
137 * doc/all.texi: Set XSTORMY16.
138 * doc/c-xstormy16.texi: New file.
139
140 2011-06-19 H.J. Lu <hongjiu.lu@intel.com>
141
142 * configure.tgt: Support x32.
143
144 2011-06-15 Nick Clifton <nickc@redhat.com>
145
146 * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
147
148 2011-06-14 Tristan Gingold <gingold@adacore.com>
149
150 * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
151 (tc_new_dot_label): Define.
152 (ppc_new_dot_label): Declare.
153 * config/tc-ppc.c (ppc_frob_label): Set within target field.
154 (ppc_fix_adjustable): Use this field to adjust the reloc.
155 (ppc_new_dot_label): New function.
156
157 2011-06-14 Alan Modra <amodra@gmail.com>
158
159 * po/POTFILES.in: Regenerate.
160
161 2011-06-13 Walter Lee <walt@tilera.com>
162
163 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
164 config/tc-tilepro.c.
165 (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
166 config/tc-tilepro.h.
167 * Makefile.in: Regenerate.
168 * configure.tgt (tilepro-*-*): New.
169 (tilegx-*-*): Likewise.
170 * config/tc-tilegx.c: New file.
171 * config/tc-tilegx.h: Likewise.
172 * config/tc-tilepro.h: Likewise.
173 * config/tc-tilepro.c: Likewise.
174 * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
175 c-tilepro.texi.
176 * doc/Makefile.in: Regenerate.
177 * doc/all.texi (TILEGX): Define.
178 (TILEPRO): Define.
179 * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include
180 c-tilegx.texi and c-tilepro.texi.
181 * doc/c-tilegx.texi: New.
182 * doc/c-tilepro.texi: New.
183
184 2011-06-13 Nick Clifton <nickc@redhat.com>
185
186 PR gas/12854
187 * config/tc-arm.c (do_shift): Do not allow shift operations at the
188 end of a register based shift insn.
189 (do_t_shift): Likewise.
190
191 2011-06-13 Nick Clifton <nickc@redhat.com>
192
193 * config/tc-score.c (s3_my_get_expression): Delete unused local
194 variable 'seg'.
195 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
196 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
197 (s3_do_macro_bcmp): Zero inst_expand array.
198 (s3_do_macro_bcmpz): Likewise.
199 (s3_s_score_end): Delete unused local variable 'dot'.
200 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
201 * config/tc-score7.c (s7_my_get_expression): Delete unused local
202 variable 'seg'.
203 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
204 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
205 'r_new'.
206 (s7_s_score_end): Delete unused local variable 'dot'.
207 (s7_relax_frag): Delete unused local variable 'relax_size'.
208 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
209
210 2011-06-10 H.J. Lu <hongjiu.lu@intel.com>
211
212 AVX Programming Reference (June, 2011)
213 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
214 unsupported_vector_index_register.
215 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
216 (check_VecOperands): New.
217 (match_template): Call check_VecOperands. Handle
218 invalid_vsib_address and unsupported_vector_index_register.
219 (build_modrm_byte): Support VecSIB. Check register-only source
220 operand when two source operands are swapped.
221 (i386_index_check): Allow Xmm/Ymm index registers.
222
223 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
224 and invpcid./invpcid.
225
226 2011-06-09 Nick Clifton <nickc@redhat.com>
227
228 PR gas/12861
229 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
230 code.
231 (check_cinv_options): Remove unused local variables. Make
232 function void.
233 (md_assemble): Remove unused local variable.
234
235 2011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
236
237 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
238
239 2011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
240
241 PR gas/12698
242 * config/tc-arm.c (parse_psr): Set m_profile to false when
243 assembling for any architecture.
244
245 2011-06-02 Jie Zhang jie@codesourcery.com
246 Nathan Sidwell nathan@codesourcery.com
247
248 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
249 (encode_arm_addr_mode_2): Set default sign of zero here ...
250 (encode_arm_addr_mode_3): ... and here.
251 (encode_arm_cp_address): ... and here.
252 (md_apply_fix): Use default sign of zero here.
253
254 2011-06-02 Nick Clifton <nickc@redhat.com>
255
256 * as.c: Fix spelling typo.
257 * read.c: Likewise.
258 * config/tc-ppc.c: Likewise.
259 * po/gas.pit: Regenerate.
260
261 2011-05-31 Paul Brook <paul@codesourcery.com>
262
263 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
264 (arm_extensions): Allow idiv on ARMv7-R.
265 * doc/c-arm.text: Update idiv extension restrictions.
266
267 2011-05-31 Paul Brook <paul@codesourcery.com>
268
269 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
270 loads.
271
272 2011-05-31 Paul Brook <paul@codesourcery.com>
273
274 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
275 addresses.
276
277 2011-05-31 Paul Brook <paul@codesourcery.com>
278 Nathan Sidwell <nathan@codesourcery.com>
279
280 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
281 pc-relative fixes to constants.
282 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
283
284 2011-05-27 Nick Clifton <nickc@redhat.com>
285
286 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
287
288 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
289
290 * config/tc-s390.c (md_gather_operands): Fix check for floating
291 register pair operands.
292
293 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
294
295 * config/tc-s390.c (md_gather_operands): Emit an error for odd
296 numbered registers used as register pair operand.
297
298 2011-05-23 Nick Clifton <nickc@redhat.com>
299
300 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
301
302 2011-05-20 Bernd Schmidt <bernds@codesourcery.com>
303
304 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
305 (tic6x_parse_name): Handle it.
306 (tic6x_fix_new_exp): Handle O_pcr_offset.
307 (tic6x_fix_adjustable): Return 0 for the new relocs.
308 (md_apply_fix): Handle them.
309 (tc_gen_reloc): Likewise.
310 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
311
312 2011-05-18 Nick Clifton <nickc@redhat.com>
313
314 PR gas/12754
315 * config/tc-tic30.c (ordinal_names): Allow translation of the
316 ordinal names.
317
318 2011-05-18 Nick Clifton <nickc@redhat.com>
319
320 * config/tc-arm.c (s_unreq): Reword warning message to make it
321 easier to translate.
322 * config/tc-ia64.c (md_show_usage): Add note for translators.
323 * configure.in (ALL_LINGUAS): Add "fi".
324 * configure: Regenerate.
325
326 2011-05-18 Tristan Gingold <gingold@adacore.com>
327
328 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
329 Put size into an union with dw.
330 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
331 (ppc_xcoff_end): Declare.
332 (md_end): Define.
333 * config/tc-ppc.c: Add includes for xcoff.
334 (ppc_dwsect): New function.
335 (md_pseudo_table): Add dwsect.
336 (struct dw_subsection): New.
337 (dw_sections): New.
338 (ppc_change_debug_section): New function.
339 (ppc_xcoff_end): Ditto.
340 (ppc_function): Adjust for ppc_tc_sy.
341 (ppc_symbol_new_hook): Ditto.
342 (ppc_frob_symbol): Ditto.
343 (ppc_frob_section): Do not set vma for debug sections.
344 (ppc_fix_adjustable): Return true for debug sections.
345 * config/obj-coff.c: Add includes for xcoff.
346 (coff_frob_section): Handle dwarf section.
347
348 2011-05-17 Nick Clifton <nickc@redhat.com>
349
350 * po/fi.po: New Finnish translation.
351 * po/fr.po: Updated French translation.
352
353 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
354 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
355 * cond.c (s_else): Fix typos in error messages.
356 * config/tc-pj.c (md_assemble): Fix typo in error message.
357
358 2011-05-16 Hans-Peter Nilsson <hp@axis.com>
359
360 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
361 emitting ELF object.
362 (md_show_usage): Only mention --pic if the assembler can generate
363 ELF objects.
364 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
365 prerequisite for --pic being a valid option.
366
367 2011-05-13 Frederic Marchal <fmarchal@perso.be>
368
369 PR gas/12755
370 * config/tc-v850.c (parse_register_list): Correct error string.
371
372 2011-05-12 Quentin Neill <quentin.neill@amd.com>
373
374 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
375 (i386_align_code): Ditto
376
377 2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
378
379 PR gas/12715
380 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
381 immediates on 32-bit hosts.
382
383 2011-05-10 Quentin Neill <quentin.neill@amd.com>
384
385 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
386 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
387 (i386_align_code): Rename PROCESSOR_BDVER1.
388 (processor_type): Ditto.
389 * doc/c-i386.texi: Add bdver2.
390
391 2011-05-10 Alan Modra <amodra@gmail.com>
392
393 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
394
395 2011-05-09 Paul Brook <paul@codesourcery.com>
396
397 * config/tc-tic6x.c (streq): Define.
398 (tic6x_get_unwind): New.
399 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
400 s_tic6x_personalityindex, s_tic6x_personality): New functions.
401 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
402 "personality" and "cantunwind".
403 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
404 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
405 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
406 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
407 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
408 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
409 tic6x_cfi_endproc): New.
410 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
411 (tic6x_unwind_info): New.
412 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
413 text_unwind.
414 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
415 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
416 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
417 tc_cfi_section_name): Define.
418 * doc/c-tic6x.texi: Document new unwinding directives.
419 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
420 definitions.
421 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
422 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
423 Move to dw2gencfi.h.
424 (CFI_EMIT_target): Define.
425 (dot_cfi_sections): Check tc_cfi_section_name.
426 (dot_cfi_startproc): Use tc_cfi_startproc.
427 (dot_cfi_endproc): Use tc_cfi_endproc.
428 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
429 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
430 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
431
432 2011-05-07 Alan Modra <amodra@gmail.com>
433
434 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
435 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
436 (struct fde_entry): Rename cseg to cur_seg.
437 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
438 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
439 that #if SUPPORT_FRAME_LINKONCE.
440 (cfi_finish): Likewise.
441
442 2011-05-06 Tristan Gingold <gingold@adacore.com>
443
444 * read.c (s_comm_internal): Remove code for OBJ_VMS.
445 (s_data): Ditto.
446 (s_text): Ditto.
447 * write.c (write_object_file): Ditto.
448 * symbols.c (define_sym_at_dot): Ditto.
449 (colon): Ditto.
450
451 2011-05-05 Alan Modra <amodra@gmail.com>
452
453 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
454 file to conditionally compile code added 2011-04-26.
455 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
456 when SUPPORT_FRAME_LINKONCE.
457 (get_cfi_seg): Likewise. Reintroduce old code for when not
458 SUPPORT_FRAME_LINKONCE.
459 (cfi_finish): Move get_cfi_seg calls out of loop when not
460 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
461
462 2011-05-03 Paul Brook <paul@codesourcery.com>
463
464 * config/tc-tic6x.c (s_ehtype): New function.
465 (md_pseudo_table): Add "ehtype".
466 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
467 * doc/c-tic6x.texi: Document .ehtype directive.
468
469 2011-04-26 Kai Tietz <ktietz@redhat.com>
470
471 * dw2gencfi.c (dwcfi_seg_list): New struct.
472 (dwcfi_hash): New static hash variable.
473 (get_debugseg_name): New.
474 (alloc_debugseg_item): New.
475 (make_debug_seg): New.
476 (dwcfi_hash_insert): New.
477 (dwcfi_hash_find): New.
478 (dwcfi_hash_find_or_make): New.
479 (cfi_insn_data): New member cur_seg.
480 (cie_entry): Likewise.
481 (fde_entry): New cseg and handled members.
482 (alloc_fde_entry): Initialize cseg member.
483 (alloc_cfi_insn_data): Initialize cur_seg member.
484 (dot_cfi_sections): Compare for beginning of
485 section names via strncmp.
486 (get_cfi_seg): New.
487 (cfi_finish): Treat link-once sections.
488 (is_now_linkonce_segment): New local helper.
489 (output_cie): Ignore cie entries not member of current
490 segment.
491 (output_fde): Likewise.
492 (select_cie_for_fde): Likewise.
493 (cfi_change_reg_numbers): Add new argument for current segment
494 and ignore insn elements, if not part of current segment.
495 * ehopt.c (get_cie_info): Use strncmp for
496 section name matching.
497 (heck_eh_frame): Likewise.
498
499 2011-04-20 Catherine Moore <clm@codesourcery.com>
500 David Ung <davidu@mips.com>
501
502 * config/mips.c (mips_cl_insn): Add new field complete_p.
503 (create_insn): Initialize complete_p to zero.
504 (BASE_REG_EQ): New.
505 (fix_24k_align_to): New.
506 (fix_24k_store_info): Declare.
507 (fix_24k_sort): New.
508 (fix_24k_record_store_info): New.
509 (nops_for_24k): New.
510 (nops_for_insn): Call nops_for_24k.
511 (append_insn): Move O_constant expression handling.
512
513 2011-04-20 Alan Modra <amodra@gmail.com>
514
515 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
516 (hash_new_sized): New function, split out from..
517 (hash_new): ..here.
518
519 2011-04-19 Nick Clifton <nickc@redhat.com>
520
521 * config/tc-arm.c (v7m_psrs): Revert previous delta.
522
523 2011-04-18 Julian Brown <julian@codesourcery.com>
524 Nick Clifton <nickc@redhat.com>
525
526 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
527 detect M-profile targets.
528 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
529 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
530
531 2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
532
533 * config/tc-s390.c (s390_machine): New prototype.
534 (md_pseudo_table): New pseudo-op .machine.
535 (s390_opcode_hash): Initialize to NULL.
536 (s390_parse_cpu): New function.
537 (md_parse_option): Use s390_parse_cpu.
538 (s390_setup_opcodes): New function.
539 (md_begin): Use s390_setup_opcodes.
540 (s390_machine): New hook handling the new .machine pseudo.
541
542 * doc/c-s390.texi: Document the new pseudo op .machine.
543
544 2011-04-12 H.J. Lu <hongjiu.lu@intel.com>
545
546 * config/tc-i386.c (i386_mach): Start error message with lower
547 case.
548 (md_begin): Likewise.
549 (md_parse_option): Likewise.
550 (i386_target_format): Likewise.
551 (check_byte_reg): Likewise.
552 (check_long_reg): Likewise.
553 (check_qword_reg): Likewise.
554 (check_word_reg): Likewise.
555
556 2011-04-12 Nick Clifton <nickc@redhat.com>
557
558 PR gas/12532
559 * config/tc-arm.c (relax_branch): Do not relax branches to
560 preemptable global symbols.
561
562 2011-04-11 Julian Brown <julian@codesourcery.com>
563
564 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
565 for *APSR bitmasks.
566 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
567 Remove OP_RVC_PSR.
568 (parse_operands): Likewise.
569 (do_mrs): Tweak error message for constraint.
570 (do_t_mrs): Update constraints for changes to APSR support.
571 (do_t_msr): Likewise. Don't set PSR_f flag here.
572 (psrs): Remove "g", "nzcvq", "nzcvqg".
573 (insns): Tweak entries for msr and mrs instructions.
574
575 2011-04-11 Kai Tietz <ktietz@redhat.com>
576
577 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
578
579 2011-04-11 Nick Clifton <nickc@redhat.com>
580
581 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
582 * config/tc-i386.h (x86_cons): Always prototype.
583
584 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
585 in order to avoid a compile time warning.
586 (getprocreg_image): Likewise.
587
588 2011-04-11 Alan Modra <amodra@gmail.com>
589
590 * config/tc-cr16.c (getprocreg_image): Correct range check.
591 (getprocregp_image): Likewise.
592
593 2011-04-06 Joseph Myers <joseph@codesourcery.com>
594
595 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
596 xscale*be|xscale*b, xscale*): Remove architectures.
597 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
598 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
599
600 2011-04-01 Tristan Gingold <gingold@adacore.com>
601
602 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
603
604 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
605
606 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
607 static variables.
608 (md_begin): Initialize them.
609 (s_tic6x_scomm): New static function.
610 (md_pseudo_table): Add "scomm".
611 (tc_gen_reloc): Really undo all adjustments made by
612 bfd_install_relocation.
613 * doc/c-tic6x.texi: Document the .scomm directive.
614
615 2011-03-31 Tristan Gingold <gingold@adacore.com>
616
617 * dwarf2dbg.c (DWARF2_VERSION): Define.
618 (out_debug_line): Use it.
619 (out_debug_aranges): Ditto.
620 (out_debug_info): Ditto.
621 * config/tc-ia64.h (DWARF2_VERSION): Override it.
622
623 2011-03-30 Michael Snyder <msnyder@vmware.com>
624
625 * obj-elf.c (obj_elf_section): Free malloced name.
626 * macro.c (get_any_string): Free malloced br_buf.
627 (do_formals): Free 'formal'.
628
629 2011-03-30 Tristan Gingold <gingold@adacore.com>
630
631 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
632 to offset only if within is set.
633 (ppc_stabx): Reformat. For stsym stabs, add a check and set
634 within only for symbols.
635
636 2011-03-29 Richard Henderson <rth@redhat.com>
637
638 PR 12610
639 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
640 label; zap alpha_insn_label.
641
642 2011-03-29 H.J. Lu <hongjiu.lu@intel.com>
643
644 * config/tc-i386.c (handle_quad): Properly handle multiple
645 operands.
646
647 2011-03-29 Mike Frysinger <vapier@gentoo.org>
648
649 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
650 reg $2 is the same as dest reg $4.
651
652 2011-03-29 Mike Frysinger <vapier@gentoo.org>
653
654 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
655 reg $2 is the same as dest reg $4.
656
657 2011-03-29 Mike Frysinger <vapier@gentoo.org>
658
659 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
660 reg $2 is the same as dest reg $4.
661
662 2011-03-28 Mike Frysinger <vapier@gentoo.org>
663
664 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
665 reg $1 is the same as dest reg $7.
666
667 2011-03-28 H.J. Lu <hongjiu.lu@intel.com>
668
669 * config/tc-i386.c (handle_quad): New.
670 (md_pseudo_table): Add "quad".
671
672 2011-03-26 John Marino <binutils@marino.st>
673
674 * configure.tgt: Fix support for *-*-dragonfly*.
675 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
676 * config/te-dragonfly.h: New file.
677
678 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
679
680 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
681 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
682 at90pwm161.
683 * doc/c-avr.texi: Document new device names.
684
685 2011-03-24 Mike Frysinger <vapier@gentoo.org>
686
687 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
688 reg $1 is the same as dest reg $7.
689 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
690 dest reg $7.
691
692 2011-03-24 Mike Frysinger <vapier@gentoo.org>
693
694 * config/bfin-parse.y (check_macfuncs): Clarify error message when
695 P is mismatched. Check destination regno are off by one when P is
696 set, or are equal when P is not set.
697
698 2011-03-23 Mike Frysinger <vapier@gentoo.org>
699
700 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
701 the same as dest reg $4.
702 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
703
704 2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
705
706 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
707 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
708 * doc/c-avr.texi: Document new device names.
709
710 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
711
712 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
713 (AVR_INSN): Change definition to match.
714 (avr_opcodes): Likewise, change to match.
715 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
716 (md_show_usage): Add XMEGA architecture names.
717 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
718 Add support for SPM Z+ instruction.
719 * doc/c-avr.texi: Add documentation for XMEGA architectures and
720 devices.
721
722 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
723
724 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
725
726 2011-03-18 Alan Modra <amodra@gmail.com>
727
728 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
729 on .size expression errors rather than symbols in the size expression.
730
731 2011-03-18 Alan Modra <amodra@gmail.com>
732
733 * input-scrub.c (line_numberT): Delete.
734 (input_scrub_close): Reset line counters.
735 * messages.c (as_show_where): Don't print invalid line number.
736 (as_warn_internal, as_bad_internal): Likewise.
737
738 2011-03-18 Alan Modra <amodra@gmail.com>
739
740 * read.c (read_a_source_file): Remove md_after_pass_hook.
741 Move "quit" label before set of dot_symbol.
742 * config/tc-d10v.h (md_after_pass_hook): Don't define.
743 * config/tc-d30v.h (md_after_pass_hook): Likewise.
744 * config/tc-m32r.h (md_after_pass_hook): Likewise.
745 (md_cleanup): Define to call m32r_fill_insn.
746
747 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
748
749 * config/tc-s390.c (md_parse_option): Add -march=all option which
750 switches to the highest available CPU.
751
752 2011-03-17 Alan Modra <amodra@gmail.com>
753
754 PR 12569
755 * expr.c (operand): Correct passing of "mode" to expr.
756 * read.c (do_org): Allow expr_section.
757 (get_known_segmented_expression): Don't assert anything about the
758 segment.
759
760 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
761
762 * as.c (show_usage): Add --size-check=.
763 (parse_args): Add and handle OPTION_SIZE_CHECK.
764
765 * as.h (flag_size_check): New.
766
767 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
768 bad .size directive only for --size-check=error.
769
770 * doc/as.texinfo: Document --size-check=.
771
772 2011-03-14 Mike Frysinger <vapier@gentoo.org>
773
774 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
775 bf542/bf544/bf547/bf548/bf549.
776
777 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
778
779 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
780 determine whether a relocation is needed.
781 (md_apply_fix, arm_apply_sym_value): Likewise.
782
783 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
784
785 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
786 for Thumb symbols.
787
788 2011-03-11 Nick Clifton <nickc@redhat.com>
789
790 * remap.c (remap_debug_filename): Always allocate a buffer for the
791 returned pointer.
792 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
793 remap_debug_filename.
794
795 2011-03-10 Michael Snyder <msnyder@vmware.com>
796
797 Revert the following change:
798 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
799 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
800
801 2011-03-10 Alan Modra <amodra@gmail.com>
802
803 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
804 TARGET_SYMBOL_FIELDS): Don't define.
805 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
806
807 2011-03-09 Michael Snyder <msnyder@vmware.com>
808
809 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
810 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
811 (emit_fixed_inc_line_addr): Assign instead of conditional in
812 assert.
813
814 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
815
816 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
817 non-constant .size expression.
818
819 2011-03-02 Nick Clifton <nickc@redhat.com>
820
821 * ecoff.c: Incldue filenames.h
822
823 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
824
825 * depend.c (register_dependency): Use filename_(n)cmp.
826 * dwarf2dbg.c (get_filenum): Likewise.
827 * ecoff.c (add_file): Likewise.
828 (ecoff_generate_asm_lineno): Likewise.
829 * input-scrub.c (new_logical_line_flags): Likewise.
830 * listing.c (file_info): Likewise.
831 (listing_newline): Likewise.
832 * remap.c (remap_debug_filename): Likewise.
833 * stabs.c (generate_asm_file): Likewise.
834 (stabs_generate_asm_lineno): Likewise.
835
836 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
837
838 * config/tc-mips.c (append_insn): Disable branch relaxation for
839 DSP instructions.
840
841 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
842
843 * config/tc-mips.c (macro): Handle M_PREF_AB.
844
845 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
846
847 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
848 register to use.
849 (RELAX_BRANCH_UNCOND): Adjust accordingly.
850 (RELAX_BRANCH_LIKELY): Likewise.
851 (RELAX_BRANCH_LINK): Likewise.
852 (RELAX_BRANCH_TOOFAR): Likewise.
853 (RELAX_BRANCH_AT): New macro.
854 (append_insn): Encode the temporary register to use in standard
855 MIPS branch relaxation.
856 (relaxed_branch_length): Update according to changes to
857 RELAX_BRANCH_ENCODE.
858 (md_convert_frag): Use the encoded register as the temporary.
859
860 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
861
862 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
863 reject PC-relative relocations.
864
865 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
866
867 * config/tc-mips.c (md_convert_frag): Correct message
868 capitalization.
869
870 2011-02-28 Alan Modra <amodra@gmail.com>
871
872 * symbols.c (report_op_error): Remove unnecessary forward declaration.
873 Add "op" parameter. Report operator and operand segments in error
874 message, not operand symbols.
875 (resolve_symbol_value): Always set segment for equated symbols, not
876 just when finalizing. Adjust report_op_error calls.
877
878 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
879
880 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
881 if 64bit relocations aren't allowed.
882
883 2011-02-25 Alan Modra <amodra@gmail.com>
884
885 PR gas/12519
886 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
887
888 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
889
890 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
891 initialization of offset_reloc.
892
893 2011-02-15 Richard Henderson <rth@redhat.com>
894
895 * dw2gencfi.c (dot_cfi_dummy): New.
896 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
897 * read.c (pobegin): Unconditionally call cfi_pop_insert.
898
899 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
900
901 * configure: Regenerate.
902
903 2011-02-13 Mike Frysinger <vapier@gentoo.org>
904
905 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
906 * config/bfin-parse.y (BYTEOP2M): Delete token.
907 (asm_1): Remove BYTEOP2M insn matching.
908
909 2011-02-12 Mike Frysinger <vapier@gentoo.org>
910
911 * config/bfin-defs.h: Include opcode/bfin.h.
912 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
913
914 2011-02-11 Mike Frysinger <vapier@gentoo.org>
915
916 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
917 (Modify Registers): Fix subtracted typo.
918 (.byte2): Extend and swap descriptions with .byte4.
919 (.byte4): Extend and swap descriptions with .byte2.
920 (.db, .dw, .dd): Document behavior.
921
922 2011-02-11 Mike Frysinger <vapier@gentoo.org>
923
924 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
925
926 2011-02-11 Alan Modra <amodra@gmail.com>
927
928 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
929
930 2011-02-10 Alan Modra <amodra@gmail.com>
931
932 * doc/as.texinfo (Overview): Add missing markup around Blackfin
933 and PowerPC options.
934
935 2011-02-10 Alan Modra <amodra@gmail.com>
936
937 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
938 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
939 (Overview <Target PowerPC options>): Add a number of missing options.
940 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
941
942 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
943
944 PR gas/6957
945 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
946 for i686.
947
948 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
949
950 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
951 for ISA extensions.
952 (md_parse_option): Likewise.
953
954 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
955
956 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
957 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
958 (TIC6X Options): Don't mention "-matomic".
959 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
960 (md_longopts): Remove corresponding entries.
961 (md_parse_option): Don't handle them.
962 (md_show_usage): Don't document them.
963 (tic6x_atomic): Delete variable.
964 (tic6x_update_features): Always copy tic6x_arch_enable to
965 tic6x_features.
966 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
967 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
968 (md_pseudo_table): Remove ".atomic" and ".noatomic".
969
970 2011-01-31 Nick Clifton <nickc@redhat.com>
971
972 * write.c (write_contents): Include output file name and bfd error
973 value when reporting the inability to write to the output file.
974 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
975 frag that has a non-zero fill value.
976
977 2011-01-27 DJ Delorie <dj@redhat.com>
978
979 * config/tc-rx.c (md_convert_frag): If we can't compute the target
980 address, zero out the values stored in the object file to make
981 objdump's output consistent.
982
983 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
984
985 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
986 x86_dwarf2_return_column to 32.
987
988 2011-01-20 Nick Clifton <nickc@redhat.com>
989
990 PR gas/12384
991 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
992 comparison.
993
994 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
995
996 * write.c (compress_debug): Return if section size is smaller
997 than 32 bytes.
998
999 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
1000
1001 PR gas/12409
1002 * write.c (compress_debug): Return if section size is 0.
1003
1004 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
1005
1006 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
1007 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
1008 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
1009 fmp626} options.
1010
1011 2011-01-18 Nick Clifton <nickc@redhat.com>
1012
1013 PR gas/12390
1014 * doc/all.texi: Add NS32K
1015 * doc/as.texinfo: Remove target specific details of which
1016 characters act as comment initiators and statement separators into
1017 individual target specific files.
1018 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
1019 the hash character at the start of a line.
1020 * doc/c-arm.texi (ARM-Chars): Likewise.
1021 * doc/c-avr.texi (AVR-Chars): Likewise.
1022 * doc/c-d10v.texi (D10V-Chars): Likewise.
1023 * doc/c-d30v.texi (D30V-Chars): Likewise.
1024 * doc/c-mmix.texi (MMIX-Chars): Likewise.
1025 * doc/c-s390.texi (s390 characters): Likewise.
1026 * doc/c-sh.texi (SH-Chars): Likewise.
1027 * doc/c-sh64.texi (SH64-Chars): Likewise.
1028 * doc/c-sparc.texi (SPARC-Chars): Likewise.
1029 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
1030 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
1031 * doc/c-z80.texi (Z80-Chars): Likewise.
1032 * doc/c-z8k.texi (Z8000-Chars): Likewise.
1033 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
1034 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
1035 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
1036 line separator characters.
1037 * doc/c-cr16.texi (CR16 Syntax): Likewise.
1038 * doc/c-i386.texi (i386-Chars): Likewise.
1039 * doc/c-i860.texi (i860-Chars): Likewise.
1040 * doc/c-i960.texi (i960-Chars): Likewise.
1041 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
1042 * doc/c-lm32.texi (LM32-Chars): likewise.
1043 * doc/c-m32c.texi (M32C-Chars): Likewise.
1044 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
1045 * doc/c-m68k.texi (M68K-Chars): Likewise.
1046 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
1047 * doc/c-msp430.texi (MSP430-Chars): Likewise.
1048 * doc/c-mt.texi (MT-Chars): Likewise.
1049 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
1050 * doc/c-pj.texi (PJ-Chars): Likewise.
1051 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
1052 * doc/c-rx.texi (RX-Chars): Likewise.
1053 * doc/c-score.texi (SCORE-Chars): Likewise.
1054 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
1055 * doc/c-v850.texi (V850-Chars): Likewise.
1056 * doc/c-vax.texi (VAX-Chars): Likewise.
1057 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
1058
1059 2011-01-17 Quentin Neill <quentin.neill@amd.com>
1060
1061 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
1062
1063 * doc/c-i386.texi (i386-TBM): New section.
1064
1065 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
1066
1067 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
1068 (disallow_64bit_reloc): This.
1069 (md_assemble): Don't check movabs for x32 mode here.
1070 (i386_target_format): Updated.
1071 (tc_gen_reloc): Check if 64bit relocations are allowed.
1072
1073 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
1074
1075 * config/tc-i386.c (disallow_64bit_disp): New.
1076 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
1077 X86_64_ABI/X86_64_X32_ABI.
1078 (md_assemble): Don't allow movabs with relocation in x32 mode.
1079 (i386_target_format): Updated.
1080
1081 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
1082
1083 * config/tc-i386.c (OPTION_N32): Renamed to ...
1084 (OPTION_X32): This.
1085 (md_longopts): Replace n32 with x32.
1086 (md_parse_option): Updated.
1087 (md_show_usage): Likewise.
1088
1089 * doc/c-i386.texi: Replace --n32 with --x32.
1090
1091 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
1092
1093 * config/tc-mips.c (mips_ip): Update error messages. Take an
1094 unadjusted offset for "+c" argument.
1095
1096 2011-01-10 Nick Clifton <nickc@redhat.com>
1097
1098 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
1099 it.
1100
1101 2011-01-10 Nick Clifton <nickc@redhat.com>
1102
1103 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
1104 part of the file.
1105
1106 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
1107 Glauber de Oliveira Costa <glommer@gmail.com>
1108
1109 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
1110 .tlsdescseq directive.
1111 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
1112 following a symbol.
1113 (s_arm_tls_descseq): New directive.
1114 (md_pseudo_table): Add it.
1115 (encode_branch): Allow TLS_CALL relocs too.
1116 (do_t_blx, do_t_branch23): Use encode_branch.
1117 (reloc_names): Add tlsdesc and tlscall.
1118 (md_apply_fix): Process tls desc relocations.
1119 (tc_gen_reloc): Likewise.
1120 (arm_fix_adjustable): Likewise.
1121
1122 2011-01-07 Quentin Neill <quentin.neill@amd.com>
1123
1124 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
1125
1126 * doc/c-i386.texi (i386-BMI): New section.
1127
1128 2011-01-06 Paul Koning <ni1d@arrl.net>
1129
1130 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
1131 references to absolute addresses.
1132
1133 2011-01-05 DJ Delorie <dj@redhat.com>
1134
1135 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
1136 instead of an RH_NEG32 one.
1137
1138 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1139
1140 * doc/c-i386.texi: Clarify --n32.
1141
1142 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
1143
1144 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
1145 integer registers in VEX.vvvv. Check register-only source
1146 operand when two source operands are swapped. Properly update
1147 destination when two source operands are swapped.
1148
1149 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 * gas.c (parse_args): Update copyright to 2011.
1152
1153 For older changes see ChangeLog-2010
1154 \f
1155 Local Variables:
1156 mode: change-log
1157 left-margin: 8
1158 fill-column: 74
1159 version-control: never
1160 End: