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