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