btrace: fix tests for 32-bit
[binutils-gdb.git] / gas / ChangeLog
1 2015-03-25 Renlin Li <renlin.li@arm.com>
2
3 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
4 code.
5 (mapping_state_2): Emit first MAP_DATA symbol here.
6
7 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
8
9 PR gas/18087
10 * write.c (compress_debug): Don't write the zlib header if
11 compression didn't make the section smaller.
12
13 2015-03-24 Terry Guo <terry.guo@arm.com>
14
15 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
16 features.
17 (parse_psr): Likewise.
18 (do_t_mrs): Likewise.
19 (do_t_msr): Likewise.
20 (static const arm_feature_set arm_ext_*): Defined with new macros.
21 (static const arm_feature_set arm_cext_*): Likewise.
22 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
23 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
24 (deprecated_coproc_regs): Likewise.
25 (UL_BARRIER): Likewise.
26 (barrier_opt_names): Likewise.
27 (arm_cpus): Likewise.
28 (arm_extensions): Likewise.
29
30 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
31
32 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
33 instructions to 10 bytes.
34
35 2015-03-19 Nick Clifton <nickc@redhat.com>
36
37 * config/tc-rl78.c (enum options): Add G13 and G14.
38 (md_longopts): Add -mg13 and -mg14.
39 (md_parse_option): Handle -mg13 and -mg14.
40 (md_show_usage): List -mg13 and -mg14.
41 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
42
43 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
44 Nick Clifton <nickc@redhat.com>
45
46 PR binutils/18087
47 * doc/as.texinfo: Note that when gas compresses debug sections the
48 compression is only performed if it makes the section smaller.
49 * write.c (compress_debug): Do not compress a debug section if
50 doing so would make it larger.
51
52 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
53
54 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
55 (i386_align_code): Add PROCESSOR_ZNVER cases.
56 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
57 * doc/c-i386.texi: Add znver1 and clzero.
58
59 2015-03-16 Nick Clifton <nickc@redhat.com>
60
61 * dwarf2dbg.c (out_header): Remove spurious #if 1.
62
63 2015-03-13 Jiong Wang <jiong.wang@arm.com>
64
65 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
66 number 31.
67
68 2015-03-13 Jiong Wang <jiong.wang@arm.com>
69
70 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
71
72 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
73
74 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
75 * doc/c-mips.texi: Document i6400 -march option.
76
77 2015-03-12 Nick Clifton <nickc@redhat.com>
78
79 PR gas/17444
80 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
81 to arm_apply_sym_value. Update prototype.
82 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
83 Do not apply the value if the symbol is in a different segment to
84 the current segment.
85
86 2015-03-11 Alan Modra <amodra@gmail.com>
87
88 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
89 (md_apply_fix): Report an error on data-only fixups used with insns.
90
91 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
92
93 * config/tc-s390.c (md_gather_operands): Check for valid
94 length field operands.
95
96 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
97
98 * config/tc-arm.c (parse_operands): Fix bug setting writeback
99 values for '^' on OP_REGLSTs.
100 (do_push_pop): Add new writeback constraint.
101
102 2015-03-10 Renlin Li <renlin.li@arm.com>
103
104 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
105 (mapping_state_2): Emit first MAP_DATA symbol here.
106
107 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
108
109 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
110 code sections.
111
112 2015-03-10 Nick Clifton <nickc@redhat.com>
113
114 PR gas/17852
115 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
116 initialised when CPU_DEFAULT is defined.
117
118 2015-03-05 Nick Clifton <nickc@redhat.com>
119
120 * config/tc-v850.c (md_parse_option): Fix code to set or clear
121 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
122 -m8byte-align and -m4byte-align command line options.
123
124 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
125
126 PR gas/17843
127 * config/tc-aarch64.c (process_movw_reloc_info): Allow
128 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
129 for MOVK.
130
131 2015-02-28 Alan Modra <amodra@gmail.com>
132
133 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
134 end to their alignment.
135
136 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
137
138 * config/tc-aarch64.c (reloc_table_entry): Generate
139 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
140 (md_apply_fix, aarch64_force_relocation): Handle
141 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
142
143 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
144
145 * config/tc-aarch64.c (reloc_table_entry): Generate
146 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
147 (md_apply_fix, aarch64_force_relocation): Handle
148 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
149
150 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
151
152 * config/tc-aarch64.c (reloc_table_entry): Generate
153 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
154 (md_apply_fix, aarch64_force_relocation): Handle
155 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
156
157 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
158
159 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
160 (reloc_table): Likewise.
161 (parse_address_main): Use ld_literal_type.
162
163 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
164
165 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
166 (reloc_table): Likewise.
167 (parse_address_main): Use adr_type.
168
169 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
170
171 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
172
173 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
174
175 * config/tc-avr.c: Add elf32-avr.h include.
176 (struct avr_property_record_link): New structure.
177 (avr_output_property_section_header): New function.
178 (avr_record_size): New function.
179 (avr_output_property_record): New function.
180 (avr_create_property_section): New function.
181 (avr_handle_align): New function.
182 (exclude_section_from_property_tables): New function.
183 (create_record_for_frag): New function.
184 (append_records_for_section): New function.
185 (avr_create_and_fill_property_section): New function.
186 (avr_post_relax_hook): New function.
187 * config/tc-avr.h (md_post_relax_hook): Define.
188 (avr_post_relax_hook): Declare.
189 (HANDLE_ALIGN): Define.
190 (avr_handle_align): Declare.
191 (strut avr_frag_data): New structure.
192 (TC_FRAG_TYPE): Define.
193
194 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
195
196 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
197 cortex-a72.
198
199 2015-02-24 Nick Clifton <nickc@redhat.com>
200
201 * config/tc-v850.c (soft_float): New variable.
202 (v850_data_8): New variable.
203 (md_show_usage): Add -msoft-float/-mhard-float.
204 (md_parse_option): Likewise.
205 (md_begin): Set the default value of soft_float.
206 (v850_md_end): New function. Creates a note section.
207 * config/tc-v850.h (md_end): Define.
208 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
209
210 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
211
212 * config/tc-h8300.c (line_separater_chars): Add a version for
213 h8300-linux that includes a separator.
214 (default_mach): New variable.
215 (md_main): Use it.
216 (md_longopts): Add '--march' option.
217 (md_parse_option): Parse the new option.
218 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
219 * configure.tgt: Add h8300-*-linux
220 * doc/c-h8300.texi: Document --march.
221
222 2015-02-23 Nick Clifton <nickc@redhat.com>
223
224 PR 17940
225 * dwarf2dbg.c (out_header): When generating dwarf sections use
226 real symbols not temps for the start and end symbols.
227 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
228 adjustments to relocations in debug sections.
229 (TC_LINKRELAX_FIXUP): Likewise.
230
231 2015-02-19 Alan Modra <amodra@gmail.com>
232
233 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
234 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
235
236 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
237
238 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
239
240 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
241
242 * config/tc-arm.c: Add support for Cortex-A72.
243
244 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
245
246 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
247 of as_warn for deprecation messages.
248 (encode_arm_addr_mode_2): Likewise.
249 (check_obsolete): Likewise.
250 (do_rd_rm_rn): Likewise.
251 (do_co_reg): Likewise.
252 (do_setend): Likewise.
253 (do_t_mov_cmp): Likewise.
254 (do_neon_ldr_str): Likewise.
255 (opcode_lookup): Likewise.
256 (if_fsm_post_encode): Likewise.
257 (md_assemble): Likewise.
258
259 2015-02-06 Jan Beulich <jbeulich@suse.com>
260
261 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
262 (cfi_change_reg_numbers): Also do nothing for CFI_label.
263 (cfi_pseudo_table): Also handle .cfi_label when not supporting
264 CFI directives.
265
266 2015-02-05 Alan Modra <amodra@gmail.com>
267
268 * config/tc-msp430.c (md_assemble): Correct size passed to
269 extract_cmd. Remove index check.
270
271 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
272
273 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
274 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
275
276 2015-02-04 Nick Clifton <nickc@redhat.com>
277
278 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
279 these instructions.
280
281 2015-02-03 Renlin Li <renlin.li@arm.com>
282
283 * doc/c-aarch64.texi (.arch): Document the directive.
284 (.arch_extension): Likewise.
285
286 2015-02-03 Nick Clifton <nickc@redhat.com>
287
288 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
289
290 2015-01-28 James Bowman <james.bowman@ftdichip.com>
291
292 * Makefile.am: Add FT32 files.
293 * config/tc-ft32.c: New file.
294 * config/tc-ft32.h: New file.
295 * configure.tgt: Add FT32 support.
296 * Makefile.in: Regenerate.
297 * po/POTFILES.in: Regenerate.
298
299 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
300
301 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
302 of instruction la to a symbol.
303
304 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
305
306 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
307 section name.
308
309 2015-01-19 Alan Modra <amodra@gmail.com>
310
311 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
312 * write.c (get_frag_for_reloc): Allow match just past end of frag.
313
314 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
315
316 * config/tc-s390.c (struct pd_reg): Remove.
317 (pre_defined_registers): Remove.
318 (REG_NAME_CNT): Remove.
319 (reg_name_search): Calculate the register number instead of doing
320 a lookup.
321 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
322 reg_name_search signature.
323 (s390_parse_cpu): Support the new arch string z13.
324 (s390_insert_operand): Support for vector registers with the extra
325 field for the fifth bit of each vector register operand.
326 (md_gather_operand): Adjust to the new handling of optional
327 parameters.
328
329 * doc/as.texinfo: Document the z13 cpu string.
330
331 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
332
333 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
334 #0, restoring previous behaviour.
335
336 2015-01-12 Jan Beulich <jbeulich@suse.com>
337
338 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
339 (cfi_pseudo_table): Add "cfi_label".
340 (output_cfi_insn): Handle CFI_label.
341 (select_cie_for_fde): Als terminate CIE when encountering
342 CFI_label.
343 * dw2gencfi.h (cfi_add_label): Declare.
344 (struct cfi_insn_data): New member "sym_name".
345 (CFI_label): New.
346 * read.c (read_symbol_name): Drop "static".
347 * read.h (read_symbol_name): Declare.
348
349 2015-01-12 Jan Beulich <jbeulich@suse.com>
350
351 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
352 (do_neon_qshl_imm): Likewise.
353
354 2015-01-12 Alan Modra <amodra@gmail.com>
355
356 * read.c (s_altmacro, s_reloc): Make definition static.
357
358 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
359
360 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
361 diff fixups.
362
363 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
364
365 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
366 X-Gene 2.
367 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
368
369 2015-01-07 Jan Beulich <jbeulich@suse.com>
370
371 * config/tc-arm.c (struct arm_option_extension_value_table):
372 Split field "value" into fields "merge_value" and "clear_value".
373 (arm_extensions): Adjust initializer accordingly.
374
375 2015-01-01 Alan Modra <amodra@gmail.com>
376
377 * as.c (parse_args): Just print current year.
378
379 2015-01-01 Alan Modra <amodra@gmail.com>
380
381 Update year range in copyright notice of all files.
382
383 For older changes see ChangeLog-2014
384 \f
385 Copyright (C) 2015 Free Software Foundation, Inc.
386
387 Copying and distribution of this file, with or without modification,
388 are permitted in any medium without royalty provided the copyright
389 notice and this notice are preserved.
390
391 Local Variables:
392 mode: change-log
393 left-margin: 8
394 fill-column: 74
395 version-control: never
396 End: