df7ecd51561f8172a23e5385f0c3279b797cddc5
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
2
3 * as.c (show_usage): Add --size-check=.
4 (parse_args): Add and handle OPTION_SIZE_CHECK.
5
6 * as.h (flag_size_check): New.
7
8 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
9 bad .size directive only for --size-check=error.
10
11 * doc/as.texinfo: Document --size-check=.
12
13 2011-03-14 Mike Frysinger <vapier@gentoo.org>
14
15 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
16 bf542/bf544/bf547/bf548/bf549.
17
18 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
19
20 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
21 determine whether a relocation is needed.
22 (md_apply_fix, arm_apply_sym_value): Likewise.
23
24 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
25
26 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
27 for Thumb symbols.
28
29 2011-03-11 Nick Clifton <nickc@redhat.com>
30
31 * remap.c (remap_debug_filename): Always allocate a buffer for the
32 returned pointer.
33 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
34 remap_debug_filename.
35
36 2011-03-10 Michael Snyder <msnyder@vmware.com>
37
38 Revert the following change:
39 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
40 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
41
42 2011-03-10 Alan Modra <amodra@gmail.com>
43
44 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
45 TARGET_SYMBOL_FIELDS): Don't define.
46 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
47
48 2011-03-09 Michael Snyder <msnyder@vmware.com>
49
50 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
51 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
52 (emit_fixed_inc_line_addr): Assign instead of conditional in
53 assert.
54
55 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
56
57 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
58 non-constant .size expression.
59
60 2011-03-02 Nick Clifton <nickc@redhat.com>
61
62 * ecoff.c: Incldue filenames.h
63
64 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
65
66 * depend.c (register_dependency): Use filename_(n)cmp.
67 * dwarf2dbg.c (get_filenum): Likewise.
68 * ecoff.c (add_file): Likewise.
69 (ecoff_generate_asm_lineno): Likewise.
70 * input-scrub.c (new_logical_line_flags): Likewise.
71 * listing.c (file_info): Likewise.
72 (listing_newline): Likewise.
73 * remap.c (remap_debug_filename): Likewise.
74 * stabs.c (generate_asm_file): Likewise.
75 (stabs_generate_asm_lineno): Likewise.
76
77 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
78
79 * config/tc-mips.c (append_insn): Disable branch relaxation for
80 DSP instructions.
81
82 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
83
84 * config/tc-mips.c (macro): Handle M_PREF_AB.
85
86 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
87
88 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
89 register to use.
90 (RELAX_BRANCH_UNCOND): Adjust accordingly.
91 (RELAX_BRANCH_LIKELY): Likewise.
92 (RELAX_BRANCH_LINK): Likewise.
93 (RELAX_BRANCH_TOOFAR): Likewise.
94 (RELAX_BRANCH_AT): New macro.
95 (append_insn): Encode the temporary register to use in standard
96 MIPS branch relaxation.
97 (relaxed_branch_length): Update according to changes to
98 RELAX_BRANCH_ENCODE.
99 (md_convert_frag): Use the encoded register as the temporary.
100
101 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
102
103 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
104 reject PC-relative relocations.
105
106 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
107
108 * config/tc-mips.c (md_convert_frag): Correct message
109 capitalization.
110
111 2011-02-28 Alan Modra <amodra@gmail.com>
112
113 * symbols.c (report_op_error): Remove unnecessary forward declaration.
114 Add "op" parameter. Report operator and operand segments in error
115 message, not operand symbols.
116 (resolve_symbol_value): Always set segment for equated symbols, not
117 just when finalizing. Adjust report_op_error calls.
118
119 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
120
121 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
122 if 64bit relocations aren't allowed.
123
124 2011-02-25 Alan Modra <amodra@gmail.com>
125
126 PR gas/12519
127 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
128
129 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
130
131 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
132 initialization of offset_reloc.
133
134 2011-02-15 Richard Henderson <rth@redhat.com>
135
136 * dw2gencfi.c (dot_cfi_dummy): New.
137 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
138 * read.c (pobegin): Unconditionally call cfi_pop_insert.
139
140 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
141
142 * configure: Regenerate.
143
144 2011-02-13 Mike Frysinger <vapier@gentoo.org>
145
146 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
147 * config/bfin-parse.y (BYTEOP2M): Delete token.
148 (asm_1): Remove BYTEOP2M insn matching.
149
150 2011-02-12 Mike Frysinger <vapier@gentoo.org>
151
152 * config/bfin-defs.h: Include opcode/bfin.h.
153 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
154
155 2011-02-11 Mike Frysinger <vapier@gentoo.org>
156
157 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
158 (Modify Registers): Fix subtracted typo.
159 (.byte2): Extend and swap descriptions with .byte4.
160 (.byte4): Extend and swap descriptions with .byte2.
161 (.db, .dw, .dd): Document behavior.
162
163 2011-02-11 Mike Frysinger <vapier@gentoo.org>
164
165 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
166
167 2011-02-11 Alan Modra <amodra@gmail.com>
168
169 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
170
171 2011-02-10 Alan Modra <amodra@gmail.com>
172
173 * doc/as.texinfo (Overview): Add missing markup around Blackfin
174 and PowerPC options.
175
176 2011-02-10 Alan Modra <amodra@gmail.com>
177
178 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
179 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
180 (Overview <Target PowerPC options>): Add a number of missing options.
181 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
182
183 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
184
185 PR gas/6957
186 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
187 for i686.
188
189 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
190
191 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
192 for ISA extensions.
193 (md_parse_option): Likewise.
194
195 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
196
197 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
198 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
199 (TIC6X Options): Don't mention "-matomic".
200 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
201 (md_longopts): Remove corresponding entries.
202 (md_parse_option): Don't handle them.
203 (md_show_usage): Don't document them.
204 (tic6x_atomic): Delete variable.
205 (tic6x_update_features): Always copy tic6x_arch_enable to
206 tic6x_features.
207 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
208 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
209 (md_pseudo_table): Remove ".atomic" and ".noatomic".
210
211 2011-01-31 Nick Clifton <nickc@redhat.com>
212
213 * write.c (write_contents): Include output file name and bfd error
214 value when reporting the inability to write to the output file.
215 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
216 frag that has a non-zero fill value.
217
218 2011-01-27 DJ Delorie <dj@redhat.com>
219
220 * config/tc-rx.c (md_convert_frag): If we can't compute the target
221 address, zero out the values stored in the object file to make
222 objdump's output consistent.
223
224 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
225
226 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
227 x86_dwarf2_return_column to 32.
228
229 2011-01-20 Nick Clifton <nickc@redhat.com>
230
231 PR gas/12384
232 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
233 comparison.
234
235 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
236
237 * write.c (compress_debug): Return if section size is smaller
238 than 32 bytes.
239
240 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
241
242 PR gas/12409
243 * write.c (compress_debug): Return if section size is 0.
244
245 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
246
247 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
248 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
249 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
250 fmp626} options.
251
252 2011-01-18 Nick Clifton <nickc@redhat.com>
253
254 PR gas/12390
255 * doc/all.texi: Add NS32K
256 * doc/as.texinfo: Remove target specific details of which
257 characters act as comment initiators and statement separators into
258 individual target specific files.
259 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
260 the hash character at the start of a line.
261 * doc/c-arm.texi (ARM-Chars): Likewise.
262 * doc/c-avr.texi (AVR-Chars): Likewise.
263 * doc/c-d10v.texi (D10V-Chars): Likewise.
264 * doc/c-d30v.texi (D30V-Chars): Likewise.
265 * doc/c-mmix.texi (MMIX-Chars): Likewise.
266 * doc/c-s390.texi (s390 characters): Likewise.
267 * doc/c-sh.texi (SH-Chars): Likewise.
268 * doc/c-sh64.texi (SH64-Chars): Likewise.
269 * doc/c-sparc.texi (SPARC-Chars): Likewise.
270 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
271 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
272 * doc/c-z80.texi (Z80-Chars): Likewise.
273 * doc/c-z8k.texi (Z8000-Chars): Likewise.
274 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
275 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
276 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
277 line separator characters.
278 * doc/c-cr16.texi (CR16 Syntax): Likewise.
279 * doc/c-i386.texi (i386-Chars): Likewise.
280 * doc/c-i860.texi (i860-Chars): Likewise.
281 * doc/c-i960.texi (i960-Chars): Likewise.
282 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
283 * doc/c-lm32.texi (LM32-Chars): likewise.
284 * doc/c-m32c.texi (M32C-Chars): Likewise.
285 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
286 * doc/c-m68k.texi (M68K-Chars): Likewise.
287 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
288 * doc/c-msp430.texi (MSP430-Chars): Likewise.
289 * doc/c-mt.texi (MT-Chars): Likewise.
290 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
291 * doc/c-pj.texi (PJ-Chars): Likewise.
292 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
293 * doc/c-rx.texi (RX-Chars): Likewise.
294 * doc/c-score.texi (SCORE-Chars): Likewise.
295 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
296 * doc/c-v850.texi (V850-Chars): Likewise.
297 * doc/c-vax.texi (VAX-Chars): Likewise.
298 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
299
300 2011-01-17 Quentin Neill <quentin.neill@amd.com>
301
302 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
303
304 * doc/c-i386.texi (i386-TBM): New section.
305
306 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
307
308 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
309 (disallow_64bit_reloc): This.
310 (md_assemble): Don't check movabs for x32 mode here.
311 (i386_target_format): Updated.
312 (tc_gen_reloc): Check if 64bit relocations are allowed.
313
314 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
315
316 * config/tc-i386.c (disallow_64bit_disp): New.
317 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
318 X86_64_ABI/X86_64_X32_ABI.
319 (md_assemble): Don't allow movabs with relocation in x32 mode.
320 (i386_target_format): Updated.
321
322 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
323
324 * config/tc-i386.c (OPTION_N32): Renamed to ...
325 (OPTION_X32): This.
326 (md_longopts): Replace n32 with x32.
327 (md_parse_option): Updated.
328 (md_show_usage): Likewise.
329
330 * doc/c-i386.texi: Replace --n32 with --x32.
331
332 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
333
334 * config/tc-mips.c (mips_ip): Update error messages. Take an
335 unadjusted offset for "+c" argument.
336
337 2011-01-10 Nick Clifton <nickc@redhat.com>
338
339 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
340 it.
341
342 2011-01-10 Nick Clifton <nickc@redhat.com>
343
344 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
345 part of the file.
346
347 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
348 Glauber de Oliveira Costa <glommer@gmail.com>
349
350 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
351 .tlsdescseq directive.
352 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
353 following a symbol.
354 (s_arm_tls_descseq): New directive.
355 (md_pseudo_table): Add it.
356 (encode_branch): Allow TLS_CALL relocs too.
357 (do_t_blx, do_t_branch23): Use encode_branch.
358 (reloc_names): Add tlsdesc and tlscall.
359 (md_apply_fix): Process tls desc relocations.
360 (tc_gen_reloc): Likewise.
361 (arm_fix_adjustable): Likewise.
362
363 2011-01-07 Quentin Neill <quentin.neill@amd.com>
364
365 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
366
367 * doc/c-i386.texi (i386-BMI): New section.
368
369 2011-01-06 Paul Koning <ni1d@arrl.net>
370
371 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
372 references to absolute addresses.
373
374 2011-01-05 DJ Delorie <dj@redhat.com>
375
376 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
377 instead of an RH_NEG32 one.
378
379 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
380
381 * doc/c-i386.texi: Clarify --n32.
382
383 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
384
385 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
386 integer registers in VEX.vvvv. Check register-only source
387 operand when two source operands are swapped. Properly update
388 destination when two source operands are swapped.
389
390 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
391
392 * gas.c (parse_args): Update copyright to 2011.
393
394 For older changes see ChangeLog-2010
395 \f
396 Local Variables:
397 mode: change-log
398 left-margin: 8
399 fill-column: 74
400 version-control: never
401 End:
This page took 0.037006 seconds and 4 git commands to generate.