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