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