1 Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
3 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
6 Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
8 * configure.in (alpha-*-linux*): Use ecoff.
10 * ecoff.c (ecoff_directive_extern): New function.
11 (ecoff_directive_weakext): New function.
12 (ecoff_build_symbols): Handle weak symbols.
13 (ecoff_setup_ext): Likewise.
14 (ecoff_frob_symbol): Warn about weak common symbols.
15 * ecoff.h (ecoff_directive_extern): Declare.
16 (ecoff_directive_weakext): Declare.
17 * symbols.c (S_IS_WEAK): New function.
18 * symbols.h (S_IS_WEAK): Declare.
19 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
21 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
24 Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
26 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
28 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
29 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
30 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
31 * config/obj-coff.c (coff_frob_symbol): Don't call
32 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
33 one. If OBJ_XCOFF, try to figure out whether the symbol is going
36 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
37 (ppc_stab_symbol): New static variable.
38 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
39 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
40 sy_tc.real_name to the stab string.
41 (ppc_bc, ppc_ec): New static functions.
42 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
44 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
46 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
49 * input-scrub.c (input_scrub_push): Reset sb_index.
51 Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
53 * listing.c (listing_newline): Don't create a frag in the absolute
56 Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
58 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
59 (ppc_csect): Move most of the code to ppc_change_csect, and call
61 (ppc_change_csect): New static function, taken from ppc_csect.
62 (ppc_section): New static function.
63 (ppc_saw_abs): New static varable.
64 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
65 a symbol has no csect.
66 (ppc_adjust_symtab): New function.
67 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
68 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
70 * write.c (write_object_file): If tc_adjust_symtab is defined,
71 call it just before the call to obj_adjust_symtab.
73 * symbols.c (symbol_find_or_make): Change name to be const.
74 * symbols.h (symbol_find_or_make): Update declaration.
76 Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
78 * doc/as.texinfo (Align): Mention SH.
79 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
81 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
82 (Z8000 Directives, even): Don't give numeric align value, instead
85 Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
87 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
90 Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
92 * Makefile.in (diststuff): Also make info.
93 (maintainer-clean realclean): Also make clean-info.
95 Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
97 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
98 (pa_subspace): For ".nsubspa", always create a new subspace
99 with the given attributes, even if one already exists with the
102 Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
104 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
105 TC_FORCE_RELOCATION, taking an additional section argument. If
106 the section of the target symbol is not the same as the current
107 section, always force the relocation to be used.
108 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
110 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
111 md_pcrel_from function, taking an additional section argument.
112 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
114 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
115 older TC_FORCE_RELOCATION if not defined.
116 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
117 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
118 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
121 Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
123 * input-scrub.c (as_where): Set name to null pointer if we don't
125 * messages.c (identify): Only print filename if non-null.
126 (as_show_where): Ditto, for line number too.
127 (as_warn_internal, as_bad_internal): Ditto.
129 * input-file.c (input_file_open): If the input file can't be
130 opened, consider it an error.
132 Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
134 * config/tc-mips.c: Added mips_4100 control, and support for
135 accepting the 4100 as a MIPS architecture variant (md_begin,
136 macro_build, mips_ip, md_parse_option). Adding suitable
137 command-line OPTIONs, and updating the help text (md_show_usage).
139 Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
141 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
142 BFD_ASSEMBLER is defined.
144 * Use one active frag and one obstack per frag chain:
145 * frags.c (frags): Variable deleted.
146 (frag_alloc): New function.
147 (frag_grow, frag_more, frag_variant, frag_now_fix,
148 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
150 (frag_new): Ditto. Verify that frch_last and frag_now match on
151 entry and exit, and that old frag_now has non-zero type. Replace
152 "know" uses with "assert". Use frag_alloc instead of mucking with
154 * frags.h (frags): Declaration deleted.
155 * subsegs.h (struct frchain): Add new field frch_frag_now.
156 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
158 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
159 give it any stricter alignment than frchainS structures need. Do
160 not initialize frags obstack. Set frag_now to point to
161 dummy_obstack. Initialize absolute_frchain.
162 (subseg_set_rest): Save and restore frag_now in frch_frag_now
163 field of frchainS. Don't create new frags on section switch, and
164 use frag_alloc when creating a new frag chain. For absolute
165 section, set frchain_now to absolute_frchain. Verify that
166 frch_last and frag_now match on entry and exit. Initialize
167 per-chain obstack, and under gcc, set required alignment to that
168 needed by fragS structure.
170 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
172 * stabs.c (get_stab_string_offset): Only copy input string if a
173 fresh copy is needed, not if the section already exists.
174 (s_stab_generic): Cache stab section name to bypass lookups, since
175 usually it will match. Could be made faster still by changing the
176 memory allocation rules.
177 (s_xstab): Cache section name to bypass repeated string
180 * frags.c (frag_new): Deleted register declarations.
182 * listing.c (frag_now): Don't declare.
184 * as.c (chunksize): New variable.
185 (debug_memory): New variable.
186 (main): If debug_memory is set, reduce chunksize and
188 * as.h (chunksize): Declare it.
189 * read.c (read_begin): Use it.
191 * config/tc-alpha.c (md_shortopts): Include 'g'.
192 (md_parse_option): Ignore it.
194 * Makefile.in (distclean): Remove Makefile and config.status from
196 (clean-here): Don't delete testsuite. Instead, delete only the
197 files within it that would be generated by running tests.
199 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
200 frag_now_fix instead of accessing obstack info directly.
201 * config/tc-arm.c (s_ltorg): Ditto.
202 (md_assemble): Ditto.
204 * config/tc-i386.c (md_assemble): Call frag_grow instead of
207 Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
209 * stabs.c (aout_process_stab): Insert debug symbol into symbol
210 chain after parsing value expression, if any, to avoid separating
211 continued .stabs lines.
213 Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
215 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
216 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
218 Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
220 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
221 -mcom support and PPC_OPCODE_ANY for -many.
222 (md_parse_option): Ditto.
224 (md_begin): For duplicate instructions, print all duplicates
227 Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
229 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
230 common mode operation.
231 (md_show_usage): Add -mcom to usage message.
233 Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
235 * expr.c (op_rank): Add O_symbol_rva.
236 * expr.h (operatorT): Add O_symbol_rva.
237 * read.c (cons_worker): Set O_symbol_rva when necessary.
238 * write.c (fix_new_exp): Understand O_symbol_rva.
240 Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
242 * config/tc-mips.c: Correct s_cons arguments. From Michael
243 Joosten <joost@ori.cadlab.de>.
245 Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
247 * config/tc-ppc.c (ppc_macro): Make count unsigned.
248 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
249 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
251 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
252 make non-static. Change all users.
253 * config/obj-coff.h (coff_n_line_nos): Declare.
255 Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
257 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
259 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
261 * config/obj-elf.c (obj_elf_common): Convert specified byte
262 alignment to power of two. Set size of local bss symbol.
264 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
266 Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
268 * sb.c, macro.c: Decide whether to include <string.h> or
269 <strings.h> just as as.h does.
271 Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
273 * Makefile.in (site.exp): Fix setting of $srcdir.
275 * config/tc-arm.c (md_atof): Fix little-endian output.
276 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
279 Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
281 * doc/as.texinfo: Split out the NS32k family documentation,
282 despite its being commented out for now.
283 * doc/c-ns32k.texi: New file.
285 * sb.c, macro.c: Include string.h.
287 * Makefile.in (comparison): Only check *.o; we don't care if
288 timestamps inserted by the native linker differ.
290 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
291 if alignment stricter than 4 bytes is requested; in that case,
292 align to a 4-byte boundary first.
294 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
296 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
297 uninitialized" warning for `Max_Source_Offset'.
299 Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
301 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
302 qualifiers and detect errors if present.
303 (md_assemble): Add call to parse_toc_entry. Also added some support
304 for the [tocv] qualifier.
305 (ppc_pe_tocd): New function to support data in the toc section.
307 Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
309 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
312 Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
314 * config/tc-m68k.c (isbyte): Accept all values from -65536 to
315 +65535, so ~VAL will not be rejected.
317 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
318 skip characters after the pseudo-op.
320 * read.c (get_line_sb): Don't look past buffer_limit.
321 (s_include): In MRI mode, skip characters after the file name.
323 Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
325 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
326 periods in register names.
328 For older changes see ChangeLog.1.