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