Add support for ARC instruction relaxation in the assembler.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
4670103e
CZ
12016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2 Janek van Oirschot <jvanoirs@synopsys.com>
3
4 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
5 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
6 Define.
7 (arc_flags, arc_relax_type): New structure.
8 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
9 (RELAX_TABLE_ENTRY_MAX): New define.
10 (relaxation_state, md_relax_table, arc_relaxable_insns)
11 (arc_num_relaxable_ins): New variable.
12 (rlx_operand_type, arc_rlx_types): New enums.
13 (arc_relaxable_ins): New structure.
14 (OPTION_RELAX): New option.
15 (arc_insn): New relax member.
16 (arc_flags): Remove.
17 (relax_insn_p): New function.
18 (apply_fixups): Likewise.
19 (relaxable_operand): Likewise.
20 (may_relax_expr): Likewise.
21 (relaxable_flag): Likewise.
22 (arc_pcrel_adjust): Likewise.
23 (md_estimate_size_before_relax): Implement.
24 (md_convert_frag): Likewise.
25 (md_parse_option): Handle new mrelax option.
26 (md_show_usage): Likewise.
27 (assemble_insn): Set relax member.
28 (emit_insn0): New function.
29 (emit_insn1): Likewise.
30 (emit_insn): Handle relaxation case.
31 * NEWS: Mention the new relaxation option.
32 * doc/c-arc.texi (ARC Options): Document new mrelax option.
33 * doc/as.texinfo (Target ARC Options): Likewise.
34 * testsuite/gas/arc/relax-avoid1.d: New file.
35 * testsuite/gas/arc/relax-avoid1.s: Likewise.
36 * testsuite/gas/arc/relax-avoid2.d: Likewise.
37 * testsuite/gas/arc/relax-avoid2.s: Likewise.
38 * testsuite/gas/arc/relax-avoid3.d: Likewise.
39 * testsuite/gas/arc/relax-avoid3.s: Likewise.
40 * testsuite/gas/arc/relax-b.d: Likewise.
41 * testsuite/gas/arc/relax-b.s: Likewise.
42
9264d325
NC
432016-02-08 Nick Clifton <nickc@redhat.com>
44
45 * config/tc-ia64.c (dot_prologue): Fix formatting.
46
39306124
NC
472016-02-04 Nick Clifton <nickc@redhat.com>
48
49 * config/obj-elf.c (obj_elf_change_section): Remove support for
50 ARM NOREAD sections.
51 * config/tc-arm.c (arm_elf_section_letter): Delete.
52 * config/tc-arm.h (md_elf_section_letter): Delete.
53 * doc/c-arm.texi (ARM Section Attribute): Delete section.
54 * testsuite/gas/arm/section-execute-only.d: Delete.
55 * testsuite/gas/arm/section-execute-only.s: Delete.
56
c1d9289f
NC
572016-02-04 Nick Clifton <nickc@redhat.com>
58
59 PR target/19561
60 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
61 to handle encoding of RRUX instruction.
62 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
63 shift instructions.
64 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
65
ea173078
MF
662016-02-03 Max Filippov <jcmvbkbc@gmail.com>
67
68 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
69 substitutions for BFD_RELOC_* as unsigned.
c1d9289f
NC
70 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
71 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
72 * testsuite/gas/xtensa/loc.s: New file: loc test.
ea173078 73
3d8efabf
KB
742016-02-03 Kevin Buettner <kevinb@redhat.com>
75
76 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
77
0cb4071e
L
782016-02-03 H.J. Lu <hongjiu.lu@intel.com>
79
80 PR gas/19520
81 * NEWS: Mention new command line option -mrelax-relocations and
82 new configure option --enable-x86-relax-relocations for x86
83 target.
84 * config.in: Regenerated.
85 * configure.ac: Add --enable-x86-relax-relocations.
86 (ac_default_x86_relax_relocations): New. Default to 1 except
87 for x86 Solaris targets older than Solaris 12.
88 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
89 * configure: Likewise.
90 * config/tc-i386.c (generate_relax_relocations): New.
91 (OPTION_MRELAX_RELOCATIONS): Likewise.
92 (output_disp): Don't generate relax relocations if
93 generate_relax_relocations is 0.
94 (md_longopts): Add -mrelax-relocations.
95 (md_show_usage): Likewise.
96 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
97 * doc/c-i386.texi: Document -mrelax-relocations=.
98 * testsuite/gas/i386/got-no-relax.d: New file.
99 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
100 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
101 * testsuite/gas/i386/localpic.d: Likewise.
102 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
103 * testsuite/gas/i386/reloc32.d: Likewise.
104 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
105 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
106 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
107 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
108 * testsuite/gas/i386/i386.exp: Run got-no-relax and
109 x86-64-gotpcrel-no-relax.
110
9d3fc4e1
L
1112016-02-03 H.J. Lu <hongjiu.lu@intel.com>
112
113 * NEWS: Mention new command line option -mfence-as-lock-add=yes
114 for x86 target.
115
ab71ce86
L
1162016-02-03 H.J. Lu <hongjiu.lu@intel.com>
117
118 * NEWS: Remove duplicated marker for 2.26.
119
46d70d04
RL
1202016-02-02 Renlin Li <renlin.li@arm.com>
121
122 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
123
0f99255d
AB
1242016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
125
126 * testsuite/gas/ip2k/allinsn.d: New file.
127 * testsuite/gas/ip2k/allinsn.s: New file.
128 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
129
5d7a9011
AB
1302016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
131
132 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
133 some load instructions.
134 * testsuite/gas/epiphany/allinsn.d: Likewise.
135 * testsuite/gas/epiphany/regression.d: Likewise.
136
a012b298
AB
1372016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
138
139 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
140 suffixes from instruction mnemonics in expected output.
141 * testsuite/gas/epiphany/allinsn.d: Likewise.
142 * testsuite/gas/epiphany/regression.d: Likewise.
143 * testsuite/gas/epiphany/sample.d: Likewise.
144
2f74d480
AB
1452016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
146
147 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
148 names.
149 * testsuite/gas/epiphany/allinsn.d: Likewise.
150 * testsuite/gas/epiphany/sample.d: Likewise.
151
b89807c6
AB
1522016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
153
154 * testsuite/gas/epiphany/sample.d: Update expected output.
155
b125bd17
CZ
1562016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
157
158 * config/tc-arc.c (md_apply_fix): Allow addendum.
159 (arc_reloc_op): Allow complex expressions for tpoff.
160 (md_apply_fix): Handle resolved TLS local symbol.
161
162 * testsuite/gas/arc/tls-relocs1.d: New file.
163 * testsuite/gas/arc/tls-relocs1.s: Likewise.
164
4f1d6205
L
1652016-02-01 Loria <Loria@phantasia.org>
166
167 PR target/19311
168 * config/tc-arm.c (encode_arm_immediate): Recode to improve
169 efficiency and avoid an LLVM loop optimization bug.
170
ac0d427f
NC
1712016-02-01 Nick Clifton <nickc@redhat.com>
172
173 * config/tc-microblaze.c (parse_imm): Fix compile time warning
174 message extending a negative 32-bit value into a larger signed
175 value on a 32-bit host.
176
348ef89a
L
1772016-01-29 H.J. Lu <hongjiu.lu@intel.com>
178
179 PR gas/19532
180 * configure.ac (compressed_debug_sections): Replace == with =.
181 * configure: Regenerated.
182
e4e00185
AS
1832016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
184 H.J. Lu <hongjiu.lu@intel.com>
185
186 * config/tc-i386.c (avoid_fence): New.
187 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
188 is true.
189 (OPTION_FENCE_AS_LOCK_ADD): New.
190 (md_longopts): Add -mfence-as-lock-add.
191 (md_parse_option): Handle -mfence-as-lock-add.
192 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
193 * doc/c-i386.texi (-mfence-as-lock-add): Document.
ac2789d7
L
194 * testsuite/gas/i386/i386.exp: Run new tests.
195 * testsuite/gas/i386/fence-as-lock-add.s: New.
196 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
197 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
198 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
199 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
e4e00185 200
27ba7c94
L
2012016-01-27 H.J. Lu <hongjiu.lu@intel.com>
202
203 * configure.ac (compressed_debug_sections): Remove trailing `]'.
204 * configure: Regenerated.
205
d1982f93
L
2062016-01-25 H.J. Lu <hongjiu.lu@intel.com>
207
208 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
209 (OPTION_MOMIT_LOCK_PREFIX): This.
210 (md_longopts): Updated.
211 (md_parse_option): Likewise.
212
00acd688
CM
2132016-01-25 Catherine Moore <clm@codesourcery.com>
214
215 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
216 if abicalls are in effect.
217 * testsuite/gas/mips/sdata-gp.s: New test.
218 * testsuite/gas/mips/sdata-gp.d: New expected output
219 * testsuite/gas/mips/mips.exp: Run new test.
220
5bc5ae88
RL
2212016-01-25 Renlin Li <renlin.li@arm.com>
222
223 * testsuite/gas/arm/thumb2_it_search.d: New.
224 * testsuite/gas/arm/thumb2_it_search.s: New.
225
61e137e2
NC
2262016-01-21 Nick Clifton <nickc@redhat.com>
227
228 PR gas/19454
229 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
230 with arm-netbsdelf target.
231 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
232
aed5fc75
NC
2332016-01-20 Nick Clifton <nickc@redhat.com>
234
74b92a5c
NC
235 PR 19456
236 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
237 * testsuite/gas/arm/blx-bl-convert.d
238 * testsuite/gas/arm/plt-1.d: Likewise.
239 * testsuite/gas/arm/reloc-bad.d: Likewise.
240 * testsuite/gas/arm/thumb-w-good.d: Likewise.
241 * testsuite/gas/arm/thumb2_pool.d: Likewise.
242 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
243 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
244
72e0b254
NC
245 PR 19499
246 * doc/as.texinfo (Errors): Correct documentation describing the
247 interaction of .file and .line with warning and error messages.
248
aed5fc75
NC
249 PR 19458
250 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
251 * testsuite/gas/arm/archv8m-main.d: Likewise.
252 * testsuite/gas/arm/archv8m-base.d: Likewise.
253
0bff6e2d
MW
2542016-01-20 Matthew Wahab <matthew.wahab@arm.com>
255
256 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
257 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
258 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
259
91f68a68
MG
2602016-01-20 Mickael Guene <mickael.guene@st.com>
261 Terry Guo <terry.guo@arm.com>
262
263 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
264 SHF_ARM_NOREAD section flag.
265 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
266 handle letter 'y'.
267 (arm_elf_section_letter) : Declare it.
268 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
269 SHF_ARM_NOREAD section flag.
270 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
271
272 * testsuite/gas/arm/section-execute-only.s: New test case.
273 * testsuite/gas/arm/section-execute-only.d: Expected output.
274
100b4f2e
MR
2752016-01-18 Maciej W. Rozycki <macro@imgtec.com>
276
277 * config/tc-mips.c (micromips_insn_length): Remove the mention
278 of 48-bit microMIPS instructions.
279
3d961d0d
AM
2802016-01-18 Alan Modra <amodra@gmail.com>
281
282 * configure: Regenerate.
283
5c14705f
AM
2842016-01-17 Alan Modra <amodra@gmail.com>
285
286 * configure: Regenerate.
287
b3066ae8
AM
2882016-01-17 Alan Modra <amodra@gmail.com>
289
290 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
291
4d82fe66
NC
2922016-01-14 Nick Clifton <nickc@redhat.com>
293
294 * testsuite/gas/rl78/sp-relative-movw.s: New test.
295 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
296 * testsuite/gas/rl78/rl78.exp: Run the new test.
297
651657fa
MW
2982016-01-14 Matthew Wahab <matthew.wahab@arm.com>
299
300 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
301 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
302
3facb0e9
MR
3032016-01-13 Maciej W. Rozycki <macro@imgtec.com>
304
305 * config/tc-nios2.c (output_movia): Preset `code' to 0.
306
8a4c2869
YS
3072016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
308
309 * config/tc-h8300.c (get_operand): Remove spurious condition in
310 test for closing parenthesis.
311
105bde57
MW
3122016-01-12 Matthew Wahab <matthew.wahab@arm.com>
313
314 * config/tc-arm.c (arm_ext_v8_2): New.
315 (insns): Add "esb".
316 * testsuite/gas/arm/armv8_2-a.d: New.
317 * testsuite/gas/arm/armv8_2-a.s: New.
318
5230aa4d
AM
3192016-01-12 Alan Modra <amodra@gmail.com>
320
321 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
322
afa8d405
PB
3232016-01-11 Peter Bergner <bergner@vnet.ibm.com>
324
325 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
326 xvcmpnesp, xvcmpnesp.>: Delete tests.
327 * testsuite/gas/ppc/power9.s: Likewise.
328 * testsuite/gas/ppc/vsx3.d: Likewise.
329 * testsuite/gas/ppc/vsx3.s: Likewise.
330
83c3256e
AS
3312016-01-08 Andreas Schwab <schwab@linux-m68k.org>
332
333 PR gas/13050
334 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
335 * testsuite/gas/m68k/p13050-1.s: New file.
336 * testsuite/gas/m68k/p13050-2.d: New file.
337 * testsuite/gas/m68k/p13050-2.s: New file.
338
b05a65d0
AB
3392016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
340
341 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
342 * testsuite/gas/arc/add.d: Likewise.
343 * testsuite/gas/arc/and.d: Likewise.
344 * testsuite/gas/arc/asl.d: Likewise.
345 * testsuite/gas/arc/asr.d: Likewise.
346 * testsuite/gas/arc/bic.d: Likewise.
347 * testsuite/gas/arc/extb.d: Likewise.
348 * testsuite/gas/arc/extw.d: Likewise.
349 * testsuite/gas/arc/j.d: Likewise.
350 * testsuite/gas/arc/jl.d: Likewise.
351 * testsuite/gas/arc/ld2.d: Likewise.
352 * testsuite/gas/arc/lsr.d: Likewise.
353 * testsuite/gas/arc/mov.d: Likewise.
354 * testsuite/gas/arc/or.d: Likewise.
355 * testsuite/gas/arc/pcl-relocs.d: Likewise.
356 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
357 * testsuite/gas/arc/pic-relocs.d: Likewise.
358 * testsuite/gas/arc/plt-relocs.d: Likewise.
359 * testsuite/gas/arc/rlc.d: Likewise.
360 * testsuite/gas/arc/ror.d: Likewise.
361 * testsuite/gas/arc/rrc.d: Likewise.
362 * testsuite/gas/arc/sbc.d: Likewise.
363 * testsuite/gas/arc/sda-relocs.d: Likewise.
364 * testsuite/gas/arc/sda-relocs2.d: Likewise.
365 * testsuite/gas/arc/sexb.d: Likewise.
366 * testsuite/gas/arc/sexw.d: Likewise.
367 * testsuite/gas/arc/st.d: Likewise.
368 * testsuite/gas/arc/sub.d: Likewise.
369 * testsuite/gas/arc/tls-relocs.d: Likewise.
370 * testsuite/gas/arc/xor.d: Likewise.
371
6f2750fe
AM
3722016-01-01 Alan Modra <amodra@gmail.com>
373
374 Update year range in copyright notice of all files.
375
3499769a
AM
376For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
377\f
378Copyright (C) 2016 Free Software Foundation, Inc.
379
380Copying and distribution of this file, with or without modification,
381are permitted in any medium without royalty provided the copyright
382notice and this notice are preserved.
383
384Local Variables:
385mode: change-log
386left-margin: 8
387fill-column: 74
388version-control: never
389End:
This page took 0.046317 seconds and 4 git commands to generate.