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