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