This patch adds a new pseudo-op - .seh_code - to structured exception handling
[platform/upstream/binutils.git] / gas / ChangeLog
1 2014-03-25  Nick Clifton  <nickc@redhat.com>
2
3         * config/obj-coff-seh.c (obj_coff_seh_code): New function -
4         switches the current segment back to the code segment recorded
5         when seh_proc was last invoked.
6         * config/obj-coff-seh.h (SEH_CMDS): Add seh_code.
7
8 2014-03-25  Alan Modra  <amodra@gmail.com>
9
10         * config/tc-ppc.c (ppc_is_toc_sym): Revert 2014-03-05.
11         (md_assemble): Likewise.  Warn.
12
13 2014-03-21  David Weatherford <weath@cadence.com>
14             Max Filippov <jcmvbkbc@gmail.com>
15
16         * config/tc-xtensa.c (xtensa_check_frag_count)
17         xtensa_create_trampoline_frag,
18         xtensa_maybe_create_trampoline_frag, init_trampoline_frag,
19         find_trampoline_seg, search_trampolines, get_best_trampoline,
20         check_and_update_trampolines, add_jump_to_trampoline,
21         dump_trampolines): New functions.
22         (md_parse_option): Add cases for --[no-]trampolines options.
23         (md_assemble, finish_vinsn, xtensa_end): Add call to
24         xtensa_check_frag_count.
25         (xg_assemble_vliw_tokens): Add call to
26         xtensa_maybe_create_trampoline_frag.
27         (xtensa_relax_frag): Relax fragments with RELAX_TRAMPOLINE state.
28         (relax_frag_immed): Relax jump instructions that cannot reach its
29         target.
30         * config/tc-xtensa.h (xtensa_relax_statesE::RELAX_TRAMPOLINE): New
31         relax state.
32         * doc/as.texinfo: Document --[no-]trampolines command-line options.
33         * doc/c-xtensa.texi: Document trampolines relaxation and command
34         line options.
35         * frags.c (get_frag_count, clear_frag_count): New function.
36         (frag_alloc): Increment totalfrags counter.
37         * frags.h (get_frag_count, clear_frag_count): New function.
38
39 2014-03-20  DJ Delorie  <dj@redhat.com>
40
41         * config/rl78-defs.h (RL78_RELAX_NONE, RL78_RELAX_BRANCH): Add.
42         * config/rl78-parse.y (BC, BNC, BZ, BNZ, BH, BHZ, bt_bf): Call
43         rl78_relax().
44         * config/tc-rl78.h (md_relax_frag): Define.
45         (rl78_relax_frag): Declare.
46         * config/tc-rl78.c (rl78_relax): Add.
47         (md_assemble): Set up the variable frags also when relaxing.
48         (op_type_T): New.
49         (rl78_opcode_type): New.
50         (rl78_frag_fix_value): New.
51         (md_estimate_size_before_relax): New-ish.
52         (rl78_relax_frag): New.
53         (md_convert_frag): New-ish.
54
55 2014-03-20  Richard Sandiford  <rdsandiford@googlemail.com>
56
57         * config/tc-mips.h (DIFF_EXPR_OK, CFI_DIFF_EXPR_OK): Define.
58         * config/tc-mips.c (md_pcrel_from): Remove error message.
59         (md_apply_fix): Convert PC-relative BFD_RELOC_32s to
60         BFD_RELOC_32_PCREL.  Report a specific error message for unhandled
61         PC-relative expressions.  Handle BFD_RELOC_8.
62
63 2014-03-19  Jose E. Marchesi  <jose.marchesi@oracle.com>
64
65         * config/tc-sparc.c (hpriv_reg_table): Added entries for
66         %hstick_offset and %hstick_enable.
67         * doc/c-sparc.texi (Sparc-Regs): Document the %hstick_offset and
68         %hstick_enable hyperprivileged registers.
69
70 2014-03-19  Daniel Gutson <daniel.gutson@tallertechnologies.com>
71             Nick Clifton  <nickc@redhat.com>
72
73         * config/tc-arm.c (codecomposer_syntax): New flag that states whether the
74         CCS syntax compatibility mode is on or off.
75         (asmfunc_states): New enum to represent the asmfunc directive state.
76         (asmfunc_state): New variable holding the asmfunc directive state.
77         (comment_chars): Rename to arm_comment_chars.
78         (line_separator_chars): Rename to arm_line_separator_chars.
79         (s_ccs_ref): New function that handles the .ref directive.
80         (asmfunc_debug): New function.
81         (s_ccs_asmfunc): New function that handles the .asmfunc directive.
82         (s_ccs_endasmfunc): New function that handles the .endasmfunc directive.
83         (s_ccs_def): New function that handles the .def directive.
84         (tc_start_label_without_colon): New function.
85         (md_pseudo_table): Added new CCS directives.
86         (arm_ccs_mode): New function that handles the -mccs command line option.
87         (arm_long_opts): Added new -mccs command line option.
88         * config/tc-arm.h (LABELS_WITHOUT_COLONS): New macro.
89         (TC_START_LABEL_WITHOUT_COLON): New macro.
90         (tc_start_label_without_colon): Added extern function declaration.
91         (tc_comment_chars): Define.
92         (tc_line_separator_chars): Define.
93         * app.c (do_scrub_begin): Use tc_line_separator_chars, if defined.
94         * read.c (read_begin): Likewise.
95         * doc/as.texinfo: Add documentation for the -mccs command line
96         option.
97         * doc/c-arm.texi: Likewise.
98         * doc/internals.texi: Document tc_line_separator_chars.
99         * NEWS: Mention the new feature.
100
101 2014-03-18  Jiong Wang  <jiong.wang@arm.com>
102
103         * config/tc-aarch64.c (aarch64_opts): Add new option
104         "mno-verbose-error".
105         (verbose_error_p): Initialize to 1.
106         * doc/c-aarch64.texi (AArch64 Options): Document -mverbose-error
107         and -mno-verbose-error.
108
109 2014-03-17  Nick Clifton  <nickc@redhat.com>
110
111         PR gas/16694
112         * config/tc-arm.c (tc_arm_regname_to_dw2regnum): Parse VFP
113         registers as well.
114
115 2014-03-13  Richard Earnshaw  <rearnsha@arm.com>
116             Jiong Wang  <Jiong.Wang@arm.com>
117
118         * doc/c-aarch64.texi: Clean up some formatting issues.
119         (AArch64 Options): Document -mcpu and -march.
120         (AArch64 Extensions): New node.
121
122 2014-03-13  Tristan Gingold  <gingold@adacore.com>
123
124         * config/tc-i386.c (use_big_obj): Declare.
125         (OPTION_MBIG_OBJ): Define.
126         (md_longopts): Add -mbig-obj option.
127         (md_parse_option): Handle it.
128         (md_show_usage): Display help for this option.
129         (i386_target_format): Use bigobj for x86-64 if -mbig-obj.
130         * doc/c-i386.texi: Document the option.
131
132 2014-03-12  Nick Clifton  <nickc@redhat.com>
133
134         PR gas/16688
135         * config/tc-aarch64.c (literal_expression): New structure.
136         (literal_pool): Replace exp array with literal_expression array.
137         (add_to_lit_pool): When adding a bignum cache the big value.
138         (s_ltorg): When emitting a bignum initialise the global bignum
139         array from the cached value.
140
141 2014-03-12  Alan Modra  <amodra@gmail.com>
142
143         * Makefile.in: Regenerate.
144         * config.in: Regenerate.
145         * doc/Makefile.in: Regenerate.
146
147 2014-03-06  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
148         Vishnu KS <Vishnu.k_s@atmel.com>
149         Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
150         Soundararajan <Soundararajan.dhakshinamoorthy@atmel.com>
151
152         * gas/tc-avr.c: Add new devices
153         avr25: ata5272, attiny828
154         avr35: ata5505, attiny1634
155         avr4: atmega8a, ata6285, ata6286, atmega48pa
156         avr5: at90pwm161, ata5790, ata5795, atmega164pa, atmega165pa,
157         atmega168pa, atmega32a, atmega64rfr2, atmega644rfr2, atmega64a,
158         atmega16hva2
159         avr51: atmega128a, atmega1284
160         avrxmega2: atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4,
161         atxmega32e5, atxmega16e5, atxmega8e5
162         avrxmega4: atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3,
163         atxmega64c3, atxmega64d4
164         avrxmega6: atxmega128a3u, atxmega128b3, atxmega128c3,
165         atxmega128d4, atxmega192a3u, atxmega192c3, atxmega256a3u,
166         atxmega256c3, atxmega384c3, atxmega384d3
167         avrxmega7: atxmega128a4u
168         * doc/c-avr.texi: Ditto.
169
170 2014-03-05  Alan Modra  <amodra@gmail.com>
171
172         Update copyright years.
173
174 2014-03-05  Alan Modra  <amodra@gmail.com>
175
176         * config/tc-ppc.c (ppc_elf_suffix): Support @localentry.
177         (md_apply_fix): Support R_PPC64_ADDR64_LOCAL.
178
179 2014-03-05  Alan Modra  <amodra@gmail.com>
180
181         * config/tc-ppc.c (md_assemble): Move code adjusting reloc types
182         later.  Merge absolute and relative branch reloc selection.
183         Generate 16-bit relocs for most 16-bit insn fields given a
184         non-constant expression.
185
186 2014-03-05  Alan Modra  <amodra@gmail.com>
187
188         * config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support.
189         (md_assemble): Don't call ppc_is_toc_sym for ELF.
190
191 2014-03-04  Heiher  <r@hev.cc>
192
193         * config/tc-mips.c (mips_cpu_info_table): Use ISA_MIPS64R2 for
194         Loongson-3A.
195
196 2014-03-03  Nick Clifton  <nickc@redhat.com>
197
198         * config/msp430/msp430.c: Replace known mcu array with known
199         msp430 ISA mcu name array.
200         Accept any name for -mmcu option.
201         Add -mz option to warn about missing NOP following an interrupt
202         status change.
203         (check_for_nop): New.
204         (msp430_operands): Emit a warning, if requested, when an interrupt
205         changing instruction is not followed by a NOP.
206         * doc/c-msp430.c: Document -mz option.
207
208 2014-03-03  Alan Modra  <amodra@gmail.com>
209
210         * config/bfin-lex-wrapper.c: Correct copyright date.
211         * config/obj-fdpicelf.c: Likewise.
212         * config/obj-fdpicelf.h: Likewise.
213         * config/tc-frv.c: Correct copyright punctuation.
214         * config/tc-ip2k.c: Likewise.
215         * config/tc-iq2000.c: Likewise.
216         * config/tc-mep.c: Likewise.
217         * config/tc-tic4x.c: Likewise.
218         * config/tc-tic4x.h: Likewise.
219
220 2014-03-01  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
221
222         * config/tc-avr.c: Remove atxmega16x1.
223
224 2014-02-28  Alan Modra  <amodra@gmail.com>
225
226         * dwarf2dbg.c (out_debug_line): Correct .debug_line header_length
227         field for 64-bit dwarf.
228
229 2014-02-21  Ilya Tocar  <ilya.tocar@intel.com>
230
231         * config/tc-i386.c (cpu_arch): Add .prefetchwt1.
232         * doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.
233
234 2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>
235
236         * config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
237         * doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
238         clflushopt/.clfushopt.
239
240 2014-02-10  Alan Modra  <amodra@gmail.com>
241
242         * po/POTFILES.in: Regenerate.
243         * po/gas.pot: Regenerate.
244
245 2014-02-03  Sandra Loosemore  <sandra@codesourcery.com>
246
247         * config/tc-nios2.c (md_apply_fix): Test for new relocs.
248         (nios2_special_reloc): Add %call_lo, %call_hiadj, %got_lo,
249         %got_hiadj relocation operators.  Sort table and add comment
250         to explain ordering.
251         (nios2_fix_adjustable): Test for new relocs.
252         * doc/c-nios2.texi (Nios II Relocations): Document new relocation
253         operators.
254
255 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
256
257         * config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
258         (nios2_assemble_args_m): Likewise.
259         (md_assemble): Likewise.
260
261 2014-01-24  DJ Delorie  <dj@redhat.com>
262
263         * config/tc-msp430.c (msp430_section): Always flag data sections,
264         regardless of -md.
265         (msp430_frob_section): New.  Make sure all sections are noticed if
266         they have content.
267         (msp430_lcomm): New.  Flag bss if .lcomm is seen.
268         (msp430_comm): New.  Likewise.
269         (md_pseudo_table): Add them.
270         * config/tc-msp430.h (msp430_frob_section): Declare.
271         (tc_frob_section): Define.
272
273 2014-01-23  Nick Clifton  <nickc@redhat.com>
274
275         * config/tc-msp430.c (show_mcu_list): Delete.
276         (md_parse_option): Accept any MCU name.  Accept several more
277         variants for the -mcpu option.
278         (md_show_usage): Do not call show_mcu_list.
279
280 2014-01-22  DJ Delorie  <dj@redhat.com>
281
282         * config/tc-msp430.c (msp430_refsym): New: ".refsym <symbol>"
283         * doc/c-msp430.texi (MSP430 Directives): Document it.
284
285 2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
286
287         * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
288         gather assert.
289
290 2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
291
292         PR gas/16489
293         * config/tc-i386.c (check_VecOperands): Add check for invalid
294         register set in AVX512 gathers.
295
296 2014-01-22  Alan Modra  <amodra@gmail.com>
297
298         * config/tc-tic4x.c (md_shortopts): s/CONST/const/.
299
300 2014-01-21  DJ Delorie  <dj@redhat.com>
301
302         * config/tc-rl78.c (require_end_of_expr): New.
303         (md_operand): Call it.
304         (rl78_cons_fix_new): Mark LO16, HI16, ahd HI8 internal relocations
305         as not overflowing.
306
307 2014-01-17  Will Newton  <will.newton@linaro.org>
308
309         * config/tc-arm.c (do_vfp_nsyn_cvt_fpv8): Set OP to 1
310         for the s32.f64 flavours of VCVT.
311
312 2014-01-14  Nick Clifton  <nickc@redhat.com>
313
314         PR gas/16434
315         * config/tc-z80.c (wrong_match): Provide format string to
316         as_warn.
317         (parse_exp_not_indexed): Delete unused variable dummy.
318         (emit_byte): Delete unused variable fixp.
319
320 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
321
322         * config/tc-i386.c (regbnd): Removed.
323         (vec_disp8): Likewise.
324
325 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
326
327         * as.c (parse_args): Update copyright year to 2014.
328
329 2014-01-07  Tom Tromey  <tromey@redhat.com>
330
331         * config/tc-tic30.c (debug): Avoid old VA_* compatibility
332         wrappers.
333
334 2014-01-07  Tom Tromey  <tromey@redhat.com>
335
336         * config/tc-microblaze.h (parse_cons_expression_microblaze): Don't
337         use PARAMS.
338
339 2014-01-07  Tom Tromey  <tromey@redhat.com>
340
341         * config/tc-xc16x.h: Don't use ANSI_PROTOTYPES.
342
343 2013-01-07  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
344
345         * config/tc-aarch64.c (aarch64_cpus): Add entry for "xgene-1"
346
347 For older changes see ChangeLog-2013
348 \f
349 Copyright (C) 2014 Free Software Foundation, Inc.
350
351 Copying and distribution of this file, with or without modification,
352 are permitted in any medium without royalty provided the copyright
353 notice and this notice are preserved.
354
355 Local Variables:
356 mode: change-log
357 left-margin: 8
358 fill-column: 74
359 version-control: never
360 End: