Commit | Line | Data |
---|---|---|
ce4f7385 AM |
1 | 2002-07-03 Alan Modra <amodra@bigpond.net.au> |
2 | ||
3 | * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. | |
4 | Run "make dep-am". | |
5 | * Makefile.in: Regenerate. | |
6 | ||
148b4c7a MS |
7 | 2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com> |
8 | ||
9 | * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment | |
10 | to symbols in merge sections, even non pc-relative ones. | |
11 | ||
2916066e SC |
12 | 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> |
13 | ||
14 | * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning. | |
15 | ||
96e87417 SC |
16 | 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> |
17 | ||
18 | * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections | |
19 | .softregs and .eeprom. | |
20 | ||
83518699 DB |
21 | 2002-06-28 David O'Brien <obrien@FreeBSD.org> |
22 | ||
23 | * NEWS: Note the next release is 2.13. | |
24 | ||
6c6783ff NC |
25 | 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com> |
26 | ||
27 | * po/tr.po: New translation imported. | |
28 | ||
a2c36061 AM |
29 | 2002-06-26 Elias Athanasopoulos <eathan@otenet.gr> |
30 | ||
31 | * ecoff.c: (get_tag): Replace strcpy with xstrdup. | |
32 | (ecoff_directive_def): Likewise. | |
33 | (ecoff_directive_tag): Likewise. | |
34 | * listing.c (file_info): Likewise. | |
35 | * hash.c (what): Likewise. | |
36 | ||
a13a0de8 L |
37 | 2002-06-25 H.J. Lu <hjl@gnu.org> |
38 | ||
39 | * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. | |
40 | * Makefile.in: Regenerated. | |
41 | ||
6c6783ff | 42 | 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com> |
5db33d76 JR |
43 | |
44 | * config/tc-sh.c (get_specific): Revert 2002-05-01 change. | |
45 | (assemble_ppi): Generate warning if the same register is used | |
46 | twice as destination in the same padd / pmuls instruction. | |
47 | ||
0ebb9a87 DB |
48 | 2002-06-18 Dave Brolley <brolley@redhat.com> |
49 | ||
a2c36061 | 50 | From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley |
0ebb9a87 DB |
51 | * po/POTFILES.in: Add tc-frv.c, tc-frv.h. |
52 | * configure.in: Support frv-*-*. | |
53 | * Makefile.am (CPU_TYPES): Add frv. | |
54 | (TARGET_CPU_CFILES): Add tc-frv.c. | |
55 | (TARGET_CPU_HFILES): Add tc-frv.h. | |
56 | (DEPTC_frv_coff): New variable. | |
57 | (DEPTC_frv_elf): New variable. | |
58 | (DEPOBJ_frv_coff): New variable. | |
59 | (DEPOBJ_frv_elf): New variable. | |
60 | (DEP_frv_coff): New variable. | |
61 | (DEP_frv_elf): New variable. | |
62 | * tc-frv.c: New file. | |
63 | * tc-frv.h: New file. | |
64 | ||
2a24298d CM |
65 | 2002-06-17 Catherine Moore <clm@redhat.com> |
66 | ||
a2c36061 | 67 | * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define. |
2a24298d | 68 | |
6c6783ff | 69 | 2002-06-17 J"orn Rennecke <joern.rennecke@superh.com> |
96f31fc7 JR |
70 | |
71 | * config/tc-sh.c (assemble_ppi): Initialize reg_n. | |
72 | ||
184e65b1 TR |
73 | 2002-06-17 Tom Rix <trix@redhat.com> |
74 | ||
75 | * config/tc-i370.h (tc_comment_chars): Define for i370-elf. | |
76 | ||
ecb4347a DJ |
77 | 2002-06-14 H.J. Lu <hjl@gnu.org> |
78 | Daniel Jacobowitz <drow@mvista.com> | |
79 | ||
80 | * dwarf2dbg.h (dwarf2_directive_file): Return char *. | |
81 | * dwarf2dbg.c (dwarf2_directive_file): Return filename. | |
82 | * config/tc-mips.c (s_mips_file): Call s_app_file_string | |
83 | and new_logical_line for the first .file directive. | |
84 | * read.c (s_app_file_string): New function. | |
85 | (s_app_file): Call it. | |
86 | * read.h (s_app_file_string): Add declaration. | |
87 | ||
88 | 2002-06-14 Daniel Jacobowitz <drow@mvista.com> | |
89 | ||
90 | * configure.in: Remove MIPS_STABS_ELF. | |
91 | * configure: Regenerated. | |
92 | * config.in: Regenerated. | |
93 | * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug | |
94 | for MIPS targets. | |
95 | * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around | |
96 | ".extern". | |
97 | (pdr_seg): Declare unconditionally. | |
98 | (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF. | |
99 | (s_mips_end): Likewise. Generate stabs function markers. | |
100 | (s_mips_ent): Generate stabs function markers. | |
101 | (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not | |
102 | ELF. | |
103 | (s_mips_mask): Likewise. | |
104 | (mips_flag_mdebug): New. | |
105 | (md_longopts): Add "mdebug" and "no-mdebug". | |
106 | (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG. | |
107 | (mips_after_parse_args): Set mips_flag_mdebug. | |
108 | * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS. | |
109 | ||
d6e9d61a MR |
110 | 2002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
111 | ||
112 | * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's | |
113 | value twice for RELA relocations. | |
114 | ||
03e83a45 BE |
115 | 2002-06-12 Ben Elliston <bje@redhat.com> |
116 | ||
117 | * symbols.c (resolve_symbol_value): Initialise final_val. | |
118 | ||
119 | * subsegs.c (subsegs_print_statistics): Cast frchp to void *. | |
120 | ||
b4f96c78 TR |
121 | 2002-06-11 Tom Rix <trix@redhat.com> |
122 | ||
123 | * config/tc-ppc.c (ppc_subseg_align): Delete. | |
124 | (ppc_change_csect): Default csect align is 2. | |
a2c36061 | 125 | * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete |
b4f96c78 | 126 | |
8a6def3b MM |
127 | 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl> |
128 | ||
129 | * config/tc-avr.c (mcu_types): Update. | |
130 | ||
7542c0f2 JT |
131 | 2002-06-08 Matt Thomas <matt@3am-software.com> |
132 | ||
133 | * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*) | |
134 | (vax-*-netbsd*): New targets. | |
135 | * configure: Regenerate. | |
a2c36061 | 136 | * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD. |
7542c0f2 | 137 | * config/tc-vax.c: Add support for ELF and PIC. |
a2c36061 | 138 | (flag_want_pic): New flag. |
7542c0f2 JT |
139 | (float_cons): Fix prototype. |
140 | (md_apply_fix3): Adjust for BFD_ASSEMBLER. | |
141 | (md_assemble): Introduce a new is_absolute local, and use it | |
142 | rather than repeating the test. Make fatal errors actually | |
a2c36061 | 143 | fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER. |
7542c0f2 | 144 | Add support for ELF. Add support for PIC. |
a2c36061 | 145 | (md_convert_frag): Adjust for BFD_ASSEMBLER. |
7542c0f2 JT |
146 | (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not |
147 | BFD_ASSEMBLER. | |
a2c36061 | 148 | (vax_reg_parse): Make the % register prefix mandatory for ELF, |
7542c0f2 JT |
149 | optional for a.out, and not allowed for VMS. Adjust all callers. |
150 | (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments. | |
a2c36061 | 151 | (md_create_long_jump): Likewise. |
7542c0f2 JT |
152 | (md_undefined_symbol): Likewise. |
153 | (md_section_align): Likewise. | |
154 | (md_shortopts): Allow -k and -K for ELF. | |
155 | (md_parse_option): Set flag_want_pic if -k or -K. | |
156 | (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER. | |
157 | (tc_gen_reloc): New function if BFD_ASSEMBLER. | |
158 | * config/tc-vax.h (tc_headers_hook): Remove. | |
159 | (TARGET_FORMAT): Set according to object format and target | |
160 | environment. | |
161 | (BFD_ARCH, TARGET_ARCH): Define. | |
162 | (NO_RELOC): Adjust for BFD_ASSEMBLER. | |
163 | (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE) | |
164 | (tc_fix_adjustable): Define if BFD_ASSEMBLER. | |
165 | * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define. | |
166 | ||
5a38dc70 AM |
167 | 2002-06-08 Alan Modra <amodra@bigpond.net.au> |
168 | ||
e90b95f6 AM |
169 | * Makefile.am: Run "make dep-am". |
170 | * Makefile.in: Regenerate. | |
171 | ||
5a38dc70 AM |
172 | * as.c: Replace CONST with const. |
173 | * write.c: Likewise. | |
174 | * config/obj-coff.c: Likewise. | |
175 | * config/tc-a29k.c: Likewise. | |
176 | * config/tc-arm.c: Likewise. | |
177 | * config/tc-dlx.c: Likewise. | |
178 | * config/tc-h8300.c: Likewise. | |
179 | * config/tc-h8500.c: Likewise. | |
180 | * config/tc-i370.c: Likewise. | |
181 | * config/tc-i860.c: Likewise. | |
182 | * config/tc-i960.c: Likewise. | |
183 | * config/tc-m68hc11.c: Likewise. | |
184 | * config/tc-m68k.c: Likewise. | |
185 | * config/tc-m88k.c: Likewise. | |
186 | * config/tc-mcore.c: Likewise. | |
187 | * config/tc-mips.c: Likewise. | |
188 | * config/tc-ns32k.c: Likewise. | |
189 | * config/tc-pdp11.c: Likewise. | |
190 | * config/tc-pj.c: Likewise. | |
191 | * config/tc-s390.c: Likewise. | |
192 | * config/tc-sh.c: Likewise. | |
193 | * config/tc-sparc.c: Likewise. | |
194 | * config/tc-tahoe.c: Likewise. | |
195 | * config/tc-tic80.c: Likewise. | |
196 | * config/tc-v850.c: Likewise. | |
197 | * config/tc-vax.c: Likewise. | |
198 | * config/tc-w65.c: Likewise. | |
199 | * config/tc-z8k.c: Likewise. | |
200 | ||
c5dd6aab DJ |
201 | 2002-06-08 Daniel Jacobowitz <drow@mvista.com> |
202 | ||
203 | Based on patch from Matt Green: | |
204 | * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable. | |
a2c36061 | 205 | * config/tc-mips.c (s_mips_file): Renamed from s_file. |
c5dd6aab DJ |
206 | (s_mips_loc): New function. |
207 | (mips_nonecoff_pseudo_table): Call them. | |
a2c36061 | 208 | (append_insn): Call dwarf2_emit_insn. |
c5dd6aab | 209 | |
a4672219 TS |
210 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
211 | ||
212 | * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set | |
213 | to -1. | |
214 | (file_ase_mips16): New veriable. | |
215 | (mips_eabi64): Remove. | |
216 | (CPU_HAS_MIPS16): New define. | |
217 | (CPU_HAS_MDMX): Fix data type. | |
218 | (md_begin): Code cleanup. Use file_ase_mips16. | |
219 | (mips_elf_final_processing): Handle mips16 header flag. | |
220 | Handle EABI flag without intermediate variable. | |
221 | ||
437ee9d5 TS |
222 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
223 | ||
224 | * doc/as.texinfo: Update MIPS documentation. | |
225 | ||
85b51719 TS |
226 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
227 | ||
228 | * config/tc-mips.c: Add define for $zero register. | |
229 | (md_begin): Add $zero as alias name for $0. | |
230 | (insn_uses_reg): Use ZERO define. | |
231 | (mips_ip): Add $zero as alias name for $0. | |
232 | (mips16_ip): Likewise. | |
233 | (s_cplocal): Demand empty rest of input line. | |
234 | (tc_get_register): Likewise. Add support for $kt0, kt1 register | |
235 | names. Use ZERO define. Fix input_line_pointer progress. | |
236 | ||
9758f3fc AM |
237 | 2002-06-07 Alan Modra <amodra@bigpond.net.au> |
238 | ||
239 | * symbols.c: Replace CONST by const throughout. | |
240 | (symbol_find_exact): Split out from.. | |
241 | (symbol_find_base): ..here. | |
242 | * symbols.h: Replace CONST by const throughout. | |
243 | (symbol_find_exact): Declare. | |
244 | * config/obj-elf.c: #include "struc-symbol.h". | |
245 | (elf_frob_file): If group name matches an exported symbol, use that | |
246 | symbol for the signature and ".group" as the section name. | |
247 | ||
6c6783ff | 248 | 2002-06-06 J"orn Rennecke <joern.rennecke@superh.com> |
9691d64f JR |
249 | |
250 | * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again, | |
251 | but warn about it. | |
252 | * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc). | |
253 | * testsuite/gas/sh/pcrel.d: Update. | |
254 | * testsuite/gas/sh/pcrel.l: New file. | |
255 | ||
ffdefa66 DJ |
256 | 2002-06-06 Daniel Jacobowitz <drow@mvista.com> |
257 | ||
258 | * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d | |
259 | and mips_opts.ase_mdmx if they are uninitialized. | |
260 | ||
ec8b3afd JL |
261 | 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
262 | ||
263 | * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME. | |
264 | (hppa_force_relocation): Check if a stub just before the start symbol | |
265 | of the last call_info is reachable before forcing relocation. Fix | |
266 | typo. | |
267 | ||
e9670677 MR |
268 | 2002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
269 | ||
270 | * config/tc-mips.c (mips_after_parse_args): New function. | |
271 | (md_begin): Move processing of defaults to mips_after_parse_args. | |
272 | config/tc-mips.h (md_after_parse_args): Define. | |
273 | ||
5b0e55b6 JT |
274 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
275 | ||
276 | * configure.in (sh5*): Set cpu_type to sh64 and endian to big. | |
277 | (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little. | |
278 | (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets. | |
279 | * configure: Regenerate. | |
280 | * config/tc-sh64.c (sh64_target_format): Add support for NetBSD | |
281 | environment. | |
282 | ||
a074e149 JT |
283 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
284 | ||
285 | * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining. | |
286 | ||
d2dab548 AM |
287 | 2002-06-04 Alan Modra <amodra@bigpond.net.au> |
288 | ||
289 | * config/obj-elf.c (obj_elf_change_section): Set and check elf | |
290 | linkonce flag. Print all warnings. | |
291 | (obj_elf_section): Parse ",comdat" for groups. | |
292 | (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check | |
293 | consistency of comdat flag. | |
294 | ||
20e130e9 RH |
295 | 2002-06-02 Richard Henderson <rth@redhat.com> |
296 | ||
297 | * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko | |
298 | with LITERALs without sequence numbers. | |
299 | ||
9e756d64 RH |
300 | 2002-06-01 Richard Henderson <rth@redhat.com> |
301 | ||
302 | * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h". | |
303 | Rename them LITUSE_ALPHA_*. | |
304 | ||
3048287a NC |
305 | 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com> |
306 | ||
307 | * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to | |
308 | accept parentheses enclosed register lists. | |
309 | ||
194b5210 AM |
310 | 2002-05-31 Alan Modra <amodra@bigpond.net.au> |
311 | ||
312 | * Makefile.am: Run "make dep-am". | |
313 | * Makefile.in: Regenerate. | |
314 | * po/POTFILES.in: Regenerate. | |
315 | ||
34e97952 AM |
316 | 2002-05-31 Graeme Peterson <gp@qnx.com> |
317 | ||
318 | * configure.in: Add i386-*-nto-qnx*. | |
319 | * configure: Regenerate. | |
320 | ||
793b27f4 TS |
321 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
322 | ||
323 | * config/tc-mips.c (mips_ip): Use unsigned long values for | |
324 | warning output. | |
325 | ||
80245285 TS |
326 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
327 | ||
328 | * config/tc-mips.c (s_cpsetup): Fix initialization of | |
329 | mips_cpreturn_register and mips_cpreturn_offset. | |
330 | ||
698b7d9d TS |
331 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
332 | ||
333 | * config/tc-mips.c (s_cpsetup): Fix comment. | |
334 | ||
76db943d TS |
335 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
336 | ||
337 | * config/tc-mips.c (md_begin): Add $ra as alias name for $31. | |
338 | (mips_ip): Likewise. | |
339 | (mips16_ip): Likewise. | |
340 | (tc_get_register): Likewise. | |
341 | ||
deec1734 | 342 | 2002-05-30 Chris G. Demetriou <cgd@broadcom.com> |
a2c36061 | 343 | Ed Satterthwaite <ehs@broadcom.com> |
deec1734 CD |
344 | |
345 | * config/tc-mips.c (mips_set_options): New "ase_mdmx" member. | |
346 | (mips_opts): Initialize "ase_mdmx" member. | |
347 | (file_ase_mdmx): New variable. | |
348 | (CPU_HAS_MDMX): New macro. | |
349 | (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx | |
350 | based on command line options and configuration defaults. | |
351 | (macro_build): Note in comment that use of MDMX in macros is | |
352 | not currently allowed. | |
353 | (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and | |
354 | "Z" MDMX operand types. | |
355 | (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set, | |
356 | and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand | |
357 | types. | |
358 | (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option): | |
359 | Add support for "-mdmx" and "-no-mdmx" options. | |
360 | (OPTION_ELF_BASE): Move to accomodate new options. | |
361 | (s_mipsset): Support ".set mdmx" and ".set nomdmx". | |
362 | (mips_elf_final_processing): Set MDMX ASE ELF header flag if | |
363 | file_ase_mdmx was set. | |
364 | * doc/as.texinfo: Document -mdmx and -no-mdmx options. | |
365 | * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set | |
366 | nomdmx" directives. | |
367 | ||
9ee72ff1 TS |
368 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
369 | ||
370 | * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to | |
371 | OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000" | |
372 | command line switch conforming to gcc conventions. | |
373 | * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000. | |
374 | ||
438c16b8 TS |
375 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
376 | ||
377 | * config/tc-mips.c (macro_build_jalr): New Function. | |
378 | (md_begin): NewABI uses big GOTs. | |
379 | (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP, | |
380 | BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid. | |
381 | (load_address): Add some NewABI PIC support. | |
382 | (macro): Likewise. | |
383 | (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR. | |
384 | (tc_gen_reloc): Don't encode NewABI vtables in REL relocations. | |
385 | ||
f7ea7ef2 TS |
386 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
387 | ||
388 | * config/tc-mips.c (load_address): Use mips_gp_register instead | |
389 | of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES | |
390 | instead. | |
391 | (macro): Use mips_gp_register instead of hardcoded value. | |
392 | ||
3765b1be RH |
393 | 2002-05-30 Richard Henderson <rth@redhat.com> |
394 | ||
395 | * expr.h (operatorT): Add O_md17..O_md32. | |
396 | * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd, | |
397 | O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel, | |
398 | O_tprelhi, O_tprello, O_tprel): New. | |
399 | (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them. | |
400 | (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New. | |
401 | (LITUSE_TLSGD, LITUSE_TLSLDM): New. | |
402 | (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld, | |
403 | saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field. | |
404 | (md_apply_fix3): Handle TLS relocations. | |
405 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. | |
406 | (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the | |
407 | associated TLS reloc. Check lituse_tls relocs match up. | |
408 | (emit_insn): Handle TLS relocations. | |
409 | (ldX_op): Remove. | |
410 | ||
1c5cec28 RH |
411 | * doc/c-alpha.texi: Add docs for tls relocations. |
412 | ||
def2e0dd TS |
413 | 2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
414 | ||
415 | * config/tc-mips.c (mips_gprel_offset): New variable. | |
416 | (s_gpvalue): Use it. | |
417 | ||
8ade06a8 TR |
418 | 2002-05-30 Diego Novillo <dnovillo@redhat.com> |
419 | ||
a2c36061 AM |
420 | * gas/config/tc-d10v.c (check_resource_conflict): Only check |
421 | write-write conflicts. | |
422 | (md_assemble): Reformat introductory comment. | |
423 | (parallel_ok): Prevent packing only if the first | |
424 | instruction cannot be packed. | |
8ade06a8 TR |
425 | |
426 | 2002-05-30 Jason Eckhardt <jle@redhat.com> | |
427 | Tom Rix <trix@redhat.com> | |
428 | ||
429 | * config/tc-d10v.c (build_insn): Check for immediates. | |
430 | ||
c9914766 TS |
431 | 2002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
432 | ||
433 | * config/tc-mips.c: Replace GP in comments by $gp. | |
434 | (mips_big_got): Initialize. | |
435 | (mips_trap): Initialize. | |
436 | (load_address): Use mips_gp_register instead of hardcoded value. | |
437 | Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead. | |
438 | (macro): Use mips_gp_register instead of hardcoded value. | |
439 | (macro2): Change load_address calls. | |
440 | (md_pcrel_from): Comment formatting. | |
441 | (s_cpload): Use mips_gp_register instead of hardcoded value. | |
442 | (s_cprestore): Likewise. Comment formatting. | |
443 | (s_gpword): Fix data type. | |
444 | (s_cpadd): Use mips_gp_register instead of hardcoded value. | |
445 | (nopic_need_relax): Replace GP in comments by $gp. | |
446 | (mips_elf_final_processing): Better comment. | |
447 | ||
d172d4ba NC |
448 | 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> |
449 | ||
450 | * configure.in: Add DLX configuraton | |
451 | * Makefile.am: Add DLX configuraton | |
452 | * configure: Regenerate. | |
453 | * Makefile.in: Regenerate. | |
454 | * config/tc-dlx.c: New file. | |
455 | * config/tc-dlx.h: New files. | |
52216602 | 456 | * NEWS: Mention new support. |
d172d4ba | 457 | |
e9732b6d NC |
458 | 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com> |
459 | ||
460 | * config/obj-coff.c (write_object_file): Add missing semicolon. | |
461 | ||
f9419b05 TS |
462 | 2002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
463 | ||
464 | * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA | |
465 | by the define. Remove superfluous check of mips_opts.mips16. | |
466 | (append_insn): Likewise. Canonicalize variable increments. | |
467 | (macro_build): Canonicalize variable increments. | |
468 | (macro_build_lui): Likewise. | |
469 | (load_register): Likewise. | |
470 | (load_address): Move pointer initialization. | |
471 | (macro): Move pointer to a more local scope. Canonicalize variable | |
472 | increments. Better comments. Replace magic constant for RA by the | |
473 | define. | |
474 | (macro2): Replace magic constant for RA by the define. Canonicalize | |
475 | variable increments. | |
476 | (mips_ip): Canonicalize variable increments. | |
477 | (mips16_ip): Replace magic constant for RA by the define. | |
478 | (my_getSmallParser): Canonicalize variable increments/decrements. | |
479 | (my_getPercentOp): Likewise. | |
480 | (my_getSmallExpression): Likewise. | |
481 | (s_align): Likewise. | |
482 | (s_mipsset): Likewise. | |
483 | (s_cpsetup): Likewise. | |
484 | (s_insn): Remove superfluous check of mips_opts.mips16. | |
485 | (s_mips_stab): Likewise. | |
486 | (mips_handle_align): Canonicalize variable increments. | |
487 | (s_mips_ent): Likewise. | |
488 | (s_mips_end): Add comment. | |
489 | ||
aa501e5c JT |
490 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
491 | ||
492 | * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. | |
493 | * configure: Regenerate. | |
494 | ||
29589b0c AM |
495 | 2002-05-25 Alan Modra <amodra@bigpond.net.au> |
496 | ||
497 | * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h. | |
498 | * Makefile.in: Regenerate. | |
499 | * dep-in.sed: Reorder to match OBJS in Makefile.am. | |
500 | * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd. | |
501 | * configure: Regenerate. | |
502 | * as.h: Use #include "" instead of <> for local header files. | |
503 | * flonum-konst.c: Likewise. | |
504 | * flonum-mult.c: Likewise. | |
505 | * gasp.c: Likewise. | |
506 | * listing.c: Likewise. | |
507 | * config/tc-ia64.h: Likewise. | |
508 | * config/tc-v850.h: Likewise. | |
509 | ||
436e8db0 NC |
510 | 2002-05-24 TAMURA Kent <kent@netbsd.org> |
511 | ||
512 | * configure.in: Add a target for i386-netbsdpe. | |
513 | * configure: Regenerate. | |
514 | ||
13ae64f3 JJ |
515 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
516 | ||
517 | * config/obj-elf.c (elf_common): Renamed from obj_elf_common. | |
518 | (obj_elf_common): Call elf_common. | |
519 | (obj_elf_tls_common): New function. | |
520 | (elf_pseudo_tab): Support .tls_common. | |
521 | (special_sections): Add .tdata and .tbss. | |
522 | (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS | |
523 | sections. | |
524 | (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS). | |
525 | (obj_elf_parse_section_letters): Include T in error message. | |
526 | * config/tc-ppc.c (ppc_section_letter): Likewise. | |
527 | * config/tc-alpha.c (alpha_elf_section_letter): Likewise. | |
528 | (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as | |
529 | SEC_MERGE. | |
530 | * config/tc-sparc.c (md_apply_fix3): Likewise. | |
531 | * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs. | |
532 | Define them if not BFD_ASSEMBLER. | |
533 | (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF | |
534 | and @NTPOFF. | |
535 | (md_apply_fix3): Add TLS relocs. | |
536 | * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE, | |
537 | FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE, | |
538 | FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE. | |
539 | (pseudo_func): Support @dtpmod(), @dtprel() and @tprel(). | |
540 | (ia64_elf_section_letter): Include T in error message. | |
541 | (md_begin): Support TLS operators. | |
542 | (md_operand): Likewise. | |
543 | (ia64_gen_real_reloc_type): Support TLS relocs. | |
544 | * testsuite/gas/i386/tlspic.s: New file. | |
545 | * testsuite/gas/i386/tlsd.s: New file. | |
546 | * testsuite/gas/i386/tlsnopic.s: New file. | |
547 | * testsuite/gas/i386/tlsd.d: New file. | |
548 | * testsuite/gas/i386/tlsnopic.d: New file. | |
549 | * testsuite/gas/i386/tlspic.d: New file. | |
550 | * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests. | |
551 | * testsuite/gas/ia64/tls.s: New file. | |
552 | * testsuite/gas/ia64/tls.d: New file. | |
553 | * testsuite/gas/ia64/ia64.exp: Add tls test. | |
554 | * write.c (adjust_reloc_syms): Don't change symbols in | |
555 | SEC_THREAD_LOCAL sections to STT_SECTION + addend. | |
556 | ||
c62e1cc3 NC |
557 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
558 | ||
559 | * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc | |
560 | round the relocation up rather than down. | |
561 | ||
6ff96af6 NC |
562 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
563 | ||
564 | * config/obj-coff.c (obj_coff_section): Silently ignore an 'a' | |
565 | flag. | |
a2c36061 | 566 | * doc/as.texinfo: Document that the COFF version of .section |
6ff96af6 NC |
567 | ignores the 'a' flag. |
568 | ||
18e1d487 AM |
569 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
570 | ||
69108c1f AM |
571 | * config/tc-alpha.c (assemble_tokens): Protect use of |
572 | ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P. | |
573 | ||
18e1d487 AM |
574 | * write.c (size_seg): Check adjustment to last frag. |
575 | (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to | |
576 | section alignment. | |
577 | * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise. | |
578 | * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise. | |
579 | (write_object_file): Invoke md_do_align if available, and use | |
580 | frag_align_code on text sections. | |
581 | * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args. | |
582 | * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise. | |
583 | * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise. | |
584 | * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise. | |
585 | * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for | |
586 | BFD_ASSEMBLER too. | |
587 | ||
9d66a1d9 L |
588 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
589 | ||
590 | * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file | |
591 | for source file. | |
592 | ||
76feaaf3 NC |
593 | 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com> |
594 | ||
595 | * config/tc-arm.c (arm_s_section): Enable for COFF builds as well | |
596 | as ELF builds. | |
597 | ||
1080e97d L |
598 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
599 | ||
600 | * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol | |
601 | for one .loc for compiler. | |
602 | ||
c90bbe5b TS |
603 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
604 | ||
605 | * config/tc-mips.c (macro): Relax warning, it's toot strict for | |
606 | embedded-PIC. | |
607 | ||
771c7ce4 TS |
608 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
609 | ||
610 | * config/tc-mips.c (macro2): Add 64 bit drol, dror macros. | |
611 | Optimize the rotate by zero case. | |
612 | ||
fa70f2ed NC |
613 | 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com> |
614 | ||
615 | * configure.in: Remove accidental enabling of bfd_gas=yes for | |
616 | sh-coff targets. | |
617 | * configure: Regenerate. | |
618 | ||
411863a4 KH |
619 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
620 | ||
621 | * app.c: Fix formatting. | |
622 | * as.c: Likewise. | |
623 | * ehopt.c: Likewise. | |
624 | * expr.c: Likewise. | |
625 | * input-file.c: Likewise. | |
626 | * listing.c: Likewise. | |
627 | * macro.h: Likewise. | |
628 | * stabs.c: Likewise. | |
629 | * symbols.c: Likewise. | |
630 | ||
eb268f46 AM |
631 | 2002-05-17 Alan Modra <amodra@bigpond.net.au> |
632 | ||
633 | * config/obj-generic.c: Delete file. | |
634 | * config/obj-generic.h: Likewise. | |
635 | ||
bdfdba87 MM |
636 | 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> |
637 | ||
638 | * config/tc-avr.c (mcu_types): Update for new devices. | |
639 | ||
3bec30a8 TS |
640 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
641 | ||
642 | * config/tc-mips.c (macro): Warn about wrong la/dla use. | |
643 | ||
8586fc66 TS |
644 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
645 | ||
646 | * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had | |
647 | worked sometimes by accident. Fix copy&paste comment. | |
648 | ||
195325d2 TS |
649 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
650 | ||
651 | * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section | |
652 | alignment for NewABI. Let n32 use .reginfo. Remove useless casts. | |
653 | (mips_elf_final_processing): Let n32 use .reginfo. | |
654 | ||
4db1a35d TS |
655 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
656 | ||
657 | * config/tc-mips.c (append_insn): Fix too small range of variable. | |
658 | ||
7f367f01 NC |
659 | 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com> |
660 | ||
661 | * config/tc-arm.c (arm_cleanup): Remove redundant call to | |
662 | listing_prev_line(). | |
663 | ||
7193a0e7 NC |
664 | 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com> |
665 | ||
f5b4e9e4 NC |
666 | * config/tc-arm.c (md_assemble): Remove redundant call to |
667 | listing_prev(). | |
668 | ||
b6675117 NC |
669 | * dwarf2dbg.c (dwarf2_emit_insn): Do not reset |
670 | loc_directive_seen. | |
671 | ||
7193a0e7 NC |
672 | * stabs.c (s_stab_generic): Fix grammatical error in warning |
673 | message. | |
674 | ||
50b31228 AM |
675 | 2002-05-13 Alan Modra <amodra@bigpond.net.au> |
676 | ||
677 | * write.c (subsegs_finish): Don't specially align last subseg. | |
678 | ||
cce5a618 NC |
679 | 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com> |
680 | ||
6360824b NC |
681 | * stabs.c (s_stab_generic): Warn about a description field that is |
682 | too big. | |
683 | ||
f8e42b8c NC |
684 | * config/obj-coff.c: Fix compile time warnings when compiling |
685 | without BFD_ASSEMBLER defined. | |
686 | Fix formatting. | |
687 | ||
cce5a618 NC |
688 | * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms |
689 | target. | |
690 | (md_pcrel_from_section): Use md_pcrel_from(). | |
691 | ||
d7c310c2 NC |
692 | 2002-05-11 Bruno Haible <bruno@clisp.org> |
693 | ||
694 | * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled | |
695 | by dwarf2_directive_loc, instead of calling dwarf2_where. | |
696 | ||
5d6255fe KH |
697 | 2002-05-11 Kazu Hirata <kazu@cs.umass.edu> |
698 | ||
699 | * config/obj-coff.h: Fix formatting. | |
700 | * config/tc-mcore.c: Likewise. | |
701 | * config/tc-mn10300.c: Likewise. | |
702 | * config/tc-openrisc.c: Likewise. | |
703 | * config/tc-or32.c: Likewise. | |
704 | * config/tc-pdp11.c: Likewise. | |
705 | * config/tc-ppc.c: Likewise. | |
706 | * config/tc-ppc.h: Likewise. | |
707 | * config/tc-sh64.c: Likewise. | |
708 | * config/tc-sh.c: Likewise. | |
709 | * config/tc-tic54x.c: Likewise. | |
710 | * config/tc-xstormy16.c: Likewise. | |
711 | * config/tc-xstormy16.h: Likewise. | |
712 | ||
cc8a6dd0 KH |
713 | 2002-05-09 Kazu Hirata <kazu@cs.umass.edu> |
714 | ||
715 | * config/obj-coff.c: Fix formatting. | |
716 | * config/obj-elf.c: Likewise. | |
717 | * config/tc-alpha.c: Likewise. | |
718 | * config/tc-arm.c: Likewise. | |
719 | * config/tc-d10v.c: Likewise. | |
720 | * config/tc-d30v.c: Likewise. | |
721 | * config/tc-h8300.c: Likewise. | |
722 | * config/tc-hppa.c: Likewise. | |
723 | ||
412167cb AM |
724 | 2002-05-09 Alan Modra <amodra@bigpond.net.au> |
725 | ||
726 | * config/tc-i386.c (md_estimate_size_before_relax) Don't lose | |
727 | reloc when no_cond_jump_promotion. | |
728 | ||
91975467 JW |
729 | 2002-05-08 Jim Wilson <wilson@redhat.com> |
730 | ||
731 | * config/tc-i960.c (md_estimate_size_before_relax): Return size of | |
732 | current variable part of frag. | |
733 | ||
a1b6236b KH |
734 | 2002-05-08 Kazu Hirata <kazu@cs.umass.edu> |
735 | ||
736 | * config/tc-mmix.c: Fix formatting. | |
737 | * config/tc-mmix.h: Likewise. | |
738 | ||
c8615825 AM |
739 | 2002-05-08 Alan Modra <amodra@bigpond.net.au> |
740 | ||
741 | * configure: Regenerate. | |
742 | ||
8a104df9 KH |
743 | 2002-05-07 Kazu Hirata <kazu@cs.umass.edu> |
744 | ||
745 | * config/tc-m68k.c: Fix formatting. | |
746 | ||
d3d8a9ee NC |
747 | 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> |
748 | ||
749 | * Makefile.am: Honour DESTDIR. | |
750 | * Makefile.in: Regenerate. | |
751 | ||
40449e9f KH |
752 | 2002-05-06 Kazu Hirata <kazu@cs.umass.edu> |
753 | ||
754 | * config/tc-ia64.c: Fix formatting. | |
755 | * config/tc-ia64.h: Likewise. | |
756 | ||
98d3f06f KH |
757 | 2002-05-04 Kazu Hirata <kazu@cs.umass.edu> |
758 | ||
759 | * config/tc-mips.c: Fix formatting. | |
760 | * config/tc-s390.c: Likewise. | |
761 | * config/tc-s390.h: Likewise. | |
762 | ||
8f5b2891 AO |
763 | 2002-05-03 Alexandre Oliva <aoliva@redhat.com> |
764 | ||
765 | * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number | |
766 | information for instructions. | |
767 | ||
d1a6c242 KH |
768 | 2002-05-02 Kazu Hirata <kazu@cs.umass.edu> |
769 | ||
770 | * as.h: Fix formatting. | |
771 | * cgen.c: Likewise. | |
772 | * cgen.h: Likewise. | |
773 | * dwarf2dbg.c: Likewise. | |
774 | * frags.h: Likewise. | |
775 | * gasp.c: Likewise. | |
776 | * macro.c: Likewise. | |
777 | * read.c: Likewise. | |
778 | * stabs.c: Likewise. | |
779 | * symbols.c: Likewise. | |
780 | ||
1cfc59d5 AM |
781 | 2002-05-02 Alan Modra <amodra@bigpond.net.au> |
782 | ||
72297628 AM |
783 | * app.c (mri_pseudo): Only declare for TC_M68K. |
784 | ||
1cfc59d5 AM |
785 | * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL. |
786 | (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with | |
787 | BFD_RELOC_16_BASEREL. | |
788 | (md_assemble): Likewise. | |
789 | (md_apply_fix3): Likewise. | |
790 | ||
358b94bd NC |
791 | 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com> |
792 | ||
793 | * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of | |
794 | zero into an add of zero - it is not the same. | |
795 | ||
d8731e7d NC |
796 | 2002-05-01 Arati Dikey <aratid@kpit.com> |
797 | ||
798 | * tc-sh.c (get_specific): Generate warning if the same | |
799 | destination register is used in parallel instructions. | |
800 | ||
200dbde8 AM |
801 | 2002-05-01 Andrew Macleod <amacleod@cygnus.com> |
802 | ||
803 | * config/tc-i386.c (extra_symbol_chars): Add '[' to the list. | |
804 | ||
3f3cdb03 AM |
805 | 2002-05-01 Alan Modra <amodra@bigpond.net.au> |
806 | ||
807 | * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org | |
808 | backwards to prevent cascading errors. | |
809 | ||
9b2b7d69 MM |
810 | 2002-04-30 Mark Mitchell <mark@codesourcery.com> |
811 | ||
812 | * configure.in: Add support for powerpc-*-windiss. | |
813 | * configure: Regenerated. | |
a2c36061 | 814 | |
0f3f3d8b AM |
815 | 2002-04-28 Alan Modra <amodra@bigpond.net.au> |
816 | ||
819e6420 AM |
817 | * config/tc-s390.c (md_parse_option): Formatting. |
818 | ||
0f3f3d8b AM |
819 | * config/tc-i386.c: Formatting fixes, add missing space in error |
820 | message. | |
821 | ||
3c25c5f6 NC |
822 | 2002-04-24 Christian Groessler <chris@groessler.org> |
823 | ||
824 | * config/tc-z8k.c (build_bytes): Add support for new cases: | |
825 | CLASS_IGNORE and ARG_NIM4. | |
826 | (md_assemble): Prevent destruction of input_line_pointer if | |
827 | get_operands returns failure. | |
828 | ||
af55c2e6 CD |
829 | 2002-04-24 Chris G. Demetriou <cgd@broadcom.com> |
830 | ||
831 | * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D | |
832 | instructions to be generated by macros. | |
833 | ||
062cd5e7 AS |
834 | 2002-04-24 Andreas Schwab <schwab@suse.de> |
835 | ||
836 | * config/tc-i386.c (output_jump, output_disp) | |
837 | (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any | |
838 | more. | |
839 | (md_apply_fix3): Remember addend value for rela relocations. | |
840 | (tc_gen_reloc): Correctly compute pc-relative relocation addend. | |
841 | ||
2b2e39bf CD |
842 | 2002-04-22 Chris Demetriou <cgd@broadcom.com> |
843 | ||
844 | * config/tc-mips.c (macro_build): Add close-parenthesis missing | |
845 | from previous change. | |
846 | ||
80cc45a5 EC |
847 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
848 | ||
2b2e39bf CD |
849 | * config/tc-mips.c (macro_build): Add warning if macro instructions |
850 | are expanded into a branch delay slot. | |
80cc45a5 | 851 | |
ffa554ed GK |
852 | 2002-04-17 Geoffrey Keating <geoffk@redhat.com> |
853 | ||
854 | * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line | |
855 | numbers, gdb relies on them to detect the start of the prologue. | |
856 | ||
302576af MS |
857 | 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com> |
858 | ||
859 | * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to | |
860 | symbols in merge sections. | |
861 | ||
0f3f3d8b | 862 | 2002-04-16 Alan Modra <amodra@bigpond.net.au> |
091e58c1 AM |
863 | |
864 | * as.c (main): Don't reference _bfd_chunksize. | |
865 | ||
76b999d0 TR |
866 | 2002-04-15 Tom Rix <trix@redhat.com> |
867 | ||
80cc45a5 | 868 | * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to |
76b999d0 TR |
869 | symbols in merge sections. |
870 | ||
580a832e RS |
871 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
872 | ||
873 | * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document. | |
874 | * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an | |
875 | argument for the precision. | |
876 | (gen_to_words): Update accordingly. | |
877 | ||
edde18a5 AM |
878 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
879 | ||
880 | * as.c (parse_args <OPTION_VERSION>): Use VERSION is | |
881 | BFD_VERSION_STRING unavailable. | |
882 | * config/tc-i386.c (INLINE): Define (for non-BFD assembler). | |
883 | ||
6c6783ff | 884 | 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com> |
5bcd00a6 JR |
885 | |
886 | * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if | |
887 | symbol_used_in_reloc_p is true. | |
2ed5f585 JR |
888 | |
889 | * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big | |
890 | endian hosts. | |
891 | ||
8e42bcb6 AM |
892 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
893 | ||
894 | * dep-in.sed: Cope with absolute paths. | |
895 | * Makefile.am (dep.sed): Subst TOPDIR. | |
896 | Run "make dep-am". | |
897 | * Makefile.in: Regenerate. | |
898 | ||
874e8986 TS |
899 | 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
900 | ||
901 | * config/tc-mips.c (mips16_macro_build): Cast type mismatch. | |
902 | (mips_ip): Remove unused variable. | |
903 | (md_apply_fix3): Cast signed/unsignes mismatches. Replace | |
904 | unsigned char with bfd_byte. | |
905 | (s_file): Remove unused variable. | |
906 | (s_mips_ent): Likewise. | |
907 | ||
fbdbf472 TR |
908 | 2002-04-03 Tom Rix <trix@redhat.com> |
909 | ||
910 | * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where. | |
911 | (build_insn): Same. | |
912 | (find_opcode): Fix warning in as_warn. | |
913 | * config/tc-d10v.h: Update Copyright. | |
914 | ||
915 | 2002-04-03 Alan Matsuoka <alanm@redhat.com> | |
916 | Tom Rix <trix@redhat.com> | |
917 | ||
918 | From Jeff Knaggs <jknaggs@redhat.com> | |
80cc45a5 | 919 | * config/tc-d10v.c (check_resource_conflict): New function to |
fbdbf472 TR |
920 | check for resource conflicts. |
921 | ||
922 | From Jason Eckhardt <jle@redhat.com> | |
a2c36061 AM |
923 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or |
924 | imm3 fields. | |
925 | * config/tc-d10v.c (find_opcode): Emit a warning if one of the | |
926 | reserved control registers is used. | |
927 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or | |
928 | imm3 fields. | |
fbdbf472 TR |
929 | |
930 | From 2001-03-28 Diego Novillo <dnovillo@redhat.com> | |
a2c36061 AM |
931 | * tc-d10v.c (parallel_ok): Prevent packing only if the first |
932 | instruction cannot be packed. | |
fbdbf472 TR |
933 | |
934 | From 2001-03-30 Diego Novillo <dnovillo@redhat.com> | |
a2c36061 AM |
935 | * gas/config/tc-d10v.c (check_resource_conflict): Only check |
936 | write-write conflicts. | |
937 | (md_assemble): Reformat introductory comment. | |
938 | * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its | |
939 | arguments. | |
fbdbf472 | 940 | |
784b640d AM |
941 | 2002-04-03 Alan Modra <amodra@bigpond.net.au> |
942 | ||
943 | * symbols.c (resolve_symbol_value <O_uminus, O_bit_not, | |
944 | O_logical_not>): Derive final_seg from add_symbol. | |
945 | <O_multiply..O_logical_or>: More final_seg twiddles. | |
946 | ||
5f44c186 RH |
947 | 2002-04-01 Jessica Han <jessica@cup.hp.com> |
948 | ||
a2c36061 | 949 | * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc |
5f44c186 RH |
950 | in 32-bit mode. |
951 | ||
3458b54c AS |
952 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
953 | ||
954 | * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of | |
955 | field for pc-relative fixups. | |
956 | (output_disp): Likewise. | |
957 | (md_estimate_size_before_relax): Likewise. | |
958 | (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for | |
959 | pc-relative fixups in 64bit mode. | |
960 | ||
815b453c AM |
961 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
962 | ||
963 | * config/te-aix5.h: Typo fix. | |
964 | ||
d5b32339 AM |
965 | 2002-03-21 Alan Modra <amodra@bigpond.net.au> |
966 | ||
967 | * Makefile.am: Run "make dep-am". | |
968 | * Makefile.in: Regenerate. | |
969 | * doc/Makefile.in: Regenerate. | |
970 | ||
f201ccb3 NC |
971 | 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com> |
972 | ||
973 | * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo | |
974 | (vfp_sp_reg_pos -> vfp_dp_reg_pos). | |
975 | ||
177b4a6a AO |
976 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
977 | ||
978 | * config/tc-mips.c (md_estimate_size_before_relax): Do not modify | |
979 | the EXTENDED bit here; report the estimate according to the | |
980 | current size. | |
981 | ||
eb1e0e80 NC |
982 | 2002-03-18 Tom Rix <trix@redhat.com> |
983 | ||
984 | * configure.in: Add AIX 5 support. | |
985 | * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target. | |
986 | * config/te-aix5.h: New file. AIX 5 support. | |
987 | * configure: Regenerate. | |
988 | ||
a1c259a1 NC |
989 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
990 | ||
991 | * po/fr.po: Updated version. | |
992 | ||
949f2b5c AJ |
993 | 2002-03-16 Andreas Jaeger <aj@suse.de> |
994 | ||
995 | * doc/c-mips.texi (Machine Dependencies): Add new node. | |
996 | ||
1f25f5d3 CD |
997 | 2002-03-15 Chris G. Demetriou <cgd@broadcom.com> |
998 | ||
999 | * config/tc-mips.c (mips_set_options): New "ase_mips3d" member. | |
1000 | (mips_opts): Initialize "ase_mips3d" member. | |
1001 | (file_ase_mips3d): New variable. | |
1002 | (CPU_HAS_MIPS3D): New macro. | |
1003 | (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d | |
1004 | based on command line options and configuration defaults. | |
1005 | (macro_build, mips_ip): Accept MIPS-3D instructions if | |
1006 | mips_opts.ase_mips3d is set. | |
1007 | (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option): | |
1008 | Add support for "-mips3d" and "-no-mips3d" options. | |
1009 | (OPTION_ELF_BASE): Move to accomodate new options. | |
1010 | (s_mipsset): Support ".set mips3d" and ".set nomips3d". | |
1011 | (mips_elf_final_processing): Add a comment indicating that a | |
1012 | MIPS-3D ASE ELF header flag should be set, when one exists. | |
1013 | * doc/as.texinfo: Document -mips3d and -no-mips3d options. | |
1014 | * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set | |
1015 | nomips3d" directives. | |
949f2b5c | 1016 | |
2be11e7e HPN |
1017 | 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com> |
1018 | ||
1019 | * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider | |
1020 | a weak symbol in same section to be within reach. | |
1021 | ||
9ce88e60 NC |
1022 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
1023 | ||
1024 | * po/fr.po: Updated version. | |
1025 | ||
1e16b528 AS |
1026 | 2002-03-12 Andreas Schwab <schwab@suse.de> |
1027 | ||
1028 | * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a | |
1029 | body record so that an error is given for misplaced .save | |
1030 | pseudo-ops. | |
1031 | ||
29b0f896 AM |
1032 | 2002-03-09 Alan Modra <amodra@bigpond.net.au> |
1033 | ||
1034 | * config/tc-i386.h (REX_OPCODE): Define. | |
1035 | (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define. | |
1036 | (rex_byte): typedef to int. | |
1037 | * config/tc-i386.c: Group prototypes and vars together. | |
1038 | Formatting fixes. Remove occurrences of "register" keyword. | |
1039 | (true): Delete. | |
1040 | (false): Delete. | |
1041 | (mode_from_disp_size): Add INLINE keyword to prototype. | |
1042 | (fits_in_signed_byte): Likewise. | |
1043 | (fits_in_unsigned_byte): Likewise. | |
1044 | (fits_in_unsigned_word): Likewise. | |
1045 | (fits_in_signed_word): Likewise. | |
1046 | (fits_in_unsigned_long): Likewise. | |
1047 | (fits_in_signed_long): Likewise. | |
1048 | (type_names): Constify. | |
1049 | (intel_float_operand): Constify param. | |
1050 | (add_prefix): Use REX_OPCODE. | |
1051 | (md_assemble): Likewise. Modify for changed rex_byte. | |
1052 | (parse_insn): Split out of md_assemble. | |
1053 | (parse_operands): Likewise. | |
1054 | (swap_operands): Likewise. | |
1055 | (optimize_imm): Likewise. | |
1056 | (optimize_disp): Likewise. | |
1057 | (match_template): Likewise. | |
1058 | (check_string): Likewise. | |
1059 | (process_suffix): Likewise. | |
1060 | (check_byte_reg): Likewise. | |
1061 | (check_long_reg): Likewise. | |
1062 | (check_qword_reg): Likewise. | |
1063 | (check_word_reg): Likewise. | |
1064 | (finalize_imm): Likewise. | |
1065 | (process_operands): Likewise. | |
1066 | (build_modrm_byte): Likewise. | |
1067 | (output_insn): Likewise. | |
1068 | (output_branch): Likewise. | |
1069 | (output_jump): Likewise. | |
1070 | (output_interseg_jump): Likewise. | |
1071 | (output_disp): Likewise. | |
1072 | (output_imm): Likewise. | |
1073 | ||
2e64b665 DJ |
1074 | 2002-03-07 Daniel Jacobowitz <drow@mvista.com> |
1075 | ||
1076 | * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo. | |
1077 | ||
937149dd AM |
1078 | 2002-03-06 Alan Modra <amodra@bigpond.net.au> |
1079 | ||
1080 | * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte | |
1081 | relocs except when BFD64. | |
1082 | ||
1083 | * write.c (number_to_chars_bigendian): Don't abort when N is | |
1084 | larger than sizeof (VAL). | |
1085 | (number_to_chars_littleendian): Likewise. | |
1086 | ||
40d74fb1 JL |
1087 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1088 | ||
1089 | * config/tc-hppa.c (md_apply_fix3): Add cast. | |
1090 | (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and | |
1091 | e_rrsel. | |
1092 | ||
cd3cde86 AM |
1093 | 2002-03-05 Paul Koning <pkoning@equallogic.com> |
1094 | ||
1095 | * tc-pdp11.c: Use VAX float format support for PDP-11 target. | |
1096 | (parse_ac5): New function for parsing float regs in float operand. | |
1097 | (parse_expression): Remove attempt to make literals be octal. | |
1098 | (parse_op_no_deferred): Support float literals. | |
1099 | (parse_op): Reject attempts to refer to float regs. | |
1100 | (parse_fop): New function, like parse_op but for float operand. | |
949f2b5c | 1101 | (md_assemble): Add cases to parse float operands. Also fix |
cd3cde86 AM |
1102 | IMM3, IMM6, IMM8 cases to pick up the operand from the right spot. |
1103 | ||
e9682144 L |
1104 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
1105 | ||
1106 | * config/obj-elf.c (special_section): Add .init_array, | |
1107 | .fini_array and .preinit_array. | |
1108 | ||
1109 | * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove | |
1110 | .init_array and .fini_array. | |
1111 | ||
26eb4093 JJ |
1112 | 2002-03-01 Jakub Jelinek <jakub@redhat.com> |
1113 | ||
1114 | * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy | |
1115 | visibility. | |
1116 | (obj_frob_symbol): Copy visibility. | |
1117 | ||
559e22f3 JJ |
1118 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
1119 | ||
1120 | * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not | |
1121 | s_text. | |
1122 | (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data. | |
1123 | ||
ef412327 NC |
1124 | 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com> |
1125 | ||
1126 | * po/es.po: Updated. | |
1127 | ||
b25a253c CD |
1128 | 2002-02-26 Chris Demetriou <cgd@broadcom.com> |
1129 | ||
1130 | * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC | |
1131 | only, undo the changes made on 2001-06-08, with the | |
1132 | effect being that common or extern symbols are | |
1133 | adjusted for embedded-PIC, but weak symbols are not. | |
1134 | (md_estimate_size_before_relax: Likewise, with the effect | |
1135 | that extern symbols are treated the same as weak symbols | |
1136 | only if not embedded-PIC. | |
1137 | (mips_fix_adjustable) Likewise, with the effect that | |
1138 | weak or extern symbols are not adjusted for embedded-PIC. | |
1139 | (md_apply_fix3): Tweak so that the case where value is zero | |
1140 | is handled more correctly for embedded-PIC code. | |
1141 | ||
fe41178f NC |
1142 | 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com> |
1143 | ||
587fe2b3 NC |
1144 | * doc/as.texinfo (Overview): Add missing @ifset IA64 |
1145 | ||
fe41178f NC |
1146 | * configure.in (LINGUAS): Add es.po. |
1147 | * configure: Regenerate. | |
1148 | * po/es.po: New file. | |
1149 | ||
4d34fb5f TS |
1150 | 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1151 | ||
1152 | * config/tc-mips.c (set_at): Fix handling of 64bit register loads. | |
1153 | (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC | |
1154 | and NO_PIC cases. Code cleanup. | |
1155 | (macro2): Fix handling of 64bit register loads. | |
1156 | ||
9e32ca89 NC |
1157 | 2002-02-25 David Mosberger <davidm@hpl.hp.com> |
1158 | ||
1159 | * doc/as.texinfo: Add entry for IA64. | |
1160 | * doc/c-ia64.texi: New file. | |
1161 | ||
23e1d84c AM |
1162 | 2002-02-25 Alan Modra <amodra@bigpond.net.au> |
1163 | ||
c7d004c5 AM |
1164 | * config/tc-hppa.c: Update copyright date. |
1165 | ||
1166 | * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400 | |
23e1d84c AM |
1167 | Remove references to chip manufacturers. |
1168 | * config/tc-ppc.c (md_parse_option): Handle -mpower4 option. | |
1169 | Correct comments. | |
1170 | (md_show_usage): Remove references to chip manufacturers. Mention | |
1171 | -mpower4. | |
1172 | (md_begin): Test power4 opcode flag bits. | |
1173 | ||
b1c6bf70 | 1174 | 2002-02-22 David Mosberger <davidm@hpl.hp.com> |
6290819d NC |
1175 | |
1176 | * config/tc-ia64.c (dot_restore): Issue error message of epilogue | |
1177 | count exceeds prologue count. | |
1178 | (md_show_usage): Describe -mconstant-gp and -mauto-pic. | |
1179 | (unwind.label_prologue_count): New member. | |
1180 | ||
1181 | Based on a patch by Hans Boehm <hboehm@hpl.hp.com>: | |
1182 | ||
1183 | (get_saved_prologue_count): New function. | |
1184 | (save_prologue_count): New function. | |
1185 | (free_saved_prologue_count): New function. | |
1186 | (dot_label_state): Record state label by calling save_prologue_count(). | |
1187 | (dot_copy_state): Restore prologue count by calling | |
1188 | get_saved_prologue_count(). | |
1189 | (generate_unwind_image): Free up list of saved prologue | |
1190 | counts by calling free_saved_prologue_counts(). | |
1191 | ||
f1e7a2c9 NC |
1192 | 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com> |
1193 | ||
1194 | * config/tc-tic54x.c: Add missing prototypes and remove ANSI style | |
1195 | function declarations. | |
1196 | ||
3f965e60 NC |
1197 | 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com> |
1198 | ||
1199 | * NEWS: Note that GASP is now deprecated. | |
1200 | * Makefile.am: Do not build gasp-new by default. | |
1201 | * Makefile.in: Regenerate. | |
1202 | * doc/Makefile.am: Do not install gasp.info. | |
1203 | * doc/Makefile.in: Regenerate. | |
1204 | * gas/gasp.texi: Note that gasp is now deprecated. | |
1205 | ||
9a66911f NC |
1206 | 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> |
1207 | ||
1208 | * NEWS: Mark 2.12 branch. | |
1209 | ||
f88fd9fe TT |
1210 | 2002-02-19 Tom Tromey <tromey@redhat.com> |
1211 | ||
1212 | * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. | |
1213 | ||
da0e507f TS |
1214 | 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1215 | ||
1216 | * config/tc-mips.c (md_parse_option): Complain about invalid -mabi | |
1217 | option input. | |
1218 | ||
ff0fb565 MS |
1219 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1220 | ||
1221 | * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64. | |
1222 | Make bit size independent of architecture switch. | |
1223 | (md_begin): Add warning for -m64 with -Aesa. | |
1224 | (s390_md_end): Use renamed architecture defines. | |
1225 | ||
a245a9aa DJ |
1226 | 2002-02-18 Daniel Jacobowitz <drow@mvista.com> |
1227 | ||
1228 | * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh. | |
1229 | ||
8bf549a8 NC |
1230 | 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com> |
1231 | ||
1232 | * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used | |
1233 | instead of CRIS. | |
1234 | ||
9151e8bf CD |
1235 | 2002-02-15 Chris Demetriou <cgd@broadcom.com> |
1236 | ||
a2c36061 | 1237 | * config/tc-mips.c (md_estimate_size_before_relax): Really |
9151e8bf CD |
1238 | make sure we treat weak like extern only for ELF. (Fixes |
1239 | patch from 2001-07-25.) | |
1240 | ||
59455fb1 BE |
1241 | 2002-02-15 Ben Elliston <bje@redhat.com> |
1242 | ||
1243 | * doc/as.texinfo: Add duplicate directory entry so that "info gas" | |
1244 | works as expected. | |
1245 | ||
49fda6c8 HPN |
1246 | 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> |
1247 | ||
1248 | * NEWS: Mention support for MMIX. | |
1249 | ||
2d2bf3e0 CD |
1250 | 2002-02-13 Chris Demetriou <cgd@broadcom.com> |
1251 | ||
1252 | * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into | |
1253 | a sequence of indpendent 'if' statements for easier debugging | |
1254 | and future modification. | |
1255 | ||
76f57f3a JT |
1256 | 2002-02-13 Matt Fredette <fredette@netbsd.org> |
1257 | ||
1258 | * config/tc-m68k.c (md_show_usage): No longer display a | |
1259 | hard-coded "68020" for the default CPU, instead display the | |
1260 | canonical name of the true, configured default CPU. | |
1261 | (m68k_elf_final_processing): Mark objects for sub-68020 | |
1262 | CPUs with the new EF_M68000 flag. | |
1263 | ||
3bf057fa AS |
1264 | 2002-02-13 Andreas Schwab <schwab@suse.de> |
1265 | ||
1266 | * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust | |
1267 | pc-relative relocations to merge sections in 64-bit mode. | |
1268 | ||
6334e312 | 1269 | 2002-02-13 Ben Elliston <bje@redhat.com> |
1ac57253 BE |
1270 | |
1271 | * NEWS: Document floating point number handling in gasp. | |
1272 | * gasp.c: Include <assert.h> and "xregex.h". | |
1273 | (is_flonum): New function. | |
1274 | (chew_flownum): Likewise. | |
1275 | (change_base): Consume flonums from the input, where possible. | |
1276 | * doc/gasp.texi (Constants): Document floating point numbers. | |
1277 | ||
3dcfe21d AM |
1278 | 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1279 | ||
1280 | * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types | |
1281 | that implicitly use LR and RR selectors. | |
1282 | ||
913572ec AO |
1283 | 2002-02-12 Alexandre Oliva <aoliva@redhat.com> |
1284 | ||
1285 | * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc' | |
1286 | and `epsw' as available on AM33 and above only. | |
1287 | (other_register_name): Add logic to handle machine type encoded in | |
1288 | reg_number. | |
1289 | ||
9b90b531 TR |
1290 | 2002-02-11 Tom Rix <trix@redhat.com> |
1291 | ||
949f2b5c | 1292 | * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for |
9b90b531 TR |
1293 | xcoff64. |
1294 | ||
6c6783ff | 1295 | 2002-06-11 Alexandre Oliva <aoliva@redhat.com> |
6c1b24e4 AO |
1296 | |
1297 | * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. | |
1298 | Use all over. | |
1299 | ||
6c6783ff | 1300 | 2002-02-11 Jan Hubicka <jh@suse.cz> |
7ecd2f8b JH |
1301 | |
1302 | * i386.c (md_assemble): Support 32bit address prefix. | |
1303 | (i386_displacement): Likewise. | |
1304 | (i386_index_check): Accept 32bit addressing in 64bit mode. | |
1305 | ||
7eb27ef2 AO |
1306 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
1307 | ||
1308 | * config/tc-sh.c (dot): Removed unused function. | |
1309 | ||
fa702524 AM |
1310 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
1311 | ||
1312 | * Makefile.am: "make dep-am". | |
1313 | * Makefile.in: Regenerate. | |
1314 | * aclocal.m4: Regenerate. | |
1315 | * config.in: Regenerate. | |
1316 | * configure: Regenerate. | |
1317 | * doc/Makefile.in: Regenerate. | |
1318 | ||
625e1353 RH |
1319 | 2002-02-10 Richard Henderson <rth@redhat.com> |
1320 | ||
1321 | * doc/c-alpha.texi: New file. | |
1322 | * doc/Makefile.am (CPU_DOCS): Add it. | |
1323 | * doc/all.texi, doc/as.texinfo: Add hooks for Alpha. | |
1324 | ||
543833df RH |
1325 | 2002-02-09 Richard Henderson <rth@redhat.com> |
1326 | ||
1327 | * config/tc-alpha.c (O_samegp): New. | |
1328 | (USER_RELOC_P): Include it. | |
1329 | (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it. | |
1330 | (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP. | |
1331 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. | |
1332 | (alpha_validate_fix): New. | |
1333 | * config/tc-alpha.h (TC_VALIDATE_FIX): New. | |
1334 | ||
328eb32e HPN |
1335 | 2002-02-09 Hans-Peter Nilsson <hp@axis.com> |
1336 | ||
1337 | * doc/c-cris.texi: New. | |
1338 | * doc/all.texi: @set CRIS. | |
1339 | * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview. | |
1340 | Include c-cris.texi. | |
1341 | * doc/Makefile.am (CPU_DOCS): Add c-cris.texi | |
1342 | * doc/Makefile.in: Regenerate. | |
1343 | ||
6373ee54 CD |
1344 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
1345 | ||
1346 | * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to | |
1347 | determine if a number is a sign-extended 32-bit number. | |
1348 | (load_register): Use IS_SEXT_32BIT_NUM. | |
1349 | (macro): Check if load/store macro handling is using a | |
1350 | constant 32-bit address on 64-bit address systems, and if | |
1351 | so optimize the generation of that address. | |
1352 | ||
50a4c611 RH |
1353 | 2002-02-08 Richard Henderson <rth@redhat.com> |
1354 | ||
1355 | * config/tc-alpha.c (alpha_force_relocation): Don't assert that | |
1356 | we've eliminated all foreign relocation types yet. | |
1357 | (alpha_fix_adjustable): Likewise. | |
1358 | ||
324bfcf3 AO |
1359 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
1360 | ||
1361 | Contribute sh64-elf. | |
1362 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> | |
1363 | Stephen Clarke <Stephen.Clarke@st.com> | |
1364 | * doc/c-sh64.texi: Fix citation of SH64 architecture manual. | |
1365 | 2002-01-31 Alexandre Oliva <aoliva@redhat.com> | |
1366 | * config/tc-sh.c (md_relax_table): Added default sizes for | |
1367 | non-PC-relative UNDEF_MOVI, and relaxation sequences for | |
1368 | MOVI_16, MOVI_32 and MOVI_48. | |
1369 | * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. | |
1370 | (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI | |
1371 | and MOVI_16. | |
1372 | (shmedia_md_estimate_size_before_relax): Remove redundant | |
1373 | blocks. Set fragP->fr_var even if relaxation type unchanged. | |
1374 | Retain UNDEF_MOVI until expression decays to number. | |
1375 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
1376 | * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC | |
1377 | relocation types. Take fixP->fx_addnumber into account too. | |
1378 | (shmedia_md_apply_fix): Likewise. | |
1379 | (shmedia_md_convert_frag): Likewise. | |
1380 | (shmedia_build_Mytes): Likewise. | |
1381 | (sh64_consume_datalabel): Complain about nested datalabel. | |
1382 | Support PIC relocs. Call sh_parse_name. | |
1383 | * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition | |
1384 | in tc-sh.h to SHmedia reloc types. | |
1385 | * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, | |
1386 | MOVI_GOTPC): New relaxation constants. | |
1387 | (md_relax_table): Introduce relaxation directives for PIC-related | |
1388 | constants. | |
1389 | (sh_PIC_related_p): Handle datalabel. | |
1390 | (sh_check_fixup): Choose SH5 PIC relocations. | |
1391 | (sh_cons_fix_new): Added BDF_RELOC_64. | |
1392 | (md_apply_fix3, sh_parse_name): Handle GOTPLT. | |
1393 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
1394 | * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the | |
1395 | current ISA is SHmedia, get 7 bytes. | |
1396 | 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com> | |
1397 | * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a | |
1398 | void function. | |
1399 | * config/tc-sh64.c (shmedia_apply_fix): Rename to | |
1400 | shmedia_apply_fix3 and make void. | |
1401 | 2001-05-17 Alexandre Oliva <aoliva@redhat.com> | |
1402 | * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to | |
1403 | as_bad. | |
1404 | 2001-04-12 Alexandre Oliva <aoliva@redhat.com> | |
1405 | * config/tc-sh64.h (md_parse_name): Take &c as argument. | |
1406 | 2001-03-14 DJ Delorie <dj@redhat.com> | |
1407 | * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi | |
1408 | * doc/Makefile.in(CPU_DOCS): Ditto. | |
1409 | * doc/c-sh64.texi: New file. | |
1410 | * doc/as.texinfo: Add SH64 support. | |
1411 | 2001-03-13 DJ Delorie <dj@redhat.com> | |
1412 | * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to | |
1413 | A_REUSE_PREV so that its purpose is more obvious. | |
1414 | (shmedia_build_Mytes): Ditto. | |
1415 | 2001-03-07 DJ Delorie <dj@redhat.com> | |
1416 | * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels | |
1417 | before processing. | |
1418 | (sh64_vtable_inherit): Ditto. | |
1419 | (strip_datalabels): New, strip "datalabel" from given line. | |
1420 | * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable | |
1421 | pseudos. | |
1422 | 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
1423 | * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn | |
1424 | call ... | |
1425 | (shmedia_build_Mytes): ... to here. | |
1426 | 2001-03-06 DJ Delorie <dj@redhat.com> | |
1427 | * config/tc-sh.c: Remove sh64-specific uaquad now that there | |
1428 | is a generic one. | |
1429 | 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com> | |
1430 | * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. | |
1431 | * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn | |
1432 | address by one in call to dwarf2_emit_insn. | |
1433 | 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com> | |
1434 | Implement ".abi" pseudo and correct .cranges descriptors. Correct | |
1435 | alignment handling broken by imported changes. | |
1436 | * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. | |
1437 | (sh64_handle_align): Declare. | |
1438 | (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. | |
1439 | (sh64_max_mem_for_rs_align_code): Declare. | |
1440 | (enum sh64_isa_values): Moved here from tc-sh64.c. | |
1441 | (md_do_align): Define. | |
1442 | (sh64_do_align): Declare. | |
1443 | (struct sh64_tc_frag_data): New. | |
1444 | (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users | |
1445 | changed. | |
1446 | (TC_FRAG_INIT): Change to set new datatype. | |
1447 | (struct sh64_segment_info_type): Rename member | |
1448 | last_flushed_location to last_contents_mark. All users changed. | |
1449 | (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. | |
1450 | (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. | |
1451 | * config/tc-sh.c (md_pseudo_table): Add ".abi". | |
1452 | (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead | |
1453 | of unsetting seen_insn. | |
1454 | (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also | |
1455 | call sh64_update_contents_mark. | |
1456 | (sh_handle_align): Remove HAVE_SH64-conditioned code. | |
1457 | * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to | |
1458 | enum sh64_isa_values. | |
1459 | (sh64_set_contents_type): Drop segT parameter. All callers changed. | |
1460 | (emitting_crange): Boolean guard moved to file scope from function | |
1461 | scope in sh64_set_contents_type. | |
1462 | (s_sh64_abi): New. | |
1463 | (sh64_update_contents_mark): New; most split out from | |
1464 | sh64_flush_pending_output. | |
1465 | (shmedia_md_end): Call sh64_update_contents_mark. Set | |
1466 | sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. | |
1467 | (sh64_do_align): New function. | |
1468 | (sh64_max_mem_for_rs_align_code): New function. | |
1469 | (sh64_handle_align): Rename from shmedia_do_align. Make | |
1470 | non-static. Add head comment. Emit zero bytes for n bytes modulo | |
1471 | four. Change return-type to void. | |
1472 | (shmedia_elf_new_section): Remove. | |
1473 | (shmedia_md_assemble): Call sh64_update_contents_mark. | |
1474 | (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make | |
1475 | new frag. Call sh64_update_contents_mark after making the new | |
1476 | frag. | |
1477 | (sh64_flush_pending_output): Just call sh64_update_contents_mark | |
1478 | and sh_flush_pending_output. | |
1479 | (sh64_flag_output): Also call md_flush_pending_output, but add | |
1480 | condition on not emitting_crange. | |
1481 | (sh64_tc_cons_fix_new): Remove. | |
1482 | 2001-01-12 Nick Clifton <nickc@redhat.com> | |
1483 | * config/tc-sh64.c (shmedia_do_align): Fix to work with new | |
1484 | alignment handling scheme imported from sourceware. | |
1485 | 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
1486 | * config/tc-sh64.h (TARGET_FORMAT): Define. | |
1487 | (sh64_target_format): Prototype. | |
1488 | * config/tc-sh64.c (sh64_target_mach): New function. | |
1489 | 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
1490 | * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use | |
1491 | zero_address_frag instead of copying the frag of the symbol. | |
1492 | (shmedia_frob_file_before_adjust): Ditto. | |
1493 | (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask | |
1494 | to valueT to remove signedness. | |
1495 | (shmedia_md_convert_frag): Add parameter final. Rename parameter | |
1496 | headers to output_bfd. Do not evaluate symbols if final is false; | |
1497 | do emit fixups. | |
1498 | (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32, | |
1499 | UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative | |
1500 | to the current frag, call shmedia_md_convert_frag to emit fixups | |
1501 | and make frag_wane neutralize the frag. Update comments. | |
1502 | * config/tc-sh.c (md_convert_frag): Change caller of | |
1503 | shmedia_md_convert_frag. | |
1504 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
1505 | * config/tc-sh64.h: Tweak comments and correct formatting. | |
1506 | * config/tc-sh64.c: Ditto. | |
1507 | (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit | |
1508 | expansion, MOVI pcrel expansion>: Fix thinko calculating offset | |
1509 | for the no-relocation case. | |
1510 | (shmedia_check_limits): Fix range check being off-by-one for PTA. | |
1511 | * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef | |
1512 | wrappers. | |
1513 | (SH64PCREL16_F): Increment for proper max-PTA handling. Update | |
1514 | comment. | |
1515 | (SH64PCREL16_M, MOVI_16_M): Correct range thinko. | |
1516 | (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of | |
1517 | expansion. | |
1518 | (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. | |
1519 | Correct comment. | |
1520 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
1521 | * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case | |
1522 | BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1. | |
1523 | (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et | |
1524 | al>: Set lowest bit of field to relocate to 1 and rest to empty, | |
949f2b5c | 1525 | if reloc is emitted. |
324bfcf3 AO |
1526 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> |
1527 | New options plus bugfixes. | |
1528 | * config/tc-sh.c (md_longopts): New options "-no-expand" and | |
1529 | "-expand-pt32". | |
1530 | (md_parse_option): Handle new options. | |
1531 | (md_show_usage): Add blurb for new options. | |
1532 | * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. | |
1533 | (sh64_expand, sh64_pt32): New variables. | |
1534 | (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. | |
1535 | (shmedia_md_apply_fix): Hold original fixP->fx_r_type in | |
1536 | orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into | |
1537 | BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. | |
1538 | <resolved previously-pc-relative relocs>: Handle | |
1539 | SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. | |
1540 | (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16), | |
1541 | case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand | |
1542 | points to SHcompact code. | |
1543 | <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64, | |
1544 | SH64PCREL16)>: Check that ISA of what operand points at and | |
1545 | PTA/PTB matches, or emit error. | |
1546 | (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and | |
1547 | SHMEDIA_BFD_RELOC_PT. | |
1548 | (shmedia_immediate_op): If pcrel, emit fixup also for constant | |
1549 | operand. | |
1550 | (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in | |
1551 | condition for MOVI expansion. | |
1552 | <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if | |
1553 | sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not | |
1554 | sh64_expand. | |
1555 | <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT | |
1556 | fixup. | |
1557 | (sh64_target_format): Error-check setting of sh64_pt32 and | |
1558 | sh64_expand. Fix typo in check for sh64_shcompact_const_crange. | |
1559 | (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and | |
1560 | SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. | |
1561 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> | |
1562 | * config/tc-sh64.c: Improve comments. | |
1563 | (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do | |
1564 | not say the linker will check correctness of PTA/PTB expansion. | |
1565 | (shmedia_md_end): Make non-static. | |
1566 | * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add | |
1567 | prototype. | |
1568 | * config/tc-sh.c (sh_finalize): Remove. | |
1569 | * config/tc-sh.h (md_end): Do not define. | |
1570 | Remove prototype for sh_finalize. | |
1571 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
1572 | * config/tc-sh64.c (shmedia_frob_section_type): Use a struct | |
1573 | sh64_section_data container when storing section type in tdata | |
1574 | field in elf_section_data. | |
1575 | * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to | |
1576 | EF_SH5. | |
1577 | * Makefile.am: Update dependencies. | |
1578 | * Makefile.in: Regenerate. | |
1579 | 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com> | |
1580 | * config/tc-sh64.c (shmedia_md_assemble): Don't protect | |
1581 | dwarf2_emit_insn call with test on debug_type. | |
1582 | 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> | |
1583 | * config/tc-sh64.c (sh64_set_contents_type): Make contents-type | |
1584 | CRT_SH5_ISA32 sticky for 64-bit. | |
1585 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> | |
1586 | Generate .crange sections when switching ISA mode or emitting | |
1587 | constants in same section as code. | |
1588 | * config/tc-sh64.c: Reformat structure definitions. | |
1589 | (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New | |
1590 | variables. | |
1591 | (sh64_set_contents_type): Rename from sh64_init_section. Rewrite | |
1592 | to emit a .cranges descriptor when contents type changes. Only | |
1593 | emit error if changing contents type and -no-mix is in effect. | |
1594 | (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, | |
1595 | sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. | |
1596 | (shmedia_md_end): Set sh64_end_of_assembly. Pass | |
1597 | sh64_flush_last_crange over sections. | |
1598 | When checking main symbol of datalabel symbol, check for | |
1599 | STO_SH5_ISA32, not ISA type of section in definition. | |
1600 | (shmedia_frob_file_before_adjust): Check main symbol for | |
1601 | STO_SH5_ISA32; don't check ISA type of section in definition. | |
1602 | (shmedia_frob_section_type): Adjust for .cranges; set section flag | |
1603 | to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether | |
1604 | .cranges entries have been output. | |
1605 | (shmedia_elf_new_section): Just call md_flush_pending_output. | |
1606 | (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE | |
1607 | fix. Do not set tc_segment_info_data.in_code for section. Call | |
1608 | sh64_set_contents_type for SHmedia code. | |
1609 | (s_sh64_mode): Do not call sh64_init_section or set seen_insn to | |
1610 | false. Call md_flush_pending_output. | |
1611 | (sh64_target_format): Check that -no-mix and | |
1612 | -shcompact-const-crange are used in sane combination with other | |
1613 | options. | |
1614 | (shmedia_md_pcrel_from_section): Check type of fix for how to | |
1615 | adjust pc-relative. | |
1616 | (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, | |
1617 | not ISA type of section in definition. | |
1618 | * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to | |
1619 | hold contents-type state. | |
1620 | (md_flush_pending_output): Redefine to sh64_flush_pending_output. | |
1621 | (sh64_flush_pending_output): Declare. | |
1622 | (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. | |
1623 | (sh64_tc_cons_fix_new): Declare. | |
1624 | * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and | |
1625 | call sh64_flag_output. | |
1626 | (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just | |
1627 | call sh64_set_contents_type to mark SHcompact code and set | |
1628 | seen_insn. | |
1629 | (md_longopts): New options "-no-mix" and | |
1630 | "-shcompact-const-crange". | |
1631 | (md_parse_option): Handle new options. | |
1632 | (md_show_usage): Add blurb for new options. | |
1633 | (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. | |
1634 | 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> | |
1635 | * config/tc-sh64.c: Delete investigated and obsolete fixme:s. | |
1636 | (sh64_last_insn_frag): New. | |
1637 | (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag | |
1638 | to get frag for insn opcode for generating fixups; do not assume it | |
1639 | is the same frag. | |
1640 | (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag | |
1641 | for new insn. | |
1642 | * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges | |
1643 | section. | |
1644 | (TC_FRAG_TYPE): Define as fragS *. | |
1645 | (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. | |
1646 | (sh64_last_insn_frag): Declare. | |
1647 | (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, | |
1648 | not == NULL before dereferencing. | |
1649 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
1650 | Get rid of BFD section flag and EF_SH64_ABI64. | |
1651 | * config/tc-sh64.c (shmedia_frob_section_type): Use | |
1652 | elf_section_data (sec)->tdata, not a specific BFD section flag, to | |
1653 | communicate the section as containing SHmedia code. Describe why. | |
1654 | * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set | |
1655 | EF_SH64 regardless of ABI. | |
1656 | * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" | |
1657 | in error message. Handle resolved expressions for | |
1658 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, | |
1659 | BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. | |
1660 | (shmedia_check_limits): Handle BFD_RELOC_64. | |
1661 | (sh64_adjust_symtab): Do not decrement the GAS symbol value for | |
1662 | a STO_SH5_ISA32 symbol, only the BFD value. | |
1663 | 2000-12-11 Ben Elliston <bje@redhat.com> | |
1664 | * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct | |
1665 | dwarf2_generate_asm_lineno. | |
1666 | 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com> | |
1667 | Handle PC-relative MOVI expansions with assembler relaxation. | |
1668 | Generate PC-relative relocs from 16-bit PC-relative expressions. | |
1669 | * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... | |
1670 | (shmedia_md_pcrel_from_section): ...here. | |
1671 | (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has | |
1672 | turned completely resolved. Adjust relocation type for 16-bit | |
1673 | immediate operands that has turned PC-relative. Adjust back for | |
1674 | MD_PCREL_FROM_SECTION being applied twice. | |
1675 | (shmedia_md_convert_frag): Always emit reloc for expression with | |
1676 | global or weak symbol. Handle relaxation result for PC-relative | |
1677 | expressions. | |
1678 | (shmedia_md_estimate_size_before_relax): An expression with a weak | |
1679 | or global symbol can not be relaxed. Break out tests for | |
1680 | relaxable symbol into variable sym_relaxable. | |
1681 | <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32, | |
1682 | UNDEF_MOVI)>: Break out any PC-relative expression and change | |
1683 | relaxation type. | |
1684 | (shmedia_build_Mytes): CSE &operands->operands[j] into variable | |
1685 | opjp. | |
1686 | <case A_IMMS16>: Fix typo for initial minor relaxation type of | |
1687 | MOVI expansion. If X_op_symbol of the immediate expression is | |
1688 | set, make an expression symbol for the argument to frag_var. | |
1689 | * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New | |
1690 | relaxations. | |
1691 | (END): Adjust for new relaxations. | |
1692 | (md_relax_table): Add entries for new relaxations. | |
1693 | 2000-12-07 Ben Elliston <bje@redhat.com> | |
1694 | * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. | |
1695 | 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
1696 | * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and | |
1697 | SHORI operand offsets in PT/PTA/PTB expansions. | |
1698 | 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
1699 | Implement DataLabel semantics. | |
1700 | * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call | |
1701 | shmedia_frob_file_before_adjust. | |
1702 | * config/tc-sh64.c [! OBJ_ELF]: Emit #error. | |
1703 | (DATALABEL_SUFFIX): Define. | |
1704 | (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk | |
1705 | symbol list to update "datalabel" symbols to their main symbol | |
1706 | counterparts. | |
1707 | (shmedia_frob_file_before_adjust): New. | |
1708 | (sh64_adjust_symtab): For remaining datalabel symbols, set to | |
1709 | undefined and set STT_DATALABEL. | |
1710 | (sh64_frob_label): Initialize TC symbol field. | |
1711 | (sh64_consume_datalabel): Actually implement semantics. New | |
1712 | parameter operandf, call it instead of expression. | |
1713 | (sh64_exclude_symbol): New. | |
1714 | * config/tc-sh64.h (md_parse_name): Pass on the function operand | |
1715 | to sh64_consume_datalabel. | |
1716 | (tc_symbol_new_hook): Define to tc_frob_symbol. | |
1717 | (TC_SYMFIELD_TYPE): Define to symbolS *. | |
1718 | (tc_frob_symbol): Define to call sh64_exclude_symbol. | |
1719 | 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> | |
1720 | * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default | |
1721 | case. | |
1722 | (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if | |
1723 | generating dwarf2 debug information. | |
1724 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
1725 | * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and | |
1726 | elf64-sh64 for the 64-bit ABI. | |
1727 | * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* | |
1728 | option. | |
1729 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> | |
1730 | * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for | |
1731 | case-insensitivity. | |
1732 | 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> | |
1733 | * config/tc-sh64.c: Tweak comments, formatting and error messages. | |
1734 | (enum sh64_abi_values): New type. | |
1735 | (enum sh64_isa_values): New type. | |
1736 | (sh64_isa_mode): Replace shmedia_mode. All referers changed. | |
1737 | (seen_shcompact_mode, seen_shmedia_mode): Delete. | |
1738 | (sh64_abi): Replace shmedia_64. | |
1739 | (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64), | |
1740 | C (MOVI_IMM_32, MOVI_32)>: Correct register number handling. | |
1741 | (s_sh64_mode): Check validity for this target. | |
1742 | (sh64_target_format): Initialize defaults for ISA and ABI. | |
1743 | Fallback to old object format if no SH64 ISA or ABI has been | |
1744 | specified. | |
1745 | * config/tc-sh.c (md_parse_option): Check combinations for errors. | |
1746 | (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit | |
1747 | ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. | |
1748 | * config/tc-sh64.h: Fix typo in comment. | |
1749 | 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> | |
1750 | * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) | |
1751 | <PT fixups for absolute values>: Size will be longest, not | |
1752 | shortest. | |
1753 | (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct | |
1754 | all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. | |
1755 | * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 | |
1756 | and l1 to hold lowercase of two first characters. Change all | |
1757 | remaining TO_LOWER to tolower. | |
1758 | * config/tc-sh64.c (TO_LOWER): Delete. | |
1759 | (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. | |
1760 | (md_parse_name): Define. | |
1761 | (sh64_consume_datalabel): Declare. | |
1762 | (DOLLAR_DOT): Define. | |
1763 | * config/tc-sh64.c (shmedia_parse_exp): New. | |
1764 | (sh64_consume_datalabel): New; just ignoring datalabel semantics. | |
1765 | (shmedia_parse_reg): Remove const from src | |
1766 | parameter. | |
1767 | (shmedia_get_operands): Ditto for args parameter and ptr variable. | |
1768 | (shmedia_md_assemble): Ditto for op_end variable. | |
1769 | (shmedia_get_operand): Ditto for ptr parameter and src variable. | |
1770 | Use shmedia_parse_exp, not parse_exp. | |
1771 | * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type | |
1772 | parameter. All callers changed. | |
1773 | (shmedia_get_operand): Add shmedia_arg_type parameter. All | |
1774 | callers changed. | |
1775 | (shmedia_parse_reg): Put first two character in local variables. | |
1776 | Use tolower, not TO_LOWER. If no register is found and argtype | |
1777 | indicates a control register, scan shmedia_creg_table | |
1778 | case-insensitive. | |
1779 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> | |
1780 | * Makefile.am (CPU_TYPES): Add sh64. | |
1781 | (TARGET_CPU_CFILES): Add config/tc-sh64.c. | |
1782 | (TARGET_CPU_HFILES): Add config/tc-sh64.h. | |
1783 | Regenerate dependencies. | |
1784 | * Makefile.in: Regenerate. | |
1785 | * configure.in: Add support for sh64-*-elf*. | |
1786 | * configure: Regenerate. | |
1787 | * config/tc-sh64.h: New. | |
1788 | * config/tc-sh64.c: New. | |
1789 | * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos | |
1790 | .mode, .isa and .uaquad. | |
1791 | [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, | |
1792 | SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. | |
1793 | [HAVE_SH64] (END): Define as 10. | |
1794 | [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, | |
1795 | SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, | |
1796 | MOVI_64): Define. | |
1797 | [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, | |
1798 | SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, | |
1799 | SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, | |
1800 | MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): | |
1801 | Define. | |
1802 | (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. | |
1803 | (md_begin) [HAVE_SH64]: Call shmedia_md_begin. | |
1804 | (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. | |
1805 | (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling | |
1806 | SHmedia instructions. Handle state-change after switching to | |
1807 | SHcompact. | |
1808 | (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. | |
1809 | (md_parse_option) [HAVE_SH64]: Parse new options. | |
1810 | (md_show_usage) [HAVE_SH64]: Show usage of new options. | |
1811 | (md_convert_frag) [HAVE_SH64] <default>: Call | |
1812 | shmedia_md_convert_frag instead of abort. | |
1813 | (sh_force_relocation) [HAVE_SH64]: Also force relocation for | |
1814 | BFD_RELOC_SH_SHMEDIA_CODE. | |
1815 | (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying | |
1816 | SHcompact or SHmedia code. | |
1817 | (md_apply_fix) [HAVE_SH64] <default>: Return result from calling | |
1818 | shmedia_md_apply_fix instead of abort. | |
1819 | (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return | |
1820 | result from calling shmedia_md_estimate_size_before_relax instead | |
1821 | of calling abort. | |
1822 | (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align | |
1823 | do the work. | |
1824 | (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call | |
1825 | shmedia_init_reloc and do nothing more if it returns non-zero. | |
1826 | (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. | |
1827 | * po/POTFILES.in: Regenerate. | |
1828 | * po/gas.pot: Regenerate. | |
1829 | ||
ac3f04d7 AO |
1830 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
1831 | ||
6b32719e AO |
1832 | * config/tc-sh.c (parse_at): Install the correct version of |
1833 | 2002-02-04's patch. | |
949f2b5c | 1834 | |
ac3f04d7 AO |
1835 | * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't |
1836 | assume fixP->fx_subsy is non-NULL. | |
1837 | ||
7679ead9 AO |
1838 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> |
1839 | ||
1840 | * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to | |
fdf4122d | 1841 | A_DISP_PC_ABS, and adjust it by -4. |
7679ead9 AO |
1842 | (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is |
1843 | expected. | |
1844 | (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if | |
1845 | the operand type is not A_DISP_PC_ABS. | |
1846 | ||
5459d7a0 HPN |
1847 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
1848 | ||
1849 | * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of | |
1850 | common and weak symbols. Handle common and weak symbols as | |
1851 | undefined symbols with regards to GREG handling and merging. | |
1852 | (mmix_frob_file): Ditto. | |
1853 | ||
006336b8 JT |
1854 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
1855 | ||
1856 | * configure.in (hppa-*-netbsd*): New target. | |
1857 | * configure: Regenerate. | |
1858 | * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. | |
1859 | ||
9e0665bc AM |
1860 | 2002-02-02 Alan Modra <amodra@bigpond.net.au> |
1861 | ||
1862 | * config/tc-v850.c: Add missing prototypes amd use old-style | |
1863 | function definitions. | |
1864 | (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. | |
1865 | (sdata_section tdata_section, zdata_section, sbss_section, | |
1866 | tbss_section, zbss_section, rosdata_section, rozdata_section, | |
1867 | scommon_section, tcommon_section, zcommon_section, | |
1868 | call_table_data_section, call_table_text_section): Delete. | |
1869 | (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, | |
1870 | v850_zbss, v850_bss, v850_rosdata, v850_rozdata, | |
1871 | v850_call_table_data, v850_call_table_text): Delete. | |
1872 | (struct v850_seg_entry): New. | |
1873 | (v850_seg_table): New. | |
1874 | (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, | |
1875 | TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, | |
1876 | ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, | |
1877 | CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. | |
1878 | (do_v850_seg): New. | |
1879 | (v850_seg): New. | |
1880 | (v850_comm): Use do_v850_seg and v850_seg_table. Simplify | |
1881 | recording of alignment. | |
1882 | (md_pseudo_table): Use v850_seg. | |
1883 | (md_begin): Don't init .call_table_data and .call_table_text here. | |
1884 | Set v850_seg_table bss entry. | |
1885 | ||
973eb340 HPN |
1886 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
1887 | ||
1888 | Support on-demand global register allocation by passing on | |
1889 | base-plus-offset relocs to the linker. | |
1890 | * config/tc-mmix.c: Tweak and fix typos in comments. | |
949f2b5c | 1891 | (allocate_undefined_gregs_in_linker): New variable. |
973eb340 HPN |
1892 | (OPTION_LINKER_ALLOCATED_GREGS): New option macro. |
1893 | (md_longopts): Add --linker-allocated-gregs. | |
1894 | (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs. | |
1895 | <case OPTION_LINKER_ALLOCATED_GREGS>: New. | |
1896 | (md_show_usage): Update text for -x. Add text for | |
1897 | --linker-allocated-gregs. | |
1898 | (tc_gen_reloc): Derive default value for addend from val and | |
1899 | baddsy. Use addsec and bfd_is_abs_section in more places. Don't | |
1900 | emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable | |
1901 | GREG if allocate_undefined_gregs_in_linker. | |
1902 | * doc/as.texinfo (Overview) <Target MMIX options>: Add | |
1903 | --linker-allocated-gregs. | |
1904 | * doc/c-mmix.texi (MMIX-Opts): Add blurb about | |
1905 | --linker-allocated-gregs. Mention that it's implied by -x. | |
1906 | (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted. | |
1907 | (MMIX-mmixal): Clarify dated comparison and location of MMIXware. | |
1908 | ||
1909 | * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper. | |
1910 | ||
ba323545 AM |
1911 | 2002-02-01 Alan Modra <amodra@bigpond.net.au> |
1912 | ||
1913 | * Makefile.am: Run "make dep-am" | |
1914 | * Makefile.in: Regenerate. | |
1915 | ||
3b16e843 NC |
1916 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
1917 | ||
1918 | * config/tc-or32.c: New file. | |
1919 | * config/tc-or32.h: New file. | |
1920 | * configure.in: Add support for or32 targets. | |
1921 | * configure: Regenerate. | |
1922 | * config/obj-coff.c: Add support for or32 targets. | |
1923 | * config/obj-coff.h: Add support for or32 targets. | |
1924 | * Makefile.am: Add support for or32 targets. | |
1925 | * Makefile.in: Regenerate. | |
1926 | * NEWS: Mention support for OpenRISC. | |
1927 | * doc/Makefile.in: Regenerate. | |
1928 | * po/POTFILES.in: Regenerate. | |
1929 | * po/gas.pot: Regenerate. | |
1930 | ||
912a07db RS |
1931 | 2002-01-30 Richard Sandiford <rsandifo@redhat.com> |
1932 | ||
1933 | * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy | |
1934 | and mod. | |
1935 | ||
4514d474 CD |
1936 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
1937 | ||
1938 | * config/tc-mips.c (tc_gen_reloc): Arrange for | |
1939 | BFD_RELOC_PCREL_HI16_S relocations to be output relative to | |
1940 | their LO16 parts, even for ELF. | |
1941 | ||
246fcdee DJ |
1942 | 2002-01-29 Daniel Jacobowitz <drow@mvista.com> |
1943 | ||
1944 | * config/tc-i386.c: Protect definitions of true and false | |
1945 | from redefinition. | |
1946 | ||
00e6e13d JJ |
1947 | 2002-01-28 Jakub Jelinek <jakub@redhat.com> |
1948 | ||
1949 | * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols | |
1950 | made because of .weak, if they are neither defined nor used in any | |
1951 | way. | |
1952 | ||
4867be41 DJ |
1953 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
1954 | ||
1955 | * configure: Regenerated. | |
1956 | ||
7562a296 HPN |
1957 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
1958 | ||
1959 | * doc/Makefile.am (install): Depend on install-info. | |
1960 | * doc/Makefile.in: Regenerate. | |
1961 | ||
1caa7b23 NC |
1962 | 2002-01-26 Nick Clifton <nick@redhat.com> |
1963 | ||
1964 | * po/fr.po: Updated version | |
1965 | ||
166e23f9 KH |
1966 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
1967 | ||
1968 | * config/tc-h8300.c (check_operand): Don't print a warning | |
1969 | when a valid 24-bit address is given to a 16-bit address | |
1970 | operand. | |
1971 | ||
538cd60f AO |
1972 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
1973 | ||
1974 | * config/tc-sh.c (sh_elf_suffix): Removed. | |
1975 | (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new, | |
1976 | sh_end_of_match, sh_parse_name): New functions. | |
1977 | (sh_elf_cons): Simplify. | |
1978 | (parse_exp): Reject misplaced PIC operands. | |
1979 | (md_undefined_symbol): Simplify. | |
1980 | (sh_fix_adjustable): Let @GOTOFF be adjusted. | |
1981 | (md_apply_fix3): Write @PLT and @GOTOFF addends in place. | |
1982 | (tc_gen_reloc): Move fixp subsy absolute value into addnumber. | |
1983 | Complain if subsy remains at the end. | |
1984 | * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare. | |
1985 | (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define. | |
1986 | ||
b386f24b AO |
1987 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
1988 | ||
1989 | * config/tc-mn10300.c (xr_registers): Move `pc'... | |
1990 | (other_registers): ... here. | |
1991 | ||
c46f0c34 AM |
1992 | 2002-01-22 Alan Modra <amodra@bigpond.net.au> |
1993 | ||
1994 | * Makefile.am: Run "make dep-am". | |
1995 | * Makefile.in: Regenerate. | |
1996 | * gas/po/POTFILES.in: Regenerate. | |
1997 | ||
23deb923 DD |
1998 | 2002-01-21 DJ Delorie <dj@redhat.com> |
1999 | ||
2000 | * config/obj-coff.c (obj_coff_init_stab_section): Make the | |
2001 | stabstr_name allocation permanent, as it will be referenced from | |
2002 | the section hash. | |
2003 | ||
9596feea JT |
2004 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
2005 | ||
2006 | * configure.in (ia64-*-netbsd*): New target. | |
949f2b5c | 2007 | * configure: Regenerate. |
9596feea | 2008 | |
92081f48 HPN |
2009 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
2010 | ||
2011 | * doc/as.texinfo (Overview) <Target ARM options>: Add missing {} | |
2012 | to @dots call. | |
2013 | <Detailed description, ARM options>: Ditto. | |
2014 | * doc/c-arm.texi (ARM Options): Ditto. | |
2015 | ||
63e63b07 RE |
2016 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
2017 | ||
2018 | * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from | |
2019 | do_mia, do_mar and do_mra respectively. | |
2020 | (do_mav_*): Renamed from do_c_*. | |
2021 | (mav_reg_required_here, mav_parse_offset): Renamed from | |
2022 | cirrus_reg_required_here and cirrus_parse_offset respectively. | |
2023 | (MAV_MODE?): Renamed from CIRRUS_MODE?. | |
2024 | ||
ea6ef066 RE |
2025 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
2026 | Keith Walker <keith.walker@arm.com> | |
2027 | ||
2028 | * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. | |
2029 | (insns): Add pattern for bxj instruction. | |
2030 | (do_bxj): New function. | |
2031 | (arm_cpus): Add arm926ej. | |
2032 | (arm_archs): Add armv5tej. | |
2033 | ||
bc89618b RE |
2034 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
2035 | ||
2036 | * doc/c-arm.texi: Add new fpe options to list of supported flags. | |
2037 | ||
d193a22a RE |
2038 | 2002-01-19 Keith Walker <keith.walker@arm.com> |
2039 | ||
2040 | * tc-arm.c (arm_fpus): Add fpe2 and fpe3. | |
2041 | ||
03b1477f RE |
2042 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
2043 | ||
2044 | * NEWS: Mention new ARM command-line options and VFP support. | |
2045 | ||
949f2b5c | 2046 | * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All |
03b1477f RE |
2047 | uses changed. |
2048 | (ARM_CEXT_MAVERICK): Similarly. | |
2049 | (ARM_ANY): Now means any core instruction. | |
2050 | (CPU_DEFAULT): Default to ARM_ANY. | |
2051 | (uses_apcs_26, atcps, support_interwork, uses_apcs_float) | |
2052 | (pic_code): Declare for all object types. Make type int. | |
2053 | (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) | |
2054 | (march_fpu_opt, mfpu_opt): Declare. | |
2055 | (md_longopts): Tidy up conditional definitions. | |
2056 | (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) | |
2057 | (arm_long_opts): New tables. | |
2058 | (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. | |
2059 | (arm_parse_extension): New function. | |
2060 | (md_parse_option): Rewrite using new table-driven system. | |
2061 | (md_show_usage): Use new table-driven system. | |
2062 | (md_begin): Calculate cpu_variant from command line option data. | |
2063 | * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific | |
2064 | command-line options. | |
2065 | * doc/c-arm.texi: Likewise. | |
2066 | ||
2a538ba5 AJ |
2067 | 2002-01-18 Andreas Jaeger <aj@suse.de> |
2068 | ||
2069 | * as.c (parse_args): Update year. | |
2070 | ||
b1ffc257 | 2071 | 2002-01-17 Timothy Wall <twall@alum.mit.edu> |
2a538ba5 | 2072 | |
b1ffc257 TW |
2073 | * config/tc-tic54x.c (encode_address): Add a more informative |
2074 | warning about incorrect syntax. | |
2075 | ||
328577ad NC |
2076 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
2077 | ||
2078 | * po/gas.pot: Regenerate. | |
2079 | ||
06f030db NC |
2080 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
2081 | ||
2082 | * macro.c (get_any_string): Add no-c-format comment to prevent | |
2083 | confusion when translating string. | |
2084 | * gasp.c (get_any_string): Add no-c-format comment to prevent | |
2085 | confusion when translating string. | |
2086 | ||
394f9b3a TS |
2087 | 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2088 | Johannes Stezenbach <js@convergence.de> | |
2089 | * config/tc-mips.c (percent_op): Ensure longer percent_op's are | |
2090 | matched before the shorter ones. | |
2091 | (my_getSmallParser): Fix handling of nested parentheses in | |
2092 | percent_op's. Code cleanup. | |
2093 | (my_getPercentOp): New function, code from my_getSmallParser. | |
2094 | (my_getSmallExpression): Fix handling of closing parentheses. | |
2095 | Code cleanup. Better comments. | |
2096 | ||
af3ae48d NC |
2097 | 2002-01-16 Nick Clifton <nickc@redhat.com> |
2098 | ||
2099 | po/tr.po: New file: Turkish translation. | |
2100 | configure.in (LINGUAS): Add "tr". | |
2101 | configure: Regenerate. | |
2102 | ||
bfae80f2 RE |
2103 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
2104 | ||
2105 | Support for VFP instructions | |
2106 | * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines. | |
2107 | (cp_address_required_here): New argument wb_ok. When false, do not | |
2108 | accept write-back forms of addressing. Change all callers. | |
2109 | (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1) | |
2110 | (FPU_VFP_EXT_V2): Define. | |
2111 | (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2): | |
2112 | Define in terms of above. | |
2113 | (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums. | |
2114 | (vfp_reg): New struct. | |
2115 | (vfp_regs): New array of registers. | |
2116 | (insns): Add VFP instructions. | |
2117 | (sn_table): New array of VFP single-precision register names. | |
2118 | (dn_table): New array of VFP double-precision register names. | |
2119 | (all_reg_maps): Add the new register tables. | |
2120 | (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX. | |
2121 | (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic) | |
2122 | (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic) | |
2123 | (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg) | |
2124 | (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg) | |
2125 | (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here) | |
2126 | (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst) | |
2127 | (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm) | |
2128 | (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia) | |
2129 | (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb) | |
2130 | (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt) | |
2131 | (do_vfp_sp_dp_cvt): New functions. | |
2132 | (md_begin): Set soft-float flag for appropriate VFP work. | |
2133 | (md_atof): Handle VFP-format doubles. | |
2134 | (md_parse_option): Handle VFP command-line options. | |
2135 | (md_show_usage): Display VFP command-line options. | |
2136 | ||
fcd6d8d6 RE |
2137 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
2138 | ||
2a538ba5 | 2139 | * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for |
fcd6d8d6 RE |
2140 | various command line options. |
2141 | ||
1f7fd478 NC |
2142 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
2143 | ||
2144 | * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix | |
2145 | vtinherit relocs. | |
2146 | (xstormy16_md_apply_fix3): Do not return a value. | |
2147 | ||
21f0f23a RE |
2148 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
2149 | ||
2150 | * tc-arm.c (md_longopts): On targets that aren't bi-endian, support | |
2151 | the -EL/-EB option that matches the target's endianness. | |
2152 | (md_parse_option): Likewise. | |
2153 | ||
ce058b6c RE |
2154 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
2155 | ||
2a538ba5 | 2156 | * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option |
ce058b6c RE |
2157 | is not dependent on ARM_BI_ENDIAN. |
2158 | ||
f03698e6 RE |
2159 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
2160 | ||
2161 | * tc-arm.c (all error messages): Normalize capitalization of messages. | |
2162 | ||
2163 | * tc-arm.h (md_operand): Delete define. | |
2164 | * tc-arm.c (in_my_get_expression): New static variable. | |
2165 | (my_get_expression): Set and clear it. | |
2166 | (md_operand): New function. If called from my_get_expression | |
2167 | put the error in inst.error. | |
2168 | (output_inst): Now takes argument of instruction being assembled. | |
2169 | Print it out with any error message. | |
2170 | (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store | |
2171 | with '=' syntax. | |
2172 | (end_of_line): Don't update inst.error if it is already set. | |
2173 | ||
e28cd48c RE |
2174 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
2175 | ||
2176 | * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo | |
2177 | op that can be translated into a mvn instruction. | |
2178 | ||
1cd8ff38 NC |
2179 | 2002-01-11 Steve Ellcey <sje@cup.hp.com> |
2180 | ||
2181 | * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for | |
2182 | setting default md.flags. | |
2183 | (SHT_INIT_ARRAY): New elf special section used by HP-UX. | |
2184 | (SHT_FINI_ARRAY): New elf special section used by HP-UX. | |
2185 | * gas/config/tc-ia64.c (setup_unwind_header): Add support | |
2186 | for 32 bit unwind info blocks. | |
2187 | (generate_unwind_image): Add support for different types | |
2188 | of unwind images (32 bits and/or big-endian). | |
2189 | (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags. | |
2190 | (ia64_target_format): Add support for hpux target formats. | |
2191 | (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC. | |
2192 | (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and | |
2193 | SHT_FINI_ARRAY elf section types. | |
2194 | ||
6c43fab6 RE |
2195 | 2002-01-10 Richard Earnshaw <rearnsha@arm.com> |
2196 | ||
2197 | * tc-arm.c (struct reg_entry): Move before prototypes. | |
2198 | (int_register, cp_register, fp_register): Delete. | |
2199 | (reg_table): Delete. Replaced with ... | |
2200 | (rn_table, cp_table, cn_table, fn_table, mav_mvf_table) | |
2201 | (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table) | |
2202 | (mav_dspsc_table): ... one table per register set. | |
2203 | (arm_reg_hsh): Delete. | |
2204 | (struct reg_map): New structure. | |
2205 | (all_reg_maps): New array. | |
2206 | (enum arm_reg_type): New enums. | |
2207 | (build_reg_hsh): New function. | |
2208 | (insert_reg_alias): Use hash table passed by caller. Adjust all | |
2209 | callers. | |
2210 | (create_register_alias): New function, split out from ... | |
2211 | (md_assemble): ... here. | |
2212 | (md_begin): Build new register hash tables. | |
2213 | (arm_reg_parse): New argument for the hash table to search. Adjust all | |
2214 | callers. | |
2215 | (arm_reg_parse_any): New function. | |
2216 | (co_proc_number): Look up the processor number in the processor hash | |
2217 | table. | |
2218 | (cirrus_regtype): Delete. | |
2219 | (cirrus_register, cirrus_mvf_register, cirrus_mvd_register) | |
2220 | (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register) | |
2221 | (ARM_EXT_MAVERICKsc_register): Delete. | |
2222 | (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete. | |
2223 | (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New | |
2224 | functions. | |
2225 | (do_c_triple_4, do_c_triple_5): Delete. | |
2226 | (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions. | |
2227 | (do_c_quad_6): Delete. | |
2228 | (do_c_quad_6[ab]): New functions. | |
2229 | (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework | |
2230 | arguments to use new register parsing methods. | |
2231 | (cirrus_reg_required_here): Likewise. | |
2232 | (insns): Reclassify cirrus maverick worker functions. | |
2233 | (cirrus_valid_reg): Delete. | |
2234 | ||
8d05742f JT |
2235 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
2236 | ||
2237 | * configure.in (sh*le): Set cpu_type=sh and endian=little. | |
2238 | (sh*-*-netbsdelf*): New target. | |
2239 | * configure: Regenerate. | |
2a538ba5 | 2240 | * tc-sh.h: Update copyright years. |
8d05742f JT |
2241 | (TARGET_FORMAT): Add version for TE_NetBSD. |
2242 | ||
ceac3f62 NC |
2243 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
2244 | ||
2245 | * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go | |
2246 | negative. | |
2247 | ||
d7861ad2 AM |
2248 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
2249 | ||
2250 | * config/tc-m68k.h (md_prepare_relax_scan): Rewrite. | |
2251 | * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment. | |
2252 | ||
7a621144 DJ |
2253 | 2002-01-05 Daniel Jacobowitz <drow@mvista.com> |
2254 | ||
2255 | * tc-mips.c (mips_cprestore_valid): New flag. | |
2256 | (mips_frame_reg_valid): New flag. | |
2257 | (macro) [M_JAL_2]: Check both flags. | |
2258 | [M_JAL_A]: Likewise. | |
2259 | (s_cprestore): Set mips_cprestore_valid. | |
2260 | (tc_get_register): If setting mips_frame_reg, set | |
2261 | mips_frame_reg_valid and clear mips_cprestore_valid. | |
2262 | (s_mips_ent): Clear both flags. | |
2263 | (s_mips_end): Clear both flags. | |
2264 | ||
7c6beb69 AM |
2265 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
2266 | ||
2267 | * write.c (write_object_file): Make use of bfd_section_list_remove. | |
2268 | * config/obj-ecoff.c (ecoff_frob_file): Likewise. | |
2269 | * config/tc-mmix.c (mmix_frob_file): Likewise. | |
2270 | ||
8a8b2d4b AJ |
2271 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
2272 | ||
2273 | * configure.in (i386-*-netbsdelf*): Collapse target into... | |
2274 | (i386-*-netbsd*): ...this. Add support for x86-64. | |
2275 | * configure: Regenerated. | |
2276 | ||
a09cf9bd MG |
2277 | 2002-01-03 matthew green <mrg@redhat.com> |
2278 | ||
2279 | * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific. | |
2280 | ||
23b7f870 NC |
2281 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
2282 | ||
2283 | * config/tc-m68k.c (md_estimate_size_before_relax): Test for a | |
2284 | NULL frag link. | |
2285 | ||
08d56133 NC |
2286 | For older changes see ChangeLog-0001 |
2287 | \f | |
2288 | Local Variables: | |
2289 | mode: change-log | |
2290 | left-margin: 8 | |
2291 | fill-column: 74 | |
2292 | version-control: never | |
2293 | End: |