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