From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
75c90d61
JL
1Wed Feb 28 15:38:56 1996 Jeffrey A Law (law@cygnus.com)
2
24b216e1
JL
3 * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
4 reduce relocs using e_nlrsel field selectors.
5
75c90d61
JL
6 * write.c (fix_new_exp): Don't use #elif. Some compilers
7 don't handle it.
83b59013
JL
8
9 * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
10 the selector table.
11 (pa_chk_field_selector): Handle new field selectors for SOM.
12
535cfd0f
ILT
13Tue Feb 27 14:42:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
14
15 * configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
16 * configure: Rebuild.
17 * config/te-linux.h (LOCAL_LABELS_FB): Define.
18 * config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
19 "a.out-m68k-linux".
20 * config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
21 is defined.
22
d214421e
SS
23Mon Feb 26 18:58:58 1996 Stan Shebs <shebs@andros.cygnus.com>
24
25 * mpw-make.sed: Update to handle shared library support.
26
110b814d
DE
27Mon Feb 26 10:34:10 1996 Doug Evans <dje@charmed.cygnus.com>
28
29 * config/tc-sparc.c (sparc_ip): Print all architectures that support
30 the insn on mismatch.
31
805e36ab
RS
32Fri Feb 23 21:44:39 1996 Rob Savoye <rob@chinadoll.cygnus.com>
33
34 * configure.in: Add support for a29-coff.
35 * configure: Rebuild.
36
e41ab2a6
ILT
37Thu Feb 22 16:39:43 1996 Ian Lance Taylor <ian@cygnus.com>
38
101a2346
ILT
39 * config/tc-sh.c (sh_coff_frob_file): Don't consider the address
40 of the section when looking for the R_SH_USES fixup, because the
41 frag addresses have not yet been adjusted.
42
940c413f
ILT
43 * gdbinit.in: Set a breakpoint on as_warn_where.
44
e41ab2a6
ILT
45 * config/tc-mips.c (macro): Add missing arguments to macro_build
46 omitted in last change. From Jim Wilson <wilson@cygnus.com>.
47
c6016ce2
ILT
48Wed Feb 21 17:00:32 1996 Ian Lance Taylor <ian@cygnus.com>
49
50 * config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
51 if it is TC_CONS_RELOC. Set a size of 4 to R_RELLONG.
52
b32fbe07
DE
53Wed Feb 21 09:25:39 1996 Doug Evans <dje@charmed.cygnus.com>
54
55 * config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.
56
2e5e6879
DE
57Tue Feb 20 21:48:03 1996 Doug Evans <dje@charmed.cygnus.com>
58
59 * config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
60 (sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
61 Recognize [uU] format args as sparclet cpregs.
62
8a2e1fdd
ILT
63Tue Feb 20 22:25:55 1996 Ian Lance Taylor <ian@cygnus.com>
64
65 * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
66 in bss_section.
67
21965655
ILT
68Mon Feb 19 14:16:24 1996 Ian Lance Taylor <ian@cygnus.com>
69
70 * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK as
71 well as S_IS_EXTERNAL.
72 (tc_fix_adjustable): Likewise.
73 * config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for
74 S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return
75 early.
76 (tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when
77 deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
78
d8b42b96
DE
79Mon Feb 19 02:15:57 1996 Doug Evans <dje@charmed.cygnus.com>
80
81 * config/tc-sparc.c (max_architecture): Change to sparclite for
82 32 bit arch.
83 (default_compatible): Delete.
84 (sparc_ffs): New function.
85 (md_begin): Only call SPARC_OPCODE_CONFLICT_P once.
86 (sparc_ip): Rewrite architecture match and bump logic.
87
7925f4d4
ILT
88Sun Feb 18 15:03:50 1996 Ian Lance Taylor <ian@cygnus.com>
89
90 * configure.in: Check for 'do not mix' from native linker before
91 trying to use -rpath.
92 * configure: Rebuild.
93
ef2074c2
ILT
94Fri Feb 16 16:53:31 1996 Ian Lance Taylor <ian@cygnus.com>
95
96 * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
97 (SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
98 (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
99 * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR
100 is set.
101 (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field
102 to the symbol lnnoptr field, to get the correct file offset.
103
28910c57
MM
104Thu Feb 15 14:48:38 1996 Michael Meissner <meissner@tiktok.cygnus.com>
105
106 * config/obj-elf.c (elf_frob_symbol): On the PowerPC, force all
107 symbols that are not function, file, or section symbols to be
108 object types.
109
7c2fadd1
ILT
110Thu Feb 15 11:20:18 1996 Ian Lance Taylor <ian@cygnus.com>
111
1a2f3c3f
ILT
112 * configure: Set and substitute RPATH_ENVVAR.
113 * configure: Rebuild.
114 * Makefile.in (RPATH_ENVVAR): New variable.
115 (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
116
7c2fadd1
ILT
117 * configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386
118 doesn't need opcodes. If configuring shared, opcodes needs bfd.
119 * configure: Rebuild.
120
8a6f53e9
ILT
121Wed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
122
123 * read.c (s_mri_sect): Don't return '\0' in type. Set all
124 appropriate flags in BFD section.
125
126 * configure.in (m68k-*-psos*): New target.
127 * configure: Rebuild.
128 * config/te-psos.h: New file.
129 * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
130 is defined.
131
fb251650
ILT
132Wed Feb 14 13:43:24 1996 Ian Lance Taylor <ian@cygnus.com>
133
ae09d880
ILT
134 From Alan Modra <alan@spri.levels.unisa.edu.au>:
135 * configure.in: Remove duplicate setting of cpu_type. Check
136 whether opcodes library is required for on all targets, not just
137 primary one.
138 * configure: Rebuild.
139
fb251650
ILT
140 * config/tc-mips.c (mips_big_got): New static variable.
141 (s_extern): Don't declare.
142 (reg_needs_delay): New static function.
143 (macro_build): Permit GOT/CALL_HI/LO relocs.
144 (macro_build_lui): If place is not NULL, use the number in the
145 expression.
146 (load_address): Handle mips_big_got case.
147 (macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and
148 store macros.
149 (OPTION_XGOT): Define.
150 (md_longopts): Add "xgot" if OBJ_ELF.
151 (md_parse_option): Handle -xgot.
152 (md_show_usage): Mention -xgot.
153 (md_apply_fix): Permit GOT/CALL_HI/LO relocs.
154 (tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
155
d9396c16
ILT
156Wed Feb 14 11:22:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
157
158 * config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing
159 the byte relocation, point it to the low byte of the word.
160
56f9773f
ILT
161Tue Feb 13 15:31:18 1996 Ian Lance Taylor <ian@cygnus.com>
162
163 * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
164 * configure: Rebuild.
165
63e4edb5
DE
166Mon Feb 12 15:53:46 1996 Doug Evans <dje@charmed.cygnus.com>
167
168 * configure.in: Recognize any sparc* cpu.
169 * configure: Regenerated.
170
15ed5f2c
ILT
171Mon Feb 12 15:41:21 1996 Ian Lance Taylor <ian@cygnus.com>
172
20710f1c
ILT
173 * read.c (potable): Add "mri" and ".mri".
174 (s_mri): New function.
175 * read.h (s_mri): Declare.
176 * app.c (scrub_m68k_mri): New static variable.
177 (mri_pseudo): New static variable.
178 (do_scrub_begin): Add m68k_mri parameter. Use it rather than
179 flag_m68k_mri. Initialize scrub_m68k_mri.
180 (mri_state, mri_last_ch): New static variables.
181 (struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch
182 fields.
183 (app_push): Save new fields.
184 (app_pop): Restore new fields.
185 (do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri.
186 If TC_M68K, use a trivial state machine to look for occurrences of
187 the .mri pseudo-op, and change the mode appropriately.
188 * as.h (do_scrub_begin): Update prototype.
189 * input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to
190 do_scrub_begin.
191 * config/tc-m68k.c (reg_prefix_optional_seen): New static
192 variable.
193 (m68k_mri_mode_change): New function.
194 (md_parse_option): Set reg_prefix_optional_seen.
195 * config/tc-m68k.h (m68k_mri_mode_change): Declare.
196 (MRI_MODE_CHANGE): Define.
197 * doc/as.texinfo: Document .mri pseudo-op.
198
15ed5f2c
ILT
199 * app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
200 comment character.
201
a043f579
ILT
202Mon Feb 12 15:16:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
203
204 Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
205 * config/m68k-parse.h (enum pic_relocation): Define.
206 (struct m68k_exp): Add pic_reloc field.
207 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
208 (tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
209 (NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
210 otherwise.
211 * config/tc-m68k.c: Delete definition of NO_RELOC.
212 (struct m68k_it): Add pic_reloc field.
213 (add_fix): Copy over pic_reloc field.
214 (md_pseudo_table): Interpret .align parameter as byte count.
215 (mote_pseudo_table): Likewise.
216 (tc_m68k_fix_adjustable): New function.
217 (get_reloc_code): New function.
218 (md_assemble): Use it as last argument to fix_new_exp.
219 (md_apply_fix_2): For a relocation against a symbol don't put the
220 addend into the data.
221 (tc_gen_reloc): Different addend computation for OBJ_ELF.
222 (m68k_ip): Don't relax an operand that requires pic relocation.
223 (md_begin): Align .text, .data and .bss on 4 byte boundary by
224 default.
225 * write.c (fixup_segment): Don't add symbol value to addend if
226 TC_M68K and OBJ_ELF.
227 * config/m68k-parse.y (yylex): Handle @PLTPC, etc.
228 (motorola_operand): Add rule for `(zapc, EXPR)'.
229
6ca1156d
ILT
230Mon Feb 12 10:07:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
231
232 * ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
233 *really* is permissible before the comma.
234
fcee3e24
ILT
235Mon Feb 12 00:12:13 1996 Ian Lance Taylor <ian@cygnus.com>
236
237 * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
238 inserting nop instructions.
239
3e1c964d
ILT
240Fri Feb 9 10:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
241
242 * config/te-aux.h: Change include of aux.h to aux-coff.h.
243
4080c270
ILT
244Thu Feb 8 20:02:58 1996 Ian Lance Taylor <ian@cygnus.com>
245
d782e3cc
ILT
246 * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
247 class setting for a CALLNAME symbol in COFF.
248
4080c270
ILT
249 * read.c (potable): Pass negative numbers for new .balign[wl] and
250 .p2align[wl] pseudo-ops.
251 (s_align_bytes): Treat a negative argument as specifying the fill
252 length.
253 (s_align_ptwo): Likewise.
254
1c9dbb83
ILT
255Wed Feb 7 14:12:03 1996 Ian Lance Taylor <ian@cygnus.com>
256
71dd3c40
ILT
257 * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
258 (do_align): Take new len parameter. Change all callers. Pass it
259 to md_do_align.
260 (s_align_bytes): Arg now indicates the length of the fill pattern.
261 (s_align_ptwo): Likewise.
262 * config/obj-coff.c (write_object_file): Pass length to
263 md_do_align.
264 * config/tc-i386.h (md_do_align): Take new len parameter.
265 * config/tc-m88k.h (md_do_align): Likewise.
266 * config/tc-m88k.c (m88k_do_align): Likewise.
267 * config/tc-sh.h (md_do_align): Likewise.
268 * config/tc-sh.c (sh_do_align): Likewise.
269 * doc/as.texinfo: Document new pseudo-ops.
270
271 * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
272 done in cvt_frag_to_fill.
273
9addcbb1
ILT
274 * config/tc-sh.h (sh_do_align): Declare.
275 (md_do_align): Define.
276 * config/tc-sh.c (sh_do_align): New function.
277
c15ea23a
ILT
278 * ecoff.c (ecoff_build_lineno): Don't try to store the address
279 difference if the next address is before the current one.
280
9e64486e
ILT
281 * config/tc-m68k.c (struct m68k_cpu): Add alias field.
282 (archs): Initialize new field.
283 (m68k_ip): Don't list alias names when listing CPUs which support
284 an instruction.
285
286 * as.c (main): Call parse_args before read_begin.
287 * app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
288 front of generated pseudo-ops.
289 * read.c (potable): Ignore "name".
290 (s_app_file): Permit a single quote after the string, since one
291 may appear in m68k MRI mode.
292
1c9dbb83
ILT
293 * configure.in: Check for --enable-shared. If linking against
294 shared BFD and opcodes, fix library name on SunOS, and try to set
295 -rpath reasonably.
296 * configure: Rebuild.
297
298Tue Feb 6 15:16:17 1996 Ian Lance Taylor <ian@cygnus.com>
299
300 * as.h (flag_m68k_mri): Declare.
301 * as.c (parse_args): If TC_M68K, set flag_m68k_mri for -M.
302 * Many files: For MRI syntax that is specific to the m68k MRI
303 assembler, check flag_m68k_mri rather than flag_mri or
304 MRI_MODE_NEEDS_PSEUDO_DOT.
305
dd1d79e8
ILT
306Mon Feb 5 16:29:11 1996 Ian Lance Taylor <ian@cygnus.com>
307
f9e90c2e
ILT
308 * config/tc-i960.c (ARCH_HX): Define.
309 (arch_tab): Add HX.
310 (targ_has_sfr): Handle ARCH_HX.
311 (targ_has_iclass): Handle ARCH_HX.
312 (tc_coff_fix2rtype): Add return 0 to avoid warning.
313 (tc_headers_hook): If the architecture was specified explicitly,
314 use it when setting the flags. Set the extern variable coff_flags
315 rather than headers->filehdr.f_flags, since the latter is set
316 unconditionally in obj-coff.c.
317 (i960_handle_align): Remove unused variable fixp.
318
dd1d79e8
ILT
319 Support for building bfd and opcodes as shared libraries, based on
320 patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
321 * configure.in: Set OPCODES and BFD to search directories.
322 Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS.
323 * configure: Rebuild.
324 * Makefile.in (LDFLAGS, HLDFLAGS): New variables.
325 (LIBDEPS): New variable.
326 (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use
327 $(HLDFLAGS) in link.
328 (check): Set LD_LIBRARY_PATH in the environment.
329
330Fri Feb 2 17:41:53 1996 Michael Meissner <meissner@wogglebug.tiac.net>
331
332 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Make .sdata2, .sbss2,
333 .PPC.EMB.sdata0, and .PPC.EMB.sbss0 sections all default to
334 read-only, not read/write.
335
e277d131
ILT
336Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
337
338 * Makefile.in (INSTALL_XFORM): Remove -e.
339
e24cf2b5
ILT
340Fri Feb 2 12:32:15 1996 Ian Lance Taylor <ian@cygnus.com>
341
342 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
343 than comparing S_GET_SEGMENT to undefined_section.
344 (write_object_file): Skip symbols which were equated to an
345 undefined or common symbol.
346 * symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
347 S_IS_COMMON rather than comparing S_GET_SEGMENT to
348 undefined_section.
349 (S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED
350 or S_IS_COMMON call S_GET_VALUE.
351 * config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
352 * config/obj-aout.c (obj_emit_relocations): If a reloc is equated
353 to an undefined or common symbol, convert the reloc to be against
354 the target symbol.
355 (obj_crawl_symbol_chain): Skip symbols which were equated to an
356 undefined or common symbol.
357 * config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
358 * config/obj-bout.c (obj_emit_relocations): If a reloc is equated
359 to an undefined or common symbol, convert the reloc to be against
360 the target symbol.
361 (obj_crawl_symbol_chain): Skip symbols which were equated to an
362 undefined or common symbol.
363 * config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
364 S_IS_COMMON rather than comparing S_GET_SEGMENT to
365 undefined_section.
366 (yank_symbols): Skip symbols which were equated to an undefined or
367 common symbol.
368
4d9e33e4
ILT
369Thu Feb 1 15:34:32 1996 Ian Lance Taylor <ian@cygnus.com>
370
9e396994
ILT
371 * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
372 * config/obj-bout.h (S_IS_LOCAL): Likewise.
373
4d9e33e4
ILT
374 * configure.in: Make sure we only add m68k-parse.o to
375 ${extra_objects} once, no matter how many m68k targets have been
376 enabled.
377 * configure: Rebuild.
378
0ff513d9
SC
379Wed Jan 31 18:31:46 1996 Steve Chamberlain <sac@slash.cygnus.com>
380
381 * configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.
382 * configure: Rebuild.
383
66b935da
ILT
384Wed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>
385
c174fb5c
ILT
386 * config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
387 * doc/c-m68k.texi: Document .extend and .ldouble.
388
66b935da
ILT
389 * configure.in (m68*-apple-aux*): New target.
390 * config/te-aux.h: New file.
391 * config/obj-coff.c (compare_external_relocs): New static function
392 if TE_AUX.
393 (do_relocs_for): Sort relocs if TE_AUX.
394 (fixup_segment): If TE_AUX, store common symbol value in segment.
395 * config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
396
30c2a08e
ILT
397Wed Jan 31 12:24:58 1996 Ian Lance Taylor <ian@cygnus.com>
398
9e396994 399 * config/obj-coff.h (S_IS_LOCAL): Check for \002 as well as \001.
615c0a79 400
30c2a08e
ILT
401 * config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
402 BSF_FUNCTION.
403 (s_cpload): Set BSF_OBJECT for _gp_disp symbol.
404 * read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
405 symbol.
406 * ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
407 (ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
408 an undefined symbol and the size of a function symbol.
409 * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
410 for all common symbols.
411
0e6f2f82
KR
412Tue Jan 30 12:35:24 1996 Ken Raeburn <raeburn@cygnus.com>
413
414 * config/tc-i960.c (parse_memop): In MRI mode, don't use implicit
415 scaling of index.
416
417 * expr.c (operand): Accept 0x hex constants in MRI mode if not on
418 m68k.
419
8e3ff081
ILT
420Mon Jan 29 12:21:30 1996 Ian Lance Taylor <ian@cygnus.com>
421
3e78d072
ILT
422 * config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
423 of object. From Ronald F. Guilmette <rfg@monkeys.com>.
424
8e3ff081
ILT
425 * ecoff.c (localsym_t): Add addend field.
426 (add_ecoff_symbol): Add addend argument. Change all callers.
427 (coff_sym_value): Make static.
428 (coff_sym_addend): New static variable.
429 (ecoff_directive_def): Initialize coff_sym_addend.
430 (ecoff_directive_val): Accept symbol + constant.
431 (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
432 (ecoff_build_symbols): Include the addend in the symbol value.
433
79edc846
KK
434Fri Jan 26 19:28:52 1996 Kim Knuttila <krk@cygnus.com>
435
436 * config/tc-ppc.c (md_assemble): Ignore overflow on
437 BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16.
438
439Fri Jan 26 16:14:17 1996 Michael Meissner <meissner@tiktok.cygnus.com>
440
441 * config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4
442 bytes in size, so offset appropriately in big endian mode when
443 writing the bottom 2 bytes.
444
6cbc4e35
DE
445Thu Jan 25 20:26:23 1996 Doug Evans <dje@charmed.cygnus.com>
446
447 * config/tc-sparc.c (default_compatible): New static local.
448 (md_begin): Initialize it. Rewrite warn_on_bump handling.
449 (sparc_ip): If no architecture or -bump specified, don't mark as
450 mismatched those in default_compatible.
451
4fe0fddd
ILT
452Thu Jan 25 12:21:53 1996 Ian Lance Taylor <ian@cygnus.com>
453
454 SCO ELF support from Robert Lipe <robertl@arnet.com>:
455 * configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
456 * configure: Rebuild.
457 * config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
458 * config/tc-i386.c (sco_id): New function, if SCO_ELF.
459 * config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
460 (sco_id): Declare if SCO_ELF.
461
e70ad5d5
DE
462Thu Jan 25 03:10:53 1996 Doug Evans <dje@charmed.cygnus.com>
463
464 * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
465 ({max,warn_after}_architecture): New static locals.
466 (md_begin): Replace NUMOPCODES with sparc_num_opcodes.
467 If both architecture and -bump requested, set max_architecture to max.
468 (sparc_md_end): Simplify.
469 (sparc_ip): Replace references to can_bump_v9_p with max_architecture.
470 Rewrite code to bump architecture and check for conflicts.
471 (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
472 with Solaris assembler.
473 (md_parse_option): Likewise. Call sparc_opcode_lookup_arch.
474 (md_show_usage): Update.
475
a8248831
DE
476Wed Jan 24 22:11:03 1996 Doug Evans <dje@charmed.cygnus.com>
477
478 * Makefile.in (RUNTEST): Fix reference to $${srcdir}.
479
6df07e7f
DE
480Mon Jan 22 09:21:36 1996 Doug Evans <dje@charmed.cygnus.com>
481
482 * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
483 #ifdef sparcv9 when choosing value.
484 (ENV64): Delete.
485 (md_end): Define.
486 (sparc_md_end): Declare.
487 * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
488 (initial_architecture): New static local.
489 (can_bump_v9_p): Likewise.
490 (NO_V9): Delete all occurrences.
491 (sparc_md_end): New function.
492 (sparc_ip): New local v9_arg_p. Rework fp reg number test.
493 Don't bump architecture to v9 unless can_bump_v9_p set.
494 (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
495 * configure.in (sparc64 target cpu): Don't set obj_format here.
496 (SPARC_V9): Renamed from sparcv9.
497 (sparc64-*-elf*): Define SPARC_ARCH64.
498 * configure: Regenerated.
499 * acconfig.h (SPARC_V9): Renamed from sparcv9.
500 (SPARC_ARCH64): Add.
7fcb3191 501 * conf.in: Regenerated.
6df07e7f
DE
502 * config/vmsconf.h: Update.
503
c9c7c1d7
JSC
504Mon Jan 22 17:24:47 1996 James G. Smith <jsmith@cygnus.co.uk>
505
506 * config/tc-mips.c (load_register): Optimise "dli" loads.
507 (md_show_usage): add "-mcpu=vr4100" to help text.
16ce20d4 508
07ce72c9
ILT
509Mon Jan 22 11:53:00 1996 Ian Lance Taylor <ian@cygnus.com>
510
16ce20d4
ILT
511 * symbols.c (resolve_symbol_value): If a symbol is equated to an
512 undefined symbol, preserve the X_op of O_symbol.
513 (S_GET_VALUE): Fix check to permit this case.
514 * write.c (write_relocs): If a reloc is against an undefined
515 symbol equated to another symbol, change the reloc to be against
516 the latter symbol.
517 * config/obj-coff.c (do_relocs_for): Likewise.
518
07ce72c9
ILT
519 * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
520 XMC_PR.
521
d971d39e
MM
522Mon Jan 22 10:59:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
523
524 * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
525 computer is PowerPC.
526
527 * config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
528
529 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
530 mentioned in the eabi.
531
0291f0f5
KK
532Thu Jan 18 17:58:19 1996 Kim Knuttila <krk@cygnus.com>
533
534 * config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
535 * config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
536
c682be53
MM
537Mon Jan 15 17:43:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
538
539 * config/tc-ppc.c (mapping): Add more relocation suffixes.
540
ee4fdbb9
MM
541Sun Jan 14 21:29:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
542
543 * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
544 as a section it is ok to have unadorned -mrelocatable pointers in.
545
546Sat Jan 13 11:09:08 1996 Michael Meissner <meissner@tiktok.cygnus.com>
747b98fe
MM
547
548 * config/tc-ppc.c (ppc_section*): Wrap these functions inside
549 #ifdef OBJ_ELF.
550
f99d287b
MM
551Fri Jan 12 15:32:07 1996 Michael Meissner <meissner@tiktok.cygnus.com>
552
553 * config/obj-elf.c (obj_elf_section): Add hooks so machine
554 dependent section attributes can be handled.
555
556 * config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
557 macros to add support for exclude section flag and ordered section
558 type.
559
560 * config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
561 functions to add support for exclude section flag and ordered
562 section type.
563
347a705b
ILT
564Fri Jan 12 12:04:00 1996 Ian Lance Taylor <ian@cygnus.com>
565
2a4e49a9
ILT
566 * subsegs.c (section_symbol): Don't try to look up the section
567 symbol in the hash table. It should be possible to have a symbol
568 with the same name as a section, but no connection to it.
569
d9f4dec1
ILT
570 * read.c (cons_worker): Only call mri_comment_end from flag_mri.
571 From James Carlson <carlson@xylogics.com>.
572
347a705b
ILT
573 * expr.c (operand): Skip whitespace after a close parenthesis.
574 From James Carlson <carlson@xylogics.com>.
575
10c8c95e
JW
576Tue Jan 2 12:43:23 1996 Jim Wilson <wilson@chestnut.cygnus.com>
577
578 * config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
579 as_warn_where for relocation overflow.
347a705b
ILT
580 (parse_reg): Accept register name only if next character is
581 not alphanumeric.
10c8c95e 582
cb844314
JL
583Sat Dec 30 23:42:51 1995 Jeffrey A Law (law@cygnus.com)
584
585 * ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
586 addresses for static variables.
587
36cb0e7c
MM
588Thu Dec 21 12:54:32 1995 Michael Meissner <meissner@tiktok.cygnus.com>
589
590 * config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
591 and xgot give the old toc16 relocation.
592 (md_apply_fix3): Support all GOT relocations.
593
5e69b693
ILT
594Wed Dec 20 14:57:17 1995 Ian Lance Taylor <ian@cygnus.com>
595
596 * config/tc-mips.c (load_address): Correctly handle a constant in
597 SVR4_PIC case. From Richard Kenner <kenner@vlsi1.ultra.nyu.edu>.
598
29861dd0
C
599Fri Dec 15 14:25:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
600
601 * config/tc-sh.c (parse_reg): Recognize SH3 registers.
602 (get_specific): Handle A_SSR, A_SPC and A_REG_B.
603 (build_Mbytes): Handle REG_B.
604
432b8fa8
ILT
605Fri Dec 15 16:07:25 1995 Ian Lance Taylor <ian@cygnus.com>
606
607 * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
608
ee68a042
RJ
609Fri Dec 15 12:11:48 1995 Raymond Jou <rjou@mexican.cygnus.com>
610
611 * mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
612
b14630f2
ILT
613Thu Dec 14 15:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
614
615 * config/obj-coff.c (write_object_file): Set the s_align field to
616 the number of bytes, rather than to the power of 2.
617
4a3d48fc
ILT
618Tue Dec 12 12:19:37 1995 Ian Lance Taylor <ian@cygnus.com>
619
620 * Makefile.in (DISTCLEAN_HERE): New variable.
621 (distclean): Use it.
622 (maintainer-clean): Depend upon clean-here rather than clean,
623 distclean, and clean-info. Run make maintainer-clean in doc.
624 Remove files listed in DISTCLEAN_HERE.
625 * doc/Makefile.in (maintainer-clean realclean): Split out from
626 distclean. Depend upon clean-info and distclean.
627
7e5e83cf
SS
628Mon Dec 11 16:23:51 1995 Stan Shebs <shebs@andros.cygnus.com>
629
630 * mac-as.r: Fix copyright and version strings.
631 (cfrg): Use PROG_NAME instead of literal name.
632
0ff513d9 633
1b10f50d
ILT
634Mon Dec 11 14:14:08 1995 Ian Lance Taylor <ian@cygnus.com>
635
636 * read.c (read_a_source_file): If tc_unrecognized_line is defined,
637 call it.
638 * config/tc-a29k.h (tc_unrecognized_line): Define.
639 * config/tc-a29k.c (a29k_unrecognized_line): New function.
640 (md_operand): Handle a29k style local dollar labels.
641
2f3bbb1b
ILT
642Wed Dec 6 17:52:52 1995 Ian Lance Taylor <ian@cygnus.com>
643
644 * config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
645
624c91d1
KR
646Tue Dec 5 13:26:34 1995 Ken Raeburn <raeburn@cygnus.com>
647
648 * read.c (s_fill): If md_flush_pending_output is defined, call
649 it.
650
9e4b3a23
KR
651Mon Dec 4 15:10:53 1995 Ken Raeburn <raeburn@cygnus.com>
652
653 * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
654 Treat rs_align_code like rs_align.
655
3554987a
DE
656Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
657
658 * config/tc-arm.c (cp_address_required_here): Set pre_inc when
659 converting an absolute address into a PC-relative one.
660
90f543f6
SS
661Fri Dec 1 11:57:56 1995 Stan Shebs <shebs@andros.cygnus.com>
662
663 * mpw-config.in: Don't always use te-generic.h for emulation.
664 (powerpc-apple-macos): Use emulation te-macos.h.
665start-sanitize-gm
666 (mips-gm-magic): New configuration.
667end-sanitize-gm
668 * mpw-make.sed (install, install-only): Edit in Mac-specific
669 install procedure.
670
d4c8a45e
ILT
671Fri Dec 1 10:59:25 1995 Ian Lance Taylor <ian@cygnus.com>
672
2eec8710
ILT
673 * configure.in: Improve message about unsupported ELF targets.
674 * configure: Rebuild.
675
d4c8a45e
ILT
676 * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
677 pattern is zero. From Manfred Hollstein.
678
531a1af2
KK
679Thu Nov 30 13:25:49 1995 Kim Knuttila <krk@cygnus.com>
680
681 * config/tc-ppc.c (ppc_pe_section): To get the alignment right for
682 the various idata sections, we check the name on the .section pseudo.
683
464070de
ILT
684Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
685
686 * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
687 add section's paddr to add_number; compatibility to native as and
688 ld forbids.
689
6a087325
KR
690Wed Nov 29 23:14:27 1995 Ken Raeburn <raeburn@cygnus.com>
691
9d5aef80
KR
692 * configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
693
ac9ef8ee
KR
694 * hash.c (struct hash_entry): Moved here...
695 * hash.h (struct hash_entry): ...from here.
696
6a087325
KR
697 * config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
698 if it's already known to be null.
699
77fa4d98
MM
700Wed Nov 29 13:00:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
701
702 * config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
703 bit relocs converted to PC relative relocs. This turned out to
704 add the offset from the beginning of .text twice.
705
c6e4e834
KR
706Tue Nov 28 10:42:36 1995 Ken Raeburn <raeburn@cygnus.com>
707
708 * stabs.c (s_stab_generic): In 's' case, free string from
709 obstack.
710
711 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
712 sy_name_offset.
713 * config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
714 Ditto.
715
716 * subsegs.h (segment_info_type): Make bitfields unsigned.
717
718 * expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
719 and move them together. On most systems this will reduce the
720 structure size by one word.
721 (operatorT): Define O_max.
722 * expr.c (expr_begin): Verify that X_op is wide enough to hold
723 O_max.
724
725 * read.c (pop_insert): Print error returned by hash table
726 insertion code.
727
728 * as.c (dump_statistics): Split out from main; dump some hash
729 table stats and target-specific stats.
730 (start_time): No longer automatic to main.
731 (main): Set file-level start_time and call dump_statistics at
732 exit. Exit by calling xexit.
733 (show_usage): Make --statistics description less specific.
734 * subsegs.c (subsegs_print_statistics): New function.
735 * write.c (write_print_statistics): New function.
736 (n_fixups): New static variable.
737 (fix_new_internal): Increment it.
738 * read.c (read_print_statistics): New function.
739 * read.h (read_print_statistics): Declare.
740 * symbol.c (symbol_print_statistics): New function.
741 * symbol.h (symbol_print_statistics): Declare.
742 * hash.c (hash_print_statistics): New function.
743 * hash.h (hash_print_statistics): Declare.
744 * config/tc-i386.c (i386_print_statistics): New function.
745 * config/tc-i386.h (i386_print_statistics): Declare.
746 (tc_print_statistics): New macro.
747 * messages.c (as_fatal, as_assert, as_abort): Use xexit, not
748 exit.
749
750 * hash.c (DELETED): Rewrite to use a valid but unique address.
751 (START_POWER): Reduce to 10.
752 (enum stat_enum): New enumerator, replacing STAT_* index macros.
753 Add new values for counting strcmp calls.
754 (GROW_FACTOR): New macro.
755 (hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
756 of nesting blocks.
757 (FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
758 (hash_new): Use FULL_VALUE.
759 (struct hash_control): Definition moved here.
760 (hash_code): Don't mask to low bits.
761 (hash_ask): Mask returned hash code here. Check hash value before
762 calling strcmp; count strcmp calls.
763 * hash.h (struct hash_control): Declare, don't define, here.
764 (HASH_STATLENGTH): Deleted.
765 (struct hash_entry): Add field for hash code.
766 (hash_say, hash_apply): Don't declare.
767
768 * hash.c (destroy): Return void.
769 (applicatee): Ditto.
770 (main): Fix declarations.
771 (hash_apply): Return void. Argument `function' returns void. Put
772 inside "#ifdef TEST".
773 (hash_say): Define only if TEST is defined.
774 * hash.h (hash_apply, hash_say): Declarations deleted.
775
6a4667f4
ILT
776Mon Nov 27 13:18:25 1995 Ian Lance Taylor <ian@cygnus.com>
777
778 * configure: Rebuild with autoconf 2.7.
779
330add8a
ILT
780Tue Nov 21 18:39:01 1995 Ian Lance Taylor <ian@cygnus.com>
781
782 * aclocal.m4 (AC_PROG_CC): Remove local definition.
783 * configure: Rebuild with autoconf 2.6.
784
520dd8d5
ILT
785Mon Nov 20 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
786
787 * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
788 (ppc_stabx): Don't increment ppc_debug_name_section_size.
789 (ppc_bc): Likewise.
790 (ppc_frob_file): Remove.
791 * config/tc-ppc.h (tc_frob_file): Don't define.
792 (ppc_frob_file): Don't declare.
793
880b7429
KR
794Mon Nov 20 13:37:05 1995 Ken Raeburn <raeburn@cygnus.com>
795
d6c4a3fa
KR
796 * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
797 * config/alpha-opcode.h: Include one-operand variants of jmp and
798 jsr.
799
880b7429
KR
800 * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
801 with te-delta.h in 8.3 file systems.
802 * configure.in: Adjusted.
803
aa8a6656
ILT
804Thu Nov 16 12:49:38 1995 Ian Lance Taylor <ian@cygnus.com>
805
880b7429
KR
806 * config/tc-mips.c (s_err): Remove; just use the one in read.c.
807
aa8a6656
ILT
808 * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
809 number.
810 * expr.c (operand): Handle MRI suffixes after unadorned 0.
811
7b889f5e
KR
812Thu Nov 16 00:21:44 1995 Ken Raeburn <raeburn@cygnus.com>
813
da9b55af
KR
814 Version 2.6 released.
815 * Makefile.in (VERSION): Updated to 2.6.
816
7b889f5e
KR
817 * config/obj-coff.c (write_object_file): Change use of md_do_align
818 to pass a pointer rather than a fill value, to match other uses.
819
46618ae6
KR
820Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com>
821
7b889f5e
KR
822 * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
823
46618ae6
KR
824 * as.c (main): Move md_end call to just after call to
825 perform_an_assembly_pass. Delete cpu-specific code here.
826 * config/tc-i960.h (md_end): New macro, calls brtab_emit.
827start-sanitize-rce
828 * config/tc-rce.c (md_end): Deleted.
829 * config/tc-rce.h (md_end): New macro, calls dump_literals.
830end-sanitize-rce
831 * config/tc-arm.c (md_end): Unused function deleted.
832 * config/tc-ns32k.c (md_end): Ditto.
833
834 * config/tc-i386.c (i386_align_code): New function, moved here
835 from HANDLE_ALIGN macro.
836 * config/tc-i386.h (HANDLE_ALIGN): Call it.
837
838 Mon Jul 31 14:53:19 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
839
840 * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
841 before comparing
842
843 Mon May 1 10:91:49 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
844
845 * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
846 multi-byte nops to avoid changing gcc. The necessary gcc change
847 might break old assemblers.
848
849 Sat Apr 22 20:53:05 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
850
851 * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
852 generate optimal multi-byte nop instructions for ".align n"
853 ".align n,0x90", and aligns requiring more than 15 bytes of
854 padding still generate multiple 0x90's as before.
855
856Mon Nov 13 17:40:21 1995 Ian Lance Taylor <ian@cygnus.com>
857
858 * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
859
51bc513e
SS
860Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com>
861
862 * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
863 * configure: Update.
864 * mpw-make.sed: Reorder commands to make sed happier.
865 * config/te-macos.h: New file.
866 * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
867
8b39c5df
JL
868Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
869
870 * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
871 conditional branches.
872 (md_apply_fix): Likewise.
873
874Thu Nov 9 16:14:01 1995 Ian Lance Taylor <ian@cygnus.com>
875
876 * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
877 generate a reloc which the linker will not handle correctly. Fix
878 overflow checking--R_IREL is 18 bits, not 17.
879
6a649eda
ILT
880Wed Nov 8 19:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
881
a071b8e9
ILT
882 * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
883 from a PC relative reloc if TC_A29K.
884
885 * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
886 code depends upon it.
887
6a649eda
ILT
888 * config/tc-a29k.c (md_operand): Handle $float, $double, and
889 $extend. Based on code from Eric Freudenthal
890 <freudenthal@nyu.edu>.
891 * config/tc-a29k.h (LEX_DOLLAR): Define.
892 * read.c (LEX_DOLLAR): Define if not defined.
893 (lex_type): Use LEX_DOLLAR.
894
6364a188
ILT
895Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
896
897 * configure.in (a29k-nyu-sym1): New target, just like other a29k
898 targets.
899
0fa6f8f6
ILT
900Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
901
902 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
903
904Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com>
905
906 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
907 used only by "dlltool.c".
908
eec2cfef
ILT
909Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
910
911 * config/tc-alpha.c: Undefine inline if not __GNUC__.
912 (md_pseudo_table): Don't define "extern".
913
df7504dc
ILT
914Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
915
a3d1c561
ILT
916 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
917
df7504dc
ILT
918 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
919
07d012f6
ILT
920Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
921
36e80ac6
ILT
922 * macro.c (macro_expand_body): Don't warn about == with a
923 nonexistent parameter, in case it is in a comment field.
924
07d012f6
ILT
925 * as.c (main): On TC_A29K, call macro_init with macro_alternate
926 set to 1.
927 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
928 set, even if macro_alternate is set.
929 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
930 (sub_actual): If macro_strip_at, and kind is '@', don't look up
931 the token unless it ended in '@'.
932 * config/tc-a29k.c (line_separator_chars): Remove '@'.
933 * doc/c-a29k.texi: Document macro usage on A29K.
934
01f108bc
ILT
935Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
936
937 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
938 signed word.
939 (install_operand): Likewise.
940
941 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
942
943Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
944
945 * configure.in (m88k-motorola-sysv*): New target.
946 * configure: Rebuild.
947 * config/te-delta88.h: New file.
948 * config/obj-coff.c (write_object_file): Use md_do_align if it is
949 defined.
950 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
951 (md_do_align): Define.
952 * config/tc-m88k.c: Include "subsegs.h".
953 (m88k_do_align): New function.
954
955 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
956 (COFF_NOLOAD_PROBLEM): Define.
957 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
958
7954cc14
KR
959Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
960
961 * config/tc-i386.c (md_assemble): For a jump instruction with
962 non-constant target, require 7 available bytes in the current
963 frag, not 6.
964
d033806f
FF
965Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
966
967 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
968 bfd/libelf.h.
969
d7b2038f
ILT
970Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
971
972 * configure.in (alpha-*-linux*): Use ecoff.
973 * configure: Rebuild.
974 * ecoff.c (ecoff_directive_extern): New function.
975 (ecoff_directive_weakext): New function.
976 (ecoff_build_symbols): Handle weak symbols.
977 (ecoff_setup_ext): Likewise.
59c80ca2 978 (ecoff_frob_symbol): Warn about weak common symbols.
d7b2038f
ILT
979 * ecoff.h (ecoff_directive_extern): Declare.
980 (ecoff_directive_weakext): Declare.
981 * symbols.c (S_IS_WEAK): New function.
982 * symbols.h (S_IS_WEAK): Declare.
983 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
984 "weakext".
985 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
986 (s_extern): Remove.
987
cbdf59ad
ILT
988Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
989
b629f627
ILT
990 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
991
7ab1edc8
ILT
992 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
993 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
994 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
995 * config/obj-coff.c (coff_frob_symbol): Don't call
996 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
997 one. If OBJ_XCOFF, try to figure out whether the symbol is going
998 to be dropped.
999
31751d9d
ILT
1000 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
1001 (ppc_stab_symbol): New static variable.
1002 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
1003 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
1004 sy_tc.real_name to the stab string.
1005 (ppc_bc, ppc_ec): New static functions.
1006 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
1007 do anything.
1008 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
1009 suffix.
0e3dd9a0
ILT
1010 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
1011 entries.
31751d9d 1012
cbdf59ad
ILT
1013 * input-scrub.c (input_scrub_push): Reset sb_index.
1014
91123dbe
ILT
1015Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
1016
1017 * listing.c (listing_newline): Don't create a frag in the absolute
1018 section.
1019
73255941
ILT
1020Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
1021
df72d2a5
ILT
1022 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
1023 (ppc_csect): Move most of the code to ppc_change_csect, and call
1024 it.
1025 (ppc_change_csect): New static function, taken from ppc_csect.
1026 (ppc_section): New static function.
1027 (ppc_saw_abs): New static varable.
1028 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
1029 a symbol has no csect.
1030 (ppc_adjust_symtab): New function.
1031 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
1032 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
1033
1034 * write.c (write_object_file): If tc_adjust_symtab is defined,
1035 call it just before the call to obj_adjust_symtab.
1036
73255941
ILT
1037 * symbols.c (symbol_find_or_make): Change name to be const.
1038 * symbols.h (symbol_find_or_make): Update declaration.
1039
9bfaf1b9
KR
1040Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
1041
1042 * doc/as.texinfo (Align): Mention SH.
1043 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
1044 .align value.
1045 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
1046 (Z8000 Directives, even): Don't give numeric align value, instead
1047 explain behavior.
1048
ae143278
DE
1049Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
1050
1051 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
1052 instruction.
1053
270433cc
PB
1054Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
1055
1056 * Makefile.in (diststuff): Also make info.
1057 (maintainer-clean realclean): Also make clean-info.
1058
18a11401
JL
1059Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
1060
1061 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
1062 (pa_subspace): For ".nsubspa", always create a new subspace
1063 with the given attributes, even if one already exists with the
1064 same name.
1065
96fe71e1
MM
1066Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1067
1068 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
1069 TC_FORCE_RELOCATION, taking an additional section argument. If
1070 the section of the target symbol is not the same as the current
1071 section, always force the relocation to be used.
1072 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
1073
1074 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
1075 md_pcrel_from function, taking an additional section argument.
1076 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
1077
1078 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
1079 older TC_FORCE_RELOCATION if not defined.
1080 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
1081 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
1082 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
1083 TC_FORCE_RELOCATION.
1084
1d75481b
KR
1085Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
1086
1087 * input-scrub.c (as_where): Set name to null pointer if we don't
1088 have a file name.
1089 * messages.c (identify): Only print filename if non-null.
1090 (as_show_where): Ditto, for line number too.
1091 (as_warn_internal, as_bad_internal): Ditto.
1092
1093 * input-file.c (input_file_open): If the input file can't be
1094 opened, consider it an error.
1095
c625fc23
JSC
1096Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
1097
1098 * config/tc-mips.c: Added mips_4100 control, and support for
1099 accepting the 4100 as a MIPS architecture variant (md_begin,
1100 macro_build, mips_ip, md_parse_option). Adding suitable
1101 command-line OPTIONs, and updating the help text (md_show_usage).
1102
dd1a5316
KR
1103Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
1104
c625fc23
JSC
1105 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
1106 BFD_ASSEMBLER is defined.
1107
3366a224
KR
1108 * Use one active frag and one obstack per frag chain:
1109 * frags.c (frags): Variable deleted.
1110 (frag_alloc): New function.
1111 (frag_grow, frag_more, frag_variant, frag_now_fix,
1112 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
1113 frags variable.
1114 (frag_new): Ditto. Verify that frch_last and frag_now match on
1115 entry and exit, and that old frag_now has non-zero type. Replace
1116 "know" uses with "assert". Use frag_alloc instead of mucking with
1117 obstack alignment.
1118 * frags.h (frags): Declaration deleted.
1119 * subsegs.h (struct frchain): Add new field frch_frag_now.
1120 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
1121 variables.
1122 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
1123 give it any stricter alignment than frchainS structures need. Do
1124 not initialize frags obstack. Set frag_now to point to
1125 dummy_obstack. Initialize absolute_frchain.
1126 (subseg_set_rest): Save and restore frag_now in frch_frag_now
1127 field of frchainS. Don't create new frags on section switch, and
1128 use frag_alloc when creating a new frag chain. For absolute
1129 section, set frchain_now to absolute_frchain. Verify that
1130 frch_last and frag_now match on entry and exit. Initialize
1131 per-chain obstack, and under gcc, set required alignment to that
1132 needed by fragS structure.
c625fc23 1133
3366a224
KR
1134 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
1135
1136 * stabs.c (get_stab_string_offset): Only copy input string if a
1137 fresh copy is needed, not if the section already exists.
1138 (s_stab_generic): Cache stab section name to bypass lookups, since
1139 usually it will match. Could be made faster still by changing the
1140 memory allocation rules.
1141 (s_xstab): Cache section name to bypass repeated string
1142 allocation.
1143
1144 * frags.c (frag_new): Deleted register declarations.
1145
1146 * listing.c (frag_now): Don't declare.
1147
1148 * as.c (chunksize): New variable.
1149 (debug_memory): New variable.
1150 (main): If debug_memory is set, reduce chunksize and
1151 _bfd_chunksize.
1152 * as.h (chunksize): Declare it.
1153 * read.c (read_begin): Use it.
1154
de5ebe2e
KR
1155 * config/tc-alpha.c (md_shortopts): Include 'g'.
1156 (md_parse_option): Ignore it.
1157
dd1a5316
KR
1158 * Makefile.in (distclean): Remove Makefile and config.status from
1159 testsuite directory.
1160 (clean-here): Don't delete testsuite. Instead, delete only the
1161 files within it that would be generated by running tests.
1162
de5ebe2e
KR
1163 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
1164 frag_now_fix instead of accessing obstack info directly.
1165 * config/tc-arm.c (s_ltorg): Ditto.
1166 (md_assemble): Ditto.
1167
1168 * config/tc-i386.c (md_assemble): Call frag_grow instead of
1169 obstack_room.
1170
625f4e48
KR
1171Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
1172
1173 * stabs.c (aout_process_stab): Insert debug symbol into symbol
1174 chain after parsing value expression, if any, to avoid separating
1175 continued .stabs lines.
1176
33a8c1b6
ILT
1177Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
1178
1179 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
1180 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
1181
b6b8f911
MM
1182Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
1183
625f4e48
KR
1184 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
1185 -mcom support and PPC_OPCODE_ANY for -many.
1186 (md_parse_option): Ditto.
1187 (ppc_arch): Ditto.
1188 (md_begin): For duplicate instructions, print all duplicates
1189 before aborting.
b6b8f911 1190
4c2935f4
MM
1191Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
1192
1193 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
1194 common mode operation.
1195 (md_show_usage): Add -mcom to usage message.
4c2935f4
MM
1196
1197Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
1198
1199 * expr.c (op_rank): Add O_symbol_rva.
1200 * expr.h (operatorT): Add O_symbol_rva.
1201 * read.c (cons_worker): Set O_symbol_rva when necessary.
1202 * write.c (fix_new_exp): Understand O_symbol_rva.
1203
7db865dc
ILT
1204Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
1205
1206 * config/tc-mips.c: Correct s_cons arguments. From Michael
1207 Joosten <joost@ori.cadlab.de>.
1208
1b13e6fc
ILT
1209Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
1210
1211 * config/tc-ppc.c (ppc_macro): Make count unsigned.
1212 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
1213 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
1214 the fix_line field.
1215 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
1216 make non-static. Change all users.
1217 * config/obj-coff.h (coff_n_line_nos): Declare.
1218
9e3e3d4c
KR
1219Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
1220
1221 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1222
1223 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
1224
1225 * config/obj-elf.c (obj_elf_common): Convert specified byte
1226 alignment to power of two. Set size of local bss symbol.
1227
1228 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
1229
13a6c753
ILT
1230Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
1231
1232 * sb.c, macro.c: Decide whether to include <string.h> or
1233 <strings.h> just as as.h does.
1234
a75aafcd
DE
1235Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
1236
1237 * Makefile.in (site.exp): Fix setting of $srcdir.
1238
1239 * config/tc-arm.c (md_atof): Fix little-endian output.
f6ec8c46
DE
1240 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
1241 all coff targets.
a75aafcd 1242
d89861c7
KR
1243Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
1244
4d2ba393
KR
1245 * doc/as.texinfo: Split out the NS32k family documentation,
1246 despite its being commented out for now.
1247 * doc/c-ns32k.texi: New file.
1248
2c5eb48d
KR
1249 * sb.c, macro.c: Include string.h.
1250
6b0a6eaa
KR
1251 * Makefile.in (comparison): Only check *.o; we don't care if
1252 timestamps inserted by the native linker differ.
1253
d89861c7
KR
1254 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
1255 if alignment stricter than 4 bytes is requested; in that case,
1256 align to a 4-byte boundary first.
1257
70aeac05
KR
1258 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
1259
1260 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
1261 uninitialized" warning for `Max_Source_Offset'.
1262
eaaa2a42
KK
1263Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
1264
1265 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
1266 qualifiers and detect errors if present.
1267 (md_assemble): Add call to parse_toc_entry. Also added some support
1268 for the [tocv] qualifier.
1269 (ppc_pe_tocd): New function to support data in the toc section.
1270
cd557d83
ILT
1271Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
1272
1273 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
1274 an absolute symbol.
1275
42ac8fa8
ILT
1276Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
1277
01f108bc 1278 * config/tc-m68k.c (isword): Accept all values from -65536 to
cd557d83
ILT
1279 +65535, so ~VAL will not be rejected.
1280
42ac8fa8
ILT
1281 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
1282 skip characters after the pseudo-op.
1283 (s_else): Likewise.
1284 * read.c (get_line_sb): Don't look past buffer_limit.
1285 (s_include): In MRI mode, skip characters after the file name.
1286
eef66934
ILT
1287Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
1288
1289 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
1290 periods in register names.
1291
cdc49cba 1292For older changes see ChangeLog.1.
This page took 0.107167 seconds and 4 git commands to generate.