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