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