Fixes a bug building the ARM Linux kernel with a toolchain compiled with CPU_DEFAULT...
[external/binutils.git] / gas / ChangeLog
1 2015-03-10  Nick Clifton  <nickc@redhat.com>
2
3         PR gas/17852
4         * config/tc-arm.c (md_begin): Ensure that selected_cpu is
5         initialised when CPU_DEFAULT is defined.
6
7 2015-03-05  Nick Clifton  <nickc@redhat.com>
8
9         * config/tc-v850.c (md_parse_option): Fix code to set or clear
10         EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
11         -m8byte-align and -m4byte-align command line options.
12
13 2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
14
15         PR gas/17843
16         * config/tc-aarch64.c (process_movw_reloc_info): Allow
17         R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
18         for MOVK.
19
20 2015-02-28  Alan Modra  <amodra@gmail.com>
21
22         * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
23         end to their alignment.
24
25 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26
27         * config/tc-aarch64.c (reloc_table_entry): Generate
28         BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
29         (md_apply_fix, aarch64_force_relocation): Handle
30         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
31
32 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33
34         * config/tc-aarch64.c (reloc_table_entry): Generate
35         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
36         (md_apply_fix, aarch64_force_relocation): Handle
37         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
38
39 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40
41         * config/tc-aarch64.c (reloc_table_entry): Generate
42         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
43         (md_apply_fix, aarch64_force_relocation): Handle
44         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
45
46 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47
48         * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
49         (reloc_table): Likewise.
50         (parse_address_main): Use ld_literal_type.
51
52 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53
54         * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
55         (reloc_table): Likewise.
56         (parse_address_main): Use adr_type.
57
58 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
59
60         * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
61
62 2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
63
64         * config/tc-avr.c: Add elf32-avr.h include.
65         (struct avr_property_record_link): New structure.
66         (avr_output_property_section_header): New function.
67         (avr_record_size): New function.
68         (avr_output_property_record): New function.
69         (avr_create_property_section): New function.
70         (avr_handle_align): New function.
71         (exclude_section_from_property_tables): New function.
72         (create_record_for_frag): New function.
73         (append_records_for_section): New function.
74         (avr_create_and_fill_property_section): New function.
75         (avr_post_relax_hook): New function.
76         * config/tc-avr.h (md_post_relax_hook): Define.
77         (avr_post_relax_hook): Declare.
78         (HANDLE_ALIGN): Define.
79         (avr_handle_align): Declare.
80         (strut avr_frag_data): New structure.
81         (TC_FRAG_TYPE): Define.
82
83 2015-02-25  Matthew Wahab  <matthew.wahab@arm.com>
84
85         * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
86         cortex-a72.
87
88 2015-02-24  Nick Clifton  <nickc@redhat.com>
89
90         * config/tc-v850.c (soft_float): New variable.
91         (v850_data_8): New variable.
92         (md_show_usage): Add -msoft-float/-mhard-float.
93         (md_parse_option): Likewise.
94         (md_begin): Set the default value of soft_float.
95         (v850_md_end): New function.  Creates a note section.
96         * config/tc-v850.h (md_end): Define.
97         * doc/c-v850.texi: Document -msoft-float/-mhard-float.
98
99 2015-02-23  Yoshinori Sato  <ysato@users.sourceforge.jp>
100
101         * config/tc-h8300.c (line_separater_chars): Add a version for
102         h8300-linux that includes a separator.
103         (default_mach): New variable.
104         (md_main): Use it.
105         (md_longopts): Add '--march' option.
106         (md_parse_option): Parse the new option.
107         * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
108         * configure.tgt: Add h8300-*-linux
109         * doc/c-h8300.texi: Document --march.
110
111 2015-02-23  Nick Clifton  <nickc@redhat.com>
112
113         PR 17940
114         * dwarf2dbg.c (out_header): When generating dwarf sections use
115         real symbols not temps for the start and end symbols.
116         * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
117         adjustments to relocations in debug sections.
118         (TC_LINKRELAX_FIXUP): Likewise.
119
120 2015-02-19  Alan Modra  <amodra@gmail.com>
121
122         * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
123         * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
124
125 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
126
127         * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
128
129 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
130
131         * config/tc-arm.c: Add support for Cortex-A72.
132
133 2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
134
135         * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
136         of as_warn for deprecation messages.
137         (encode_arm_addr_mode_2): Likewise.
138         (check_obsolete): Likewise.
139         (do_rd_rm_rn): Likewise.
140         (do_co_reg): Likewise.
141         (do_setend): Likewise.
142         (do_t_mov_cmp): Likewise.
143         (do_neon_ldr_str): Likewise.
144         (opcode_lookup): Likewise.
145         (if_fsm_post_encode): Likewise.
146         (md_assemble): Likewise.
147
148 2015-02-06  Jan Beulich  <jbeulich@suse.com>
149
150         * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
151         (cfi_change_reg_numbers): Also do nothing for CFI_label.
152         (cfi_pseudo_table): Also handle .cfi_label when not supporting
153         CFI directives.
154
155 2015-02-05  Alan Modra  <amodra@gmail.com>
156
157         * config/tc-msp430.c (md_assemble): Correct size passed to
158         extract_cmd.  Remove index check.
159
160 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
161
162         * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
163         * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
164
165 2015-02-04  Nick Clifton  <nickc@redhat.com>
166
167         * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
168         these instructions.
169
170 2015-02-03  Renlin Li  <renlin.li@arm.com>
171
172         * doc/c-aarch64.texi (.arch): Document the directive.
173         (.arch_extension): Likewise.
174
175 2015-02-03  Nick Clifton  <nickc@redhat.com>
176
177         * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
178
179 2015-01-28  James Bowman  <james.bowman@ftdichip.com>
180
181         * Makefile.am: Add FT32 files.
182         * config/tc-ft32.c: New file.
183         * config/tc-ft32.h: New file.
184         * configure.tgt: Add FT32 support.
185         * Makefile.in: Regenerate.
186         * po/POTFILES.in: Regenerate.
187
188 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
189
190         * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
191         of instruction la to a symbol.
192
193 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
194
195         * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
196         section name.
197
198 2015-01-19  Alan Modra  <amodra@gmail.com>
199
200         * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
201         * write.c (get_frag_for_reloc): Allow match just past end of frag.
202
203 2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
204
205         * config/tc-s390.c (struct pd_reg): Remove.
206         (pre_defined_registers): Remove.
207         (REG_NAME_CNT): Remove.
208         (reg_name_search): Calculate the register number instead of doing
209         a lookup.
210         (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
211         reg_name_search signature.
212         (s390_parse_cpu): Support the new arch string z13.
213         (s390_insert_operand): Support for vector registers with the extra
214         field for the fifth bit of each vector register operand.
215         (md_gather_operand): Adjust to the new handling of optional
216         parameters.
217
218         * doc/as.texinfo: Document the z13 cpu string.
219
220 2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
221
222         * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
223         #0, restoring previous behaviour.
224
225 2015-01-12  Jan Beulich  <jbeulich@suse.com>
226
227         * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
228         (cfi_pseudo_table): Add "cfi_label".
229         (output_cfi_insn): Handle CFI_label.
230         (select_cie_for_fde): Als terminate CIE when encountering
231         CFI_label.
232         * dw2gencfi.h (cfi_add_label): Declare.
233         (struct cfi_insn_data): New member "sym_name".
234         (CFI_label): New.
235         * read.c (read_symbol_name): Drop "static".
236         * read.h (read_symbol_name): Declare.
237
238 2015-01-12  Jan Beulich  <jbeulich@suse.com>
239
240         * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
241         (do_neon_qshl_imm): Likewise.
242
243 2015-01-12  Alan Modra  <amodra@gmail.com>
244
245         * read.c (s_altmacro, s_reloc): Make definition static.
246
247 2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
248
249         * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
250         diff fixups.
251
252 2015-01-09  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
253
254         * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
255         X-Gene 2.
256         * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
257
258 2015-01-07  Jan Beulich <jbeulich@suse.com>
259
260         * config/tc-arm.c (struct arm_option_extension_value_table):
261         Split field "value" into fields "merge_value" and "clear_value".
262         (arm_extensions): Adjust initializer accordingly.
263
264 2015-01-01  Alan Modra  <amodra@gmail.com>
265
266         * as.c (parse_args): Just print current year.
267
268 2015-01-01  Alan Modra  <amodra@gmail.com>
269
270         Update year range in copyright notice of all files.
271
272 For older changes see ChangeLog-2014
273 \f
274 Copyright (C) 2015 Free Software Foundation, Inc.
275
276 Copying and distribution of this file, with or without modification,
277 are permitted in any medium without royalty provided the copyright
278 notice and this notice are preserved.
279
280 Local Variables:
281 mode: change-log
282 left-margin: 8
283 fill-column: 74
284 version-control: never
285 End: