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