1 Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
3 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
4 (pa_subspace): For ".nsubspa", always create a new subspace
5 with the given attributes, even if one already exists with the
8 Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
11 TC_FORCE_RELOCATION, taking an additional section argument. If
12 the section of the target symbol is not the same as the current
13 section, always force the relocation to be used.
14 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
16 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
17 md_pcrel_from function, taking an additional section argument.
18 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
20 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
21 older TC_FORCE_RELOCATION if not defined.
22 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
23 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
24 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
27 Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
29 * input-scrub.c (as_where): Set name to null pointer if we don't
31 * messages.c (identify): Only print filename if non-null.
32 (as_show_where): Ditto, for line number too.
33 (as_warn_internal, as_bad_internal): Ditto.
35 * input-file.c (input_file_open): If the input file can't be
36 opened, consider it an error.
38 Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
40 * config/tc-mips.c: Added mips_4100 control, and support for
41 accepting the 4100 as a MIPS architecture variant (md_begin,
42 macro_build, mips_ip, md_parse_option). Adding suitable
43 command-line OPTIONs, and updating the help text (md_show_usage).
45 Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
47 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
48 BFD_ASSEMBLER is defined.
50 * Use one active frag and one obstack per frag chain:
51 * frags.c (frags): Variable deleted.
52 (frag_alloc): New function.
53 (frag_grow, frag_more, frag_variant, frag_now_fix,
54 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
56 (frag_new): Ditto. Verify that frch_last and frag_now match on
57 entry and exit, and that old frag_now has non-zero type. Replace
58 "know" uses with "assert". Use frag_alloc instead of mucking with
60 * frags.h (frags): Declaration deleted.
61 * subsegs.h (struct frchain): Add new field frch_frag_now.
62 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
64 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
65 give it any stricter alignment than frchainS structures need. Do
66 not initialize frags obstack. Set frag_now to point to
67 dummy_obstack. Initialize absolute_frchain.
68 (subseg_set_rest): Save and restore frag_now in frch_frag_now
69 field of frchainS. Don't create new frags on section switch, and
70 use frag_alloc when creating a new frag chain. For absolute
71 section, set frchain_now to absolute_frchain. Verify that
72 frch_last and frag_now match on entry and exit. Initialize
73 per-chain obstack, and under gcc, set required alignment to that
74 needed by fragS structure.
76 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
78 * stabs.c (get_stab_string_offset): Only copy input string if a
79 fresh copy is needed, not if the section already exists.
80 (s_stab_generic): Cache stab section name to bypass lookups, since
81 usually it will match. Could be made faster still by changing the
82 memory allocation rules.
83 (s_xstab): Cache section name to bypass repeated string
86 * frags.c (frag_new): Deleted register declarations.
88 * listing.c (frag_now): Don't declare.
90 * as.c (chunksize): New variable.
91 (debug_memory): New variable.
92 (main): If debug_memory is set, reduce chunksize and
94 * as.h (chunksize): Declare it.
95 * read.c (read_begin): Use it.
97 * config/tc-alpha.c (md_shortopts): Include 'g'.
98 (md_parse_option): Ignore it.
100 * Makefile.in (distclean): Remove Makefile and config.status from
102 (clean-here): Don't delete testsuite. Instead, delete only the
103 files within it that would be generated by running tests.
105 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
106 frag_now_fix instead of accessing obstack info directly.
107 * config/tc-arm.c (s_ltorg): Ditto.
108 (md_assemble): Ditto.
110 * config/tc-i386.c (md_assemble): Call frag_grow instead of
113 Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
115 * stabs.c (aout_process_stab): Insert debug symbol into symbol
116 chain after parsing value expression, if any, to avoid separating
117 continued .stabs lines.
119 Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
121 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
122 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
124 Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
126 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
127 -mcom support and PPC_OPCODE_ANY for -many.
128 (md_parse_option): Ditto.
130 (md_begin): For duplicate instructions, print all duplicates
133 Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
135 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
136 common mode operation.
137 (md_show_usage): Add -mcom to usage message.
139 Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
141 * expr.c (op_rank): Add O_symbol_rva.
142 * expr.h (operatorT): Add O_symbol_rva.
143 * read.c (cons_worker): Set O_symbol_rva when necessary.
144 * write.c (fix_new_exp): Understand O_symbol_rva.
146 Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
148 * config/tc-mips.c: Correct s_cons arguments. From Michael
149 Joosten <joost@ori.cadlab.de>.
151 Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
153 * config/tc-ppc.c (ppc_macro): Make count unsigned.
154 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
155 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
157 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
158 make non-static. Change all users.
159 * config/obj-coff.h (coff_n_line_nos): Declare.
161 Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
163 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
165 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
167 * config/obj-elf.c (obj_elf_common): Convert specified byte
168 alignment to power of two. Set size of local bss symbol.
170 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
172 Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
174 * sb.c, macro.c: Decide whether to include <string.h> or
175 <strings.h> just as as.h does.
177 Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
179 * Makefile.in (site.exp): Fix setting of $srcdir.
181 * config/tc-arm.c (md_atof): Fix little-endian output.
182 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
185 Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
187 * doc/as.texinfo: Split out the NS32k family documentation,
188 despite its being commented out for now.
189 * doc/c-ns32k.texi: New file.
191 * sb.c, macro.c: Include string.h.
193 * Makefile.in (comparison): Only check *.o; we don't care if
194 timestamps inserted by the native linker differ.
196 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
197 if alignment stricter than 4 bytes is requested; in that case,
198 align to a 4-byte boundary first.
200 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
202 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
203 uninitialized" warning for `Max_Source_Offset'.
205 Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
207 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
208 qualifiers and detect errors if present.
209 (md_assemble): Add call to parse_toc_entry. Also added some support
210 for the [tocv] qualifier.
211 (ppc_pe_tocd): New function to support data in the toc section.
213 Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
215 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
218 Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
220 * config/tc-m68k.c (isbyte): Accept all values from -65536 to
221 +65535, so ~VAL will not be rejected.
223 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
224 skip characters after the pseudo-op.
226 * read.c (get_line_sb): Don't look past buffer_limit.
227 (s_include): In MRI mode, skip characters after the file name.
229 Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
231 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
232 periods in register names.
234 For older changes see ChangeLog.1.