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