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