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