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