Add option -mfence-as-lock-add=[no|yes].
[external/binutils.git] / gas / ChangeLog
1 2016-01-29  Andrew Senkevich  <andrew.senkevich@intel.com>
2             H.J. Lu  <hongjiu.lu@intel.com>
3
4         * config/tc-i386.c (avoid_fence): New.
5         (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
6         is true.
7         (OPTION_FENCE_AS_LOCK_ADD): New.
8         (md_longopts): Add -mfence-as-lock-add.
9         (md_parse_option): Handle -mfence-as-lock-add.
10         (md_show_usage): Add -mfence-as-lock-add=[no|yes].
11         * doc/c-i386.texi (-mfence-as-lock-add): Document.
12         * gas/i386/i386.exp: Run new tests.
13         * gas/i386/fence-as-lock-add.s: New.
14         * gas/i386/fence-as-lock-add-yes.d: Likewise.
15         * gas/i386/fence-as-lock-add-no.d: Likewise.
16         * gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
17         * gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
18
19 2016-01-27  H.J. Lu  <hongjiu.lu@intel.com>
20
21         * configure.ac (compressed_debug_sections): Remove trailing `]'.
22         * configure: Regenerated.
23
24 2016-01-25  H.J. Lu  <hongjiu.lu@intel.com>
25
26         * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
27         (OPTION_MOMIT_LOCK_PREFIX): This.
28         (md_longopts): Updated.
29         (md_parse_option): Likewise.
30
31 2016-01-25  Catherine Moore  <clm@codesourcery.com>
32
33         * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
34         if abicalls are in effect.
35         * testsuite/gas/mips/sdata-gp.s: New test.
36         * testsuite/gas/mips/sdata-gp.d: New expected output
37         * testsuite/gas/mips/mips.exp: Run new test.
38
39 2016-01-25  Renlin Li  <renlin.li@arm.com>
40
41         * testsuite/gas/arm/thumb2_it_search.d: New.
42         * testsuite/gas/arm/thumb2_it_search.s: New.
43
44 2016-01-21  Nick Clifton  <nickc@redhat.com>
45
46         PR gas/19454
47         * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
48         with arm-netbsdelf target.
49         * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
50
51 2016-01-20  Nick Clifton  <nickc@redhat.com>
52
53         PR 19456
54         * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
55         * testsuite/gas/arm/blx-bl-convert.d
56         * testsuite/gas/arm/plt-1.d: Likewise.
57         * testsuite/gas/arm/reloc-bad.d: Likewise.
58         * testsuite/gas/arm/thumb-w-good.d: Likewise.
59         * testsuite/gas/arm/thumb2_pool.d: Likewise.
60         * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
61         * testsuite/gas/arm/tls_vxworks.d: Update expected output.
62
63         PR 19499
64         * doc/as.texinfo (Errors): Correct documentation describing the
65         interaction of .file and .line with warning and error messages.
66
67         PR 19458
68         * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
69         * testsuite/gas/arm/archv8m-main.d: Likewise.
70         * testsuite/gas/arm/archv8m-base.d: Likewise.
71
72 2016-01-20  Matthew Wahab  <matthew.wahab@arm.com>
73
74         * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
75         * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
76         * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
77
78 2016-01-20  Mickael Guene  <mickael.guene@st.com>
79             Terry Guo  <terry.guo@arm.com>
80
81         * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
82         SHF_ARM_NOREAD section flag.
83         * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
84         handle letter 'y'.
85         (arm_elf_section_letter) : Declare it.
86         * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
87         SHF_ARM_NOREAD section flag.
88         * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
89
90         * testsuite/gas/arm/section-execute-only.s: New test case.
91         * testsuite/gas/arm/section-execute-only.d: Expected output.
92
93 2016-01-18  Maciej W. Rozycki  <macro@imgtec.com>
94
95         * config/tc-mips.c (micromips_insn_length): Remove the mention
96         of 48-bit microMIPS instructions.
97
98 2016-01-18  Alan Modra  <amodra@gmail.com>
99
100         * configure: Regenerate.
101
102 2016-01-17  Alan Modra  <amodra@gmail.com>
103
104         * configure: Regenerate.
105
106 2016-01-17  Alan Modra  <amodra@gmail.com>
107
108         * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
109
110 2016-01-14  Nick Clifton  <nickc@redhat.com>
111
112         * testsuite/gas/rl78/sp-relative-movw.s: New test.
113         * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
114         * testsuite/gas/rl78/rl78.exp: Run the new test.
115
116 2016-01-14  Matthew Wahab  <matthew.wahab@arm.com>
117
118         * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
119         * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
120
121 2016-01-13  Maciej W. Rozycki  <macro@imgtec.com>
122
123         * config/tc-nios2.c (output_movia): Preset `code' to 0.
124
125 2016-01-13  Yoshinori Sato  <ysato@users.sourceforge.jp>
126
127         * config/tc-h8300.c (get_operand): Remove spurious condition in
128         test for closing parenthesis.
129
130 2016-01-12  Matthew Wahab  <matthew.wahab@arm.com>
131
132         * config/tc-arm.c (arm_ext_v8_2): New.
133         (insns): Add "esb".
134         * testsuite/gas/arm/armv8_2-a.d: New.
135         * testsuite/gas/arm/armv8_2-a.s: New.
136
137 2016-01-12  Alan Modra  <amodra@gmail.com>
138
139         * testsuite/gas/ppc/vsx3.d: Accept nop padding.
140
141 2016-01-11  Peter Bergner <bergner@vnet.ibm.com>
142
143         * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
144         xvcmpnesp, xvcmpnesp.>: Delete tests.
145         * testsuite/gas/ppc/power9.s: Likewise.
146         * testsuite/gas/ppc/vsx3.d: Likewise.
147         * testsuite/gas/ppc/vsx3.s: Likewise.
148
149 2016-01-08  Andreas Schwab  <schwab@linux-m68k.org>
150
151         PR gas/13050
152         * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
153         * testsuite/gas/m68k/p13050-1.s: New file.
154         * testsuite/gas/m68k/p13050-2.d: New file.
155         * testsuite/gas/m68k/p13050-2.s: New file.
156
157 2016-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
158
159         * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
160         * testsuite/gas/arc/add.d: Likewise.
161         * testsuite/gas/arc/and.d: Likewise.
162         * testsuite/gas/arc/asl.d: Likewise.
163         * testsuite/gas/arc/asr.d: Likewise.
164         * testsuite/gas/arc/bic.d: Likewise.
165         * testsuite/gas/arc/extb.d: Likewise.
166         * testsuite/gas/arc/extw.d: Likewise.
167         * testsuite/gas/arc/j.d: Likewise.
168         * testsuite/gas/arc/jl.d: Likewise.
169         * testsuite/gas/arc/ld2.d: Likewise.
170         * testsuite/gas/arc/lsr.d: Likewise.
171         * testsuite/gas/arc/mov.d: Likewise.
172         * testsuite/gas/arc/or.d: Likewise.
173         * testsuite/gas/arc/pcl-relocs.d: Likewise.
174         * testsuite/gas/arc/pcrel-relocs.d: Likewise.
175         * testsuite/gas/arc/pic-relocs.d: Likewise.
176         * testsuite/gas/arc/plt-relocs.d: Likewise.
177         * testsuite/gas/arc/rlc.d: Likewise.
178         * testsuite/gas/arc/ror.d: Likewise.
179         * testsuite/gas/arc/rrc.d: Likewise.
180         * testsuite/gas/arc/sbc.d: Likewise.
181         * testsuite/gas/arc/sda-relocs.d: Likewise.
182         * testsuite/gas/arc/sda-relocs2.d: Likewise.
183         * testsuite/gas/arc/sexb.d: Likewise.
184         * testsuite/gas/arc/sexw.d: Likewise.
185         * testsuite/gas/arc/st.d: Likewise.
186         * testsuite/gas/arc/sub.d: Likewise.
187         * testsuite/gas/arc/tls-relocs.d: Likewise.
188         * testsuite/gas/arc/xor.d: Likewise.
189
190 2016-01-01  Alan Modra  <amodra@gmail.com>
191
192         Update year range in copyright notice of all files.
193
194 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
195 \f
196 Copyright (C) 2016 Free Software Foundation, Inc.
197
198 Copying and distribution of this file, with or without modification,
199 are permitted in any medium without royalty provided the copyright
200 notice and this notice are preserved.
201
202 Local Variables:
203 mode: change-log
204 left-margin: 8
205 fill-column: 74
206 version-control: never
207 End: