Add -mrelax-relocations= to x86 assembler
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2
3 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4
5 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
6
7 PR gas/19520
8 * NEWS: Mention new command line option -mrelax-relocations and
9 new configure option --enable-x86-relax-relocations for x86
10 target.
11 * config.in: Regenerated.
12 * configure.ac: Add --enable-x86-relax-relocations.
13 (ac_default_x86_relax_relocations): New. Default to 1 except
14 for x86 Solaris targets older than Solaris 12.
15 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
16 * configure: Likewise.
17 * config/tc-i386.c (generate_relax_relocations): New.
18 (OPTION_MRELAX_RELOCATIONS): Likewise.
19 (output_disp): Don't generate relax relocations if
20 generate_relax_relocations is 0.
21 (md_longopts): Add -mrelax-relocations.
22 (md_show_usage): Likewise.
23 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
24 * doc/c-i386.texi: Document -mrelax-relocations=.
25 * testsuite/gas/i386/got-no-relax.d: New file.
26 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
27 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
28 * testsuite/gas/i386/localpic.d: Likewise.
29 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
30 * testsuite/gas/i386/reloc32.d: Likewise.
31 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
32 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
33 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
34 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
35 * testsuite/gas/i386/i386.exp: Run got-no-relax and
36 x86-64-gotpcrel-no-relax.
37
38 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
39
40 * NEWS: Mention new command line option -mfence-as-lock-add=yes
41 for x86 target.
42
43 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
44
45 * NEWS: Remove duplicated marker for 2.26.
46
47 2016-02-02 Renlin Li <renlin.li@arm.com>
48
49 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
50
51 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
52
53 * testsuite/gas/ip2k/allinsn.d: New file.
54 * testsuite/gas/ip2k/allinsn.s: New file.
55 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
56
57 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
58
59 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
60 some load instructions.
61 * testsuite/gas/epiphany/allinsn.d: Likewise.
62 * testsuite/gas/epiphany/regression.d: Likewise.
63
64 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
65
66 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
67 suffixes from instruction mnemonics in expected output.
68 * testsuite/gas/epiphany/allinsn.d: Likewise.
69 * testsuite/gas/epiphany/regression.d: Likewise.
70 * testsuite/gas/epiphany/sample.d: Likewise.
71
72 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
73
74 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
75 names.
76 * testsuite/gas/epiphany/allinsn.d: Likewise.
77 * testsuite/gas/epiphany/sample.d: Likewise.
78
79 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
80
81 * testsuite/gas/epiphany/sample.d: Update expected output.
82
83 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
84
85 * config/tc-arc.c (md_apply_fix): Allow addendum.
86 (arc_reloc_op): Allow complex expressions for tpoff.
87 (md_apply_fix): Handle resolved TLS local symbol.
88
89 * testsuite/gas/arc/tls-relocs1.d: New file.
90 * testsuite/gas/arc/tls-relocs1.s: Likewise.
91
92 2016-02-01 Loria <Loria@phantasia.org>
93
94 PR target/19311
95 * config/tc-arm.c (encode_arm_immediate): Recode to improve
96 efficiency and avoid an LLVM loop optimization bug.
97
98 2016-02-01 Nick Clifton <nickc@redhat.com>
99
100 * config/tc-microblaze.c (parse_imm): Fix compile time warning
101 message extending a negative 32-bit value into a larger signed
102 value on a 32-bit host.
103
104 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
105
106 PR gas/19532
107 * configure.ac (compressed_debug_sections): Replace == with =.
108 * configure: Regenerated.
109
110 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
111 H.J. Lu <hongjiu.lu@intel.com>
112
113 * config/tc-i386.c (avoid_fence): New.
114 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
115 is true.
116 (OPTION_FENCE_AS_LOCK_ADD): New.
117 (md_longopts): Add -mfence-as-lock-add.
118 (md_parse_option): Handle -mfence-as-lock-add.
119 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
120 * doc/c-i386.texi (-mfence-as-lock-add): Document.
121 * testsuite/gas/i386/i386.exp: Run new tests.
122 * testsuite/gas/i386/fence-as-lock-add.s: New.
123 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
124 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
125 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
126 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
127
128 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
129
130 * configure.ac (compressed_debug_sections): Remove trailing `]'.
131 * configure: Regenerated.
132
133 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
134
135 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
136 (OPTION_MOMIT_LOCK_PREFIX): This.
137 (md_longopts): Updated.
138 (md_parse_option): Likewise.
139
140 2016-01-25 Catherine Moore <clm@codesourcery.com>
141
142 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
143 if abicalls are in effect.
144 * testsuite/gas/mips/sdata-gp.s: New test.
145 * testsuite/gas/mips/sdata-gp.d: New expected output
146 * testsuite/gas/mips/mips.exp: Run new test.
147
148 2016-01-25 Renlin Li <renlin.li@arm.com>
149
150 * testsuite/gas/arm/thumb2_it_search.d: New.
151 * testsuite/gas/arm/thumb2_it_search.s: New.
152
153 2016-01-21 Nick Clifton <nickc@redhat.com>
154
155 PR gas/19454
156 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
157 with arm-netbsdelf target.
158 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
159
160 2016-01-20 Nick Clifton <nickc@redhat.com>
161
162 PR 19456
163 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
164 * testsuite/gas/arm/blx-bl-convert.d
165 * testsuite/gas/arm/plt-1.d: Likewise.
166 * testsuite/gas/arm/reloc-bad.d: Likewise.
167 * testsuite/gas/arm/thumb-w-good.d: Likewise.
168 * testsuite/gas/arm/thumb2_pool.d: Likewise.
169 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
170 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
171
172 PR 19499
173 * doc/as.texinfo (Errors): Correct documentation describing the
174 interaction of .file and .line with warning and error messages.
175
176 PR 19458
177 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
178 * testsuite/gas/arm/archv8m-main.d: Likewise.
179 * testsuite/gas/arm/archv8m-base.d: Likewise.
180
181 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
182
183 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
184 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
185 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
186
187 2016-01-20 Mickael Guene <mickael.guene@st.com>
188 Terry Guo <terry.guo@arm.com>
189
190 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
191 SHF_ARM_NOREAD section flag.
192 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
193 handle letter 'y'.
194 (arm_elf_section_letter) : Declare it.
195 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
196 SHF_ARM_NOREAD section flag.
197 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
198
199 * testsuite/gas/arm/section-execute-only.s: New test case.
200 * testsuite/gas/arm/section-execute-only.d: Expected output.
201
202 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
203
204 * config/tc-mips.c (micromips_insn_length): Remove the mention
205 of 48-bit microMIPS instructions.
206
207 2016-01-18 Alan Modra <amodra@gmail.com>
208
209 * configure: Regenerate.
210
211 2016-01-17 Alan Modra <amodra@gmail.com>
212
213 * configure: Regenerate.
214
215 2016-01-17 Alan Modra <amodra@gmail.com>
216
217 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
218
219 2016-01-14 Nick Clifton <nickc@redhat.com>
220
221 * testsuite/gas/rl78/sp-relative-movw.s: New test.
222 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
223 * testsuite/gas/rl78/rl78.exp: Run the new test.
224
225 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
226
227 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
228 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
229
230 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
231
232 * config/tc-nios2.c (output_movia): Preset `code' to 0.
233
234 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
235
236 * config/tc-h8300.c (get_operand): Remove spurious condition in
237 test for closing parenthesis.
238
239 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
240
241 * config/tc-arm.c (arm_ext_v8_2): New.
242 (insns): Add "esb".
243 * testsuite/gas/arm/armv8_2-a.d: New.
244 * testsuite/gas/arm/armv8_2-a.s: New.
245
246 2016-01-12 Alan Modra <amodra@gmail.com>
247
248 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
249
250 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
251
252 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
253 xvcmpnesp, xvcmpnesp.>: Delete tests.
254 * testsuite/gas/ppc/power9.s: Likewise.
255 * testsuite/gas/ppc/vsx3.d: Likewise.
256 * testsuite/gas/ppc/vsx3.s: Likewise.
257
258 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
259
260 PR gas/13050
261 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
262 * testsuite/gas/m68k/p13050-1.s: New file.
263 * testsuite/gas/m68k/p13050-2.d: New file.
264 * testsuite/gas/m68k/p13050-2.s: New file.
265
266 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
267
268 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
269 * testsuite/gas/arc/add.d: Likewise.
270 * testsuite/gas/arc/and.d: Likewise.
271 * testsuite/gas/arc/asl.d: Likewise.
272 * testsuite/gas/arc/asr.d: Likewise.
273 * testsuite/gas/arc/bic.d: Likewise.
274 * testsuite/gas/arc/extb.d: Likewise.
275 * testsuite/gas/arc/extw.d: Likewise.
276 * testsuite/gas/arc/j.d: Likewise.
277 * testsuite/gas/arc/jl.d: Likewise.
278 * testsuite/gas/arc/ld2.d: Likewise.
279 * testsuite/gas/arc/lsr.d: Likewise.
280 * testsuite/gas/arc/mov.d: Likewise.
281 * testsuite/gas/arc/or.d: Likewise.
282 * testsuite/gas/arc/pcl-relocs.d: Likewise.
283 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
284 * testsuite/gas/arc/pic-relocs.d: Likewise.
285 * testsuite/gas/arc/plt-relocs.d: Likewise.
286 * testsuite/gas/arc/rlc.d: Likewise.
287 * testsuite/gas/arc/ror.d: Likewise.
288 * testsuite/gas/arc/rrc.d: Likewise.
289 * testsuite/gas/arc/sbc.d: Likewise.
290 * testsuite/gas/arc/sda-relocs.d: Likewise.
291 * testsuite/gas/arc/sda-relocs2.d: Likewise.
292 * testsuite/gas/arc/sexb.d: Likewise.
293 * testsuite/gas/arc/sexw.d: Likewise.
294 * testsuite/gas/arc/st.d: Likewise.
295 * testsuite/gas/arc/sub.d: Likewise.
296 * testsuite/gas/arc/tls-relocs.d: Likewise.
297 * testsuite/gas/arc/xor.d: Likewise.
298
299 2016-01-01 Alan Modra <amodra@gmail.com>
300
301 Update year range in copyright notice of all files.
302
303 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
304 \f
305 Copyright (C) 2016 Free Software Foundation, Inc.
306
307 Copying and distribution of this file, with or without modification,
308 are permitted in any medium without royalty provided the copyright
309 notice and this notice are preserved.
310
311 Local Variables:
312 mode: change-log
313 left-margin: 8
314 fill-column: 74
315 version-control: never
316 End:
This page took 0.040173 seconds and 5 git commands to generate.