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