Commit | Line | Data |
---|---|---|
dfeb0666 NC |
1 | 2007-06-05 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | PR gas/4587 | |
4 | * config/tc-sparc.c (sparc_ip): Terminate tls_ops array. | |
5 | ||
353ab861 AM |
6 | 2007-06-05 Alan Modra <amodra@bigpond.net.au> |
7 | ||
8 | * config/tc-spu.c (spu_cons): Use deferred_expression. Handle | |
9 | number@ppu. | |
10 | (tc_gen_reloc): Abort if neither addsy or subsy is set. | |
11 | (md_apply_fix): Don't attempt to resolve SPU_PPU relocs. | |
12 | * config/tc-spu.h (md_operand): Handle @ppu without sym. | |
13 | ||
91568d08 PB |
14 | 2007-05-31 Paul Brook <paul@codesourcery.com> |
15 | ||
16 | * config/tc-arm.c (insns): Allow strex on M profile cores. | |
17 | ||
c699f087 JJ |
18 | 2007-05-29 David S. Miller <davem@davemloft.net> |
19 | Jakub Jelinek <jakub@redhat.com> | |
20 | ||
21 | PR gas/4558 | |
22 | * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks | |
23 | for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19. | |
24 | ||
945370aa AM |
25 | 2007-05-29 Alan Modra <amodra@bigpond.net.au> |
26 | ||
27 | * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros. | |
28 | ||
98027b10 AM |
29 | 2007-05-29 Alan Modra <amodra@bigpond.net.au> |
30 | ||
31 | * config/tc-ppc.c: Convert to ISO C. | |
32 | * config/tc-ppc.c: Likewise. | |
33 | ||
a32b816e AM |
34 | 2007-05-29 Alan Modra <amodra@bigpond.net.au> |
35 | ||
36 | * write.h (EXEC_MACHINE_TYPE): Delete. | |
37 | (string_byte_count, section_alignment): Delete. | |
38 | ||
1740b7b1 NS |
39 | 2007-05-28 Nathan Sidwell <nathan@codesourcery.com> |
40 | ||
41 | * app.c (do_scrub_chars): Cope with \ at end of buffer. | |
42 | ||
a1867a27 AM |
43 | 2007-05-26 Alan Modra <amodra@bigpond.net.au> |
44 | ||
45 | * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in | |
46 | top 32 bits of 64 bit value if so doing results in passing | |
47 | range check. Rewrite sign extension fudges similarly. Enable | |
48 | fudges for powerpc64 too. Report user value if range check | |
49 | fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE | |
50 | range rather than value, also to report user value on failure. | |
51 | ||
efd81785 PB |
52 | 2007-03-25 Paul Brook <paul@codesourcery.com> |
53 | ||
54 | * config/tc-arm.c (T2_SUBS_PC_LR): Define. | |
55 | (do_t_add_sub): Correctly encode subs pc, lr, #const. | |
56 | (do_t_mov_cmp): Correctly encode movs pc, lr. | |
57 | ||
37ad9514 SE |
58 | 2007-05-24 Steve Ellcey <sje@cup.hp.com> |
59 | ||
60 | * Makefile.in: Regnerate. | |
61 | * configure: Regenerate. | |
62 | * aclocal.m4: Regenerate. | |
63 | * doc/Makefile.in: Regenerate. | |
64 | ||
4c8d1ad4 BW |
65 | 2007-05-22 Bob Wilson <bob.wilson@acm.org> |
66 | ||
67 | * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements | |
68 | and index entries about automatic alignment of ENTRY instructions. | |
69 | ||
0e9517a9 NC |
70 | 2007-05-22 Nick Clifton <nickc@redhat.com> |
71 | ||
72 | * doc/as.texinfo: Use @copying around the copyright notice. | |
73 | ||
e6559e01 JM |
74 | 2007-05-18 Joseph Myers <joseph@codesourcery.com> |
75 | ||
76 | * config/tc-mips.c (s_mipsset): Use generic s_set for directives | |
77 | containing a comma. | |
78 | ||
4b7d318b L |
79 | 2007-05-17 H.J. Lu <hongjiu.lu@intel.com> |
80 | ||
81 | PR gas/4517 | |
82 | 2003-06-05 Michal Ludvig <mludvig@suse.cz> | |
5d14452b | 83 | * doc/as.texinfo: Document new directives: .cfi_restore, |
4b7d318b L |
84 | .cfi_undefined, .cfi_same_value, .cfi_return_column, |
85 | .cfi_remember_state and .cfi_restore_state. | |
86 | ||
2b878742 NS |
87 | 2007-05-17 Nathan Sidwell <nathan@codesourcery.com> |
88 | ||
89 | * config/tc-m68k.c (md_apply_fix): Show value of out of range | |
90 | fixups in error message. | |
91 | (md_conver_frag_1): Propagate the fix source location and use | |
92 | as_bad_where rather than fatal, for better error messages. | |
93 | ||
2b744c99 PB |
94 | 2007-05-16 Paul Brook <paul@codesourcery.com> |
95 | ||
96 | * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr. | |
97 | ||
2a676888 MS |
98 | 2007-05-15 Mark Shinwell <shinwell@codesourcery.com> |
99 | ||
100 | * app.c (do_scrub_chars): Don't damage \@ pseudo-variables. | |
101 | ||
1c3f20b4 NC |
102 | 2007-05-15 Vincent Riviere <vincent.riviere@freesbee.fr> |
103 | ||
104 | PR gas/3041 | |
105 | * config/tc-m68k.c (relaxable_symbol): Make sure that the correct | |
106 | addend is stored for relocs against weak symbols. | |
107 | (md_apply_fix): So not loose track of addend for relocs against | |
108 | weak symbols. | |
109 | ||
24471d42 TS |
110 | 2007-05-14 Thiemo Seufer <ths@mips.com> |
111 | ||
112 | * config/tc-mips.c (md_parse_option): Fix parsing of -O option. | |
113 | ||
b0253a53 ML |
114 | 2007-05-14 Mei Ligang <ligang@sunnorth.com.cn> |
115 | ||
24471d42 TS |
116 | * config/tc-score.c (data_op2, validate_immediate): Fix bug for |
117 | addri, addri.c, subi, and subi.c when immediate number is hex. | |
b0253a53 ML |
118 | (score_insns): Remove subis and subis.c. |
119 | (do_sub_rdi16): Delete. | |
120 | ||
ece5ef60 AM |
121 | 2007-05-11 Alan Modra <amodra@bigpond.net.au> |
122 | ||
123 | * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call | |
124 | spu_cons for word. | |
125 | (md_assemble): Tidy use of insn.flag. | |
126 | (get_imm): Likewise. Handle uppercase input too. | |
127 | (spu_cons): New function. | |
128 | * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs. | |
129 | (TC_FORCE_RELOCATION): Don't resolve them either. | |
130 | ||
f9d4405b MS |
131 | 2007-05-05 Mark Shinwell <shinwell@codesourcery.com> |
132 | ||
133 | * config/tc-arm.c (md_apply_fix): Generate more accurate | |
134 | diagnostic when 8-bit immediate range is exceeded for | |
135 | BFD_RELOC_ARM_OFFSET_IMM8. | |
136 | ||
0787a12d AM |
137 | 2007-05-04 Alan Modra <amodra@bigpond.net.au> |
138 | ||
139 | PR gas/4460 | |
140 | * config/tc-i386.c (lex_got): Don't replace the reloc token with | |
141 | a space if we already have a space. | |
142 | ||
20592a94 L |
143 | 2007-05-03 H.J. Lu <hongjiu.lu@intel.com> |
144 | ||
145 | * config/tc-i386.c (match_template): Don't explicitly check | |
146 | suffix for crc32 in Intel mode. | |
147 | (process_suffix): Issue an error for crc32 if the operand size | |
148 | is ambiguous. | |
149 | ||
22184a77 NC |
150 | 2007-05-03 Vincent Riviere <vincent.riviere@freesbee.fr> |
151 | Nick Clifton <nickc@redhat.com> | |
152 | ||
153 | PR gas/3041 | |
154 | * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols. | |
155 | (tc_gen_reloc): Adjust the addend of relocs against weak symbols. | |
156 | (md_apply_fix): Put zero values into the frags referencing weak | |
157 | symbols. | |
158 | ||
3896c469 AM |
159 | 2007-05-02 Alan Modra <amodra@bigpond.net.au> |
160 | ||
161 | PR 4448 | |
162 | * config/tc-ppc.c (ppc_insert_operand): Don't increase min for | |
163 | PPC_OPERAND_PLUS1. | |
164 | ||
9344ff29 L |
165 | 2007-05-01 H.J. Lu <hongjiu.lu@intel.com> |
166 | ||
167 | * config/tc-i386.c (match_template): Check suffix for crc32 in | |
168 | Intel mdoe. | |
169 | (process_suffix): Default the suffix of 8bit crc32 to | |
170 | BYTE_MNEM_SUFFIX. | |
171 | (check_byte_reg): Skip check for 8bit crc32. | |
172 | ||
a540244d L |
173 | 2007-04-30 H.J. Lu <hongjiu.lu@intel.com> |
174 | ||
175 | * config/tc-i386.c (md_assemble): Use register_prefix in | |
176 | error/warning message. | |
177 | (check_byte_reg): Likewise. | |
178 | (check_long_reg): Likewise. | |
179 | (check_qword_reg): Likewise. | |
180 | (check_word_reg): Likewise. | |
181 | (process_operands): Likewise. | |
182 | ||
eb42fac1 AM |
183 | 2007-04-30 Alan Modra <amodra@bigpond.net.au> |
184 | ||
185 | PR 4436 | |
186 | * config/tc-ppc.c (ppc_insert_operand): Disable range check if | |
187 | min > max. | |
188 | ||
02ffd3e4 TS |
189 | 2007-04-28 Thiemo Seufer <ths@networkno.de> |
190 | ||
191 | * config/tc-mips.c: Fix comment. | |
192 | ||
8eb2af8e DC |
193 | 2007-04-26 Anatoly Sokolov <aesok@post.ru> |
194 | ||
195 | * config/tc-avr.c (mcu_types): Add support for atmega8hva and | |
196 | atmega16hva devices. Move at90usb82 device to 'avr5' architecture. | |
197 | * doc/c-avr.texi: Document new devices. | |
198 | ||
6d0f4cb4 AM |
199 | 2007-04-24 Alan Modra <amodra@bigpond.net.au> |
200 | ||
201 | * Makefile.am: Run "make dep-am". | |
202 | * Makefile.in: Regenerate. | |
203 | ||
9a2e615a NS |
204 | 2007-04-23 Nathan Sidwell <nathan@codesourcery.com> |
205 | ||
206 | * config/tc-m68k.c (mcf54455_ctrl): New. | |
207 | (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New. | |
208 | (m68k_archs): Add isac. | |
209 | (m68k_cpus): Add 54455 family. | |
210 | (m68k_ip): Split Bg into Bb, Bs, Bg. | |
211 | (m68k_elf_final_processing): Add ISA_C. | |
212 | * doc/c-m68k.texi (M680x0 Options): Add isac. | |
213 | ||
d2bdaea8 AM |
214 | 2007-04-22 Alan Modra <amodra@bigpond.net.au> |
215 | ||
216 | * read.c (read_a_source_file): Skip multiple spaces to | |
217 | cover hack in mmix md_start_line_hook which overwrites a | |
218 | colon with a space. Delete sermon and needless assertion. | |
219 | ||
541d2ffd AM |
220 | 2007-04-21 Alan Modra <amodra@bigpond.net.au> |
221 | ||
222 | * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned. | |
223 | (md_atof): Make number_of_chars unsigned. Revert last change. | |
224 | * config/tc-or32.c (md_apply_fix): Delete bogus assertions. | |
225 | * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF. | |
226 | * config/tc-sh.h (md_optimize_expr): Likewise. | |
227 | * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus | |
228 | assertion. | |
229 | * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise. | |
230 | ||
c13781b8 NC |
231 | 2007-04-21 Nick Clifton <nickc@redhat.com> |
232 | ||
2523cd0a NC |
233 | * config/atof-vax.c (md_atof): Fix comparison inside know(). |
234 | ||
c13781b8 NC |
235 | * config/tc-ia64.c (emit_one_bundle): Fix typo. |
236 | ||
c43a438d AM |
237 | 2007-04-21 Alan Modra <amodra@bigpond.net.au> |
238 | ||
db557034 AM |
239 | * expr.c (expr): Assert on rankarg, not rank which can be unsigned. |
240 | * read.c (read_a_source_file): Remove buffer_limit[-1] assertion. | |
241 | Don't skip over NUL char. | |
242 | (pseudo_set): Set X_op for registers to O_register. | |
243 | * symbols.c (symbol_clone): Remove assertion that sym is defined. | |
244 | (resolve_symbol_value): Resolve O_register symbols. | |
245 | * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab. | |
246 | Instead find st(0) by hash lookup. | |
247 | * config/tc-ppc.c (ppc_macro): Warning fix. | |
248 | ||
c43a438d AM |
249 | * as.h (ENABLE_CHECKING): Default define to 0. |
250 | (know): Assert if ENABLE_CHECKING. | |
251 | (struct relax_type): Remove superfluous declaration. | |
252 | * configure.in (--enable-checking): New. | |
253 | * configure: Regenerate. | |
254 | * config.in: Regenerate. | |
255 | * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING. | |
256 | Check for duplicate powerpc_operands entries. | |
257 | ||
78336706 NS |
258 | 2007-04-20 Nathan Sidwell <nathan@codesourcery.com> |
259 | ||
d5be9593 NS |
260 | * config/tc-m68k.c (mcf5253_ctrl): New. |
261 | (mcf52223_ctrl): New. | |
262 | (m68k_cpus): Add 5253, 52221, 52223. | |
263 | ||
78336706 NS |
264 | * config/m68k-parse.h (RAMBAR_ALT): New. |
265 | * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New. | |
266 | (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl, | |
267 | mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl, | |
268 | mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl, | |
269 | mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for | |
270 | RAMBAR1. | |
271 | (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT. | |
272 | (m68k_cpus): Adjust 5206, 5206e & 5307 entries. | |
273 | (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it | |
274 | to control register mapping. | |
275 | ||
931774a9 AM |
276 | 2007-04-20 Alan Modra <amodra@bigpond.net.au> |
277 | ||
278 | * messages.c (as_internal_value_out_of_range): Fix typo in | |
279 | error message. Return after printing domain error. | |
280 | * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits | |
281 | in max when shifting right. | |
282 | ||
b84bf58a AM |
283 | 2007-04-20 Alan Modra <amodra@bigpond.net.au> |
284 | ||
285 | * messages.c (as_internal_value_out_of_range): Extend to report | |
286 | errors for values with invalid low bits set. | |
287 | * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm | |
288 | fields. Check that operands and opcode fields are disjoint. | |
289 | (ppc_insert_operand): Check operands using mask rather than bit | |
290 | count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust | |
291 | insertion code. | |
292 | (md_apply_fix): Adjust for struct powerpc_operand change. | |
293 | ||
076d447c PB |
294 | 2007-04-19 Paul Brook <paul@codesourcery.com> |
295 | ||
296 | * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on | |
297 | Thumb-1. Add sanity check for bogus relaxations. | |
298 | ||
16a4cf17 PB |
299 | 2007-04-19 Paul Brook <paul@codesourcery.com> |
300 | ||
301 | * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1. | |
302 | ||
e30daadc AM |
303 | 2007-04-19 Alan Modra <amodra@bigpond.net.au> |
304 | ||
305 | * Makefile.am: Run "make dep-am". | |
306 | * Makefile.in: Regenerate. | |
307 | ||
7a467a28 AM |
308 | 2007-04-19 Nathan Froyd <froydnj@codesourcery.com> |
309 | ||
310 | * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe. | |
311 | ||
d76f7bc1 L |
312 | 2007-04-18 H.J. Lu <hongjiu.lu@intel.com> |
313 | ||
314 | * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4. | |
315 | ||
381d071f L |
316 | 2007-04-18 H.J. Lu <hongjiu.lu@intel.com> |
317 | ||
318 | * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4. | |
319 | (match_template): Handle operand size for crc32 in SSE4.2. | |
320 | (process_suffix): Handle operand type for crc32 in SSE4.2. | |
321 | (output_insn): Support SSE4.2. | |
322 | ||
42903f7f L |
323 | 2007-04-18 H.J. Lu <hongjiu.lu@intel.com> |
324 | ||
325 | * config/tc-i386.c (cpu_arch): Add .sse4.1. | |
326 | (process_operands): Adjust implicit operand for blendvpd, | |
327 | blendvps and pblendvb in SSE4.1. | |
328 | (output_insn): Support SSE4.1. | |
329 | ||
026d3abb PB |
330 | 2007-04-18 Paul Brook <paul@codesourcery.com> |
331 | ||
332 | * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible. | |
333 | ||
91382b56 KK |
334 | 2007-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
335 | ||
336 | * config/tc-sh.c (sh_handle_align): Call as_bad_where instead | |
337 | of as_warn_where for misaligned data. | |
338 | ||
0838d2ac KK |
339 | 2007-04-15 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
340 | ||
341 | * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle | |
342 | rs_fill frags. | |
343 | ||
b7d19ba6 SE |
344 | 2007-04-14 Steve Ellcey <sje@cup.hp.com> |
345 | ||
346 | * Makefile.am: Add ACLOCAL_AMFLAGS. | |
347 | * Makefile.in: Regenerate. | |
348 | ||
0cc34095 KK |
349 | 2007-04-14 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
350 | ||
351 | * config/tc-sh.c (align_test_frag_offset_fixed_p): New. | |
352 | (sh_optimize_expr): Likewise. | |
353 | * config/tc-sh.h (md_optimize_expr): Define. | |
354 | (sh_optimize_expr): Prototype. | |
355 | ||
6f7b6869 MT |
356 | 2007-04-06 Matt Thomas <matt@netbsd.org> |
357 | ||
358 | * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp) | |
359 | to emit pcrel relocations by DWARF2 in non-code sections. Borrowed | |
360 | heavily from tc-sparc.c. (vax_cons_fix_new): Likewise. | |
361 | ||
d0e8669a KH |
362 | 2007-04-04 Kazu Hirata <kazu@codesourcery.com> |
363 | ||
364 | * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a. | |
365 | ||
3b8d421e PB |
366 | 2007-04-04 Paul Brook <paul@codesourcery.com> |
367 | ||
368 | * config/tc-arm.c (do_neon_ext): Enforce immediate range. | |
369 | (insns): Use I15 for vext. | |
370 | ||
9fcfe2ed PB |
371 | 2007-04-04 Paul Brook <paul@codesourcery.com> |
372 | ||
373 | * configure.tgt: Loosen checks for arm uclinux eabi targets. | |
374 | ||
a3582eee BW |
375 | 2007-04-02 Sterling Augustine <sterling@tensilica.com> |
376 | ||
377 | * config/tc-xtensa.c (xtensa_flush_pending_output): Check | |
378 | outputting_stabs_line_debug. | |
379 | ||
7b60f473 DC |
380 | 2007-03-26 Anatoly Sokolov <aesok@post.ru> |
381 | ||
382 | * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82, | |
383 | at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p | |
384 | devices. | |
385 | * doc/c-avr.texi: Document new devices. | |
386 | ||
0c000745 RS |
387 | 2007-04-02 Richard Sandiford <richard@codesourcery.com> |
388 | ||
389 | * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options. | |
390 | * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document. | |
391 | * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic. | |
392 | ||
c3ea6048 BW |
393 | 2007-03-30 Sterling Augustine <sterling@tensilica.com> |
394 | Bob Wilson <bob.wilson@acm.org> | |
395 | ||
396 | * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument. | |
397 | Do not check is_loop_target flag. | |
398 | (xtensa_frob_label): Adjust calls to xtensa_move_labels. | |
399 | (xg_assemble_vliw_tokens): Likewise. Also avoid calling | |
400 | xtensa_move_labels for alignment of loop opcodes. | |
401 | ||
f6bee062 L |
402 | 2007-03-30 H.J. Lu <hongjiu.lu@intel.com> |
403 | ||
404 | * config/tc-i386.c (process_suffix): Reindent a bit. | |
405 | ||
3c707909 PB |
406 | 2007-03-30 Paul Brook <paul@codesourcery.com> |
407 | ||
408 | * config/tc-arm.c (encode_thumb2_ldmstm): New function. | |
409 | (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm. | |
410 | (do_t_push_pop): Use encode_thumb2_ldmstm. | |
411 | ||
144f4bc6 DD |
412 | 2007-03-29 DJ Delorie <dj@redhat.com> |
413 | ||
414 | * config/tc-m32c.c (rl_for, relaxable): Protect argument. | |
415 | (md_relax_table): Add entries for ADJNZ macros. | |
416 | (M32C_Macros): Add ADJNZ macros. | |
417 | (subtype_mappings): Add entries for ADJNZ macros. | |
418 | (insn_to_subtype): Check for adjnz and sbjnz insns. | |
419 | (md_estimate_size_before_relax): Pass insn to insn_to_subtype. | |
420 | (md_convert_frag): Convert adjnz and sbjnz. | |
421 | ||
e5551801 NC |
422 | 2007-03-29 Nick Clifton <nickc@redhat.com> |
423 | ||
424 | * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long | |
425 | initialization. | |
426 | * itbl-ops.h (enum e_processor): Initialise the e_nprocs field | |
427 | using ITBL_NUMBER_OF_PROCESSORS. | |
428 | * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS. | |
429 | ||
e72cf3ec L |
430 | 2007-03-28 H.J. Lu <hongjiu.lu@intel.com> |
431 | ||
432 | * config/tc-i386.c (build_modrm_byte): For instructions with 2 | |
433 | register operands, encode destination in i.rm.regmem if its | |
434 | RegMem bit is set. | |
435 | ||
4ecceb71 RS |
436 | 2007-03-28 Richard Sandiford <richard@codesourcery.com> |
437 | Phil Edwards <phil@codesourcery.com> | |
438 | ||
439 | * doc/as.texinfo: Put the contents after the title page rather | |
440 | than at the end of the document. | |
441 | ||
3f9ce309 AM |
442 | 2007-03-27 Alan Modra <amodra@bigpond.net.au> |
443 | ||
444 | * NEWS: Mention ".reloc". | |
445 | ||
eb6d9dce BW |
446 | 2007-03-26 Sterling Augustine <sterling@tensilica.com> |
447 | ||
448 | * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms | |
449 | in FLIX instructions. | |
450 | ||
c96612cc JB |
451 | 2007-03-26 Julian Brown <julian@codesourcery.com> |
452 | ||
453 | * config/tc-arm.c (arm_it): Add immisfloat field. | |
454 | (parse_qfloat_immediate): Disallow integer syntax for floating-point | |
455 | immediates. Fix hex immediates, handle 0.0 and -0.0 specially. | |
456 | (parse_neon_mov): Set immisfloat bit for operand if it parsed as a | |
457 | float. | |
458 | (neon_cmode_for_move_imm): Reject non-float immediates for float | |
459 | operands. | |
460 | (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm. | |
461 | ||
23753660 JB |
462 | 2007-03-26 Julian Brown <julian@codesourcery.com> |
463 | ||
464 | * doc/c-arm.texi: Add documentation for .dn/.qn directives. | |
465 | ||
05e9452c AM |
466 | 2007-03-26 Alan Modra <amodra@bigpond.net.au> |
467 | ||
468 | * doc/as.texinfo (Reloc): Document. | |
469 | * read.c (potable): Add "reloc". | |
470 | (s_reloc): New function. | |
471 | * write.c (reloc_list): New global var. | |
472 | (resolve_reloc_expr_symbols): New function. | |
473 | (write_object_file): Call it. | |
474 | (write_relocs): Process reloc_list. | |
475 | * write.h (struct reloc_list): New. | |
476 | (reloc_list): Declare. | |
477 | ||
1198ca51 PB |
478 | 2007-03-24 Paul Brook <paul@codesourcery.com> |
479 | ||
480 | * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes. | |
481 | ||
b6702015 PB |
482 | 2007-03-24 Paul Brook <paul@codesourcery.com> |
483 | Mark Shinwell <shinwell@codesourcery.com> | |
484 | ||
485 | * config/tc-arm.c (operand_parse_code): Add OP_oRRw. | |
486 | (parse_operands): Don't expect comma if first operand missing. | |
487 | Handle OP_oRRw. | |
488 | (do_srs): Encode register number, checking it is r13. Update comment. | |
489 | (insns): Update SRS entries to take a register. | |
490 | ||
831480e9 | 491 | 2007-03-23 H.J. Lu <hongjiu.lu@intel.com> |
0003779b L |
492 | |
493 | * config/tc-i386.c (md_begin): Allow '.' in mnemonic. | |
494 | ||
738755b0 MS |
495 | 2007-03-23 Mark Shinwell <shinwell@codesourcery.com> |
496 | ||
35225157 | 497 | * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that |
738755b0 MS |
498 | attempt to jump to the next instruction into NOPs. |
499 | ||
840edabd AM |
500 | 2007-03-23 Alan Modra <amodra@bigpond.net.au> |
501 | ||
502 | * config/tc-spu.c: Don't include opcode/spu.h. | |
503 | (md_assemble): Set tc_fix_data.insn_tag and arg_format. | |
504 | (md_apply_fix): Adjust. | |
505 | * config/tc-spu.h: Include opcode/spu.h. | |
506 | (struct tc_fix_info): New. | |
507 | (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust. | |
508 | (TC_FORCE_RELOCATION): Define. | |
509 | ||
e49e529d JM |
510 | 2007-03-22 Joseph Myers <joseph@codesourcery.com> |
511 | ||
512 | * doc/as.texinfo: Include VERSION_PACKAGE when reporting version. | |
513 | ||
831480e9 | 514 | 2007-03-21 H.J. Lu <hongjiu.lu@intel.com> |
13a1e313 L |
515 | |
516 | * config/tc-i386.c (process_suffix): Check 0x90 instead of | |
517 | xchg for xchg %rax,%rax. | |
518 | ||
831480e9 | 519 | 2007-03-21 H.J. Lu <hongjiu.lu@intel.com> |
161a04f6 L |
520 | |
521 | * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY | |
522 | and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively. | |
523 | ||
831480e9 | 524 | 2007-03-21 H.J. Lu <hongjiu.lu@intel.com> |
8b38ad71 L |
525 | |
526 | PR binutils/4218 | |
527 | * config/tc-i386.c (match_template): Properly handle 64bit mode | |
528 | "xchg %eax, %eax". | |
529 | ||
af1c1010 NC |
530 | 2007-03-21 Anton Ertl <anton@mips.complang.tuw> |
531 | ||
532 | PR gas/4124 | |
533 | * config/tc-alpha.c (emit_ustX): Fix ustq code generation. | |
534 | ||
1d5f2fe9 L |
535 | 2007-03-21 H.J. Lu <hongjiu.lu@intel.com> |
536 | ||
537 | * Makefile.am: Run dep-am. | |
538 | * Makefile.in: Regenerated. | |
539 | ||
540 | * config/tc-i386.c: Don't include "opcodes/i386-opc.h". | |
541 | ||
542 | * config/tc-i386.h: Include "opcodes/i386-opc.h". | |
543 | (NOP_OPCODE): Removed. | |
544 | (template): Likewise. | |
545 | ||
5ac8f2a2 AS |
546 | 2007-03-21 Andreas Schwab <schwab@suse.de> |
547 | ||
548 | * config/tc-i386.h (NOP_OPCODE): Restore. | |
549 | ||
8fb9d7b9 MS |
550 | 2007-03-18 Mark Shinwell <shinwell@codesourcery.com> |
551 | ||
552 | * config/tc-arm.c (do_mul): Don't warn about overlapping | |
553 | Rd and Rm operands when assembling for v6 or above. | |
554 | Correctly capitalize register names in the messages. | |
555 | (do_mlas): Likewise. Delete spurious blank line. | |
556 | ||
b3768379 KH |
557 | 2007-03-16 Kazu Hirata <kazu@codesourcery.com> |
558 | ||
559 | * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa. | |
560 | ||
c3fe08fa L |
561 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
562 | ||
563 | * config/tc-i386.c (md_begin): Use i386_regtab_size to scan | |
564 | i386_regtab. | |
565 | (parse_register): Use i386_regtab_size instead of ARRAY_SIZE | |
566 | on i386_regtab. | |
567 | ||
4061927e L |
568 | 2007-03-15 Alexandre Oliva <aoliva@redhat.com> |
569 | ||
570 | PR gas/4184 | |
571 | * app.c (do_scrub_chars): PUT after setting states. | |
572 | ||
0b1cf022 L |
573 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
574 | ||
575 | * Makefile.am: Run "make dep-am". | |
576 | * Makefile.in: Regenerated. | |
577 | ||
578 | * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of | |
579 | "opcode/i386.h". | |
580 | (md_begin): Check reg_name != NULL for the last entry in | |
581 | i386_regtab. | |
582 | ||
583 | * config/tc-i386.h: Move many entries to opcode/i386.h and | |
584 | opcodes/i386-opc.h. | |
585 | ||
586 | * configure.in (need_opcodes): Set true for i386. | |
587 | * configure: Regenerated. | |
588 | ||
c428fa83 L |
589 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
590 | ||
591 | * Makefile.am (REPORT_BUGS_TO): Removed. | |
592 | (INCLUDES): Remove -DREPORT_BUGS_TO. | |
593 | * Makefile.in: Regenerated. | |
594 | ||
595 | * configure.in (--with-bugurl): Removed. | |
596 | * configure: Regenerated. | |
597 | ||
598 | * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi. | |
599 | (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. | |
600 | (TEXI2DVI): Likewise. | |
601 | (gasver.texi): Removed. | |
602 | (MOSTLYCLEANFILES): Remove gasver.texi. | |
603 | (as.1): Don't depend on gasver.texi. | |
604 | * doc/Makefile.in: Regenerated. | |
605 | ||
606 | * doc/as.texi: Include bfdver.texi instead of gasver.texi. | |
607 | ||
794ba86a DJ |
608 | 2007-03-14 Daniel Jacobowitz <dan@codesourcery.com> |
609 | ||
610 | * config/tc-arm.c (arm_copy_symbol_attributes): New. | |
611 | * config/tc-arm.h (arm_copy_symbol_attributes): Declare. | |
612 | (TC_COPY_SYMBOL_ATTRIBUTES): Define. | |
613 | * gas/symbols.c (copy_symbol_attributes): Use | |
614 | TC_COPY_SYMBOL_ATTRIBUTES. | |
615 | ||
155257ea PB |
616 | 2007-03-14 Paul Brook <paul@codesourcery.com> |
617 | ||
618 | * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding. | |
619 | ||
d1c5f158 AM |
620 | 2007-03-14 Alan Modra <amodra@bigpond.net.au> |
621 | ||
622 | PR 4029 | |
623 | * write.c (relax_segment): Insert extra alignment padding | |
624 | to break infinite relax loop when given impossible | |
625 | gcc_except_table assembly. | |
626 | ||
8a2ed489 L |
627 | 2007-03-12 H.J. Lu <hongjiu.lu@intel.com> |
628 | ||
629 | * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX | |
630 | on i.tm.base_opcode. | |
631 | (match_template): Likewise. | |
632 | (process_operands): Use ~0x3 mask to match MOV_AX_DISP32. | |
633 | ||
634 | * config/tc-i386.h (Opcode_D): New. | |
635 | (Opcode_FloatR): Likewise. | |
636 | (Opcode_FloatD): Likewise. | |
637 | (D): Redefined. | |
638 | (W): Likewise. | |
639 | (FloatMF): Likewise. | |
640 | (FloatR): Likewise. | |
641 | (FloatD): Likewise. | |
642 | ||
e9fc6c21 AO |
643 | 2007-03-09 Alexandre Oliva <aoliva@redhat.com> |
644 | ||
645 | * app.c (do_scrub_chars): Recognize comments after # line "file". | |
646 | * read.c (get_linefile_number): New. | |
647 | (s_app_line): Accept ill-formed .linefile lines as comments. | |
648 | ||
b1b7d09b AM |
649 | 2007-03-09 Alan Modra <amodra@bigpond.net.au> |
650 | ||
651 | * config/tc-i386.h (WORKING_DOT_WORD): Define. | |
652 | ||
93e914b2 AO |
653 | 2007-03-09 Alexandre Oliva <aoliva@redhat.com> |
654 | ||
655 | * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile. | |
656 | * as.h (new_logical_line_flags): New. | |
657 | * input-scrub.c (new_logical_line): Turned into wrapper for... | |
658 | (new_logical_line_flags): this. Handle flags. | |
659 | * read.c (potable): Add linefile. Adjust appline argument. | |
660 | (s_app_file): Fake .appfiles no more. | |
661 | (s_app_line): For .linefile, accept file name and flags. | |
662 | ||
6f12865c AM |
663 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
664 | ||
665 | * symbols.c (symbol_relc_make_sym): Comment typo fixes. | |
666 | ||
a6d04ec4 AM |
667 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
668 | ||
669 | * Makefile.am: Run "make dep-am". | |
670 | * Makefile.in: Regenerate. | |
671 | * po/POTFILES.in: Regenerate. | |
672 | ||
ad22bfe8 JM |
673 | 2007-03-07 Joseph Myers <joseph@codesourcery.com> |
674 | ||
675 | * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of | |
676 | bug-reporting URL. | |
677 | * doc/Makefile.am (gasver.texi): Define BUGURL. | |
678 | * doc/as.texinfo: Use BUGURL. | |
679 | * Makefile.in, configure, doc/Makefile.in: Regenerate. | |
680 | ||
b5639b37 MS |
681 | 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> |
682 | ||
683 | * config/tc-s390.c (md_parse_option): z9-ec option added. | |
684 | ||
5e77afaa PB |
685 | 2007-03-02 Paul Brook <paul@codesourcery.com> |
686 | ||
687 | * config/tc-arm.c (relax_immediate): Always return positive values. | |
688 | (relaxed_symbol_addr): New function. | |
689 | (relax_adr, relax_branch): Use it. | |
690 | (arm_relax_frag): Pass strect argument. Adjust infinite loop check. | |
691 | ||
066c2a57 JM |
692 | 2007-03-01 Joseph Myers <joseph@codesourcery.com> |
693 | ||
694 | * as.c (parse_args): Update copyright date. | |
695 | ||
ed6ba298 NS |
696 | 2007-02-28 Nathan Sidwell <nathan@codesourcery.com> |
697 | ||
698 | * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf. | |
699 | ||
870074dd NC |
700 | 2007-02-28 Nick Clifton <nickc@redhat.com> |
701 | ||
c5d07591 NC |
702 | PR gas/3797 |
703 | * config/tc-d10v.c (do_assemble): Do not generate error messages, | |
704 | just return -1 whenever a problem is encountered. | |
705 | (md_assemble): If do_assemble returns -1 generate a non-fatal | |
706 | error message and return. | |
707 | ||
870074dd NC |
708 | PR gas/2623 |
709 | * config/tc-msp430.c (line_separator_char): Change to '{'. | |
710 | ||
fd99afa7 AM |
711 | 2007-02-27 Alan Modra <amodra@bigpond.net.au> |
712 | ||
713 | * config/tc-m68hc11.c (fixup24): Correct fixup size. | |
714 | (build_jump_insn): Likewise. | |
715 | (build_insn): Likewise. | |
716 | (s_m68hc11_relax): Likewise. | |
717 | ||
07cb2078 AM |
718 | 2007-02-27 Alan Modra <amodra@bigpond.net.au> |
719 | ||
720 | * config/obj-elf.c (elf_frob_file): frag_wane any new frags. | |
721 | ||
22b5b651 MS |
722 | 2007-02-25 Mark Shinwell <shinwell@codesourcery.com> |
723 | ||
724 | * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad. | |
725 | ||
acb02403 AM |
726 | 2007-02-23 Alan Modra <amodra@bigpond.net.au> |
727 | ||
728 | * config/tc-mn10300.c (md_convert_frag): Correct fixup size. | |
729 | (md_assemble): Likewise. | |
730 | ||
e5435dec AM |
731 | 2007-02-22 Alan Modra <amodra@bigpond.net.au> |
732 | ||
733 | * write.c (size_seg): Always clear SEC_RELOC here. | |
734 | (install_reloc): New function, extracted from.. | |
735 | (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code | |
736 | with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when | |
737 | testing frag size. Set SEC_RELOC here. | |
738 | ||
a1836728 AM |
739 | 2007-02-21 Alan Modra <amodra@bigpond.net.au> |
740 | ||
741 | PR 4082 | |
742 | * config/tc-avr.h (TC_FX_SIZE_SLACK): Define. | |
743 | ||
f281862d TS |
744 | 2007-02-20 Thiemo Seufer <ths@mips.com> |
745 | ||
746 | * doc/c-mips.texi: Document 74kc, 74kf, 74kx. | |
747 | ||
01fd108f TS |
748 | 2007-02-20 Thiemo Seufer <ths@mips.com> |
749 | ||
750 | * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations. | |
751 | ||
8b082fb1 TS |
752 | 2007-02-20 Thiemo Seufer <ths@mips.com> |
753 | Chao-Ying Fu <fu@mips.com> | |
754 | ||
755 | * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2, | |
756 | ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support. | |
757 | (macro_build): Add case '2'. | |
758 | (macro): Expand M_BALIGN to nop, packrl.ph or balign. | |
759 | (validate_mips_insn): Add support for balign instruction. | |
760 | (mips_ip): Handle DSP R2 instructions. Support balign instruction. | |
761 | (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE, | |
762 | md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2 | |
763 | command line options. | |
764 | (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives. | |
765 | (md_show_usage): Add -mdspr2 and -mno-dspr2 help output. | |
766 | * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2, | |
767 | .set dspr2, .set nodspr2. | |
768 | ||
96e0bbcc NS |
769 | 2007-02-20 Nathan Sidwell <nathan@codesourcery.com> |
770 | ||
771 | * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New. | |
772 | (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225. | |
773 | ||
d31f0f6d AM |
774 | 2007-02-18 Alan Modra <amodra@bigpond.net.au> |
775 | ||
776 | * write.c (TC_FX_SIZE_SLACK): Define. | |
777 | (write_relocs): Reinstate check for fixup within frag. | |
778 | * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define. | |
779 | * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define. | |
780 | * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define. | |
781 | * config/tc-sh.h (TC_FX_SIZE_SLACK): Define. | |
782 | * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define. | |
783 | ||
92f01d61 JM |
784 | 2007-02-17 Mark Mitchell <mark@codesourcery.com> |
785 | Nathan Sidwell <nathan@codesourcery.com> | |
786 | Vladimir Prus <vladimir@codesourcery.com | |
787 | Joseph Myers <joseph@codesourcery.com> | |
788 | ||
789 | * configure.in (--with-bugurl): New option. | |
790 | * configure: Regenerate. | |
791 | * dep-in.sed: Remove bin-bugs.h. | |
792 | * Makefile.am (REPORT_BUGS_TO): Define. | |
793 | (INCLUDES): Define REPORT_BUGS_TO. | |
794 | (DEP_INCLUDES): Likewise. | |
795 | ($(OBJS)): No longer depend on bin-bugs.h. | |
796 | * Makefile.in: Regenerate. | |
797 | * doc/Makefile.in: Regenerate. | |
798 | * as.c (show_usage): Don't print empty REPORT_BUGS_TO. | |
799 | * as.h: Remove include of bin-bugs.h. | |
800 | ||
b4b24b79 AM |
801 | 2007-02-17 Alan Modra <amodra@bigpond.net.au> |
802 | ||
803 | * write.c: White space fixes. | |
804 | (fixup_segment): Move symbol_mri_common_p adjustments.. | |
805 | (write_relocs): ..and symbol_equated_reloc_p adjustments.. | |
806 | (adjust_reloc_syms): ..to here. | |
807 | ||
e7ff5c73 AM |
808 | 2007-02-16 Alan Modra <amodra@bigpond.net.au> |
809 | ||
810 | * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than | |
811 | xmalloc, memset. Don't bother assigning NULL to known zero mem. | |
812 | (subseg_set_rest): Remove unnecessary cast. | |
813 | * write.c: Include libbfd.h. Replace PTR with void * throughout. | |
814 | Remove unnecessary forward declarations and casts. | |
815 | (set_symtab): Delete extern bfd_alloc. | |
816 | (fixup_segment): Move. | |
817 | ||
a8e24a56 NS |
818 | 2007-02-15 Nathan Sidwell <nathan@codesourcery.com> |
819 | ||
820 | * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID. | |
821 | * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names. | |
822 | (mcf5475_ctrl, mcf5485_ctrl): New. | |
823 | (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families. | |
824 | (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling. | |
825 | (init_table): Add asid, mmubar, adjust rombar0. | |
826 | ||
4eed87de AM |
827 | 2007-02-14 Alan Modra <amodra@bigpond.net.au> |
828 | ||
829 | * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete. | |
830 | * config/tc-i386.c: Wrap overly long lines, whitespace fixes. | |
831 | (process_operands): Move old Seg2ShortForm and Seg3ShortForm | |
832 | code, and test for these insns using a combination of | |
833 | opcode_modifier and operand_types. | |
834 | ||
7bd1c961 PB |
835 | 2007-02-07 Paul Brook <paul@codesourcery.com> |
836 | ||
5c817587 | 837 | * configure.tgt: Add arm*-*-uclinux-*eabi. |
7bd1c961 | 838 | |
280d71bf | 839 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
4948f0d4 DB |
840 | Richard Sandiford <rsandifo@redhat.com> |
841 | DJ Delorie <dj@redhat.com> | |
842 | Stan Cox <scox@redhat.com> | |
843 | Jim Blandy <jimb@redhat.com> | |
844 | Nick Clifton <nickc@redhat.com> | |
845 | Jim Wilson <wilson@redhat.com> | |
846 | Frank Ch. Eigler <fche@redhat.com> | |
847 | Graydon Hoare <graydon@redhat.com> | |
848 | Ben Elliston <bje@redhat.com> | |
849 | John Healy <jhealy@redhat.com> | |
850 | Richard Henderson <rth@redhat.com> | |
851 | ||
852 | * Makefile.am (CPU_TYPES): Add mep. | |
853 | (TARGET_CPU_CFILES): Add tc-mep.c. | |
854 | (TARGET_CPU_HFILES): Add tc-mep.h. | |
855 | (DEPTC_mep_elf): New variable. | |
856 | (DEPTC_mep_coff): Likewise. | |
857 | (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise. | |
858 | * configure.in: Support mep. | |
859 | * configure.tgt: Likewise. | |
860 | * config/tc-mep.c: New file. | |
280d71bf DB |
861 | * config/obj-elf.c: New file. |
862 | * config/tc-mep.c: New file. | |
863 | * config/tc-mep.h: New file. | |
864 | * testsuite/gas/mep: New testsuite with content. | |
865 | * Makefile.in: Regenerate. | |
866 | * configure: Regenerate. | |
867 | ||
868 | 2007-02-05 Dave Brolley <brolley@redhat.com> | |
869 | ||
870 | * cgen.c (gas_cgen_install_complex_reloc): Removed. | |
871 | (complex_reloc_installation_howto): Removed. | |
872 | ||
873 | 2007-02-05 Dave Brolley <brolley@redhat.com> | |
4948f0d4 DB |
874 | Graydon Hoare <graydon@redhat.com> |
875 | DJ Delorie <dj@redhat.com> | |
876 | Catherine Moore <clm@redhat.com> | |
877 | Michael Chastain <chastain@redhat.com> | |
878 | Frank Ch. Eigler <fche@redhat.com> | |
280d71bf DB |
879 | |
880 | * symbols.c (use_complex_relocs_for): New, to decide | |
4948f0d4 DB |
881 | when to use complex relocs. Add signed RELC support. |
882 | (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally | |
883 | encode expression symbols as mangled complex relocation symbols (when | |
884 | compiled with -DOBJ_COMPLEX_RELOC). | |
885 | (symbol_relc_make_sym,value,expr): New traversal/conversion routines. | |
886 | * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call | |
887 | encode_addend with new args. Modify to get start, length from | |
888 | ifield whenever it is set. Also change condition on which | |
889 | self-describing relocs are encoded. Add hook into | |
890 | gas_cgen_encode_addend. | |
891 | (queue_fixup_recursively): Add signed RELC support. Change from masked | |
892 | expr to trunc flag. Restore assignment of sub-field value to | |
893 | temporary in fixups array. Reflect changed meaning of last arg to | |
280d71bf | 894 | queue_fixup_recursively. |
4948f0d4 | 895 | (fixup): Add cgen_maybe_multi_ifield member. |
280d71bf DB |
896 | (make_right_shifted_expr): New function. |
897 | (queue_fixup): Change to recursive function that fragments | |
898 | fixups if operand has a multi-ifield. | |
899 | (gas_cgen_parse_operand): Add RELC code to wrap expressions in | |
900 | symbols, call weak_operand_overflow_check, and fragment call | |
901 | queue_fixup with operand fields. | |
902 | (gas_cgen_finish_insn) Modify to manage ifield pointer. | |
280d71bf DB |
903 | (weak_operand_overflow_check): New function to try to select |
904 | insns correctly. | |
4948f0d4 | 905 | (gas_cgen_encode_addend): New function for relc. |
280d71bf | 906 | (gas_cgen_install_complex_reloc): Likewise. |
280d71bf | 907 | (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc. |
4948f0d4 DB |
908 | * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add |
909 | cgen_maybe_multi_ifield field to fx_cgen substructure. | |
910 | * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32. | |
911 | * symbols.h (symbol_relc_make_sym,value,expr): New prototypes. | |
912 | ||
e110eeb7 DD |
913 | 2007-02-03 DJ Delorie <dj@delorie.com> |
914 | ||
915 | * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3 | |
916 | byte relocs. | |
917 | * config/tc-m32c.h (TC_CONS_FIX_NEW): Define. | |
918 | (m32c_cons_fix_new): Prototype. | |
919 | ||
60242db2 BW |
920 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
921 | ||
922 | * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init. | |
923 | (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise. | |
924 | ||
bbdd25a8 BW |
925 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
926 | ||
927 | * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New. | |
928 | (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table. | |
929 | (map_suffix_reloc_to_operator): New. | |
930 | (map_operator_to_reloc): New. | |
931 | (expression_maybe_register): Fix incorrect test of return value from | |
932 | xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator. | |
933 | (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc. | |
934 | ||
9c874773 BW |
935 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
936 | ||
937 | * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field. | |
938 | (tinsn_get_tok): Delete prototype. | |
939 | * config/tc-xtensa.c (tinsn_get_tok): Delete. | |
940 | ||
61376837 BW |
941 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
942 | ||
943 | * config/xtensa-relax.h (struct build_instr): Delete id field. | |
944 | * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL | |
945 | and LABEL tokens. | |
946 | (append_literal_op, append_label_op): Remove litnum/labnum arguments; | |
947 | set op_data fields to zero. | |
948 | (parse_id_constant): Delete. | |
949 | (build_transition): Remove code to handle numbered literals and labels. | |
950 | ||
bc447904 BW |
951 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
952 | ||
953 | * config/xtensa-relax.c (build_transition): Remove code after as_fatal. | |
954 | (build_transition_table): Likewise. | |
955 | ||
63a7429b BW |
956 | 2007-02-01 Bob Wilson <bob.wilson@acm.org> |
957 | ||
958 | * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of | |
959 | fx_tcbit. | |
960 | * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove. | |
961 | ||
20ee54e8 AM |
962 | 2007-02-02 Alan Modra <amodra@bigpond.net.au> |
963 | ||
964 | * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move. | |
965 | (struct fix <fx_plt>): Rename to tcbit2. | |
966 | * write.c (fix_new_internal): Adjust. | |
967 | (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. | |
968 | * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
969 | * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
970 | * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
971 | * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
972 | * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
973 | * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
974 | * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
975 | * config/tc-msp430.c (msp430_force_relocation_local): Likewise. | |
976 | * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt. | |
977 | * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. | |
978 | Instead, compare fx_r_type. | |
979 | * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use | |
980 | fx_tcbit in place of fx_plt. | |
981 | * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define. | |
982 | * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference | |
983 | to fx_plt. | |
984 | ||
bf083c64 NC |
985 | 2007-01-30 Nick Clifton <nickc@redhat.com> |
986 | ||
987 | * as.c (main): Mark symbols created via the --defsym command line | |
988 | option as volatile so that they can be overridden later on by a | |
989 | .set directive. This maintains compatibility with the behaviour | |
990 | of earlier versions of the assembler. | |
991 | * doc/as.texinfo (--defsym): Document that the defined symbol's | |
992 | value can be overridden via a .set directive. | |
993 | ||
fc523535 | 994 | 2007-01-28 H.J. Lu <hongjiu.lu@intel.com> |
4d456e3d L |
995 | |
996 | * config/tc-i386.c (swap_imm_operands): Renamed to ... | |
997 | (swap_2_operands): This. Take 2 ints. | |
998 | (md_assemble): Updated. | |
999 | (swap_operands): Call swap_2_operands to swap 2 operands. | |
1000 | ||
7bc4c13c DD |
1001 | 2007-01-24 DJ Delorie <dj@redhat.com> |
1002 | ||
1003 | * config/tc-m32c.c (md_pseudo_table): Add .3byte. | |
1004 | ||
48903831 NC |
1005 | 2007-01-22 Nick Clifton <nickc@redhat.com> |
1006 | ||
07302d31 | 1007 | PR gas/3871 |
48903831 NC |
1008 | * tc-score.c: Remove unnecessary uses of _(). |
1009 | Make the err_msg[] a file level local array in order to save | |
1010 | storage space. | |
1011 | Remove unnecessary sprintf()s. | |
1012 | ||
14119072 ML |
1013 | 2007-01-18 Mei Ligang <ligang@sunnorth.com.cn> |
1014 | ||
07302d31 | 1015 | PR gas/3871 |
14119072 ML |
1016 | * config/tc-score.c : Using _() for const string. |
1017 | Do not assign inst.error with a local string pointer. | |
1018 | (md_section_align): Pad section. | |
1019 | ||
99018f42 L |
1020 | 2007-01-13 H.J. Lu <hongjiu.lu@intel.com> |
1021 | ||
1022 | * config/tc-i386.c (build_modrm_byte): Check number of operands | |
1023 | when procssing memory/register operand. | |
1024 | ||
465e5617 NC |
1025 | 2007-01-12 Nick Clifton <nickc@redhat.com> |
1026 | ||
1027 | PR gas/3856 | |
1028 | * macro.c (expand_irp): Do not ignore spaces inside quoted | |
1029 | strings. | |
1030 | ||
e8630bd7 AM |
1031 | 2007-01-12 Alan Modra <amodra@bigpond.net.au> |
1032 | ||
1033 | * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. | |
1034 | * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. | |
1035 | * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. | |
1036 | (TC_FORCE_RELOCATION): Define. | |
1037 | (TC_FORCE_RELOCATION_LOCAL): Define. | |
1038 | * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust. | |
1039 | ||
1f5409bb AM |
1040 | 2007-01-12 Alan Modra <amodra@bigpond.net.au> |
1041 | ||
1042 | * input-file.c (input_file_open): Check fgets return. | |
1043 | ||
dc4503c6 PB |
1044 | 2007-01-11 Paul Brook <paul@codesourcery.com> |
1045 | ||
1046 | * config/tc-arm.c (do_t_add_sub): Use Rd and Rs. | |
1047 | ||
04f8d83b NC |
1048 | 2007-01-11 Nick Clifton <nickc@redhat.com> |
1049 | ||
493cb6ef NC |
1050 | PR gas/3707 |
1051 | * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt | |
1052 | variable. | |
1053 | ||
04f8d83b NC |
1054 | * config/tc-mcore.c (md_number_to_chars): Use |
1055 | number_to_chars_{big|little}endian. | |
1056 | ||
3bdcfdf4 KH |
1057 | 2007-01-08 Kazu Hirata <kazu@codesourcery.com> |
1058 | ||
1059 | * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an | |
1060 | architecture by itself. | |
1061 | (m68k_ip): Don't issue a warning for tbl instructions on fido. | |
1062 | (m68k_elf_final_processing): Treat Fido as an architecture by | |
1063 | itself. | |
1064 | ||
42037fe5 NC |
1065 | 2007-01-08 Kai Tietz <kai.tietz@onevision.com> |
1066 | ||
1067 | * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw* | |
1068 | ||
e4a3b5a4 L |
1069 | 2007-01-05 H.J. Lu <hongjiu.lu@intel.com> |
1070 | ||
1071 | * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax | |
1072 | depending on allow_naked_reg. | |
1073 | ||
a028a6f5 PB |
1074 | 2007-01-04 Paul Brook <paul@codesourcery.com> |
1075 | ||
1076 | * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form. | |
1077 | ||
2ca3ace5 L |
1078 | 2007-01-04 H.J. Lu <hongjiu.lu@intel.com> |
1079 | ||
44f9b8ac | 1080 | PR gas/3830 |
2ca3ace5 L |
1081 | * config/tc-i386.c (register_prefix): New. |
1082 | (set_intel_syntax): Set set_intel_syntax to "" if register | |
2221f452 | 1083 | prefix isn't needed. |
2ca3ace5 L |
1084 | (check_byte_reg): Use register_prefix for error message. |
1085 | (check_long_reg): Likewise. | |
1086 | (check_qword_reg): Likewise. | |
1087 | (check_word_reg): Likewise. | |
1088 | ||
627907b7 JB |
1089 | 2006-01-04 Julian Brown <julian@codesourcery.com> |
1090 | ||
1091 | * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM. | |
1092 | (do_neon_qshl_imm): Likewise. | |
1093 | (do_neon_rshl): New function. Handle rounding variants of | |
1094 | v{q}shl-by-register. | |
1095 | (insns): Use do_neon_rshl for vrshl, vqrshl. | |
1096 | ||
92559b5b PB |
1097 | 2007-01-04 Paul Brook <paul@codesourcery.com> |
1098 | ||
1099 | * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt | |
1100 | and vacle. | |
1101 | ||
2ca3ace5 L |
1102 | 2007-01-03 H.J. Lu <hongjiu.lu@intel.com> |
1103 | ||
1104 | * config/tc-i386.c (swap_operands): Remove branches. | |
1105 | ||
4dc85607 L |
1106 | 2007-01-03 H.J. Lu <hongjiu.lu@intel.com> |
1107 | ||
1108 | * config/tc-i386.c: Update copyright year. | |
1109 | * config/tc-i386.h: Likewise. | |
1110 | ||
1509aa9a L |
1111 | 2007-01-03 H.J. Lu <hongjiu.lu@intel.com> |
1112 | ||
1113 | * config/tc-i386.c (smallest_imm_type): Return unsigned int | |
1114 | instead of int. | |
1115 | ||
e3bb37b5 L |
1116 | 2007-01-03 H.J. Lu <hongjiu.lu@intel.com> |
1117 | ||
1118 | * config/tc-i386.c: Convert to ISO C90 formatting | |
1119 | * config/tc-i386.h: Likewise. | |
1120 | ||
d821e36b DD |
1121 | 2007-01-03 David Daney <ddaney@avtrex.com> |
1122 | ||
1123 | * config/tc-mips.c (md_show_usage): Clean up -mno-shared | |
1124 | documentation. | |
1125 | ||
44021fe5 | 1126 | For older changes see ChangeLog-2006 |
08d56133 NC |
1127 | \f |
1128 | Local Variables: | |
1129 | mode: change-log | |
1130 | left-margin: 8 | |
1131 | fill-column: 74 | |
1132 | version-control: never | |
1133 | End: |