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