gas/
[binutils-gdb.git] / gas / ChangeLog
1 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * config/tc-mips.c (append_insn): Disable branch relaxation for
4 DSP instructions.
5
6 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
7
8 * config/tc-mips.c (macro): Handle M_PREF_AB.
9
10 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
11
12 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
13 register to use.
14 (RELAX_BRANCH_UNCOND): Adjust accordingly.
15 (RELAX_BRANCH_LIKELY): Likewise.
16 (RELAX_BRANCH_LINK): Likewise.
17 (RELAX_BRANCH_TOOFAR): Likewise.
18 (RELAX_BRANCH_AT): New macro.
19 (append_insn): Encode the temporary register to use in standard
20 MIPS branch relaxation.
21 (relaxed_branch_length): Update according to changes to
22 RELAX_BRANCH_ENCODE.
23 (md_convert_frag): Use the encoded register as the temporary.
24
25 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
26
27 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
28 reject PC-relative relocations.
29
30 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
31
32 * config/tc-mips.c (md_convert_frag): Correct message
33 capitalization.
34
35 2011-02-28 Alan Modra <amodra@gmail.com>
36
37 * symbols.c (report_op_error): Remove unnecessary forward declaration.
38 Add "op" parameter. Report operator and operand segments in error
39 message, not operand symbols.
40 (resolve_symbol_value): Always set segment for equated symbols, not
41 just when finalizing. Adjust report_op_error calls.
42
43 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
44
45 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
46 if 64bit relocations aren't allowed.
47
48 2011-02-25 Alan Modra <amodra@gmail.com>
49
50 PR gas/12519
51 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
52
53 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
54
55 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
56 initialization of offset_reloc.
57
58 2011-02-15 Richard Henderson <rth@redhat.com>
59
60 * dw2gencfi.c (dot_cfi_dummy): New.
61 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
62 * read.c (pobegin): Unconditionally call cfi_pop_insert.
63
64 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
65
66 * configure: Regenerate.
67
68 2011-02-13 Mike Frysinger <vapier@gentoo.org>
69
70 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
71 * config/bfin-parse.y (BYTEOP2M): Delete token.
72 (asm_1): Remove BYTEOP2M insn matching.
73
74 2011-02-12 Mike Frysinger <vapier@gentoo.org>
75
76 * config/bfin-defs.h: Include opcode/bfin.h.
77 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
78
79 2011-02-11 Mike Frysinger <vapier@gentoo.org>
80
81 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
82 (Modify Registers): Fix subtracted typo.
83 (.byte2): Extend and swap descriptions with .byte4.
84 (.byte4): Extend and swap descriptions with .byte2.
85 (.db, .dw, .dd): Document behavior.
86
87 2011-02-11 Mike Frysinger <vapier@gentoo.org>
88
89 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
90
91 2011-02-11 Alan Modra <amodra@gmail.com>
92
93 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
94
95 2011-02-10 Alan Modra <amodra@gmail.com>
96
97 * doc/as.texinfo (Overview): Add missing markup around Blackfin
98 and PowerPC options.
99
100 2011-02-10 Alan Modra <amodra@gmail.com>
101
102 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
103 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
104 (Overview <Target PowerPC options>): Add a number of missing options.
105 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
106
107 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
108
109 PR gas/6957
110 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
111 for i686.
112
113 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
114
115 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
116 for ISA extensions.
117 (md_parse_option): Likewise.
118
119 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
120
121 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
122 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
123 (TIC6X Options): Don't mention "-matomic".
124 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
125 (md_longopts): Remove corresponding entries.
126 (md_parse_option): Don't handle them.
127 (md_show_usage): Don't document them.
128 (tic6x_atomic): Delete variable.
129 (tic6x_update_features): Always copy tic6x_arch_enable to
130 tic6x_features.
131 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
132 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
133 (md_pseudo_table): Remove ".atomic" and ".noatomic".
134
135 2011-01-31 Nick Clifton <nickc@redhat.com>
136
137 * write.c (write_contents): Include output file name and bfd error
138 value when reporting the inability to write to the output file.
139 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
140 frag that has a non-zero fill value.
141
142 2011-01-27 DJ Delorie <dj@redhat.com>
143
144 * config/tc-rx.c (md_convert_frag): If we can't compute the target
145 address, zero out the values stored in the object file to make
146 objdump's output consistent.
147
148 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
149
150 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
151 x86_dwarf2_return_column to 32.
152
153 2011-01-20 Nick Clifton <nickc@redhat.com>
154
155 PR gas/12384
156 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
157 comparison.
158
159 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
160
161 * write.c (compress_debug): Return if section size is smaller
162 than 32 bytes.
163
164 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
165
166 PR gas/12409
167 * write.c (compress_debug): Return if section size is 0.
168
169 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
170
171 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
172 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
173 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
174 fmp626} options.
175
176 2011-01-18 Nick Clifton <nickc@redhat.com>
177
178 PR gas/12390
179 * doc/all.texi: Add NS32K
180 * doc/as.texinfo: Remove target specific details of which
181 characters act as comment initiators and statement separators into
182 individual target specific files.
183 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
184 the hash character at the start of a line.
185 * doc/c-arm.texi (ARM-Chars): Likewise.
186 * doc/c-avr.texi (AVR-Chars): Likewise.
187 * doc/c-d10v.texi (D10V-Chars): Likewise.
188 * doc/c-d30v.texi (D30V-Chars): Likewise.
189 * doc/c-mmix.texi (MMIX-Chars): Likewise.
190 * doc/c-s390.texi (s390 characters): Likewise.
191 * doc/c-sh.texi (SH-Chars): Likewise.
192 * doc/c-sh64.texi (SH64-Chars): Likewise.
193 * doc/c-sparc.texi (SPARC-Chars): Likewise.
194 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
195 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
196 * doc/c-z80.texi (Z80-Chars): Likewise.
197 * doc/c-z8k.texi (Z8000-Chars): Likewise.
198 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
199 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
200 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
201 line separator characters.
202 * doc/c-cr16.texi (CR16 Syntax): Likewise.
203 * doc/c-i386.texi (i386-Chars): Likewise.
204 * doc/c-i860.texi (i860-Chars): Likewise.
205 * doc/c-i960.texi (i960-Chars): Likewise.
206 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
207 * doc/c-lm32.texi (LM32-Chars): likewise.
208 * doc/c-m32c.texi (M32C-Chars): Likewise.
209 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
210 * doc/c-m68k.texi (M68K-Chars): Likewise.
211 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
212 * doc/c-msp430.texi (MSP430-Chars): Likewise.
213 * doc/c-mt.texi (MT-Chars): Likewise.
214 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
215 * doc/c-pj.texi (PJ-Chars): Likewise.
216 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
217 * doc/c-rx.texi (RX-Chars): Likewise.
218 * doc/c-score.texi (SCORE-Chars): Likewise.
219 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
220 * doc/c-v850.texi (V850-Chars): Likewise.
221 * doc/c-vax.texi (VAX-Chars): Likewise.
222 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
223
224 2011-01-17 Quentin Neill <quentin.neill@amd.com>
225
226 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
227
228 * doc/c-i386.texi (i386-TBM): New section.
229
230 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
231
232 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
233 (disallow_64bit_reloc): This.
234 (md_assemble): Don't check movabs for x32 mode here.
235 (i386_target_format): Updated.
236 (tc_gen_reloc): Check if 64bit relocations are allowed.
237
238 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
239
240 * config/tc-i386.c (disallow_64bit_disp): New.
241 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
242 X86_64_ABI/X86_64_X32_ABI.
243 (md_assemble): Don't allow movabs with relocation in x32 mode.
244 (i386_target_format): Updated.
245
246 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
247
248 * config/tc-i386.c (OPTION_N32): Renamed to ...
249 (OPTION_X32): This.
250 (md_longopts): Replace n32 with x32.
251 (md_parse_option): Updated.
252 (md_show_usage): Likewise.
253
254 * doc/c-i386.texi: Replace --n32 with --x32.
255
256 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
257
258 * config/tc-mips.c (mips_ip): Update error messages. Take an
259 unadjusted offset for "+c" argument.
260
261 2011-01-10 Nick Clifton <nickc@redhat.com>
262
263 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
264 it.
265
266 2011-01-10 Nick Clifton <nickc@redhat.com>
267
268 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
269 part of the file.
270
271 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
272 Glauber de Oliveira Costa <glommer@gmail.com>
273
274 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
275 .tlsdescseq directive.
276 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
277 following a symbol.
278 (s_arm_tls_descseq): New directive.
279 (md_pseudo_table): Add it.
280 (encode_branch): Allow TLS_CALL relocs too.
281 (do_t_blx, do_t_branch23): Use encode_branch.
282 (reloc_names): Add tlsdesc and tlscall.
283 (md_apply_fix): Process tls desc relocations.
284 (tc_gen_reloc): Likewise.
285 (arm_fix_adjustable): Likewise.
286
287 2011-01-07 Quentin Neill <quentin.neill@amd.com>
288
289 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
290
291 * doc/c-i386.texi (i386-BMI): New section.
292
293 2011-01-06 Paul Koning <ni1d@arrl.net>
294
295 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
296 references to absolute addresses.
297
298 2011-01-05 DJ Delorie <dj@redhat.com>
299
300 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
301 instead of an RH_NEG32 one.
302
303 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
304
305 * doc/c-i386.texi: Clarify --n32.
306
307 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
308
309 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
310 integer registers in VEX.vvvv. Check register-only source
311 operand when two source operands are swapped. Properly update
312 destination when two source operands are swapped.
313
314 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
315
316 * gas.c (parse_args): Update copyright to 2011.
317
318 For older changes see ChangeLog-2010
319 \f
320 Local Variables:
321 mode: change-log
322 left-margin: 8
323 fill-column: 74
324 version-control: never
325 End: