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