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