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