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