* Makefile.in, configure.in: Make winsup builds work with
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
cbdf59ad
ILT
1Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
2
31751d9d
ILT
3 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
4 (ppc_stab_symbol): New static variable.
5 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
6 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
7 sy_tc.real_name to the stab string.
8 (ppc_bc, ppc_ec): New static functions.
9 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
10 do anything.
11 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
12 suffix.
13
cbdf59ad
ILT
14 * input-scrub.c (input_scrub_push): Reset sb_index.
15
91123dbe
ILT
16Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
17
18 * listing.c (listing_newline): Don't create a frag in the absolute
19 section.
20
73255941
ILT
21Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
22
df72d2a5
ILT
23 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
24 (ppc_csect): Move most of the code to ppc_change_csect, and call
25 it.
26 (ppc_change_csect): New static function, taken from ppc_csect.
27 (ppc_section): New static function.
28 (ppc_saw_abs): New static varable.
29 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
30 a symbol has no csect.
31 (ppc_adjust_symtab): New function.
32 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
33 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
34
35 * write.c (write_object_file): If tc_adjust_symtab is defined,
36 call it just before the call to obj_adjust_symtab.
37
73255941
ILT
38 * symbols.c (symbol_find_or_make): Change name to be const.
39 * symbols.h (symbol_find_or_make): Update declaration.
40
9bfaf1b9
KR
41Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
42
43 * doc/as.texinfo (Align): Mention SH.
44 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
45 .align value.
46 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
47 (Z8000 Directives, even): Don't give numeric align value, instead
48 explain behavior.
49
ae143278
DE
50Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
51
52 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
53 instruction.
54
270433cc
PB
55Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
56
57 * Makefile.in (diststuff): Also make info.
58 (maintainer-clean realclean): Also make clean-info.
59
18a11401
JL
60Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
61
62 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
63 (pa_subspace): For ".nsubspa", always create a new subspace
64 with the given attributes, even if one already exists with the
65 same name.
66
96fe71e1
MM
67Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
68
69 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
70 TC_FORCE_RELOCATION, taking an additional section argument. If
71 the section of the target symbol is not the same as the current
72 section, always force the relocation to be used.
73 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
74
75 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
76 md_pcrel_from function, taking an additional section argument.
77 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
78
79 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
80 older TC_FORCE_RELOCATION if not defined.
81 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
82 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
83 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
84 TC_FORCE_RELOCATION.
85
1d75481b
KR
86Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
87
88 * input-scrub.c (as_where): Set name to null pointer if we don't
89 have a file name.
90 * messages.c (identify): Only print filename if non-null.
91 (as_show_where): Ditto, for line number too.
92 (as_warn_internal, as_bad_internal): Ditto.
93
94 * input-file.c (input_file_open): If the input file can't be
95 opened, consider it an error.
96
c625fc23
JSC
97Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
98
99 * config/tc-mips.c: Added mips_4100 control, and support for
100 accepting the 4100 as a MIPS architecture variant (md_begin,
101 macro_build, mips_ip, md_parse_option). Adding suitable
102 command-line OPTIONs, and updating the help text (md_show_usage).
103
dd1a5316
KR
104Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
105
c625fc23
JSC
106 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
107 BFD_ASSEMBLER is defined.
108
3366a224
KR
109 * Use one active frag and one obstack per frag chain:
110 * frags.c (frags): Variable deleted.
111 (frag_alloc): New function.
112 (frag_grow, frag_more, frag_variant, frag_now_fix,
113 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
114 frags variable.
115 (frag_new): Ditto. Verify that frch_last and frag_now match on
116 entry and exit, and that old frag_now has non-zero type. Replace
117 "know" uses with "assert". Use frag_alloc instead of mucking with
118 obstack alignment.
119 * frags.h (frags): Declaration deleted.
120 * subsegs.h (struct frchain): Add new field frch_frag_now.
121 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
122 variables.
123 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
124 give it any stricter alignment than frchainS structures need. Do
125 not initialize frags obstack. Set frag_now to point to
126 dummy_obstack. Initialize absolute_frchain.
127 (subseg_set_rest): Save and restore frag_now in frch_frag_now
128 field of frchainS. Don't create new frags on section switch, and
129 use frag_alloc when creating a new frag chain. For absolute
130 section, set frchain_now to absolute_frchain. Verify that
131 frch_last and frag_now match on entry and exit. Initialize
132 per-chain obstack, and under gcc, set required alignment to that
133 needed by fragS structure.
c625fc23 134
3366a224
KR
135 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
136
137 * stabs.c (get_stab_string_offset): Only copy input string if a
138 fresh copy is needed, not if the section already exists.
139 (s_stab_generic): Cache stab section name to bypass lookups, since
140 usually it will match. Could be made faster still by changing the
141 memory allocation rules.
142 (s_xstab): Cache section name to bypass repeated string
143 allocation.
144
145 * frags.c (frag_new): Deleted register declarations.
146
147 * listing.c (frag_now): Don't declare.
148
149 * as.c (chunksize): New variable.
150 (debug_memory): New variable.
151 (main): If debug_memory is set, reduce chunksize and
152 _bfd_chunksize.
153 * as.h (chunksize): Declare it.
154 * read.c (read_begin): Use it.
155
de5ebe2e
KR
156 * config/tc-alpha.c (md_shortopts): Include 'g'.
157 (md_parse_option): Ignore it.
158
dd1a5316
KR
159 * Makefile.in (distclean): Remove Makefile and config.status from
160 testsuite directory.
161 (clean-here): Don't delete testsuite. Instead, delete only the
162 files within it that would be generated by running tests.
163
de5ebe2e
KR
164 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
165 frag_now_fix instead of accessing obstack info directly.
166 * config/tc-arm.c (s_ltorg): Ditto.
167 (md_assemble): Ditto.
168
169 * config/tc-i386.c (md_assemble): Call frag_grow instead of
170 obstack_room.
171
625f4e48
KR
172Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
173
174 * stabs.c (aout_process_stab): Insert debug symbol into symbol
175 chain after parsing value expression, if any, to avoid separating
176 continued .stabs lines.
177
33a8c1b6
ILT
178Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
179
180 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
181 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
182
b6b8f911
MM
183Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
184
625f4e48
KR
185 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
186 -mcom support and PPC_OPCODE_ANY for -many.
187 (md_parse_option): Ditto.
188 (ppc_arch): Ditto.
189 (md_begin): For duplicate instructions, print all duplicates
190 before aborting.
b6b8f911 191
4c2935f4
MM
192Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
193
194 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
195 common mode operation.
196 (md_show_usage): Add -mcom to usage message.
4c2935f4
MM
197
198Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
199
200 * expr.c (op_rank): Add O_symbol_rva.
201 * expr.h (operatorT): Add O_symbol_rva.
202 * read.c (cons_worker): Set O_symbol_rva when necessary.
203 * write.c (fix_new_exp): Understand O_symbol_rva.
204
7db865dc
ILT
205Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
206
207 * config/tc-mips.c: Correct s_cons arguments. From Michael
208 Joosten <joost@ori.cadlab.de>.
209
1b13e6fc
ILT
210Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
211
212 * config/tc-ppc.c (ppc_macro): Make count unsigned.
213 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
214 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
215 the fix_line field.
216 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
217 make non-static. Change all users.
218 * config/obj-coff.h (coff_n_line_nos): Declare.
219
9e3e3d4c
KR
220Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
221
222 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
223
224 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
225
226 * config/obj-elf.c (obj_elf_common): Convert specified byte
227 alignment to power of two. Set size of local bss symbol.
228
229 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
230
13a6c753
ILT
231Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
232
233 * sb.c, macro.c: Decide whether to include <string.h> or
234 <strings.h> just as as.h does.
235
a75aafcd
DE
236Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
237
238 * Makefile.in (site.exp): Fix setting of $srcdir.
239
240 * config/tc-arm.c (md_atof): Fix little-endian output.
f6ec8c46
DE
241 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
242 all coff targets.
a75aafcd 243
d89861c7
KR
244Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
245
4d2ba393
KR
246 * doc/as.texinfo: Split out the NS32k family documentation,
247 despite its being commented out for now.
248 * doc/c-ns32k.texi: New file.
249
2c5eb48d
KR
250 * sb.c, macro.c: Include string.h.
251
6b0a6eaa
KR
252 * Makefile.in (comparison): Only check *.o; we don't care if
253 timestamps inserted by the native linker differ.
254
d89861c7
KR
255 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
256 if alignment stricter than 4 bytes is requested; in that case,
257 align to a 4-byte boundary first.
258
70aeac05
KR
259 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
260
261 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
262 uninitialized" warning for `Max_Source_Offset'.
263
eaaa2a42
KK
264Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
265
266 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
267 qualifiers and detect errors if present.
268 (md_assemble): Add call to parse_toc_entry. Also added some support
269 for the [tocv] qualifier.
270 (ppc_pe_tocd): New function to support data in the toc section.
271
cd557d83
ILT
272Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
273
274 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
275 an absolute symbol.
276
42ac8fa8
ILT
277Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
278
cd557d83
ILT
279 * config/tc-m68k.c (isbyte): Accept all values from -65536 to
280 +65535, so ~VAL will not be rejected.
281
42ac8fa8
ILT
282 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
283 skip characters after the pseudo-op.
284 (s_else): Likewise.
285 * read.c (get_line_sb): Don't look past buffer_limit.
286 (s_include): In MRI mode, skip characters after the file name.
287
eef66934
ILT
288Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
289
290 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
291 periods in register names.
292
cdc49cba 293For older changes see ChangeLog.1.
This page took 0.046169 seconds and 4 git commands to generate.