* config/tc-ppc.c (ppc_lglobl): Do the right thing.
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
2
3 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
4 bfd/libelf.h.
5
6 Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
7
8 * configure.in (alpha-*-linux*): Use ecoff.
9 * configure: Rebuild.
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
20 "weakext".
21 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
22 (s_extern): Remove.
23
24 Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
25
26 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
27
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
34 to be dropped.
35
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
43 do anything.
44 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
45 suffix.
46 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
47 entries.
48
49 * input-scrub.c (input_scrub_push): Reset sb_index.
50
51 Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
52
53 * listing.c (listing_newline): Don't create a frag in the absolute
54 section.
55
56 Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
57
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
60 it.
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.
69
70 * write.c (write_object_file): If tc_adjust_symtab is defined,
71 call it just before the call to obj_adjust_symtab.
72
73 * symbols.c (symbol_find_or_make): Change name to be const.
74 * symbols.h (symbol_find_or_make): Update declaration.
75
76 Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
77
78 * doc/as.texinfo (Align): Mention SH.
79 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
80 .align value.
81 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
82 (Z8000 Directives, even): Don't give numeric align value, instead
83 explain behavior.
84
85 Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
86
87 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
88 instruction.
89
90 Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
91
92 * Makefile.in (diststuff): Also make info.
93 (maintainer-clean realclean): Also make clean-info.
94
95 Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
96
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
100 same name.
101
102 Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
103
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.
109
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.
113
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
119 TC_FORCE_RELOCATION.
120
121 Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
122
123 * input-scrub.c (as_where): Set name to null pointer if we don't
124 have a file name.
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.
128
129 * input-file.c (input_file_open): If the input file can't be
130 opened, consider it an error.
131
132 Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
133
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).
138
139 Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
140
141 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
142 BFD_ASSEMBLER is defined.
143
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
149 frags variable.
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
153 obstack alignment.
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
157 variables.
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.
169
170 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
171
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
178 allocation.
179
180 * frags.c (frag_new): Deleted register declarations.
181
182 * listing.c (frag_now): Don't declare.
183
184 * as.c (chunksize): New variable.
185 (debug_memory): New variable.
186 (main): If debug_memory is set, reduce chunksize and
187 _bfd_chunksize.
188 * as.h (chunksize): Declare it.
189 * read.c (read_begin): Use it.
190
191 * config/tc-alpha.c (md_shortopts): Include 'g'.
192 (md_parse_option): Ignore it.
193
194 * Makefile.in (distclean): Remove Makefile and config.status from
195 testsuite directory.
196 (clean-here): Don't delete testsuite. Instead, delete only the
197 files within it that would be generated by running tests.
198
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.
203
204 * config/tc-i386.c (md_assemble): Call frag_grow instead of
205 obstack_room.
206
207 Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
208
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.
212
213 Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
214
215 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
216 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
217
218 Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
219
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.
223 (ppc_arch): Ditto.
224 (md_begin): For duplicate instructions, print all duplicates
225 before aborting.
226
227 Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
228
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.
232
233 Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
234
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.
239
240 Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
241
242 * config/tc-mips.c: Correct s_cons arguments. From Michael
243 Joosten <joost@ori.cadlab.de>.
244
245 Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
246
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
250 the fix_line field.
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.
254
255 Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
256
257 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
258
259 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
260
261 * config/obj-elf.c (obj_elf_common): Convert specified byte
262 alignment to power of two. Set size of local bss symbol.
263
264 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
265
266 Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
267
268 * sb.c, macro.c: Decide whether to include <string.h> or
269 <strings.h> just as as.h does.
270
271 Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
272
273 * Makefile.in (site.exp): Fix setting of $srcdir.
274
275 * config/tc-arm.c (md_atof): Fix little-endian output.
276 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
277 all coff targets.
278
279 Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
280
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.
284
285 * sb.c, macro.c: Include string.h.
286
287 * Makefile.in (comparison): Only check *.o; we don't care if
288 timestamps inserted by the native linker differ.
289
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.
293
294 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
295
296 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
297 uninitialized" warning for `Max_Source_Offset'.
298
299 Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
300
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.
306
307 Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
308
309 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
310 an absolute symbol.
311
312 Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
313
314 * config/tc-m68k.c (isbyte): Accept all values from -65536 to
315 +65535, so ~VAL will not be rejected.
316
317 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
318 skip characters after the pseudo-op.
319 (s_else): Likewise.
320 * read.c (get_line_sb): Don't look past buffer_limit.
321 (s_include): In MRI mode, skip characters after the file name.
322
323 Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
324
325 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
326 periods in register names.
327
328 For older changes see ChangeLog.1.
This page took 0.035813 seconds and 5 git commands to generate.