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