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