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