Commit | Line | Data |
---|---|---|
05e9452c AM |
1 | 2007-03-26 Alan Modra <amodra@bigpond.net.au> |
2 | ||
3 | * doc/as.texinfo (Reloc): Document. | |
4 | * read.c (potable): Add "reloc". | |
5 | (s_reloc): New function. | |
6 | * write.c (reloc_list): New global var. | |
7 | (resolve_reloc_expr_symbols): New function. | |
8 | (write_object_file): Call it. | |
9 | (write_relocs): Process reloc_list. | |
10 | * write.h (struct reloc_list): New. | |
11 | (reloc_list): Declare. | |
12 | ||
1198ca51 PB |
13 | 2007-03-24 Paul Brook <paul@codesourcery.com> |
14 | ||
15 | * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes. | |
16 | ||
b6702015 PB |
17 | 2007-03-24 Paul Brook <paul@codesourcery.com> |
18 | Mark Shinwell <shinwell@codesourcery.com> | |
19 | ||
20 | * config/tc-arm.c (operand_parse_code): Add OP_oRRw. | |
21 | (parse_operands): Don't expect comma if first operand missing. | |
22 | Handle OP_oRRw. | |
23 | (do_srs): Encode register number, checking it is r13. Update comment. | |
24 | (insns): Update SRS entries to take a register. | |
25 | ||
0003779b L |
26 | 2003-03-23 H.J. Lu <hongjiu.lu@intel.com> |
27 | ||
28 | * config/tc-i386.c (md_begin): Allow '.' in mnemonic. | |
29 | ||
738755b0 MS |
30 | 2007-03-23 Mark Shinwell <shinwell@codesourcery.com> |
31 | ||
35225157 | 32 | * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that |
738755b0 MS |
33 | attempt to jump to the next instruction into NOPs. |
34 | ||
840edabd AM |
35 | 2007-03-23 Alan Modra <amodra@bigpond.net.au> |
36 | ||
37 | * config/tc-spu.c: Don't include opcode/spu.h. | |
38 | (md_assemble): Set tc_fix_data.insn_tag and arg_format. | |
39 | (md_apply_fix): Adjust. | |
40 | * config/tc-spu.h: Include opcode/spu.h. | |
41 | (struct tc_fix_info): New. | |
42 | (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust. | |
43 | (TC_FORCE_RELOCATION): Define. | |
44 | ||
e49e529d JM |
45 | 2007-03-22 Joseph Myers <joseph@codesourcery.com> |
46 | ||
47 | * doc/as.texinfo: Include VERSION_PACKAGE when reporting version. | |
48 | ||
13a1e313 L |
49 | 2003-03-21 H.J. Lu <hongjiu.lu@intel.com> |
50 | ||
51 | * config/tc-i386.c (process_suffix): Check 0x90 instead of | |
52 | xchg for xchg %rax,%rax. | |
53 | ||
161a04f6 L |
54 | 2003-03-21 H.J. Lu <hongjiu.lu@intel.com> |
55 | ||
56 | * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY | |
57 | and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively. | |
58 | ||
8b38ad71 L |
59 | 2003-03-21 H.J. Lu <hongjiu.lu@intel.com> |
60 | ||
61 | PR binutils/4218 | |
62 | * config/tc-i386.c (match_template): Properly handle 64bit mode | |
63 | "xchg %eax, %eax". | |
64 | ||
af1c1010 NC |
65 | 2007-03-21 Anton Ertl <anton@mips.complang.tuw> |
66 | ||
67 | PR gas/4124 | |
68 | * config/tc-alpha.c (emit_ustX): Fix ustq code generation. | |
69 | ||
1d5f2fe9 L |
70 | 2007-03-21 H.J. Lu <hongjiu.lu@intel.com> |
71 | ||
72 | * Makefile.am: Run dep-am. | |
73 | * Makefile.in: Regenerated. | |
74 | ||
75 | * config/tc-i386.c: Don't include "opcodes/i386-opc.h". | |
76 | ||
77 | * config/tc-i386.h: Include "opcodes/i386-opc.h". | |
78 | (NOP_OPCODE): Removed. | |
79 | (template): Likewise. | |
80 | ||
5ac8f2a2 AS |
81 | 2007-03-21 Andreas Schwab <schwab@suse.de> |
82 | ||
83 | * config/tc-i386.h (NOP_OPCODE): Restore. | |
84 | ||
8fb9d7b9 MS |
85 | 2007-03-18 Mark Shinwell <shinwell@codesourcery.com> |
86 | ||
87 | * config/tc-arm.c (do_mul): Don't warn about overlapping | |
88 | Rd and Rm operands when assembling for v6 or above. | |
89 | Correctly capitalize register names in the messages. | |
90 | (do_mlas): Likewise. Delete spurious blank line. | |
91 | ||
b3768379 KH |
92 | 2007-03-16 Kazu Hirata <kazu@codesourcery.com> |
93 | ||
94 | * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa. | |
95 | ||
c3fe08fa L |
96 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
97 | ||
98 | * config/tc-i386.c (md_begin): Use i386_regtab_size to scan | |
99 | i386_regtab. | |
100 | (parse_register): Use i386_regtab_size instead of ARRAY_SIZE | |
101 | on i386_regtab. | |
102 | ||
4061927e L |
103 | 2007-03-15 Alexandre Oliva <aoliva@redhat.com> |
104 | ||
105 | PR gas/4184 | |
106 | * app.c (do_scrub_chars): PUT after setting states. | |
107 | ||
0b1cf022 L |
108 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
109 | ||
110 | * Makefile.am: Run "make dep-am". | |
111 | * Makefile.in: Regenerated. | |
112 | ||
113 | * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of | |
114 | "opcode/i386.h". | |
115 | (md_begin): Check reg_name != NULL for the last entry in | |
116 | i386_regtab. | |
117 | ||
118 | * config/tc-i386.h: Move many entries to opcode/i386.h and | |
119 | opcodes/i386-opc.h. | |
120 | ||
121 | * configure.in (need_opcodes): Set true for i386. | |
122 | * configure: Regenerated. | |
123 | ||
c428fa83 L |
124 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
125 | ||
126 | * Makefile.am (REPORT_BUGS_TO): Removed. | |
127 | (INCLUDES): Remove -DREPORT_BUGS_TO. | |
128 | * Makefile.in: Regenerated. | |
129 | ||
130 | * configure.in (--with-bugurl): Removed. | |
131 | * configure: Regenerated. | |
132 | ||
133 | * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi. | |
134 | (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. | |
135 | (TEXI2DVI): Likewise. | |
136 | (gasver.texi): Removed. | |
137 | (MOSTLYCLEANFILES): Remove gasver.texi. | |
138 | (as.1): Don't depend on gasver.texi. | |
139 | * doc/Makefile.in: Regenerated. | |
140 | ||
141 | * doc/as.texi: Include bfdver.texi instead of gasver.texi. | |
142 | ||
794ba86a DJ |
143 | 2007-03-14 Daniel Jacobowitz <dan@codesourcery.com> |
144 | ||
145 | * config/tc-arm.c (arm_copy_symbol_attributes): New. | |
146 | * config/tc-arm.h (arm_copy_symbol_attributes): Declare. | |
147 | (TC_COPY_SYMBOL_ATTRIBUTES): Define. | |
148 | * gas/symbols.c (copy_symbol_attributes): Use | |
149 | TC_COPY_SYMBOL_ATTRIBUTES. | |
150 | ||
155257ea PB |
151 | 2007-03-14 Paul Brook <paul@codesourcery.com> |
152 | ||
153 | * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding. | |
154 | ||
d1c5f158 AM |
155 | 2007-03-14 Alan Modra <amodra@bigpond.net.au> |
156 | ||
157 | PR 4029 | |
158 | * write.c (relax_segment): Insert extra alignment padding | |
159 | to break infinite relax loop when given impossible | |
160 | gcc_except_table assembly. | |
161 | ||
8a2ed489 L |
162 | 2007-03-12 H.J. Lu <hongjiu.lu@intel.com> |
163 | ||
164 | * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX | |
165 | on i.tm.base_opcode. | |
166 | (match_template): Likewise. | |
167 | (process_operands): Use ~0x3 mask to match MOV_AX_DISP32. | |
168 | ||
169 | * config/tc-i386.h (Opcode_D): New. | |
170 | (Opcode_FloatR): Likewise. | |
171 | (Opcode_FloatD): Likewise. | |
172 | (D): Redefined. | |
173 | (W): Likewise. | |
174 | (FloatMF): Likewise. | |
175 | (FloatR): Likewise. | |
176 | (FloatD): Likewise. | |
177 | ||
e9fc6c21 AO |
178 | 2007-03-09 Alexandre Oliva <aoliva@redhat.com> |
179 | ||
180 | * app.c (do_scrub_chars): Recognize comments after # line "file". | |
181 | * read.c (get_linefile_number): New. | |
182 | (s_app_line): Accept ill-formed .linefile lines as comments. | |
183 | ||
b1b7d09b AM |
184 | 2007-03-09 Alan Modra <amodra@bigpond.net.au> |
185 | ||
186 | * config/tc-i386.h (WORKING_DOT_WORD): Define. | |
187 | ||
93e914b2 AO |
188 | 2007-03-09 Alexandre Oliva <aoliva@redhat.com> |
189 | ||
190 | * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile. | |
191 | * as.h (new_logical_line_flags): New. | |
192 | * input-scrub.c (new_logical_line): Turned into wrapper for... | |
193 | (new_logical_line_flags): this. Handle flags. | |
194 | * read.c (potable): Add linefile. Adjust appline argument. | |
195 | (s_app_file): Fake .appfiles no more. | |
196 | (s_app_line): For .linefile, accept file name and flags. | |
197 | ||
6f12865c AM |
198 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
199 | ||
200 | * symbols.c (symbol_relc_make_sym): Comment typo fixes. | |
201 | ||
a6d04ec4 AM |
202 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
203 | ||
204 | * Makefile.am: Run "make dep-am". | |
205 | * Makefile.in: Regenerate. | |
206 | * po/POTFILES.in: Regenerate. | |
207 | ||
ad22bfe8 JM |
208 | 2007-03-07 Joseph Myers <joseph@codesourcery.com> |
209 | ||
210 | * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of | |
211 | bug-reporting URL. | |
212 | * doc/Makefile.am (gasver.texi): Define BUGURL. | |
213 | * doc/as.texinfo: Use BUGURL. | |
214 | * Makefile.in, configure, doc/Makefile.in: Regenerate. | |
215 | ||
b5639b37 MS |
216 | 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> |
217 | ||
218 | * config/tc-s390.c (md_parse_option): z9-ec option added. | |
219 | ||
5e77afaa PB |
220 | 2007-03-02 Paul Brook <paul@codesourcery.com> |
221 | ||
222 | * config/tc-arm.c (relax_immediate): Always return positive values. | |
223 | (relaxed_symbol_addr): New function. | |
224 | (relax_adr, relax_branch): Use it. | |
225 | (arm_relax_frag): Pass strect argument. Adjust infinite loop check. | |
226 | ||
066c2a57 JM |
227 | 2007-03-01 Joseph Myers <joseph@codesourcery.com> |
228 | ||
229 | * as.c (parse_args): Update copyright date. | |
230 | ||
ed6ba298 NS |
231 | 2007-02-28 Nathan Sidwell <nathan@codesourcery.com> |
232 | ||
233 | * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf. | |
234 | ||
870074dd NC |
235 | 2007-02-28 Nick Clifton <nickc@redhat.com> |
236 | ||
c5d07591 NC |
237 | PR gas/3797 |
238 | * config/tc-d10v.c (do_assemble): Do not generate error messages, | |
239 | just return -1 whenever a problem is encountered. | |
240 | (md_assemble): If do_assemble returns -1 generate a non-fatal | |
241 | error message and return. | |
242 | ||
870074dd NC |
243 | PR gas/2623 |
244 | * config/tc-msp430.c (line_separator_char): Change to '{'. | |
245 | ||
fd99afa7 AM |
246 | 2007-02-27 Alan Modra <amodra@bigpond.net.au> |
247 | ||
248 | * config/tc-m68hc11.c (fixup24): Correct fixup size. | |
249 | (build_jump_insn): Likewise. | |
250 | (build_insn): Likewise. | |
251 | (s_m68hc11_relax): Likewise. | |
252 | ||
07cb2078 AM |
253 | 2007-02-27 Alan Modra <amodra@bigpond.net.au> |
254 | ||
255 | * config/obj-elf.c (elf_frob_file): frag_wane any new frags. | |
256 | ||
22b5b651 MS |
257 | 2007-02-25 Mark Shinwell <shinwell@codesourcery.com> |
258 | ||
259 | * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad. | |
260 | ||
acb02403 AM |
261 | 2007-02-23 Alan Modra <amodra@bigpond.net.au> |
262 | ||
263 | * config/tc-mn10300.c (md_convert_frag): Correct fixup size. | |
264 | (md_assemble): Likewise. | |
265 | ||
e5435dec AM |
266 | 2007-02-22 Alan Modra <amodra@bigpond.net.au> |
267 | ||
268 | * write.c (size_seg): Always clear SEC_RELOC here. | |
269 | (install_reloc): New function, extracted from.. | |
270 | (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code | |
271 | with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when | |
272 | testing frag size. Set SEC_RELOC here. | |
273 | ||
a1836728 AM |
274 | 2007-02-21 Alan Modra <amodra@bigpond.net.au> |
275 | ||
276 | PR 4082 | |
277 | * config/tc-avr.h (TC_FX_SIZE_SLACK): Define. | |
278 | ||
f281862d TS |
279 | 2007-02-20 Thiemo Seufer <ths@mips.com> |
280 | ||
281 | * doc/c-mips.texi: Document 74kc, 74kf, 74kx. | |
282 | ||
01fd108f TS |
283 | 2007-02-20 Thiemo Seufer <ths@mips.com> |
284 | ||
285 | * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations. | |
286 | ||
8b082fb1 TS |
287 | 2007-02-20 Thiemo Seufer <ths@mips.com> |
288 | Chao-Ying Fu <fu@mips.com> | |
289 | ||
290 | * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2, | |
291 | ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support. | |
292 | (macro_build): Add case '2'. | |
293 | (macro): Expand M_BALIGN to nop, packrl.ph or balign. | |
294 | (validate_mips_insn): Add support for balign instruction. | |
295 | (mips_ip): Handle DSP R2 instructions. Support balign instruction. | |
296 | (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE, | |
297 | md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2 | |
298 | command line options. | |
299 | (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives. | |
300 | (md_show_usage): Add -mdspr2 and -mno-dspr2 help output. | |
301 | * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2, | |
302 | .set dspr2, .set nodspr2. | |
303 | ||
96e0bbcc NS |
304 | 2007-02-20 Nathan Sidwell <nathan@codesourcery.com> |
305 | ||
306 | * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New. | |
307 | (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225. | |
308 | ||
d31f0f6d AM |
309 | 2007-02-18 Alan Modra <amodra@bigpond.net.au> |
310 | ||
311 | * write.c (TC_FX_SIZE_SLACK): Define. | |
312 | (write_relocs): Reinstate check for fixup within frag. | |
313 | * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define. | |
314 | * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define. | |
315 | * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define. | |
316 | * config/tc-sh.h (TC_FX_SIZE_SLACK): Define. | |
317 | * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define. | |
318 | ||
92f01d61 JM |
319 | 2007-02-17 Mark Mitchell <mark@codesourcery.com> |
320 | Nathan Sidwell <nathan@codesourcery.com> | |
321 | Vladimir Prus <vladimir@codesourcery.com | |
322 | Joseph Myers <joseph@codesourcery.com> | |
323 | ||
324 | * configure.in (--with-bugurl): New option. | |
325 | * configure: Regenerate. | |
326 | * dep-in.sed: Remove bin-bugs.h. | |
327 | * Makefile.am (REPORT_BUGS_TO): Define. | |
328 | (INCLUDES): Define REPORT_BUGS_TO. | |
329 | (DEP_INCLUDES): Likewise. | |
330 | ($(OBJS)): No longer depend on bin-bugs.h. | |
331 | * Makefile.in: Regenerate. | |
332 | * doc/Makefile.in: Regenerate. | |
333 | * as.c (show_usage): Don't print empty REPORT_BUGS_TO. | |
334 | * as.h: Remove include of bin-bugs.h. | |
335 | ||
b4b24b79 AM |
336 | 2007-02-17 Alan Modra <amodra@bigpond.net.au> |
337 | ||
338 | * write.c: White space fixes. | |
339 | (fixup_segment): Move symbol_mri_common_p adjustments.. | |
340 | (write_relocs): ..and symbol_equated_reloc_p adjustments.. | |
341 | (adjust_reloc_syms): ..to here. | |
342 | ||
e7ff5c73 AM |
343 | 2007-02-16 Alan Modra <amodra@bigpond.net.au> |
344 | ||
345 | * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than | |
346 | xmalloc, memset. Don't bother assigning NULL to known zero mem. | |
347 | (subseg_set_rest): Remove unnecessary cast. | |
348 | * write.c: Include libbfd.h. Replace PTR with void * throughout. | |
349 | Remove unnecessary forward declarations and casts. | |
350 | (set_symtab): Delete extern bfd_alloc. | |
351 | (fixup_segment): Move. | |
352 | ||
a8e24a56 NS |
353 | 2007-02-15 Nathan Sidwell <nathan@codesourcery.com> |
354 | ||
355 | * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID. | |
356 | * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names. | |
357 | (mcf5475_ctrl, mcf5485_ctrl): New. | |
358 | (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families. | |
359 | (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling. | |
360 | (init_table): Add asid, mmubar, adjust rombar0. | |
361 | ||
4eed87de AM |
362 | 2007-02-14 Alan Modra <amodra@bigpond.net.au> |
363 | ||
364 | * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete. | |
365 | * config/tc-i386.c: Wrap overly long lines, whitespace fixes. | |
366 | (process_operands): Move old Seg2ShortForm and Seg3ShortForm | |
367 | code, and test for these insns using a combination of | |
368 | opcode_modifier and operand_types. | |
369 | ||
7bd1c961 PB |
370 | 2007-02-07 Paul Brook <paul@codesourcery.com> |
371 | ||
5c817587 | 372 | * configure.tgt: Add arm*-*-uclinux-*eabi. |
7bd1c961 | 373 | |
280d71bf | 374 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
4948f0d4 DB |
375 | Richard Sandiford <rsandifo@redhat.com> |
376 | DJ Delorie <dj@redhat.com> | |
377 | Stan Cox <scox@redhat.com> | |
378 | Jim Blandy <jimb@redhat.com> | |
379 | Nick Clifton <nickc@redhat.com> | |
380 | Jim Wilson <wilson@redhat.com> | |
381 | Frank Ch. Eigler <fche@redhat.com> | |
382 | Graydon Hoare <graydon@redhat.com> | |
383 | Ben Elliston <bje@redhat.com> | |
384 | John Healy <jhealy@redhat.com> | |
385 | Richard Henderson <rth@redhat.com> | |
386 | ||
387 | * Makefile.am (CPU_TYPES): Add mep. | |
388 | (TARGET_CPU_CFILES): Add tc-mep.c. | |
389 | (TARGET_CPU_HFILES): Add tc-mep.h. | |
390 | (DEPTC_mep_elf): New variable. | |
391 | (DEPTC_mep_coff): Likewise. | |
392 | (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise. | |
393 | * configure.in: Support mep. | |
394 | * configure.tgt: Likewise. | |
395 | * config/tc-mep.c: New file. | |
280d71bf DB |
396 | * config/obj-elf.c: New file. |
397 | * config/tc-mep.c: New file. | |
398 | * config/tc-mep.h: New file. | |
399 | * testsuite/gas/mep: New testsuite with content. | |
400 | * Makefile.in: Regenerate. | |
401 | * configure: Regenerate. | |
402 | ||
403 | 2007-02-05 Dave Brolley <brolley@redhat.com> | |
404 | ||
405 | * cgen.c (gas_cgen_install_complex_reloc): Removed. | |
406 | (complex_reloc_installation_howto): Removed. | |
407 | ||
408 | 2007-02-05 Dave Brolley <brolley@redhat.com> | |
4948f0d4 DB |
409 | Graydon Hoare <graydon@redhat.com> |
410 | DJ Delorie <dj@redhat.com> | |
411 | Catherine Moore <clm@redhat.com> | |
412 | Michael Chastain <chastain@redhat.com> | |
413 | Frank Ch. Eigler <fche@redhat.com> | |
280d71bf DB |
414 | |
415 | * symbols.c (use_complex_relocs_for): New, to decide | |
4948f0d4 DB |
416 | when to use complex relocs. Add signed RELC support. |
417 | (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally | |
418 | encode expression symbols as mangled complex relocation symbols (when | |
419 | compiled with -DOBJ_COMPLEX_RELOC). | |
420 | (symbol_relc_make_sym,value,expr): New traversal/conversion routines. | |
421 | * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call | |
422 | encode_addend with new args. Modify to get start, length from | |
423 | ifield whenever it is set. Also change condition on which | |
424 | self-describing relocs are encoded. Add hook into | |
425 | gas_cgen_encode_addend. | |
426 | (queue_fixup_recursively): Add signed RELC support. Change from masked | |
427 | expr to trunc flag. Restore assignment of sub-field value to | |
428 | temporary in fixups array. Reflect changed meaning of last arg to | |
280d71bf | 429 | queue_fixup_recursively. |
4948f0d4 | 430 | (fixup): Add cgen_maybe_multi_ifield member. |
280d71bf DB |
431 | (make_right_shifted_expr): New function. |
432 | (queue_fixup): Change to recursive function that fragments | |
433 | fixups if operand has a multi-ifield. | |
434 | (gas_cgen_parse_operand): Add RELC code to wrap expressions in | |
435 | symbols, call weak_operand_overflow_check, and fragment call | |
436 | queue_fixup with operand fields. | |
437 | (gas_cgen_finish_insn) Modify to manage ifield pointer. | |
280d71bf DB |
438 | (weak_operand_overflow_check): New function to try to select |
439 | insns correctly. | |
4948f0d4 | 440 | (gas_cgen_encode_addend): New function for relc. |
280d71bf | 441 | (gas_cgen_install_complex_reloc): Likewise. |
280d71bf | 442 | (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc. |
4948f0d4 DB |
443 | * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add |
444 | cgen_maybe_multi_ifield field to fx_cgen substructure. | |
445 | * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32. | |
446 | * symbols.h (symbol_relc_make_sym,value,expr): New prototypes. | |
447 | ||
e110eeb7 DD |
448 | 2007-02-03 DJ Delorie <dj@delorie.com> |
449 | ||
450 | * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3 | |
451 | byte relocs. | |
452 | * config/tc-m32c.h (TC_CONS_FIX_NEW): Define. | |
453 | (m32c_cons_fix_new): Prototype. | |
454 | ||
60242db2 BW |
455 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
456 | ||
457 | * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init. | |
458 | (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise. | |
459 | ||
bbdd25a8 BW |
460 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
461 | ||
462 | * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New. | |
463 | (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table. | |
464 | (map_suffix_reloc_to_operator): New. | |
465 | (map_operator_to_reloc): New. | |
466 | (expression_maybe_register): Fix incorrect test of return value from | |
467 | xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator. | |
468 | (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc. | |
469 | ||
9c874773 BW |
470 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
471 | ||
472 | * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field. | |
473 | (tinsn_get_tok): Delete prototype. | |
474 | * config/tc-xtensa.c (tinsn_get_tok): Delete. | |
475 | ||
61376837 BW |
476 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
477 | ||
478 | * config/xtensa-relax.h (struct build_instr): Delete id field. | |
479 | * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL | |
480 | and LABEL tokens. | |
481 | (append_literal_op, append_label_op): Remove litnum/labnum arguments; | |
482 | set op_data fields to zero. | |
483 | (parse_id_constant): Delete. | |
484 | (build_transition): Remove code to handle numbered literals and labels. | |
485 | ||
bc447904 BW |
486 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
487 | ||
488 | * config/xtensa-relax.c (build_transition): Remove code after as_fatal. | |
489 | (build_transition_table): Likewise. | |
490 | ||
63a7429b BW |
491 | 2007-02-01 Bob Wilson <bob.wilson@acm.org> |
492 | ||
493 | * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of | |
494 | fx_tcbit. | |
495 | * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove. | |
496 | ||
20ee54e8 AM |
497 | 2007-02-02 Alan Modra <amodra@bigpond.net.au> |
498 | ||
499 | * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move. | |
500 | (struct fix <fx_plt>): Rename to tcbit2. | |
501 | * write.c (fix_new_internal): Adjust. | |
502 | (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. | |
503 | * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
504 | * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
505 | * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
506 | * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
507 | * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
508 | * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
509 | * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise. | |
510 | * config/tc-msp430.c (msp430_force_relocation_local): Likewise. | |
511 | * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt. | |
512 | * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. | |
513 | Instead, compare fx_r_type. | |
514 | * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use | |
515 | fx_tcbit in place of fx_plt. | |
516 | * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define. | |
517 | * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference | |
518 | to fx_plt. | |
519 | ||
bf083c64 NC |
520 | 2007-01-30 Nick Clifton <nickc@redhat.com> |
521 | ||
522 | * as.c (main): Mark symbols created via the --defsym command line | |
523 | option as volatile so that they can be overridden later on by a | |
524 | .set directive. This maintains compatibility with the behaviour | |
525 | of earlier versions of the assembler. | |
526 | * doc/as.texinfo (--defsym): Document that the defined symbol's | |
527 | value can be overridden via a .set directive. | |
528 | ||
fc523535 | 529 | 2007-01-28 H.J. Lu <hongjiu.lu@intel.com> |
4d456e3d L |
530 | |
531 | * config/tc-i386.c (swap_imm_operands): Renamed to ... | |
532 | (swap_2_operands): This. Take 2 ints. | |
533 | (md_assemble): Updated. | |
534 | (swap_operands): Call swap_2_operands to swap 2 operands. | |
535 | ||
7bc4c13c DD |
536 | 2007-01-24 DJ Delorie <dj@redhat.com> |
537 | ||
538 | * config/tc-m32c.c (md_pseudo_table): Add .3byte. | |
539 | ||
48903831 NC |
540 | 2007-01-22 Nick Clifton <nickc@redhat.com> |
541 | ||
07302d31 | 542 | PR gas/3871 |
48903831 NC |
543 | * tc-score.c: Remove unnecessary uses of _(). |
544 | Make the err_msg[] a file level local array in order to save | |
545 | storage space. | |
546 | Remove unnecessary sprintf()s. | |
547 | ||
14119072 ML |
548 | 2007-01-18 Mei Ligang <ligang@sunnorth.com.cn> |
549 | ||
07302d31 | 550 | PR gas/3871 |
14119072 ML |
551 | * config/tc-score.c : Using _() for const string. |
552 | Do not assign inst.error with a local string pointer. | |
553 | (md_section_align): Pad section. | |
554 | ||
99018f42 L |
555 | 2007-01-13 H.J. Lu <hongjiu.lu@intel.com> |
556 | ||
557 | * config/tc-i386.c (build_modrm_byte): Check number of operands | |
558 | when procssing memory/register operand. | |
559 | ||
465e5617 NC |
560 | 2007-01-12 Nick Clifton <nickc@redhat.com> |
561 | ||
562 | PR gas/3856 | |
563 | * macro.c (expand_irp): Do not ignore spaces inside quoted | |
564 | strings. | |
565 | ||
e8630bd7 AM |
566 | 2007-01-12 Alan Modra <amodra@bigpond.net.au> |
567 | ||
568 | * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. | |
569 | * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. | |
570 | * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. | |
571 | (TC_FORCE_RELOCATION): Define. | |
572 | (TC_FORCE_RELOCATION_LOCAL): Define. | |
573 | * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust. | |
574 | ||
1f5409bb AM |
575 | 2007-01-12 Alan Modra <amodra@bigpond.net.au> |
576 | ||
577 | * input-file.c (input_file_open): Check fgets return. | |
578 | ||
dc4503c6 PB |
579 | 2007-01-11 Paul Brook <paul@codesourcery.com> |
580 | ||
581 | * config/tc-arm.c (do_t_add_sub): Use Rd and Rs. | |
582 | ||
04f8d83b NC |
583 | 2007-01-11 Nick Clifton <nickc@redhat.com> |
584 | ||
493cb6ef NC |
585 | PR gas/3707 |
586 | * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt | |
587 | variable. | |
588 | ||
04f8d83b NC |
589 | * config/tc-mcore.c (md_number_to_chars): Use |
590 | number_to_chars_{big|little}endian. | |
591 | ||
3bdcfdf4 KH |
592 | 2007-01-08 Kazu Hirata <kazu@codesourcery.com> |
593 | ||
594 | * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an | |
595 | architecture by itself. | |
596 | (m68k_ip): Don't issue a warning for tbl instructions on fido. | |
597 | (m68k_elf_final_processing): Treat Fido as an architecture by | |
598 | itself. | |
599 | ||
42037fe5 NC |
600 | 2007-01-08 Kai Tietz <kai.tietz@onevision.com> |
601 | ||
602 | * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw* | |
603 | ||
e4a3b5a4 L |
604 | 2007-01-05 H.J. Lu <hongjiu.lu@intel.com> |
605 | ||
606 | * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax | |
607 | depending on allow_naked_reg. | |
608 | ||
a028a6f5 PB |
609 | 2007-01-04 Paul Brook <paul@codesourcery.com> |
610 | ||
611 | * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form. | |
612 | ||
2ca3ace5 L |
613 | 2007-01-04 H.J. Lu <hongjiu.lu@intel.com> |
614 | ||
44f9b8ac | 615 | PR gas/3830 |
2ca3ace5 L |
616 | * config/tc-i386.c (register_prefix): New. |
617 | (set_intel_syntax): Set set_intel_syntax to "" if register | |
2221f452 | 618 | prefix isn't needed. |
2ca3ace5 L |
619 | (check_byte_reg): Use register_prefix for error message. |
620 | (check_long_reg): Likewise. | |
621 | (check_qword_reg): Likewise. | |
622 | (check_word_reg): Likewise. | |
623 | ||
627907b7 JB |
624 | 2006-01-04 Julian Brown <julian@codesourcery.com> |
625 | ||
626 | * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM. | |
627 | (do_neon_qshl_imm): Likewise. | |
628 | (do_neon_rshl): New function. Handle rounding variants of | |
629 | v{q}shl-by-register. | |
630 | (insns): Use do_neon_rshl for vrshl, vqrshl. | |
631 | ||
92559b5b PB |
632 | 2007-01-04 Paul Brook <paul@codesourcery.com> |
633 | ||
634 | * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt | |
635 | and vacle. | |
636 | ||
2ca3ace5 L |
637 | 2007-01-03 H.J. Lu <hongjiu.lu@intel.com> |
638 | ||
639 | * config/tc-i386.c (swap_operands): Remove branches. | |
640 | ||
4dc85607 L |
641 | 2007-01-03 H.J. Lu <hongjiu.lu@intel.com> |
642 | ||
643 | * config/tc-i386.c: Update copyright year. | |
644 | * config/tc-i386.h: Likewise. | |
645 | ||
1509aa9a L |
646 | 2007-01-03 H.J. Lu <hongjiu.lu@intel.com> |
647 | ||
648 | * config/tc-i386.c (smallest_imm_type): Return unsigned int | |
649 | instead of int. | |
650 | ||
e3bb37b5 L |
651 | 2007-01-03 H.J. Lu <hongjiu.lu@intel.com> |
652 | ||
653 | * config/tc-i386.c: Convert to ISO C90 formatting | |
654 | * config/tc-i386.h: Likewise. | |
655 | ||
d821e36b DD |
656 | 2007-01-03 David Daney <ddaney@avtrex.com> |
657 | ||
658 | * config/tc-mips.c (md_show_usage): Clean up -mno-shared | |
659 | documentation. | |
660 | ||
44021fe5 | 661 | For older changes see ChangeLog-2006 |
08d56133 NC |
662 | \f |
663 | Local Variables: | |
664 | mode: change-log | |
665 | left-margin: 8 | |
666 | fill-column: 74 | |
667 | version-control: never | |
668 | End: |