1 |
205 |
julius |
Sat Dec 30 23:42:51 1995 Jeffrey A Law (law@cygnus.com)
|
2 |
|
|
|
3 |
|
|
* ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
|
4 |
|
|
addresses for static variables.
|
5 |
|
|
|
6 |
|
|
Thu Dec 21 12:54:32 1995 Michael Meissner
|
7 |
|
|
|
8 |
|
|
* config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
|
9 |
|
|
and xgot give the old toc16 relocation.
|
10 |
|
|
(md_apply_fix3): Support all GOT relocations.
|
11 |
|
|
|
12 |
|
|
Wed Dec 20 14:57:17 1995 Ian Lance Taylor
|
13 |
|
|
|
14 |
|
|
* config/tc-mips.c (load_address): Correctly handle a constant in
|
15 |
|
|
SVR4_PIC case. From Richard Kenner .
|
16 |
|
|
|
17 |
|
|
Fri Dec 15 14:25:07 1995 J.T. Conklin
|
18 |
|
|
|
19 |
|
|
* config/tc-sh.c (parse_reg): Recognize SH3 registers.
|
20 |
|
|
(get_specific): Handle A_SSR, A_SPC and A_REG_B.
|
21 |
|
|
(build_Mbytes): Handle REG_B.
|
22 |
|
|
|
23 |
|
|
Fri Dec 15 16:07:25 1995 Ian Lance Taylor
|
24 |
|
|
|
25 |
|
|
* ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
|
26 |
|
|
|
27 |
|
|
Fri Dec 15 12:11:48 1995 Raymond Jou
|
28 |
|
|
|
29 |
|
|
* mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
|
30 |
|
|
|
31 |
|
|
Thu Dec 14 15:09:52 1995 Ian Lance Taylor
|
32 |
|
|
|
33 |
|
|
* config/obj-coff.c (write_object_file): Set the s_align field to
|
34 |
|
|
the number of bytes, rather than to the power of 2.
|
35 |
|
|
|
36 |
|
|
Tue Dec 12 12:19:37 1995 Ian Lance Taylor
|
37 |
|
|
|
38 |
|
|
* Makefile.in (DISTCLEAN_HERE): New variable.
|
39 |
|
|
(distclean): Use it.
|
40 |
|
|
(maintainer-clean): Depend upon clean-here rather than clean,
|
41 |
|
|
distclean, and clean-info. Run make maintainer-clean in doc.
|
42 |
|
|
Remove files listed in DISTCLEAN_HERE.
|
43 |
|
|
* doc/Makefile.in (maintainer-clean realclean): Split out from
|
44 |
|
|
distclean. Depend upon clean-info and distclean.
|
45 |
|
|
|
46 |
|
|
Mon Dec 11 16:23:51 1995 Stan Shebs
|
47 |
|
|
|
48 |
|
|
* mac-as.r: Fix copyright and version strings.
|
49 |
|
|
(cfrg): Use PROG_NAME instead of literal name.
|
50 |
|
|
|
51 |
|
|
Mon Dec 11 14:14:08 1995 Ian Lance Taylor
|
52 |
|
|
|
53 |
|
|
* read.c (read_a_source_file): If tc_unrecognized_line is defined,
|
54 |
|
|
call it.
|
55 |
|
|
* config/tc-a29k.h (tc_unrecognized_line): Define.
|
56 |
|
|
* config/tc-a29k.c (a29k_unrecognized_line): New function.
|
57 |
|
|
(md_operand): Handle a29k style local dollar labels.
|
58 |
|
|
|
59 |
|
|
Wed Dec 6 17:52:52 1995 Ian Lance Taylor
|
60 |
|
|
|
61 |
|
|
* config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
|
62 |
|
|
|
63 |
|
|
Tue Dec 5 13:26:34 1995 Ken Raeburn
|
64 |
|
|
|
65 |
|
|
* read.c (s_fill): If md_flush_pending_output is defined, call
|
66 |
|
|
it.
|
67 |
|
|
|
68 |
|
|
Mon Dec 4 15:10:53 1995 Ken Raeburn
|
69 |
|
|
|
70 |
|
|
* config/obj-coff.c (size_section, fill_section, fixup_mdeps):
|
71 |
|
|
Treat rs_align_code like rs_align.
|
72 |
|
|
|
73 |
|
|
Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
|
74 |
|
|
|
75 |
|
|
* config/tc-arm.c (cp_address_required_here): Set pre_inc when
|
76 |
|
|
converting an absolute address into a PC-relative one.
|
77 |
|
|
|
78 |
|
|
Fri Dec 1 11:57:56 1995 Stan Shebs
|
79 |
|
|
|
80 |
|
|
* mpw-config.in: Don't always use te-generic.h for emulation.
|
81 |
|
|
(powerpc-apple-macos): Use emulation te-macos.h.
|
82 |
|
|
* mpw-make.sed (install, install-only): Edit in Mac-specific
|
83 |
|
|
install procedure.
|
84 |
|
|
|
85 |
|
|
Fri Dec 1 10:59:25 1995 Ian Lance Taylor
|
86 |
|
|
|
87 |
|
|
* configure.in: Improve message about unsupported ELF targets.
|
88 |
|
|
* configure: Rebuild.
|
89 |
|
|
|
90 |
|
|
* config/tc-m88k.c (m88k_do_align): Correct check for whether fill
|
91 |
|
|
pattern is zero. From Manfred Hollstein.
|
92 |
|
|
|
93 |
|
|
Thu Nov 30 13:25:49 1995 Kim Knuttila
|
94 |
|
|
|
95 |
|
|
* config/tc-ppc.c (ppc_pe_section): To get the alignment right for
|
96 |
|
|
the various idata sections, we check the name on the .section pseudo.
|
97 |
|
|
|
98 |
|
|
Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283
|
99 |
|
|
|
100 |
|
|
* config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
|
101 |
|
|
add section's paddr to add_number; compatibility to native as and
|
102 |
|
|
ld forbids.
|
103 |
|
|
|
104 |
|
|
Wed Nov 29 23:14:27 1995 Ken Raeburn
|
105 |
|
|
|
106 |
|
|
* configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
|
107 |
|
|
|
108 |
|
|
* hash.c (struct hash_entry): Moved here...
|
109 |
|
|
* hash.h (struct hash_entry): ...from here.
|
110 |
|
|
|
111 |
|
|
* config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
|
112 |
|
|
if it's already known to be null.
|
113 |
|
|
|
114 |
|
|
Wed Nov 29 13:00:20 1995 Michael Meissner
|
115 |
|
|
|
116 |
|
|
* config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
|
117 |
|
|
bit relocs converted to PC relative relocs. This turned out to
|
118 |
|
|
add the offset from the beginning of .text twice.
|
119 |
|
|
|
120 |
|
|
Tue Nov 28 10:42:36 1995 Ken Raeburn
|
121 |
|
|
|
122 |
|
|
* stabs.c (s_stab_generic): In 's' case, free string from
|
123 |
|
|
obstack.
|
124 |
|
|
|
125 |
|
|
* config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
|
126 |
|
|
sy_name_offset.
|
127 |
|
|
* config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
|
128 |
|
|
Ditto.
|
129 |
|
|
|
130 |
|
|
* subsegs.h (segment_info_type): Make bitfields unsigned.
|
131 |
|
|
|
132 |
|
|
* expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
|
133 |
|
|
and move them together. On most systems this will reduce the
|
134 |
|
|
structure size by one word.
|
135 |
|
|
(operatorT): Define O_max.
|
136 |
|
|
* expr.c (expr_begin): Verify that X_op is wide enough to hold
|
137 |
|
|
O_max.
|
138 |
|
|
|
139 |
|
|
* read.c (pop_insert): Print error returned by hash table
|
140 |
|
|
insertion code.
|
141 |
|
|
|
142 |
|
|
* as.c (dump_statistics): Split out from main; dump some hash
|
143 |
|
|
table stats and target-specific stats.
|
144 |
|
|
(start_time): No longer automatic to main.
|
145 |
|
|
(main): Set file-level start_time and call dump_statistics at
|
146 |
|
|
exit. Exit by calling xexit.
|
147 |
|
|
(show_usage): Make --statistics description less specific.
|
148 |
|
|
* subsegs.c (subsegs_print_statistics): New function.
|
149 |
|
|
* write.c (write_print_statistics): New function.
|
150 |
|
|
(n_fixups): New static variable.
|
151 |
|
|
(fix_new_internal): Increment it.
|
152 |
|
|
* read.c (read_print_statistics): New function.
|
153 |
|
|
* read.h (read_print_statistics): Declare.
|
154 |
|
|
* symbols.c (symbol_print_statistics): New function.
|
155 |
|
|
* symbols.h (symbol_print_statistics): Declare.
|
156 |
|
|
* hash.c (hash_print_statistics): New function.
|
157 |
|
|
* hash.h (hash_print_statistics): Declare.
|
158 |
|
|
* config/tc-i386.c (i386_print_statistics): New function.
|
159 |
|
|
* config/tc-i386.h (i386_print_statistics): Declare.
|
160 |
|
|
(tc_print_statistics): New macro.
|
161 |
|
|
* messages.c (as_fatal, as_assert, as_abort): Use xexit, not
|
162 |
|
|
exit.
|
163 |
|
|
|
164 |
|
|
* hash.c (DELETED): Rewrite to use a valid but unique address.
|
165 |
|
|
(START_POWER): Reduce to 10.
|
166 |
|
|
(enum stat_enum): New enumerator, replacing STAT_* index macros.
|
167 |
|
|
Add new values for counting strcmp calls.
|
168 |
|
|
(GROW_FACTOR): New macro.
|
169 |
|
|
(hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
|
170 |
|
|
of nesting blocks.
|
171 |
|
|
(FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
|
172 |
|
|
(hash_new): Use FULL_VALUE.
|
173 |
|
|
(struct hash_control): Definition moved here.
|
174 |
|
|
(hash_code): Don't mask to low bits.
|
175 |
|
|
(hash_ask): Mask returned hash code here. Check hash value before
|
176 |
|
|
calling strcmp; count strcmp calls.
|
177 |
|
|
* hash.h (struct hash_control): Declare, don't define, here.
|
178 |
|
|
(HASH_STATLENGTH): Deleted.
|
179 |
|
|
(struct hash_entry): Add field for hash code.
|
180 |
|
|
(hash_say, hash_apply): Don't declare.
|
181 |
|
|
|
182 |
|
|
* hash.c (destroy): Return void.
|
183 |
|
|
(applicatee): Ditto.
|
184 |
|
|
(main): Fix declarations.
|
185 |
|
|
(hash_apply): Return void. Argument `function' returns void. Put
|
186 |
|
|
inside "#ifdef TEST".
|
187 |
|
|
(hash_say): Define only if TEST is defined.
|
188 |
|
|
* hash.h (hash_apply, hash_say): Declarations deleted.
|
189 |
|
|
|
190 |
|
|
Mon Nov 27 13:18:25 1995 Ian Lance Taylor
|
191 |
|
|
|
192 |
|
|
* configure: Rebuild with autoconf 2.7.
|
193 |
|
|
|
194 |
|
|
Tue Nov 21 18:39:01 1995 Ian Lance Taylor
|
195 |
|
|
|
196 |
|
|
* aclocal.m4 (AC_PROG_CC): Remove local definition.
|
197 |
|
|
* configure: Rebuild with autoconf 2.6.
|
198 |
|
|
|
199 |
|
|
Mon Nov 20 17:26:00 1995 Ian Lance Taylor
|
200 |
|
|
|
201 |
|
|
* config/tc-ppc.c (ppc_debug_name_section_size): Remove.
|
202 |
|
|
(ppc_stabx): Don't increment ppc_debug_name_section_size.
|
203 |
|
|
(ppc_bc): Likewise.
|
204 |
|
|
(ppc_frob_file): Remove.
|
205 |
|
|
* config/tc-ppc.h (tc_frob_file): Don't define.
|
206 |
|
|
(ppc_frob_file): Don't declare.
|
207 |
|
|
|
208 |
|
|
Mon Nov 20 13:37:05 1995 Ken Raeburn
|
209 |
|
|
|
210 |
|
|
* Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
|
211 |
|
|
* config/alpha-opcode.h: Include one-operand variants of jmp and
|
212 |
|
|
jsr.
|
213 |
|
|
|
214 |
|
|
* config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
|
215 |
|
|
with te-delta.h in 8.3 file systems.
|
216 |
|
|
* configure.in: Adjusted.
|
217 |
|
|
|
218 |
|
|
Thu Nov 16 12:49:38 1995 Ian Lance Taylor
|
219 |
|
|
|
220 |
|
|
* config/tc-mips.c (s_err): Remove; just use the one in read.c.
|
221 |
|
|
|
222 |
|
|
* config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
|
223 |
|
|
number.
|
224 |
|
|
* expr.c (operand): Handle MRI suffixes after unadorned 0.
|
225 |
|
|
|
226 |
|
|
Thu Nov 16 00:21:44 1995 Ken Raeburn
|
227 |
|
|
|
228 |
|
|
Version 2.6 released.
|
229 |
|
|
* Makefile.in (VERSION): Updated to 2.6.
|
230 |
|
|
|
231 |
|
|
* config/obj-coff.c (write_object_file): Change use of md_do_align
|
232 |
|
|
to pass a pointer rather than a fill value, to match other uses.
|
233 |
|
|
|
234 |
|
|
Wed Nov 15 03:52:00 1995 Ken Raeburn
|
235 |
|
|
|
236 |
|
|
* config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
|
237 |
|
|
|
238 |
|
|
* as.c (main): Move md_end call to just after call to
|
239 |
|
|
perform_an_assembly_pass. Delete cpu-specific code here.
|
240 |
|
|
* config/tc-i960.h (md_end): New macro, calls brtab_emit.
|
241 |
|
|
* config/tc-arm.c (md_end): Unused function deleted.
|
242 |
|
|
* config/tc-ns32k.c (md_end): Ditto.
|
243 |
|
|
|
244 |
|
|
* config/tc-i386.c (i386_align_code): New function, moved here
|
245 |
|
|
from HANDLE_ALIGN macro.
|
246 |
|
|
* config/tc-i386.h (HANDLE_ALIGN): Call it.
|
247 |
|
|
|
248 |
|
|
Mon Jul 31 14:53:19 1995 Alan Modra
|
249 |
|
|
|
250 |
|
|
* config/tc-i386.h (md_do_align): cast fill and 0x90 to char
|
251 |
|
|
before comparing
|
252 |
|
|
|
253 |
|
|
Mon May 1 10:91:49 1995 Alan Modra
|
254 |
|
|
|
255 |
|
|
* config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
|
256 |
|
|
multi-byte nops to avoid changing gcc. The necessary gcc change
|
257 |
|
|
might break old assemblers.
|
258 |
|
|
|
259 |
|
|
Sat Apr 22 20:53:05 1995 Alan Modra
|
260 |
|
|
|
261 |
|
|
* config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
|
262 |
|
|
generate optimal multi-byte nop instructions for ".align n"
|
263 |
|
|
".align n,0x90", and aligns requiring more than 15 bytes of
|
264 |
|
|
padding still generate multiple 0x90's as before.
|
265 |
|
|
|
266 |
|
|
Mon Nov 13 17:40:21 1995 Ian Lance Taylor
|
267 |
|
|
|
268 |
|
|
* config/tc-m68k.c (s_mri_until): Call pop_mri_control.
|
269 |
|
|
|
270 |
|
|
Mon Nov 13 20:39:06 1995 Stan Shebs
|
271 |
|
|
|
272 |
|
|
* configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
|
273 |
|
|
* configure: Update.
|
274 |
|
|
* mpw-make.sed: Reorder commands to make sed happier.
|
275 |
|
|
* config/te-macos.h: New file.
|
276 |
|
|
* config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
|
277 |
|
|
|
278 |
|
|
Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
|
279 |
|
|
|
280 |
|
|
* config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
|
281 |
|
|
conditional branches.
|
282 |
|
|
(md_apply_fix): Likewise.
|
283 |
|
|
|
284 |
|
|
Thu Nov 9 16:14:01 1995 Ian Lance Taylor
|
285 |
|
|
|
286 |
|
|
* config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
|
287 |
|
|
generate a reloc which the linker will not handle correctly. Fix
|
288 |
|
|
overflow checking--R_IREL is 18 bits, not 17.
|
289 |
|
|
|
290 |
|
|
Wed Nov 8 19:59:36 1995 Ian Lance Taylor
|
291 |
|
|
|
292 |
|
|
* config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
|
293 |
|
|
from a PC relative reloc if TC_A29K.
|
294 |
|
|
|
295 |
|
|
* config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
|
296 |
|
|
code depends upon it.
|
297 |
|
|
|
298 |
|
|
* config/tc-a29k.c (md_operand): Handle $float, $double, and
|
299 |
|
|
$extend. Based on code from Eric Freudenthal
|
300 |
|
|
.
|
301 |
|
|
* config/tc-a29k.h (LEX_DOLLAR): Define.
|
302 |
|
|
* read.c (LEX_DOLLAR): Define if not defined.
|
303 |
|
|
(lex_type): Use LEX_DOLLAR.
|
304 |
|
|
|
305 |
|
|
Wed Nov 8 16:38:14 1995 Eric Freudenthal
|
306 |
|
|
|
307 |
|
|
* configure.in (a29k-nyu-sym1): New target, just like other a29k
|
308 |
|
|
targets.
|
309 |
|
|
|
310 |
|
|
Wed Nov 8 11:38:48 1995 Ian Lance Taylor
|
311 |
|
|
|
312 |
|
|
* config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
|
313 |
|
|
|
314 |
|
|
Tue Nov 7 09:14:35 1995 Kim Knuttila
|
315 |
|
|
|
316 |
|
|
* config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
|
317 |
|
|
used only by "dlltool.c".
|
318 |
|
|
|
319 |
|
|
Mon Nov 6 18:51:26 1995 Ian Lance Taylor
|
320 |
|
|
|
321 |
|
|
* config/tc-alpha.c: Undefine inline if not __GNUC__.
|
322 |
|
|
(md_pseudo_table): Don't define "extern".
|
323 |
|
|
|
324 |
|
|
Sat Nov 4 00:51:21 1995 Ian Lance Taylor
|
325 |
|
|
|
326 |
|
|
* config/tc-ppc.c (ppc_biei): Force symbol into text_section.
|
327 |
|
|
|
328 |
|
|
* config/tc-ppc.c (md_show_usage): Put backslash at end of line.
|
329 |
|
|
|
330 |
|
|
Fri Nov 3 13:02:59 1995 Ian Lance Taylor
|
331 |
|
|
|
332 |
|
|
* macro.c (macro_expand_body): Don't warn about == with a
|
333 |
|
|
nonexistent parameter, in case it is in a comment field.
|
334 |
|
|
|
335 |
|
|
* as.c (main): On TC_A29K, call macro_init with macro_alternate
|
336 |
|
|
set to 1.
|
337 |
|
|
* macro.c (get_any_string): Don't keep quotes if macro_strip_at is
|
338 |
|
|
set, even if macro_alternate is set.
|
339 |
|
|
(get_apost_token): If macro_strip_at, only skip kind if it is '@'.
|
340 |
|
|
(sub_actual): If macro_strip_at, and kind is '@', don't look up
|
341 |
|
|
the token unless it ended in '@'.
|
342 |
|
|
* config/tc-a29k.c (line_separator_chars): Remove '@'.
|
343 |
|
|
* doc/c-a29k.texi: Document macro usage on A29K.
|
344 |
|
|
|
345 |
|
|
Thu Nov 2 23:07:57 1995 Ian Lance Taylor
|
346 |
|
|
|
347 |
|
|
* config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
|
348 |
|
|
signed word.
|
349 |
|
|
(install_operand): Likewise.
|
350 |
|
|
|
351 |
|
|
* config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
|
352 |
|
|
|
353 |
|
|
Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283
|
354 |
|
|
|
355 |
|
|
* configure.in (m88k-motorola-sysv*): New target.
|
356 |
|
|
* configure: Rebuild.
|
357 |
|
|
* config/te-delta88.h: New file.
|
358 |
|
|
* config/obj-coff.c (write_object_file): Use md_do_align if it is
|
359 |
|
|
defined.
|
360 |
|
|
* config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
|
361 |
|
|
(md_do_align): Define.
|
362 |
|
|
* config/tc-m88k.c: Include "subsegs.h".
|
363 |
|
|
(m88k_do_align): New function.
|
364 |
|
|
|
365 |
|
|
* config/te-delta.h (STRIP_UNDERSCORE): Don't define.
|
366 |
|
|
(COFF_NOLOAD_PROBLEM): Define.
|
367 |
|
|
(LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
|
368 |
|
|
|
369 |
|
|
Wed Nov 1 16:07:43 1995 Ken Raeburn
|
370 |
|
|
|
371 |
|
|
* config/tc-i386.c (md_assemble): For a jump instruction with
|
372 |
|
|
non-constant target, require 7 available bytes in the current
|
373 |
|
|
frag, not 6.
|
374 |
|
|
|
375 |
|
|
Tue Oct 31 15:37:16 1995 Fred Fish
|
376 |
|
|
|
377 |
|
|
* config/obj-elf.h: Include bfd/elf-bfd.h rather than
|
378 |
|
|
bfd/libelf.h.
|
379 |
|
|
|
380 |
|
|
Tue Oct 31 16:34:28 1995 David Mosberger-Tang
|
381 |
|
|
|
382 |
|
|
* configure.in (alpha-*-linux*): Use ecoff.
|
383 |
|
|
* configure: Rebuild.
|
384 |
|
|
* ecoff.c (ecoff_directive_extern): New function.
|
385 |
|
|
(ecoff_directive_weakext): New function.
|
386 |
|
|
(ecoff_build_symbols): Handle weak symbols.
|
387 |
|
|
(ecoff_setup_ext): Likewise.
|
388 |
|
|
(ecoff_frob_symbol): Warn about weak common symbols.
|
389 |
|
|
* ecoff.h (ecoff_directive_extern): Declare.
|
390 |
|
|
(ecoff_directive_weakext): Declare.
|
391 |
|
|
* symbols.c (S_IS_WEAK): New function.
|
392 |
|
|
* symbols.h (S_IS_WEAK): Declare.
|
393 |
|
|
* config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
|
394 |
|
|
"weakext".
|
395 |
|
|
* config/tc-mips.c (mips_pseudo_table): Remove "extern".
|
396 |
|
|
(s_extern): Remove.
|
397 |
|
|
|
398 |
|
|
Tue Oct 31 13:29:08 1995 Ian Lance Taylor
|
399 |
|
|
|
400 |
|
|
* config/tc-ppc.c (ppc_lglobl): Do the right thing.
|
401 |
|
|
|
402 |
|
|
* config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
|
403 |
|
|
(ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
|
404 |
|
|
(ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
|
405 |
|
|
* config/obj-coff.c (coff_frob_symbol): Don't call
|
406 |
|
|
SA_SET_SYM_ENDNDX with the current symbol; call it with the next
|
407 |
|
|
one. If OBJ_XCOFF, try to figure out whether the symbol is going
|
408 |
|
|
to be dropped.
|
409 |
|
|
|
410 |
|
|
* config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
|
411 |
|
|
(ppc_stab_symbol): New static variable.
|
412 |
|
|
(ppc_change_csect): Check that ppc_toc_csect is not NULL.
|
413 |
|
|
(ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
|
414 |
|
|
sy_tc.real_name to the stab string.
|
415 |
|
|
(ppc_bc, ppc_ec): New static functions.
|
416 |
|
|
(ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
|
417 |
|
|
do anything.
|
418 |
|
|
(ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
|
419 |
|
|
suffix.
|
420 |
|
|
(ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
|
421 |
|
|
entries.
|
422 |
|
|
|
423 |
|
|
* input-scrub.c (input_scrub_push): Reset sb_index.
|
424 |
|
|
|
425 |
|
|
Mon Oct 30 17:52:46 1995 Ian Lance Taylor
|
426 |
|
|
|
427 |
|
|
* listing.c (listing_newline): Don't create a frag in the absolute
|
428 |
|
|
section.
|
429 |
|
|
|
430 |
|
|
Sat Oct 28 01:02:05 1995 Ian Lance Taylor
|
431 |
|
|
|
432 |
|
|
* config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
|
433 |
|
|
(ppc_csect): Move most of the code to ppc_change_csect, and call
|
434 |
|
|
it.
|
435 |
|
|
(ppc_change_csect): New static function, taken from ppc_csect.
|
436 |
|
|
(ppc_section): New static function.
|
437 |
|
|
(ppc_saw_abs): New static varable.
|
438 |
|
|
(ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
|
439 |
|
|
a symbol has no csect.
|
440 |
|
|
(ppc_adjust_symtab): New function.
|
441 |
|
|
* config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
|
442 |
|
|
(ppc_adjust_symtab): Declare if OBJ_XCOFF.
|
443 |
|
|
|
444 |
|
|
* write.c (write_object_file): If tc_adjust_symtab is defined,
|
445 |
|
|
call it just before the call to obj_adjust_symtab.
|
446 |
|
|
|
447 |
|
|
* symbols.c (symbol_find_or_make): Change name to be const.
|
448 |
|
|
* symbols.h (symbol_find_or_make): Update declaration.
|
449 |
|
|
|
450 |
|
|
Thu Oct 26 19:18:27 1995 Ken Raeburn
|
451 |
|
|
|
452 |
|
|
* doc/as.texinfo (Align): Mention SH.
|
453 |
|
|
* doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
|
454 |
|
|
.align value.
|
455 |
|
|
* doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
|
456 |
|
|
(Z8000 Directives, even): Don't give numeric align value, instead
|
457 |
|
|
explain behavior.
|
458 |
|
|
|
459 |
|
|
Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
|
460 |
|
|
|
461 |
|
|
* config/tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a
|
462 |
|
|
pre-increment instruction.
|
463 |
|
|
|
464 |
|
|
Wed Oct 25 11:59:24 1995 Per Bothner
|
465 |
|
|
|
466 |
|
|
* Makefile.in (diststuff): Also make info.
|
467 |
|
|
(maintainer-clean realclean): Also make clean-info.
|
468 |
|
|
|
469 |
|
|
Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
|
470 |
|
|
|
471 |
|
|
* config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
|
472 |
|
|
(pa_subspace): For ".nsubspa", always create a new subspace
|
473 |
|
|
with the given attributes, even if one already exists with the
|
474 |
|
|
same name.
|
475 |
|
|
|
476 |
|
|
Tue Oct 24 14:50:38 1995 Michael Meissner
|
477 |
|
|
|
478 |
|
|
* config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
|
479 |
|
|
TC_FORCE_RELOCATION, taking an additional section argument. If
|
480 |
|
|
the section of the target symbol is not the same as the current
|
481 |
|
|
section, always force the relocation to be used.
|
482 |
|
|
(MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
|
483 |
|
|
|
484 |
|
|
* config/tc-ppc.c (md_pcrel_from_section): Rename from the
|
485 |
|
|
md_pcrel_from function, taking an additional section argument.
|
486 |
|
|
Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
|
487 |
|
|
|
488 |
|
|
* write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
|
489 |
|
|
older TC_FORCE_RELOCATION if not defined.
|
490 |
|
|
(MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
|
491 |
|
|
(fixup_segment): Use MD_PCREL_FROM_SECTION instead of
|
492 |
|
|
md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
|
493 |
|
|
TC_FORCE_RELOCATION.
|
494 |
|
|
|
495 |
|
|
Mon Oct 23 16:20:04 1995 Ken Raeburn
|
496 |
|
|
|
497 |
|
|
* input-scrub.c (as_where): Set name to null pointer if we don't
|
498 |
|
|
have a file name.
|
499 |
|
|
* messages.c (identify): Only print filename if non-null.
|
500 |
|
|
(as_show_where): Ditto, for line number too.
|
501 |
|
|
(as_warn_internal, as_bad_internal): Ditto.
|
502 |
|
|
|
503 |
|
|
* input-file.c (input_file_open): If the input file can't be
|
504 |
|
|
opened, consider it an error.
|
505 |
|
|
|
506 |
|
|
Mon Oct 23 11:15:44 1995 James G. Smith
|
507 |
|
|
|
508 |
|
|
* config/tc-mips.c: Added mips_4100 control, and support for
|
509 |
|
|
accepting the 4100 as a MIPS architecture variant (md_begin,
|
510 |
|
|
macro_build, mips_ip, md_parse_option). Adding suitable
|
511 |
|
|
command-line OPTIONs, and updating the help text (md_show_usage).
|
512 |
|
|
|
513 |
|
|
Wed Oct 18 13:20:32 1995 Ken Raeburn
|
514 |
|
|
|
515 |
|
|
* subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
|
516 |
|
|
BFD_ASSEMBLER is defined.
|
517 |
|
|
|
518 |
|
|
* Use one active frag and one obstack per frag chain:
|
519 |
|
|
* frags.c (frags): Variable deleted.
|
520 |
|
|
(frag_alloc): New function.
|
521 |
|
|
(frag_grow, frag_more, frag_variant, frag_now_fix,
|
522 |
|
|
frag_append_1_char): Refer to frchain_now->frch_obstack instead of
|
523 |
|
|
frags variable.
|
524 |
|
|
(frag_new): Ditto. Verify that frch_last and frag_now match on
|
525 |
|
|
entry and exit, and that old frag_now has non-zero type. Replace
|
526 |
|
|
"know" uses with "assert". Use frag_alloc instead of mucking with
|
527 |
|
|
obstack alignment.
|
528 |
|
|
* frags.h (frags): Declaration deleted.
|
529 |
|
|
* subsegs.h (struct frchain): Add new field frch_frag_now.
|
530 |
|
|
* subsegs.c (frchains, dummy_frag, absolute_frchain): New static
|
531 |
|
|
variables.
|
532 |
|
|
(subsegs_begin): Initialize frchains obstack. Under gcc, don't
|
533 |
|
|
give it any stricter alignment than frchainS structures need. Do
|
534 |
|
|
not initialize frags obstack. Set frag_now to point to
|
535 |
|
|
dummy_obstack. Initialize absolute_frchain.
|
536 |
|
|
(subseg_set_rest): Save and restore frag_now in frch_frag_now
|
537 |
|
|
field of frchainS. Don't create new frags on section switch, and
|
538 |
|
|
use frag_alloc when creating a new frag chain. For absolute
|
539 |
|
|
section, set frchain_now to absolute_frchain. Verify that
|
540 |
|
|
frch_last and frag_now match on entry and exit. Initialize
|
541 |
|
|
per-chain obstack, and under gcc, set required alignment to that
|
542 |
|
|
needed by fragS structure.
|
543 |
|
|
|
544 |
|
|
* write.c (chain_frchains_together_1): Verify fr_type is nonzero.
|
545 |
|
|
|
546 |
|
|
* stabs.c (get_stab_string_offset): Only copy input string if a
|
547 |
|
|
fresh copy is needed, not if the section already exists.
|
548 |
|
|
(s_stab_generic): Cache stab section name to bypass lookups, since
|
549 |
|
|
usually it will match. Could be made faster still by changing the
|
550 |
|
|
memory allocation rules.
|
551 |
|
|
(s_xstab): Cache section name to bypass repeated string
|
552 |
|
|
allocation.
|
553 |
|
|
|
554 |
|
|
* frags.c (frag_new): Deleted register declarations.
|
555 |
|
|
|
556 |
|
|
* listing.c (frag_now): Don't declare.
|
557 |
|
|
|
558 |
|
|
* as.c (chunksize): New variable.
|
559 |
|
|
(debug_memory): New variable.
|
560 |
|
|
(main): If debug_memory is set, reduce chunksize and
|
561 |
|
|
_bfd_chunksize.
|
562 |
|
|
* as.h (chunksize): Declare it.
|
563 |
|
|
* read.c (read_begin): Use it.
|
564 |
|
|
|
565 |
|
|
* config/tc-alpha.c (md_shortopts): Include 'g'.
|
566 |
|
|
(md_parse_option): Ignore it.
|
567 |
|
|
|
568 |
|
|
* Makefile.in (distclean): Remove Makefile and config.status from
|
569 |
|
|
testsuite directory.
|
570 |
|
|
(clean-here): Don't delete testsuite. Instead, delete only the
|
571 |
|
|
files within it that would be generated by running tests.
|
572 |
|
|
|
573 |
|
|
* config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
|
574 |
|
|
frag_now_fix instead of accessing obstack info directly.
|
575 |
|
|
* config/tc-arm.c (s_ltorg): Ditto.
|
576 |
|
|
(md_assemble): Ditto.
|
577 |
|
|
|
578 |
|
|
* config/tc-i386.c (md_assemble): Call frag_grow instead of
|
579 |
|
|
obstack_room.
|
580 |
|
|
|
581 |
|
|
Wed Oct 18 12:22:59 1995 Ken Raeburn
|
582 |
|
|
|
583 |
|
|
* stabs.c (aout_process_stab): Insert debug symbol into symbol
|
584 |
|
|
chain after parsing value expression, if any, to avoid separating
|
585 |
|
|
continued .stabs lines.
|
586 |
|
|
|
587 |
|
|
Mon Oct 16 10:56:41 1995 Ian Lance Taylor
|
588 |
|
|
|
589 |
|
|
* config/tc-mips.c (mips_elf_pseudo_table): Remove.
|
590 |
|
|
(mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
|
591 |
|
|
|
592 |
|
|
Mon Oct 16 07:07:37 1995 Michael Meissner
|
593 |
|
|
|
594 |
|
|
* config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
|
595 |
|
|
-mcom support and PPC_OPCODE_ANY for -many.
|
596 |
|
|
(md_parse_option): Ditto.
|
597 |
|
|
(ppc_arch): Ditto.
|
598 |
|
|
(md_begin): For duplicate instructions, print all duplicates
|
599 |
|
|
before aborting.
|
600 |
|
|
|
601 |
|
|
Sun Oct 15 22:06:14 1995 Michael Meissner
|
602 |
|
|
|
603 |
|
|
* config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
|
604 |
|
|
common mode operation.
|
605 |
|
|
(md_show_usage): Add -mcom to usage message.
|
606 |
|
|
|
607 |
|
|
Fri Oct 13 13:32:45 1995 steve chamberlain
|
608 |
|
|
|
609 |
|
|
* expr.c (op_rank): Add O_symbol_rva.
|
610 |
|
|
* expr.h (operatorT): Add O_symbol_rva.
|
611 |
|
|
* read.c (cons_worker): Set O_symbol_rva when necessary.
|
612 |
|
|
* write.c (fix_new_exp): Understand O_symbol_rva.
|
613 |
|
|
|
614 |
|
|
Tue Oct 10 11:34:14 1995 Ian Lance Taylor
|
615 |
|
|
|
616 |
|
|
* config/tc-mips.c: Correct s_cons arguments. From Michael
|
617 |
|
|
Joosten .
|
618 |
|
|
|
619 |
|
|
Mon Oct 9 19:59:53 1995 Ian Lance Taylor
|
620 |
|
|
|
621 |
|
|
* config/tc-ppc.c (ppc_macro): Make count unsigned.
|
622 |
|
|
(ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
|
623 |
|
|
(ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
|
624 |
|
|
the fix_line field.
|
625 |
|
|
* config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
|
626 |
|
|
make non-static. Change all users.
|
627 |
|
|
* config/obj-coff.h (coff_n_line_nos): Declare.
|
628 |
|
|
|
629 |
|
|
Fri Oct 6 16:24:27 1995 Ken Raeburn
|
630 |
|
|
|
631 |
|
|
Mon Sep 25 22:49:32 1995 Andreas Schwab
|
632 |
|
|
|
633 |
|
|
* configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
|
634 |
|
|
|
635 |
|
|
* config/obj-elf.c (obj_elf_common): Convert specified byte
|
636 |
|
|
alignment to power of two. Set size of local bss symbol.
|
637 |
|
|
|
638 |
|
|
* config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
|
639 |
|
|
|
640 |
|
|
Fri Oct 6 15:22:25 1995 Ian Lance Taylor
|
641 |
|
|
|
642 |
|
|
* sb.c, macro.c: Decide whether to include or
|
643 |
|
|
just as as.h does.
|
644 |
|
|
|
645 |
|
|
Fri Oct 6 09:55:33 1995 Doug Evans
|
646 |
|
|
|
647 |
|
|
* Makefile.in (site.exp): Fix setting of $srcdir.
|
648 |
|
|
|
649 |
|
|
* config/tc-arm.c (md_atof): Fix little-endian output.
|
650 |
|
|
* config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
|
651 |
|
|
all coff targets.
|
652 |
|
|
|
653 |
|
|
Thu Oct 5 20:17:30 1995 Ken Raeburn
|
654 |
|
|
|
655 |
|
|
* doc/as.texinfo: Split out the NS32k family documentation,
|
656 |
|
|
despite its being commented out for now.
|
657 |
|
|
* doc/c-ns32k.texi: New file.
|
658 |
|
|
|
659 |
|
|
* sb.c, macro.c: Include string.h.
|
660 |
|
|
|
661 |
|
|
* Makefile.in (comparison): Only check *.o; we don't care if
|
662 |
|
|
timestamps inserted by the native linker differ.
|
663 |
|
|
|
664 |
|
|
* config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
|
665 |
|
|
if alignment stricter than 4 bytes is requested; in that case,
|
666 |
|
|
align to a 4-byte boundary first.
|
667 |
|
|
|
668 |
|
|
Thu Sep 28 19:35:27 1995 Pat Rankin
|
669 |
|
|
|
670 |
|
|
* config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
|
671 |
|
|
uninitialized" warning for `Max_Source_Offset'.
|
672 |
|
|
|
673 |
|
|
Wed Oct 4 16:17:02 1995 Kim Knuttila
|
674 |
|
|
|
675 |
|
|
* config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
|
676 |
|
|
qualifiers and detect errors if present.
|
677 |
|
|
(md_assemble): Add call to parse_toc_entry. Also added some support
|
678 |
|
|
for the [tocv] qualifier.
|
679 |
|
|
(ppc_pe_tocd): New function to support data in the toc section.
|
680 |
|
|
|
681 |
|
|
Wed Oct 4 14:03:39 1995 Ian Lance Taylor
|
682 |
|
|
|
683 |
|
|
* config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
|
684 |
|
|
an absolute symbol.
|
685 |
|
|
|
686 |
|
|
Tue Oct 3 12:18:19 1995 Ian Lance Taylor
|
687 |
|
|
|
688 |
|
|
* config/tc-m68k.c (isword): Accept all values from -65536 to
|
689 |
|
|
+65535, so ~VAL will not be rejected.
|
690 |
|
|
|
691 |
|
|
* cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
|
692 |
|
|
skip characters after the pseudo-op.
|
693 |
|
|
(s_else): Likewise.
|
694 |
|
|
* read.c (get_line_sb): Don't look past buffer_limit.
|
695 |
|
|
(s_include): In MRI mode, skip characters after the file name.
|
696 |
|
|
|
697 |
|
|
Mon Oct 2 16:15:27 1995 Ian Lance Taylor
|
698 |
|
|
|
699 |
|
|
* config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
|
700 |
|
|
periods in register names.
|
701 |
|
|
|
702 |
|
|
Sat Sep 30 23:03:31 1995 Jeff Law (law@hurl.cygnus.com)
|
703 |
|
|
|
704 |
|
|
* config/tc-hppa.c (hppa_fix_adjustable): DP relative relocs
|
705 |
|
|
are not adjustable in SOM to avoid confusing the optimizing
|
706 |
|
|
linker.
|
707 |
|
|
|
708 |
|
|
Fri Sep 29 15:18:08 1995 Ian Lance Taylor
|
709 |
|
|
|
710 |
|
|
Add some support for i960 MRI compatibility mode.
|
711 |
|
|
* config/tc-i960.c (md_pseudo_table): Add endian.
|
712 |
|
|
(get_args): Don't discard a space between alphanumeric characters.
|
713 |
|
|
(get_cdisp): Change text_section to now_seg.
|
714 |
|
|
(s_endian): New static function.
|
715 |
|
|
* config/tc-i960.h (MRI_MODE_NEEDS_PSEUDO_DOT): Define.
|
716 |
|
|
* expr.h (operatorT): Add O_logical_not, O_logical_and, and
|
717 |
|
|
O_logical_or.
|
718 |
|
|
* expr.c (operand): Treat '!' as logical not operator. If
|
719 |
|
|
TC_I960, in MRI mode permit `sizeof secname' and `startof
|
720 |
|
|
secname'.
|
721 |
|
|
(op_rank): Bump values by 2 to make room for && and ||. Add
|
722 |
|
|
entries for !, &&, and ||.
|
723 |
|
|
(expr_begin): Only do MRI changes if TC_M68K.
|
724 |
|
|
(operator): Recognize || and &&.
|
725 |
|
|
(expr): Handle new operatorT values.
|
726 |
|
|
* symbols.c (resolve_symbol_value): Handle new operatorT values.
|
727 |
|
|
(print_expr_1): Likewise.
|
728 |
|
|
* read.c (potable): Add debug, err, irep, irepc, print, purgem,
|
729 |
|
|
and rep.
|
730 |
|
|
(read_a_source_file): Handle MRI_MODE_NEEDS_PSEUDO_DOT.
|
731 |
|
|
(mri_comment_field): Only handle weird comments if TC_M68K.
|
732 |
|
|
(s_err): New function.
|
733 |
|
|
(s_org): Only punt in MRI mode if TC_M68K.
|
734 |
|
|
(s_mri_sect): Write TC_I960 version.
|
735 |
|
|
(s_print, s_purgem): New functions.
|
736 |
|
|
* read.h (s_err, s_print, s_purgem): Declare.
|
737 |
|
|
* cond.c (s_ifeqs): Implement.
|
738 |
|
|
(ignore_input): Handle MRI_MODE_NEEDS_PSEUDO_DOT.
|
739 |
|
|
* macro.c (macro_strip_at): New static variable.
|
740 |
|
|
(macro_init): Add strip_at parameter.
|
741 |
|
|
(do_formals): If macro_strip_at, change NARG to $NARG.
|
742 |
|
|
(define_macro): Skip a comma after the macro name.
|
743 |
|
|
(get_apost_token): Skip character if macro_strip_at, even if
|
744 |
|
|
macro_mri.
|
745 |
|
|
(macro_expand_body): If macro_strip_at, don't recognize parameters
|
746 |
|
|
in strings unless they are preceded by an '@'. If macro_strip_at,
|
747 |
|
|
pass '@' as strip character to sub_actual. If macro_strip_at,
|
748 |
|
|
strip '@' characters.
|
749 |
|
|
(macro_expand): If macro_strip_at, change NARG to $NARG.
|
750 |
|
|
(delete_macro): New function.
|
751 |
|
|
(expand_irp): Skip leading and trailing '"' characters if irpc.
|
752 |
|
|
* macro.h (macro_init): Mention new strip_at parameter.
|
753 |
|
|
(delete_macro): Declare.
|
754 |
|
|
* as.c (main): If TC_I960, pass flag_mri to macro_init as
|
755 |
|
|
strip_at; otherwise, pass 0.
|
756 |
|
|
* gasp.c (process_pseudo_op): Pass 0 to macro_init as strip_at.
|
757 |
|
|
(main): Likewise.
|
758 |
|
|
* doc/as.texinfo: Document i960 MRI mode.
|
759 |
|
|
|
760 |
|
|
* as.c (show_usage): Mention --defsym.
|
761 |
|
|
|
762 |
|
|
Thu Sep 28 19:25:04 1995 Stan Shebs
|
763 |
|
|
|
764 |
|
|
* mpw-config.in: Translate "powerpc" into "ppc", remove gen of
|
765 |
|
|
VERSION, move gen of "conf" here from makefile.
|
766 |
|
|
* mpw-make.sed: New file, sed commands to translate Unix makefile
|
767 |
|
|
into MPW syntax.
|
768 |
|
|
* mpw-make.in: Remove.
|
769 |
|
|
* mac-as.r: New file, Mac resource file.
|
770 |
|
|
* as.h (inline): Don't decide about defining if __MWERKS__,
|
771 |
|
|
remove redundant conditional and definition.
|
772 |
|
|
|
773 |
|
|
* stabs.c (s_stab_generic): Fix syntax for OBJ_PROCESS_STAB.
|
774 |
|
|
|
775 |
|
|
Thu Sep 28 15:43:15 1995 Kim Knuttila
|
776 |
|
|
|
777 |
|
|
* config/tc-ppc.c (md_apply_fix3): Removed some TE_PE specific
|
778 |
|
|
manipulations, since I can't prove they're needed.
|
779 |
|
|
(md_begin): Removed init_regtable, insert_reg, and the call points.
|
780 |
|
|
(register_name): New function. Parses a register name, if appropriate.
|
781 |
|
|
(md_assemble): Added call to register_name to handle symbolic names.
|
782 |
|
|
(ppc_pe_section): Removed all duplicate IMAGE defines, and include
|
783 |
|
|
coff/pe.h instead.
|
784 |
|
|
|
785 |
|
|
Thu Sep 28 12:09:19 1995 Ian Lance Taylor
|
786 |
|
|
|
787 |
|
|
* config/tc-ppc.h (tc_fix_adjustable): Define.
|
788 |
|
|
(ppc_pe_fix_adjustable): Declare.
|
789 |
|
|
* config/tc-ppc.c (ppc_pe_fix_adjustable): New function.
|
790 |
|
|
|
791 |
|
|
Thu Sep 28 01:11:58 1995 Doug Evans
|
792 |
|
|
|
793 |
|
|
* config/tc-arm.h (TARGET_FORMAT): Define for arm-coff.
|
794 |
|
|
|
795 |
|
|
Wed Sep 27 12:53:58 1995 Ian Lance Taylor
|
796 |
|
|
|
797 |
|
|
* symbols.c (S_IS_LOCAL): All symbols in reg_section are local.
|
798 |
|
|
|
799 |
|
|
* config/tc-ppc.h (OBJ_XCOFF): Define if OBJ_COFF and not TE_PE.
|
800 |
|
|
Change OBJ_COFF checks to check OBJ_XCOFF instead.
|
801 |
|
|
(TARGET_FORMAT): Fully parenthesize.
|
802 |
|
|
(LEX_QM): Define if TE_PE.
|
803 |
|
|
* config/tc-ppc.c: Replace OBJ_COFF by OBJ_XCOFF throughout.
|
804 |
|
|
Remove checks of TE_PE within #ifdef OBJ_XCOFF sections.
|
805 |
|
|
(init_regtable): Make i unsigned.
|
806 |
|
|
(ppc_set_current_section): Rename from setCurrentSection. Change
|
807 |
|
|
all callers.
|
808 |
|
|
(ppc_arch): Return after as_fatal to avoid gcc warning.
|
809 |
|
|
(md_assemble): Only declare reloc if OBJ_ELF. Add default to
|
810 |
|
|
switch on fixups[i].reloc to avoid gcc warning.
|
811 |
|
|
(IMAGE_SGN_LNK_OTHER): Fix nested comment.
|
812 |
|
|
(ppc_pe_function): Don't call ppc_canonicalize_symbol_name.
|
813 |
|
|
(ppc_frob_symbol): Remove TE_PE section checks.
|
814 |
|
|
(md_estimate_size_before_relax): Return after abort to avoid gcc
|
815 |
|
|
warning.
|
816 |
|
|
(md_apply_fix3): Add BFD_RELOC_16_GOT_PCREL to switch.
|
817 |
|
|
* read.c (LEX_QM): Define as 0 if not defined.
|
818 |
|
|
(lex_type): Use LEX_QM for '?'.
|
819 |
|
|
|
820 |
|
|
* configure.in: No need to check whether ${cpu_type} is powerpc;
|
821 |
|
|
it never will be.
|
822 |
|
|
* configure: Rebuild.
|
823 |
|
|
|
824 |
|
|
Wed Sep 27 11:33:38 1995 Michael Meissner
|
825 |
|
|
|
826 |
|
|
* config/tc-ppc.c (md_apply_fix3): Remove Sep 26 changes to this
|
827 |
|
|
function, keeping other Sep. 26 changes.
|
828 |
|
|
|
829 |
|
|
Wed Sep 27 10:29:13 1995 Kim Knuttila
|
830 |
|
|
|
831 |
|
|
* configure (emulations): Added support for ppcle-*-[pe|winnt]
|
832 |
|
|
(target_frag): Removed an extraneous PPC definition.
|
833 |
|
|
* configure.in (emulations): Same
|
834 |
|
|
* config/tc-ppc.h:
|
835 |
|
|
* config/tc-ppc.c (md_pseudo_table): Base support for new or altered
|
836 |
|
|
pseudo ops -
|
837 |
|
|
section, comm, function> There will be more.
|
838 |
|
|
(pre_defined_registers): Predefined reg table to name registers, etc
|
839 |
|
|
(md_begin): Setup reg table initialization
|
840 |
|
|
(md_assemble): Initial [toc]x(rtoc) support
|
841 |
|
|
(ppc_frob_label): Removed some xcoff specific processing from TE_PE
|
842 |
|
|
(ppc_frob_symbol): Removed some xcoff specific processing from TE_PE
|
843 |
|
|
Added support for more predefined sections
|
844 |
|
|
(ppc_frob_section): Removed some xcoff specific processing from TE_PE
|
845 |
|
|
(ppc_fix_adjustable): Removed from TE_PE mainline
|
846 |
|
|
(md_apply_fix3): For TE_PE toc entries, we don't need to mess
|
847 |
|
|
with fx_addnumber. Removed for the time being.
|
848 |
|
|
(lots): Put back missing assignments to ppc_current_csect.
|
849 |
|
|
|
850 |
|
|
Tue Sep 26 14:57:59 1995 Michael Meissner
|
851 |
|
|
|
852 |
|
|
* config/tc-ppc.c (ppc_elf_suffix): Support all of the V.4
|
853 |
|
|
relocations.
|
854 |
|
|
(ppc_elf_cons): Remove restriction that @ suffixes must be done
|
855 |
|
|
with .long. Add error if relocation does not fit in the number of
|
856 |
|
|
bytes provided.
|
857 |
|
|
(md_assemble): For absolute branches, map PC relative relocations
|
858 |
|
|
back into an equivalent absolute relocation.
|
859 |
|
|
(md_pcrel_from): If TC_FORCE_RELOCATION is true, relocation offset
|
860 |
|
|
is 0, not segment start.
|
861 |
|
|
(md_apply_fix3): Don't bother writing addend into the instruction,
|
862 |
|
|
since it is ignored, given that we use RELA relocations for ELF.
|
863 |
|
|
|
864 |
|
|
* config/tc-ppc.h (TC_FORCE_RELOCATION): Define to force all
|
865 |
|
|
branch prediction relocations to always be emitted.
|
866 |
|
|
|
867 |
|
|
Mon Sep 25 16:08:43 1995 Michael Meissner
|
868 |
|
|
|
869 |
|
|
* config/tc-ppc.c (ppc_elf_suffix): Lower case reloc before
|
870 |
|
|
testing.
|
871 |
|
|
(md_assemble): Be more robust in terms of relocations.
|
872 |
|
|
(md_apply_fix3): Allow 14 bit relocs to be emitted for external
|
873 |
|
|
symbols in addition to 26 bit relocs. Properly insert 26/14 bit
|
874 |
|
|
reloc value fields into the instruction stream.
|
875 |
|
|
|
876 |
|
|
Mon Sep 25 00:23:16 1995 Ian Lance Taylor
|
877 |
|
|
|
878 |
|
|
* config/tc-arm.c (md_atof): Output little endian constants in
|
879 |
|
|
little endian mode.
|
880 |
|
|
|
881 |
|
|
* config/obj-coff.c (obj_coff_section): Pass &type, not type,
|
882 |
|
|
s_mri_sect.
|
883 |
|
|
|
884 |
|
|
* configure.in: Fix typo: fmt-elf to fmt=elf.
|
885 |
|
|
|
886 |
|
|
Fri Sep 22 16:34:46 1995 Michael Meissner
|
887 |
|
|
|
888 |
|
|
* config/tc-ppc.c (ppc_elf_suffix): Rewrite to use a table of
|
889 |
|
|
strings and relocations they represent. Add @br{,n}taken for
|
890 |
|
|
branch taken/not taken support.
|
891 |
|
|
(md_apply_fix3): Add BFD_RELOC_PPC_B16_BR{,N}TAKEN support.
|
892 |
|
|
|
893 |
|
|
Thu Sep 21 21:10:17 1995 Michael Meissner
|
894 |
|
|
|
895 |
|
|
* config/tc-ppc.c (md_parse_option): -mrelocatable-lib now only
|
896 |
|
|
sets EF_PPC_RELOCATABLE_LIB and not also EF_PPC_RELOCATABLE.
|
897 |
|
|
|
898 |
|
|
Thu Sep 21 16:30:56 1995 Ian Lance Taylor
|
899 |
|
|
|
900 |
|
|
* subsegs.c (subseg_set): Permit SEG_ABSOLUTE in know expression.
|
901 |
|
|
* expr.c (expr): Account for new operatorT values in know
|
902 |
|
|
expression.
|
903 |
|
|
|
904 |
|
|
* write.c (fixup_segment): Clear fixp->fx_subsy if the relocation
|
905 |
|
|
is fully resolved.
|
906 |
|
|
|
907 |
|
|
Thu Sep 21 14:11:49 1995 Michael Meissner
|
908 |
|
|
|
909 |
|
|
* config/tc-ppc.c (ppc_flags): New variable to hold the flag bits
|
910 |
|
|
to set in the ELF header.
|
911 |
|
|
(md_parse_option): Add support for -mrelocatable-lib. Make both
|
912 |
|
|
-mrelocatable and -mrelocatable-lib set ppc_flags.
|
913 |
|
|
(md_begin): Set ELF flags with ppc_flags.
|
914 |
|
|
|
915 |
|
|
Wed Sep 20 13:01:52 1995 Ian Lance Taylor
|
916 |
|
|
|
917 |
|
|
* Makefile.in (maintainer-clean): New target, synonym for
|
918 |
|
|
realclean. Add GNU standard maintainer-clean echos.
|
919 |
|
|
* doc/Makefile.in (maintainer-clean): New target, synonym for
|
920 |
|
|
realclean.
|
921 |
|
|
|
922 |
|
|
Tue Sep 19 11:31:31 1995 Ian Lance Taylor
|
923 |
|
|
|
924 |
|
|
* config/tc-m68k.c (m68k_ip): Reject immediate operands for '%'.
|
925 |
|
|
|
926 |
|
|
* config/tc-m68k.c (m68k_ip): Reject immediate operands for '|'.
|
927 |
|
|
Replace 'P' with '0', '1', and '2'.
|
928 |
|
|
|
929 |
|
|
* config/tc-m68k.c (parse_mri_control_operand): Change leftstop
|
930 |
|
|
and rightstop to not be const.
|
931 |
|
|
(parse_mri_control_expression): Likewise.
|
932 |
|
|
(build_mri_control_operand): Likewise. Use m68k_ip_op to examine
|
933 |
|
|
the operand, not m68k_reg_parse.
|
934 |
|
|
(s_mri_if): In MRI mode, stop at the first '*'.
|
935 |
|
|
(s_mri_while): Likewise.
|
936 |
|
|
(s_mri_else): In MRI mode, ignore trailing characters.
|
937 |
|
|
(s_mri_endi, s_mri_break, s_mri_next, s_mri_for): Likewise.
|
938 |
|
|
(s_mri_endf, s_mri_repeat, s_mri_until, s_mri_endw): Likewise.
|
939 |
|
|
* config/m68k-parse.y: Revert yesterday's change.
|
940 |
|
|
* config/m68k-parse.h: Revert yesterday's change.
|
941 |
|
|
|
942 |
|
|
Mon Sep 18 15:22:28 1995 Ian Lance Taylor
|
943 |
|
|
|
944 |
|
|
* config/tc-m68k.c (parse_mri_control_operand): Change leftstart
|
945 |
|
|
and rightstart to not be const.
|
946 |
|
|
(parse_mri_control_expression): Likewise.
|
947 |
|
|
(build_mri_control_operand): Likewise. If the left side of the
|
948 |
|
|
comparison is a register, and the right side is not, swap the two
|
949 |
|
|
sides.
|
950 |
|
|
* config/m68k-parse.y (m68k_reg_parse): Make globally visible.
|
951 |
|
|
* config/m68k-parse.h (m68k_reg_parse): Declare.
|
952 |
|
|
|
953 |
|
|
* read.c (mri_comment_field): New function.
|
954 |
|
|
(mri_comment_end): New function.
|
955 |
|
|
(s_align_bytes): Use mri_comment_field.
|
956 |
|
|
(s_align_ptwo, s_comm, s_mri_common, s_fail, s_globl): Likewise.
|
957 |
|
|
(s_float_space, s_struct): Likewise.
|
958 |
|
|
(s_space): Use mri_comment_field rather than doing it by hand.
|
959 |
|
|
(cons_worker, equals): Likewise.
|
960 |
|
|
(s_end): Ignore comments starting with '*' or '!'.
|
961 |
|
|
* read.h (mri_comment_field): Declare.
|
962 |
|
|
(mri_comment_end): Declare.
|
963 |
|
|
* cond.c (s_if): Use mri_comment_field.
|
964 |
|
|
* config/tc-m68k.c (s_chip, s_reg): Likewise.
|
965 |
|
|
|
966 |
|
|
* write.c (fixup_segment): Handle ABS-sym in -sym case rather than
|
967 |
|
|
sym-sym case.
|
968 |
|
|
* config/obj-coff.c (fixup_segment): Likewise. Permit negative
|
969 |
|
|
symbols if TC_M68K.
|
970 |
|
|
* config/tc-m68k.c (tc_coff_fix2rtype): If fx_tcbit is set, return
|
971 |
|
|
R_RELLONG_NEG.
|
972 |
|
|
(tc_gen_reloc): If fx_tcbit is set, abort.
|
973 |
|
|
(md_apply_fix_2): For a negative reloc, move fx_subsy to fx_addsy,
|
974 |
|
|
and set fx_tcbit.
|
975 |
|
|
|
976 |
|
|
* config/tc-m68k.c (s_reg): Ignore comment field in MRI mode.
|
977 |
|
|
|
978 |
|
|
Mon Sep 18 14:44:04 1995 Arne H. Juul
|
979 |
|
|
|
980 |
|
|
* configure.in (mips-dec-netbsd*): New target.
|
981 |
|
|
* configure: Rebuild.
|
982 |
|
|
|
983 |
|
|
Sun Sep 17 22:17:43 1995 Ian Lance Taylor
|
984 |
|
|
|
985 |
|
|
* configure.in: Set endian to little for mips-*-ultrix*.
|
986 |
|
|
* configure: Rebuild.
|
987 |
|
|
|
988 |
|
|
Fri Sep 15 13:16:55 1995 Ian Lance Taylor
|
989 |
|
|
|
990 |
|
|
* expr.c (current_location): New static function. Handle magic
|
991 |
|
|
symbol `.'; in absolute section, return a constant.
|
992 |
|
|
(operand): Call current_location for '.' and '$', instead of doing
|
993 |
|
|
it inline. In MRI mode, call current_location for '*'.
|
994 |
|
|
|
995 |
|
|
Fri Sep 15 21:39:29 1995 Jeff Law (law@snake.cs.utah.edu)
|
996 |
|
|
|
997 |
|
|
* config/tc-m68k.c: Change some "CONST" references to "const".
|
998 |
|
|
|
999 |
|
|
Fri Sep 15 17:27:41 1995 Ken Raeburn
|
1000 |
|
|
|
1001 |
|
|
Tue Sep 12 17:08:23 1995 Pat Rankin
|
1002 |
|
|
|
1003 |
|
|
* config/obj-vms.c (VMS_stab_parse): simplify first loop;
|
1004 |
|
|
use S_GET_NAME/modify/S_SET_NAME sequence instead of abusing
|
1005 |
|
|
S_GET_NAME when updating symbol name.
|
1006 |
|
|
(local_symbols_DST): first prefix/postfix typo from July 21st.
|
1007 |
|
|
[plus comment reformatting --kr]
|
1008 |
|
|
|
1009 |
|
|
Wed Sep 13 12:33:03 1995 Ian Lance Taylor
|
1010 |
|
|
|
1011 |
|
|
* Makefile.in (EXPECT): New variable.
|
1012 |
|
|
(CHECKFLAGS): Remove.
|
1013 |
|
|
(site.exp): New target.
|
1014 |
|
|
(check): Rewrite to invoke runtest directly, rather than recurring
|
1015 |
|
|
down into testsuite.
|
1016 |
|
|
(clean-here): Remove testsuite directory.
|
1017 |
|
|
(clean, distclean): Don't recur into testsuite.
|
1018 |
|
|
* configure.in: Don't call AC_CONFIG_SUBDIRS(testsuite).
|
1019 |
|
|
* configure: Rebuild.
|
1020 |
|
|
|
1021 |
|
|
* write.c (relax_and_size_seg): Change to the segment we are
|
1022 |
|
|
relaxing, in case md_convert_frag, called by cvt_frag_to_fill,
|
1023 |
|
|
wants to call fix_new.
|
1024 |
|
|
* config/tc-m68k.c (m68k_ip): Permit PC relative code if the
|
1025 |
|
|
segment of the symbol is the current segment, not just in
|
1026 |
|
|
text_section.
|
1027 |
|
|
(md_convert_frag_1): Don't call subseg_change.
|
1028 |
|
|
(md_estimate_size_before_relax): Likewise.
|
1029 |
|
|
|
1030 |
|
|
Tue Sep 12 10:36:40 1995 Doug Evans
|
1031 |
|
|
|
1032 |
|
|
* config/tc-arm.c (md_atof): Fix debugging printf, and leave it
|
1033 |
|
|
out by default.
|
1034 |
|
|
|
1035 |
|
|
Mon Sep 11 11:39:11 1995 Ian Lance Taylor
|
1036 |
|
|
|
1037 |
|
|
* doc/configure.in: Remove unused file.
|
1038 |
|
|
|
1039 |
|
|
* app.c (do_scrub_chars): Grab all available spaces at start of
|
1040 |
|
|
line before preserving a single space. Remove state == 0 test
|
1041 |
|
|
which will never succeed.
|
1042 |
|
|
* macro.c (macro_expand_body): Delete local variables from the
|
1043 |
|
|
formal hash table.
|
1044 |
|
|
(macro_expand): In MRI mode, stop when whitespace is seen in the
|
1045 |
|
|
argument list.
|
1046 |
|
|
|
1047 |
|
|
* sb.c: Include "libiberty.h".
|
1048 |
|
|
* macro.c: Likewise. Also include if it exists.
|
1049 |
|
|
|
1050 |
|
|
Fri Sep 8 00:27:46 1995 Ian Lance Taylor
|
1051 |
|
|
|
1052 |
|
|
* app.c (do_scrub_chars): In MRI mode, keep a space before a
|
1053 |
|
|
possible comment character.
|
1054 |
|
|
* config/tc-m68k.c (m68k_ip): In MRI mode, ignore anything after
|
1055 |
|
|
an instruction which takes no operands.
|
1056 |
|
|
|
1057 |
|
|
* Makefile.in (install): Don't install gasp in $(tooldir).
|
1058 |
|
|
|
1059 |
|
|
* config/tc-mips.c (macro): Handle a non zero base register for
|
1060 |
|
|
M_U{L,S}{D,W,H}_A.
|
1061 |
|
|
|
1062 |
|
|
* gasp.c (show_usage): Put program_name argument in first fprintf,
|
1063 |
|
|
not second.
|
1064 |
|
|
|
1065 |
|
|
Thu Sep 7 12:33:58 1995 Ian Lance Taylor
|
1066 |
|
|
|
1067 |
|
|
* expr.c (operand): Handle 08 and 09 in MRI mode.
|
1068 |
|
|
* macro.c (ISSEP): Remove duplicated `"' character.
|
1069 |
|
|
(get_any_string): Copy some characters for which ISSEP is true:
|
1070 |
|
|
';', '>', '(', ')'. Otherwise we can get in an infinite loop.
|
1071 |
|
|
* read.c (s_space): In MRI mode, the expressions stop at the first
|
1072 |
|
|
unquoted space.
|
1073 |
|
|
(cons_worker): In MRI mode, restore the terminating character at
|
1074 |
|
|
the end of the function.
|
1075 |
|
|
|
1076 |
|
|
* read.c (cons_worker): Don't use #elif; old compilers don't
|
1077 |
|
|
support it.
|
1078 |
|
|
|
1079 |
|
|
Wed Sep 6 21:13:06 1995 Ian Lance Taylor
|
1080 |
|
|
|
1081 |
|
|
* app.c (do_scrub_chars): In MRI mode, silently end quoted strings
|
1082 |
|
|
at newline characters. In MRI mode, always keep spaces in the
|
1083 |
|
|
operands field. In MRI mode, treat a line comment character as a
|
1084 |
|
|
regular comment character following a space.
|
1085 |
|
|
* cond.c (ignore_input): Use strncasecmp rather than strncmp when
|
1086 |
|
|
looking for special pseudo-ops.
|
1087 |
|
|
* read.c (cons_worker): In MRI mode, the expressions stop at the
|
1088 |
|
|
first unquoted space.
|
1089 |
|
|
(equals): Likewise.
|
1090 |
|
|
|
1091 |
|
|
Wed Sep 6 15:03:53 1995 Jim Wilson
|
1092 |
|
|
|
1093 |
|
|
* config/tc-sh.c (get_operands): Read third arg if it exists.
|
1094 |
|
|
Otherwise, clear it.
|
1095 |
|
|
(get_specific, case F_FR0): Add.
|
1096 |
|
|
|
1097 |
|
|
Wed Sep 6 15:03:53 1995 Jim Wilson
|
1098 |
|
|
|
1099 |
|
|
* config/tc-sh.c (get_specific): Delete arg_to_test.
|
1100 |
|
|
(md_assemble): Increase operand array from 2 to 3.
|
1101 |
|
|
|
1102 |
|
|
Tue Sep 5 16:47:36 1995 Stan Shebs
|
1103 |
|
|
|
1104 |
|
|
* config/tc-mips.c: Remove CYGNUS LOCAL comments.
|
1105 |
|
|
(md_begin): Use 0/1 instead of TRUE/FALSE.
|
1106 |
|
|
(md_show_usage): Break up long format string for the benefit
|
1107 |
|
|
of lame compilers.
|
1108 |
|
|
* config/tc-m68k.c (md_show_usage): Ditto.
|
1109 |
|
|
* gasp.c (show_usage): Ditto.
|
1110 |
|
|
* macro.c (check_macro): Cast result of hash_find.
|
1111 |
|
|
|
1112 |
|
|
Tue Sep 5 14:46:38 1995 Ken Raeburn
|
1113 |
|
|
|
1114 |
|
|
* configure.in: When testing for a free() declaration in system
|
1115 |
|
|
header files, cast the address to a function pointer, not to an
|
1116 |
|
|
integer.
|
1117 |
|
|
|
1118 |
|
|
* write.c (fix_new_internal): Call TC_INIT_FIX_DATA if TC_FIX_TYPE
|
1119 |
|
|
is defined. Don't initialize fx_bsr. Verify that fx_size field
|
1120 |
|
|
is wide enough to hold stored value.
|
1121 |
|
|
* write.h (struct fix): Change tc_fix_data to type TC_FIX_TYPE if
|
1122 |
|
|
that is defined, otherwise omit it. Delete fx_bsr. Change
|
1123 |
|
|
fx_size to unsigned char.
|
1124 |
|
|
* config/tc-i960.h (TC_FIX_TYPE, fx_bsr, TC_INIT_FIX_DATA): New
|
1125 |
|
|
macros.
|
1126 |
|
|
* config/tc-ns32k.h (TC_FIX_TYPE, fx_bsr, TC_INIT_FIX_DATA): New
|
1127 |
|
|
macros.
|
1128 |
|
|
* config/tc-hppa.h (TC_FIX_TYPE): Define as PTR.
|
1129 |
|
|
|
1130 |
|
|
* config/tc-i860.c (md_apply_fix): Delete code for checking
|
1131 |
|
|
fx_im_disp, and for handling non-zero values, since it never gets
|
1132 |
|
|
set after being initialized to zero.
|
1133 |
|
|
|
1134 |
|
|
* write.h (struct fix): Make fx_im_disp always 2 bits, since the
|
1135 |
|
|
only tc-* files actually using it need that much.
|
1136 |
|
|
|
1137 |
|
|
NS32K changes from Ian Dall:
|
1138 |
|
|
* configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and
|
1139 |
|
|
ns32k-pc532-lites* like ns32k-pc532-netbsd*.
|
1140 |
|
|
* config/tc-ns32k.h (LOCAL_LABELS_FB): Define to 1.
|
1141 |
|
|
|
1142 |
|
|
Fri Sep 1 17:02:15 1995 steve chamberlain
|
1143 |
|
|
|
1144 |
|
|
* write.c (fixup_segment): Get TC_FORCE_RELOCATION up the
|
1145 |
|
|
right way!
|
1146 |
|
|
|
1147 |
|
|
Fri Sep 1 08:20:19 1995 James G. Smith
|
1148 |
|
|
|
1149 |
|
|
* config/tc-mips.c (md_parse_option, md_begin, md_show_usage):
|
1150 |
|
|
Add support for "-mcpu=vr4300" as processor identifier.
|
1151 |
|
|
|
1152 |
|
|
Thu Aug 31 16:41:06 1995 steve chamberlain
|
1153 |
|
|
|
1154 |
|
|
* write.c (fixup_segment): Remove change of 29th.
|
1155 |
|
|
* config/tc-{i386,arm}.h (TC_FORCE_RELOCATION): Keep RVA relocs.
|
1156 |
|
|
|
1157 |
|
|
Tue Aug 29 19:42:58 1995 Andreas Schwab
|
1158 |
|
|
|
1159 |
|
|
* config/tc-m68k.c (m68k_ip) [case POST/PRE/BASE]: Fix typo when
|
1160 |
|
|
looking at outer displacement. Don't set the postindex bit if the
|
1161 |
|
|
index suppress bit is set (for memory indirect addressing mode).
|
1162 |
|
|
|
1163 |
|
|
Thu Aug 31 06:49:37 1995 Doug Evans
|
1164 |
|
|
|
1165 |
|
|
* config/tc-arm.c (tc_gen_reloc): Delete duplicated code.
|
1166 |
|
|
|
1167 |
|
|
Wed Aug 30 23:51:57 1995 Ian Lance Taylor
|
1168 |
|
|
|
1169 |
|
|
* app.c (do_scrub_chars): Free saved_input when the from buffer
|
1170 |
|
|
exactly fills the to buffer.
|
1171 |
|
|
|
1172 |
|
|
Wed Aug 30 13:46:39 1995 Doug Evans
|
1173 |
|
|
|
1174 |
|
|
* config/tc-sparc.c (parse_keyword_arg, parse_const_expr_arg): New fns.
|
1175 |
|
|
(sparc_ip): Call them for asi, membar, and prefetch parsing.
|
1176 |
|
|
|
1177 |
|
|
Tue Aug 29 15:45:37 1995 Doug Evans
|
1178 |
|
|
|
1179 |
|
|
* config/tc-sparc.c (membar_masks): Deleted.
|
1180 |
|
|
(sparc_ip): Clean up ASI and membar support.
|
1181 |
|
|
|
1182 |
|
|
Tue Aug 29 13:20:27 1995 steve chamberlain
|
1183 |
|
|
|
1184 |
|
|
* read.c (potable): Rva is new entry.
|
1185 |
|
|
(cons_worker): New, split from cons. Handles rva.
|
1186 |
|
|
(cons, s_rva): Call cons_worker.
|
1187 |
|
|
* read.h (s_rva): New declaration.
|
1188 |
|
|
* write.c (fixup_segment): Don't throw away rva relocs.
|
1189 |
|
|
* config/tc-arm.c (md_apply_fix, tc_gen_reloc): Handle RVA.
|
1190 |
|
|
* config/tc-i386.c (tc_coff_fix2type): Handle RVA.
|
1191 |
|
|
* config/tc-i386.h (TC_COUNT_RELOC): Remember RVAs.
|
1192 |
|
|
(TC_RVA_RELOC): New definition.
|
1193 |
|
|
|
1194 |
|
|
Sun Aug 27 17:41:05 1995 Doug Evans
|
1195 |
|
|
|
1196 |
|
|
* config/tc-arm.c (do_swi): Allow optional leading '#'.
|
1197 |
|
|
|
1198 |
|
|
Sat Aug 26 17:24:20 1995 Ian Lance Taylor (ian@cygnus.com)
|
1199 |
|
|
|
1200 |
|
|
* config/tc-m68k.c (comment_chars): If TE_DELTA is defined,
|
1201 |
|
|
include '#'.
|
1202 |
|
|
* config/tc-m68k.h (NO_PSEUDO_DOT): Define if TE_DELTA is
|
1203 |
|
|
defined.
|
1204 |
|
|
|
1205 |
|
|
* config/te-delta.h: Include obj-format.h.
|
1206 |
|
|
* config/te-sco386.h: Likewise.
|
1207 |
|
|
* config/te-sysv32.h: Likewise.
|
1208 |
|
|
|
1209 |
|
|
* app.c (scrub_file): Remove.
|
1210 |
|
|
(scrub_from_file, scrub_to_file): Remove.
|
1211 |
|
|
(scrub_string, scrub_last_string): Remove.
|
1212 |
|
|
(scrub_from_string, scrub_to_string): Remove.
|
1213 |
|
|
(saved_input, saved_input_len): New static variables.
|
1214 |
|
|
(struct app_saved): Remove scrub_string, scrub_last_string, and
|
1215 |
|
|
scrub_file fields. Add saved_input and saved_input_len fields.
|
1216 |
|
|
(app_push): Adjust saved fields for changes in struct app_save.
|
1217 |
|
|
Initialize state and saved_input.
|
1218 |
|
|
(app_pop): Adjust saved fields for changes in struct app_save.
|
1219 |
|
|
(do_scrub_chars): Rename from do_scrub_next_char and rewrite to
|
1220 |
|
|
process a buffer at a time rather than a character at a time.
|
1221 |
|
|
(main, as_warn): Remove obsolete testing code.
|
1222 |
|
|
* as.h (do_scrub_next_char): Don't declare.
|
1223 |
|
|
(do_scrub_chars): Declare.
|
1224 |
|
|
(scrub_from_file, scrub_from_string): Don't declare.
|
1225 |
|
|
(scrub_to_file, scrub_to_string): Don't declare.
|
1226 |
|
|
* input-file.c (input_file_get): New static function.
|
1227 |
|
|
(input_file_give_next_buffer): Call do_scrub_chars rather than
|
1228 |
|
|
do_scrub_next_char.
|
1229 |
|
|
* read.c (scrub_string, scrub_string_end): New static variables.
|
1230 |
|
|
(scrub_from_string): New static function.
|
1231 |
|
|
(read_a_source_file): Call do_scrub_chars rather than
|
1232 |
|
|
do_scrub_next_char.
|
1233 |
|
|
|
1234 |
|
|
Thu Aug 24 18:50:19 1995 Ian Lance Taylor (ian@cygnus.com)
|
1235 |
|
|
|
1236 |
|
|
* gasp.c (as_abort): New function.
|
1237 |
|
|
* sb.c (sb_build): Revert yesterday's patch.
|
1238 |
|
|
|
1239 |
|
|
* Makefile.in (gasp.new): Depend upon ../libiberty/libiberty.a.
|
1240 |
|
|
Just link against libiberty, not against $(LIBS).
|
1241 |
|
|
|
1242 |
|
|
Wed Aug 23 15:18:20 1995 Ian Lance Taylor (ian@cygnus.com)
|
1243 |
|
|
|
1244 |
|
|
* sb.c (sb_build): Undefine abort before calling it, since gasp
|
1245 |
|
|
does not provide as_abort.
|
1246 |
|
|
|
1247 |
|
|
Wed Aug 23 10:40:41 1995 Michael Meissner
|
1248 |
|
|
|
1249 |
|
|
* config/tc-ppc.c (set_target_endian): New static to say whether
|
1250 |
|
|
we've initialized target_big_endian or not.
|
1251 |
|
|
(md_parse_option): Set set_target_endian if we set the variable
|
1252 |
|
|
target_big_endian.
|
1253 |
|
|
(md_begin): Only set target_big_endian if !set_target_endian.
|
1254 |
|
|
|
1255 |
|
|
Tue Aug 22 03:00:33 1995 Ken Raeburn
|
1256 |
|
|
|
1257 |
|
|
Sat Aug 19 18:08:16 1995 Pat Rankin
|
1258 |
|
|
|
1259 |
|
|
* config/obj-vms.h (DST_S_C_SRC_SETREC_W, DST_S_C_SRC_DEFLINES_B):
|
1260 |
|
|
New macros.
|
1261 |
|
|
* config/obj-vms.c (VMS_TBT_Line_PC_Correlation,
|
1262 |
|
|
VMS_TBT_Source_Lines): Make traceback info be robust enough to
|
1263 |
|
|
handle huge source files.
|
1264 |
|
|
(VMS_TBT_Source_File): Reorganize the native- vs cross-assembly
|
1265 |
|
|
support so that actual object file output is clearer.
|
1266 |
|
|
(VMS_TBT_Source_File: Fab, Nam, Date_Xab, File_Header_Xab):
|
1267 |
|
|
Replace static variables with automatic ones.
|
1268 |
|
|
|
1269 |
|
|
Sat Aug 12 20:18:15 1995 Pat Rankin
|
1270 |
|
|
|
1271 |
|
|
* config/obj-vms.c (Module_Name): new file scope variable.
|
1272 |
|
|
(VMS_TBT_Module_Begin): use it instead of local variable.
|
1273 |
|
|
(Write_VMS_MHD_Records): ditto; assign its value here.
|
1274 |
|
|
(Write_VMS_EOM_Record): second argument has type valueT.
|
1275 |
|
|
(VMS_Initialized_Data_Size): simplify search loop; return
|
1276 |
|
|
type is offsetT; second argument is unsigned.
|
1277 |
|
|
|
1278 |
|
|
Sat Jun 17 19:05:25 1995 Pat Rankin (rankin@eql.caltech.edu)
|
1279 |
|
|
|
1280 |
|
|
* messages.c (as_perror): Use xstrerror instead of strerror.
|
1281 |
|
|
|
1282 |
|
|
Mon Aug 21 13:57:20 1995 Ian Lance Taylor
|
1283 |
|
|
|
1284 |
|
|
* as.c (parse_args): Accept --defsym SYM=VALUE.
|
1285 |
|
|
* doc/as.texinfo, doc/as.1: Document --defsym.
|
1286 |
|
|
|
1287 |
|
|
* read.c (read_a_source_file): In MRI mode, don't end the
|
1288 |
|
|
statement inside a quotation.
|
1289 |
|
|
(s_space): Don't warn about a zero repeat count in MRI mode.
|
1290 |
|
|
* config/tc-m68k.c (crack_operand): In MRI mode, don't count
|
1291 |
|
|
parentheses inside quotes.
|
1292 |
|
|
(md_assemble): In MRI mode, anything after the operands field is a
|
1293 |
|
|
comment.
|
1294 |
|
|
(parse_mri_control_operand): Adjust start and stop to remove
|
1295 |
|
|
spaces.
|
1296 |
|
|
(s_mri_for): Likewise.
|
1297 |
|
|
|
1298 |
|
|
* cond.c (s_ifdef): Restore the character after the symbol name,
|
1299 |
|
|
in case it is a newline.
|
1300 |
|
|
(s_if): If ignoring the current tree, don't try to parse the
|
1301 |
|
|
expression.
|
1302 |
|
|
|
1303 |
|
|
* app.c (do_scrub_next_char): If LEX_IS_STRINGQUOTE or
|
1304 |
|
|
LEX_IS_ONECHAR_QUOTE is seen in state 10, preserve one space.
|
1305 |
|
|
|
1306 |
|
|
* doc/as.texinfo: Document irp, irpc, macro, and rept. MRI mode
|
1307 |
|
|
now supports macros, ifc, ifnc, irp, irpc, rept, and endr, without
|
1308 |
|
|
using gasp.
|
1309 |
|
|
|
1310 |
|
|
Add support for macros.
|
1311 |
|
|
* as.c: Include sb.h and macro.h.
|
1312 |
|
|
(max_macro_next): New global variable.
|
1313 |
|
|
(main): Call macro_init.
|
1314 |
|
|
(macro_expr): New static function.
|
1315 |
|
|
* as.h (max_macro_nest): Declare.
|
1316 |
|
|
* read.c (line_label): Rename from mri_line_label. Change all
|
1317 |
|
|
uses.
|
1318 |
|
|
(potable): Add exitm, irp, irpc, macro, mexit, rept.
|
1319 |
|
|
(read_a_source_file): Always clear line_label at the start of a
|
1320 |
|
|
line, not just when flag_mri or LABELS_WITHOUT_COLONS. Fix
|
1321 |
|
|
MRI/LABELS_WITHOUT_COLONS handling. In MRI mode, permit label:
|
1322 |
|
|
equ val. Set line_label when calling colon. In MRI mode, a
|
1323 |
|
|
leading '.' does not imply a pseudo-op. Check for macro expansion
|
1324 |
|
|
before calling md_assemble.
|
1325 |
|
|
(s_irp): New function.
|
1326 |
|
|
(get_line_sb): New static function.
|
1327 |
|
|
(s_macro): New function.
|
1328 |
|
|
(s_mexit): New function.
|
1329 |
|
|
(s_rept): New function.
|
1330 |
|
|
* read.h (line_label): Rename from mri_line_label.
|
1331 |
|
|
(s_irp, s_rept): Declare.
|
1332 |
|
|
(s_macro, s_mexit): Declare.
|
1333 |
|
|
* input-scrub.c: Include sb.h.
|
1334 |
|
|
(sb_index, from_sb): New static variables.
|
1335 |
|
|
(macro_nest): New static variable.
|
1336 |
|
|
(struct input_save): Add sb_index and from_sb fields. Change
|
1337 |
|
|
next_saved_file field to be struct input_save *.
|
1338 |
|
|
(next_saved_file): Changed to be struct input_save *.
|
1339 |
|
|
(input_scrub_push): Change to return type struct input_save *.
|
1340 |
|
|
Save sb_index and from_sb.
|
1341 |
|
|
(input_scrub_pop): Change parameter type to struct input_save *.
|
1342 |
|
|
Restore sb_index and from_sb.
|
1343 |
|
|
(input_scrub_include_sb): New function.
|
1344 |
|
|
(input_scrub_next_buffer): Handle reading from from_sb.
|
1345 |
|
|
(bump_line_counters): Only increment lines if not using from_sb.
|
1346 |
|
|
* config/tc-m68k.c (opt_table): Add nest.
|
1347 |
|
|
(opt_nest): New static function.
|
1348 |
|
|
* gasp.c: Include sb.h and macro.h. Move all sb related functions
|
1349 |
|
|
and definitions to sb.h and sb.c. Move all macro related
|
1350 |
|
|
functions and definitions to macro.h and macro.c.
|
1351 |
|
|
* sb.h, sb.c: New files, extracted from gasp.c.
|
1352 |
|
|
* macro.h, macro.c: Likewise.
|
1353 |
|
|
* Makefile.in (OBJS): Add sb.o and macro.o
|
1354 |
|
|
(GASPOBJS): Define.
|
1355 |
|
|
(gasp.new): Depend upon $(GASPOBJS). Use $(GASPOBJS) to link.
|
1356 |
|
|
(TARG_CPU_DEP_m68k): Depend upon subsegs.h.
|
1357 |
|
|
(gasp.o): Depend upon sb.h and macro.h.
|
1358 |
|
|
(sb.o): New target.
|
1359 |
|
|
(macro.o): New target.
|
1360 |
|
|
(as.o): Depend upon sb.h and macro.h.
|
1361 |
|
|
(input-scrub.o): Depend upon sb.h.
|
1362 |
|
|
(read.o): Depend upon sb.h and macro.h.
|
1363 |
|
|
|
1364 |
|
|
* cond.c (get_mri_string): New static function.
|
1365 |
|
|
(s_ifc): New function.
|
1366 |
|
|
* read.c (potable): Add ifc and ifnc.
|
1367 |
|
|
* read.h (s_ifc): Declare.
|
1368 |
|
|
|
1369 |
|
|
* app.c (do_scrub_begin): In MRI mode, set lex of ' to
|
1370 |
|
|
LEX_IS_STRINGQUOTE.
|
1371 |
|
|
|
1372 |
|
|
Mon Aug 21 13:41:33 1995 Michael Meissner
|
1373 |
|
|
|
1374 |
|
|
* config/tc-ppc.c (md_assemble): Allow @HA, @L, and @H suffixes on
|
1375 |
|
|
constant expressions.
|
1376 |
|
|
|
1377 |
|
|
Sun Aug 20 15:54:37 1995 Jim Wilson
|
1378 |
|
|
|
1379 |
|
|
* config/tc-arm.c (md_reloc_size): Add const to declaration.
|
1380 |
|
|
|
1381 |
|
|
Fri Aug 18 10:58:09 1995 Ian Lance Taylor
|
1382 |
|
|
|
1383 |
|
|
* read.c (s_include): In MRI mode, don't expect quotes around the
|
1384 |
|
|
file name.
|
1385 |
|
|
* listing.c (listing_title): Don't require the title to be quoted.
|
1386 |
|
|
|
1387 |
|
|
* gasp.c (include_print_where_line): Always subtract 1 from
|
1388 |
|
|
linecount before printing it.
|
1389 |
|
|
(process_file): In MRI mode, lines beginning with '*' or '!' are
|
1390 |
|
|
comments.
|
1391 |
|
|
(do_reg): In MRI mode, don't require parentheses.
|
1392 |
|
|
(do_include): In MRI mode, don't requires quotes. If the file can
|
1393 |
|
|
not be found in the include path, try opening it in the current
|
1394 |
|
|
directory. Print the file name correctly in the error message.
|
1395 |
|
|
(chartype_init): In MRI mode, set FIRSTBIT for '.'.
|
1396 |
|
|
(main): Set comment_char to ';' when entering MRI mode.
|
1397 |
|
|
|
1398 |
|
|
* config/tc-m68k.c: Include subsegs.h.
|
1399 |
|
|
(m68k_ip): Pass 64 rather than -1 to add_Fix in 'B' 'B' case.
|
1400 |
|
|
(md_pcrel_from): If fx_pcrel_adjust is 64, use -1 instead.
|
1401 |
|
|
|
1402 |
|
|
* config/tc-sparc.h (tc_fix_adjustable): For OBJ_AOUT case, adjust
|
1403 |
|
|
BFD_RELOC_16 and BFD_RELOC_32 relocs.
|
1404 |
|
|
|
1405 |
|
|
Wed Aug 16 14:48:44 1995 Ken Raeburn
|
1406 |
|
|
|
1407 |
|
|
* as.h (alloca): Use void* declaration on HP/UX.
|
1408 |
|
|
|
1409 |
|
|
Wed Aug 16 12:49:17 1995 Ian Lance Taylor
|
1410 |
|
|
|
1411 |
|
|
* config/tc-sparc.c (tc_gen_reloc): If PIC, only change PCREL_S2
|
1412 |
|
|
to WPLT30 for an undefined or external symbol. Don't consider
|
1413 |
|
|
PC10 or PC22 to be a PC relative reloc when choosing between
|
1414 |
|
|
fx_addnumber and fx_offset.
|
1415 |
|
|
|
1416 |
|
|
* config/tc-z8k.c (md_number_to_chars): Don't do it here, call
|
1417 |
|
|
number_to_chars_bigendian.
|
1418 |
|
|
* config/tc-z8k.h (TARGET_BYTES_BIG_ENDIAN): Define.
|
1419 |
|
|
|
1420 |
|
|
* expr.c (operand): Add support for .startof. and .sizeof. by
|
1421 |
|
|
using magic symbol names which the linker will recognize
|
1422 |
|
|
specially.
|
1423 |
|
|
* doc/as.texinfo: Take out note that .startof. and .sizeof. are
|
1424 |
|
|
not supported.
|
1425 |
|
|
|
1426 |
|
|
Tue Aug 15 15:08:49 1995 Ian Lance Taylor
|
1427 |
|
|
|
1428 |
|
|
* config/tc-m68k.c (md_pseudo_table): Add MRI structured control
|
1429 |
|
|
directives: if, if.b, if.w, if.l, else, else.s, else.l, endi,
|
1430 |
|
|
break, break.s, break.l, next, next.s, next.l, for, for.b, for.w,
|
1431 |
|
|
for.l, endf, repeat, until, until.b, until.w, until.l, while,
|
1432 |
|
|
while.b, while.w, while.l, endw.
|
1433 |
|
|
(enum mri_control_type): Define.
|
1434 |
|
|
(struct mri_control_info): Define.
|
1435 |
|
|
(mri_control_stack): New static variable.
|
1436 |
|
|
(mri_control_index): New static variable.
|
1437 |
|
|
(mri_control_label): New static function.
|
1438 |
|
|
(push_mri_control, pop_mri_control): New static functions.
|
1439 |
|
|
(parse_mri_condition): New static function.
|
1440 |
|
|
(parse_mri_control_operand): New static function.
|
1441 |
|
|
(swap_mri_condition, reverse_mri_condition): New static functions.
|
1442 |
|
|
(build_mri_control_operand): New static function.
|
1443 |
|
|
(parse_mri_control_expression): New static function.
|
1444 |
|
|
(s_mri_if, s_mri_else, s_mri_endi): New static functions.
|
1445 |
|
|
(s_mri_break, s_mri_next): New static functions.
|
1446 |
|
|
(s_mri_for, s_mri_endf): New static functions.
|
1447 |
|
|
(s_mri_repeat, s_mri_until): New static functions.
|
1448 |
|
|
(s_mri_while, s_mri_endw): New static functions.
|
1449 |
|
|
* gasp.c (mrikinfo): Remove IF.
|
1450 |
|
|
* expr.c (get_symbol_end): Accept \001 as part of a name.
|
1451 |
|
|
|
1452 |
|
|
* symbols.c (colon): Change parameter to const char *.
|
1453 |
|
|
* symbols.h (colon): Update declaration.
|
1454 |
|
|
|
1455 |
|
|
Mon Aug 14 20:51:56 1995 Ken Raeburn
|
1456 |
|
|
|
1457 |
|
|
* write.c (write_contents): Always do it the BFD_FAST_SECTION_FILL
|
1458 |
|
|
way. Reformat and reindent that code to GNU standards.
|
1459 |
|
|
(BFD_FAST_SECTION_FILL): Don't define.
|
1460 |
|
|
|
1461 |
|
|
Mon Aug 14 14:08:07 1995 Jeff Law (law@snake.cs.utah.edu)
|
1462 |
|
|
|
1463 |
|
|
* config/tc-hppa.c (md_apply_fix): Don't try to apply BEGIN_BRTAB
|
1464 |
|
|
or END_BRTAB fixups.
|
1465 |
|
|
|
1466 |
|
|
Mon Aug 14 15:45:07 1995 Ian Lance Taylor
|
1467 |
|
|
|
1468 |
|
|
* gasp.c (do_align, get_any_string): Mark as static.
|
1469 |
|
|
(do_assigna, do_assignc, new_file): Likewise.
|
1470 |
|
|
|
1471 |
|
|
* config/tc-m68k.c (s_reg): Rename local op to rop to avoid
|
1472 |
|
|
confusion with macro op.
|
1473 |
|
|
|
1474 |
|
|
* gasp.c (strip_comments): Comment out; it's not used.
|
1475 |
|
|
(do_end): Add parameter. In MRI mode, print it out.
|
1476 |
|
|
(do_irp): New static function.
|
1477 |
|
|
(sub_actual): Change parameter m to formal_hash, changing type
|
1478 |
|
|
from macro_entryh * to hash_table *.
|
1479 |
|
|
(macro_expand_body): New static function, broken out of
|
1480 |
|
|
macro_expand.
|
1481 |
|
|
(macro_expand): Call macro_expand_body.
|
1482 |
|
|
(K_*): Fully parenthesize.
|
1483 |
|
|
(K_IRP, K_IRPC): Define.
|
1484 |
|
|
(mrikinfo): Add IRP and IRPC.
|
1485 |
|
|
(process_pseudo_op): In MRI mode, print out END pseudo-op. Pass
|
1486 |
|
|
line to do_end. Handle K_IRP and K_IRPC.
|
1487 |
|
|
|
1488 |
|
|
* config/tc-m68k.c (s_opt): Reset *input_line_pointer even if we
|
1489 |
|
|
don't do anything with the option.
|
1490 |
|
|
|
1491 |
|
|
Sun Aug 13 17:03:58 1995 Ian Lance Taylor
|
1492 |
|
|
|
1493 |
|
|
* frags.c (frag_align): Handle absolute_section.
|
1494 |
|
|
* write.c (record_alignment): Likewise.
|
1495 |
|
|
|
1496 |
|
|
* config/tc-mips.c (macro_build): Skip insns with an inappropriate
|
1497 |
|
|
ISA level.
|
1498 |
|
|
|
1499 |
|
|
Sun Aug 13 00:35:02 1995 Jeff Law (law@snake.cs.utah.edu)
|
1500 |
|
|
|
1501 |
|
|
* config/tc-hppa.c (md_pseudo_table): Add entries for
|
1502 |
|
|
"begin_brtab" and "end_brtab" pseudo-ops.
|
1503 |
|
|
(pa_brtab): New function.
|
1504 |
|
|
(tc_gen_reloc, SOM version): Handle R_BEGIN_BRTAB and R_END_BRTAB.
|
1505 |
|
|
(hppa_force_relocation): Force relocations for BRTAB fixups
|
1506 |
|
|
when OBJ_SOM is defined.
|
1507 |
|
|
|
1508 |
|
|
Fri Aug 11 20:34:05 1995 Ken Raeburn
|
1509 |
|
|
|
1510 |
|
|
* Makefile.in (TE_OBJS): Add empty definition.
|
1511 |
|
|
|
1512 |
|
|
Fri Aug 11 19:16:08 1995 Ian Lance Taylor
|
1513 |
|
|
|
1514 |
|
|
* gasp.c (change_base): Don't treat ' specially in MRI mode.
|
1515 |
|
|
(process_file): Don't warn about missing END in MRI mode.
|
1516 |
|
|
(do_if): New static function.
|
1517 |
|
|
(get_mri_string, do_ifc): New static functions.
|
1518 |
|
|
(buffer_and_nest): Treat MRI mode like alternate syntax mode.
|
1519 |
|
|
(do_aendr): Change error message in MRI mode.
|
1520 |
|
|
(do_arepeat): Use REPT/ENDR in MRI mode.
|
1521 |
|
|
(do_formals): In MRI mode, add special NARG formal.
|
1522 |
|
|
(macro_expand): Various changes for MRI mode: permit a qualifier
|
1523 |
|
|
on the macro name; set special NARG formal; permit unnamed
|
1524 |
|
|
positional arguments; use && to concatenate named parameters;
|
1525 |
|
|
permit \d to specify an unnamed parameter; permit named parameters
|
1526 |
|
|
to not start with \; use == to see if a parameter exists.
|
1527 |
|
|
(getstring): In MRI mode, allow <> to quote a string.
|
1528 |
|
|
(K_IFEQ, K_IFNE, K_IFLT, K_IFLE, K_IFGE, K_IFGT): Define.
|
1529 |
|
|
(K_IFC, K_IFNC): Define.
|
1530 |
|
|
(struct keyword): Name structure used in kinfo array.
|
1531 |
|
|
(mrikinfo): New static array.
|
1532 |
|
|
(process_pseudo_op): Don't require leading '.' in MRI mode.
|
1533 |
|
|
Handle new MRI pseudo-op definitions.
|
1534 |
|
|
(add_keyword): New static function, broken out of process_init.
|
1535 |
|
|
(process_init): Use add_keyword. In MRI mode, add mrikinfo table.
|
1536 |
|
|
(long_options): Add "mri".
|
1537 |
|
|
(show_usage): Mention -M/--mri.
|
1538 |
|
|
(main): Call process_init after processing arguments. Handle -M.
|
1539 |
|
|
* doc/gasp.texi: Document -M/--mri.
|
1540 |
|
|
|
1541 |
|
|
* gasp.c: Include ansidecl.h. Make all local functions static.
|
1542 |
|
|
Add prototypes for all static functions.
|
1543 |
|
|
(mri): New global variable.
|
1544 |
|
|
(sb_add_char): Change parameter c from char to int.
|
1545 |
|
|
(sb_add_string): Make parameter s into a const pointer.
|
1546 |
|
|
(sb_add_buffer): Likewise.
|
1547 |
|
|
(checkconst): Change parameter op from char to int.
|
1548 |
|
|
(exp_get_abs): Make parameter emsg into a const pointer.
|
1549 |
|
|
(do_res): Change parameter type from char to int.
|
1550 |
|
|
(buffer_and_nest): Make parameters from and to into const
|
1551 |
|
|
pointers.
|
1552 |
|
|
(do_sdata): Change parameter type from char to int.
|
1553 |
|
|
(new_file): Make parameter name into a const pointer.
|
1554 |
|
|
(do_define): Make parameter string into a const pointer.
|
1555 |
|
|
|
1556 |
|
|
* config/tc-h8300.c (md_number_to_chars): Don't do it here, call
|
1557 |
|
|
number_to_chars_bigendian.
|
1558 |
|
|
* config/tc-h8300.h (TARGET_BYTES_BIG_ENDIAN): Define.
|
1559 |
|
|
|
1560 |
|
|
Fri Aug 11 13:23:56 1995 Michael Meissner
|
1561 |
|
|
|
1562 |
|
|
* write.h (struct fix): Add new field fx_no_overflow.
|
1563 |
|
|
|
1564 |
|
|
* write.c (fixup_segment): If fx_no_overflow is non-zero, don't
|
1565 |
|
|
complain if the addend is too large.
|
1566 |
|
|
|
1567 |
|
|
* config/tc-ppc.c (md_assemble): Set fx_no_overflow if the half
|
1568 |
|
|
word relocations BFD_RELOC_{LO16,HI16,HI16_S}.
|
1569 |
|
|
|
1570 |
|
|
Thu Aug 10 20:56:38 1995 Ken Raeburn
|
1571 |
|
|
|
1572 |
|
|
* read.c (s_mri_sect) [BFD_ASSEMBLER]: Fix typos in choosing and
|
1573 |
|
|
setting section flags.
|
1574 |
|
|
|
1575 |
|
|
Thu Aug 10 00:38:11 1995 Ian Lance Taylor
|
1576 |
|
|
|
1577 |
|
|
* doc/as.texinfo: Add documentation for MRI compatibility mode.
|
1578 |
|
|
* doc/as.1: Likewise.
|
1579 |
|
|
|
1580 |
|
|
* config/tc-m68k.c (m68k_ip): When recognizing '#', use isbyte and
|
1581 |
|
|
iword rather than expr8 and expr16. When recognizing 'M', use
|
1582 |
|
|
issbyte rather than expr8. When recognizing 'Q' and 't', just
|
1583 |
|
|
check for O_constant rather than using expr8.
|
1584 |
|
|
* config/m68k-parse.h (expr8, expr16): Don't define.
|
1585 |
|
|
* Makefile.in (m68k-parse.o): Depend upon m68k-parse.h, not
|
1586 |
|
|
m68k-parse.y.
|
1587 |
|
|
|
1588 |
|
|
* read.c (potable): Add spc, ttl, xcom, xref.
|
1589 |
|
|
(s_mri_sect): New function.
|
1590 |
|
|
* read.h (s_mri_sect): Declare.
|
1591 |
|
|
* config/obj-coff.c (obj_coff_section) (both versions): In MRI
|
1592 |
|
|
mode, call s_mri_sect.
|
1593 |
|
|
(obj_pseudo_table): Add sect.s and section.s. Move sect outside
|
1594 |
|
|
of ifndef BFD_ASSEMBLER.
|
1595 |
|
|
* config/obj-elf.c (elf_pseudo_table): Add section.s, sect,
|
1596 |
|
|
sect.s.
|
1597 |
|
|
(obj_elf_section): In MRI mode, call s_mri_sect.
|
1598 |
|
|
* config/tc-m68k.c (md_pseudo_table): Add restore, save.
|
1599 |
|
|
(struct save_opts): Define.
|
1600 |
|
|
(save_stack): New static variable.
|
1601 |
|
|
(s_save, s_restore): New static functions.
|
1602 |
|
|
|
1603 |
|
|
* read.c (s_set): Remove unused local ptr.
|
1604 |
|
|
(hex_float): Check target_big_endian.
|
1605 |
|
|
(equals): Remove unused local p.
|
1606 |
|
|
|
1607 |
|
|
* config/tc-a29k.h (TARGET_BYTES_BIG_ENDIAN): Define.
|
1608 |
|
|
* config/tc-h8500.h (TARGET_BYTES_BIG_ENDIAN): Define.
|
1609 |
|
|
* config/tc-hppa.h (TARGET_BYTES_BIG_ENDIAN): Define.
|
1610 |
|
|
* config/tc-i860.h (TARGET_BYTES_BIG_ENDIAN): Define.
|
1611 |
|
|
* config/tc-m68k.h (TARGET_BYTES_BIG_ENDIAN): Define.
|
1612 |
|
|
* config/tc-m88k.h (TARGET_BYTES_BIG_ENDIAN): Define.
|
1613 |
|
|
* config/tc-tahoe.h (TARGET_BYTES_BIG_ENDIAN): Define.
|
1614 |
|
|
* config/tc-sh.c (little): Set target_big_endian.
|
1615 |
|
|
(md_begin): Likewise.
|
1616 |
|
|
(md_parse_option): Likewise.
|
1617 |
|
|
(build_relax): Check target_big_endian rather than shl.
|
1618 |
|
|
(build_Mytes, md_atof): Likewise.
|
1619 |
|
|
(md_convert_frag, md_apply_fix): Likewise.
|
1620 |
|
|
(md_number_to_chars): Likewise.
|
1621 |
|
|
|
1622 |
|
|
Wed Aug 9 10:51:48 1995 Ian Lance Taylor
|
1623 |
|
|
|
1624 |
|
|
* config/tc-m68k.c (m68k_abspcadd): New static variable.
|
1625 |
|
|
(m68k_quick): New static variable.
|
1626 |
|
|
(m68k_rel32): New static variable.
|
1627 |
|
|
(md_pseudo_table): Add opt and reg.
|
1628 |
|
|
(m68k_ip): Permit absolute symbols in 'l'/'L' recognition. Check
|
1629 |
|
|
m68k_quick in 'M' and 'Q' recognition. Check m68k_abspcadd in
|
1630 |
|
|
DISP handling. Check m68k_rel32 in BASE/POST/PRE handling.
|
1631 |
|
|
(md_begin): In MRI mode, initialize m68k_abspcadd and m68k_rel32.
|
1632 |
|
|
In MRI mode, change unsized branch aliases to be variable sized.
|
1633 |
|
|
(struct opt_action): Define.
|
1634 |
|
|
(opt_table): Define.
|
1635 |
|
|
(s_opt): New static function.
|
1636 |
|
|
(skip_to_comma): New static function.
|
1637 |
|
|
(opt_chip): New static function.
|
1638 |
|
|
(opt_list): New static function.
|
1639 |
|
|
(opt_list_symbols): New static function.
|
1640 |
|
|
(s_reg): New static function.
|
1641 |
|
|
* as.h (flag_keep_locals): Change from unsigned char to int.
|
1642 |
|
|
(flag_no_warnings): Likewise.
|
1643 |
|
|
|
1644 |
|
|
* read.c (mri_line_label): Make non-static.
|
1645 |
|
|
(potable): Add nopage, page, plen.
|
1646 |
|
|
(s_org): Error if in MRI mode.
|
1647 |
|
|
* read.h (mri_line_label): Declare.
|
1648 |
|
|
* listing.c (listing_nopage): New function.
|
1649 |
|
|
* listing.h (listing_nopage): Declare.
|
1650 |
|
|
|
1651 |
|
|
* symbols.c (symbol_begin): Set sy_frag of abs_symbol to
|
1652 |
|
|
&zero_address_frag.
|
1653 |
|
|
|
1654 |
|
|
* write.c (adjust_reloc_syms): Check that symbol is not NULL
|
1655 |
|
|
before checking sy_mri_common.
|
1656 |
|
|
(fixup_segment): Likewise.
|
1657 |
|
|
* config/obj-coff.c (fixup_segment): Likewise.
|
1658 |
|
|
|
1659 |
|
|
* read.c (abs_section_offset): New global variable.
|
1660 |
|
|
(potable): Add offset, struct.
|
1661 |
|
|
(do_org): New static function; handle changing the origin in the
|
1662 |
|
|
absolute section.
|
1663 |
|
|
(s_org): Use do_org.
|
1664 |
|
|
(s_set): Likewise.
|
1665 |
|
|
(equals): Likewise.
|
1666 |
|
|
(s_space): In absolute_section, just increase abs_section_offset.
|
1667 |
|
|
(s_struct): New function.
|
1668 |
|
|
(emit_expr): Handle absolute_section specially.
|
1669 |
|
|
* read.h (abs_section_offset): Declare.
|
1670 |
|
|
(s_struct): Declare.
|
1671 |
|
|
* frags.c (frag_more): Warn if in absolute_section.
|
1672 |
|
|
(frag_now_fix): In absolute_section, return abs_section_offset.
|
1673 |
|
|
* subsegs.c (subseg_change): If switching to absolute_section,
|
1674 |
|
|
just set now_seg and now_subseg.
|
1675 |
|
|
(subseg_set_rest): Special handling when switching to or from
|
1676 |
|
|
absolute_section.
|
1677 |
|
|
|
1678 |
|
|
* config/tc-m68k.c (m68k_float_copnum): New static variable.
|
1679 |
|
|
(md_pseudo_table): Add fopt and mask2.
|
1680 |
|
|
(m68k_ip): Use m68k_float_copnum, not COPNUM, when setting
|
1681 |
|
|
coprocessor register to use. In case 'I' when checking operands,
|
1682 |
|
|
correct coprocessor register numbers. In case 'I' when setting
|
1683 |
|
|
operands, don't add 1.
|
1684 |
|
|
(s_fopt): New static function.
|
1685 |
|
|
* config/m68k-parse.h (COPNUM): Don't define.
|
1686 |
|
|
|
1687 |
|
|
* read.c (potable): Add ifeq, ifge, ifgt, ifle, iflt, ifne.
|
1688 |
|
|
Change if to pass O_ne to s_if.
|
1689 |
|
|
(read_a_source_file): Don't define an label without a colon if
|
1690 |
|
|
ignore_input returns true.
|
1691 |
|
|
* cond.c (s_if): Treat argument as an operatorT describing how to
|
1692 |
|
|
compare the argument against zero.
|
1693 |
|
|
(ignore_input): Don't require an initial dot in MRI mode, or if
|
1694 |
|
|
NO_PSEUDO_DOT is defined.
|
1695 |
|
|
|
1696 |
|
|
* read.c (potable): Add dcb, dcb.b, dcb.d, dcb.l, dcb.s, dcb.w,
|
1697 |
|
|
dcb.x, ds.d, ds.p, ds.s, ds.x, elsec, endc, fail, format, llen,
|
1698 |
|
|
noformat.
|
1699 |
|
|
(read_a_source_file): If pseudo-op handler is s_end, quit
|
1700 |
|
|
immediately.
|
1701 |
|
|
(s_end): New function.
|
1702 |
|
|
(s_fail): New function.
|
1703 |
|
|
(s_float_space): New function.
|
1704 |
|
|
(hex_float): New static function.
|
1705 |
|
|
(float_cons): Use hex_float.
|
1706 |
|
|
* read.h (s_fail): Declare.
|
1707 |
|
|
(s_float_space): Declare.
|
1708 |
|
|
* cond.c (s_end): Remove.
|
1709 |
|
|
* listing.c (listing_psize): Treat argument as indicating whether
|
1710 |
|
|
a height is expected.
|
1711 |
|
|
|
1712 |
|
|
* read.c (mri_pending_align): New static variable.
|
1713 |
|
|
(read_a_source_file): Handle mri_pending_align.
|
1714 |
|
|
(cons): Set mri_pending_align if appropriate.
|
1715 |
|
|
|
1716 |
|
|
* configure.in: Move random special target handling before
|
1717 |
|
|
possible break.
|
1718 |
|
|
* configure: Rebuild.
|
1719 |
|
|
|
1720 |
|
|
Tue Aug 8 23:41:25 1995 Alan Modra
|
1721 |
|
|
|
1722 |
|
|
* configure.in: Consistently use ${target_cpu_type} rather than
|
1723 |
|
|
${cpu_type} after the loop.
|
1724 |
|
|
* configure: Rebuild.
|
1725 |
|
|
* Makefile.in (targ-cpu.o): Use @target_cpu_type@ rather than
|
1726 |
|
|
@cpu_type@.
|
1727 |
|
|
|
1728 |
|
|
Tue Aug 8 17:27:17 1995 Ken Raeburn
|
1729 |
|
|
|
1730 |
|
|
* expr.h (operatorT): Remove comma after last enumerator value.
|
1731 |
|
|
|
1732 |
|
|
* config/obj-vms.c: Some whitespace cleanup from Pat Rankin.
|
1733 |
|
|
|
1734 |
|
|
* as.h (alloca): If __STDC__, declare void* instead of char*.
|
1735 |
|
|
|
1736 |
|
|
Wed Aug 2 18:54:37 1995 Pat Rankin
|
1737 |
|
|
|
1738 |
|
|
* config/obj-vms.c (Flush_VMS_Object_Record_Buffer,
|
1739 |
|
|
Close_VMS_Object_File): Reorganize the `#if !VMS' cross-assmebler
|
1740 |
|
|
support code.
|
1741 |
|
|
(Close_VMS_Object_File): Call Set_VMS_Object_File_Record to flush
|
1742 |
|
|
output buffer--just in case--before closing the file.
|
1743 |
|
|
|
1744 |
|
|
Tue Aug 8 13:07:05 1995 Ian Lance Taylor
|
1745 |
|
|
|
1746 |
|
|
* config/tc-m68k.c (archs): Add 68ec000, 68hc000, 68hc001,
|
1747 |
|
|
68ec020, 68ec030, 68ec040, and 68330.
|
1748 |
|
|
(md_pseudo_table): Add chip and comline.
|
1749 |
|
|
(m68k_init_after_args): Use strcasecmp when comparing default_cpu
|
1750 |
|
|
against architectures.
|
1751 |
|
|
(mri_chip, s_chip): New static functions.
|
1752 |
|
|
|
1753 |
|
|
* struc-symbol.h (struct symbol): Add sy_mri_common bit.
|
1754 |
|
|
* read.h (mri_comon_symbol): Declare.
|
1755 |
|
|
(s_mri_common): Declare.
|
1756 |
|
|
* read.c (mri_line_label): New static variable.
|
1757 |
|
|
(mri_common_symbol): New global variable.
|
1758 |
|
|
(potable): Add "common" and "common.s".
|
1759 |
|
|
(read_a_source_file): In MRI mode, set mri_line_label for a label
|
1760 |
|
|
at the start of a line.
|
1761 |
|
|
(s_mri_common): New function.
|
1762 |
|
|
(s_space): Handle mri_common_symbol.
|
1763 |
|
|
* symbols.c (colon): Change return value from void to symbolS *,
|
1764 |
|
|
and return new symbol. If mri_common_symbol is set, attach the
|
1765 |
|
|
new symbol to it.
|
1766 |
|
|
(resolve_symbol_value): Handle an sy_mri_common symbol.
|
1767 |
|
|
* symbols.h (colon): Change return value in declaration.
|
1768 |
|
|
* subsegs.c (subseg_set_rest): Clear mri_common_symbol.
|
1769 |
|
|
(subseg_set (both versions)): Likewise.
|
1770 |
|
|
* frags.c (frag_more): Warn if mri_common_symbol is not NULL.
|
1771 |
|
|
* write.c (adjust_reloc_syms): Skip sy_mri_common symbols.
|
1772 |
|
|
(write_object_file): Discard sy_mri_common symbols.
|
1773 |
|
|
(fixup_segment): Change relocations against sy_mri_common symbols
|
1774 |
|
|
to be against the common symbol itself.
|
1775 |
|
|
* config/obj-coff.c (yank_symbols): Discard sy_mri_common symbols.
|
1776 |
|
|
(fixup_segment): Change relocations against sy_mri_common symbols
|
1777 |
|
|
to be against the common symbol itself.
|
1778 |
|
|
* config/obj-aout.c (obj_crawl_symbol_chain): Discard
|
1779 |
|
|
sy_mri_common symbols.
|
1780 |
|
|
|
1781 |
|
|
* doc/c-m68k.texi: Add documentation for CPU specific options, and
|
1782 |
|
|
for Motorola syntax.
|
1783 |
|
|
|
1784 |
|
|
* config/m68k-parse.y (motorola_operand): For (%pc), set mode to
|
1785 |
|
|
DISP, not BASE.
|
1786 |
|
|
|
1787 |
|
|
Tue Aug 8 02:31:38 1995 Ken Raeburn
|
1788 |
|
|
|
1789 |
|
|
* write.c (relax_align): Add extra padding for linkrelax only if
|
1790 |
|
|
LINKER_RELAXING_SHRINKS_ONLY is defined.
|
1791 |
|
|
* config/tc-i960.h (LINKER_RELAXING_SHRINKS_ONLY): Define it.
|
1792 |
|
|
* doc/internals.texi (Relaxation): Write up some stuff on linker
|
1793 |
|
|
relaxing and LINKER_RELAXING_SHRINKS_ONLY.
|
1794 |
|
|
|
1795 |
|
|
Mon Aug 7 17:18:10 1995 Ian Lance Taylor
|
1796 |
|
|
|
1797 |
|
|
* config/m68k-parse.y: New file: bison grammar for m68k operands,
|
1798 |
|
|
including support for Motorola syntax.
|
1799 |
|
|
* config/m68k-parse.h: New file; definitions shared between
|
1800 |
|
|
m68k-parse.y and tc-m68k.c.
|
1801 |
|
|
* config/tc-m68k.c: Include m68k-parse.h.
|
1802 |
|
|
(enum operand_type): Move to m68k-parse.h, where it is named
|
1803 |
|
|
m68k_operand_type. Rename all uses. Rearrange somewhat. Add
|
1804 |
|
|
FPREG. Rename AOFF to DISP. Rename AINDX to BASE. Rename APODX
|
1805 |
|
|
to POST. Rename APRDX to PRE. Remove AMIND. Rename MSCR to
|
1806 |
|
|
CONTROL. Remove DINDR.
|
1807 |
|
|
(struct m68k_exp): Move to m68k-parse.h. Remove e_beg, e_end and
|
1808 |
|
|
e_seg fields. Rename e_exp to exp. Rename e_siz to size, and
|
1809 |
|
|
change type to enum m68k_size. Change all uses.
|
1810 |
|
|
(enum _register): Move to m68k-parse.h, where it is named
|
1811 |
|
|
m68k_register. Rename all uses. Add ZDATA0-7 and ZADDR0-7.
|
1812 |
|
|
(struct m68k_op): Move to m68k-parse.h. Change all fields.
|
1813 |
|
|
(seg): Don't define.
|
1814 |
|
|
(add_exp): Remove.
|
1815 |
|
|
(FAIL, OK): Remove.
|
1816 |
|
|
(m68k_reg_parse): Move to m68k-parse.y, and rewrite.
|
1817 |
|
|
(SKIP_WHITE, SKIP_W): Remove.
|
1818 |
|
|
(try_moto_index, try_index): Remove.
|
1819 |
|
|
(m68k_ip_op): Move to m68k-parse.y, and rewrite to use grammar.
|
1820 |
|
|
(main): Remove obsolete test function.
|
1821 |
|
|
(m68k_ip): Extensive changes to use new grammar.
|
1822 |
|
|
(get_regs): Remove.
|
1823 |
|
|
(crack_operand): m68k_ip_op now returns 0 on success.
|
1824 |
|
|
(init_table): Add ssp, zd0-7 and za0-7.
|
1825 |
|
|
(md_assemble): Make er const. Correct loop over operands when
|
1826 |
|
|
looking for error message.
|
1827 |
|
|
(md_begin): Set alt_notend_table for '(' and '@'.
|
1828 |
|
|
(get_num): Expression is already parsed. Don't set seg.
|
1829 |
|
|
* configure.in: If cpu_type is m68k, put m68k-parse.o in
|
1830 |
|
|
extra-objects.
|
1831 |
|
|
* configure: Rebuild.
|
1832 |
|
|
* Makefile.in (DISTSTUFF): Add m68k-parse.c.
|
1833 |
|
|
(BISON): Use ../bison/bison if it exists.
|
1834 |
|
|
(BISONFLAGS): Define as empty.
|
1835 |
|
|
(TARG_CPU_DEP_m68k): Depend upon $(srcdir)/config/m68k-parse.h.
|
1836 |
|
|
(m68k-parse.c, m68k-parse.o): New targets.
|
1837 |
|
|
|
1838 |
|
|
Mon Aug 7 02:54:20 1995 Jeff Law (law@snake.cs.utah.edu)
|
1839 |
|
|
|
1840 |
|
|
* config/tc-sh.c (parse_reg): Handle new FP registers.
|
1841 |
|
|
(get_specific): Handle new operand types.
|
1842 |
|
|
|
1843 |
|
|
Fri Aug 4 12:29:21 1995 Ian Lance Taylor
|
1844 |
|
|
|
1845 |
|
|
* expr.c (op_encoding): Make non-const. Don't set '"' to
|
1846 |
|
|
O_bit_not.
|
1847 |
|
|
(expr_begin): Set op_encoding['"'] in MRI mode.
|
1848 |
|
|
|
1849 |
|
|
Wed Aug 2 18:39:43 1995 Ian Lance Taylor
|
1850 |
|
|
|
1851 |
|
|
* config/tc-m68k.c: Remove BREAK_UP_BIG_DECL stuff.
|
1852 |
|
|
(struct m68k_incant): Change m_operands field to be const.
|
1853 |
|
|
(struct m68k_it): Change args field to be const.
|
1854 |
|
|
(m68k_ip): Change local variable s to be const.
|
1855 |
|
|
(opcode_ptr): Remove.
|
1856 |
|
|
(md_begin): Use m68k_numopcodes, not numopcodes. Use
|
1857 |
|
|
m68k_opcodes, not removed opcode_ptr. Use m68k_numaliases, not
|
1858 |
|
|
numaliases.
|
1859 |
|
|
|
1860 |
|
|
Tue Aug 1 17:35:26 1995 Ian Lance Taylor
|
1861 |
|
|
|
1862 |
|
|
* config/tc-m68k.c (init_table): Add "control", "status", "iaddr",
|
1863 |
|
|
"sfcr", and "dfcr" as synonyms for existing entries.
|
1864 |
|
|
(md_begin): In MRI mode, force flag_reg_prefix_optional to 1.
|
1865 |
|
|
(md_parse_option): Removed unused locals i and arch. Change type
|
1866 |
|
|
of arch (another one) to unsigned long.
|
1867 |
|
|
(tc_coff_sizemachdep): Add return after abort to avoid warning.
|
1868 |
|
|
|
1869 |
|
|
Initial support for MRI style labels and expressions.
|
1870 |
|
|
* as.h (flag_mri): Declare/define.
|
1871 |
|
|
* as.c (show_usage): Mention -M and its synonym --mri.
|
1872 |
|
|
(parse_args): Add 'M' to std_shortopts. Add "mri" to
|
1873 |
|
|
std_longopts. Set flag_mri if -M is seen.
|
1874 |
|
|
(main): Call parse_args before input_scrub_begin. Call
|
1875 |
|
|
expr_begin.
|
1876 |
|
|
* app.c (do_scrub_begin): Don't set lex for '"' or '\'' in MRI
|
1877 |
|
|
mode. Do set lex for ';', '*', and '!' in MRI mode.
|
1878 |
|
|
(do_scrub_next_char): Remove MRI ifdef in LEX_IS_WHITESPACE case.
|
1879 |
|
|
In MRI mode, keep spaces between labels and colons. Remove MRI
|
1880 |
|
|
ifndef around LEX_IS_ONECHAR_QUOTE case. In MRI mode, don't use
|
1881 |
|
|
'!' or '*' as comment characters even if they are in
|
1882 |
|
|
comment_chars.
|
1883 |
|
|
* read.h (lex_type): No longer const.
|
1884 |
|
|
* read.c: Include libiberty.h.
|
1885 |
|
|
(lex_type): No longer const.
|
1886 |
|
|
(read_begin): In MRI mode, set lex_type of '?' to 3.
|
1887 |
|
|
(potable): Add dc, dc.b, dc.d, dc.l, dc.s, dc.w, dc.x, ds, ds.b,
|
1888 |
|
|
ds.l, ds.w, and xdef.
|
1889 |
|
|
(read_a_source_file): Change LABELS_WITHOUT_COLON ifdef to check
|
1890 |
|
|
for MRI mode at runtime rather than compile time. Handle the EQU
|
1891 |
|
|
pseudo-op in MRI mode. Remove bogus MRI ifdef around done_pseudo.
|
1892 |
|
|
Change NO_PSEUDO_DOT ifdef to also take effect for MRI mode at
|
1893 |
|
|
runtime.
|
1894 |
|
|
(cons): In MRI mode, always call parse_mri_cons rather than
|
1895 |
|
|
TC_PARSE_CONS_EXPRESSION.
|
1896 |
|
|
(parse_mri_cons): Always compile, not just when MRI is defined.
|
1897 |
|
|
Call TC_PARSE_CONS_EXPRESSION, not expression, when the input is
|
1898 |
|
|
not a string constant. Handle A and E modifiers.
|
1899 |
|
|
(float_cons): Accept :xxxx, where the x's are hex digits.
|
1900 |
|
|
* expr.h (operatorT): Add O_eq, O_ne, O_lt, O_le, O_ge, O_gt.
|
1901 |
|
|
(expr_begin): Declare.
|
1902 |
|
|
* expr.c (integer_constant): In MRI mode, if the base was not
|
1903 |
|
|
specified, look for a suffix on the number to set the base.
|
1904 |
|
|
(mri_char_constant): New static function.
|
1905 |
|
|
(operand): Remove MRI ifdef. In MRI mode, do various things: Pass
|
1906 |
|
|
|
1907 |
|
|
prefix. Check for a hex constant suffix if when a leading '0' is
|
1908 |
|
|
seen. Don't accept 0x or 0b as a prefix. Check for E'chars' and
|
1909 |
|
|
A'chars'. Handle MRI character constants. Treat '"' as the
|
1910 |
|
|
unary bitwise not operator. Treat $ as the program counter, or as
|
1911 |
|
|
the prefix for a hex constant. Treat % as the prefix for a binary
|
1912 |
|
|
constant and @ as the prefix for an octal constant. Treat : as
|
1913 |
|
|
the prefix for a hex constant.
|
1914 |
|
|
(op_encoding): Set '"' to O_bit_not, '<' to O_lt, and '>' to O_gt.
|
1915 |
|
|
(op_rank): No longer const. Change rank values.
|
1916 |
|
|
(expr_begin): New function.
|
1917 |
|
|
(operator): New static function.
|
1918 |
|
|
(expr): Use operator. Don't bother to mention the operator in
|
1919 |
|
|
warnings. Remove bogus #if 0 code. Handle new operatorT values.
|
1920 |
|
|
* atof-generic.c (atof_generic): In MRI mode, accept underscores
|
1921 |
|
|
around the exponent in floating point numbers.
|
1922 |
|
|
* symbols.h (symbols_case_sensitive): Declare.
|
1923 |
|
|
* symbols.c (symbols_case_sensitive): New global variable.
|
1924 |
|
|
(symbol_create): Check symbols_case_sensitive.
|
1925 |
|
|
(symbol_find_base): Likewise.
|
1926 |
|
|
(resolve_symbol_value): Handle new operatorT values.
|
1927 |
|
|
(print_expr_1): Likewise.
|
1928 |
|
|
(S_IS_LOCAL): In MRI mode, names beginning with two '?' characters
|
1929 |
|
|
are local.
|
1930 |
|
|
|
1931 |
|
|
Tue Aug 1 11:35:18 1995 steve chamberlain
|
1932 |
|
|
|
1933 |
|
|
* config/tc-sh.c (md_convert_frag): Make some error messages
|
1934 |
|
|
more explict.
|
1935 |
|
|
|
1936 |
|
|
Mon Jul 31 21:40:47 1995 Ken Raeburn
|
1937 |
|
|
|
1938 |
|
|
Sat Jul 29 18:55:23 1995 Pat Rankin
|
1939 |
|
|
|
1940 |
|
|
* config/obj-vms.c (COPY_SHORT, COPY_LONG, PUT_SHORT, PUT_LONG):
|
1941 |
|
|
Make expansion be safe for use in expressions.
|
1942 |
|
|
(PUT_COUNTED_STRING): Bracket expansion with `do {...} while (0)'
|
1943 |
|
|
rather than just `{...}'.
|
1944 |
|
|
|
1945 |
|
|
Mon Jul 31 18:19:26 1995 steve chamberlain
|
1946 |
|
|
|
1947 |
|
|
* gasp.c (main): Parse -I option.
|
1948 |
|
|
(do_include): Look through include list.
|
1949 |
|
|
* gasp.c (change_base): Don't modify numbers in strings.
|
1950 |
|
|
|
1951 |
|
|
Mon Jul 31 12:16:21 1995 Ian Lance Taylor
|
1952 |
|
|
|
1953 |
|
|
* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Define. From Niclas
|
1954 |
|
|
Andersson .
|
1955 |
|
|
|
1956 |
|
|
Thu Jul 27 20:47:12 1995 Ken Raeburn
|
1957 |
|
|
|
1958 |
|
|
* config/obj-coff.c (fixup_segment): Don't do further pcrel
|
1959 |
|
|
processing after converting difference of two symbols in the
|
1960 |
|
|
same segment. From Jim Wilson.
|
1961 |
|
|
|
1962 |
|
|
* configure.in (i386-*-linuxoldld): Add as synonym for
|
1963 |
|
|
i386-*-linux*aout*. From Fred Fish.
|
1964 |
|
|
* configure: Regenerated.
|
1965 |
|
|
|
1966 |
|
|
Thu Jul 27 16:14:56 1995 Pat Rankin
|
1967 |
|
|
|
1968 |
|
|
* config/obj-vms.c (enum ps_type {ps_TEXT,ps_DATA,ps_COMMON,
|
1969 |
|
|
ps_CONST}): New constants.
|
1970 |
|
|
(VMS_Psect_Spec): Use them instead of literal strings.
|
1971 |
|
|
(vms_write_object_file, global_symbol_directory): Adjust callers.
|
1972 |
|
|
|
1973 |
|
|
Wed Jul 26 18:31:35 1995 Pat Rankin
|
1974 |
|
|
|
1975 |
|
|
* config/obj-vms.c (const_flag): Change from char to unsigned char.
|
1976 |
|
|
* config/obj-vms.h (const_flag): Ditto.
|
1977 |
|
|
(struct nlist): Replace union n_un and n_un.{n_name,n_next,n_strx}
|
1978 |
|
|
fields with just n_name; delete field n_value; change n_other from
|
1979 |
|
|
char to unsigned char and n_desc from short to int; insert explicit
|
1980 |
|
|
padding for alignment.
|
1981 |
|
|
|
1982 |
|
|
Mon Jul 24 20:06:17 1995 Ken Raeburn
|
1983 |
|
|
|
1984 |
|
|
* subsegs.h (struct seg_info_trash): Make bitfield types valid.
|
1985 |
|
|
|
1986 |
|
|
* config/obj-coff.c (fixup_segment): Local add_number should not
|
1987 |
|
|
be declared register since its address is taken for
|
1988 |
|
|
MD_APPLY_FIX3.
|
1989 |
|
|
|
1990 |
|
|
Fri Jul 21 15:28:18 1995 Pat Rankin
|
1991 |
|
|
|
1992 |
|
|
Split huge vms_write_object_file routine into managable pieces.
|
1993 |
|
|
|
1994 |
|
|
* config/obj-vms.c (vms_fixup_text_section, synthesize_data_segment,
|
1995 |
|
|
vms_fixup_data_section, global_symbol_directory, local_symbols_DST,
|
1996 |
|
|
vms_build_DST): New routines.
|
1997 |
|
|
(vms_write_object_file): Call them.
|
1998 |
|
|
(struct vms_obj_state): New file scope variable used by the above.
|
1999 |
|
|
|
2000 |
|
|
Mon Jul 24 14:10:24 1995 Ian Lance Taylor
|
2001 |
|
|
|
2002 |
|
|
* config/tc-sh.c (md_pseudo_table): Add "uses".
|
2003 |
|
|
(s_uses): New static function.
|
2004 |
|
|
(sh_coff_frob_file): New function.
|
2005 |
|
|
(md_convert_frag): Call subseg_change before calling fix_new.
|
2006 |
|
|
(sh_handle_align): New function.
|
2007 |
|
|
(SWITCH_TABLE): Define.
|
2008 |
|
|
(sh_force_relocation): New function.
|
2009 |
|
|
(md_apply_fix): Handle R_SH_USES, R_SH_COUNT and R_SH_ALIGN.
|
2010 |
|
|
(sh_coff_reloc_mangle): Likewise. Also handle switch table
|
2011 |
|
|
entries.
|
2012 |
|
|
* config/tc-sh.h (HANDLE_ALIGN): Define.
|
2013 |
|
|
(sh_handle_align): Declare.
|
2014 |
|
|
(TC_FORCE_RELOCATION): Define.
|
2015 |
|
|
(sh_force_relocation): Declare.
|
2016 |
|
|
(TC_COUNT_RELOC): Simplify; rely on TC_FORCE_RELOCATION instead.
|
2017 |
|
|
(tc_frob_file): Define.
|
2018 |
|
|
(sh_coff_frob_file): Declare.
|
2019 |
|
|
* config/obj-coff.c (write_object_file): Call tc_frob_file if it
|
2020 |
|
|
is defined.
|
2021 |
|
|
(fixup_mdeps): Call HANDLE_ALIGN if it is defined.
|
2022 |
|
|
(TC_FORCE_RELOCATION): Define if not defined.
|
2023 |
|
|
(fixup_segment): Use TC_FORCE_RELOCATION to decide whether to
|
2024 |
|
|
clear the symbol fields of fixP.
|
2025 |
|
|
|
2026 |
|
|
Fri Jul 21 22:38:00 1995 Michael Meissner
|
2027 |
|
|
|
2028 |
|
|
* config/tc-ppc.c (ppc_elf_suffix): Add support for R_PPC_SDAREL
|
2029 |
|
|
relocation.
|
2030 |
|
|
(md_apply_fix3): Ditto.
|
2031 |
|
|
|
2032 |
|
|
Thu Jul 20 13:00:56 1995 Ken Raeburn
|
2033 |
|
|
|
2034 |
|
|
* config/tc-m68k.c (md_convert_frag): Rename argument seg to sec,
|
2035 |
|
|
since seg is a macro name in this file.
|
2036 |
|
|
|
2037 |
|
|
* configure.in (arm-*-riscix*): Don't set emulation.
|
2038 |
|
|
|
2039 |
|
|
Wed Jul 19 16:08:29 1995 Doug Evans
|
2040 |
|
|
|
2041 |
|
|
* config/obj-coff.h (TE_PE): Delete.
|
2042 |
|
|
* config/tc-arm.h (BYTE_ORDER): Delete.
|
2043 |
|
|
(TARGET_FORMAT): Provide value for OBJ_COFF and TE_PE.
|
2044 |
|
|
(ARM_BI_ENDIAN): Define if OBJ_COFF and TE_PE.
|
2045 |
|
|
* config/tc-arm.c (byte_order): Delete.
|
2046 |
|
|
(md_number_to_chars): Reference target_big_endian, not byte_order.
|
2047 |
|
|
(md_chars_to_number): Likewise.
|
2048 |
|
|
(md_longopts): Add -EB/-EL if ARM_BI_ENDIAN.
|
2049 |
|
|
(md_parse_options): Recognize -EB/-EL.
|
2050 |
|
|
(md_show_usage): List -EB/-EL.
|
2051 |
|
|
|
2052 |
|
|
Wed Jul 19 11:49:25 1995 Ian Lance Taylor
|
2053 |
|
|
|
2054 |
|
|
* gasp.c (process_assigns): Use toupper before comparing against
|
2055 |
|
|
upper case letter.
|
2056 |
|
|
(whatcond): Likewise.
|
2057 |
|
|
|
2058 |
|
|
* config/tc-sh.c (sh_relax): Rename from relax, and make global.
|
2059 |
|
|
Renamed all uses.
|
2060 |
|
|
(insert): Pass a size of 2, not 4.
|
2061 |
|
|
(build_relax): Remove unused len variable.
|
2062 |
|
|
(md_show_usage): Mention -little option.
|
2063 |
|
|
(md_convert_frag): Add segT argument. Rewrite to generate relocs
|
2064 |
|
|
rather than to generate complete instructions here.
|
2065 |
|
|
(md_apply_fix): Adjust and clarify R_SH_PCRELIMM8BY4 case for
|
2066 |
|
|
changes in insert and md_pcrel_from. Add cases for R_SH_PCDISP
|
2067 |
|
|
and R_SH_PCDISP8BY2.
|
2068 |
|
|
(md_pcrel_from): Don't subtract 1, add 2.
|
2069 |
|
|
(tc_coff_fix2rtype): Remove.
|
2070 |
|
|
(sh_coff_reloc_mangle): New function.
|
2071 |
|
|
* config/tc-sh.h (TC_COFF_FIX2RTYPE): Just return fx_r_type.
|
2072 |
|
|
(sh_relax): Declare.
|
2073 |
|
|
(TC_COUNT_RELOC): If relaxing, count PC relative relocs.
|
2074 |
|
|
(TC_RELOC_MANGLE): Define.
|
2075 |
|
|
(sh_coff_reloc_mangle): Declare.
|
2076 |
|
|
(tc_coff_sizemachdep): Declare.
|
2077 |
|
|
* tc.h (md_convert_frag): Add segT parameter to non BFD_ASSEMBLER
|
2078 |
|
|
declaration.
|
2079 |
|
|
* write.c (cvt_frag_to_fill): Add sec argument to non
|
2080 |
|
|
BFD_ASSEMBLER version. Pass it to md_convert_frag.
|
2081 |
|
|
(write_object_file): Pass SEG_TEXT to cvs_frag_to_fill.
|
2082 |
|
|
* config/obj-coff.c (do_relocs_for): Pass segment info to
|
2083 |
|
|
TC_RELOC_MANGLE.
|
2084 |
|
|
(fixup_mdeps): Pass segment type to md_convert_frag.
|
2085 |
|
|
* config/tc-a29k.c (md_convert_frag): Add segT argument.
|
2086 |
|
|
* config/tc-h8300.c (md_convert_frag): Likewise.
|
2087 |
|
|
* config/tc-h8500.c (md_convert_frag): Likewise.
|
2088 |
|
|
* config/tc-i386.c (md_convert_frag): Likewise.
|
2089 |
|
|
* config/tc-i860.c (md_convert_frag): Likewise.
|
2090 |
|
|
* config/tc-i960.c (md_convert_frag): Likewise.
|
2091 |
|
|
* config/tc-m68k.c (md_convert_frag): Likewise.
|
2092 |
|
|
* config/tc-m88k.h (md_convert_frag): Likewise.
|
2093 |
|
|
* config/tc-ns32k.c (md_convert_frag): Likewise.
|
2094 |
|
|
* config/tc-tahoe.c (md_convert_frag): Likewise.
|
2095 |
|
|
* config/tc-vax.c (md_convert_frag): Likewise.
|
2096 |
|
|
* config/tc-w65.c (md_convert_frag): Likewise.
|
2097 |
|
|
* config/tc-z8k.c (md_convert_frag): Likewise.
|
2098 |
|
|
* config/tc-h8300.h (TC_RELOC_MANGLE): Add segment argument.
|
2099 |
|
|
* config/tc-h8500.h (TC_RELOC_MANGLE): Likewise.
|
2100 |
|
|
* config/tc-w65.h (TC_RELOC_MANGLE): Likewise.
|
2101 |
|
|
* config/tc-z8k.h (TC_RELOC_MANGLE): Likewise.
|
2102 |
|
|
|
2103 |
|
|
Mon Jul 17 15:02:54 1995 Pat Rankin
|
2104 |
|
|
|
2105 |
|
|
* config/obj-vms.c (Current_Routine, Text_Psect): Delete as file
|
2106 |
|
|
scope variables.
|
2107 |
|
|
(Define_Routine, Define_Local_Symbols): Take Current_Routine and
|
2108 |
|
|
Text_Psect as arguments.
|
2109 |
|
|
(VMS_DBG_Define_Routine): Delete.
|
2110 |
|
|
(VMS_TBT_Block_End): Change `Size' argument from int to valueT.
|
2111 |
|
|
(vms_write_object_file: text and data fixup loops): Difference
|
2112 |
|
|
of two symbols has type offsetT rather than int; convert with
|
2113 |
|
|
md_number_to_chars before passing to VMS_Store_Immediate_Data.
|
2114 |
|
|
(vms_write_object_file: debug symbol loop): Call Define_Routine
|
2115 |
|
|
instead of VMS_DBG_Define_Routine.
|
2116 |
|
|
|
2117 |
|
|
Sat Jul 15 00:01:35 1995 Michael Meissner
|
2118 |
|
|
|
2119 |
|
|
* config/tc-ppc.c (ppc_elf_suffix): Add @fixup so that the
|
2120 |
|
|
compiler can mark which relocs not to complain about with
|
2121 |
|
|
-mrelocatable.
|
2122 |
|
|
(ppc_elf_validate_fix): Add .fixup to sections not to complain
|
2123 |
|
|
about, and also don't complain for BFD_RELOC_CTOR relocations in
|
2124 |
|
|
writable non-code segments.
|
2125 |
|
|
(md_apply_fix): Treat BFD_RELOC_CTOR just like BFD_RELOC_32.
|
2126 |
|
|
|
2127 |
|
|
Fri Jul 14 19:54:28 1995 Ian Lance Taylor
|
2128 |
|
|
|
2129 |
|
|
Add support for SPARC SunOS PIC:
|
2130 |
|
|
* config/tc-sparc.h (sparc_pic_code): Always declare, not just
|
2131 |
|
|
when OBJ_ELF.
|
2132 |
|
|
(TC_RELOC_RTSYM_LOC_FIXUP): Define when OBJ_AOUT.
|
2133 |
|
|
(tc_fix_adjustable): New definition for OBJ_AOUT.
|
2134 |
|
|
* config/tc-sparc.c (sparc_pic_code): Always define, not just when
|
2135 |
|
|
OBJ_ELF.
|
2136 |
|
|
(md_apply_fix): Adjust reloc addend for OBJ_AOUT and PIC. In
|
2137 |
|
|
BFD_RELOC_32_PCREL_S2 case, don't increment val for an external
|
2138 |
|
|
symbol when PIC.
|
2139 |
|
|
(tc_gen_reloc): Generate different PIC relocs when OBJ_AOUT, as
|
2140 |
|
|
well as when OBJ_ELF.
|
2141 |
|
|
(md_shortopts): If OBJ_AOUT, include `k'.
|
2142 |
|
|
(md_parse_option): If OBJ_AOUT, handle 'k'.
|
2143 |
|
|
(md_show_usage): Mention -k if OBJ_AOUT, and -KPIC if OBJ_ELF.
|
2144 |
|
|
(md_pcrel_from): Don't add in size for an external symbol when
|
2145 |
|
|
PIC.
|
2146 |
|
|
|
2147 |
|
|
Thu Jul 13 21:16:43 1995 Jeff Law (law@snake.cs.utah.edu)
|
2148 |
|
|
|
2149 |
|
|
* config/tc-hppa.h (UNDEFINED_DIFFERENCE_OK): Define for SOM.
|
2150 |
|
|
* write.c (adjust_reloc_syms): Set sy_used_in_reloc for both
|
2151 |
|
|
symbols in a fixup where a defined symbol is subtracted from an
|
2152 |
|
|
undefined symbol (when UNDEFINED_DIFFERENCE_OK is defined).
|
2153 |
|
|
(fixup_segment): Do nothing for the difference of two symbols if
|
2154 |
|
|
UNDEFINED_DIFFERENCE_OK is defined.
|
2155 |
|
|
|
2156 |
|
|
Wed Jul 12 23:33:40 1995 Ian Lance Taylor
|
2157 |
|
|
|
2158 |
|
|
* config/obj-coff.c (fixup_segment): Support MD_APPLY_FIX3.
|
2159 |
|
|
|
2160 |
|
|
Wed Jul 12 01:12:12 1995 Ken Raeburn
|
2161 |
|
|
|
2162 |
|
|
* write.c (fix_new): Use int, not short int, for argument type.
|
2163 |
|
|
(fix_new_exp): Ditto.
|
2164 |
|
|
|
2165 |
|
|
* configure.in (arm-*-riscix*): Don't set emulations.
|
2166 |
|
|
|
2167 |
|
|
* config/tc-mips.c (NO_ECOFF_DEBUGGING): Define if ECOFF_DEBUGGING
|
2168 |
|
|
wasn't previously defined.
|
2169 |
|
|
(s_extern): Don't set ecoff_extern_size if NO_ECOFF_DEBUGGING.
|
2170 |
|
|
(nopic_need_relax): Don't check it if NO_ECOFF_DEBUGGING.
|
2171 |
|
|
(macro_build) [!USE_STDARG]: Don't use variadic prototype.
|
2172 |
|
|
(mips_local_label) [NO_ECOFF_DEBUGGING]: Don't preserve potential
|
2173 |
|
|
ECOFF debugging symbols.
|
2174 |
|
|
|
2175 |
|
|
* emul.h (struct emulation): Use unsigned, not unsigned char, for
|
2176 |
|
|
bitfields.
|
2177 |
|
|
* obj.h (struct format_ops): Likewise.
|
2178 |
|
|
|
2179 |
|
|
* config/tc-arm.c (symbol_make_empty) [BFD_ASSEMBLER]: Set
|
2180 |
|
|
udata.p, not udata.
|
2181 |
|
|
|
2182 |
|
|
Tue Jul 11 14:30:19 1995 Ian Lance Taylor
|
2183 |
|
|
|
2184 |
|
|
* doc/c-mips.texi: Document -m4010 and -mno-4010.
|
2185 |
|
|
|
2186 |
|
|
Tue Jul 11 14:28:55 1995 Jeff Spiegel
|
2187 |
|
|
|
2188 |
|
|
* config/tc-mips.c (mips_4010): New static variable.
|
2189 |
|
|
(interlocks): New static variable.
|
2190 |
|
|
(md_begin): Check for a cpu of "r4010". Set mips_4010 correctly.
|
2191 |
|
|
If mips_4650 or mips_4010, set interlocks.
|
2192 |
|
|
(append_insn): Check interlocks, not mips_4650.
|
2193 |
|
|
(mips_emit_delays): Likewise.
|
2194 |
|
|
(mips_ip): Only permit INSN_4010 instructions if mips_4010.
|
2195 |
|
|
(md_longopts): Add "m4010" and "no-m4010".
|
2196 |
|
|
(md_parse_option): Accept -mcpu=r4010. Handle -m4010 and
|
2197 |
|
|
-no-m4010.
|
2198 |
|
|
(md_show_usage): Document -m4010 and -no-m4010.
|
2199 |
|
|
|
2200 |
|
|
Tue Jul 11 13:22:50 1995 Ian Lance Taylor
|
2201 |
|
|
|
2202 |
|
|
* ecoff.c (struct efdr): Add new field fake.
|
2203 |
|
|
(init_file): Initialize fake.
|
2204 |
|
|
(add_file): Add new parameter fake. Change all callers.
|
2205 |
|
|
(ecoff_build_debug): Don't warn about a missing .end for a fake
|
2206 |
|
|
file.
|
2207 |
|
|
|
2208 |
|
|
Mon Jul 10 16:01:31 1995 Ken Raeburn
|
2209 |
|
|
|
2210 |
|
|
* doc/as.texinfo: Split out most cpu chapters...
|
2211 |
|
|
* doc/c-*.texi: ...to here.
|
2212 |
|
|
|
2213 |
|
|
* read.c (po_hash): Now static.
|
2214 |
|
|
|
2215 |
|
|
Mon Jul 10 13:47:22 1995 Ian Lance Taylor
|
2216 |
|
|
|
2217 |
|
|
Based on patches from H.J. Lu :
|
2218 |
|
|
* config/tc-i386.c (md_apply_fix3): Rename from md_apply_fix1.
|
2219 |
|
|
Accept pointer to value and segment. Fix OBJ_ELF PCREL case to
|
2220 |
|
|
handle global defined symbols correctly.
|
2221 |
|
|
(md_apply_fix): Remove both versions.
|
2222 |
|
|
* config/tc-i386.h (MD_APPLY_FIX3): Define.
|
2223 |
|
|
|
2224 |
|
|
* configure.in: When switching on ${cpu}, use ${cpu}, not
|
2225 |
|
|
$[target_cpu}, in default case.
|
2226 |
|
|
* configure: Rebuild.
|
2227 |
|
|
|
2228 |
|
|
Sat Jul 8 13:27:55 1995 Ian Lance Taylor
|
2229 |
|
|
|
2230 |
|
|
* write.c (fixup_segment): Call resolve_symbol_value on
|
2231 |
|
|
sub_symbolP, in case it isn't in the symbol table.
|
2232 |
|
|
|
2233 |
|
|
Fri Jul 7 11:17:27 1995 Ian Lance Taylor
|
2234 |
|
|
|
2235 |
|
|
* read.c (s_lcomm): For .lcomm 1, set align to 0, not 1.
|
2236 |
|
|
|
2237 |
|
|
* config/obj-coff.c (coff_frob_symbol): If SF_GET_FUNCTION, set
|
2238 |
|
|
BSF_FUNCTION.
|
2239 |
|
|
(symbol_globalP, symbol_global_lastP): New global variables.
|
2240 |
|
|
(yank_symbols): Sort defined global symbols to the end, just
|
2241 |
|
|
before the undefined symbols.
|
2242 |
|
|
(glue_symbols): Add two arguments, and use them instead of
|
2243 |
|
|
referring directly to global variables.
|
2244 |
|
|
(crawl_symbols): Call glue_symbols twice, once for defined globals
|
2245 |
|
|
and once for undefined. Add corresponding know calls.
|
2246 |
|
|
|
2247 |
|
|
* app.c (do_scrub_next_char): Always accept \v. Don't make it
|
2248 |
|
|
conditional on BACKSLASH_V.
|
2249 |
|
|
* read.c (next_char_of_string): Likewise.
|
2250 |
|
|
* config/obj-bout.h (BACKSLASH_V): Don't define.
|
2251 |
|
|
* config/tc-mips.h (BACKSLASH_V): Don't define.
|
2252 |
|
|
|
2253 |
|
|
Add SPARC ELF PIC support.
|
2254 |
|
|
* write.c (fixup_segment): Pass fixP to TC_RELOC_RTSYM_LOC_FIXUP,
|
2255 |
|
|
not fixP->fx_r_type.
|
2256 |
|
|
* config/tc-sparc.c (sparc_pic_code): New global variable.
|
2257 |
|
|
(md_apply_fix): If generating PIC, adjust fx_addnumber for any non
|
2258 |
|
|
PC relative reloc.
|
2259 |
|
|
(tc_gen_reloc): If generating PIC, adjust various reloc types.
|
2260 |
|
|
Remove fx_pcrel assert, since it is no longer true.
|
2261 |
|
|
(md_parse_option): Handle -K PIC.
|
2262 |
|
|
* config/tc-sparc.h (sparc_pic_code): Declare if OBJ_ELF.
|
2263 |
|
|
(TC_RELOC_RTSYM_LOC_FIXUP): Define if OBJ_ELF.
|
2264 |
|
|
(tc_fix_adjustable): Don't adjust PC relative relocs if PIC.
|
2265 |
|
|
* config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Take a fixp, not a
|
2266 |
|
|
reloc type.
|
2267 |
|
|
|
2268 |
|
|
* Makefile.in (Makefile): Add dependency on conf.in, so that conf
|
2269 |
|
|
is rebuilt when conf.in changes.
|
2270 |
|
|
|
2271 |
|
|
Thu Jul 6 16:49:38 1995 Ken Raeburn
|
2272 |
|
|
|
2273 |
|
|
* All files: Updated FSF address.
|
2274 |
|
|
|
2275 |
|
|
Thu Jul 6 16:30:34 1995 Jim Wilson
|
2276 |
|
|
|
2277 |
|
|
* ecoff.c (add_file): Don't collapse multiple .file commands into
|
2278 |
|
|
a single file structure.
|
2279 |
|
|
(ecoff_build_lineno): Set ilineBase to sum of previous file's
|
2280 |
|
|
ilineBase and cline.
|
2281 |
|
|
|
2282 |
|
|
Thu Jul 6 12:54:27 1995 Ian Lance Taylor
|
2283 |
|
|
|
2284 |
|
|
Patches from Jerry Blakely :
|
2285 |
|
|
* as.c (listing_filename): New static variable.
|
2286 |
|
|
(show_usage): Mention -a=file.
|
2287 |
|
|
(parse_args): Support = option of -a to set name of listing file.
|
2288 |
|
|
(main): Pass listing_filename to listing_print.
|
2289 |
|
|
* listing.c (list_file): New static variable.
|
2290 |
|
|
(various): Replace printf with fprintf to list_file.
|
2291 |
|
|
(listing_print): If name argument is not NULL, open it as
|
2292 |
|
|
list_file.
|
2293 |
|
|
* doc/as.texinfo, doc/as.1: Document -a=file.
|
2294 |
|
|
|
2295 |
|
|
* config/tc-sparc.c (s_reserve): Don't permit redefinition, even
|
2296 |
|
|
if the symbol was already in bss_section. Fix warning message.
|
2297 |
|
|
|
2298 |
|
|
* listing.c (struct file_info_struct): Rename end_pending field to
|
2299 |
|
|
at_end.
|
2300 |
|
|
(file_info): Initialize at_end, not end_pending.
|
2301 |
|
|
(buffer_line): If at_end set, just return immediately. Don't
|
2302 |
|
|
worry about end_pending cases. Set at_end when EOF is read.
|
2303 |
|
|
(print_source): Check at_end, not end_pending.
|
2304 |
|
|
(listing_listing): Likewise.
|
2305 |
|
|
|
2306 |
|
|
* config/tc-alpha.h (alpha_do_align): Don't declare.
|
2307 |
|
|
(md_do_align): Don't define.
|
2308 |
|
|
(tc_frob_label): Define.
|
2309 |
|
|
(alpha_define_label): Declare.
|
2310 |
|
|
(md_flush_pending_output): Define.
|
2311 |
|
|
(alpha_flush_pending_output): Declare.
|
2312 |
|
|
* config/tc-alpha.c (insn_label): New static variable.
|
2313 |
|
|
(auto_align): New static variable.
|
2314 |
|
|
(md_pseudo_table): Add cases for .text, .data, .align, .byte,
|
2315 |
|
|
.hword, .int, .long, .octa, .quad, .short, .word, .double, .float,
|
2316 |
|
|
and .single. Change .t_floating, .s_floating, .f_floating,
|
2317 |
|
|
.g_floating, and .d_floating to use s_alpha_float_cons rather than
|
2318 |
|
|
float_cons.
|
2319 |
|
|
(s_alpha_text, s_alpha_data): New static functions.
|
2320 |
|
|
(s_rdata, s_sdata): Clear insn_label and set auto_align.
|
2321 |
|
|
(s_gprel32): If auto_align, align. Clear insn_label.
|
2322 |
|
|
(emit_insn): Clear insn_label.
|
2323 |
|
|
(s_alpha_align): New static function.
|
2324 |
|
|
(alpha_align): Make static. Take label argument.
|
2325 |
|
|
(alpha_flush_pending_output): New static function.
|
2326 |
|
|
(s_alpha_cons, s_alpha_float_cons): New static functions.
|
2327 |
|
|
(alpha_define_label): New function.
|
2328 |
|
|
|
2329 |
|
|
Wed Jul 5 22:49:31 1995 Ken Raeburn
|
2330 |
|
|
|
2331 |
|
|
* conf.in: Regenerate with autoreconf.
|
2332 |
|
|
|
2333 |
|
|
Mon Jul 3 19:47:53 1995 Pat Rankin (rankin@eql.caltech.edu)
|
2334 |
|
|
|
2335 |
|
|
* config/obj-vms.h (vms_resolve_symbol_redef): Use full prototype.
|
2336 |
|
|
(vms_check_for_special_label, tc_frob_label): Move them to group
|
2337 |
|
|
with other prototypes.
|
2338 |
|
|
[WANT_VMS_OBJ_DEFS]: Only define the many OBJ_x, DBG_x, and DST_x
|
2339 |
|
|
macros when this is defined.
|
2340 |
|
|
* config/obj-vms.c: Fully prototype all local functions.
|
2341 |
|
|
[symbolS, fragS]: Use consistently instead of their struct tags.
|
2342 |
|
|
[WANT_VMS_OBJ_DEFS]: Define this.
|
2343 |
|
|
(s_const): Make definition correctly match actual usage.
|
2344 |
|
|
(VMS_stab_parse): Make `expected_type' arg be int rather than char.
|
2345 |
|
|
(get_VMS_time_on_unix): Define as `static void'.
|
2346 |
|
|
(hash_string): Make definition match actual usage; argument is
|
2347 |
|
|
`char const *' rather than `unsigned char *'.
|
2348 |
|
|
(VMS_Case_Hack_Symbol, VMS_Modify_Psect_Attributes, VMS_Psect_Spec,
|
2349 |
|
|
VMS_Global_Symbol_Spec): Declare string args as `const char *'.
|
2350 |
|
|
[IS_GXX_VTABLE]: New macro.
|
2351 |
|
|
(vms_write_object_file: GSD loop): Use it.
|
2352 |
|
|
(vms_write_object_file: data segment): Reorganize `fill' loop.
|
2353 |
|
|
|
2354 |
|
|
Wed Jul 5 12:01:49 1995 Ian Lance Taylor
|
2355 |
|
|
|
2356 |
|
|
* config/tc-sparc.c (md_shortopts): Add "K:" if OBJ_ELF.
|
2357 |
|
|
(md_parse_option): If OBJ_ELF, check for -K. Die if -K PIC, since
|
2358 |
|
|
PIC code is not currently supported.
|
2359 |
|
|
|
2360 |
|
|
* as.c (parse_args): Change std_shortopts to be an array rather
|
2361 |
|
|
than a constant string. Only include 'K' if WORKING_DOT_WORD is
|
2362 |
|
|
not defined. Only check for 'K' in that case as well.
|
2363 |
|
|
* as.h (flag_warn_displacement): Only declare if WORKING_DOT_WORD
|
2364 |
|
|
is not defined.
|
2365 |
|
|
|
2366 |
|
|
* conf.in: Add undef of HAVE_SBRK.
|
2367 |
|
|
|
2368 |
|
|
* config/obj-coff.c (obj_coff_line): Call listing_source_line, in
|
2369 |
|
|
both BFD_ASSEMBLER and non BFD_ASSEMBLER versions of the function.
|
2370 |
|
|
|
2371 |
|
|
* symbols.c (S_SET_EXTERNAL): Warn if symbol is weak.
|
2372 |
|
|
(S_CLEAR_EXTERNAL): Likewise.
|
2373 |
|
|
(S_SET_WEAK): Warn if symbol is global.
|
2374 |
|
|
|
2375 |
|
|
* config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
|
2376 |
|
|
to put an undefined symbol into a set.
|
2377 |
|
|
|
2378 |
|
|
* Makefile.in: Remove @configure_input@; it's not needed in
|
2379 |
|
|
files named Makefile.
|
2380 |
|
|
|
2381 |
|
|
* config/tc-m88k.c (md_pseudo_table): Add ".set" so that the
|
2382 |
|
|
explicit pseudo-op works, while continuing to treat "set" as an
|
2383 |
|
|
instruction.
|
2384 |
|
|
|
2385 |
|
|
* ecoff.c (ecoff_debugging_seen): New global variable.
|
2386 |
|
|
(ecoff_directive_def): Set ecoff_debugging_seen.
|
2387 |
|
|
(ecoff_stab): Likewise.
|
2388 |
|
|
* ecoff.h: Make idempotent.
|
2389 |
|
|
(ecoff_debugging_seen): Declare.
|
2390 |
|
|
* config/tc-mips.c: Include ecoff.h.
|
2391 |
|
|
(mips_debug): New static variable.
|
2392 |
|
|
(s_stringer, s_mips_space): Remove unneeded declarations.
|
2393 |
|
|
(md_parse_option): In case 'g', set mips_debug to debugging level.
|
2394 |
|
|
(mips_local_label): New function.
|
2395 |
|
|
* config/tc-mips.h (LOCAL_LABEL): Call mips_local_label.
|
2396 |
|
|
(mips_local_label): Declare.
|
2397 |
|
|
|
2398 |
|
|
Wed Jul 5 00:59:22 1995 Fred Fish (fnf@cygnus.com)
|
2399 |
|
|
|
2400 |
|
|
* as.c (main): Only use sbrk when HAVE_SBRK defined.
|
2401 |
|
|
* configure.in: Add test for sbrk.
|
2402 |
|
|
* configure: Regenerate using autoconf 2.4.
|
2403 |
|
|
|
2404 |
|
|
Mon Jul 3 15:58:16 1995 Jeff Law (law@snake.cs.utah.edu)
|
2405 |
|
|
|
2406 |
|
|
* config/tc-hppa.h (MAX_RELOC_EXPANSION): Bump to 6.
|
2407 |
|
|
* config/tc-hppa.c (tc_gen_reloc, SOM version): Handle
|
2408 |
|
|
relocations for the difference of two (possibly external)
|
2409 |
|
|
symbols.
|
2410 |
|
|
(hppa_fix_adjustable): For SOM, reject reductions involving
|
2411 |
|
|
the difference of two symbols.
|
2412 |
|
|
(hppa_force_relocation): Force relocations for expressions
|
2413 |
|
|
involving the difference of two symbols.
|
2414 |
|
|
|
2415 |
|
|
Mon Jul 3 14:22:59 1995 Steve Chamberlain
|
2416 |
|
|
|
2417 |
|
|
* configure[.in] (i386-*-win32): New host and target.
|
2418 |
|
|
|
2419 |
|
|
Thu Jun 29 17:25:43 1995 Steve Chamberlain
|
2420 |
|
|
|
2421 |
|
|
Support for long filenames non-bfd coff.
|
2422 |
|
|
* config/obj-coff.c (filename_list_head, filename_list_tail): New.
|
2423 |
|
|
(yank_symbols): Notice and record filenames which are too long.
|
2424 |
|
|
(w_strings): Write out filename strings.
|
2425 |
|
|
(c_dot_file_symbols): Put long filenames onto list.
|
2426 |
|
|
|
2427 |
|
|
Wed Jun 28 17:33:13 1995 Steve Chamberlain
|
2428 |
|
|
|
2429 |
|
|
* config/obj-coff.c (fixup_segment): PE doesn't use
|
2430 |
|
|
the strange common symbol format that other 386s formats
|
2431 |
|
|
do.
|
2432 |
|
|
* config/tc-i386.c (md_begin): If LEX_AT defined then
|
2433 |
|
|
'@' is in the set of identifiers.
|
2434 |
|
|
(i386_operand): If LEX_AT, then don't look for @goto stuff.
|
2435 |
|
|
* config/te-pe.h: Define LEX_AT.
|
2436 |
|
|
|
2437 |
|
|
Wed Jun 28 17:49:59 1995 Ken Raeburn
|
2438 |
|
|
|
2439 |
|
|
* doc/as.texinfo (H8/500 Floating Point): Indicate that IEEE FP
|
2440 |
|
|
numbers are for the standard emulation code.
|
2441 |
|
|
(SH Floating Point): Ditto.
|
2442 |
|
|
(Overview): Describe new --emulation option for MIPS.
|
2443 |
|
|
* doc/*.m4: Deleted.
|
2444 |
|
|
|
2445 |
|
|
Thu Jun 22 19:26:25 1995 Ken Raeburn
|
2446 |
|
|
|
2447 |
|
|
Sun May 7 11:53:41 MDT 1995 Bryan Ford
|
2448 |
|
|
|
2449 |
|
|
* configure.in: Added i386-*-moss* target.
|
2450 |
|
|
|
2451 |
|
|
Thu Jun 22 14:41:23 1995 Michael Meissner
|
2452 |
|
|
|
2453 |
|
|
* write.c (write_object_file): Cast decode_local_label_name
|
2454 |
|
|
argument to char * to avoid warning.
|
2455 |
|
|
|
2456 |
|
|
Wed Jun 21 18:07:59 1995 Ken Raeburn
|
2457 |
|
|
|
2458 |
|
|
Changes from Andreas Schwab :
|
2459 |
|
|
* config/tc-m68k.c (insword): Increment the frag offsets.
|
2460 |
|
|
(struct m68k_it): Add reloc[].pcrel_fix field to hold pc-rel
|
2461 |
|
|
fixup.
|
2462 |
|
|
(add_fix): Accept additional parameter, the pc-rel fixup. All
|
2463 |
|
|
callers changed. Fix offset address if width == 'b'.
|
2464 |
|
|
(m68k_ip) [case AINDX]: Allow explicit size spec. Don't make the
|
2465 |
|
|
outer displacement pc-relative.
|
2466 |
|
|
(md_pcrel_from): Make it relative to the first extension word of
|
2467 |
|
|
the operand.
|
2468 |
|
|
(opcode_ptr): Make it a macro if DO_BREAK_UP_BIG_DECL is
|
2469 |
|
|
undefined.
|
2470 |
|
|
(md_convert_frag_1): Don't reference fragP->fr_opcode[2..].
|
2471 |
|
|
(md_estimate_size_before_relax) [case TAB (FBRANCH, SZ_UNDEF)]:
|
2472 |
|
|
Turn on long bit.
|
2473 |
|
|
(m68k_ip) [case 'C']: Don't set set long bit, set it in the opcode
|
2474 |
|
|
table.
|
2475 |
|
|
(md_estimate_size_before_relax) [case TAB (PCINDEX, SZ_UNDEF)]:
|
2476 |
|
|
Variable part increases by four, not six.
|
2477 |
|
|
* write.c (fixup_segment) [TC_M68K]: Don't do further pcrel
|
2478 |
|
|
processing after converting difference of two symbols in the
|
2479 |
|
|
same segment.
|
2480 |
|
|
|
2481 |
|
|
* write.c (fixup_segment): Don't conditionalize the pcrel fix on
|
2482 |
|
|
TC_M68K.
|
2483 |
|
|
|
2484 |
|
|
* config/tc-sparc.c (sparc_ip, case 'A'): If ASI is not a "#"
|
2485 |
|
|
value, don't shift it an extra time.
|
2486 |
|
|
|
2487 |
|
|
Wed Jun 21 14:18:37 1995 Steve Chamberlain
|
2488 |
|
|
|
2489 |
|
|
* gasp.c (do_print, do_form, buffer_and_nest): Use case insensitive
|
2490 |
|
|
string compares.
|
2491 |
|
|
|
2492 |
|
|
Tue Jun 20 14:55:02 1995 Ken Raeburn
|
2493 |
|
|
|
2494 |
|
|
* config/obj-coff.c (write_object_file): Cast time() argument to
|
2495 |
|
|
time_t *.
|
2496 |
|
|
|
2497 |
|
|
Tue Jun 20 12:00:53 1995 Jeff Law (law@snake.cs.utah.edu)
|
2498 |
|
|
|
2499 |
|
|
* config/tc-hppa.c (pa_build_unwind_subspace): Fix typo in last
|
2500 |
|
|
change.
|
2501 |
|
|
|
2502 |
|
|
Mon Jun 19 15:27:17 1995 Jeff Law (law@snake.cs.utah.edu)
|
2503 |
|
|
|
2504 |
|
|
* config/tc-hppa.c (pa_build_unwind_subspace): Zero out memory
|
2505 |
|
|
from frag_more calls.
|
2506 |
|
|
|
2507 |
|
|
Thu Jun 15 16:53:37 1995 Stan Shebs
|
2508 |
|
|
|
2509 |
|
|
* config/obj-coff.c: Don't use "bfd/" when including libbfd.h
|
2510 |
|
|
and libcoff.h.
|
2511 |
|
|
(fill_section): Call PROGRESS.
|
2512 |
|
|
* Makefile.in (INCLUDES): Add bfd srcdir.
|
2513 |
|
|
|
2514 |
|
|
* mpw-config.in: Add bfd_gas flag and set for each config.
|
2515 |
|
|
(i386-unknown-go32, m68k-unknown-coff): Recognize.
|
2516 |
|
|
* mpw-make.in (HACK_O_RAMA, OBJ_COFF_OMIT_TIMESTAMP): Add to
|
2517 |
|
|
config.h.
|
2518 |
|
|
|
2519 |
|
|
Thu Jun 15 10:04:26 1995 Doug Evans
|
2520 |
|
|
|
2521 |
|
|
* config/tc-arm.h (LOCAL_LABEL): Prepend '.' if not OBJ_AOUT.
|
2522 |
|
|
(FAKE_LABEL_NAME): Likewise.
|
2523 |
|
|
|
2524 |
|
|
Mon Jun 12 22:25:39 1995 Jeff Law (law@snake.cs.utah.edu)
|
2525 |
|
|
|
2526 |
|
|
* config/tc-hppa.c (pa_ip): Check for invalid register in single
|
2527 |
|
|
precision fmpyadd and fmpysub instructions.
|
2528 |
|
|
|
2529 |
|
|
Thu Jun 8 19:33:02 1995 Pat Rankin (rankin@eql.caltech.edu)
|
2530 |
|
|
|
2531 |
|
|
* config/obj-vms.c (myname): Delete all references.
|
2532 |
|
|
(VMS_stab_parse, Write_VMS_MHD_Records, VMS_Case_Hack_Symbol):
|
2533 |
|
|
Replace printf calls with as_tsktsk.
|
2534 |
|
|
(PUT_LONG, PUT_SHORT): Use COPY_LONG, COPY_SHORT.
|
2535 |
|
|
(VMS_Store_Immediate_Data): Move second buffer capacity check
|
2536 |
|
|
below bottom of loop; first check at top suffices for loop itself.
|
2537 |
|
|
(find_file): Remove redundant pointer checks in first two loops;
|
2538 |
|
|
replace third loop with pointer to last list element determined
|
2539 |
|
|
in first loop.
|
2540 |
|
|
|
2541 |
|
|
Tue Jun 6 13:53:06 1995 Ken Raeburn
|
2542 |
|
|
|
2543 |
|
|
* config/tc-sparc.c (sparc_ip): Handle defined absolute symbols as
|
2544 |
|
|
ASI values.
|
2545 |
|
|
|
2546 |
|
|
* config/obj-vms.c (vms_write_object_file, case N_DATA): Use
|
2547 |
|
|
strcmp against FAKE_LABEL_NAME instead of checking third
|
2548 |
|
|
character. (Suggested by Pat Rankin.)
|
2549 |
|
|
|
2550 |
|
|
Mon Jun 5 20:10:46 1995 Pat Rankin (rankin@eql.caltech.edu)
|
2551 |
|
|
|
2552 |
|
|
Add support for N_ABS and N_ABS|N_EXT type symbols.
|
2553 |
|
|
|
2554 |
|
|
* config/obj-vms.h (LSY_S_M_{DEF,REL}, ENV_S_M_{DEF,NESTED}):
|
2555 |
|
|
New macros for local symbols (from and ).
|
2556 |
|
|
* config/obj-vms.c (Current_Environment): New file-scope variable.
|
2557 |
|
|
(VMS_Local_Environment_Setup): New routine.
|
2558 |
|
|
(GBLSYM_LCL): New macro.
|
2559 |
|
|
(VMS_Global_Symbol_Spec): Handle local symbols too.
|
2560 |
|
|
(VMS_Psect_Spec): Set GLOBALVALUE_BIT for absolute symbols.
|
2561 |
|
|
(VMS_Emit_Globalvalues): Handle local and global absolute symbols.
|
2562 |
|
|
(VMS_Store_PIC_Symbol_Reference): Ditto.
|
2563 |
|
|
(vms_write_object_file: GSD symbol loop): Ditto.
|
2564 |
|
|
|
2565 |
|
|
Mon Jun 5 16:10:40 1995 Steve Chamberlain
|
2566 |
|
|
|
2567 |
|
|
* config/tc-arm.h (LOCAL_LABELS_FB): Define.
|
2568 |
|
|
|
2569 |
|
|
Mon Jun 5 02:17:58 1995 Ken Raeburn
|
2570 |
|
|
|
2571 |
|
|
* configure.in (i386-*-gnu*): Always use GNU ELF config.
|
2572 |
|
|
|
2573 |
|
|
Wed May 31 17:49:18 1995 Pat Rankin (rankin@eql.caltech.edu)
|
2574 |
|
|
|
2575 |
|
|
* config/obj-vms.c (obj_crawl_symbol_chain): Update *symbolPP
|
2576 |
|
|
in `else' clause when removing a symbol. Also, revise comments
|
2577 |
|
|
to match the code.
|
2578 |
|
|
(vms_write_object_file (GSD symbol loop, case N_DATA)): Never
|
2579 |
|
|
output symbol definitions for local numeric labels.
|
2580 |
|
|
|
2581 |
|
|
Tue May 30 18:29:10 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
|
2582 |
|
|
|
2583 |
|
|
* configure.in (architecture variants, cases armeb and arm*): Remove
|
2584 |
|
|
spaces round assignment to endian.
|
2585 |
|
|
|
2586 |
|
|
Tue May 30 12:31:31 1995 Ken Raeburn
|
2587 |
|
|
|
2588 |
|
|
* write.c (write_object_file): Check for undefined local dollar
|
2589 |
|
|
and fb labels.
|
2590 |
|
|
|
2591 |
|
|
* symbols.c (decode_local_label_name): Extract instance number
|
2592 |
|
|
from the correct location.
|
2593 |
|
|
|
2594 |
|
|
Sat May 27 21:28:49 1995 J.T. Conklin
|
2595 |
|
|
|
2596 |
|
|
* config/te-dpx2.h: Include obj-format.h.
|
2597 |
|
|
(COFF_MAGIC): Renamed from FILE_HEADER_MAGIC.
|
2598 |
|
|
|
2599 |
|
|
Wed May 24 13:45:32 1995 Steve Chamberlain
|
2600 |
|
|
|
2601 |
|
|
* configure, configure.in, config/obj-coff.c, config/obj-coff.h:
|
2602 |
|
|
Add support for ARM pe
|
2603 |
|
|
|
2604 |
|
|
Tue May 23 17:00:32 1995 Doug Evans
|
2605 |
|
|
|
2606 |
|
|
* config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP16
|
2607 |
|
|
and BFD_RELOC_SPARC_WDISP19.
|
2608 |
|
|
|
2609 |
|
|
Tue May 23 19:18:33 1995 Ken Raeburn
|
2610 |
|
|
|
2611 |
|
|
* as.c (parse_args) [! USE_EMULATIONS]: Always print an error
|
2612 |
|
|
message.
|
2613 |
|
|
|
2614 |
|
|
* doc/internals.texi: Document obj_app_file and
|
2615 |
|
|
TARGET_BYTES_BIG_ENDIAN.
|
2616 |
|
|
|
2617 |
|
|
Mon May 22 20:03:23 1995 Ken Raeburn
|
2618 |
|
|
|
2619 |
|
|
* ecoff.c (ecoff_stab): Add extra leading argument, for 4 May
|
2620 |
|
|
change.
|
2621 |
|
|
* ecoff.h (ecoff_stab): Fix declaration.
|
2622 |
|
|
* obj.h (format_ops.process_stab): Include prototype.
|
2623 |
|
|
* config/obj-elf.h (OBJ_PROCESS_STAB): Pass through seg argument.
|
2624 |
|
|
* config/obj-ecoff.h (OBJ_PROCESS_STAB): Ditto.
|
2625 |
|
|
|
2626 |
|
|
* config/e-mipself.c (mipself): New emulation mode, doesn't change
|
2627 |
|
|
endianness from configured default.
|
2628 |
|
|
* config/e-mipsecoff.c (mipsecoff): Ditto.
|
2629 |
|
|
* configure.in (mips ecoff/elf targets): Include them.
|
2630 |
|
|
* as.c (mipself, mipsecoff): Declare.
|
2631 |
|
|
|
2632 |
|
|
* as.c (emulation_name): New variable.
|
2633 |
|
|
(select_emulation_mode): Set emulation_name. Don't change argv.
|
2634 |
|
|
(parse_args): Handle --emulation; complain if the supplied name
|
2635 |
|
|
isn't what select_emulation_name came up with.
|
2636 |
|
|
|
2637 |
|
|
Sun May 21 21:36:17 1995 Jeff Law (law@snake.cs.utah.edu)
|
2638 |
|
|
|
2639 |
|
|
* config/tc-hppa.c: Reverse changes from Dec. 19th which
|
2640 |
|
|
changed the way unwinds were built for ELF. Rely on relocation
|
2641 |
|
|
symbol reductions to avoid placing the end of function marker
|
2642 |
|
|
symbols into the object file's symbol table.
|
2643 |
|
|
|
2644 |
|
|
Sat May 20 12:31:36 1995 Ken Raeburn
|
2645 |
|
|
|
2646 |
|
|
Added improved VMS support from Pat Rankin:
|
2647 |
|
|
|
2648 |
|
|
Fri 19 May 16:51:40 1995 Pat Rankin (rankin@eql.caltech.edu)
|
2649 |
|
|
|
2650 |
|
|
* config/obj-vms.h (AOUT_STABS): Define.
|
2651 |
|
|
|
2652 |
|
|
* config/obj-vms.c (fpush, rpush): New routines.
|
2653 |
|
|
(push): Replaced by the above.
|
2654 |
|
|
(find_symbol): Slight reorganization to expose tail recursion.
|
2655 |
|
|
|
2656 |
|
|
Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
|
2657 |
|
|
|
2658 |
|
|
* Makefile.in (VMS_OTHER_OBJS): delete this.
|
2659 |
|
|
* vmsconf.sh (make-gas.com): build ../libiberty/liberty.olb
|
2660 |
|
|
first if necessary; link gas against it.
|
2661 |
|
|
|
2662 |
|
|
Fri May 19 16:37:39 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
|
2663 |
|
|
|
2664 |
|
|
* gasp.c (istrue): Correctly test for string inequality.
|
2665 |
|
|
|
2666 |
|
|
Thu May 18 04:25:11 1995 Ken Raeburn
|
2667 |
|
|
|
2668 |
|
|
Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
|
2669 |
|
|
|
2670 |
|
|
* config/tc-arm.c (CP_T_{Pre,UD,WB}): Define, bits in co-processor
|
2671 |
|
|
instructions.
|
2672 |
|
|
([ls]fm_flags): Correct error in bitmasks.
|
2673 |
|
|
(cp_address_required_here): Delete second parameter, FLAGS. All
|
2674 |
|
|
callers changed. Remove all dead code referring to FLAGS. If
|
2675 |
|
|
address is just "[Reg]" then convert into a PRE-INCREMENT UP format.
|
2676 |
|
|
(do_fp_ldmstm): Handle full-descending and empty-ascending stack
|
2677 |
|
|
formats explicitly.
|
2678 |
|
|
|
2679 |
|
|
* config/tc-arm.c (internalError): Define.
|
2680 |
|
|
(ARM_{1,2,250,3,6,7,7DM,ANY,2UP,ALL,3UP,6UP,LONGMUL}): Define processor
|
2681 |
|
|
variants.
|
2682 |
|
|
(FPU_{CORE,FPA10,FPA11,NONE,ALL,MEMMULTI}): Define floating point
|
2683 |
|
|
variants.
|
2684 |
|
|
({CPU,FPU}_DEFAULT): Define.
|
2685 |
|
|
(cpu_variant): New variable.
|
2686 |
|
|
(asm_flg): Change more_flags to flag_bits.
|
2687 |
|
|
Add prototypes for new functions.
|
2688 |
|
|
(FLAG_{S,P,B,T,ED,FD,FA,EA,IB,IA,DB,DA,L}): Delete.
|
2689 |
|
|
(s_flag[], ldst_flags[], byte_flag[], cmp_flags[], ldm_flags[],
|
2690 |
|
|
stm_flags[], lfm_flags[], sfm_flags[], round_flags[], except_flags[],
|
2691 |
|
|
cplong_flag[]): New variables.
|
2692 |
|
|
(asm_opcode, insns[]): New format, add version support.
|
2693 |
|
|
(arm_flg_hsh): Delete.
|
2694 |
|
|
(do_mul, do_mla): Remove "Warning" from warning messages.
|
2695 |
|
|
(do_arit): Simplify.
|
2696 |
|
|
(do_swap): Make error message more appropriate.
|
2697 |
|
|
(md_begin): Build hash tables starting at first entry in tables.
|
2698 |
|
|
(md_number_to_chars): Cope with big/little-endian selection.
|
2699 |
|
|
(md_chars_to_number): New function.
|
2700 |
|
|
(md_apply_fix): Rewrite to make endian independent.
|
2701 |
|
|
(tc_gen_reloc): Better error messages.
|
2702 |
|
|
(md_assemble): Reject opcodes forbidden by the currently selected cpu
|
2703 |
|
|
variant. Rewrite handling code for instruction flags.
|
2704 |
|
|
(md_shortopts): Add option "m:".
|
2705 |
|
|
(md_parse_option): Get the desired cpu/fpu variant.
|
2706 |
|
|
|
2707 |
|
|
From: David Taylor (dtaylor@armltd.co.uk)
|
2708 |
|
|
* configure.in (architecture variants): Check for "armeb" and "arm*",
|
2709 |
|
|
set endianness accordingly.
|
2710 |
|
|
* read.c (read_a_source_file): New hooks md_start_line_hook and
|
2711 |
|
|
md_after_pass_hook.
|
2712 |
|
|
* config/arm-{big,lit}.mt: New files
|
2713 |
|
|
* config/tc-arm.h ({LITTLE,BIG}_ENDIAN, BYTE_ORDER): Define.
|
2714 |
|
|
(TARGET_FORMAT): Select depending on endianness and emulation and
|
2715 |
|
|
object format.
|
2716 |
|
|
(md_after_pass_hook, md_start_line_hook): Define.
|
2717 |
|
|
* config/tc-arm.c: Include subsegs.h, symbols.h and listing.h.
|
2718 |
|
|
(shift[]): Add uppper case equivalents.
|
2719 |
|
|
(CP_T_[XY], TRANS_BIT): Define.
|
2720 |
|
|
(conds[]): Delete initial NULL entry, add "lo" entry as synonym for
|
2721 |
|
|
"cc".
|
2722 |
|
|
(LONGEST_FLAG, flags[]): Delete.
|
2723 |
|
|
(arm_psr): New structure.
|
2724 |
|
|
(psrs[]): New variable.
|
2725 |
|
|
(PSR_ALL): Define.
|
2726 |
|
|
(LONGEST_INST): Bump to 5.
|
2727 |
|
|
(LITERAL_MASK, COND_MASK, OPCODE_MASK, DATA_OP_SHIFT): Define.
|
2728 |
|
|
(OPCODE_{AND,EOR,SUB,RSB,ADD,ADC,SBC,RSC,TST,TEQ,CMP,CMN,ORR,MOV,BIC,
|
2729 |
|
|
MVN}): Define.
|
2730 |
|
|
(insns[]): Add smull, umull, smlal, umlal, ldfm, stfm, msr and mrs
|
2731 |
|
|
instructions. Add nop and adr pseudo ops.
|
2732 |
|
|
(reg_table): Add APCS register name variants.
|
2733 |
|
|
(arm_psr_hsh): New hash table.
|
2734 |
|
|
(md_pseudo_table): Add "ltorg", "pool", "extend", "ldouble" and
|
2735 |
|
|
"packed".
|
2736 |
|
|
(MAX_LITERAL_POOL_SIZE): Define.
|
2737 |
|
|
(struct literalS): New structure.
|
2738 |
|
|
(literals, next_literal_pool_place, lit_pool_num, current_poolP): New
|
2739 |
|
|
variables.
|
2740 |
|
|
(add_to_lit_pool, symbol_locate, symbol_make_empty): New functions.
|
2741 |
|
|
(validate_immediate): Return FAIL on failure.
|
2742 |
|
|
(s_ltorg): New function.
|
2743 |
|
|
(psr_required_here, psrf_required_here): New functions.
|
2744 |
|
|
(cp_address_required_here): New parameter, flag, all callers changed.
|
2745 |
|
|
If flag is non-zero, restrict the legal addressing modes.
|
2746 |
|
|
(do_nop, do_mrs, do_msr, do_mull): New functions.
|
2747 |
|
|
(negate_data_op): New function.
|
2748 |
|
|
(data_op2): accept #x,y meaning x rotated right by y, but only when
|
2749 |
|
|
suitable constants. If immediate is not legal, try changing the
|
2750 |
|
|
opcode.
|
2751 |
|
|
(do_adr): New function.
|
2752 |
|
|
(do_ldst): accept "ldr reg, =expr". Put expr in the pool if it can't
|
2753 |
|
|
be done as an immediate.
|
2754 |
|
|
(do_fp_ldst): Use CP_T_[XY], not immediate values.
|
2755 |
|
|
(do_fp_ldmstm): New function.
|
2756 |
|
|
(arm_psr_parse): New function.
|
2757 |
|
|
(output_inst): Use INSN_SIZE in call to md_number_to_chars.
|
2758 |
|
|
(md_assemble): Add hack so that "Label instruction" causes alignment of
|
2759 |
|
|
the label.
|
2760 |
|
|
(arm_after_pass_hook, arm_start_line_hook, arm_frob_symbol): New
|
2761 |
|
|
functions.
|
2762 |
|
|
|
2763 |
|
|
Wed May 17 05:25:16 1995 Michael Meissner
|
2764 |
|
|
|
2765 |
|
|
* config/tc-ppc.c (md_show_usage): Add \'s at end of lines in
|
2766 |
|
|
strings for non-GCC compilers.
|
2767 |
|
|
|
2768 |
|
|
Tue May 16 19:36:00 1995 Ken Raeburn
|
2769 |
|
|
|
2770 |
|
|
* config/obj-ecoff.c (ecoff_pop_insert): New function.
|
2771 |
|
|
(ecoff_format_ops): Use it.
|
2772 |
|
|
(obj_ecoff_frob_symbol): Now static.
|
2773 |
|
|
|
2774 |
|
|
Wed May 17 00:59:12 1995 Andrew Cagney - aka Noid
|
2775 |
|
|
|
2776 |
|
|
* config/tc-ppc.c (md_begin): Was assuming that an instruction was
|
2777 |
|
|
bigendian and hence 16bit relocs withing instructions would
|
2778 |
|
|
ALWAYS be at addresses i+2-i+3. In LE mode it is i+0-i+1.
|
2779 |
|
|
|
2780 |
|
|
Tue May 16 16:29:58 1995 Ken Raeburn
|
2781 |
|
|
|
2782 |
|
|
* config/obj-multi.h (obj_frob_symbol, obj_frob_file, S_GET_SIZE,
|
2783 |
|
|
S_SET_SIZE, S_GET_ALIGN, S_SET_ALIGN, obj_copy_symbol_attributes,
|
2784 |
|
|
OBJ_PROCESS_STAB): New macros.
|
2785 |
|
|
* config/tc-mips.c: Protect against redefining them also when
|
2786 |
|
|
including obj-elf.h. Test only OBJ_ELF for including elf/mips.h.
|
2787 |
|
|
(mips_init_after_args): New function. Set byte_order here.
|
2788 |
|
|
(md_parse_option): Not here.
|
2789 |
|
|
(byte_order): Don't bother initializing.
|
2790 |
|
|
* config/tc-mips.h (mips_init_after_args): Declare.
|
2791 |
|
|
(tc_init_after_args): New macro.
|
2792 |
|
|
|
2793 |
|
|
* read.c (s_lcomm): Do ELF/ECOFF test at run time, not compile
|
2794 |
|
|
time.
|
2795 |
|
|
|
2796 |
|
|
Fri May 12 14:17:47 1995 Steve Chamberlain
|
2797 |
|
|
|
2798 |
|
|
Initial support for PE object files.
|
2799 |
|
|
* configure.in, configure (i386-*-pe, i386-*-*nt): Add.
|
2800 |
|
|
* config/obj-coff.c (fixup_segment): Cope with PE wierdness.
|
2801 |
|
|
* config/obj-coff.h (TE_PE): New target format.
|
2802 |
|
|
|
2803 |
|
|
Thu May 11 14:58:21 1995 Ken Raeburn
|
2804 |
|
|
|
2805 |
|
|
* config/obj-elf.c (NEED_ECOFF_DEBUG): Define if ECOFF_DEBUGGING
|
2806 |
|
|
was defined by header files. Test in preprocessor conditionals
|
2807 |
|
|
instead of ECOFF_DEBUGGING.
|
2808 |
|
|
(ecoff_debug_pseudo_table): Make empty if NEED_ECOFF_DEBUG is not
|
2809 |
|
|
defined.
|
2810 |
|
|
(obj_read_begin_hook, obj_symbol_new_hook, elf_frob_symbol,
|
2811 |
|
|
elf_frob_file): Only call ecoff routines if NEED_ECOFF_DEBUG is
|
2812 |
|
|
defined.
|
2813 |
|
|
(elf_ecoff_set_ext, elf_get_extr, elf_set_index): Define only if
|
2814 |
|
|
NEED_ECOFF_DEBUG is defined.
|
2815 |
|
|
(elf_format_ops): Reference elf_ecoff_set_ext only if
|
2816 |
|
|
NEED_ECOFF_DEBUG.
|
2817 |
|
|
|
2818 |
|
|
Wed May 10 18:09:12 1995 Ken Raeburn
|
2819 |
|
|
|
2820 |
|
|
* Makefile.in (OBJS): Include @extra_objects@.
|
2821 |
|
|
(obj-elf.o, obj-ecoff.o, e-mipself.o, e-mipsecoff.o): New rules
|
2822 |
|
|
for building these independently.
|
2823 |
|
|
* emul-target.h, config/e-mipself.c, config/e-mipsecoff.c: New
|
2824 |
|
|
files.
|
2825 |
|
|
|
2826 |
|
|
* acconfig.h (DEFAULT_EMULATION, EMULATIONS, USE_EMULATIONS,
|
2827 |
|
|
OBJ_MAYBE_*, I386COFF, M68KCOFF, M88KCOFF): New macros.
|
2828 |
|
|
* aclocal.m4 (GAS_UNIQ): New macro.
|
2829 |
|
|
|
2830 |
|
|
* as.c (emulations, n_emulations) [USE_EMULATIONS]: New variable.
|
2831 |
|
|
(select_emulation_mode, default_emul_bfd_name, common_emul_init)
|
2832 |
|
|
[USE_EMULATIONS]: New functions.
|
2833 |
|
|
(main) [USE_EMULATIONS]: Call select_emulation_mode before other
|
2834 |
|
|
initialization.
|
2835 |
|
|
* emul.h: New file.
|
2836 |
|
|
* as.h [USE_EMULATIONS]: Include it.
|
2837 |
|
|
|
2838 |
|
|
* configure.in: Handle enable-targets option. Iterate over target
|
2839 |
|
|
list, building up a list of object file formats and emulation
|
2840 |
|
|
configurations. (Only supports emulations for MIPS CPU so far.)
|
2841 |
|
|
If multiple formats are needed, set obj_format to multi and add
|
2842 |
|
|
format config files to extra_files. If emulation modes are
|
2843 |
|
|
needed, add the relevant files to extra_files.
|
2844 |
|
|
|
2845 |
|
|
* configure.in: Define I386COFF, M68KCOFF, M88KCOFF for those
|
2846 |
|
|
configurations.
|
2847 |
|
|
|
2848 |
|
|
* ecoff.c (ecoff_generate_asm_lineno): Filename argument now
|
2849 |
|
|
points to const.
|
2850 |
|
|
* ecoff.h (ecoff_generate_asm_lineno): Updated declaration.
|
2851 |
|
|
|
2852 |
|
|
* obj.h (obj_read_begin_hook): Don't declare function if it's
|
2853 |
|
|
already a macro.
|
2854 |
|
|
|
2855 |
|
|
* read.c (s_space, cons, stringer): If md_flush_pending_output is
|
2856 |
|
|
defined, call it on entry.
|
2857 |
|
|
* config/obj-elf.c (obj_elf_section): If md_flush_pending_output
|
2858 |
|
|
is defined, call it on entry. If md_elf_section_change_hook is
|
2859 |
|
|
defined, call it before returning normally.
|
2860 |
|
|
|
2861 |
|
|
* read.h (target_big_endian): Declare.
|
2862 |
|
|
|
2863 |
|
|
* obj.h (struct format_ops): Added new function pointer fields
|
2864 |
|
|
ecoff_set_ext, read_begin_hook, symbol_new_hook.
|
2865 |
|
|
(ecoff_format_ops, elf_format_ops): Declare.
|
2866 |
|
|
* config/obj-elf.c (elf_s_get_size, elf_s_set_size,
|
2867 |
|
|
elf_s_get_align, elf_s_set_align, elf_copy_symbol_attributes,
|
2868 |
|
|
elf_sec_sym_ok_for_reloc): New functions.
|
2869 |
|
|
(elf_format_ops): New variable.
|
2870 |
|
|
(elf_frob_symbol): Now takes additional int* argument.
|
2871 |
|
|
* config/obj-elf.h (elf_frob_symbol): Update declaration.
|
2872 |
|
|
(elf_pop_insert): Declare.
|
2873 |
|
|
(obj_pop_insert): Define to call elf_pop_insert.
|
2874 |
|
|
* config/obj-ecoff.c (ecoff_sec_sym_ok_for_reloc,
|
2875 |
|
|
obj_ecoff_frob_symbol): New functions.
|
2876 |
|
|
(ecoff_format_ops): New variable.
|
2877 |
|
|
|
2878 |
|
|
* config/te-generic.h: If OBJ_HEADER is defined, use it as the
|
2879 |
|
|
filename to include in place of obj-format.h.
|
2880 |
|
|
* config/te-multi.h: New file, copied from te-generic.h.
|
2881 |
|
|
* config/obj-elf.c (OBJ_HEADER): Define it to "obj-elf.h".
|
2882 |
|
|
* config/obj-ecoff.c (OBJ_HEADER): Define it to "obj-ecoff.h".
|
2883 |
|
|
|
2884 |
|
|
* config/obj-elf.c (ECOFF_DEBUGGING): Default to 0.
|
2885 |
|
|
(obj_read_begin_hook, obj_symbol_new_hook, elf_frob_symbol,
|
2886 |
|
|
elf_frob_file): Test it at run time.
|
2887 |
|
|
(obj_ecoff_set_ext, elf_get_extr, elf_set_index): Define
|
2888 |
|
|
unconditionally.
|
2889 |
|
|
(elf_pseudo_table): Renamed from obj_pseudo_table, now static.
|
2890 |
|
|
(ecoff_debug_pseudo_table): Split off into separate table. Define
|
2891 |
|
|
it unconditionally.
|
2892 |
|
|
(elf_pop_insert): New function.
|
2893 |
|
|
* config/obj-elf.h (elf_pop_insert): Declare.
|
2894 |
|
|
(obj_pop_insert): New macro.
|
2895 |
|
|
(obj_ecoff_set_ext) [!OBJ_MAYBE_ELF]: Define to elf_ecoff_set_ext.
|
2896 |
|
|
* config/obj-ecoff.h (obj_ecoff_set_ext): Define to ecoff_set_ext.
|
2897 |
|
|
|
2898 |
|
|
* config/tc-mips.h: Protect against multiple inclusions.
|
2899 |
|
|
(mips_pop_insert): Declare.
|
2900 |
|
|
(md_pop_insert): Call it.
|
2901 |
|
|
|
2902 |
|
|
* config/tc-mips.c: If OBJ_MAYBE_ELF is defined, include
|
2903 |
|
|
obj-elf.h, but preserve OUTPUT_FLAVOR and protect some other
|
2904 |
|
|
macros from redefinition.
|
2905 |
|
|
(ECOFF_DEBUGGING): Default to 0. All references changed to
|
2906 |
|
|
run-time tests or made unconditional.
|
2907 |
|
|
(s_stringer, s_mips_space, s_elf_section): Deleted.
|
2908 |
|
|
(md_pseudo_table): Don't refer to them. Split table into three
|
2909 |
|
|
sections, for MIPS, non-ECOFF_DEBUGGING, and ELF.
|
2910 |
|
|
(mips_pop_insert): New function.
|
2911 |
|
|
(mips_flush_pending_output): New function.
|
2912 |
|
|
(mips_enable_auto_align): New function.
|
2913 |
|
|
* config/tc-mips.h (mips_pop_insert): Declare.
|
2914 |
|
|
(md_pop_insert): New macro.
|
2915 |
|
|
(mips_flush_pending_output): Declare.
|
2916 |
|
|
(md_flush_pending_output): New macro.
|
2917 |
|
|
(mips_enable_auto_align): Declare.
|
2918 |
|
|
(md_elf_section_change_hook): New macro, calls
|
2919 |
|
|
mips_enable_auto_align.
|
2920 |
|
|
|
2921 |
|
|
Tue May 9 17:07:41 1995 Michael Meissner
|
2922 |
|
|
|
2923 |
|
|
* configure.in: Add little endian PowerPC support.
|
2924 |
|
|
* configure: Rebuild with autoconf.
|
2925 |
|
|
* config/ppc-big.mt: New file for big endian PowerPC systems.
|
2926 |
|
|
* config/ppc-lit.mt: New file for little endian PowerPC systems.
|
2927 |
|
|
|
2928 |
|
|
* config/tc-ppc.h (target_big_endian): Declare.
|
2929 |
|
|
(TARGET_FORMAT): Deal with little and big endian ELF variants.
|
2930 |
|
|
(TARGET_BYTES_BIG_ENDIAN): Define as 1, not empty.
|
2931 |
|
|
|
2932 |
|
|
* config/tc-ppc.c (ppc_big_endian): Delete variable, use
|
2933 |
|
|
target_big_endian instead.
|
2934 |
|
|
(md_parse_option): Parse -mlittle and -mlittle-endian to use
|
2935 |
|
|
little endian support. Parse -mbig and -mbig-endian to use big
|
2936 |
|
|
endian support.
|
2937 |
|
|
(md_show_usage): Update to reflect current switches.
|
2938 |
|
|
(ppc_set_cpu): Recognize powerpcle as little endian PowerPC. Use
|
2939 |
|
|
as_fatal, not abort if unknown machine.
|
2940 |
|
|
|
2941 |
|
|
Tue May 9 10:58:41 1995 Jeff Law (law@snake.cs.utah.edu)
|
2942 |
|
|
|
2943 |
|
|
* config/tc-hppa.c (md_apply_fix): Cast *valp to an integer when
|
2944 |
|
|
comparing against signed values.
|
2945 |
|
|
(hppa_force_relocation): Make "distance" an integer.
|
2946 |
|
|
|
2947 |
|
|
Tue May 9 00:47:03 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
2948 |
|
|
|
2949 |
|
|
* obj.h (struct format_ops) [BFD_ASSEMBLER]: New type.
|
2950 |
|
|
(this_format) [BFD_ASSEMBLER]: Declare new variable, if not
|
2951 |
|
|
already defined as a macro.
|
2952 |
|
|
|
2953 |
|
|
Mon May 8 21:44:13 1995 Ken Raeburn
|
2954 |
|
|
|
2955 |
|
|
* subsegs.h (seg_info): Provide dummy version for
|
2956 |
|
|
non-BFD_ASSEMBLER, non-MANY_SEGMENTS configuration. It should
|
2957 |
|
|
never get invoked, but this is easier than conditionalizing some
|
2958 |
|
|
of the uses.
|
2959 |
|
|
(struct seg_info_trash): Dummy type used by above to make code
|
2960 |
|
|
compile.
|
2961 |
|
|
|
2962 |
|
|
Fri May 5 14:47:13 1995 Ken Raeburn
|
2963 |
|
|
|
2964 |
|
|
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define to 1, not
|
2965 |
|
|
empty.
|
2966 |
|
|
* config/obj-elf.h (SEPARATE_STAB_SECTIONS): Ditto.
|
2967 |
|
|
* config/obj-som.h (SEPARATE_STAB_SECTIONS): Ditto.
|
2968 |
|
|
|
2969 |
|
|
Thu May 4 19:26:55 1995 Ken Raeburn
|
2970 |
|
|
|
2971 |
|
|
* stabs.c (get_stab_string_offset): Always define. If
|
2972 |
|
|
SEPARATE_STAB_SECTIONS isn't set, abort.
|
2973 |
|
|
(SEPARATE_STAB_SECTIONS): Default to zero.
|
2974 |
|
|
(aout_process_stab): New function, split out from s_stab_generic.
|
2975 |
|
|
(OBJ_PROCESS_STAB) [AOUT_STABS]: Define to call aout_process_stab,
|
2976 |
|
|
if not already defined.
|
2977 |
|
|
(s_stab_generic): Test SEPARATE_STAB_SECTIONS at run time. If
|
2978 |
|
|
it's not set, and OBJ_PROCESS_STAB isn't defined, abort. Always
|
2979 |
|
|
pass six arguments to OBJ_PROCESS_STAB.
|
2980 |
|
|
* read.h (get_stab_string_offset): Declare unconditionally.
|
2981 |
|
|
* config/obj-aout.h (AOUT_STABS): Define.
|
2982 |
|
|
* config/obj-bout.h (AOUT_STABS): Define.
|
2983 |
|
|
* config/obj-ecoff.h (OBJ_PROCESS_STAB): Add new first argument,
|
2984 |
|
|
ignored.
|
2985 |
|
|
* config/obj-elf.h (OBJ_PROCESS_STAB) [ECOFF_DEBUGGING]: Ditto.
|
2986 |
|
|
|
2987 |
|
|
* config/obj-ecoff.h (ECOFF_DEBUGGING): Define to 1, not empty.
|
2988 |
|
|
* config/obj-elf.h (ECOFF_DEBUGGING): Ditto. Test value, not
|
2989 |
|
|
whether it's defined.
|
2990 |
|
|
|
2991 |
|
|
Wed May 3 21:38:20 1995 Ken Raeburn
|
2992 |
|
|
|
2993 |
|
|
* as.h (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): If not already
|
2994 |
|
|
defined, define them to zero.
|
2995 |
|
|
* config/tc-*.h, config/te-*.h: If defining them, define them to
|
2996 |
|
|
be 1 instead of empty.
|
2997 |
|
|
* expr.c (integer_constant, operand): Test them at run time
|
2998 |
|
|
instead of compile time.
|
2999 |
|
|
* read.c (read_a_source_file): Ditto.
|
3000 |
|
|
* symbols.c (colon): Ditto.
|
3001 |
|
|
(dollar_*, define_dollar_label, fb_*): Define unconditionally.
|
3002 |
|
|
* symbols.h (dollar_*, define_dollar_label, fb_*): Declare
|
3003 |
|
|
unconditionally.
|
3004 |
|
|
|
3005 |
|
|
Wed May 3 13:08:53 1995 Jeff Law (law@snake.cs.utah.edu)
|
3006 |
|
|
|
3007 |
|
|
* config/tc-hppa.c (md_apply_fix): Do nothing for an out of range
|
3008 |
|
|
PC relative call since those only occur in cases where the linker
|
3009 |
|
|
can fix them up.
|
3010 |
|
|
(hppa_force_relocation): Force relocations for out of range PC
|
3011 |
|
|
relative calls.
|
3012 |
|
|
|
3013 |
|
|
Tue May 2 16:34:47 1995 Jeff Law (law@snake.cs.utah.edu)
|
3014 |
|
|
|
3015 |
|
|
* configure (hppa*-*-lites*): Handle just like hppa*-*-*elf*.
|
3016 |
|
|
* configure.in: Likewise.
|
3017 |
|
|
|
3018 |
|
|
Tue May 2 11:22:00 1995 Ken Raeburn
|
3019 |
|
|
|
3020 |
|
|
* read.c (pop_insert): New function.
|
3021 |
|
|
(pop_override_ok, pop_table_name): New variables.
|
3022 |
|
|
(md_pop_insert, obj_pop_insert): New macros.
|
3023 |
|
|
(pobegin): Use them.
|
3024 |
|
|
|
3025 |
|
|
* config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of
|
3026 |
|
|
NO_STDARG &c.
|
3027 |
|
|
|
3028 |
|
|
* read.c (target_big_endian): If TARGET_BYTES_BIG_ENDIAN is
|
3029 |
|
|
defined, initialize to 1.
|
3030 |
|
|
* config/tc-mips.c (mips_target_format): Changed to a function,
|
3031 |
|
|
checking flavor and byte order at run time.
|
3032 |
|
|
(md_parse_option, cases OPTION_EB and OPTION_EL): Set
|
3033 |
|
|
target_big_endian here.
|
3034 |
|
|
(md_begin): Not here.
|
3035 |
|
|
* config/tc-mips.h (mips_target_format): Adjust declaration.
|
3036 |
|
|
(TARGET_FORMAT): Call mips_target_format.
|
3037 |
|
|
|
3038 |
|
|
* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Define in terms of
|
3039 |
|
|
OUTPUT_FLAVOR.
|
3040 |
|
|
* config/tc-mips.c (g_switch_value, g_switch_seen): Define
|
3041 |
|
|
unconditionally.
|
3042 |
|
|
(md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
|
3043 |
|
|
s_abicalls, nopic_need_relax): Check USE_GLOBAL_POINTER_OPT at run
|
3044 |
|
|
time, instead of compiling conditionally on GPOPT.
|
3045 |
|
|
(GPOPT): Don't define.
|
3046 |
|
|
(md_shortopts): Always include -G.
|
3047 |
|
|
(RDATA_SECTION_NAME): Select at run time.
|
3048 |
|
|
(md_begin): Test for ELF format at run time instead of compile time.
|
3049 |
|
|
(mips_ip, s_change_sec): Ditto.
|
3050 |
|
|
(md_parse_option, cases OPTION_CALL_SHARED and OPTION_NON_SHARED):
|
3051 |
|
|
Ditto.
|
3052 |
|
|
(OPTION_CALL_SHARED, OPTION_NON_SHARED, mips_regmask_frag): Define
|
3053 |
|
|
unconditionally.
|
3054 |
|
|
|
3055 |
|
|
Tue May 2 00:17:04 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
3056 |
|
|
|
3057 |
|
|
* Makefile.in (TARG_CPU_DEP_*): New variables.
|
3058 |
|
|
(targ-cpu.o): Depend on one, selected by autoconf substitution,
|
3059 |
|
|
instead of TARG_CPU_DEPENDENTS.
|
3060 |
|
|
* configure.in: Substitute $cpu_type, $obj_format, $atof, and
|
3061 |
|
|
$emulation into Makefile.in.
|
3062 |
|
|
* config/h8300.mt: Deleted.
|
3063 |
|
|
* config/h8500.mt: Deleted.
|
3064 |
|
|
* config/i386coff.mt (TARG_CPU_DEPENDENTS): Deleted.
|
3065 |
|
|
* config/m68k.mt: Deleted.
|
3066 |
|
|
* config/m68kcoff.mt (TARG_CPU_DEPENDENTS): Deleted.
|
3067 |
|
|
* config/m88kcoff.mt (TARG_CPU_DEPENDENTS): Deleted.
|
3068 |
|
|
* config/mips-big.mt (TARG_CPU_DEPENDENTS): Deleted.
|
3069 |
|
|
* config/mips-lit.mt (TARG_CPU_DEPENDENTS): Deleted.
|
3070 |
|
|
* config/sh.mt: Deleted.
|
3071 |
|
|
* config/w65.mt: Deleted.
|
3072 |
|
|
* config/z8k.mt: Deleted.
|
3073 |
|
|
|
3074 |
|
|
* config/te-dpx2.h (dpx2): Deleted unused macro.
|
3075 |
|
|
* config/te-generic.h (TE_GENERIC): Ditto.
|
3076 |
|
|
* config/te-go32.h (TE_GO32): Ditto.
|
3077 |
|
|
* config/te-hp300.h (TE_HP300): Ditto.
|
3078 |
|
|
* config/te-hppa.h (PA, _TE_PA_H): Ditto.
|
3079 |
|
|
* config/te-ic960.h (TE_IC960): Ditto.
|
3080 |
|
|
* config/te-nbsd532.h (TE_NETBSD532): Ditto.
|
3081 |
|
|
* config/te-pc532mach.h (TE_PC532MACH): Ditto.
|
3082 |
|
|
* config/te-ppcnw.h (TE_PPCNW): Ditto.
|
3083 |
|
|
* config/te-sco386.h (scounix): Ditto.
|
3084 |
|
|
|
3085 |
|
|
Mon May 1 15:59:56 1995 Ken Raeburn
|
3086 |
|
|
|
3087 |
|
|
* read.c (s_app_file): If obj_app_file is defined, call it with
|
3088 |
|
|
string as argument. Don't call c_dot_file_symbol or
|
3089 |
|
|
elf_file_symbol.
|
3090 |
|
|
* config/obj-coff.h (obj_app_file): Define as c_dot_file_symbol.
|
3091 |
|
|
* config/obj-elf.h (obj_app_file): Define as elf_file_symbol.
|
3092 |
|
|
|
3093 |
|
|
* as.h (OUTPUT_FLAVOR): Don't define here.
|
3094 |
|
|
* config/obj-aout.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
|
3095 |
|
|
* config/obj-bout.h (OUTPUT_FLAVOR): Define.
|
3096 |
|
|
* config/obj-coff.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
|
3097 |
|
|
* config/obj-ecoff.h (OUTPUT_FLAVOR): Define.
|
3098 |
|
|
* config/obj-elf.h (OUTPUT_FLAVOR): Define.
|
3099 |
|
|
|
3100 |
|
|
Thu Apr 27 20:07:33 1995 Doug Evans
|
3101 |
|
|
|
3102 |
|
|
* Makefile.in (RUNTEST): Use one in srcdir if present.
|
3103 |
|
|
(RUNTESTFLAGS): Define.
|
3104 |
|
|
|
3105 |
|
|
Wed Apr 26 15:54:10 1995 Ken Raeburn
|
3106 |
|
|
|
3107 |
|
|
Support for more portable alignment handling in assembly code,
|
3108 |
|
|
based on patches from Bryan Ford :
|
3109 |
|
|
* read.c (potable): Added balign and p2align, for aligning by
|
3110 |
|
|
bytes or powers of two independent of what ".align" does for a
|
3111 |
|
|
given target.
|
3112 |
|
|
* doc/as.texinfo: Document them.
|
3113 |
|
|
|
3114 |
|
|
Tue Apr 25 11:12:04 1995 Rob Savoye
|
3115 |
|
|
|
3116 |
|
|
* configure, configure.in: Look for m68k-*-vxworks* rather than
|
3117 |
|
|
just m68k-wrs-vxworks so gas can be configured for
|
3118 |
|
|
m68k-vxworks5.1.
|
3119 |
|
|
|
3120 |
|
|
Fri Apr 21 15:19:06 1995 Ken Raeburn
|
3121 |
|
|
|
3122 |
|
|
* config/tc-sh.c (md_apply_fix): If fx_r_type is zero, handle
|
3123 |
|
|
fx_size of 1, and abort on unrecognized sizes.
|
3124 |
|
|
|
3125 |
|
|
* config/tc-m68k.c (m68k_ip): Fix bug in last change regarding
|
3126 |
|
|
non-isvar case.
|
3127 |
|
|
|
3128 |
|
|
Sun Apr 16 01:52:52 1995 Ken Raeburn
|
3129 |
|
|
|
3130 |
|
|
* config/tc-m68k.h (md_relax_table, TC_GENERIC_RELAX_TABLE):
|
3131 |
|
|
Missed this one in 11 Apr changes.
|
3132 |
|
|
|
3133 |
|
|
* config/tc-i386.h (TC_GENERIC_RELAX_TABLE): Fix typo.
|
3134 |
|
|
|
3135 |
|
|
Thu Apr 13 18:18:08 1995 Ken Raeburn
|
3136 |
|
|
|
3137 |
|
|
* config/tc-sh.c (md_convert_frag): Instead of aborting on large
|
3138 |
|
|
displacements, print an error message. Don't invoke the code that
|
3139 |
|
|
followed the abort call until it's been verified.
|
3140 |
|
|
|
3141 |
|
|
* config/tc-m68k.c (md_show_usage): Add 68060 to list. Split cpu
|
3142 |
|
|
list into three lines.
|
3143 |
|
|
|
3144 |
|
|
Thu Apr 13 14:34:36 1995 Torbjorn Granlund
|
3145 |
|
|
|
3146 |
|
|
* config/tc-m68k.c (m68k_init_after_args): Test for m68360.
|
3147 |
|
|
(md_parse_option): Likewise.
|
3148 |
|
|
(md_show_usage): Mention m68360.
|
3149 |
|
|
* config/tc-m68k.h (TARGET_WORD_SIZE): Define.
|
3150 |
|
|
(TARGET_ARCH): Define.
|
3151 |
|
|
|
3152 |
|
|
* expr.c (integer_constant): If TARGET_WORD_SIZE is defined,
|
3153 |
|
|
sign-extend appropriately.
|
3154 |
|
|
|
3155 |
|
|
Thu Apr 13 11:20:17 1995 Michael Meissner
|
3156 |
|
|
|
3157 |
|
|
* config/tc-ppc.c (ppc_elf_validate_fix): Properly use PARAMS to
|
3158 |
|
|
hide prototype from non-ANSI compilers, and don't use ANSI syntax
|
3159 |
|
|
for arguments.
|
3160 |
|
|
|
3161 |
|
|
Wed Apr 12 12:20:19 1995 Stan Shebs
|
3162 |
|
|
|
3163 |
|
|
* mpw-config.in (TDEFINES): Put empty definition into
|
3164 |
|
|
makefile fragment.
|
3165 |
|
|
* mpw-make.in (xmalloc.c.o): Remove.
|
3166 |
|
|
(as.new): Depend on Version.r.
|
3167 |
|
|
(Version.r): Generate from version info.
|
3168 |
|
|
|
3169 |
|
|
* mpw-make.in: Delete references to hex-value.c.
|
3170 |
|
|
|
3171 |
|
|
* mpw-config.in: Add mapping from configs to object file formats,
|
3172 |
|
|
get VERSION from Makefile.in and add to mk.tmp.
|
3173 |
|
|
(mips-idt-ecoff) [TDEFINES]: Add TARGET_BYTES_BIG_ENDIAN.
|
3174 |
|
|
* mpw-make.in (VERSION, gC): Don't define.
|
3175 |
|
|
(ALL_CFLAGS): Remove -d flags.
|
3176 |
|
|
(config.h): Remove definition of MPW, add HAVE_STDARG_H,
|
3177 |
|
|
BFD_ASSEMBLER.
|
3178 |
|
|
|
3179 |
|
|
* mpw-make.in (ALL_CFLAGS): Add definition of HAVE_STDARG_H,
|
3180 |
|
|
include of ::libiberty:.
|
3181 |
|
|
(config.h): Ifdef contents on GAS_VERSION.
|
3182 |
|
|
|
3183 |
|
|
* mpw-make.in (as.c): Compile with C not gC.
|
3184 |
|
|
(config-stamp): Touch correctly.
|
3185 |
|
|
(install-only): New target.
|
3186 |
|
|
(install): Depend on all and install-only.
|
3187 |
|
|
|
3188 |
|
|
* mpw-config.in: Parse target and use to generate forward includes
|
3189 |
|
|
to tc-, obj-, and atof- files, use te-generic.h for emulation.
|
3190 |
|
|
* mpw-make.in (VERSION): Define.
|
3191 |
|
|
(as.c): Compile with GCC.
|
3192 |
|
|
(TARG_OBJECTS, CLIBS): Define.
|
3193 |
|
|
(as.new): Use LDFLAGS, TARG_OBJECTS, CLIBS and EXTRALIBS in link
|
3194 |
|
|
command.
|
3195 |
|
|
(config.h, config-stamp): Build.
|
3196 |
|
|
|
3197 |
|
|
* mpw-make.in (C, CFLAGS): Removed definitions.
|
3198 |
|
|
(ALL_CFLAGS): Define.
|
3199 |
|
|
Set default rule to use {CC} instead of {C}.
|
3200 |
|
|
|
3201 |
|
|
* mpw-make.in (install): Moved here from mpw-build.in.
|
3202 |
|
|
* mpw-build.in: Removed, functionality in mpw-make.in
|
3203 |
|
|
|
3204 |
|
|
* mpw-make.in (CFLAGS): Add more include paths.
|
3205 |
|
|
|
3206 |
|
|
* mpw-config.in (varargs.h, sys/*.h): Don't create when
|
3207 |
|
|
configuring.
|
3208 |
|
|
* mpw-make.in (CFLAGS): Add -w flag.
|
3209 |
|
|
|
3210 |
|
|
* mpw-make.in: Replace 8-bit chars with their names.
|
3211 |
|
|
|
3212 |
|
|
* mpw-config.in: New file, MPW version of configure.in.
|
3213 |
|
|
* mpw-make.in: New file, MPW version of Makefile.in.
|
3214 |
|
|
|
3215 |
|
|
Tue Apr 11 01:42:36 1995 Ken Raeburn
|
3216 |
|
|
|
3217 |
|
|
* configure.in: Require at least autoconf 2.3, because earlier
|
3218 |
|
|
versions lose on some AIX versions.
|
3219 |
|
|
* configure: Regenerated.
|
3220 |
|
|
|
3221 |
|
|
* configure.in: Add m68k-*-elf.
|
3222 |
|
|
* config/tc-m68k.c (comment_chars) [OBJ_ELF]: Include '#'.
|
3223 |
|
|
(md_pseudo_table) [OBJ_ELF]: Ignore "swbeg".
|
3224 |
|
|
(md_begin): Set alt_notend_table['&'], so svr4-style immediate
|
3225 |
|
|
operands are accepted.
|
3226 |
|
|
(md_apply_fix): Argument VALP should point to valueT.
|
3227 |
|
|
(md_convert_frag): Argument SEC should be type segT.
|
3228 |
|
|
(md_shortopts) [OBJ_ELF]: Accept 'Q' with an argument.
|
3229 |
|
|
(md_parse_option): Ignore it.
|
3230 |
|
|
(md_convert_frag_1): Add in frag address for the symbol in the
|
3231 |
|
|
displacement calculation.
|
3232 |
|
|
* config/tc-m68k.h (TARGET_FORMAT) [OBJ_ELF]: Use "elf32-m68k".
|
3233 |
|
|
(TARGET_ARCH): Define.
|
3234 |
|
|
(REGISTER_PREFIX_OPTIONAL) [OBJ_ELF]: Default to 0.
|
3235 |
|
|
(LOCAL_LABEL, FAKE_LABEL_NAME, REGISTER_PREFIX_OPTIONAL): Handle
|
3236 |
|
|
these the same way for OBJ_ELF as for M68KCOFF.
|
3237 |
|
|
|
3238 |
|
|
* gdbinit.in: Add breakpoint in as_abort.
|
3239 |
|
|
|
3240 |
|
|
* write.c (cvt_frag_to_fill): If offset is less than zero,
|
3241 |
|
|
complain about it specifically, instead of reporting an assertion
|
3242 |
|
|
failure.
|
3243 |
|
|
(relax_segment): Complain about .org backwards, then ignore it.
|
3244 |
|
|
Do generic rs_machine_dependent relaxation only if
|
3245 |
|
|
TC_GENERIC_RELAX_TABLE is defined, and use its value for the base
|
3246 |
|
|
of the table.
|
3247 |
|
|
* tc.h (md_relax_table): Delete declaration.
|
3248 |
|
|
* as.h (struct relax_type): Add forward declaration for type.
|
3249 |
|
|
* config/tc-a29k.c: Deleted md_relax_table.
|
3250 |
|
|
* config/tc-{alpha,arm,h8300,hppa,i860,m88k,mips,ppc,sparc,z8k}.c:
|
3251 |
|
|
Ditto.
|
3252 |
|
|
* config/tc-{h8500,i386,i960,ns32k,sh,tahoe,vax,w65}.h: Declare
|
3253 |
|
|
md_relax_table here, and define TC_GENERIC_RELAX_TABLE to expand
|
3254 |
|
|
to md_relax_table.
|
3255 |
|
|
* config/tc-h8500.c (md_relax_table): No longer const.
|
3256 |
|
|
* config/tc-w65.c (md_relax_table): Ditto.
|
3257 |
|
|
* config/tc-sparc.c (md_short_jump_size, md_long_jump_size):
|
3258 |
|
|
Deleted.
|
3259 |
|
|
* doc/internals.texi: Describe TC_GENERIC_RELAX_TABLE and
|
3260 |
|
|
WORKING_DOT_WORD. Mention md_*_jump_size (but description needs
|
3261 |
|
|
to be fleshed out later). Note m68k PCINDEX mode has been checked
|
3262 |
|
|
in.
|
3263 |
|
|
|
3264 |
|
|
Mon Apr 10 15:57:42 1995 Ken Raeburn
|
3265 |
|
|
|
3266 |
|
|
* config/tc-mips.c (nopic_need_relax): New static function, split
|
3267 |
|
|
out from md_estimate_size_before_relax.
|
3268 |
|
|
(md_estimate_size_before_relax): Call it.
|
3269 |
|
|
(load_address, macro): In NO_PIC branches, if nopic_need_relax
|
3270 |
|
|
returns nonzero, don't attempt GP optimization.
|
3271 |
|
|
|
3272 |
|
|
* config/tc-m68k.c (PCINDEX): New macro.
|
3273 |
|
|
(md_relax_table): No longer const. Add PCINDEX entries.
|
3274 |
|
|
(m68k_ip): For AINDX with simple symbol operand, generate a
|
3275 |
|
|
PCINDEX frag if PC is used, or do normal non-AINDX processing for
|
3276 |
|
|
address register.
|
3277 |
|
|
(m68k_init_after_args): If cpu is 68000 or 68010, fix
|
3278 |
|
|
md_relax_table to prevent relaxation of PCINDEX/BYTE mode to
|
3279 |
|
|
SHORT, since they don't support that mode.
|
3280 |
|
|
(md_convert_frag_1, case PCLEA/LONG): Add 4 to offset, not 2. Add
|
3281 |
|
|
support for new PCINDEX modes.
|
3282 |
|
|
(md_estimate_size_before_relax): Process PCINDEX/SZ_UNDEF mode.
|
3283 |
|
|
|
3284 |
|
|
* config/tc-m68k.c (md_convert_frag_1, case PCLEA/SHORT): Add 2 to
|
3285 |
|
|
offset.
|
3286 |
|
|
(m68k_ip, case most punctuation/AOFF): If using PC, call add_frag
|
3287 |
|
|
using PCLEA.
|
3288 |
|
|
|
3289 |
|
|
* config/tc-m68k.c: Don't explicitly include config.h. Deleted a
|
3290 |
|
|
bunch of "#if 0" code and useless comments.
|
3291 |
|
|
(struct m68k_cpu): New type.
|
3292 |
|
|
(archs, n_archs): New variables, with single list of name/enum
|
3293 |
|
|
mapping and aliases.
|
3294 |
|
|
(m68k_ip): Delete the table here.
|
3295 |
|
|
(m68k_init_after_args): Use the new table here instead of
|
3296 |
|
|
open-coding it.
|
3297 |
|
|
(md_parse_option, case 'm'): Ditto.
|
3298 |
|
|
|
3299 |
|
|
* doc/Makefile.in (Makefile): Fix rule for running config.status.
|
3300 |
|
|
(internals.dvi, internals.ps, internals.ps4): New targets, not
|
3301 |
|
|
built by default.
|
3302 |
|
|
|
3303 |
|
|
* doc/internals.texi: Add loud disclaimer. Refill to 79 columns,
|
3304 |
|
|
specify fill-column in local-variables section. Change
|
3305 |
|
|
subheadings to subsections so they can be cross-referenced.
|
3306 |
|
|
Describe broken words, frags, frag chains, generic relaxation,
|
3307 |
|
|
relax table, m68k relaxation, m68k addressing modes, test suite
|
3308 |
|
|
code. Add a few words about various file formats.
|
3309 |
|
|
|
3310 |
|
|
* doc/as.texinfo (m68k): Recommend using `%' with registers as the
|
3311 |
|
|
normal case, instead of the exceptional case.
|
3312 |
|
|
|
3313 |
|
|
Thu Mar 30 14:38:47 1995 H.J. Lu (hjl@nynexst.com)
|
3314 |
|
|
|
3315 |
|
|
* configure.in: Change linux to default to elf. Using
|
3316 |
|
|
i[345]86-*-linuxaout will defaults to a.out.
|
3317 |
|
|
* configure: Rebuild.
|
3318 |
|
|
|
3319 |
|
|
Wed Mar 29 17:16:30 1995 Torbjorn Granlund
|
3320 |
|
|
|
3321 |
|
|
* config/tc-m68k.c (md_apply_fix_2): Cast negative offsets to offsetT
|
3322 |
|
|
(for hosting on 64 bit machines).
|
3323 |
|
|
|
3324 |
|
|
Tue Mar 21 16:53:27 1995 Ian Lance Taylor
|
3325 |
|
|
|
3326 |
|
|
* config/tc-mips.c (md_show_usage): Mention -mips4 and -m4650.
|
3327 |
|
|
|
3328 |
|
|
Fri Mar 17 16:47:13 1995 Stan Shebs
|
3329 |
|
|
|
3330 |
|
|
* write.c (write_object_file): Add PROGRESS macros.
|
3331 |
|
|
|
3332 |
|
|
Fri Mar 17 12:40:34 1995 Jeff Law (law@snake.cs.utah.edu)
|
3333 |
|
|
|
3334 |
|
|
* config/tc-hppa.c (pa_comm): Make sure to always reset the frag
|
3335 |
|
|
and section for common symbols.
|
3336 |
|
|
|
3337 |
|
|
Thu Mar 16 17:26:18 1995 Michael Meissner
|
3338 |
|
|
|
3339 |
|
|
* config/tc-ppc.c (ppc_elf_validate_fix): Allow non PC relative
|
3340 |
|
|
pointers in the .ctors and .dtors section also when using the
|
3341 |
|
|
-mrelocatable option.
|
3342 |
|
|
(md_parse_option): Support -m403 as a PowerPC computer.
|
3343 |
|
|
(md_show_usage): Ditto.
|
3344 |
|
|
|
3345 |
|
|
Wed Mar 15 14:45:42 1995 Ian Lance Taylor
|
3346 |
|
|
|
3347 |
|
|
* ecoff.c (ecoff_build_debug): The cur_scope field of a fil_ptr
|
3348 |
|
|
may be NULL when given strange input. Don't core dump.
|
3349 |
|
|
|
3350 |
|
|
Tue Mar 14 21:36:34 1995 Ian Lance Taylor
|
3351 |
|
|
|
3352 |
|
|
* config/tc-mips.c (load_register): Don't use addiu for dli of an
|
3353 |
|
|
unsigned seemingly negative number. Don't bother shifting a zero
|
3354 |
|
|
value.
|
3355 |
|
|
(mips_ip): For case 'j', if there are more alternatives, and the
|
3356 |
|
|
ISA level is at least 3, don't accept an unsigned seemingly
|
3357 |
|
|
negative number.
|
3358 |
|
|
|
3359 |
|
|
Tue Mar 14 19:16:43 1995 Ken Raeburn
|
3360 |
|
|
|
3361 |
|
|
* read.c (s_app_line): Fix last patch to deal with a line number
|
3362 |
|
|
of 1.
|
3363 |
|
|
|
3364 |
|
|
Tue Mar 14 17:00:57 1995 Michael Meissner
|
3365 |
|
|
|
3366 |
|
|
* config/tc-ppc.c (ppc_elf_validate_fix): Use as_warn_where, not
|
3367 |
|
|
as_bad_where to give a warning instead of an error.
|
3368 |
|
|
|
3369 |
|
|
Mon Mar 13 17:03:46 1995 Pat Rankin (rankin@eql.caltech.edu)
|
3370 |
|
|
|
3371 |
|
|
* config/tc-vax.c (md_assemble): issue a warning if a constant
|
3372 |
|
|
is used as an operand where an immediate value is not allowed.
|
3373 |
|
|
|
3374 |
|
|
Fri Mar 10 19:21:19 1995 Ken Raeburn
|
3375 |
|
|
|
3376 |
|
|
* config/obj-coff.c: Redo my 10 Jan change, but get it right this
|
3377 |
|
|
time. :-)
|
3378 |
|
|
(fixup_segment): If linkrelax is set, just return.
|
3379 |
|
|
(write_object_file): Don't treat h8300 and z8k specially with
|
3380 |
|
|
regard to fixups.
|
3381 |
|
|
* config/tc-h8300.c (md_begin): Set linkrelax.
|
3382 |
|
|
* config/tc-z8k.c (md_begin): Ditto.
|
3383 |
|
|
|
3384 |
|
|
Thu Mar 9 18:01:37 1995 Ian Lance Taylor
|
3385 |
|
|
|
3386 |
|
|
* config/obj-coff.c (coff_header_append): Check return value of
|
3387 |
|
|
bfd_coff_swap_scnhdr_out.
|
3388 |
|
|
|
3389 |
|
|
Thu Mar 9 13:51:30 1995 Doug Evans
|
3390 |
|
|
|
3391 |
|
|
Delete this patch, it breaks the h8300 assembler.
|
3392 |
|
|
Tue Jan 10 13:34:14 1995 Ken Raeburn
|
3393 |
|
|
* config/obj-coff.c (write_object_file): Don't treat h8300 and z8k
|
3394 |
|
|
specially with regard to fixups.
|
3395 |
|
|
|
3396 |
|
|
Thu Mar 9 12:28:18 1995 Michael Meissner
|
3397 |
|
|
|
3398 |
|
|
* config/tc-ppc.c (mrelocatable): Change type to boolean.
|
3399 |
|
|
(md_begin): Set the EF_PPC_RELOCATABLE if -mrelocatable.
|
3400 |
|
|
|
3401 |
|
|
Wed Mar 8 15:39:39 1995 Ian Lance Taylor
|
3402 |
|
|
|
3403 |
|
|
* config/tc-mips.c (md_begin): Check for a cpu string of r8000 or
|
3404 |
|
|
r10000. If mips_isa is 4, set the machine number to 8000.
|
3405 |
|
|
(append_insn): If mips_isa is at least 4, don't generate nops for
|
3406 |
|
|
coprocessor delays. Check INSN_READ_FPR_R when setting
|
3407 |
|
|
mips_cprmask[1].
|
3408 |
|
|
(mips_emit_delays): If mips_isa is at least 4, don't generate nops
|
3409 |
|
|
for coprocessor delays.
|
3410 |
|
|
(mips_ip): Check for INSN_ISA4 instructions. Handle new argument
|
3411 |
|
|
types 'h', 'R', 'N', and 'M'.
|
3412 |
|
|
(md_longopts): Accept "mips4".
|
3413 |
|
|
(md_parse_option): Handle -mips4, and -mcpu=10000 and -mcpu=8000.
|
3414 |
|
|
(s_mipsset): Permit .set mips4.
|
3415 |
|
|
|
3416 |
|
|
Wed Mar 8 09:36:05 1995 Michael Meissner
|
3417 |
|
|
|
3418 |
|
|
* config/tc-ppc.c (ppc_elf_validate_fix): Allow .stab sections to
|
3419 |
|
|
have non PC relative relocations with -mrelocatable.
|
3420 |
|
|
|
3421 |
|
|
Wed Mar 8 02:57:53 1995 Ken Raeburn
|
3422 |
|
|
|
3423 |
|
|
* config/tc-m68k.c (opcode_ptr): Return pointer to const.
|
3424 |
|
|
(md_begin): Make hash table errors fatal. Process opcode aliases
|
3425 |
|
|
after main opcode table.
|
3426 |
|
|
(md_apply_fix_2, case 4): Recode setting of lower_limit to avoid
|
3427 |
|
|
gcc warning.
|
3428 |
|
|
|
3429 |
|
|
Tue Mar 7 16:07:10 1995 Ian Lance Taylor
|
3430 |
|
|
|
3431 |
|
|
* doc/as.texinfo: Add documentation for SPARC V9, from Doug Evans
|
3432 |
|
|
.
|
3433 |
|
|
|
3434 |
|
|
Mon Mar 6 09:58:34 1995 Jeff Law (law@snake.cs.utah.edu)
|
3435 |
|
|
|
3436 |
|
|
* config/tc-hppa.c: Change all occurences of pa-89 with pa-11 to
|
3437 |
|
|
be consistent with current naming conventions.
|
3438 |
|
|
(md_begin): Set a default architecture and machine type.
|
3439 |
|
|
(pa_ip): If the current instruction specifies a newer machine type
|
3440 |
|
|
than the current machine type, then update the current machine
|
3441 |
|
|
type.
|
3442 |
|
|
(need_pa11_opcode): Likewise.
|
3443 |
|
|
|
3444 |
|
|
Sun Mar 5 19:38:09 1995 Jeff Law (law@snake.cs.utah.edu)
|
3445 |
|
|
|
3446 |
|
|
* config/tc-hppa.c (pa_ip, case 'z'): Don't lose argument
|
3447 |
|
|
relocation bits for absolute calls.
|
3448 |
|
|
|
3449 |
|
|
Fri Mar 3 17:41:50 1995 Ken Raeburn
|
3450 |
|
|
|
3451 |
|
|
* config/tc-h8300.* (md_operand): Change empty function to empty
|
3452 |
|
|
macro.
|
3453 |
|
|
|
3454 |
|
|
* config/tc-h8300.c (build_bytes): Make H8/300-H warning message
|
3455 |
|
|
clearer.
|
3456 |
|
|
|
3457 |
|
|
* write.c (write_contents): If bfd_set_section_contents fails,
|
3458 |
|
|
print a message and exit, instead of aborting.
|
3459 |
|
|
|
3460 |
|
|
Fri Mar 3 16:26:19 1995 Michael Meissner
|
3461 |
|
|
|
3462 |
|
|
* tc.h (md_apply_fix3): If MD_APPLY_FIX3 is defined, declare
|
3463 |
|
|
md_apply_fix3.
|
3464 |
|
|
|
3465 |
|
|
* write.c (fixup_segment): If MD_APPLY_FIX3 is defined, call
|
3466 |
|
|
md_apply_fix3 with the normal 2 arguments and the current segment
|
3467 |
|
|
pointer instead of md_apply_fix.
|
3468 |
|
|
|
3469 |
|
|
* config/tc-ppc.h (MD_APPLY_FIX3): Define.
|
3470 |
|
|
|
3471 |
|
|
* config/tc-ppc.c (ppc_elf_validate_fix): Warn if -mrelocatable
|
3472 |
|
|
and a non PC relative relocation that isn't in the .got2 segment
|
3473 |
|
|
was performed.
|
3474 |
|
|
(md_apply_fix3): Rename from md_apply_fix and take segment pointer
|
3475 |
|
|
as third argument. If ELF object format, call ppc_elf_validate_fix
|
3476 |
|
|
for normal relocations.
|
3477 |
|
|
(md_parse_option): If ELF object format, recognize the
|
3478 |
|
|
-mrelocatable switch.
|
3479 |
|
|
|
3480 |
|
|
Thu Mar 2 16:34:44 1995 Ian Lance Taylor
|
3481 |
|
|
|
3482 |
|
|
* config/tc-i386.h (AOUT_MACHTYPE): Define as 100, not 0.
|
3483 |
|
|
|
3484 |
|
|
Tue Feb 28 18:29:27 1995 Ken Raeburn
|
3485 |
|
|
|
3486 |
|
|
* config/tc-arm.c, config/tc-arm.h (md_operand): Replaced empty
|
3487 |
|
|
function in .c file with empty macro in .h file.
|
3488 |
|
|
* config/tc-h8500.*, config/tc-hppa.*, config/tc-i386.*,
|
3489 |
|
|
config/tc-i860.*, config/tc-i960.*, config/tc-ns32k.*,
|
3490 |
|
|
config/tc-ppc.*, config/tc-sh.*, config/tc-sparc.*,
|
3491 |
|
|
config/tc-tahoe.*, config/tc-vax.*, config/tc-w65.*,
|
3492 |
|
|
config/tc-z8k.*: Ditto.
|
3493 |
|
|
* config/tc-m68k.*: Ditto.
|
3494 |
|
|
|
3495 |
|
|
* config/tc-m68k.c (mote_pseudo_table): Removed dots from opcode
|
3496 |
|
|
names.
|
3497 |
|
|
|
3498 |
|
|
* read.c (s_app_line): Ignore non-positive line numbers.
|
3499 |
|
|
|
3500 |
|
|
Tue Feb 28 15:34:14 1995 Ian Lance Taylor
|
3501 |
|
|
|
3502 |
|
|
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
|
3503 |
|
|
GOT relocs either.
|
3504 |
|
|
|
3505 |
|
|
Mon Feb 27 13:03:41 1995 Kung Hsu
|
3506 |
|
|
|
3507 |
|
|
* configure.in: add a29k-*-vxworks configuration.
|
3508 |
|
|
|
3509 |
|
|
Fri Feb 24 14:41:15 1995 Ian Lance Taylor
|
3510 |
|
|
|
3511 |
|
|
* config/tc-mips.c (load_register): Take dbl argument to determine
|
3512 |
|
|
handling of signed 32 bit values in 64 bit modes. Change all
|
3513 |
|
|
callers.
|
3514 |
|
|
(macro): Handle M_DLI and M_DLA_AB.
|
3515 |
|
|
|
3516 |
|
|
Wed Feb 22 23:10:56 1995 Jeff Law (law@snake.cs.utah.edu)
|
3517 |
|
|
|
3518 |
|
|
* config/tc-hppa.c (md_apply_fix): Don't subtract the value of the
|
3519 |
|
|
add symbol if it's a common symbol (the value of a common symbol
|
3520 |
|
|
is its size, not a value in the traditional sense).
|
3521 |
|
|
|
3522 |
|
|
Wed Feb 22 21:12:28 1995 Ian Lance Taylor
|
3523 |
|
|
|
3524 |
|
|
* config/tc-mips.c (append_insn): If listing_prev_line is called,
|
3525 |
|
|
call frag_grow to make sure there is still room for a variant.
|
3526 |
|
|
|
3527 |
|
|
Fri Feb 17 14:50:08 1995 Ian Lance Taylor
|
3528 |
|
|
|
3529 |
|
|
* config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
|
3530 |
|
|
if OBJ_ELF. From gary@Intrepid.COM (Gary Funck).
|
3531 |
|
|
|
3532 |
|
|
* config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
|
3533 |
|
|
weak and common.
|
3534 |
|
|
* config/obj-aout.c (obj_aout_frob_symbol): Likewise.
|
3535 |
|
|
|
3536 |
|
|
Fri Feb 17 12:43:47 1995 Michael Meissner
|
3537 |
|
|
|
3538 |
|
|
* config/tc-ppc.c (md_pseudo_table): Don't redefine byte under
|
3539 |
|
|
ELF.
|
3540 |
|
|
(ppc_elf_cons): Don't support @pcrel any more, since DIFF_EXPR_OK
|
3541 |
|
|
allows the normal expressions to generate it.
|
3542 |
|
|
(md_apply_fix): Convert BFD_RELOC_32 with pcrel bit set into
|
3543 |
|
|
BFD_RELOC_32_PCREL. Abort if either BFD_RELOC_16 or BFD_RELOC_8
|
3544 |
|
|
need PC relative relocations.
|
3545 |
|
|
|
3546 |
|
|
* config/tc-ppc.h (DIFF_EXPR_OK): Define to allow PC relative
|
3547 |
|
|
expressions to be handled.
|
3548 |
|
|
|
3549 |
|
|
Thu Feb 16 14:30:13 1995 Doug Evans
|
3550 |
|
|
|
3551 |
|
|
* expr.c (operand): Move md_operand handling to default case
|
3552 |
|
|
(so it works).
|
3553 |
|
|
|
3554 |
|
|
Wed Feb 15 16:08:47 1995 Jason Molenda
|
3555 |
|
|
|
3556 |
|
|
* config/tc-h8500.c (tc_coff_symbol_emit_hook): Add ignored
|
3557 |
|
|
parameter, to match prototype.
|
3558 |
|
|
|
3559 |
|
|
Wed Feb 15 15:07:00 1995 Michael Meissner
|
3560 |
|
|
|
3561 |
|
|
* config/tc-ppc.c (md_pseudo_table): If ELF, go to ppc_elf_cons
|
3562 |
|
|
instead of cons.
|
3563 |
|
|
(md_show_usage): Show all of the PowerPc options.
|
3564 |
|
|
(ppc_elf_suffix): New function to recognize ELF suffixes that
|
3565 |
|
|
specify a relocation, such as @GOT.
|
3566 |
|
|
(ppc_elf_cons): Replacement for the standard cons function that
|
3567 |
|
|
knows about the ELF suffixes.
|
3568 |
|
|
(ppc_fixup): Add reloc field to hold non-standard relocation.
|
3569 |
|
|
(md_assemble): Handle ELF suffixes like @GOT.
|
3570 |
|
|
(md_create_short_jump): Dummy in case WORKING_DOT_WORD is not
|
3571 |
|
|
defined.
|
3572 |
|
|
(md_create_long_jump): Ditto.
|
3573 |
|
|
(md_short_jump_size): Ditto.
|
3574 |
|
|
(md_long_jump_size): Ditto.
|
3575 |
|
|
(md_apply_fix): Handle BFD_RELOC_32_PCREL, BFD_RELOC_LO16,
|
3576 |
|
|
BFD_RELOC_HI16, BFD_RELOC_HI16_S, BFD_RELOC_PPC_TOC16, and
|
3577 |
|
|
BFD_RELOC_16 relocations. If relocation can not be found, print
|
3578 |
|
|
the decimal value of the relocation.
|
3579 |
|
|
|
3580 |
|
|
Wed Feb 15 11:46:02 1995 Ian Lance Taylor
|
3581 |
|
|
|
3582 |
|
|
* config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
|
3583 |
|
|
DWARF. From gary@Intrepid.COM (Gary Funck).
|
3584 |
|
|
|
3585 |
|
|
* config/tc-mips.c (macro): Handle M_U{L,S}D[_A] (unaligned double
|
3586 |
|
|
loads and stores).
|
3587 |
|
|
|
3588 |
|
|
* config/tc-i386.c (tc_i386_fix_adjustable): Do adjust global
|
3589 |
|
|
symbols if OBJ_AOUT.
|
3590 |
|
|
|
3591 |
|
|
* config/tc-mips.c (macro): Don't use the target register as a
|
3592 |
|
|
base register when building the address for M_L{W,D}{L,R}_AB.
|
3593 |
|
|
|
3594 |
|
|
Mon Feb 13 14:44:32 1995 Ian Lance Taylor
|
3595 |
|
|
|
3596 |
|
|
* config/tc-mips.c (KT0, KT1): Define.
|
3597 |
|
|
(mips_ip): Recognize $kt0 and $kt1 as register names.
|
3598 |
|
|
|
3599 |
|
|
* config/tc-sparc.h (tc_fix_adjustable): Define if OBJ_ELF.
|
3600 |
|
|
* config/tc-sparc.c (md_apply_fix): If OBJ_ELF, subtract out the
|
3601 |
|
|
value of a defined symbol; the value was added in by
|
3602 |
|
|
fixup_segment. This was previously corrected, if the reloc was
|
3603 |
|
|
changed to be against a section symbol, in tc_gen_reloc.
|
3604 |
|
|
|
3605 |
|
|
Fri Feb 10 14:04:04 1995 Ian Lance Taylor
|
3606 |
|
|
|
3607 |
|
|
* config/tc-i386.c (tc_i386_fix_adjustable): Use S_IS_EXTERN
|
3608 |
|
|
rather than !S_IS_LOCAL.
|
3609 |
|
|
|
3610 |
|
|
Thu Feb 9 18:16:34 1995 Ian Lance Taylor
|
3611 |
|
|
|
3612 |
|
|
* config/tc-i386.c (md_assemble): Adjust conditions for changing
|
3613 |
|
|
BFD_RELOC_32 to BFD_RELOC_386_GOTPC to handle a switch in frags.
|
3614 |
|
|
Patch originally from Rob Ryan .
|
3615 |
|
|
|
3616 |
|
|
* config/tc-i386.c: Include subsegs.h.
|
3617 |
|
|
(tc_i386_fix_adjustable): Declare return value.
|
3618 |
|
|
(i386_operand): Don't use an assignment directly as a condition.
|
3619 |
|
|
|
3620 |
|
|
Thu Feb 9 10:37:13 1995 Jeff Law (law@snake.cs.utah.edu)
|
3621 |
|
|
|
3622 |
|
|
* config/tc-hppa.c (md_apply_fix): In some cases subtract the
|
3623 |
|
|
value of the add symbol from valp. Offsets braindamage in the
|
3624 |
|
|
"machine independent" fixup_segment.
|
3625 |
|
|
|
3626 |
|
|
Wed Feb 8 18:51:23 1995 Ken Raeburn
|
3627 |
|
|
|
3628 |
|
|
* messages.c (as_abort): New function.
|
3629 |
|
|
* as.h (as_abort): Declare it.
|
3630 |
|
|
(abort): New macro.
|
3631 |
|
|
|
3632 |
|
|
Thu Jan 19 18:10:05 1995 Pat Rankin (rankin@eql.caltech.edu)
|
3633 |
|
|
|
3634 |
|
|
* config/vms-conf.h (HAVE_UNISTD_H): define it unconditionally.
|
3635 |
|
|
* config-gas.com: test for availability of ; create a
|
3636 |
|
|
rudimentary one if necessary.
|
3637 |
|
|
|
3638 |
|
|
Tue Feb 7 13:34:46 1995 Michael Meissner
|
3639 |
|
|
|
3640 |
|
|
* configure.in: Add powerpc-*-eabi support, which is the same as
|
3641 |
|
|
powerpc-*-elf.
|
3642 |
|
|
(configure): Rebuild with autoconf.
|
3643 |
|
|
|
3644 |
|
|
Mon Feb 6 03:37:00 1995 Ken Raeburn
|
3645 |
|
|
|
3646 |
|
|
Changes from Bryan Ford for i386
|
3647 |
|
|
16-bit and msdos support:
|
3648 |
|
|
* config/tc-i386.c (flag_16bit_code): New variable.
|
3649 |
|
|
(set_16bit_code_flag): New function.
|
3650 |
|
|
(md_pseudo_table): Added entries "code16" and "code32".
|
3651 |
|
|
(md_assemble): Ensure that correct data-size prefixes get emitted,
|
3652 |
|
|
based on the current mode. Ensure that 32-bit addressing will
|
3653 |
|
|
always be done. Move segment-prefix handling code. (Why?) Use
|
3654 |
|
|
16-bit jumps for 16-bit code, 32-bit jumps for 32-bit code.
|
3655 |
|
|
* config/tc-i386.h (MAX_PREFIXES): Bump to 5.
|
3656 |
|
|
(Data16, Data32): Define.
|
3657 |
|
|
* doc/as.texinfo (i386-16bit): New node.
|
3658 |
|
|
* configure.in (i386-*-msdos*): New target, using a.out format.
|
3659 |
|
|
* configure: Regenerated.
|
3660 |
|
|
|
3661 |
|
|
Thu Feb 2 15:21:24 1995 Ken Raeburn
|
3662 |
|
|
|
3663 |
|
|
* config/tc-m68k.c (cpu32_control_regs): New macro.
|
3664 |
|
|
(m68k_init_after_args): Use it, for cpu32 processors.
|
3665 |
|
|
|
3666 |
|
|
Tue Jan 31 17:20:45 1995 Pat Rankin (rankin@eql.caltech.edu)
|
3667 |
|
|
|
3668 |
|
|
* config/obj-vms.c (vms_tir_stack_psect): new routine;
|
3669 |
|
|
(VMS_Set_Data, VMS_Set_Psect, VMS_Store_PIC_Symbol_Reference,
|
3670 |
|
|
VMS_TBT_Routine_Begin, VMS_TBT_Line_PC_Correlation): use it;
|
3671 |
|
|
(VMS_Global_Symbol_Spec, VMS_Procedure_Entry_Pt): treat
|
3672 |
|
|
Psect_Number as `unsigned'.
|
3673 |
|
|
|
3674 |
|
|
Thu Jan 26 17:06:28 1995 Pat Rankin (rankin@eql.caltech.edu)
|
3675 |
|
|
|
3676 |
|
|
* config/obj-vms.c: performance tuning.
|
3677 |
|
|
(VMS_Symbol_type_list): convert from single list head to small
|
3678 |
|
|
array of list heads;
|
3679 |
|
|
(SYMTYP_HASH): new macro for accessing VMS_Symbol_type_list[];
|
3680 |
|
|
(find_symbol, setup_basic_type, VMS_typedef_parse): use it;
|
3681 |
|
|
(VMS_RSYM_Parse): move S_GET_VALUE() inside switch to avoid
|
3682 |
|
|
calling it for uninteresting cases.
|
3683 |
|
|
|
3684 |
|
|
Wed Feb 1 23:52:45 1995 Jeff Law (law@snake.cs.utah.edu)
|
3685 |
|
|
|
3686 |
|
|
* config/tc-hppa.c (md_apply_fix): Go ahead and call
|
3687 |
|
|
hppa_field_adjust to get a new value for R_DATA_ONE_SYMBOL
|
3688 |
|
|
relocations in SOM.
|
3689 |
|
|
(hppa_fix_adjustable): Refine somewhat.
|
3690 |
|
|
|
3691 |
|
|
Fri Jan 27 21:29:53 1995 Michael Meissner
|
3692 |
|
|
|
3693 |
|
|
* config/tc-ppc.h (NO_STRING_ESCAPES): Don't define if we are
|
3694 |
|
|
using ELF.
|
3695 |
|
|
|
3696 |
|
|
Thu Jan 26 19:03:42 1995 Ken Raeburn
|
3697 |
|
|
|
3698 |
|
|
* config/tc-h8300.c (get_specific): Add parens around | inside &.
|
3699 |
|
|
(skip_colonthing): Set L_8 if ":8" is specified.
|
3700 |
|
|
|
3701 |
|
|
Thu Jan 26 18:38:01 1995 Ian Lance Taylor
|
3702 |
|
|
|
3703 |
|
|
* config/tc-ppc.c (md_begin): Permit mfdec to be duplicated on the
|
3704 |
|
|
601. Check that the error return from hash_insert is "exists".
|
3705 |
|
|
|
3706 |
|
|
Thu Jan 26 11:35:33 1995 Michael Meissner
|
3707 |
|
|
|
3708 |
|
|
* configure: Add support for configuring powerpc-*-eabi.
|
3709 |
|
|
|
3710 |
|
|
* config/tc-ppc.c (GOT_symbol): Define if object format is ELF.
|
3711 |
|
|
|
3712 |
|
|
* config/tc-ppc.h (GLOBAL_OFFSET_TABLE_NAME): Define if object
|
3713 |
|
|
format is ELF and not defined to be "_GLOBAL_OFFSET_TABLE_".
|
3714 |
|
|
|
3715 |
|
|
Wed Jan 25 16:23:13 1995 Jim Wilson
|
3716 |
|
|
|
3717 |
|
|
* config/tc-sh.c (little): Add argument IGNORE to avoid
|
3718 |
|
|
compiler warnings.
|
3719 |
|
|
(md_pseudo_table): Add space for consistent formatting.
|
3720 |
|
|
(COND8_RANGE, COND12_RANGE): Delete unused macros.
|
3721 |
|
|
(COND8_F, COND8_M, COND12_F, COND12_M, UNCOND12_F, UNCOND12_M):
|
3722 |
|
|
Correct minimum and maximum branch offsets. Add comments explaining
|
3723 |
|
|
why these numbers are correct.
|
3724 |
|
|
|
3725 |
|
|
Wed Jan 25 15:32:09 1995 David Edelsohn
|
3726 |
|
|
|
3727 |
|
|
* config/tc-ppc.c (md_parse_option): Accept mpwr2 as a synonym for
|
3728 |
|
|
mpwrx; mppc32, m603, and m604 as synonyms for mppc; and mppc64 and
|
3729 |
|
|
m620 for PowerPC64 mode.
|
3730 |
|
|
(ppc_symbol_new_hook): Add T0 as synonym for TC0 suffix.
|
3731 |
|
|
|
3732 |
|
|
Tue Jan 24 16:44:23 1995 Ken Raeburn
|
3733 |
|
|
|
3734 |
|
|
* config/tc-vax.c (vip): Introduce new ptr-to-const local variable
|
3735 |
|
|
for scanning operand string.
|
3736 |
|
|
|
3737 |
|
|
Sat Jan 21 17:50:38 1995 Pat Rankin (rankin@eql.caltech.edu)
|
3738 |
|
|
|
3739 |
|
|
* config/vax-inst.h (struct vop, fields `vop_warn', `vop_error'):
|
3740 |
|
|
make them pointers to const char;
|
3741 |
|
|
(struct vit, field `vit_error'): ditto.
|
3742 |
|
|
* config/atof-vax.c (md_atof): rename local `littlenum_pointer'
|
3743 |
|
|
to `littlenumP' to avoid shadowing file scope variable.
|
3744 |
|
|
* config/tc-vax.c (vip_begin, vip_op_defaults, vip_op_1): make
|
3745 |
|
|
string arguments be pointers to const char;
|
3746 |
|
|
(vip): make `alloperr' const char *;
|
3747 |
|
|
(vip_op): make `err' and `wrn' const char *; rename `access' to
|
3748 |
|
|
`access_mode' to avoid shadowing library function.
|
3749 |
|
|
* config/obj-vms.c (`symbol_name'): make it const char *;
|
3750 |
|
|
(get_struct_name): cast one use of `symbol_name' to char *
|
3751 |
|
|
[caller guarantees that it won't modify the pointer's target];
|
3752 |
|
|
(PUT_COUNTED_STRING): use pointer to const char;
|
3753 |
|
|
(VMS_typedef_parse): make `pnt2' const char *;
|
3754 |
|
|
(Write_VMS_MHD_Records): make `cp' const char *;
|
3755 |
|
|
(VMS_Modify_Psect_Attributes, array `Attributes'): make const,
|
3756 |
|
|
and make field `Name' pointer to const char;
|
3757 |
|
|
|
3758 |
|
|
* as.h (`seg_name[]' declaration): pointers to const char;
|
3759 |
|
|
(struct _pseudo_type, field `poc_name'): pointer to const char.
|
3760 |
|
|
* subsegs.c (`seg_name[]' definition): ditto;
|
3761 |
|
|
* hash.c (hash_ask): rename argument `access' to `access_type'
|
3762 |
|
|
to avoid shadowing library function.
|
3763 |
|
|
* write.c (variable `the_object_file'): move from file scope
|
3764 |
|
|
to block scope within write_object_file(); free it after use;
|
3765 |
|
|
(fixup_segment): conditionally exclude it for OBJ_VMS.
|
3766 |
|
|
(cvt_frag_to_fill): rename argument `headers' to `headersP'
|
3767 |
|
|
to avoid shadowing file scope variable.
|
3768 |
|
|
|
3769 |
|
|
Mon Jan 23 21:42:39 1995 Jeff Law (law@snake.cs.utah.edu)
|
3770 |
|
|
|
3771 |
|
|
* config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
|
3772 |
|
|
miscompilation of "diag" instructions.
|
3773 |
|
|
|
3774 |
|
|
Mon Jan 23 15:51:41 1995 Ken Raeburn
|
3775 |
|
|
|
3776 |
|
|
* configure: Regenerated.
|
3777 |
|
|
|
3778 |
|
|
* config/tc-mips.c: Include libiberty.h.
|
3779 |
|
|
|
3780 |
|
|
Mon Jan 23 14:07:58 1995 Ian Lance Taylor
|
3781 |
|
|
|
3782 |
|
|
* config/tc-sh.h (tc_init_after_args): Don't define.
|
3783 |
|
|
* config/tc-sh.c (md_begin): Remove unused variable table.
|
3784 |
|
|
(md_assemble): Remove unused variable p.
|
3785 |
|
|
(md_convert_frag): Cast fr_address to unsigned long for printf.
|
3786 |
|
|
(md_apply_fix): Use as_warn_where rather than as_warn.
|
3787 |
|
|
(sh_init_after_args): Remove empty function.
|
3788 |
|
|
|
3789 |
|
|
* configure.in (i386-*-gnu*elf*): New target.
|
3790 |
|
|
|
3791 |
|
|
Sat Jan 21 19:02:23 1995 Ian Lance Taylor
|
3792 |
|
|
|
3793 |
|
|
* hash.c (hash_ask): If we find the slot after wrapping around,
|
3794 |
|
|
break out of the loop. Fixes bug in Jan 18 change.
|
3795 |
|
|
|
3796 |
|
|
Fri Jan 20 17:07:31 1995 Ken Raeburn
|
3797 |
|
|
|
3798 |
|
|
* hash.c (hash_code): Undo last change.
|
3799 |
|
|
|
3800 |
|
|
Thu Jan 19 14:49:47 1995 Ken Raeburn
|
3801 |
|
|
|
3802 |
|
|
* config/tc-alpha.c (alpha_ip): Initialize local variables to keep
|
3803 |
|
|
gcc quiet.
|
3804 |
|
|
(gpdisp_hi16_howto): Don't use "const" with reloc_howto_type.
|
3805 |
|
|
(in_range_signed): Add parens around subtraction inside shift.
|
3806 |
|
|
* gasp.c (do_data): Initialize local variable "opname".
|
3807 |
|
|
(istrue): Provide a default case to set "res" and keep "gcc -Wall"
|
3808 |
|
|
quiet.
|
3809 |
|
|
* write.c (write_contents): Deleted unused variable.
|
3810 |
|
|
(print_symbol_value_1): Declare.
|
3811 |
|
|
* hash.c (hash_ask): Delete disabled non-strcmp version of the
|
3812 |
|
|
code, and automatic variables used only in those sections.
|
3813 |
|
|
* write.c (chain_frchains_together_1): Only define local variable
|
3814 |
|
|
"prev_fix" if BFD_ASSEMBLER.
|
3815 |
|
|
* flonum-konst.c (dummy1): Return void.
|
3816 |
|
|
* config/tc-vax.c (md_assemble): Remove two comparisons of
|
3817 |
|
|
unsigned numbers versus zero.
|
3818 |
|
|
* as.h (bcopy): If neither memcpy nor bcopy is defined as a macro,
|
3819 |
|
|
define to use memcpy.
|
3820 |
|
|
|
3821 |
|
|
* config/tc-alpha.c, config/alpha-opcode.h: Revert 2 June changes.
|
3822 |
|
|
Turns out we never got the assignment done after all.
|
3823 |
|
|
|
3824 |
|
|
Cleanup of VAX and VMS code, from Pat Rankin:
|
3825 |
|
|
* config/obj-vms.c: Changed exported function names to lower case.
|
3826 |
|
|
(Changed call sites in write.c.) Declare VMS system function
|
3827 |
|
|
names used, conditional on actually being on VMS. Changed many
|
3828 |
|
|
functions that returned no useful value to now be declared to
|
3829 |
|
|
return void. Removed many unused variables. Supply missing
|
3830 |
|
|
return statements or values. Supply `default' case in switch
|
3831 |
|
|
statements. Ensure local variables get initialized.
|
3832 |
|
|
* config/tc-vax.c: Minor changes to silence "gcc -Wall".
|
3833 |
|
|
* config/obj-vms.h, config/tc-vax.h: Added some missing
|
3834 |
|
|
declarations.
|
3835 |
|
|
|
3836 |
|
|
Wed Jan 18 13:49:26 1995 Ken Raeburn
|
3837 |
|
|
|
3838 |
|
|
* atof-generic.c (flonum_print) [TRACE]: New function.
|
3839 |
|
|
(atof_generic) [TRACE]: Print multiplier before multiplication,
|
3840 |
|
|
and print multiplication result before and after copy.
|
3841 |
|
|
|
3842 |
|
|
* flonum-mult.c (flonum_multip): Avoid sign extension problems
|
3843 |
|
|
around multiplication operation.
|
3844 |
|
|
|
3845 |
|
|
* atof-generic.c (ASSUME_DECIMAL_MARK_IS_DOT): Define.
|
3846 |
|
|
(atof_generic) [ASSUME_DECIMAL_MARK_IS_DOT]: Check for '.'
|
3847 |
|
|
explicitly instead of calling strchr.
|
3848 |
|
|
|
3849 |
|
|
* config/tc-sparc.c (sparc_ip): When scanning successive opcode
|
3850 |
|
|
table entries, check names for pointer equality before doing
|
3851 |
|
|
string comparisons.
|
3852 |
|
|
|
3853 |
|
|
* hash.c (hash_ask): Call strcmp instead of expanding it inline.
|
3854 |
|
|
(hash_code): Replaced with a version from bfd.
|
3855 |
|
|
|
3856 |
|
|
* config/obj-coff.c (write_object_file): If COFF_FLAGS isn't
|
3857 |
|
|
defined, default it to zero.
|
3858 |
|
|
|
3859 |
|
|
Wed Jan 18 12:16:07 1995 Ian Lance Taylor
|
3860 |
|
|
|
3861 |
|
|
* write.c (fix_new_internal): Clear fx_bsr on those targets which
|
3862 |
|
|
use it.
|
3863 |
|
|
|
3864 |
|
|
* expr.c (operand): Parenthesize && within ||.
|
3865 |
|
|
* listing.c (listing_newline): Likewise.
|
3866 |
|
|
(list_symbol_table): Use %lu to print sizeof.
|
3867 |
|
|
* symbols.c: Comment out unused function indent.
|
3868 |
|
|
(print_symbol_value_1): Cast pointer to unsigned long for printf.
|
3869 |
|
|
* config/obj-coff.c (do_relocs_for): Only declare symbol_ptr if it
|
3870 |
|
|
will be used.
|
3871 |
|
|
* config/tc-h8300.c (md_begin): Remove unused variable reg.
|
3872 |
|
|
(get_operand): Declare type of parameter direction. Remove unused
|
3873 |
|
|
variable size.
|
3874 |
|
|
(get_specific): Fix comment to avoid nested comments.
|
3875 |
|
|
(check_operand): Cast X_add_number to unsigned long for printf.
|
3876 |
|
|
(build_bytes): Remove unused local variables output_ptr, part, and
|
3877 |
|
|
high.
|
3878 |
|
|
(build_bytes): Cast X_add_number to unsigned long for printf.
|
3879 |
|
|
(clever_message): Remove unused variable scan.
|
3880 |
|
|
(md_assemble): Remove unused variable i.
|
3881 |
|
|
(tc_coff_sizemachdep): Remove unused function.
|
3882 |
|
|
* config/tc-h8300.h (tc_reloc_mangle): Declare.
|
3883 |
|
|
|
3884 |
|
|
Tue Jan 17 10:58:06 1995 Ian Lance Taylor
|
3885 |
|
|
|
3886 |
|
|
* config/tc-mips.c (mips_4650): New static variable.
|
3887 |
|
|
(md_begin): Handle a cpu string of "4650". If mips_4650 was not
|
3888 |
|
|
initialized, set it to 0.
|
3889 |
|
|
(append_insn): Don't insert nops around HI and LO on a 4650.
|
3890 |
|
|
(mips_emit_delays): Likewise.
|
3891 |
|
|
(mips_ip): Use INSN_ISA mask to check ISA of instruction. Check
|
3892 |
|
|
for INSN_4650.
|
3893 |
|
|
(md_longopts): Add m4650 and no-m4650.
|
3894 |
|
|
(md_parse_option): Handle mips-cpu=4650. Handle -m4650 and
|
3895 |
|
|
-no-m4650.
|
3896 |
|
|
* doc/as.texinfo: Document new MIPS options.
|
3897 |
|
|
|
3898 |
|
|
Sat Jan 14 23:48:13 1995 Steve Chamberlain
|
3899 |
|
|
|
3900 |
|
|
* config/tc-w65.c, config/tc-w65.h, config/w65.mt: Newfiles.
|
3901 |
|
|
* config/obj-coff.h: Cope with w65.
|
3902 |
|
|
* configure, configure.in: Recognize w65.
|
3903 |
|
|
|
3904 |
|
|
Thu Jan 12 17:56:24 1995 Ken Raeburn
|
3905 |
|
|
|
3906 |
|
|
* app.c (do_scrub_next_char) [__GNUC__ && __OPTIMIZE__]: If `get'
|
3907 |
|
|
function is scrub_from_file, call scrub_from_file directly, and
|
3908 |
|
|
get gcc's inlining capability into the act.
|
3909 |
|
|
|
3910 |
|
|
* Makefile.in (VMS_OTHER_OBJS): Add ../libiberty/hex.o.
|
3911 |
|
|
(OBJS): Delete hex-value.o.
|
3912 |
|
|
(REAL_SOURCES): Delete hex-value.c.
|
3913 |
|
|
(hex-value.o): Delete dependencies.
|
3914 |
|
|
* hex-value.c: Deleted.
|
3915 |
|
|
* as.c (main): Call hex_init.
|
3916 |
|
|
* expr.c, config/tc-mips.c: Include libiberty.h. Replace
|
3917 |
|
|
hex_value array references with hex_* macros.
|
3918 |
|
|
|
3919 |
|
|
Wed Jan 11 17:51:38 1995 Ken Raeburn
|
3920 |
|
|
|
3921 |
|
|
* config/tc-h8300.h (COFF_FLAGS): Don't define.
|
3922 |
|
|
* config/tc-h8500.h (COFF_FLAGS), config/tc-sh.h (COFF_FLAGS),
|
3923 |
|
|
config/tc-z8k.h (COFF_FLAGS): Ditto.
|
3924 |
|
|
|
3925 |
|
|
* config/obj-coff.c (KEEP_RELOC_INFO): Make sure it's always
|
3926 |
|
|
defined.
|
3927 |
|
|
|
3928 |
|
|
* config/tc-m68k.c (m68k_ip, cases AOFF and AINDEX): Don't
|
3929 |
|
|
generate 68020 addressing modes for a 68000 processor.
|
3930 |
|
|
(md_estimate_size_before_relax, cases PCREL and PCLEA): Ditto.
|
3931 |
|
|
|
3932 |
|
|
Tue Jan 10 13:34:14 1995 Ken Raeburn
|
3933 |
|
|
|
3934 |
|
|
* config/obj-coff.c (write_object_file): Don't treat h8300 and z8k
|
3935 |
|
|
specially with regard to fixups.
|
3936 |
|
|
|
3937 |
|
|
Mon Jan 9 16:22:28 1995 Ken Raeburn
|
3938 |
|
|
|
3939 |
|
|
* config/tc-mips.c (RELAX_RELOC1, RELAX_RELOC2): Cast values to
|
3940 |
|
|
bfd_vma before subtracting.
|
3941 |
|
|
|
3942 |
|
|
* config/obj-coff.c (size_section): Handle rs_space like rs_fill,
|
3943 |
|
|
but make sure fr_symbol is null.
|
3944 |
|
|
(fill_section): Ditto.
|
3945 |
|
|
|
3946 |
|
|
Sun Jan 8 16:14:19 1995 Ian Lance Taylor
|
3947 |
|
|
|
3948 |
|
|
* config/tc-mips.c (mips_ip): Fix handling of floating point
|
3949 |
|
|
values when GPOPT is not defined.
|
3950 |
|
|
|
3951 |
|
|
Fri Jan 6 16:59:41 1995 Ken Raeburn
|
3952 |
|
|
|
3953 |
|
|
* gasp.c: Include string.h. Put config.h before other includes.
|
3954 |
|
|
|
3955 |
|
|
* config/tc-alpha.c (alpha_ip): Delay calls to emit_add64 until
|
3956 |
|
|
after any remaining operands are also known to match.
|
3957 |
|
|
|
3958 |
|
|
Fri Dec 30 18:21:41 1994 Ken Raeburn
|
3959 |
|
|
|
3960 |
|
|
* listing.c (list_symbol_table): Build a format string based on
|
3961 |
|
|
the size of the value to be printed, as long as "unsigned long" is
|
3962 |
|
|
at least as wide, after handling the special case of 4-byte
|
3963 |
|
|
values.
|
3964 |
|
|
|
3965 |
|
|
* Makefile.in (dependencies): Make $(OBJS) depend on as.h and
|
3966 |
|
|
everything it includes. Delete those files from per-file
|
3967 |
|
|
dependencies.
|
3968 |
|
|
|
3969 |
|
|
* as.h (relax_substateT): Now defined to be unsigned int.
|
3970 |
|
|
(relax_stateT): Separate typedef from enum definition.
|
3971 |
|
|
(enum _relax_state): Reordered for better punctuation. Added new
|
3972 |
|
|
values rs_align_code and rs_space.
|
3973 |
|
|
(lineno, struct lineno_struct): Unused, deleted.
|
3974 |
|
|
|
3975 |
|
|
* as.h: No longer include assert.h.
|
3976 |
|
|
(as_assert): Declare.
|
3977 |
|
|
(assert): New definition, calls as_assert longer needed.
|
3978 |
|
|
(__PRETTY_FUNCTION__): Provide default for older versions of gcc.
|
3979 |
|
|
* messages.c (as_assert): New function.
|
3980 |
|
|
* gdbinit.in: Put a breakpoint there.
|
3981 |
|
|
|
3982 |
|
|
* read.c (s_space): Rewrite to handle general expressions.
|
3983 |
|
|
Generate rs_space frags for non-constant values.
|
3984 |
|
|
* write.c (cvt_frag_to_fill): Treat rs_align_code and rs_space
|
3985 |
|
|
like rs_align and rs_org. Verify that fr_offset is non-negative,
|
3986 |
|
|
and force frag type to rs_fill only after assertion checks.
|
3987 |
|
|
(relax_segment): Treat rs_align_code like rs_align. Treat
|
3988 |
|
|
rs_space like rs_org in the first switch; in the second, force the
|
3989 |
|
|
operand to a constant, and use it for the growth size.
|
3990 |
|
|
|
3991 |
|
|
Wed Dec 28 20:57:37 1994 Jeff Law (law@snake.cs.utah.edu)
|
3992 |
|
|
|
3993 |
|
|
* config/tc-hppa.c (pa_subspace): For sections with the ZERO
|
3994 |
|
|
attribute, set the "bss" field in the appropriate seginfo structure.
|
3995 |
|
|
|
3996 |
|
|
Wed Dec 28 15:01:01 1994 Ken Raeburn
|
3997 |
|
|
|
3998 |
|
|
* subsegs.h: Include obstack.h.
|
3999 |
|
|
|
4000 |
|
|
Tue Dec 27 18:16:04 1994 Ken Raeburn
|
4001 |
|
|
|
4002 |
|
|
* as.h (struct frag): Enable align* components now.
|
4003 |
|
|
|
4004 |
|
|
Tue Dec 20 14:56:31 1994 Ken Raeburn
|
4005 |
|
|
|
4006 |
|
|
* frags.c (frag_init): Call obstack_begin on `frags'.
|
4007 |
|
|
* subsegs.c (subsegs_begin): Don't do it here.
|
4008 |
|
|
* as.c (main): Call frag_init before subsegs_begin.
|
4009 |
|
|
|
4010 |
|
|
* frags.c (frag_append_1_char): New function.
|
4011 |
|
|
* frags.h (frag_append_1_char): Declare it.
|
4012 |
|
|
(FRAG_APPEND_1_CHAR): Call it. Old definition is commented out
|
4013 |
|
|
for now.
|
4014 |
|
|
|
4015 |
|
|
* as.h (struct frag): Added (but commented out) new fields for
|
4016 |
|
|
tracking current alignment.
|
4017 |
|
|
(frag_now_fix): Changed macro to function declaration.
|
4018 |
|
|
* frags.c (frag_now_fix): Define function here.
|
4019 |
|
|
(frag_new): Use it instead of accessing `frags' directly.
|
4020 |
|
|
* frags.h (frags): Change comment to indicate it shouldn't be
|
4021 |
|
|
accessed directly.
|
4022 |
|
|
* subsegs.h (struct frchain): New field frch_obstack, intended to
|
4023 |
|
|
eventually replace global `frags' obstack.
|
4024 |
|
|
* subsegs.c (subseg_set_rest): Use frag_now_fix instead of
|
4025 |
|
|
accessing `frags' directly. Initialize fields of new frchainS
|
4026 |
|
|
explicitly instead of with memset.
|
4027 |
|
|
* config/obj-coff.c (obj_coff_ln) [!BFD_ASSEMBLER]: Use
|
4028 |
|
|
frag_now_fix.
|
4029 |
|
|
* config/tc-mips.c (s_loc), config/obj-vms.c
|
4030 |
|
|
(vms_resolve_symbol_redef), symbols.c (colon): Likewise.
|
4031 |
|
|
|
4032 |
|
|
* config/tc-m68k.c (md_apply_fix_2): Use offsetT and addressT
|
4033 |
|
|
instead of long and unsigned long.
|
4034 |
|
|
(md_apply_fix): Cast value before passing it.
|
4035 |
|
|
|
4036 |
|
|
* config/obj-aout.h, config/obj-coff.c, config/obj-elf.h,
|
4037 |
|
|
config/obj-som.h, config/tc-h8500.c, config/tc-hppa.c,
|
4038 |
|
|
config/tc-hppa.h, config/tc-sh.c, config/tc-z8k.c: Don't rely on
|
4039 |
|
|
use of ".." when including header files.
|
4040 |
|
|
|
4041 |
|
|
* config/obj-coff.c (fixup_segment): Reformat condition in an `if'
|
4042 |
|
|
statement.
|
4043 |
|
|
|
4044 |
|
|
* Makefile.in (SUBDIR_INCLUDES): Deleted.
|
4045 |
|
|
|
4046 |
|
|
Tue Dec 20 13:40:36 1994 Ian Lance Taylor
|
4047 |
|
|
|
4048 |
|
|
* config/obj-coff.h: Include bfd/libcoff.h, not libcoff.h.
|
4049 |
|
|
|
4050 |
|
|
Mon Dec 19 16:53:36 1994 Ian Lance Taylor
|
4051 |
|
|
|
4052 |
|
|
* config/tc-mips.c (load_register): Rewrite to handle O_big 64 bit
|
4053 |
|
|
constants.
|
4054 |
|
|
(mips_ip): Accept O_big constants in case 'I'. Change case
|
4055 |
|
|
'i'/'j' to treat an O_big constant as an out of range value.
|
4056 |
|
|
|
4057 |
|
|
Mon Dec 19 14:15:07 1994 Jeff Law (law@snake.cs.utah.edu)
|
4058 |
|
|
|
4059 |
|
|
* config/tc-hppa.c (pa_subspace): Make sure SEC_HAS_CONTENTS is
|
4060 |
|
|
clear for a section with the "ZERO" attribute.
|
4061 |
|
|
|
4062 |
|
|
* Reduce useless symbols for ELF in an attempt to make smaller
|
4063 |
|
|
objects and speed up the linker.
|
4064 |
|
|
* config/tc-hppa.c (struct call_info): Replace end_symbol field
|
4065 |
|
|
with a size field.
|
4066 |
|
|
(hppa_elf_mark_end_function): Delete unneeded function.
|
4067 |
|
|
(pa_build_unwind_subspace): For the 2nd unwind relocation, use
|
4068 |
|
|
the function symbol + function size instead of a special symbol
|
4069 |
|
|
for the end of the function.
|
4070 |
|
|
(process_exit): Compute the function size here. Don't call
|
4071 |
|
|
hppa_elf_mark_end_of_function anymore.
|
4072 |
|
|
(pa_procend): Likewise.
|
4073 |
|
|
(hppa_fix_adjustable): Only reject 32bit relocations for SOM.
|
4074 |
|
|
(elf_hppa_final_processing): Simplify.
|
4075 |
|
|
|
4076 |
|
|
Mon Dec 19 13:49:07 1994 Ken Raeburn
|
4077 |
|
|
|
4078 |
|
|
* configure.in: Recognize mips-sony-bsd and mips-dec-bsd, but
|
4079 |
|
|
reject other vendors until we can be sure we're consistent with
|
4080 |
|
|
bfd.
|
4081 |
|
|
|
4082 |
|
|
* config/obj-vms.c (Create_VMS_Object_File): Instead of formatting
|
4083 |
|
|
a buffer to pass to `error', just call `as_fatal' directly.
|
4084 |
|
|
(VMS_Psect_Spec): Ditto.
|
4085 |
|
|
(VMS_TBT_Module_Begin, VMS_TBT_Source_File, gen1,
|
4086 |
|
|
VMS_typedef_parse, VMS_LSYM_Parse, VMS_Emit_Globalvalues): Call
|
4087 |
|
|
as_tsktsk instead of printf.
|
4088 |
|
|
(VMS_TBT_Module_Begin, VMS_TBT_Line_PC_Correlation,
|
4089 |
|
|
VMS_TBT_Source_File, VMS_TBT_Source_Lines,
|
4090 |
|
|
VMS_Store_Repeated_Data, VMS_Check_For_Main): Use explicit
|
4091 |
|
|
integers rather than sizeof expressions using basic integer types,
|
4092 |
|
|
in case host and target aren't the same. Use memcpy or COPY_*
|
4093 |
|
|
macros instead of possibly unaligned word or longword assignment.
|
4094 |
|
|
|
4095 |
|
|
* config/obj-vms.h (OBJ_SYMFIELD_TYPE): New macro.
|
4096 |
|
|
* config/obj-vms.c (VMS_Store_PIC_Symbol_Reference,
|
4097 |
|
|
VMS_Check_For_Main, VMS_write_object_file): Use sy_obj instead of
|
4098 |
|
|
forcing sy_number to hold a pointer.
|
4099 |
|
|
|
4100 |
|
|
Fri Dec 16 14:40:16 1994 Ken Raeburn
|
4101 |
|
|
|
4102 |
|
|
* config/tc-sh.c (md_begin): Don't fill in md_relax_table here.
|
4103 |
|
|
(md_relax_table): Use static initialization.
|
4104 |
|
|
|
4105 |
|
|
* config/tc-h8300.c (parse_exp, get_operands, clever_message,
|
4106 |
|
|
md_assemble, tc_crawl_symbol_chain, md_undefined_symbol,
|
4107 |
|
|
tc_headers_hook, md_operand, md_number_to_chars): Don't use DEFUN.
|
4108 |
|
|
|
4109 |
|
|
* Makefile.in (CHECKFLAGS): Don't pass AS_FOR_TARGET,
|
4110 |
|
|
CC_FOR_TARGET, OBJDUMP_FOR_TARGET, NM_FOR_TARGET; they're not
|
4111 |
|
|
used.
|
4112 |
|
|
(AS_FOR_TARGET, CC_FOR_TARGET, OBJDUMP, OBJDUMP_FOR_TARGET, NM,
|
4113 |
|
|
NM_FOR_TARGET): Don't define.
|
4114 |
|
|
(VMS_OTHER_OBJS): Add xmalloc.o and xexit.o from libiberty.
|
4115 |
|
|
(tooldir): Use exec_prefix, not libdir.
|
4116 |
|
|
|
4117 |
|
|
Fri Dec 16 11:07:10 1994 Stan Shebs
|
4118 |
|
|
|
4119 |
|
|
* config/obj-coff.h: Include libcoff.h, not ../bfd/libcoff.h.
|
4120 |
|
|
|
4121 |
|
|
* as.h: Include progress.h.
|
4122 |
|
|
* as.c (main): Call START_PROGRESS and END_PROGRESS.
|
4123 |
|
|
(main, perform_an_assembly_pass): Call PROGRESS.
|
4124 |
|
|
|
4125 |
|
|
Fri Dec 16 00:46:08 1994 Ian Lance Taylor
|
4126 |
|
|
|
4127 |
|
|
* write.c (adjust_reloc_syms): Use bfd_is_und_section and
|
4128 |
|
|
bfd_is_abs_section rather than comparing against &bfd_und_section
|
4129 |
|
|
and &bfd_abs_section.
|
4130 |
|
|
|
4131 |
|
|
Thu Dec 15 15:27:14 1994 Jim Wilson
|
4132 |
|
|
|
4133 |
|
|
* config/tc-sh.c (md_begin): Use a local variable when
|
4134 |
|
|
initializing md_relax_table to avoid errors about modifying a
|
4135 |
|
|
const data structure.
|
4136 |
|
|
|
4137 |
|
|
Tue Dec 13 15:42:27 1994 Ian Lance Taylor
|
4138 |
|
|
|
4139 |
|
|
* config/tc-ppc.c (tc_gen_reloc): Remove OBJ_ELF hack which
|
4140 |
|
|
appears to no longer be needed.
|
4141 |
|
|
|
4142 |
|
|
Tue Dec 13 08:04:15 1994 Ian Lance Taylor
|
4143 |
|
|
|
4144 |
|
|
* config/tc-mips.c (macro_build): Accept BFD_RELOC_PCREL* without
|
4145 |
|
|
requiring that the X_op_symbol be in the text_section.
|
4146 |
|
|
(macro): Change the test for a legal expression difference to
|
4147 |
|
|
correspond to changes in pseudo_set in read.c.
|
4148 |
|
|
|
4149 |
|
|
Fri Dec 9 21:04:17 1994 Ken Raeburn
|
4150 |
|
|
|
4151 |
|
|
* write.c (write_relocs) [RELOC_EXPANSION_POSSIBLE]: Use
|
4152 |
|
|
bfd_install_relocation.
|
4153 |
|
|
|
4154 |
|
|
* ecoff.c (ecoff_set_gp_prolog_size): If there is no current
|
4155 |
|
|
routine, just return.
|
4156 |
|
|
|
4157 |
|
|
* config/tc-alpha.c (alpha_ip, case 'B', subcase 'c'): Use opcode
|
4158 |
|
|
value from pattern instead of assuming jsr.
|
4159 |
|
|
* config/alpha-opcode.h (jmp): Add a "1,Bc" form.
|
4160 |
|
|
|
4161 |
|
|
Thu Dec 8 17:48:25 1994 Ken Raeburn
|
4162 |
|
|
|
4163 |
|
|
* Makefile.in (NM_FOR_TARGET): Use ../binutils/nm.new, not just
|
4164 |
|
|
plain nm.
|
4165 |
|
|
|
4166 |
|
|
* configure.in (ns32k-pc532-mach*): Select correct emulation.
|
4167 |
|
|
(mips-sony-bsd*): Use ecoff.
|
4168 |
|
|
(mips-*-gnu*): New target, using aout format, from Roland McGrath.
|
4169 |
|
|
* configure: Regenerated.
|
4170 |
|
|
|
4171 |
|
|
Tue Nov 29 13:58:10 1994 Ken Raeburn
|
4172 |
|
|
|
4173 |
|
|
Use libiberty version of xmalloc:
|
4174 |
|
|
* Makefile.in (REAL_SOURCES): Delete xmalloc.c.
|
4175 |
|
|
(OBJS): Delete xmalloc.o.
|
4176 |
|
|
(xmalloc.o): Delete dependencies.
|
4177 |
|
|
* as.c (main): Call xmalloc_set_program_name once program name is
|
4178 |
|
|
known.
|
4179 |
|
|
|
4180 |
|
|
* config/tc-alpha.c (in_range_signed, in_range_unsigned): New
|
4181 |
|
|
routines, split from in_range.
|
4182 |
|
|
(in_range): Deleted. All calls changed to in_range_*signed.
|
4183 |
|
|
(create_lita_section): Macro deleted. Single use expanded in
|
4184 |
|
|
place.
|
4185 |
|
|
(alpha_ip): Handle `t' and `8' operand types.
|
4186 |
|
|
(md_apply_fix): Handle BFD_RELOC_12_PCREL. Print name of
|
4187 |
|
|
unhandled relocation types.
|
4188 |
|
|
* config/alpha-opcode.h: Added HALT and DRAINA. Disabled MOVI,
|
4189 |
|
|
since it doesn't work, and isn't supported by the native
|
4190 |
|
|
assembler.
|
4191 |
|
|
|
4192 |
|
|
* input-scrub.c: Change wording of a comment to avoid interference
|
4193 |
|
|
with Cygnus source-control tools.
|
4194 |
|
|
|
4195 |
|
|
* as.h (errno) [NEED_DECLARATION_ERRNO]: Declare.
|
4196 |
|
|
|
4197 |
|
|
* config/tc-m68k.c (init_table): List buscr and pcr control
|
4198 |
|
|
registers.
|
4199 |
|
|
(m68k_ip, case 'J'): Handle them.
|
4200 |
|
|
|
4201 |
|
|
Delete signal handler code. It's been disabled since March 1993
|
4202 |
|
|
without complaints.
|
4203 |
|
|
* as.c: Don't include signal.h.
|
4204 |
|
|
(got_sig): Unused function deleted, declaration deleted.
|
4205 |
|
|
(SIGTY): Macro deleted.
|
4206 |
|
|
(main): Deleted disabled code for establishing signal handler.
|
4207 |
|
|
|
4208 |
|
|
Mon Nov 28 11:37:35 1994 Doug Evans
|
4209 |
|
|
|
4210 |
|
|
* app.c (do_scrub_next_char): Insert missing newline at end of file
|
4211 |
|
|
like warning says we do.
|
4212 |
|
|
|
4213 |
|
|
Mon Nov 28 00:11:15 1994 Jeff Law (law@snake.cs.utah.edu)
|
4214 |
|
|
|
4215 |
|
|
* config/tc-hppa.h (pa_check_eof): Declare new extern function.
|
4216 |
|
|
(tc_frob_file): Define to call pa_check_eof.
|
4217 |
|
|
|
4218 |
|
|
* config/tc-hppa.c (pa_check_current_space_and_subspace): New
|
4219 |
|
|
function to verify the current space and subspace are reasonable.
|
4220 |
|
|
Call for the appropriate pseudo-ops and before instruction parsing.
|
4221 |
|
|
(pa_check_eof): New function to verify enter/exit and proc/procend
|
4222 |
|
|
pairs match at EOF.
|
4223 |
|
|
(pa_code): Simplify.
|
4224 |
|
|
|
4225 |
|
|
* config/obj-som.c: Delete #if 0 code.
|
4226 |
|
|
|
4227 |
|
|
Wed Nov 23 19:36:09 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
4228 |
|
|
|
4229 |
|
|
* config/obj-coff.h (TARGET_FORMAT): Select between coff-shl and
|
4230 |
|
|
coff-sh.
|
4231 |
|
|
* config/sh.mh (TARG_CPU_DEPENDENTS): Get it right.
|
4232 |
|
|
* config/tc-sh.c (little): New function.
|
4233 |
|
|
(md_parse_option): Notice new option.
|
4234 |
|
|
(build_relax, build_Mytes, md_atof, md_convert_frag, md_apply_fix):
|
4235 |
|
|
Cope with little endian data.
|
4236 |
|
|
* config/tc-sh.h (COFF_MAGIC, LISTING_HEADER): Endian dependent.
|
4237 |
|
|
|
4238 |
|
|
Wed Nov 23 10:54:38 1994 Jeff Law (law@snake.cs.utah.edu)
|
4239 |
|
|
|
4240 |
|
|
* config/tc-hppa.c (tc_gen_reloc, ELF variant): Revert last
|
4241 |
|
|
change. The real bug was in bfd/elfcode.h and has been fixed.
|
4242 |
|
|
|
4243 |
|
|
Tue Nov 22 23:31:20 1994 Jeff Law (law@snake.cs.utah.edu)
|
4244 |
|
|
|
4245 |
|
|
* config/tc-hppa.c (tc_gen_reloc, ELF variant): Add section->vma
|
4246 |
|
|
to the relocation's offset.
|
4247 |
|
|
|
4248 |
|
|
Tue Nov 22 14:37:58 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
4249 |
|
|
|
4250 |
|
|
* Makefile.in (INSTALL_XFORM): Fix typo.
|
4251 |
|
|
|
4252 |
|
|
Tue Nov 22 10:23:25 1994 J.T. Conklin
|
4253 |
|
|
|
4254 |
|
|
* config/tc-alpha.c (s_alpha_set): Ignore the .set (no)move and
|
4255 |
|
|
.set (no)volatile directives.
|
4256 |
|
|
|
4257 |
|
|
Tue Nov 15 21:44:13 1994 Jeff Law (law@snake.cs.utah.edu)
|
4258 |
|
|
|
4259 |
|
|
* config/tc-hppa.c (pa_subspace): Make sure to always reset
|
4260 |
|
|
current_subspace.
|
4261 |
|
|
(pa_text, pa_data): Likewise.
|
4262 |
|
|
|
4263 |
|
|
* config/tc-hppa.c (pa_align): New function. Aligns the current
|
4264 |
|
|
offset within the current subspace along with updating the
|
4265 |
|
|
alignment of the subspace itself.
|
4266 |
|
|
(pa_subspace): Default alignment to one byte rathern than zero
|
4267 |
|
|
bytes to avoid setting alignment to log2(0).
|
4268 |
|
|
(md_pseudo_table): Use pa_alignment for .align.
|
4269 |
|
|
|
4270 |
|
|
Tue Nov 15 15:24:45 1994 Ken Raeburn
|
4271 |
|
|
|
4272 |
|
|
* messages.c (as_fatal): Always put a space after "fatal error:"
|
4273 |
|
|
when printing message.
|
4274 |
|
|
|
4275 |
|
|
Tue Nov 15 11:10:43 1994 Jeff Law (law@snake.cs.utah.edu)
|
4276 |
|
|
|
4277 |
|
|
* config/tc-hppa.h (obj_frob_symbol): Delete.
|
4278 |
|
|
(tc_frob_symbol): Make definition conditional on OBJ_SOM or
|
4279 |
|
|
OBJ_ELF. For ELF subtract out symbol->section->vma for non common
|
4280 |
|
|
symbols.
|
4281 |
|
|
|
4282 |
|
|
Wed Nov 9 14:53:03 1994 Ken Raeburn
|
4283 |
|
|
|
4284 |
|
|
* config/te-delta.h: New file, derived from te-sysv32.h.
|
4285 |
|
|
|
4286 |
|
|
Wed Nov 9 11:52:44 1994 Ian Lance Taylor (ian@cygnus.com)
|
4287 |
|
|
|
4288 |
|
|
* config/tc-ppc.c (ppc_bf): Always set coff_line_base.
|
4289 |
|
|
|
4290 |
|
|
Mon Nov 7 01:58:49 1994 Ken Raeburn
|
4291 |
|
|
|
4292 |
|
|
* Makefile.in (VERSION): Bump to 2.5.3.
|
4293 |
|
|
|
4294 |
|
|
* configure.in: Compare generic cpu name against "sparc", not
|
4295 |
|
|
"sparc*", since sparc variants should be changed to "sparc".
|
4296 |
|
|
* configure: Regenerated with autoconf 2.1.
|
4297 |
|
|
|
4298 |
|
|
* config/tc-a29k.c (octal, toHex): Variables deleted.
|
4299 |
|
|
(isoctal): Macro deleted.
|
4300 |
|
|
(md_begin): Don't initialize them.
|
4301 |
|
|
(machine_ip, case 'P'/'A'): For absolute operand, generate an
|
4302 |
|
|
error message if it's out of range.
|
4303 |
|
|
(md_apply_fix, case RELOC_JUMPTARG): Check range for PC-relative
|
4304 |
|
|
jumps.
|
4305 |
|
|
(md_apply_fix): Delete code inside "#if 0".
|
4306 |
|
|
|
4307 |
|
|
Thu Nov 3 20:20:40 1994 Ken Raeburn
|
4308 |
|
|
|
4309 |
|
|
* config/go32.mh: Unused file deleted.
|
4310 |
|
|
|
4311 |
|
|
* read.c (get_absolute_expression): Indicate that the error may
|
4312 |
|
|
merely be that the expression can't currently be reduced.
|
4313 |
|
|
|
4314 |
|
|
Thu Nov 3 16:09:59 1994 J.T. Conklin (jtc@rtl.cygnus.com)
|
4315 |
|
|
|
4316 |
|
|
* config/tc-m68k.h (TARGET_FORMAT): If TE_NetBSD define as
|
4317 |
|
|
"a.out-m68k-netbsd".
|
4318 |
|
|
* config/tc-sparc.h (TARGET_FORMAT): If TE_NetBSD define as
|
4319 |
|
|
"a.out-sparc-netbsd".
|
4320 |
|
|
|
4321 |
|
|
* config/te-nbsd.h: New file, NetBSD target emulation
|
4322 |
|
|
* config/te-netbsd.h: Removed.
|
4323 |
|
|
* configure.in (i[345]86-*-netbsd*,m68*-*-netbsd*,sparc*-*-netbsd*):
|
4324 |
|
|
Set bfd_gas. Use nbsd emulation.
|
4325 |
|
|
|
4326 |
|
|
Thu Nov 3 17:44:47 1994 Ken Raeburn
|
4327 |
|
|
|
4328 |
|
|
Changes from net 2.5.2 release branch:
|
4329 |
|
|
|
4330 |
|
|
* configure.in: Put AC_DEFINE(sparcv9) on its own line, so that
|
4331 |
|
|
the shell variable settings associated with it are permanent. For
|
4332 |
|
|
CPUs requiring bfd_gas=yes, select it based on CPU only, not
|
4333 |
|
|
individual target names. Handle m68k-hp-hpux*, not just -hpux.
|
4334 |
|
|
|
4335 |
|
|
* config/tc-z8k.c (tc_coff_symbol_emit_hook): Add dummy argument
|
4336 |
|
|
to match prototype in obj-coff.h.
|
4337 |
|
|
|
4338 |
|
|
* configure.in: Skip tests for defining WANT_FOPEN_BIN and
|
4339 |
|
|
IBM_COMPILER_SUX.
|
4340 |
|
|
* acconfig.h: Deleted them.
|
4341 |
|
|
* configure, conf.in: Rebuild with autoconf 2.0.
|
4342 |
|
|
* config/go32.cfg, config/vms-conf.h: Updated.
|
4343 |
|
|
|
4344 |
|
|
* config/tc-m68k.c (md_apply_fix_2, md_convert_frag_1): Always use
|
4345 |
|
|
IBM_COMPILER_SUX version of code, with comments indicating why.
|
4346 |
|
|
|
4347 |
|
|
* listing.c (file_info): Use text mode when opening file for read.
|
4348 |
|
|
Use "r" directly, no macro.
|
4349 |
|
|
* input-file.c (input_file_open): Don't use FOPEN_RT, just use
|
4350 |
|
|
"r".
|
4351 |
|
|
* read.c (s_include): Ditto.
|
4352 |
|
|
* output-file.c (output_file_create): Try both "wb" and "w", don't
|
4353 |
|
|
bother with FOPEN_* macros.
|
4354 |
|
|
* as.h: Don't include fopen-*.h.
|
4355 |
|
|
|
4356 |
|
|
* config/alpha-opcode.h: Make "ret" with no operands equivalent to
|
4357 |
|
|
"ret zero,(ra)", to match OSF1 and to be consistent with both
|
4358 |
|
|
one-operand forms.
|
4359 |
|
|
|
4360 |
|
|
Patches from DJ Delorie:
|
4361 |
|
|
* as.h (alloca): undef alloca before defining it just in case
|
4362 |
|
|
* config/go32.cfg: new file for autoconf values
|
4363 |
|
|
* config/te-go32.h: new file
|
4364 |
|
|
* configure.bat: new for autoconf
|
4365 |
|
|
|
4366 |
|
|
* config/tc-i386.c (md_assemble): Fix typo in GOTPC check; had =
|
4367 |
|
|
for ==.
|
4368 |
|
|
|
4369 |
|
|
* configure.in: If target_frag doesn't exist, use /dev/null.
|
4370 |
|
|
|
4371 |
|
|
* as.c (parse_args): For non-VMS systems, re-add `v' to
|
4372 |
|
|
std_shortopts. Add "verbose" to list of long options.
|
4373 |
|
|
|
4374 |
|
|
* write.c (adjust_reloc_syms): When generating an absolute section
|
4375 |
|
|
symbol as a placeholder, don't mark it as used in a relocation
|
4376 |
|
|
entry, here.
|
4377 |
|
|
|
4378 |
|
|
* Makefile.in (comparison): Compare using makefile code from gcc,
|
4379 |
|
|
stripped down to discard subdir stuff and adapted to give a
|
4380 |
|
|
non-zero exit status if either file differs.
|
4381 |
|
|
|
4382 |
|
|
Thu Nov 3 15:43:02 1994 Ian Lance Taylor
|
4383 |
|
|
|
4384 |
|
|
* config/tc-mips.c (load_address): Fix RELAX_ENCODE arguments for
|
4385 |
|
|
NO_PIC case.
|
4386 |
|
|
|
4387 |
|
|
Tue Nov 1 16:10:59 1994 Ian Lance Taylor
|
4388 |
|
|
|
4389 |
|
|
* config/tc-mips.c (s_change_sec): If not GPOPT, don't permit
|
4390 |
|
|
switching to the readonly data section.
|
4391 |
|
|
|
4392 |
|
|
* ecoff.c (ecoff_directive_type): Fix warning message.
|
4393 |
|
|
|
4394 |
|
|
Sun Oct 30 00:57:35 1994 Jeff Law (law@snake.cs.utah.edu)
|
4395 |
|
|
|
4396 |
|
|
* config/tc-hppa.c (pa_proc): Delete disabled code to put each
|
4397 |
|
|
proc in its own subspace, we're not going to use it.
|
4398 |
|
|
|
4399 |
|
|
Tue Oct 25 14:44:33 1994 Ian Lance Taylor
|
4400 |
|
|
|
4401 |
|
|
* config/tc-mips.c (macro): Ensure that mips2 case of M_LI_DD in
|
4402 |
|
|
.rdata does not become a variant frag.
|
4403 |
|
|
|
4404 |
|
|
* config/tc-mips.c (mips_cpu): Initialize to -1.
|
4405 |
|
|
(md_begin): Don't mips_cpu if it was already set.
|
4406 |
|
|
(md_parse_option): For -mipsN, don't set mips_cpu if it was
|
4407 |
|
|
already set. For -mcpu=, just set mips_cpu, not mips_isa.
|
4408 |
|
|
|
4409 |
|
|
Fri Oct 21 20:42:29 1994 Ian Lance Taylor
|
4410 |
|
|
|
4411 |
|
|
* config/tc-mips.c (md_pseudo_table): If OBJ_ELF, handle .section.
|
4412 |
|
|
(s_elf_section): New static function.
|
4413 |
|
|
* ecoff.c (ecoff_build_symbols): Don't abort if we don't recognize
|
4414 |
|
|
the section when setting the storage class; default to sc_Data.
|
4415 |
|
|
|
4416 |
|
|
Thu Oct 20 00:43:38 1994 Jeff Law (law@snake.cs.utah.edu)
|
4417 |
|
|
|
4418 |
|
|
* config/tc-hppa.c (md_apply_fix): Set new_val to 8 for all
|
4419 |
|
|
fixups to branch instructions (not just pc-relative ones) which
|
4420 |
|
|
will generate SOM relocations.
|
4421 |
|
|
|
4422 |
|
|
Wed Oct 19 13:41:56 1994 Ian Lance Taylor
|
4423 |
|
|
|
4424 |
|
|
* config/tc-a29k.c: Include ctype.h with angle brackets.
|
4425 |
|
|
(define_some_regs): Add new special register names defined on the
|
4426 |
|
|
29040.
|
4427 |
|
|
(parse_operand): Add argument opt. If non-zero, don't warn about
|
4428 |
|
|
a missing operand.
|
4429 |
|
|
(machine_ip): If handling argument type 'I', pass opt as non-zero
|
4430 |
|
|
to parse_operand. Handle new optional operand type 'I'.
|
4431 |
|
|
(md_undefined_symbol): Handle special register names (srNN).
|
4432 |
|
|
|
4433 |
|
|
Tue Oct 18 00:45:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
4434 |
|
|
|
4435 |
|
|
* write.c (renumber_sections): New static BFD_ASSEMBLER function.
|
4436 |
|
|
(write_object_file): Call it after removing gas created sections.
|
4437 |
|
|
|
4438 |
|
|
Mon Oct 17 18:06:05 1994 Ian Lance Taylor
|
4439 |
|
|
|
4440 |
|
|
* symbols.c (symbol_create): Use udata.p, not just udata.
|
4441 |
|
|
* config/obj-elf.c (obj_ecoff_set_ext): Likewise.
|
4442 |
|
|
(elf_get_extr): Likewise.
|
4443 |
|
|
|
4444 |
|
|
* read.c (read_a_source_file): The second argument to as_where is
|
4445 |
|
|
unsigned int *, not int *.
|
4446 |
|
|
|
4447 |
|
|
Mon Oct 17 02:26:32 1994 Jeff Law (law@snake.cs.utah.edu)
|
4448 |
|
|
|
4449 |
|
|
* config/tc-hppa.c: Eliminate all uses of fx_addnumber.
|
4450 |
|
|
(tc_gen_reloc): Simplify. It's no longer necessary to set a
|
4451 |
|
|
reloc's addend field to zero for function symbols.
|
4452 |
|
|
(md_apply_fix): Simplify. For fixups which will require a SOM
|
4453 |
|
|
reloc, just clear out the necessary bits in the output file.
|
4454 |
|
|
|
4455 |
|
|
Fri Oct 14 19:06:46 1994 Ken Raeburn
|
4456 |
|
|
|
4457 |
|
|
* Makefile.in (BISON): Use bison -y, not bison.
|
4458 |
|
|
|
4459 |
|
|
Thu Oct 13 19:22:54 1994 Ken Raeburn
|
4460 |
|
|
|
4461 |
|
|
* Makefile.in (VERSION): Updated to 2.5.
|
4462 |
|
|
(clean-here): Delete stamp-mk.com.
|
4463 |
|
|
(distclean): Delete .gdbinit.
|
4464 |
|
|
* Version 2.5 released.
|
4465 |
|
|
|
4466 |
|
|
Wed Oct 12 20:30:51 1994 Ken Raeburn
|
4467 |
|
|
|
4468 |
|
|
* config/te-nbsd532.h: Renamed from te-netbsd532.h.
|
4469 |
|
|
* configure.in, configure: Adjusted.
|
4470 |
|
|
|
4471 |
|
|
Wed Oct 12 16:33:38 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
|
4472 |
|
|
|
4473 |
|
|
* config/cplus-dem.c: Removed. It isn't used. Even if it was,
|
4474 |
|
|
it's better to use the one in libiberty.
|
4475 |
|
|
|
4476 |
|
|
Wed Oct 12 18:48:39 1994 Ken Raeburn
|
4477 |
|
|
|
4478 |
|
|
* symbols.c (resolve_symbol_value, case O_symbol): Undo last
|
4479 |
|
|
change; it breaks the rs6000 support, and doesn't seem to be
|
4480 |
|
|
needed.
|
4481 |
|
|
|
4482 |
|
|
Wed Oct 12 11:56:50 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
|
4483 |
|
|
|
4484 |
|
|
* config/tc-i386.h,te-netbsd532.h (TARGET_FORMAT): Changed to
|
4485 |
|
|
a.out--netbsd to match corresponding changes in BFD.
|
4486 |
|
|
|
4487 |
|
|
Wed Oct 12 11:06:11 1994 Ian Lance Taylor (ian@cygnus.com)
|
4488 |
|
|
|
4489 |
|
|
* config/tc-ppc.c (ppc_fix_adjustable): Resolve symbol values
|
4490 |
|
|
rather than explicitly adding the frag address.
|
4491 |
|
|
* config/obj-coff.c (coff_frob_symbol): Add a zero entry to mark
|
4492 |
|
|
the end of the line numbers; this replaces the zero entry which
|
4493 |
|
|
used to be added by coff_add_linesym, removed Oct 7.
|
4494 |
|
|
(coff_adjust_section_syms): Ignore sections with no seginfo.
|
4495 |
|
|
|
4496 |
|
|
Wed Oct 12 01:41:37 1994 Ken Raeburn
|
4497 |
|
|
|
4498 |
|
|
* Makefile.in (bootstrap, bootstrap2, bootstrap3): Create a
|
4499 |
|
|
"stage" symlink to the appropriate stage* directory, and use it
|
4500 |
|
|
instead in the -B options.
|
4501 |
|
|
(comparison): Revert yesterday's change.
|
4502 |
|
|
|
4503 |
|
|
Tue Oct 11 16:48:11 1994 Ken Raeburn
|
4504 |
|
|
|
4505 |
|
|
* config/tc-sparc.c (tc_gen_reloc): For non-a.out relocations, if
|
4506 |
|
|
pc-relative, use fx_offset only, ignore address of relocation.
|
4507 |
|
|
|
4508 |
|
|
Tue Oct 11 15:24:00 1994 Ian Lance Taylor
|
4509 |
|
|
|
4510 |
|
|
* config/tc-mips.c (mips_ip): Don't use S_IS_LOCAL when checking
|
4511 |
|
|
for an embedded PIC switch expression, since the definition of
|
4512 |
|
|
S_IS_LOCAL was changed.
|
4513 |
|
|
|
4514 |
|
|
Tue Oct 11 15:05:11 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
4515 |
|
|
|
4516 |
|
|
* Makefile.in (comparison): When comparing as.new or gasp.new, try
|
4517 |
|
|
running the binary through sed to avoid differences due to
|
4518 |
|
|
"stage1" or "stage2" having been written into the binary.
|
4519 |
|
|
|
4520 |
|
|
Sat Oct 8 01:48:04 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
4521 |
|
|
|
4522 |
|
|
ELF symbol size handling, based on code from Eric Youngdale:
|
4523 |
|
|
* config/obj-elf.h (OBJ_SYMFIELD_TYPE): New macro. Adds an
|
4524 |
|
|
expression pointer to the symbol structure, used for `size'
|
4525 |
|
|
expressions that couldn't be reduced to constants when initially
|
4526 |
|
|
processed.
|
4527 |
|
|
(elf_frob_symbol): Declare.
|
4528 |
|
|
(obj_frob_symbol): Call elf_frob_symbol always, rather than
|
4529 |
|
|
ecoff_frob_symbol only if ECOFF_DEBUGGING defined.
|
4530 |
|
|
* config/obj-elf.c (obj_symbol_new_hook): Deleted unused code.
|
4531 |
|
|
Clear sy_obj field.
|
4532 |
|
|
(obj_elf_size): Deleted unused code. If size is non-reducible
|
4533 |
|
|
expression, allocate some storage for the sy_obj field and copy
|
4534 |
|
|
the expression.
|
4535 |
|
|
(elf_frob_symbol): New function. Computes sizes, calls
|
4536 |
|
|
ecoff_frob_symbol if appropriate.
|
4537 |
|
|
|
4538 |
|
|
* write.c (fixup_segment): For i386 elf and coff (for now), don't
|
4539 |
|
|
add in value of symbol from another defined section of the file.
|
4540 |
|
|
|
4541 |
|
|
Fri Oct 7 17:54:02 1994 Ken Raeburn
|
4542 |
|
|
|
4543 |
|
|
* config/tc-m88k.h (TC_KEEP_FX_OFFSET): Define.
|
4544 |
|
|
* config/obj-coff.c (do_relocs_for): Test only TC_KEEP_FX_OFFSET,
|
4545 |
|
|
rather than both it and TC_M88K.
|
4546 |
|
|
(coff_adjust_section_syms): New function.
|
4547 |
|
|
(coff_frob_section): For non-empty sections, create aux entry for
|
4548 |
|
|
the section symbol, indicating the size.
|
4549 |
|
|
(n_line_nos): New variable.
|
4550 |
|
|
(add_lineno): Increment it.
|
4551 |
|
|
(coff_add_linesym): Increment n_line_nos, don't call add_lineno.
|
4552 |
|
|
(coff_frob_file): New function; map coff_adjust_section_syms over
|
4553 |
|
|
sections.
|
4554 |
|
|
(obj_coff_line): Only reset line_base for .bf symbols.
|
4555 |
|
|
* config/obj-coff.h (coff_adjust_section_syms, coff_frob_file):
|
4556 |
|
|
Declare.
|
4557 |
|
|
(obj_frob_file): New macro.
|
4558 |
|
|
|
4559 |
|
|
* config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Renamed from
|
4560 |
|
|
obj_frob_forward_symbol, and rewritten for new parameter list.
|
4561 |
|
|
|
4562 |
|
|
Mon Oct 3 21:02:38 1994 Pat Rankin (rankin@eql.caltech.edu)
|
4563 |
|
|
|
4564 |
|
|
* config/obj-vms.h (S_IS_LOCAL): fix obsolete flagseen[] reference.
|
4565 |
|
|
|
4566 |
|
|
Wed Oct 5 11:49:26 1994 Ian Lance Taylor
|
4567 |
|
|
|
4568 |
|
|
* config/obj-ecoff.c (obj_pseudo_table): Accept .esize and .etype
|
4569 |
|
|
as synonyms for .size and .type.
|
4570 |
|
|
|
4571 |
|
|
Wed Oct 5 00:08:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
4572 |
|
|
|
4573 |
|
|
* config/obj-coff.c (coff_frob_section): Remove assert about
|
4574 |
|
|
section alignment.
|
4575 |
|
|
* config/tc-sparc.c (md_section_align): Use section alignment, not
|
4576 |
|
|
xvec align_power_min field.
|
4577 |
|
|
|
4578 |
|
|
Fri Sep 30 19:05:20 1994 Pat Rankin (rankin@eql.caltech.edu)
|
4579 |
|
|
|
4580 |
|
|
* vmsconf.sh (make-gas.com): handle DCL verification to enable
|
4581 |
|
|
sensible feedback to the user while gas is being built.
|
4582 |
|
|
|
4583 |
|
|
Fri Sep 30 16:23:31 1994 Ken Raeburn
|
4584 |
|
|
|
4585 |
|
|
* Makefile.in (DISTSTUFF): New variable, listing only make-gas.com
|
4586 |
|
|
for now.
|
4587 |
|
|
(diststuff): New target; builds DISTSTUFF.
|
4588 |
|
|
(realclean): Separate target, depend on clean and distclean, then
|
4589 |
|
|
delete DISTSTUFF.
|
4590 |
|
|
* make-gas.com: Deleted.
|
4591 |
|
|
|
4592 |
|
|
* config/tc-i386.c (i386_validate_fix) [BFD_ASSEMBLER]: New
|
4593 |
|
|
function. Converts reloc for "foo-GOT" to BFD_RELOC_386_GOTOFF
|
4594 |
|
|
reloc for "foo".
|
4595 |
|
|
(i386_operand): Don't look up section symbol for
|
4596 |
|
|
undefined_section.
|
4597 |
|
|
(reloc): Always permit return of 8- and 16-bit relocation types.
|
4598 |
|
|
Add a space after "pc-relative" in the error message.
|
4599 |
|
|
(tc_i386_fix_adjustable) [BFD_ASSEMBLER]: Reject
|
4600 |
|
|
BFD_RELOC_386_GOTOFF relocs.
|
4601 |
|
|
(i386_operand): For any GOTOFF reloc, convert it to a BFD_RELOC_32
|
4602 |
|
|
with a "foo-GOT" value.
|
4603 |
|
|
* config/tc-i386.h (i386_validate_fix): Declare it.
|
4604 |
|
|
(TC_VALIDATE_FIX): New macro -- call it.
|
4605 |
|
|
(NOP_OPCODE): Cast to `char' to avoid compiler warnings.
|
4606 |
|
|
|
4607 |
|
|
* as.h: If __STDC__ is not defined and varargs.h is available, use
|
4608 |
|
|
it rather than stdarg.h.
|
4609 |
|
|
|
4610 |
|
|
* write.h (struct fix): Added new bitfield fx_plt, for fixups
|
4611 |
|
|
referring to PLT entries.
|
4612 |
|
|
* write.c (fix_new_internal): Initialize fx_plt to zero.
|
4613 |
|
|
(adjust_reloc_syms): Re-fetch `sym' after top of reduction loop.
|
4614 |
|
|
Don't adjust fx_offset by frag address, since S_GET_VALUE now
|
4615 |
|
|
includes the frag address.
|
4616 |
|
|
(fixup_segment): Changed local var PCREL to type int, added PLT.
|
4617 |
|
|
If PC-relative fixup refers to a PLT entry for a symbol in the
|
4618 |
|
|
current section, don't reduce it.
|
4619 |
|
|
|
4620 |
|
|
* write.c (adjust_reloc_syms): Exit loop through a label. If
|
4621 |
|
|
DEBUG5 is defined, print out each fixup before and after
|
4622 |
|
|
processing.
|
4623 |
|
|
(fixup_segment): If DEBUG5 is defined, print out each fixup before
|
4624 |
|
|
and after processing.
|
4625 |
|
|
(print_fixup): Added prototype. Show address on first line. Show
|
4626 |
|
|
fx_offset and fx_subsy. [!BFD_ASSEMBLER]: Only show fx_r_type if
|
4627 |
|
|
NEED_FX_R_TYPE is defined.
|
4628 |
|
|
|
4629 |
|
|
* symbols.c (print_symbol_value_1): Check S_IS_LOCAL, S_IS_EXTERN,
|
4630 |
|
|
S_IS_DEBUG, S_IS_DEFINED also.
|
4631 |
|
|
|
4632 |
|
|
Thu Sep 29 18:57:06 1994 Ken Raeburn
|
4633 |
|
|
|
4634 |
|
|
* Makefile.in (all): Depend on .gdbinit.
|
4635 |
|
|
(.gdbinit): Rebuild from gdbinit.in by running config.status.
|
4636 |
|
|
|
4637 |
|
|
* gdbinit.in: Define new function "pf". Fix doc on "pe" and "ps".
|
4638 |
|
|
|
4639 |
|
|
* write.c (print_fixup): Print source location on first line.
|
4640 |
|
|
Show fx_r_type and fx_addsy fields.
|
4641 |
|
|
|
4642 |
|
|
Wed Sep 28 14:56:39 1994 Ken Raeburn
|
4643 |
|
|
|
4644 |
|
|
* configure.in: Set bfd_gas for all sparc targets in one place,
|
4645 |
|
|
instead of separately for each. Correctly handle user-supplied
|
4646 |
|
|
"--enable-bfd-gas" option.
|
4647 |
|
|
|
4648 |
|
|
* gdbinit.in: Move "break abort" to end, in case gdb complains.
|
4649 |
|
|
|
4650 |
|
|
* as.h (PRINTF_WHERE_LIKE, PRINT_LIKE) [USE_STDARG, !__GNUC__]:
|
4651 |
|
|
Use PARAMS macro.
|
4652 |
|
|
|
4653 |
|
|
* symbols.c (resolve_symbol_value, case O_symbol): Don't do any
|
4654 |
|
|
processing if add_symbol is undefined or in expr_section.
|
4655 |
|
|
(resolve_symbol_value, case O_add): For symbol plus
|
4656 |
|
|
constant-valued symbol, convert to O_symbol and re-reduce.
|
4657 |
|
|
(S_GET_VALUE): If symbol needs resolving, resolve it.
|
4658 |
|
|
(indent_level): No longer static.
|
4659 |
|
|
(print_symbol_value_1): Don't print frag address if it matches
|
4660 |
|
|
zero_address_frag. Don't print "resolving" if already resolved.
|
4661 |
|
|
Print segment name. Don't call print_expr_1 on an undefined
|
4662 |
|
|
symbol.
|
4663 |
|
|
(print_expr_1): Fix whitespace before printing X_add_number.
|
4664 |
|
|
|
4665 |
|
|
* expr.c (make_expr_symbol): No longer static. Use symbol_create,
|
4666 |
|
|
not symbol_new, for symbols holding expression values.
|
4667 |
|
|
* expr.h (make_expr_symbol): Move declaration here.
|
4668 |
|
|
* write.c (fix_new_exp): Handle O_add by creating an
|
4669 |
|
|
expression-valued symbol, and calling fix_new_exp recursively.
|
4670 |
|
|
(adjust_reloc_syms): If a fixup's symbol value is a sum of an
|
4671 |
|
|
undefined symbol and a constant, fold the constant into the fixup,
|
4672 |
|
|
and refer to the undefined symbol directly. Then process the
|
4673 |
|
|
fixup again from scratch.
|
4674 |
|
|
(write_object_file): Before calling adjust_reloc_syms, make a pass
|
4675 |
|
|
through the symbol list trying to resolve values.
|
4676 |
|
|
|
4677 |
|
|
* write.c (print_fixup): New routine, for debugging.
|
4678 |
|
|
(write_relocs): Call bfd_install_relocation. Deleted various
|
4679 |
|
|
hacks for working around problems with bfd_perform_relocation.
|
4680 |
|
|
|
4681 |
|
|
* Makefile.in (VERSION): Update to 2.4.90.
|
4682 |
|
|
|
4683 |
|
|
Wed Sep 28 11:50:40 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
4684 |
|
|
|
4685 |
|
|
* Makefile.in (gasp.o): Depends upon config.h.
|
4686 |
|
|
|
4687 |
|
|
* config/tc-mips.c: Include subsegs.h.
|
4688 |
|
|
(md_apply_fix): If an unconditional b or bal overflows, and we are
|
4689 |
|
|
not assembling PIC code, replace it with a j or jal.
|
4690 |
|
|
|
4691 |
|
|
* config/tc-mips.c (md_apply_fix): Correct branch overflow test.
|
4692 |
|
|
Use as_bad_where and as_warn_where rather than as_bad and as_warn.
|
4693 |
|
|
|
4694 |
|
|
Mon Sep 26 17:15:59 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
4695 |
|
|
|
4696 |
|
|
* write.c (write_relocs): Add file name and line number to
|
4697 |
|
|
as_fatal calls. Handle bfd_reloc_overflow case specifically when
|
4698 |
|
|
RELOC_EXPANSION_POSSIBLE.
|
4699 |
|
|
|
4700 |
|
|
Fri Sep 23 16:11:28 1994 Ken Raeburn
|
4701 |
|
|
|
4702 |
|
|
* as.h (USE_STDARG, USE_VARARGS): Define one or neither of these
|
4703 |
|
|
here. Use them for deciding which PRINTF*LIKE macro definitions
|
4704 |
|
|
to use.
|
4705 |
|
|
* messages.c: Use them, instead of NO_STDARG, NO_VARARGS.
|
4706 |
|
|
[!USE_STDARG && !USE_VARARGS] (va_alist, va_dcl, ...): Provide
|
4707 |
|
|
default definitions matching what we were doing before.
|
4708 |
|
|
(as_tsktsk): Remove the non-stdarg, non-varargs version, and
|
4709 |
|
|
always use the varargs form if not using stdarg. It's safe to
|
4710 |
|
|
always use vfprintf, because libiberty will provide it if the
|
4711 |
|
|
native system doesn't. Also, always make format be const.
|
4712 |
|
|
(as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
|
4713 |
|
|
|
4714 |
|
|
Fri Sep 23 14:42:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
4715 |
|
|
|
4716 |
|
|
* config/tc-mips.c (load_register): Always use addiu when adding a
|
4717 |
|
|
constant to $zero--no need to use daddiu.
|
4718 |
|
|
(macro): Hack the -mips3 overflow tests to not fail when offsetT
|
4719 |
|
|
is only 32 bits.
|
4720 |
|
|
|
4721 |
|
|
* symbols.h (copy_symbol_attributes): Declare.
|
4722 |
|
|
|
4723 |
|
|
Thu Sep 22 21:58:24 1994 Ken Raeburn
|
4724 |
|
|
|
4725 |
|
|
* listing.c: Bugfixes based in part on patches from Paul
|
4726 |
|
|
Kranenburg.
|
4727 |
|
|
(listing_newline): Check filename as well as line number when
|
4728 |
|
|
deciding whether to record it.
|
4729 |
|
|
(list_symbol_table) [S_IS_REGISTER]: Check that S_IS_REGISTER is
|
4730 |
|
|
false (if defined) as well as checking for reg_section.
|
4731 |
|
|
(listing_listing): Iterate fetching lines while line number is too
|
4732 |
|
|
low, and we haven't run off the end of the input file.
|
4733 |
|
|
|
4734 |
|
|
* config/vms-conf.h: Changed HAVE_DELETE to HAVE_REMOVE.
|
4735 |
|
|
|
4736 |
|
|
Thu Sep 22 13:39:10 1994 Kung Hsu (kung@x1.cygnus.com)
|
4737 |
|
|
|
4738 |
|
|
* ecoff.c (ecoff_generate_asm_lineno): check if
|
4739 |
|
|
current_stabs_filename is NULL before strcmp.
|
4740 |
|
|
* read.c (read_a_source_file): fix a bug in generate_asm_lineno
|
4741 |
|
|
checking.
|
4742 |
|
|
|
4743 |
|
|
Wed Sep 21 18:17:35 1994 Ken Raeburn
|
4744 |
|
|
|
4745 |
|
|
* config/ho-*.h: Now-unused files deleted.
|
4746 |
|
|
|
4747 |
|
|
* symbols.c (copy_symbol_attributes): New function. Copies BFD
|
4748 |
|
|
symbol flags and calls OBJ_COPY_SYMBOL_ATTRIBUTES.
|
4749 |
|
|
(resolve_symbol_value, case O_symbol): Call it, if X_add_number is
|
4750 |
|
|
zero. Don't call obj_frob_forward_symbol.
|
4751 |
|
|
* read.c (pseudo_set): Call copy_symbol_attributes, but only if
|
4752 |
|
|
X_add_number is zero.
|
4753 |
|
|
* config/obj-elf.h (obj_frob_forward_symbol): Deleted.
|
4754 |
|
|
|
4755 |
|
|
* config/tc-i960.c: Lots of whitespace, comment reformatting,
|
4756 |
|
|
using GNU indent.
|
4757 |
|
|
(strchr): Don't declare.
|
4758 |
|
|
[BFD_ASSEMBLER]: Don't compile md_convert_frag,
|
4759 |
|
|
md_estimate_size_before_relax, md_ri_to_chars,
|
4760 |
|
|
md_create_short_jump, md_create_long_jump.
|
4761 |
|
|
(brtab_emit): Use data_section, not SEG_DATA.
|
4762 |
|
|
|
4763 |
|
|
Mon Sep 19 17:14:44 1994 Pat Rankin (rankin@eql.caltech.edu)
|
4764 |
|
|
|
4765 |
|
|
* config/vms-conf.h: new file, manually derived from conf.in.
|
4766 |
|
|
* config-gas.com: use it, and eliminate obsolete "host.h".
|
4767 |
|
|
|
4768 |
|
|
Wed Sep 21 11:11:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
4769 |
|
|
|
4770 |
|
|
* config/tc-ppc.c (ppc_current_block): New static variable.
|
4771 |
|
|
(ppc_stabx): Set sy_tc.within of a C_STSYM symbol to
|
4772 |
|
|
ppc_current_block. Don't move around any stab symbol, just those
|
4773 |
|
|
for common symbols.
|
4774 |
|
|
(ppc_bs): Set ppc_current_block.
|
4775 |
|
|
(ppc_es): Clear ppc_current_block.
|
4776 |
|
|
(ppc_frob_symbol): Set the value of a C_STSYM symbol to the offset
|
4777 |
|
|
from the csect of the enclosing block.
|
4778 |
|
|
|
4779 |
|
|
* config/tc-mips.c (insns_since_cache_access): Remove.
|
4780 |
|
|
(append_insn): Remove setting of insns_since_cache_access, and
|
4781 |
|
|
special 4600 handling; it turns out not to be required.
|
4782 |
|
|
|
4783 |
|
|
Tue Sep 20 16:13:18 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
4784 |
|
|
|
4785 |
|
|
* config/tc-mips.c (md_shortopts): Remove E.
|
4786 |
|
|
(md_longopts): Add EB and EL.
|
4787 |
|
|
(md_parse_option): Handle -EB and -EL as separate options, rather
|
4788 |
|
|
than as a single -E option with an argument.
|
4789 |
|
|
|
4790 |
|
|
Mon Sep 19 12:42:05 1994 Jeff Law (law@snake.cs.utah.edu)
|
4791 |
|
|
|
4792 |
|
|
* config/tc-hppa.c (hppa_fix_adjustable): Reject reductions
|
4793 |
|
|
involving global symbols too.
|
4794 |
|
|
|
4795 |
|
|
Mon Sep 19 12:12:46 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
4796 |
|
|
|
4797 |
|
|
* as.h: Test NEED_DECLARATION_*, not NEED_*_DECLARATION.
|
4798 |
|
|
|
4799 |
|
|
* configure.in: Test for remove, not delete. Fix cross-assembler
|
4800 |
|
|
test.
|
4801 |
|
|
* as.h: Test HAVE_REMOVE, not HAVE_DELETE; define unlink to
|
4802 |
|
|
remove, not delete.
|
4803 |
|
|
|
4804 |
|
|
* read.c (pseudo_set, case O_symbol): If
|
4805 |
|
|
OBJ_COPY_SYMBOL_ATTRIBUTES is defined, invoke it.
|
4806 |
|
|
[BFD_ASSEMBLER]: Copy BSF_FUNCTION setting too.
|
4807 |
|
|
* config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define.
|
4808 |
|
|
|
4809 |
|
|
Wed Aug 10 19:15:30 1994 Pat Rankin (rankin@eql.caltech.edu)
|
4810 |
|
|
|
4811 |
|
|
* config/obj-vms.h (DSG_S_C_UBITU, DST_K_VFLAGS_DSC, DST_K_TS_ATOM,
|
4812 |
|
|
many others): new macros; values obtained from "DSTRECRDS.SDL".
|
4813 |
|
|
* config/obj-vms.h (various): use them.
|
4814 |
|
|
(USE_BITSTRING_DESCRIPTOR): new macro, for selecting bitfield
|
4815 |
|
|
representation (only enum bitfields can avoid being bitstrings).
|
4816 |
|
|
(bitfield_suffix, setup_basic_type): new routines.
|
4817 |
|
|
(VMS_typedef_parse): use them. Now recognize bitfields of all
|
4818 |
|
|
integral types, not just type `int'. Caveat: the representation
|
4819 |
|
|
used for bitfields still does not work for objects placed in
|
4820 |
|
|
registers, and gcc's optimizer sometimes puts small structs there.
|
4821 |
|
|
|
4822 |
|
|
Tue Jun 14 17:31:44 1994 Pat Rankin (rankin@eql.caltech.edu)
|
4823 |
|
|
|
4824 |
|
|
* read.c (s_text) [#if OBJ_VMS]: clear the IN_DEFAULT_SECTION
|
4825 |
|
|
bit from const_flag.
|
4826 |
|
|
* config/obj-vms.h (IN_DEFAULT_SECTION): define this macro.
|
4827 |
|
|
(tc_frob_label): define this to call vms_check_for_special_label,
|
4828 |
|
|
and declare the latter.
|
4829 |
|
|
* config/obj-vms.c (vax_g_doubles): declare this file-scope
|
4830 |
|
|
variable.
|
4831 |
|
|
(const_flag): initialize to IN_DEFAULT_SECTION instead of 0.
|
4832 |
|
|
(vms_check_for_special_label): new routine (tc_frob_label).
|
4833 |
|
|
(VMS_TBT_Routine_End): don't bother checking for `gcc_compiled.'
|
4834 |
|
|
and `gcc2_compiled.' labels; they won't reach here any more.
|
4835 |
|
|
(VMS_typedef_parse) [case 'r']: for types `double' and `complex
|
4836 |
|
|
double', use `vax_g_doubles' flag to select type of double.
|
4837 |
|
|
(VMS_write_object_file) [traceback setup]: don't pass symbols
|
4838 |
|
|
with the IN_DEFAULT_SECTION attribute to the TBT_Routine_Begin
|
4839 |
|
|
and TBT_Routine_End functions.
|
4840 |
|
|
|
4841 |
|
|
Mon Jun 6 20:52:20 1994 Pat Rankin (rankin@eql.caltech.edu)
|
4842 |
|
|
|
4843 |
|
|
* config/obj-vms.c (VMS_TBT_Routine_End): cache the result of
|
4844 |
|
|
S_GET_VALUE() to avoid many repeated function calls.
|
4845 |
|
|
(VMS_Check_For_Main) [#if HACK_DEC_C_STARTUP]: capitalize
|
4846 |
|
|
_C$MAIN_ARGS in advance, in case -h3 (leave symbol name as-is)
|
4847 |
|
|
gets requested. [All the HACK_DEC_C_STARTUP code appears to
|
4848 |
|
|
be obsolete; gcc does it automatically for vms target. It's
|
4849 |
|
|
also misnamed, because it is for the "VAX C" run-time library,
|
4850 |
|
|
not the newer "DEC C" one which has much different startup code.]
|
4851 |
|
|
{various}: use `S_SET_xxx(symbol,new_value)' rather than
|
4852 |
|
|
`S_GET_xxx(symbol) = new_value'.
|
4853 |
|
|
|
4854 |
|
|
Mon Sep 19 12:05:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
4855 |
|
|
|
4856 |
|
|
* config/obj-coff.c (c_dot_file_symbol): Use bfd_abs_section_ptr,
|
4857 |
|
|
not &bfd_abs_section.
|
4858 |
|
|
|
4859 |
|
|
Thu Sep 15 18:36:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
4860 |
|
|
|
4861 |
|
|
* expr.c (clean_up_expression): Use addressT, not bfd_vma.
|
4862 |
|
|
|
4863 |
|
|
Tue Sep 13 20:05:47 1994 Jeff Law (law@snake.cs.utah.edu)
|
4864 |
|
|
|
4865 |
|
|
* expr.c (expr): Don't reduce the difference of two symbols in the
|
4866 |
|
|
same frag if the symbols are not in normal sections.
|
4867 |
|
|
|
4868 |
|
|
* config/obj-som.h (S_SET_OTHER, S_SET_TYPE): Delete a.out crud.
|
4869 |
|
|
(S_SET_DESC, S_GET_OTHER, S_GET_TYPE, S_GET_DESC): Likewise.
|
4870 |
|
|
(obj_attach_unwind_info): Do not define. Not needed anymore.
|
4871 |
|
|
* config/tc-hppa.c: Delete whitespace at EOL.
|
4872 |
|
|
(struct hppa_fix_struct): Delete fx_unwind field and all references.
|
4873 |
|
|
(fix_new_hppa): Last arg is now a pointer to an int. Do not
|
4874 |
|
|
call obj_attach_unwind_info anymore. For SOM R_ENTRY and R_EXIT
|
4875 |
|
|
fixups, store 32bits of unwind information in the fx_addnumber
|
4876 |
|
|
field of the fixup.
|
4877 |
|
|
(md_assemble, pa_entry, process_exit, pa_procend): For SOM R_ENTRY
|
4878 |
|
|
and R_EXIT fixups, pass a NULL pointer to fix_new_hppa, and a
|
4879 |
|
|
pointer to 32 bits of unwind info.
|
4880 |
|
|
(tc_gen_reloc): For SOM R_ENTRY and R_EXIT fixups, set the symbol
|
4881 |
|
|
pointer to the dummy symbol; set the addend field to fx_addnumber.
|
4882 |
|
|
(pa_comm, pa_equ, pa_type_args, pa_import): Use bfd_XXX_section_ptr
|
4883 |
|
|
rather than &bfd_XXX_section.
|
4884 |
|
|
|
4885 |
|
|
Tue Sep 13 21:15:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
4886 |
|
|
|
4887 |
|
|
* config/tc-i386.c (md_apply_fix_1): For GOTPC relocs, decrement
|
4888 |
|
|
value by one; discard adjustments previously being made. From
|
4889 |
|
|
Eric Youngdale.
|
4890 |
|
|
|
4891 |
|
|
VMS- and Vax-related changes from Pat Rankin:
|
4892 |
|
|
* Makefile.in (VMS_OTHER_OBJS): add concat, getopt, and getopt1.
|
4893 |
|
|
* vmsconf.sh: no longer have make-gas.com echo text about needing
|
4894 |
|
|
to modify the gcc-vms driver when intending to use with gcc 1.x.
|
4895 |
|
|
* as.c (parse_options): suppress 'v' from std_short_options and
|
4896 |
|
|
eliminate VMS-specific conditional initialization;
|
4897 |
|
|
[default case]: check for '-v' if md_parse_options doesn't recognize
|
4898 |
|
|
an option;
|
4899 |
|
|
[default case, #if VMS]: check for filename argument when '-v' seen;
|
4900 |
|
|
[case 'v']: delete.
|
4901 |
|
|
* config/tc-vax.c (md_assemble): don't rely on `this_add_number'
|
4902 |
|
|
for O_big literal operands (double floats and long long ints);
|
4903 |
|
|
[VMS, md_shortopts]: add second colon after 'v';
|
4904 |
|
|
(md_parse_options) [VMS, case 'v']: check for argument, so
|
4905 |
|
|
caller can handle `-v' w/o arg.
|
4906 |
|
|
|
4907 |
|
|
Tue Sep 13 16:45:08 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
4908 |
|
|
|
4909 |
|
|
* config/obj-coff.c (do_relocs_for): If TC_KEEP_FX_OFFSET
|
4910 |
|
|
is defined, put the tx_offset into the r_offset.
|
4911 |
|
|
* config/tc-sh.c (line_comment_chars): Add #
|
4912 |
|
|
(tc_reloc_mangle): Deleted.
|
4913 |
|
|
* config/tc-sh.h (TC_KEEP_FX_OFFSET): Define.
|
4914 |
|
|
(TC_RELOC_MANGLE): Delete.
|
4915 |
|
|
|
4916 |
|
|
Tue Sep 13 16:20:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
4917 |
|
|
|
4918 |
|
|
* flonum-konst.c: Change preprocessor tests of HO_VMS to just VMS.
|
4919 |
|
|
* hex-value.c: Ditto.
|
4920 |
|
|
* config/obj-vms.c: Ditto.
|
4921 |
|
|
|
4922 |
|
|
* config/tc-sparc.c (sparc_ip): Replace as_bad/exit sequence with
|
4923 |
|
|
a call to as_fatal.
|
4924 |
|
|
* config/tc-i860.c (i860_ip): Ditto.
|
4925 |
|
|
* config/tc-hppa.c (pa_ip): Ditto.
|
4926 |
|
|
* config/tc-alpha.c (alpha_ip): Ditto.
|
4927 |
|
|
* as.c (parse_args): Ditto.
|
4928 |
|
|
|
4929 |
|
|
* config/tc-mips.c (mips_ip): Replace as_warn/exit sequence with a
|
4930 |
|
|
call to as_fatal.
|
4931 |
|
|
|
4932 |
|
|
* write.c (write_contents): Use EXIT_FAILURE.
|
4933 |
|
|
* output-file.c (output_file_create, output_file_close,
|
4934 |
|
|
output_file_create, output_file_close): Ditto.
|
4935 |
|
|
* messages.c (as_fatal): Ditto.
|
4936 |
|
|
* config/obj-som.c (obj_som_version, obj_som_copyright): Ditto.
|
4937 |
|
|
* config/obj-ieee.c (write_object_file): Ditto.
|
4938 |
|
|
* config/obj-coff.c (write_object_file): Ditto.
|
4939 |
|
|
* config/tc-vax.c (main): Use EXIT_SUCCESS.
|
4940 |
|
|
* config/tc-m68k.c (main): Ditto.
|
4941 |
|
|
|
4942 |
|
|
* hash.c (main): Pass a value to exit().
|
4943 |
|
|
|
4944 |
|
|
* as.h (EXIT_SUCCESS, EXIT_FAILURE): Moved here.
|
4945 |
|
|
* as.c: ...from here.
|
4946 |
|
|
(parse_args): Use them always.
|
4947 |
|
|
(main): Use exit rather than return.
|
4948 |
|
|
|
4949 |
|
|
* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall):
|
4950 |
|
|
Rewrite handling of program_transform_name.
|
4951 |
|
|
|
4952 |
|
|
* configure.in: Test for functions unlink and delete.
|
4953 |
|
|
* as.h: If unlink isn't available but delete is, define unlink to
|
4954 |
|
|
be delete.
|
4955 |
|
|
|
4956 |
|
|
Update for autoconf 1.118:
|
4957 |
|
|
* gdbinit.in: New file, created from old .gdbinit.
|
4958 |
|
|
* .gdbinit: Deleted.
|
4959 |
|
|
* aclocal.m4 (GAS_GDBINIT): Deleted.
|
4960 |
|
|
* configure.in: Don't use it. Instead, generate .gdbinit from
|
4961 |
|
|
gdbinit.in. Don't substitute cpu_type, obj_format, emulation,
|
4962 |
|
|
atof. Switched order of AC_LINK_FILES arguments. Use AC_PREREQ
|
4963 |
|
|
to ensure that older versions of autoconf aren't used.
|
4964 |
|
|
* Makefile.in: Added @configure_input@ line.
|
4965 |
|
|
(configure): Deleted rule.
|
4966 |
|
|
|
4967 |
|
|
Tue Sep 13 12:08:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
4968 |
|
|
|
4969 |
|
|
* config/obj-coff.c (fixup_segment): After handling the difference
|
4970 |
|
|
of two symbols from the same segment, set fx_subsy to NULL, to
|
4971 |
|
|
satisfy existing TC_COUNT_RELOC macros.
|
4972 |
|
|
|
4973 |
|
|
Tue Sep 13 01:47:08 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
4974 |
|
|
|
4975 |
|
|
* aclocal.m4 (GAS_GDBINIT): New macro.
|
4976 |
|
|
* configure.in: Use it.
|
4977 |
|
|
* configure: Regenerated.
|
4978 |
|
|
|
4979 |
|
|
Mon Sep 12 20:56:38 1994 Ken Raeburn (raeburn@kr-laptop.cygnus.com)
|
4980 |
|
|
|
4981 |
|
|
* .gdbinit (pe, ps): Define new commands.
|
4982 |
|
|
* symbols.c (indent_level): New static variable.
|
4983 |
|
|
(indent, print_expr_1, print_symbol_value_1, print_symbol_value,
|
4984 |
|
|
print_expr): New functions.
|
4985 |
|
|
|
4986 |
|
|
* Makefile.in (config-stamp): Add a "this file generated by make"
|
4987 |
|
|
message to config.h.
|
4988 |
|
|
|
4989 |
|
|
PIC implementation for i386-linux, based on code from Eric
|
4990 |
|
|
Youngdale and Paul Kranenburg, with some work of my own:
|
4991 |
|
|
|
4992 |
|
|
* write.c (fixup_segment): Test TC_RELOC_RTSYM_LOC_FIXUP on fixup
|
4993 |
|
|
before processing same-section pcrel relocations.
|
4994 |
|
|
(TC_RELOC_RTSYM_LOC_FIXUP): Default to 1.
|
4995 |
|
|
|
4996 |
|
|
* expr.c (make_expr_symbol): If operator is O_symbol and
|
4997 |
|
|
X_add_number is zero, just return the symbol. If operator is
|
4998 |
|
|
O_constant, resolve the symbol's value before returning.
|
4999 |
|
|
(operand): Permit use of "[]" for grouping.
|
5000 |
|
|
(clean_up_expression): For difference of two symbols in the same
|
5001 |
|
|
frag, add the difference of their offsets into X_add_number.
|
5002 |
|
|
(expr): Reduce difference of two symbols in same frag to their
|
5003 |
|
|
difference.
|
5004 |
|
|
|
5005 |
|
|
* config/tc-i386.c (TC_RELOC): New macro.
|
5006 |
|
|
(struct _i386_insn): New field disp_reloc.
|
5007 |
|
|
(GOT_symbol): New variable.
|
5008 |
|
|
(operand_special_chars): Added square-brackets and at-sign.
|
5009 |
|
|
(reloc) [BFD_ASSEMBLER]: Added new argument OTHER; if it is not
|
5010 |
|
|
NO_RELOC, just return it.
|
5011 |
|
|
(reloc) [! BFD_ASSEMBLER]: Add third argument to dummy macro.
|
5012 |
|
|
(BFD_RELOC_386_PLT32, _GOT32, _GOTOFF) [! BFD_ASSEMBLER]: More
|
5013 |
|
|
dummy macros.
|
5014 |
|
|
(tc_i386_fix_adjustable): New function. Returns zero if symbol in
|
5015 |
|
|
fixup is not local, to prevent relocations against externals from
|
5016 |
|
|
being dropped.
|
5017 |
|
|
(md_assemble): Initialize disp_reloc field to NO_RELOC. Pass
|
5018 |
|
|
disp_reloc field to reloc() function, and use TC_RELOC to generate
|
5019 |
|
|
value to pass to fix_new_exp.
|
5020 |
|
|
(md_assemble): Change 32-bit reloc against GOT_symbol into a GOTPC
|
5021 |
|
|
reloc.
|
5022 |
|
|
(i386_operand): Initialize disp_reloc field to NO_RELOC. Handle
|
5023 |
|
|
@GOTOFF, @PLT, @GOT operands. For GOTOFF relocations with local
|
5024 |
|
|
symbols, force generation of the section symbol.
|
5025 |
|
|
(md_estimate_size_before_relax): If GOT_symbol exists, decide
|
5026 |
|
|
we're generating PIC code, and convert relocations against
|
5027 |
|
|
undefined symbols from PCREL to PLT32.
|
5028 |
|
|
(md_apply_fix_1) [OBJ_ELF]: Fix up values for dynamic-linking
|
5029 |
|
|
relocs.
|
5030 |
|
|
(md_undefined_symbol): Notice GLOBAL_OFFSET_TABLE_NAME and set
|
5031 |
|
|
and return GOT_symbol if it matches.
|
5032 |
|
|
(F, MAP): Move macro definitions outside function.
|
5033 |
|
|
(tc_gen_reloc): Only switch on size and pcrel if code wasn't
|
5034 |
|
|
already supplied as PLT32. GOT32, GOTOFF, or GOTPC. Convert
|
5035 |
|
|
BFD_RELOC_32 using GOT_symbol into GOTPC.
|
5036 |
|
|
* config/tc-i386.h (TC_RELOC, tc_fix_adjustable,
|
5037 |
|
|
TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): New
|
5038 |
|
|
macros.
|
5039 |
|
|
(NEED_FX_R_TYPE): Define.
|
5040 |
|
|
(LOCAL_LABEL): Accept ".X" prefix too.
|
5041 |
|
|
(GLOBAL_OFFSET_TABLE_NAME): Default to "_GLOBAL_OFFSET_TABLE_".
|
5042 |
|
|
|
5043 |
|
|
Mon Sep 12 17:51:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5044 |
|
|
|
5045 |
|
|
* config/obj-elf.c (obj_elf_type): Rewrite to accept syntax
|
5046 |
|
|
reportedly to be used on Irix 6.
|
5047 |
|
|
|
5048 |
|
|
* config/tc-mips.c (md_pseudo_table): Handle .globl and .global.
|
5049 |
|
|
(s_mips_globl): New static function; needed for Irix 5 support.
|
5050 |
|
|
* ecoff.c (ecoff_build_symbols): If BSF_FUNCTION is set for an
|
5051 |
|
|
external symbol with no type, set the type to st_Proc rather than
|
5052 |
|
|
st_Global. Don't set the index of an external st_Proc or
|
5053 |
|
|
st_StaticProc symbol unless it is also a local symbol.
|
5054 |
|
|
|
5055 |
|
|
* read.c (read_a_source_file): The second argument to as_where is
|
5056 |
|
|
unsigned int *, not int *.
|
5057 |
|
|
|
5058 |
|
|
Thu Sep 8 17:18:24 1994 Kung Hsu (kung@mexican.cygnus.com)
|
5059 |
|
|
|
5060 |
|
|
* config/obj-ecoff.h : Change names to OBJ_GENERATE_ASM_LINENO,
|
5061 |
|
|
and generate_asm_lineno.
|
5062 |
|
|
* config/obj-elf.h : ditto.
|
5063 |
|
|
* read.h : ditto.
|
5064 |
|
|
* read.c (read_a_source_file): if no file when inst is read, set
|
5065 |
|
|
generate_asm_lineno to true.
|
5066 |
|
|
* ecoff.h : change name to generate_asm_lineno and add function
|
5067 |
|
|
ecoff_no_current_file.
|
5068 |
|
|
* ecoff.c : change name to generate_asm_lineno.
|
5069 |
|
|
* ecoff.c (ecoff_generate_asm_lineno) : new function, to generate
|
5070 |
|
|
ecoff style line for asm file.
|
5071 |
|
|
|
5072 |
|
|
Thu Sep 8 19:43:49 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5073 |
|
|
|
5074 |
|
|
* config/obj-coff.c (size_section): Do an fprintf to stderr rather
|
5075 |
|
|
than a printf.
|
5076 |
|
|
(fixup_segment): Use as_bad_where rather than as_bad.
|
5077 |
|
|
|
5078 |
|
|
Wed Sep 7 17:21:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
5079 |
|
|
|
5080 |
|
|
* config/tc-{h8300,sh}.[ch] (tc_coff_symbol_emit): Function doing
|
5081 |
|
|
nothing becomes macro doing nothing.
|
5082 |
|
|
|
5083 |
|
|
Wed Sep 7 19:10:09 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5084 |
|
|
|
5085 |
|
|
* Makefile.in (Makefile): Depend on config.status.
|
5086 |
|
|
(config.status): Run config.status from . instead of srcdir.
|
5087 |
|
|
|
5088 |
|
|
* config/tc-i386.c (tc_gen_reloc): Use bfd_get_reloc_code_name to
|
5089 |
|
|
display the name of the relocation type that couldn't be handled.
|
5090 |
|
|
* config/tc-sparc.c (tc_gen_reloc): Likewise.
|
5091 |
|
|
* config/tc-alpha.c (tc_gen_reloc): Likewise. Deleted abort call
|
5092 |
|
|
after call to as_fatal.
|
5093 |
|
|
|
5094 |
|
|
* configure.in (i386-*-linux*): Don't set bfd_gas.
|
5095 |
|
|
|
5096 |
|
|
* Makefile.in (CC_FOR_TARGET, NM_FOR_TARGET, OBJDUMP_FOR_TARGET,
|
5097 |
|
|
install, uninstall): Don't use "brokensed" hack any more, the new
|
5098 |
|
|
autoconf code should never let program_transform_name be empty.
|
5099 |
|
|
|
5100 |
|
|
Update for autoconf beta 1.112:
|
5101 |
|
|
* aclocal.m4 (GAS_CHECK_DECL_NEEDED, GAS_WORKING_ASSERT): New
|
5102 |
|
|
macros.
|
5103 |
|
|
* configure.in: Use them. Use AC_ARG_PROGRAM (now provided by
|
5104 |
|
|
autoconf) instead of my hacked-up AC_PROGRAM_TRANSFORM_NAME. Move
|
5105 |
|
|
test for CROSS_COMPILE just before AC_FUNC_ALLOCA, and emit a
|
5106 |
|
|
message to try to ease confusion about autoconf's
|
5107 |
|
|
"cross-compiling" message.
|
5108 |
|
|
* acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_FREE,
|
5109 |
|
|
NEED_DECLARATION_ERRNO): Renamed from NEED_*_DECLARATION.
|
5110 |
|
|
* configure, conf.in: Regenerated.
|
5111 |
|
|
|
5112 |
|
|
Wed Sep 7 12:49:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5113 |
|
|
|
5114 |
|
|
* configure.in: Check ${host} and ${target} rather than
|
5115 |
|
|
${host_canon} and ${target_canon}.
|
5116 |
|
|
* configure: Likewise.
|
5117 |
|
|
|
5118 |
|
|
Tue Sep 6 11:42:38 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5119 |
|
|
|
5120 |
|
|
* config/tc-mips.c (mips_cpu): New static variable.
|
5121 |
|
|
(insns_since_cache_access): New static variable.
|
5122 |
|
|
(md_begin): Set mips_cpu as well as mips_isa.
|
5123 |
|
|
(append_insn): If mips_cpu is 4600, require four nop instructions
|
5124 |
|
|
between an instruction which accesses the cache and certain CACHE
|
5125 |
|
|
instructions. Keep track of the number of instructions seen since
|
5126 |
|
|
an instruction which accesses the cache.
|
5127 |
|
|
(md_parse_option): Set mips_cpu as well as mips_isa.
|
5128 |
|
|
|
5129 |
|
|
Mon Sep 5 07:09:00 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
5130 |
|
|
|
5131 |
|
|
* doc/Makefile.in (VPATH): Define using @srcdir@.
|
5132 |
|
|
(prefix, program_transform_name, exec_prefix): Use autoconf style
|
5133 |
|
|
@-substitutions.
|
5134 |
|
|
|
5135 |
|
|
Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
|
5136 |
|
|
|
5137 |
|
|
* config/ho-riscix.h, config/tc-arm.c, config/tc-arm.h: New files
|
5138 |
|
|
* configure.in: Recognize the arm.
|
5139 |
|
|
|
5140 |
|
|
Fri Sep 2 16:05:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5141 |
|
|
|
5142 |
|
|
* ecoff.c (add_file): Don't try to generate line numbers if the
|
5143 |
|
|
symbol table has been frozen.
|
5144 |
|
|
|
5145 |
|
|
Thu Sep 1 19:48:01 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5146 |
|
|
|
5147 |
|
|
* aclocal.m4 (AC_PROG_CC): Use AC_DEFUN, and omit AC_PROVIDE.
|
5148 |
|
|
|
5149 |
|
|
* configure.in: Handle user-specified bfd-assembler option with
|
5150 |
|
|
separate variable from preferred configuration, until the two are
|
5151 |
|
|
resolved. Indicate bfd_gas=preferred for linux a.out. Use
|
5152 |
|
|
AC_PROGRAM_TRANSFORM_NAME, for which a patch has been sent to djm.
|
5153 |
|
|
* Makefile.in (target_alias, program_transform_name): Define,
|
5154 |
|
|
using autoconf @-substitutions.
|
5155 |
|
|
|
5156 |
|
|
Wed Aug 31 17:43:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5157 |
|
|
|
5158 |
|
|
* atof-generic.c: Deleted alloca handling here.
|
5159 |
|
|
|
5160 |
|
|
* Makefile.in (prefix, exec_prefix): Use @-subtitutions.
|
5161 |
|
|
|
5162 |
|
|
* aclocal.m4 (AC_OUTPUT_LINKS): Deleted redefinition, since
|
5163 |
|
|
autoconf 1.109 has this fixed.
|
5164 |
|
|
* configure.in: Don't change quote characters around AC_MSG_ERROR
|
5165 |
|
|
invocation. Don't use AC_HEADER_STDC, since it requires running a
|
5166 |
|
|
program. Cache NEED_*_DECLARATION values.
|
5167 |
|
|
* configure, conf.in: Regenerated with a modified autoconf 1.109.
|
5168 |
|
|
|
5169 |
|
|
* as.h (volatile): Don't test or define here; not needed.
|
5170 |
|
|
(alloca): Replace alloca-conf.h inclusion with code recommended in
|
5171 |
|
|
autoconf documentation. Include config.h first.
|
5172 |
|
|
|
5173 |
|
|
Wed Aug 31 11:20:48 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5174 |
|
|
|
5175 |
|
|
* config/obj-coff.h (S_IS_DEFINED): Absolute symbols are defined
|
5176 |
|
|
also.
|
5177 |
|
|
|
5178 |
|
|
* configure.in, configure: Initialize bfd_gas to no.
|
5179 |
|
|
|
5180 |
|
|
Tue Aug 30 19:31:14 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5181 |
|
|
|
5182 |
|
|
* as.h: Include alloca-conf.h from "libiberty", not
|
5183 |
|
|
"../libiberty".
|
5184 |
|
|
|
5185 |
|
|
Mon Aug 29 16:11:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5186 |
|
|
|
5187 |
|
|
* config/tc-ppc.c (md_apply_fix): Don't generate a reloc when a
|
5188 |
|
|
symbol is used as an offset into a CSECT that is not a TOC. These
|
5189 |
|
|
types of loads are generated by gcc -mminimal-toc.
|
5190 |
|
|
|
5191 |
|
|
Sun Aug 28 13:22:52 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
|
5192 |
|
|
|
5193 |
|
|
* as.h (flag_*): Added comments describing meanings of some of
|
5194 |
|
|
these variables.
|
5195 |
|
|
(struct frag): Add some comments about the ns32k-specific fields
|
5196 |
|
|
and why they're here.
|
5197 |
|
|
(SIZEOF_STRUCT_FRAG): Cast addresses to char*, not int.
|
5198 |
|
|
(flag_print_statistics): Declare.
|
5199 |
|
|
|
5200 |
|
|
* as.c (parse_args): Set flag_print_statistics instead of
|
5201 |
|
|
statistics_flag. Options array is now const. Added new option
|
5202 |
|
|
"dump-config"; if specified, print TARGET_ALIAS, TARGET_CANONICAL,
|
5203 |
|
|
TARGET_CPU, TARGET_OBJ_FORMAT, and TARGET_FORMAT, if defined.
|
5204 |
|
|
(main): Change test to check flag_print_statistics.
|
5205 |
|
|
(statistics_flag): Deleted.
|
5206 |
|
|
|
5207 |
|
|
* frags.c (frag_variant): Removed PCREL_ADJUST and BSR arguments.
|
5208 |
|
|
Always initialize them to zero.
|
5209 |
|
|
* frags.h (frag_variant): Fixed prototype.
|
5210 |
|
|
* config/tc-i960.c (get_cdisp): Don't pass the extra zero args.
|
5211 |
|
|
* config/tc-ns32k.c (convert_iif): Don't pass the arguments; cache
|
5212 |
|
|
the value of frag_now and fill in the fields later.
|
5213 |
|
|
|
5214 |
|
|
* Makefile.in (distclean, realclean): Remove new
|
5215 |
|
|
configure-generated files.
|
5216 |
|
|
|
5217 |
|
|
Sat Aug 27 20:26:12 1994 Ken Raeburn (raeburn@kr-laptop.cygnus.com)
|
5218 |
|
|
|
5219 |
|
|
Conversion to autoconf:
|
5220 |
|
|
* acconfig.h, aclocal.m4: New files.
|
5221 |
|
|
* configure.in: Rewritten (except for some target-specific code)
|
5222 |
|
|
for autoconf.
|
5223 |
|
|
* conf.in, configure: New files, generated from the above.
|
5224 |
|
|
* Makefile.in: Changed magic sequence indicating insertion of
|
5225 |
|
|
makefile fragments.
|
5226 |
|
|
(VPATH, srcdir, CC, LIBS, OBJS dependencies): Use @-substitutions
|
5227 |
|
|
from configure.
|
5228 |
|
|
(LINKED_HEADERS): Deleted a.out.gnu.h, a.out.h, and host.h.
|
5229 |
|
|
(config.status, configure): Rewrite rules.
|
5230 |
|
|
(config-stamp): Depend on conf. Skip variables that configure is
|
5231 |
|
|
now substituting itself.
|
5232 |
|
|
(*.o dependencies): Deleted host.h.
|
5233 |
|
|
(distclean, realclean): Don't delete host.h.
|
5234 |
|
|
* as.c: Don't include stdio.h, string.h, sys/types.h. Include
|
5235 |
|
|
signal.h after as.h.
|
5236 |
|
|
* as.h: Include alloca-conf.h first. Include ctype.h, string.h,
|
5237 |
|
|
strings.h, stdlib.h, unistd.h, sys/types.h, fopen-bin.h,
|
5238 |
|
|
fopen-same.h, as suggested by autoconf test results.
|
5239 |
|
|
[BROKEN_ASSERT]: Don't include assert.h.
|
5240 |
|
|
(strdup): Declare.
|
5241 |
|
|
(volatile, const): Define if not __STDC__ and not already defined.
|
5242 |
|
|
(malloc, realloc) [NEED_MALLOC_DECLARATION]: Declare.
|
5243 |
|
|
(free) [NEED_FREE_DECLARATION]: Declare.
|
5244 |
|
|
* gasp.c: Include config.h, stdlib.h (if HAVE_STDLIB_H). Don't
|
5245 |
|
|
include host.h.
|
5246 |
|
|
(malloc) [NEED_MALLOC_DECLARATION]: Declare.
|
5247 |
|
|
* messages.c: Include as.h first. Include errno.h only if
|
5248 |
|
|
HAVE_ERRNO_H. If HAVE_VARARGS_H and not __STDC__, undefine
|
5249 |
|
|
HAVE_STDARG_H. Set NO_STDARG and NO_VARARGS as appropriate.
|
5250 |
|
|
* doc/Makefile.in (srcdir, INSTALL, INSTALL_PROGRAM,
|
5251 |
|
|
INSTALL_DATA): Use autoconf @-substitutions.
|
5252 |
|
|
|
5253 |
|
|
* input-file.c: Don't include assert.h here, 'cause as.h already
|
5254 |
|
|
includes it.
|
5255 |
|
|
|
5256 |
|
|
* config/tc-alpha.c: Added various prototypes for static
|
5257 |
|
|
functions.
|
5258 |
|
|
(in_range): New function, tests whether a value can fit in an
|
5259 |
|
|
N-bit field.
|
5260 |
|
|
(build_mem, build_operate_n): New functions for constructing
|
5261 |
|
|
opcode values.
|
5262 |
|
|
(emit_sll_n, emit_ldah_num, emit_addq_r, emit_lda_n): New
|
5263 |
|
|
functions for emitting single instructions, no longer requiring a
|
5264 |
|
|
recursive call to md_assemble.
|
5265 |
|
|
(emit_add64): New function for expanding a REG:=REG+CONST
|
5266 |
|
|
operation into one or more instructions, to handle wide constants.
|
5267 |
|
|
(clear_insn): New variable.
|
5268 |
|
|
(md_begin): Fill it in with zeros and BFD_RELOC_NONE values.
|
5269 |
|
|
(alpha_ip): Use it to initialize local variable insns.
|
5270 |
|
|
(alpha_ip, label "immediate" and cases 'P', 'G'): Use emit_add64
|
5271 |
|
|
for calculations.
|
5272 |
|
|
|
5273 |
|
|
Fri Aug 26 14:46:15 1994 Ken Raeburn (raeburn@kr-laptop.cygnus.com)
|
5274 |
|
|
|
5275 |
|
|
* subsegs.c (section_symbol): Reverse still-wrong test of
|
5276 |
|
|
EMIT_SECTION_SYMBOLS.
|
5277 |
|
|
|
5278 |
|
|
* write.c (BFD_FAST_SECTION_FILL): Always define.
|
5279 |
|
|
(write_contents): If fill_size is 1, use memset instead of looping
|
5280 |
|
|
calling memcpy.
|
5281 |
|
|
|
5282 |
|
|
Wed Aug 24 12:46:08 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5283 |
|
|
|
5284 |
|
|
* config/tc-mips.h (LOCAL_LABEL): Define as 0, for compatibility
|
5285 |
|
|
with native MIPS assembler.
|
5286 |
|
|
* configure.in (mips-*-irix*): Don't set emulation.
|
5287 |
|
|
* config/te-irix.h: Remove.
|
5288 |
|
|
|
5289 |
|
|
* ecoff.c (ecoff_symbol_new_hook): Don't add a new file if we
|
5290 |
|
|
haven't seen any input files yet.
|
5291 |
|
|
* config/tc-alpha.c (md_begin): Just call symbol_create, rather
|
5292 |
|
|
than calling symbol_new and then removing the symbol from the
|
5293 |
|
|
list.
|
5294 |
|
|
|
5295 |
|
|
* as.c (main): Move a inside the #if 0 block which uses it.
|
5296 |
|
|
* ecoff.c (current_stabs_filename): Make const.
|
5297 |
|
|
* frags.h (frag_align_pattern): Declare.
|
5298 |
|
|
* gasp.c (new_file): Cast isp to long, and use %ld to print it.
|
5299 |
|
|
* config/tc-alpha.h (md_operand): Add cast to void.
|
5300 |
|
|
(alpha_do_align): Declare argument types.
|
5301 |
|
|
(tc_get_register): Declare.
|
5302 |
|
|
(alpha_frob_ecoff_data): Declare.
|
5303 |
|
|
* config/tc-alpha.c: Include .
|
5304 |
|
|
(s_mask): Don't declare; does not exist.
|
5305 |
|
|
(line_comment_chars): Remove /* from descriptive comment.
|
5306 |
|
|
(tc_get_register): Remove unused local reg.
|
5307 |
|
|
(tc_gen_reloc): Don't bother to compare unsigned to zero.
|
5308 |
|
|
(s_base): Correct warning to actually print register number.
|
5309 |
|
|
(md_begin): Remove unused locals retval, lose, and i.
|
5310 |
|
|
(alpha_fix_adjustable): Move default case inside switch to avoid
|
5311 |
|
|
warning.
|
5312 |
|
|
(load_symbol_address): Remove unused locals reloc_addr, p, sym,
|
5313 |
|
|
and addend.
|
5314 |
|
|
(emit_byte_manip_r): Declare types for all arguments.
|
5315 |
|
|
(emit_extract_r, emit_insert_r, emit_mask_r): Likewise.
|
5316 |
|
|
(emit_sign_extend, emit_bis_r, s_proc): Likewise.
|
5317 |
|
|
(alpha_ip): Use sprint_value to print offsetT value. Remove
|
5318 |
|
|
unused local size. Remove unused label get_macro.
|
5319 |
|
|
(alpha_do_align): Make fill const.
|
5320 |
|
|
(md_apply_fix): Remove unused label check_zov.
|
5321 |
|
|
|
5322 |
|
|
* configure.in: Recognize i586 as a synonym for i[34]86.
|
5323 |
|
|
|
5324 |
|
|
Tue Aug 23 12:32:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5325 |
|
|
|
5326 |
|
|
* config/obj-coff.c (c_line_new): Change line_number argument from
|
5327 |
|
|
unsigned short to int so that the type in the prototype matches
|
5328 |
|
|
the promoted type in the definition.
|
5329 |
|
|
(stack_delete): Comment out; not used.
|
5330 |
|
|
* config/obj-coff.h (tc_coff_symbol_emit_hook): Declare if not
|
5331 |
|
|
BFD_ASSEMBLER, not if BFD_ASSEMBLER. Declare argument type.
|
5332 |
|
|
* config/tc-m68k.h (tc_coff_sizemachdep): Declare.
|
5333 |
|
|
* config/tc-m68k.c (tc_coff_symbol_emit_hook): Add ignored
|
5334 |
|
|
argument.
|
5335 |
|
|
|
5336 |
|
|
Tue Aug 16 01:48:20 1994 Jeff Law (law@snake.cs.utah.edu)
|
5337 |
|
|
|
5338 |
|
|
* gas/config/tc-hppa.c (pa_comm): Undo last change. Set sy_frag for
|
5339 |
|
|
the common symbol to the zero address frag (the correct fix).
|
5340 |
|
|
|
5341 |
|
|
Tue Aug 16 01:48:20 1994 Jeff Law (law@snake.cs.utah.edu)
|
5342 |
|
|
|
5343 |
|
|
* gas/config/tc-hppa.c (pa_comm): Undo last change. Set sy_frag for
|
5344 |
|
|
the common symbol to the zero address frag (the correct fix).
|
5345 |
|
|
|
5346 |
|
|
* config/tc-hppa.c (pa_comm): Set sy_resolved for the common
|
5347 |
|
|
symbol.
|
5348 |
|
|
|
5349 |
|
|
Fri Aug 12 17:51:48 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5350 |
|
|
|
5351 |
|
|
* config/tc-mips.c (md_begin): Drop "el" from the end of
|
5352 |
|
|
TARGET_CPU. Check for mips64orion.
|
5353 |
|
|
|
5354 |
|
|
Tue Aug 9 19:43:45 1994 Stu Grossman (grossman@cygnus.com)
|
5355 |
|
|
|
5356 |
|
|
* configure.in: Recognize ppc-*-netware.
|
5357 |
|
|
* config/te-ppcnw.h: New file to support Power-PC/Netware
|
5358 |
|
|
configurations. Currently, it just enables the use of backslash
|
5359 |
|
|
escapes in string directives.
|
5360 |
|
|
|
5361 |
|
|
Tue Aug 9 11:12:13 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5362 |
|
|
|
5363 |
|
|
* config/tc-ppc.c (ppc_stabx): Call expression directly, rather
|
5364 |
|
|
than via pseudo_set. If expression is a symbol, move stab symbol
|
5365 |
|
|
to just after symbol from expression.
|
5366 |
|
|
|
5367 |
|
|
* ecoff.c (ecoff_build_procs): Don't force adr of first fdr to be
|
5368 |
|
|
zero. Undoes change of June 4, 1993.
|
5369 |
|
|
|
5370 |
|
|
* config/tc-mips.c (md_parse_option): Accept -mcpu=4400, 4600, and
|
5371 |
|
|
orion.
|
5372 |
|
|
|
5373 |
|
|
Mon Aug 8 16:28:08 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
5374 |
|
|
|
5375 |
|
|
* as.h: Remove FOPEN_WB patch of Aug 6.
|
5376 |
|
|
* configure.in: Configure for ho-go32 correctly.
|
5377 |
|
|
* config/ho-go32.h: Fix copyright.
|
5378 |
|
|
|
5379 |
|
|
Mon Aug 8 11:59:51 1994 Jeff Law (law@snake.cs.utah.edu)
|
5380 |
|
|
|
5381 |
|
|
* gas/config/tc-hppa.c (md_pseudo_table): Delete redundant
|
5382 |
|
|
upper-case versions of the pseudo-ops.
|
5383 |
|
|
|
5384 |
|
|
Mon Aug 8 13:42:16 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5385 |
|
|
|
5386 |
|
|
* config/tc-sparc.c (md_apply_fix): If we are going to generate a
|
5387 |
|
|
non PC relative reloc, don't put the addend in the object file.
|
5388 |
|
|
|
5389 |
|
|
Sat Aug 6 01:15:02 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
5390 |
|
|
|
5391 |
|
|
* as.h: If FOPEN_WB is not defined, do the right thing in a go32
|
5392 |
|
|
environment.
|
5393 |
|
|
|
5394 |
|
|
Mon Jul 11 11:34:52 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
5395 |
|
|
|
5396 |
|
|
* config/tc-h8300.c (pint): New function for handling varying
|
5397 |
|
|
size of int pseudo op.
|
5398 |
|
|
* doc/as.texinfo: Fix typo describing .h8300h pseduop.
|
5399 |
|
|
|
5400 |
|
|
Mon Aug 1 02:40:43 1994 Jeff Law (law@snake.cs.utah.edu)
|
5401 |
|
|
|
5402 |
|
|
* config/tc-hppa.c (create_new_space): Initialize sd_subspaces
|
5403 |
|
|
field in the space chain.
|
5404 |
|
|
|
5405 |
|
|
* config/tc-hppa.c (tc_gen_reloc): Cast return value from
|
5406 |
|
|
hppa_gen_reloc_type.
|
5407 |
|
|
|
5408 |
|
|
Thu Jul 28 15:45:37 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5409 |
|
|
|
5410 |
|
|
* config/tc-sparc.c (sparc_ip): Check more carefully for
|
5411 |
|
|
conflicting architectures.
|
5412 |
|
|
(md_parse_option) [NO_V9]: Complain if v9 was selected.
|
5413 |
|
|
(md_show_usage): Derive architecture list in usage message from
|
5414 |
|
|
architecture_pname array.
|
5415 |
|
|
(cypress): Macro deleted.
|
5416 |
|
|
(op_hash): Don't initialize.
|
5417 |
|
|
(s_common): Use bfd_und_section_ptr instead of bfd_und_section.
|
5418 |
|
|
|
5419 |
|
|
* config/tc-sparc.c (BSR): New function.
|
5420 |
|
|
(sparc_ip): Use it for right-shift operations of 32 bits or more.
|
5421 |
|
|
|
5422 |
|
|
* config/tc-sparc.c (sparc_ip): Implement new operand type 'x'.
|
5423 |
|
|
|
5424 |
|
|
Tue Jul 26 18:21:24 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5425 |
|
|
|
5426 |
|
|
* config/obj-coff.h: Moved common includes and TARGET_FORMAT
|
5427 |
|
|
definitions together.
|
5428 |
|
|
(WORKING_DOT_WORD, WARN_SIGNED_OVERFLOW_WORD,
|
5429 |
|
|
OBJ_COFF_OMIT_OPTIONAL_HEADER, BFD_HEADERS, BFD) [!BFD_ASSEMBLER]:
|
5430 |
|
|
Moved these definitions to the start of the file, before the
|
5431 |
|
|
includes.
|
5432 |
|
|
(SYMBOLS_NEED_BACKPOINTERS, OBJ_COFF_MAX_AUXENTRIES): Always
|
5433 |
|
|
define these.
|
5434 |
|
|
(S_GET_ZEROES): Deleted.
|
5435 |
|
|
(S_SET_ZEROES): Moved to obj-coff.c.
|
5436 |
|
|
|
5437 |
|
|
* config/obj-coff.c (obj_coff_* psuedo-op fns): Deleted
|
5438 |
|
|
forward declarations.
|
5439 |
|
|
(obj_pseudo_table): Moved to one version end of file,
|
5440 |
|
|
conditionalized internally.
|
5441 |
|
|
(stack typedef, stack_init, stack_delete, stack_push, stack_pop,
|
5442 |
|
|
tag_hash, tag_init, tag_insert, tag_find, tag_find_or_make): Moved
|
5443 |
|
|
to one combined version at top of file, unconditional. Deleted
|
5444 |
|
|
forward declarations.
|
5445 |
|
|
(s_get_name): Moved one copy of declarations to start of file.
|
5446 |
|
|
(def_symbol_in_progress): Ditto. Don't initialize.
|
5447 |
|
|
(S_SET_ZEROES): Moved here from obj-coff.h.
|
5448 |
|
|
(write_object_file): If TC_COFF_SET_MACHINE is defined, call it on
|
5449 |
|
|
the file headers.
|
5450 |
|
|
|
5451 |
|
|
* config/obj-coff.c (seg_info_off_by_4): Now const and static.
|
5452 |
|
|
(SEG_INFO_FROM_SEG_NUMBER): Unused macro deleted.
|
5453 |
|
|
(previous_file_symbol, def_symbol_in_progress, symbol_externP,
|
5454 |
|
|
symbol_extern_lastP, last_functionP) [!BFD_ASSEMBLER]: Don't
|
5455 |
|
|
bother explicitly initializing to zero value.
|
5456 |
|
|
|
5457 |
|
|
* config/obj-coff.c (fixup_segment) [TC_I960]: Use SF_GET_BALNAME
|
5458 |
|
|
and SF_GET_CALLNAME instead of the TC_S_IS_ versions.
|
5459 |
|
|
|
5460 |
|
|
* config/tc-i960.h (TC_COFF_SET_MACHINE): New macro. Calls
|
5461 |
|
|
tc_headers_hook.
|
5462 |
|
|
|
5463 |
|
|
* config/tc-i960.c (targ_has_iclass): Use I_CX | I_CX2 where I_CX
|
5464 |
|
|
was used previously.
|
5465 |
|
|
(tc_headers_hook): If I_CX2 is found, set flags to F_I960CA.
|
5466 |
|
|
|
5467 |
|
|
* config/tc-i960.c (po_hash): Declaration deleted.
|
5468 |
|
|
(next_object_file_charP): Ditto.
|
5469 |
|
|
(regnames, aregs, coj): Now const.
|
5470 |
|
|
(parse_memop): Static array def_scale now const.
|
5471 |
|
|
(md_begin): Cast away const when passing hash routines addresses
|
5472 |
|
|
of values in regnames or aregs.
|
5473 |
|
|
(md_longopts): Added "link-relax" and "no-relax" hyphenated forms.
|
5474 |
|
|
Continue to accept one-word forms.
|
5475 |
|
|
(struct tabentry, arch_tab): Moved to top level from inside
|
5476 |
|
|
md_parse_option. Now const.
|
5477 |
|
|
(md_show_usage): Use arch_tab to generate usage message. Print
|
5478 |
|
|
hyphenated forms of relax options.
|
5479 |
|
|
|
5480 |
|
|
* config/tc-i960.h (DEFINE_I960_AOUT, TC_S_IS_*, TC_S_*_SYSPROC,
|
5481 |
|
|
TC_S_FORCE_TO_*): Moved from here...
|
5482 |
|
|
* config/tc-i960.c: ... to here. Changed DEFINE_I960_AOUT stuff
|
5483 |
|
|
to test OBJ_AOUT and OBJ_BOUT directly.
|
5484 |
|
|
|
5485 |
|
|
* config/tc-i960.h (CTRL, COBR, COJ, REG, MEM*, FBRA, CALLJ,
|
5486 |
|
|
M1-M3, REG_OPC, R_*, SFR, LIT, FP, OP, R, RS, RL, RSL, F,
|
5487 |
|
|
{R,F}{,L}{2,4}, M, SFR_OK, LIT_OK, FP_OK, REG_ALIGN, MEMOP, I_*):
|
5488 |
|
|
Macros deleted.
|
5489 |
|
|
|
5490 |
|
|
* config/tc-i960.c (ARCH_JX): Define.
|
5491 |
|
|
(arch_tab): Include JX.
|
5492 |
|
|
(targ_has_sfr, targ_has_iclass): Handle JX.
|
5493 |
|
|
(tc_headers_hook): Set flags to F_I960JX for i960JX.
|
5494 |
|
|
|
5495 |
|
|
Fri Jul 15 15:36:51 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5496 |
|
|
|
5497 |
|
|
* subsegs.c (section_symbol): Had last change backwards.
|
5498 |
|
|
|
5499 |
|
|
Thu Jul 14 13:21:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5500 |
|
|
|
5501 |
|
|
* config/atof-ns32k.c: Deleted.
|
5502 |
|
|
|
5503 |
|
|
* config/obj-aout.c (obj_aout_frob_symbol): Use
|
5504 |
|
|
bfd_ind_section_ptr and bfd_und_section_ptr.
|
5505 |
|
|
|
5506 |
|
|
* subsegs.c (subseg_set_rest): Compare segT values directly,
|
5507 |
|
|
without casting to int first.
|
5508 |
|
|
|
5509 |
|
|
* config/tc-ns32k.c (md_begin): Return value from hash_insert
|
5510 |
|
|
should be pointer to const. Don't call exit explicitly after
|
5511 |
|
|
calling as_fatal; it won't return.
|
5512 |
|
|
(convert_iif): Make local variable j be pointer to bit_fixS, since
|
5513 |
|
|
that's how it's used.
|
5514 |
|
|
(encode_operand, case 'b'): Ignore sprintf return value. Don't try
|
5515 |
|
|
converting freeptr to int and back.
|
5516 |
|
|
|
5517 |
|
|
Merged in NS32K support update from Ian Dall (dall@hfrd.dsto.gov.au):
|
5518 |
|
|
|
5519 |
|
|
* config/te-pc532mach.h: New file. pc532-mach target emulation.
|
5520 |
|
|
|
5521 |
|
|
* config/te-netbsd532.h: New file. Netbsd532 target emulation.
|
5522 |
|
|
|
5523 |
|
|
* config/tc-ns32k.h: Add definition of NOP_OPCODE.
|
5524 |
|
|
|
5525 |
|
|
* config/tc-ns32k.h: Add prototype for fix_new_ns32k_exp.
|
5526 |
|
|
|
5527 |
|
|
* config/tc-ns32k.h: Add BFD_ASSEMBLER support.
|
5528 |
|
|
|
5529 |
|
|
* config/tc-ns32k.c (tc_gen_reloc): New function for BFD_ASSEMBLER.
|
5530 |
|
|
|
5531 |
|
|
* config/tc-ns32k.c (fix_new_ns32k_exp): Get reloc type
|
5532 |
|
|
differently for BFD_ASSEMBLER.
|
5533 |
|
|
|
5534 |
|
|
* config/tc-ns32k.c (md_estimate_size_before_relax): Get reloc
|
5535 |
|
|
type differently for BFD_ASSEMBLER.
|
5536 |
|
|
|
5537 |
|
|
* config/tc-ns32k.c (md_create_long_jump): Size of opcode is one
|
5538 |
|
|
not 2.
|
5539 |
|
|
|
5540 |
|
|
* config/tc-ns32k.c (md_convert_frag): Code for the BFD_ASSEMBLER
|
5541 |
|
|
case. Also use smart md_pcrel_adjust function.
|
5542 |
|
|
|
5543 |
|
|
* config/tc-ns32k.c (md_apply_fix): Code for the BFD_ASSEMBLER
|
5544 |
|
|
case. Also use smart md_fix_pcrel_adjust function.
|
5545 |
|
|
|
5546 |
|
|
* config/tc-ns32k.c (md_fix_pcrel_adjust): New function which can
|
5547 |
|
|
find offset from opcode to operand even if in another frag
|
5548 |
|
|
and in the presence of relaxing.
|
5549 |
|
|
|
5550 |
|
|
* config/tc-ns32k.c (md_pcrel_adjust): New function which can
|
5551 |
|
|
find offset from opcode to operand even if in another frag
|
5552 |
|
|
and in the presence of relaxing.
|
5553 |
|
|
|
5554 |
|
|
* config/tc-ns32k.c (md_number_to_disp): Check ranges properly.
|
5555 |
|
|
|
5556 |
|
|
* config/tc-ns32k.c (md_atof): use atof_ieee instead of special
|
5557 |
|
|
atof_ns32k.
|
5558 |
|
|
|
5559 |
|
|
* config/tc-ns32k.c (reloc): New (static) function for
|
5560 |
|
|
BFD_ASSEMBLER.
|
5561 |
|
|
|
5562 |
|
|
* config/tc-ns32k.c (convert_iif): More correct pc relative code.
|
5563 |
|
|
md_relax must be able to find opcode address even if in another frag.
|
5564 |
|
|
|
5565 |
|
|
* config/tc-ns32k.c: More extensive comments.
|
5566 |
|
|
|
5567 |
|
|
* config/tc-ns32k.c (encode_operand): Support new operand classes I
|
5568 |
|
|
and Z. Drop Q.
|
5569 |
|
|
|
5570 |
|
|
* config/tc-ns32k.c (fix_new_ns32k_exp): new function and
|
5571 |
|
|
corresponding prototype.
|
5572 |
|
|
|
5573 |
|
|
* config/tc-ns32k.c: make 32532 default machine instead of 32032.
|
5574 |
|
|
|
5575 |
|
|
* config/tc-ns32k.c: include opcode/ns32k.h after as.h
|
5576 |
|
|
|
5577 |
|
|
* aout_gnu.h: r_disp needs to be 2 bits for TC_NS32K
|
5578 |
|
|
|
5579 |
|
|
* write.h: fx_im_disp needs to be 2 bits big for TC_NS32K
|
5580 |
|
|
|
5581 |
|
|
* write.c (relax_segment): Use TC_PCREL_ADJUST macro (if defined)
|
5582 |
|
|
instead of adding pcrel_adjust.
|
5583 |
|
|
|
5584 |
|
|
* write.c (write_object_file): Adjust to_addr for the
|
5585 |
|
|
BROKEN_DOT_WORD feature for the BFD_ASSEMBLER case.
|
5586 |
|
|
|
5587 |
|
|
* write.c (write_object_file): Use TC_CONS_FIX_NEW if it is defined.
|
5588 |
|
|
|
5589 |
|
|
* write.c (write_contents): Add code (currently if
|
5590 |
|
|
BFD_FAST_SECTION_FILL is defined) to make large fills a lot faster.
|
5591 |
|
|
|
5592 |
|
|
* configure.in: Remove ns32k from special FP list. All the ns32k
|
5593 |
|
|
series use ieee float.
|
5594 |
|
|
|
5595 |
|
|
* configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd targets
|
5596 |
|
|
|
5597 |
|
|
* as.h: include expr.h before targ-env.h. Some target dependent file
|
5598 |
|
|
want to use expr structures.
|
5599 |
|
|
|
5600 |
|
|
Wed Jul 13 14:49:05 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5601 |
|
|
|
5602 |
|
|
* config/tc-m68k.c (m68k_ip): Change rp to be a const pointer.
|
5603 |
|
|
(md_parse_option): Clear cpu field of current_architecture before
|
5604 |
|
|
setting a new cpu type. Clear no_68881 for m68881 or m68882.
|
5605 |
|
|
Clear no_68851 for m68851.
|
5606 |
|
|
|
5607 |
|
|
Tue Jul 12 21:27:05 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5608 |
|
|
|
5609 |
|
|
* config/ho-sysv.h (realloc): Declare.
|
5610 |
|
|
|
5611 |
|
|
* symbols.c (symbol_create): New function, most of the guts of the
|
5612 |
|
|
old symbol_new function.
|
5613 |
|
|
(symbol_new): Now just checks symbol_table_frozen, calls
|
5614 |
|
|
symbol_create, and enters the symbol into the symbol table.
|
5615 |
|
|
* subsegs.c (section_symbol): If EMIT_SECTION_SYMBOLS is not true,
|
5616 |
|
|
and the symbol table is frozen, call symbol_create instead of
|
5617 |
|
|
symbol_new.
|
5618 |
|
|
* symbols.h (symbol_create, symbol_table_frozen): Declare.
|
5619 |
|
|
|
5620 |
|
|
* symbols.c (symbol_clear_list_pointers): Always a function now.
|
5621 |
|
|
* struc-symbol.h (symbol_clear_list_pointers): Deleted macro
|
5622 |
|
|
version.
|
5623 |
|
|
|
5624 |
|
|
* symbols.c (debug_verify_symchain): New macro, defined to be
|
5625 |
|
|
verify_symbol_chain or a cast to void, depending on DEBUG_SYMS.
|
5626 |
|
|
(many functions): Invoke debug_verify_symchain unconditionally.
|
5627 |
|
|
|
5628 |
|
|
Tue Jul 12 12:06:42 1994 Kung Hsu (kung@x1.cygnus.com)
|
5629 |
|
|
|
5630 |
|
|
* config/obj-ecoff.h: change calling interface of
|
5631 |
|
|
OBJ_GENERATE_ASM_LINE_STAB.
|
5632 |
|
|
* config/obj-elf.h: ditto.
|
5633 |
|
|
* read.c (read_a_source_file): ditto.
|
5634 |
|
|
* ecoff.h: change calling interface of
|
5635 |
|
|
ecoff_generate_asm_line_stab.
|
5636 |
|
|
* ecoff.c (add_file): record of filename to handle case of include
|
5637 |
|
|
files, also change default built-in type from int to void for
|
5638 |
|
|
asm file.
|
5639 |
|
|
* ecoff.c (ecoff_generate_asm_line_stab): handle case of include
|
5640 |
|
|
files.
|
5641 |
|
|
|
5642 |
|
|
Mon Jul 11 17:20:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5643 |
|
|
|
5644 |
|
|
* config/tc-mips.c (macro): In case M_LA_AB, SVR4_PIC, large
|
5645 |
|
|
constant, and case ldd_std, set mips_optimize to 2 temporarily to
|
5646 |
|
|
avoid inserting an unexpected nop instruction.
|
5647 |
|
|
|
5648 |
|
|
Sat Jul 9 00:05:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5649 |
|
|
|
5650 |
|
|
* ecoff.c (ecoff_build_lineno): Handle count correctly for last
|
5651 |
|
|
line number.
|
5652 |
|
|
|
5653 |
|
|
Fri Jul 8 15:22:07 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
5654 |
|
|
|
5655 |
|
|
* gasp.c (process_pseudo_op): Pass right args to do do_aif.
|
5656 |
|
|
(get_any_string): New arg 'pretend_quote'.
|
5657 |
|
|
(get_and_process, do_formals, macro_expand, do_sdata,
|
5658 |
|
|
process_pseudo_op): Use new arg.
|
5659 |
|
|
|
5660 |
|
|
Fri Jul 8 12:23:44 1994 Kung Hsu (kung@mexican.cygnus.com)
|
5661 |
|
|
|
5662 |
|
|
* config/obj-ecoff.h: define macro OBJ_GENERATE_ASM_LINE_STAB.
|
5663 |
|
|
* config/obj-elf.h: ditto.
|
5664 |
|
|
* read.c (read_a_source_file): generate line stabs for asm file.
|
5665 |
|
|
* read.h: add extern generate_asm_line_stab.
|
5666 |
|
|
* ecoff.h : add prototype for ecoff_generate_asm_line_stab().
|
5667 |
|
|
* ecoff.c (add_file): if there's no filename provided, set switch
|
5668 |
|
|
to generate line stabs for .s file.
|
5669 |
|
|
* ecoff.c (add_procedure): add stabs symbol for .ent directive.
|
5670 |
|
|
* ecoff.c (generate_ecoff_stab): creates an artificial stabs.
|
5671 |
|
|
* ecoff.c (generate_asm_line_stab): generate a artifitial label
|
5672 |
|
|
for each line and generate a stabn for the line.
|
5673 |
|
|
|
5674 |
|
|
Thu Jul 7 17:04:03 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
5675 |
|
|
|
5676 |
|
|
* gasp.c (get_any_string): Cope with getting a string with an
|
5677 |
|
|
alternate base specifier.
|
5678 |
|
|
(do_aif, do_aelse): Only enable output if expression is true and previous
|
5679 |
|
|
level was on.
|
5680 |
|
|
(chartype_init): Add BASEBIT chartype.
|
5681 |
|
|
(process_pseudo_op): Notice nesteed AIFs.
|
5682 |
|
|
|
5683 |
|
|
Thu Jul 7 12:30:22 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
5684 |
|
|
|
5685 |
|
|
* h8300.c (do_a_fix_imm): Code for 2 bit reloc type using in trapa
|
5686 |
|
|
insn. (fix pr 5165, 5174)
|
5687 |
|
|
|
5688 |
|
|
Thu Jul 7 11:31:32 1994 Jeff Law (law@snake.cs.utah.edu)
|
5689 |
|
|
|
5690 |
|
|
* config/tc-hppa.c (R_DLT_REL): If it isn't defined, then define
|
5691 |
|
|
to an appropriate value to avoid losing on old hpux systems.
|
5692 |
|
|
|
5693 |
|
|
* config/tc-hppa.c (hppa_fix_adjustable): Reject reductions for
|
5694 |
|
|
symbols in DLT relative relocs.
|
5695 |
|
|
(tc_gen_reloc): Zero out the addend field for DLT relative relocs.
|
5696 |
|
|
|
5697 |
|
|
Wed Jul 6 01:07:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5698 |
|
|
|
5699 |
|
|
* config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry to
|
5700 |
|
|
align to a four byte boundary.
|
5701 |
|
|
|
5702 |
|
|
Tue Jul 5 15:42:09 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5703 |
|
|
|
5704 |
|
|
* config/tc-alpha.c (load_expression): Handle 32-bit addends.
|
5705 |
|
|
(gpdisp_hi16_howto): Now points to const.
|
5706 |
|
|
(load_insn_table, alpha_ip): Fix uses of const.
|
5707 |
|
|
|
5708 |
|
|
* doc/internals.texi: Updates to COFF description. Added "@end
|
5709 |
|
|
defmac" as needed, and some extra heading and "@bye" so it'll
|
5710 |
|
|
format as a separate document.
|
5711 |
|
|
|
5712 |
|
|
Tue Jul 5 13:54:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5713 |
|
|
|
5714 |
|
|
* config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.
|
5715 |
|
|
* config/obj-elf.c (obj_elf_common): Set alignment of common
|
5716 |
|
|
symbol.
|
5717 |
|
|
* config/tc-sparc.c (s_common): If OBJ_ELF, set alignment of
|
5718 |
|
|
common symbol.
|
5719 |
|
|
|
5720 |
|
|
Mon Jul 4 18:29:43 1994 Jeff Law (law@snake.cs.utah.edu)
|
5721 |
|
|
|
5722 |
|
|
* config/tc-hppa.c (is_complex): New macro.
|
5723 |
|
|
(cons_fix_new_hppa): "Handle" complex expressions.
|
5724 |
|
|
|
5725 |
|
|
Fri Jul 1 00:48:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5726 |
|
|
|
5727 |
|
|
* config/obj-coff.c (write_object_file): Set s_align field from
|
5728 |
|
|
section_alignment array.
|
5729 |
|
|
|
5730 |
|
|
Thu Jun 30 15:05:28 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5731 |
|
|
|
5732 |
|
|
* write.c (write_object_file): Use bfd_com_section_ptr.
|
5733 |
|
|
* as.h (absolute_section, undefined_section): Use new BFD macros
|
5734 |
|
|
bfd_abs_section_ptr and bfd_und_section_ptr.
|
5735 |
|
|
|
5736 |
|
|
Thu Jun 30 14:36:37 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5737 |
|
|
|
5738 |
|
|
* config/tc-mips.c (macro): For M_LI_SS, decide how to handle it
|
5739 |
|
|
based on contents of imm_expr and offset_expr, rather than
|
5740 |
|
|
mips_pic. For M_LI_DD, decide how to handle it based on segment
|
5741 |
|
|
name of offset_expr, rather than mips_pic.
|
5742 |
|
|
(mips_ip): If g_switch_value < 4, use immediate values for 'l'.
|
5743 |
|
|
If g_switch_value < 8, use .rdata rather than .lit for 'L'.
|
5744 |
|
|
|
5745 |
|
|
Wed Jun 29 17:30:46 1994 Stan Shebs (shebs@andros.cygnus.com)
|
5746 |
|
|
|
5747 |
|
|
* as.c (show_usage): Break long string into shorter ones.
|
5748 |
|
|
(parse_args): Add -v, prints version id and continues.
|
5749 |
|
|
* config/tc-mips.c (md_show_usage): Break long string.
|
5750 |
|
|
|
5751 |
|
|
Mon Jun 27 09:47:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
|
5752 |
|
|
|
5753 |
|
|
* config/tc-i386.c (md_parse_option): Handle "-V" and "-Q" if
|
5754 |
|
|
OBJ_ELF is defined.
|
5755 |
|
|
|
5756 |
|
|
Sun Jun 26 16:30:48 1994 Stan Shebs (shebs@andros.cygnus.com)
|
5757 |
|
|
|
5758 |
|
|
* as.c (main) [HOST_SPECIAL_INIT]: New hook, for host-specific
|
5759 |
|
|
initialization.
|
5760 |
|
|
|
5761 |
|
|
Wed Jun 22 00:24:55 1994 Jeff Law (law@snake.cs.utah.edu)
|
5762 |
|
|
|
5763 |
|
|
* config/tc-hppa.h (obj_frob_symbol): Define for OBJ_ELF.
|
5764 |
|
|
More gas/bfd lossage exposed by the new linker code.
|
5765 |
|
|
|
5766 |
|
|
Tue Jun 21 11:32:18 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5767 |
|
|
|
5768 |
|
|
* subsegs.c (subseg_change): Clear seginfo after allocating it.
|
5769 |
|
|
(subseg_get): Pass actual size of seginfo to memset.
|
5770 |
|
|
|
5771 |
|
|
* subsegs.c (abs_seg_info, und_seg_info): Define if BFD_ASSEMBLER.
|
5772 |
|
|
(subseg_change): Store seg_info for bfd_abs_section_ptr in
|
5773 |
|
|
abs_seg_info, and store seg_info for bfd_und_section_ptr in
|
5774 |
|
|
und_seg_info.
|
5775 |
|
|
(subseg_get): Likewise. Also, don't set output_section if it is
|
5776 |
|
|
already set.
|
5777 |
|
|
(seg_info): Define as function.
|
5778 |
|
|
* subsegs.h (seg_info): Declare as function rather than defining
|
5779 |
|
|
as macro.
|
5780 |
|
|
* write.c (relax_and_size_seg): Call seg_info rather than
|
5781 |
|
|
bfd_get_section_userdata.
|
5782 |
|
|
|
5783 |
|
|
Mon Jun 20 16:30:54 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5784 |
|
|
|
5785 |
|
|
* configure.in (ppc-*-elf*): New target, like -sysv4*.
|
5786 |
|
|
|
5787 |
|
|
* expr.c (operand): If "0f" is followed by '\0', don't do eol
|
5788 |
|
|
checks.
|
5789 |
|
|
|
5790 |
|
|
Mon Jun 20 15:17:43 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
5791 |
|
|
|
5792 |
|
|
* ecoff.c (ecoff_build_aux): Call swap_tir_out and swap_rndx_out
|
5793 |
|
|
via backend pointer, not directly.
|
5794 |
|
|
|
5795 |
|
|
Fri Jun 17 18:05:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5796 |
|
|
|
5797 |
|
|
* Makefile.in (config-stamp): Make sure there is at least one
|
5798 |
|
|
element in the for loop.
|
5799 |
|
|
|
5800 |
|
|
Fri Jun 17 11:01:04 1994 Jeff Law (law@snake.cs.utah.edu)
|
5801 |
|
|
|
5802 |
|
|
* config/tc-hppa.c: Misc trivial changes to make gcc -Wall happy.
|
5803 |
|
|
|
5804 |
|
|
* config/tc-hppa.h (elf_hppa_final_processing): Declare.
|
5805 |
|
|
|
5806 |
|
|
Wed Jun 15 20:44:46 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5807 |
|
|
|
5808 |
|
|
* as.c (parse_args): Cast xmalloc return value.
|
5809 |
|
|
|
5810 |
|
|
* Makefile.in (config-stamp): If $(defs) contains multiple words,
|
5811 |
|
|
emit a #define line for each.
|
5812 |
|
|
* configure.in: For sparc64 target, use sparc cpu files and add
|
5813 |
|
|
sparcv9 to extra_defs. No longer treat sparc64-*-aout* specially.
|
5814 |
|
|
|
5815 |
|
|
* config/tc-sparc.c (membar_masks): Now static and const.
|
5816 |
|
|
(md_show_usage) [!NO_V9]: Add -Av9 to usage message.
|
5817 |
|
|
(current_architecture) [sparcv9]: Initialize to v9.
|
5818 |
|
|
(md_begin) [sparcv9]: Don't bother changing it unconditionally
|
5819 |
|
|
here.
|
5820 |
|
|
(s_reserve): Don't pass unexpected argument to as_bad with
|
5821 |
|
|
bad-segment message.
|
5822 |
|
|
|
5823 |
|
|
* as.h (bfd_alloc_by_size_t) [BFD_ASSEMBLER]: Declare.
|
5824 |
|
|
|
5825 |
|
|
* config/atof-ieee.c (int_to_gen): Commented out unused routine.
|
5826 |
|
|
|
5827 |
|
|
* config/tc-vax.c (md_assemble): Removed check of operand section.
|
5828 |
|
|
|
5829 |
|
|
Fri Jun 3 17:25:08 1994 Pat Rankin (rankin@eql.caltech.edu)
|
5830 |
|
|
|
5831 |
|
|
* config/obj-vms.h (DBG_S_C_COMPLX4, DBG_S_C_COMPLX8): define
|
5832 |
|
|
these new VMS symbol-type macros for `complex float' and
|
5833 |
|
|
`complex double' support. Their values come from the existing
|
5834 |
|
|
DSC$K_DTYPE_FC and DSC$K_DTYPE_DC macros in .
|
5835 |
|
|
(DBG_S_C_REAL8_G, DBG_S_C_COMPLX8_G): G_float versions of
|
5836 |
|
|
REAL8 and COMPLX8; not used yet, because gcc outputs the same
|
5837 |
|
|
.stabs for `double' regardless of whether `-mg' is used.
|
5838 |
|
|
* config/obj-vms.c (VMS_typedef_parse) [case 'r']: add entries
|
5839 |
|
|
for gcc2's predefined types "complex float", "complex double",
|
5840 |
|
|
and "complex long double" (identical to complex double).
|
5841 |
|
|
|
5842 |
|
|
Wed Jun 15 12:32:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5843 |
|
|
|
5844 |
|
|
* config/obj-coff.c (coff_frob_symbol): Use C_STAT for the .text
|
5845 |
|
|
section symbol, not C_LABEL.
|
5846 |
|
|
|
5847 |
|
|
* config/tc-mips.c (mips_ip): Permit a modifier in 'o' case, and
|
5848 |
|
|
permit non constant expressions in 'u' case. Lets ``lui
|
5849 |
|
|
$8,%hi(foo); lw $8,%lo(foo)($8)'' work correctly.
|
5850 |
|
|
|
5851 |
|
|
Mon Jun 13 12:08:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5852 |
|
|
|
5853 |
|
|
* config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
|
5854 |
|
|
to put a common symbol in a set.
|
5855 |
|
|
|
5856 |
|
|
Sat Jun 11 16:41:21 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5857 |
|
|
|
5858 |
|
|
Add weak symbols as an extension to a.out.
|
5859 |
|
|
* read.c (pseudo_set): Only preserve external bit for OBJ_AOUT and
|
5860 |
|
|
OBJ_BOUT if not BFD_ASSEMBLER.
|
5861 |
|
|
* config/aout_gnu.h (N_WEAKU, N_WEAKA, N_WEAKT, N_WEAKD, N_WEAKB):
|
5862 |
|
|
Define as in ../include/aout/aout64.h.
|
5863 |
|
|
* config/obj-aout.h (OBJ_SYMFIELD_TYPE): If not BFD_ASSEMBLER,
|
5864 |
|
|
define as char.
|
5865 |
|
|
(S_GET_WEAK, S_SET_WEAK): Define if not BFD_ASSEMBLER.
|
5866 |
|
|
* config/obj-aout.c (obj_pseudo_table): Add "weak".
|
5867 |
|
|
(obj_emit_symbols): Adjust type of weak symbols.
|
5868 |
|
|
(obj_aout_weak): New static function.
|
5869 |
|
|
|
5870 |
|
|
Fri Jun 10 13:48:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5871 |
|
|
|
5872 |
|
|
* config/obj-elf.c (obj_elf_section): Don't set any flags based on
|
5873 |
|
|
the type of a special section.
|
5874 |
|
|
|
5875 |
|
|
* config/ho-sunos.h: Include . Don't declare malloc,
|
5876 |
|
|
realloc, free, or atol.
|
5877 |
|
|
|
5878 |
|
|
Wed Jun 8 06:28:37 1994 Bill Cox (bill@cygnus.com)
|
5879 |
|
|
|
5880 |
|
|
* Makefile.in (check): Delete as.new dependency, so that
|
5881 |
|
|
regression test doesn't trigger an assembler build.
|
5882 |
|
|
|
5883 |
|
|
Tue Jun 7 13:33:18 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5884 |
|
|
|
5885 |
|
|
* Makefile.in (mostlyclean, realclean): New targets.
|
5886 |
|
|
* doc/Makefile.in, testsuite/Makefile.in: Likewise.
|
5887 |
|
|
|
5888 |
|
|
Mon Jun 6 13:10:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5889 |
|
|
|
5890 |
|
|
* config/tc-mips.c (RDATA_SECTION_NAME): Define.
|
5891 |
|
|
(macro): Correct M_LI_SS SVR4_PIC/EMBEDDED_PIC case. After M_LI_D
|
5892 |
|
|
or M_L_DOB or label dob, force a new frag to avoid getting
|
5893 |
|
|
confused in tc_gen_reloc.
|
5894 |
|
|
(mips_ip): Use RDATA_SECTION_NAME, not .rdata.
|
5895 |
|
|
(s_change_sec): Likewise.
|
5896 |
|
|
|
5897 |
|
|
Fri Jun 3 23:35:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5898 |
|
|
|
5899 |
|
|
* read.c (emit_expr): Use memset to zero out memory, rather than
|
5900 |
|
|
going through md_number_to_chars. This permits handling symbolic
|
5901 |
|
|
arguments when the size is larger than sizeof (valueT), if
|
5902 |
|
|
TC_CONS_FIX_NEW is prepared to handle the case (as it is on MIPS).
|
5903 |
|
|
|
5904 |
|
|
Fri Jun 3 12:50:13 1994 David J. MacKenzie (djm@rtl.cygnus.com)
|
5905 |
|
|
|
5906 |
|
|
* as.c (show_usage), config/tc-alpha.c (md_show_usage),
|
5907 |
|
|
config/tc-mips.c (md_show_usage): Fix up messages.
|
5908 |
|
|
|
5909 |
|
|
* as.h: Replace flagseen with separate variables.
|
5910 |
|
|
* as.c (parse_args): Set them. Don't accept -1 option, or -v
|
5911 |
|
|
explicitly (it's a synonym for --version).
|
5912 |
|
|
* as.c, input-scrub.c, messages.c, read.c, symbols.c, write.c,
|
5913 |
|
|
config/obj-aout.c, config/obj-aout.h, config/obj-bout.c,
|
5914 |
|
|
config/obj-bout.h, config/obj-coff.c, config/obj-coff.h,
|
5915 |
|
|
config/obj-vms.c, config/tc-hppa.c, config/tc-i386.c,
|
5916 |
|
|
config/tc-i960.c, config/tc-m68k.c, config/tc-mips.c,
|
5917 |
|
|
config/tc-vax.c: Use the new flag variables instead of flagseen.
|
5918 |
|
|
* config/tc-vax.c [OBJ_VMS]: Recognize -+, -1, -v, and document in
|
5919 |
|
|
usage.
|
5920 |
|
|
|
5921 |
|
|
* as.c (show_usage): Remove target specific messages;
|
5922 |
|
|
instead, call md_show_usage.
|
5923 |
|
|
(parse_args): Use getopt_long_only. Take pointers to argc and
|
5924 |
|
|
argv.
|
5925 |
|
|
(main): Pass parse_args pointers.
|
5926 |
|
|
* as.h: Remove 3 variables that are redundant with flagseen.
|
5927 |
|
|
* as.c, messages.c: Change their users to use flagseen.
|
5928 |
|
|
Define getopt stuff.
|
5929 |
|
|
* tc.h: Update md_parse_option decl. Add md_show_usage decl.
|
5930 |
|
|
* config/tc-*.c: Add md_shortopts, md_longopts,
|
5931 |
|
|
md_longopts_size, md_show_usage. Change calling convention for
|
5932 |
|
|
md_parse_option. Remove md_parse_long_option.
|
5933 |
|
|
* config/tc-ns32k.c: Rename `struct option' to `struct ns32k_option'.
|
5934 |
|
|
* config/tc-i386.h: Don't define md_parse_option.
|
5935 |
|
|
|
5936 |
|
|
Thu Jun 2 13:54:46 1994 David J. Mackenzie (djm@rtl.cygnus.com)
|
5937 |
|
|
|
5938 |
|
|
* as.c (show_usage): New function.
|
5939 |
|
|
(parse_args): Code moved from main.
|
5940 |
|
|
Recognize --help and --version.
|
5941 |
|
|
* config/tc-ns32k.h: Define TC_NS32K.
|
5942 |
|
|
* doc/as.texinfo: Document all of the target-independent command
|
5943 |
|
|
line options.
|
5944 |
|
|
|
5945 |
|
|
Thu Jun 2 12:07:25 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
5946 |
|
|
|
5947 |
|
|
* gasp.c (hash_new_table): Clear newly allocated table.
|
5948 |
|
|
|
5949 |
|
|
* config/tc-m68k.c (enum _register): Add 68060 control registers
|
5950 |
|
|
BUSCR and PCR.
|
5951 |
|
|
(last_movec_reg): New macro.
|
5952 |
|
|
(m68000_control_regs, m68010_control_regs, m68020_control_regs,
|
5953 |
|
|
m68040_control_regs, m68060_control_regs): New arrays.
|
5954 |
|
|
(control_regs): New pointer.
|
5955 |
|
|
(m68k_ip): Use control_regs instead of testing CPU every time.
|
5956 |
|
|
Use last_movec_reg too. In error messages, handle 68060, and
|
5957 |
|
|
print 68060 for mfloat, too.
|
5958 |
|
|
(m68k_init_after_args): Handle "68060". Use m68040up for making
|
5959 |
|
|
m68851 choice. Set control_regs.
|
5960 |
|
|
(md_parse_option): Handle "68060".
|
5961 |
|
|
* configure.in: Setting cpu_type, recognize m68060 too.
|
5962 |
|
|
|
5963 |
|
|
* config/obj-coff.c (fixup_segment) [!BFD_ASSEMBLER]
|
5964 |
|
|
[DIFF_EXPR_OK]: Do conversion to pc-relative for difference, even
|
5965 |
|
|
if pcrel is already set.
|
5966 |
|
|
|
5967 |
|
|
* read.c (potable): Add this_gcc_requires_the_gnu_assembler in all
|
5968 |
|
|
lower-case, in case we're ignoring case of opcodes in the input
|
5969 |
|
|
file.
|
5970 |
|
|
|
5971 |
|
|
* doc/as.texinfo (.section): Document as unavailable for a.out
|
5972 |
|
|
type formats.
|
5973 |
|
|
|
5974 |
|
|
* config/tc-alpha.c (machine): New variable.
|
5975 |
|
|
(load_insn): New macro.
|
5976 |
|
|
(load_insn_table): New function.
|
5977 |
|
|
(md_begin): Call load_insn_table, once for basic instructions and
|
5978 |
|
|
once for appropriate PAL instruction table.
|
5979 |
|
|
(md_parse_option): Set `machine' based on -m##### arguments.
|
5980 |
|
|
* config/alpha-opcode.h (alpha_pal21064_opcodes): Split out from
|
5981 |
|
|
alpha_opcodes.
|
5982 |
|
|
(alpha_pal21164_opcodes): New table.
|
5983 |
|
|
(NUM21064OPCODES, NUM21164OPCODES): New macros.
|
5984 |
|
|
|
5985 |
|
|
* configure.in (target i386-*-netbsd0.8): Use 386bsd emulation.
|
5986 |
|
|
|
5987 |
|
|
* doc/Makefile.in (install-info-gasp): Use $$dir when installing
|
5988 |
|
|
file.
|
5989 |
|
|
|
5990 |
|
|
Wed Jun 1 10:48:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
5991 |
|
|
|
5992 |
|
|
* config/tc-mips.c (mips_ip): Force floating point values to be
|
5993 |
|
|
aligned correctly.
|
5994 |
|
|
|
5995 |
|
|
Fri May 27 10:05:53 1994 Ken Raeburn (raeburn@cygnus.com)
|
5996 |
|
|
|
5997 |
|
|
Merged in changes from gas-2.3 net release:
|
5998 |
|
|
|
5999 |
|
|
* Makefile.in (VERSION): Updated to cygnus-2.3.1.
|
6000 |
|
|
|
6001 |
|
|
* config/obj-vms.c: Replaced unchecked uses of malloc with
|
6002 |
|
|
xmalloc.
|
6003 |
|
|
|
6004 |
|
|
* listing.c (list_symbol_table): Only test BFD64, not
|
6005 |
|
|
BFD_ASSEMBLER too.
|
6006 |
|
|
|
6007 |
|
|
* config/obj-coff.c (fixup_segment) [BFD_ASSEMBLER]
|
6008 |
|
|
[DIFF_EXPR_OK]: Don't check pcrel, just convert it.
|
6009 |
|
|
|
6010 |
|
|
* config/obj-vms.c: Removed lots of extra semicolons after
|
6011 |
|
|
compound statements.
|
6012 |
|
|
(strchr): Don't declare here.
|
6013 |
|
|
|
6014 |
|
|
* config/ho-vax.h (realloc): Declare.
|
6015 |
|
|
|
6016 |
|
|
* config/ho-vms.h (strchr, strdup): Declare.
|
6017 |
|
|
|
6018 |
|
|
* config/tc-sparc.c (md_parse_option) [OBJ_ELF]: Accept and ignore
|
6019 |
|
|
option `-q'.
|
6020 |
|
|
|
6021 |
|
|
Wed May 18 20:50:35 1994 Pat Rankin (rankin@eql.caltech.edu)
|
6022 |
|
|
|
6023 |
|
|
* config/obj-vms.h (DBG_S_C_SQUAD, DBG_S_C_UQUAD): define these
|
6024 |
|
|
new VMS symbol-type macros; signed and unsigned quadword integers,
|
6025 |
|
|
for `long long' support. Their values come from the existing
|
6026 |
|
|
DSC$K_DTYPE_QU and DSC$K_DTYPE_Q macros in . The
|
6027 |
|
|
VMS debugger now recognizes `long long' variables correctly.
|
6028 |
|
|
* config/obj-vms.c (VMS_typedef_parse) [case 'r']: add entries
|
6029 |
|
|
for gcc2's predefined types "long double" (same as double, as
|
6030 |
|
|
per gcc's current state), "long long int", "long long unsigned
|
6031 |
|
|
int", and final `otherwise' case (to avoid uninitialized type
|
6032 |
|
|
and size fields). [caveat: predefined types "complex int",
|
6033 |
|
|
"complex float", "complex double", and "complex long double" are
|
6034 |
|
|
still missing.]
|
6035 |
|
|
|
6036 |
|
|
* config/ho-vms.h (EXIT_FAILURE): define as 0x10000002 instead
|
6037 |
|
|
of 0, because the latter indicates success rather than failure
|
6038 |
|
|
when passed to `exit' or return from `main' compiled by gcc2.
|
6039 |
|
|
|
6040 |
|
|
* config/obj-vms.c (array_suffix, generate_suffix): replace two
|
6041 |
|
|
hardcoded `0xa3's with macro DBG_S_C_ADVANCED_TYPE from obj-vms.h.
|
6042 |
|
|
(VMS_typedef_parse): eliminate redundant if-then-else when
|
6043 |
|
|
allocating new symbol entry and linking it to VMS_Symbol_type_list.
|
6044 |
|
|
|
6045 |
|
|
Tue May 17 20:47:31 1994 Pat Rankin (rankin@eql.caltech.edu)
|
6046 |
|
|
|
6047 |
|
|
* config/obj-vms.c (Write_VMS_MHD_Records): don't try to interpret
|
6048 |
|
|
the contents of the GAS_VERSION string when falling back to it for
|
6049 |
|
|
language processor identification.
|
6050 |
|
|
|
6051 |
|
|
* make-gas.com, vmsconf.sh (ENVIRON): fix misspelling of
|
6052 |
|
|
`psect_attr' in linker options.
|
6053 |
|
|
|
6054 |
|
|
Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
|
6055 |
|
|
|
6056 |
|
|
* configure.bat: update to latest makefile.in
|
6057 |
|
|
* config/te-go32.h: [new] go32's environment
|
6058 |
|
|
|
6059 |
|
|
Fri May 20 17:59:34 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6060 |
|
|
|
6061 |
|
|
* as.h: Don't declare parameters for strstr.
|
6062 |
|
|
|
6063 |
|
|
Thu May 19 15:40:13 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6064 |
|
|
|
6065 |
|
|
* config/tc-sparc.c (md_section_align): Don't change the size if
|
6066 |
|
|
OBJ_ELF.
|
6067 |
|
|
|
6068 |
|
|
Wed May 18 13:08:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6069 |
|
|
|
6070 |
|
|
* Makefile.in (install): Redirect ln output to /dev/null. If ln
|
6071 |
|
|
fails on gasp, install gasp.new, not gasp.
|
6072 |
|
|
|
6073 |
|
|
Wed May 18 09:16:36 1994 Jeff Law (law@snake.cs.utah.edu)
|
6074 |
|
|
|
6075 |
|
|
* config/tc-hppa.c (pa_ip): Use R_HPPA_ABS_CALL, not R_HPPA for
|
6076 |
|
|
absolute calls.
|
6077 |
|
|
|
6078 |
|
|
Tue May 17 12:50:46 1994 Jeff Law (law@snake.cs.utah.edu)
|
6079 |
|
|
|
6080 |
|
|
* config/tc-hppa.c (pa_parse_fp_cmp_cond): Report an error
|
6081 |
|
|
on a partial completer match.
|
6082 |
|
|
|
6083 |
|
|
Mon May 16 12:03:49 1994 Jeff Law (law@snake.cs.utah.edu)
|
6084 |
|
|
|
6085 |
|
|
* config/tc-hppa.c: Change .hppa_unwind to .PARISC.unwind
|
6086 |
|
|
throughout code.
|
6087 |
|
|
(is_complex): Delete definition and support for complex relocation
|
6088 |
|
|
types.
|
6089 |
|
|
(tc_gen_reloc): Delete special unwind crud for ELF. Simplify and
|
6090 |
|
|
rewrite ELF code based on 94-02-02 PA ELF draft spec.
|
6091 |
|
|
(pa_build_unwind_subspace): Use standard PARISC_DIR32 relocs for
|
6092 |
|
|
the unwind descriptors.
|
6093 |
|
|
|
6094 |
|
|
Fri May 6 14:13:15 1994 Steve Chamberlain (sac@cygnus.com)
|
6095 |
|
|
|
6096 |
|
|
* config/go32.mh: New makefile fragment for go32 crossing.
|
6097 |
|
|
* configure.in (host==go32): Use new fragment.
|
6098 |
|
|
|
6099 |
|
|
Fri May 6 14:35:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6100 |
|
|
|
6101 |
|
|
* gasp.c: Include libiberty.h.
|
6102 |
|
|
(main): Remove unused variable i.
|
6103 |
|
|
|
6104 |
|
|
* config/tc-ppc.c (md_begin): When using -many, permit comparison
|
6105 |
|
|
instructions to appear multiple times in the opcode table.
|
6106 |
|
|
|
6107 |
|
|
Thu May 5 19:14:43 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6108 |
|
|
|
6109 |
|
|
* Makefile.in (VERSION): Update to 2.2.90.
|
6110 |
|
|
|
6111 |
|
|
* symbols.c (symbol_new) [BFD_ASSEMBLER]: Don't permit additions
|
6112 |
|
|
to the symbol table if it's already been set in the output bfd.
|
6113 |
|
|
(symbol_begin) [! EMIT_SECTION_SYMBOLS] [RELOC_REQUIRES_SYMBOL]:
|
6114 |
|
|
Don't use bfd_abs_section.symbol for gas absolute symbol.
|
6115 |
|
|
|
6116 |
|
|
* doc/Makefile.in (distclean, clean-dvi, clean-info): Delete gasp
|
6117 |
|
|
files too.
|
6118 |
|
|
|
6119 |
|
|
Thu May 5 18:12:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6120 |
|
|
|
6121 |
|
|
* config/tc-mips.c (mips_emit_delays): Make call to
|
6122 |
|
|
mips_no_prev_insn unconditional.
|
6123 |
|
|
|
6124 |
|
|
Thu May 5 17:25:38 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6125 |
|
|
|
6126 |
|
|
* config/obj-coff*.*: Merged coffbfd versions into coff versions,
|
6127 |
|
|
with a single "#ifdef BFD_ASSEMBLER" controlling most of it for
|
6128 |
|
|
now. Deleted obj-coffbfd.* files.
|
6129 |
|
|
* configure.in: Always use obj-coff.* for COFF targets.
|
6130 |
|
|
|
6131 |
|
|
Wed May 4 13:34:11 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6132 |
|
|
|
6133 |
|
|
* config/te-dpx2.h (TARGET_FORMAT, REGISTER_PREFIX_OPTIONAL):
|
6134 |
|
|
Define.
|
6135 |
|
|
* configure.in (m68k-bull-sysv3*): Enable.
|
6136 |
|
|
|
6137 |
|
|
* config/coff_gnu.h: Deleted.
|
6138 |
|
|
|
6139 |
|
|
Wed May 4 11:29:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6140 |
|
|
|
6141 |
|
|
* config/tc-m68k.h (TARGET_FORMAT): If not TE_SUN3, define as
|
6142 |
|
|
"a.out-zero.big".
|
6143 |
|
|
|
6144 |
|
|
* config/obj-coffbfd.c (fixup_segment): Make common symbol and PC
|
6145 |
|
|
relative adjustments when TE_LYNX is defined as well as when
|
6146 |
|
|
TC_I386 is defined.
|
6147 |
|
|
|
6148 |
|
|
Wed May 4 02:29:21 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
6149 |
|
|
|
6150 |
|
|
* as.h (strstr): Restore declaration.
|
6151 |
|
|
(subseg_get) [BFD_ASSEMBLER]: Declare.
|
6152 |
|
|
|
6153 |
|
|
* write.c (write_object_file): If obj_adjust_symtab is defined,
|
6154 |
|
|
invoke it. Then call set_symtab, and finally invoke *_frob_file
|
6155 |
|
|
hooks.
|
6156 |
|
|
* config/obj-coff.c (coff_adjust_symtab): Renamed from
|
6157 |
|
|
coff_frob_file.
|
6158 |
|
|
* config/obj-coff.h (coff_adjust_symtab): Changed declaration
|
6159 |
|
|
accordingly.
|
6160 |
|
|
(obj_adjust_symtab): Macro also changed.
|
6161 |
|
|
|
6162 |
|
|
* configure.in (i386-*-gnu*): New target, handled like i386-mach.
|
6163 |
|
|
|
6164 |
|
|
Tue May 3 21:04:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6165 |
|
|
|
6166 |
|
|
* config/obj-coff.h (TARGET_FORMAT) [TC_I960]: Select little
|
6167 |
|
|
endian version.
|
6168 |
|
|
|
6169 |
|
|
* config/obj-coffbfd.h (TARGET_FORMAT) [TC_I960]: Ditto.
|
6170 |
|
|
|
6171 |
|
|
* config/obj-coff.c (coff_frob_section): Round up the size of
|
6172 |
|
|
every section to a multiple of the alignment, so that BFD doesn't
|
6173 |
|
|
surprise us.
|
6174 |
|
|
|
6175 |
|
|
Eliminate many simple differences between the two COFF back ends:
|
6176 |
|
|
|
6177 |
|
|
* config/obj-coffbfd.c: Removed all uses of DEFUN and DEFUN_VOID.
|
6178 |
|
|
Made minor stylistic changes, deleted some register declarations.
|
6179 |
|
|
(stack_top): Deleted.
|
6180 |
|
|
(symbol_to_chars): Use absolute_section and reg_section instead of
|
6181 |
|
|
the corresponding SEG_* symbols.
|
6182 |
|
|
(obj_coff_endef, tag_find_or_make, fixup_segment): Likewise.
|
6183 |
|
|
(stack typedef, stack_init, stack_delete, stack_push, stack_pop):
|
6184 |
|
|
Moved to just after pseudo-op table. All functions now static.
|
6185 |
|
|
(stack_delete): Removed declaration.
|
6186 |
|
|
(tag_init, tag_insert, tag_find_or_make, tag_find): Moved to just
|
6187 |
|
|
after stack functions.
|
6188 |
|
|
* config/obj-coffbfd.h: Reordered some declarations and macros.
|
6189 |
|
|
(stack_init, stack_delete, stack_push, stack_pop): Don't declare.
|
6190 |
|
|
(stack typedef): Deleted.
|
6191 |
|
|
(SYMBOLS_NEED_BACKPOINTERS): Always undef then define; don't test.
|
6192 |
|
|
(SYM_AUXENT): New macro.
|
6193 |
|
|
(SA_GET_*, SA_SET_*): Define in terms of SYM_AUXENT when feasible.
|
6194 |
|
|
(SF_GET_*, SF_SET_*): Define in terms of SF_GET when feasible.
|
6195 |
|
|
(SA_GET_SYM_TAGNDX, SA_GET_SYM_ENDNDX, SA_SET_SYM_TAGNDX,
|
6196 |
|
|
SA_SET_SYM_ENDNDX, object_headers typedef, data_section_header,
|
6197 |
|
|
text_section_header): Delete non-BFD_HEADERS versions, since we
|
6198 |
|
|
always define that symbol now.
|
6199 |
|
|
|
6200 |
|
|
* config/obj-coff.c (stack_top): Deleted.
|
6201 |
|
|
(obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size,
|
6202 |
|
|
obj_coff_scl, obj_coff_tag, obj_coff_type, obj_coff_val): Change
|
6203 |
|
|
argument name from "ignored" to "ignore".
|
6204 |
|
|
(obj_coff_val): Use frag_now_fix.
|
6205 |
|
|
(obj_pseudo_table): Removed IGNORE_DEBUG version, since it doesn't
|
6206 |
|
|
get used.
|
6207 |
|
|
(stack typedef, stack_init, stack_delete, stack_push, stack_pop):
|
6208 |
|
|
Moved to just after pseudo-op table. All functions now static.
|
6209 |
|
|
(tag_init, tag_insert, tag_find_or_make, tag_find): Moved to just
|
6210 |
|
|
after stack functions.
|
6211 |
|
|
* config/obj-coff.h: Reordered some declarations and macros.
|
6212 |
|
|
Protected against multiple inclusions.
|
6213 |
|
|
(stack_init, stack_delete, stack_push, stack_pop): Don't declare.
|
6214 |
|
|
(stack typedef): Deleted.
|
6215 |
|
|
(SYMBOLS_NEED_BACKPOINTERS): Always undef then define; don't test.
|
6216 |
|
|
(stdoutput): Deleted declaration.
|
6217 |
|
|
(TARGET_FORMAT) [TC_I386]: Don't define if already defined.
|
6218 |
|
|
|
6219 |
|
|
Mon May 2 17:09:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6220 |
|
|
|
6221 |
|
|
* subsegs.h (segment_info_type): Use fix_tail field even if
|
6222 |
|
|
BFD_ASSEMBLER.
|
6223 |
|
|
* subsegs.c (subseg_change): Initialize fix_tail field.
|
6224 |
|
|
(subseg_get): Likewise.
|
6225 |
|
|
* write.c (frags_chained): New static variable.
|
6226 |
|
|
(fix_new_internal): If frags_chained is set, use fix_root and
|
6227 |
|
|
fix_tail from seg_info (now_seg), rather than frchain_now.
|
6228 |
|
|
(chain_frchains_together_1): Set fix_tail field.
|
6229 |
|
|
(chain_frchains_together): Set frags_chained.
|
6230 |
|
|
|
6231 |
|
|
Thu Apr 28 01:39:15 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
6232 |
|
|
|
6233 |
|
|
* config/tc-mips.c (s_option): Only refer to g_switch_* variables
|
6234 |
|
|
if GPOPT is defined.
|
6235 |
|
|
(s_abicalls): Ditto.
|
6236 |
|
|
(md_apply_fix): Cast char* to unsigned char* to avoid pointer
|
6237 |
|
|
mismatch.
|
6238 |
|
|
|
6239 |
|
|
Wed Apr 27 11:06:32 1994 Steve Chamberlain (sac@cygnus.com)
|
6240 |
|
|
|
6241 |
|
|
* configure.in (i386-*-go32): Uses coff now.
|
6242 |
|
|
* gasp.c (main): Now takes -D on command line.
|
6243 |
|
|
(show_usage): Describe new options.
|
6244 |
|
|
|
6245 |
|
|
Tue Apr 26 17:10:30 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6246 |
|
|
|
6247 |
|
|
* listing.c (list_symbol_table): Print "NO DEFINED SYMBOLS" and
|
6248 |
|
|
"NO UNDEFINED SYMBOLS" if there aren't any, instead of displaying
|
6249 |
|
|
the header with an empty list.
|
6250 |
|
|
|
6251 |
|
|
* config/obj-coffbfd.c (fill_section): Check COFF_NOLOAD_PROBLEM
|
6252 |
|
|
also before setting STYP_NOLOAD for .bss section.
|
6253 |
|
|
|
6254 |
|
|
* config/tc-m68k.c (flag_reg_prefix_optional): New variable.
|
6255 |
|
|
Initialized to value of REGISTER_PREFIX_OPTIONAL, if defined, or
|
6256 |
|
|
zero.
|
6257 |
|
|
(m68k_reg_parse): If flag_reg_prefix_optional is set, permit
|
6258 |
|
|
register prefix to be absent.
|
6259 |
|
|
(m68k_ip_op): Accept `&' also for immediate constants.
|
6260 |
|
|
(insert_reg): Don't bother with (two!?) sanity checks of the
|
6261 |
|
|
symbol table when inserting each register.
|
6262 |
|
|
(m68k_parse_long_option): New function. Set
|
6263 |
|
|
flag_reg_prefix_optional if "register-prefix-optional" is passed.
|
6264 |
|
|
* config/tc-m68k.h (REGISTER_PREFIX): Always define if not already
|
6265 |
|
|
defined.
|
6266 |
|
|
(OPTIONAL_REGISTER_PREFIX): Don't define.
|
6267 |
|
|
(REGISTER_PREFIX_OPTIONAL): If not already defined, define as zero
|
6268 |
|
|
or one depending on M68KCOFF.
|
6269 |
|
|
|
6270 |
|
|
Some changes to help Apollo support, from troy@cbme.unsw.edu.au:
|
6271 |
|
|
* config/tc-m68k.c (DATA, ADDR, SP, FPREG, COPNUM, BAD, BAC):
|
6272 |
|
|
Define as macros instead of enumerators, since the Apollo compiler
|
6273 |
|
|
can't handle "enumVal1, enumVal2 = enumVal1" when defining an enum
|
6274 |
|
|
type.
|
6275 |
|
|
(make_pcrel_absolute) [NO_PCREL_RELOCS]: New function.
|
6276 |
|
|
(tc_coff_fix2rtype) [NO_PCREL_RELOCS]: Generate only R_RELBYTE,
|
6277 |
|
|
R_DIR16, and R_DIR32 relocs.
|
6278 |
|
|
* config/tc-m68k.h [TE_APOLLO] (COFF_MAGIC, COFF_AOUTHDR_MAGIC):
|
6279 |
|
|
Use Apollo versions.
|
6280 |
|
|
[TE_APOLLO] (OBJ_COFF_OMIT_OPTIONAL_HEADER): Undefine. That is,
|
6281 |
|
|
do include the optional header for Apollo target.
|
6282 |
|
|
(COFF_MAGIC): Don't define as MC68MAGIC if it's already defined.
|
6283 |
|
|
|
6284 |
|
|
* config/tc-m68k.h [TE_DELTA] (LEX_PCT): Define as 1, so that `%'
|
6285 |
|
|
can be used within a label name.
|
6286 |
|
|
|
6287 |
|
|
* config/tc-m68k.h (m68k_init_after_args): Declare.
|
6288 |
|
|
(tc_init_after_args): Define as m68k_init_after_args.
|
6289 |
|
|
* config/tc-m68k.c (m68k_init_after_args): New function,
|
6290 |
|
|
containing one-shot code from md_assemble. Added warning for
|
6291 |
|
|
combination of 68040 and 68851.
|
6292 |
|
|
(md_assemble): Startup-time code deleted.
|
6293 |
|
|
|
6294 |
|
|
Mon Apr 25 16:19:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6295 |
|
|
|
6296 |
|
|
* doc/Makefile.in (clean, distclean): Remove asconfig.texi.
|
6297 |
|
|
|
6298 |
|
|
Sun Apr 24 00:13:08 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6299 |
|
|
|
6300 |
|
|
* config/tc-hppa.c (pa_ip): 13 bit immediate constant (for break
|
6301 |
|
|
instruction) is unsigned.
|
6302 |
|
|
|
6303 |
|
|
Fri Apr 22 17:58:22 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6304 |
|
|
|
6305 |
|
|
* config/obj-ecoff.c (ecoff_frob_file): Use bfd_ecoff_set_gp_value
|
6306 |
|
|
and bfd_ecoff_set_regmasks to set the GP value and the register
|
6307 |
|
|
masks, rather than using the now obsolete fake .reginfo section.
|
6308 |
|
|
|
6309 |
|
|
Fri Apr 22 15:17:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6310 |
|
|
|
6311 |
|
|
* listing.c (list_symbol_table): Don't print register symbols as
|
6312 |
|
|
undefined.
|
6313 |
|
|
|
6314 |
|
|
* config/obj-coff.c (obj_symbol_new_hook): Don't need to strip
|
6315 |
|
|
underscores, since symbol_new will already have done it.
|
6316 |
|
|
* config/obj-coffbfd.c (obj_symbol_new_hook): Ditto.
|
6317 |
|
|
|
6318 |
|
|
* as.c (main): If tc_init_after_args is defined, invoke it after
|
6319 |
|
|
all arguments have been processed.
|
6320 |
|
|
|
6321 |
|
|
Some changes to help Apollo support, from troy@cbme.unsw.edu.au:
|
6322 |
|
|
* as.c (perform_an_assembly_pass) [TE_APOLLO]: Create .wtext
|
6323 |
|
|
section instead of .text. Call create_target_segments.
|
6324 |
|
|
* read.c (demand_copy_string): No longer static.
|
6325 |
|
|
|
6326 |
|
|
Thu Apr 21 15:50:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6327 |
|
|
|
6328 |
|
|
* config/tc-mips.c (append_insn): Permit branches to be switched
|
6329 |
|
|
with the preceding instruction even if .set nobopt has been seen.
|
6330 |
|
|
.set nobopt actually controls whether to bring up an instruction
|
6331 |
|
|
from the branch target, which gas does not currently support.
|
6332 |
|
|
|
6333 |
|
|
Wed Apr 20 18:46:14 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6334 |
|
|
|
6335 |
|
|
* config/obj-coff.h, config/obj-coff.c: Deleted all code used only
|
6336 |
|
|
when BFD_ASSEMBLER is not defined, and all conditionals relating
|
6337 |
|
|
to such code. No such targets remain.
|
6338 |
|
|
|
6339 |
|
|
Fixes for stabs-in-coff:
|
6340 |
|
|
* config/obj-coff.c: Include subsegs.h.
|
6341 |
|
|
(coff_frob_section): New function.
|
6342 |
|
|
(obj_coff_init_stab_section): New function.
|
6343 |
|
|
* config/obj-coff.h (obj_coff_init_stab_section,
|
6344 |
|
|
coff_frob_section): Declare.
|
6345 |
|
|
(obj_frob_section): New macro; uses coff_frob_section.
|
6346 |
|
|
(INIT_STAB_SECTION): New macro; uses obj_coff_init_stab_section.
|
6347 |
|
|
|
6348 |
|
|
* config/tc-sparc.c (md_section_align): Always round up to
|
6349 |
|
|
multiple of alignment power specified in bfd target vector.
|
6350 |
|
|
|
6351 |
|
|
* gasp.c: Include ctype.h.
|
6352 |
|
|
|
6353 |
|
|
Mon Apr 18 21:08:01 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6354 |
|
|
|
6355 |
|
|
* doc/Makefile.in, doc/as.texinfo: Renamed asdoc-config.texi to
|
6356 |
|
|
asconfig.texi.
|
6357 |
|
|
|
6358 |
|
|
* doc/Makefile.in (install-info-as, install-info-gasp): Get file
|
6359 |
|
|
names from source directory without pathname.
|
6360 |
|
|
|
6361 |
|
|
* config/obj-vms.c (VMS_write_object_file): While looking for
|
6362 |
|
|
register mask, skip empty fill frags caused by enabling listing
|
6363 |
|
|
output.
|
6364 |
|
|
|
6365 |
|
|
* config/ho-sysv.h: Include string.h.
|
6366 |
|
|
|
6367 |
|
|
* doc/internals.texi: New (well, recently added) file. Just added
|
6368 |
|
|
info on as_warn and friends.
|
6369 |
|
|
|
6370 |
|
|
Mon Apr 18 14:28:22 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6371 |
|
|
|
6372 |
|
|
* config/tc-hppa.c (pa_parse_space_stmt): Use the built-in
|
6373 |
|
|
defaults for defined, private, and spnum fields for the
|
6374 |
|
|
$TEXT$ and $PRIVATE$ spaces. Do not clobber spnum. Do
|
6375 |
|
|
not reset the segment if just updating a space.
|
6376 |
|
|
(pa_spaces_begin): Set BFD section flags for all built-in
|
6377 |
|
|
subspaces.
|
6378 |
|
|
|
6379 |
|
|
Fri Apr 15 10:51:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6380 |
|
|
|
6381 |
|
|
* ecoff.c (first_proc_ptr): New static variable.
|
6382 |
|
|
(add_procedure): Set first_proc_ptr if it hasn't been set.
|
6383 |
|
|
(ecoff_build_lineno): If the first procedure does not start at
|
6384 |
|
|
address zero, insert a dummy line to compensate.
|
6385 |
|
|
|
6386 |
|
|
* Makefile.in (bootstrap, bootstrap2, bootstrap3): Make gasp.new
|
6387 |
|
|
as well as as.new.
|
6388 |
|
|
|
6389 |
|
|
Thu Apr 14 15:12:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6390 |
|
|
|
6391 |
|
|
* expr.c (operand): Try to parse "0f" and "0b" sequences as
|
6392 |
|
|
floating point and binary numbers respectively; if it doesn't
|
6393 |
|
|
work, treat them as local labels.
|
6394 |
|
|
|
6395 |
|
|
* Makefile.in: Make $(OBJS) depend on $(ALL_OBJ_DEPS).
|
6396 |
|
|
* configure.in: Set ALL_OBJ_DEPS in output Makefile.
|
6397 |
|
|
|
6398 |
|
|
Based on suggestions from
|
6399 |
|
|
(Charles Bailey):
|
6400 |
|
|
* vmsconf.sh: In generated file, get ".obj" suffix right, build
|
6401 |
|
|
source files from other directories into objects in the current
|
6402 |
|
|
directory, and specify PSECT attributes explicitly to linker.
|
6403 |
|
|
Also added missing label.
|
6404 |
|
|
* Makefile.in (stamp-mk.com): Reference new variable
|
6405 |
|
|
VMS_OTHER_OBJS for list of non-local object files, instead of
|
6406 |
|
|
listing them here.
|
6407 |
|
|
(VMS_OTHER_OBJS): New variable, added more libiberty files.
|
6408 |
|
|
* make-gas.com: Regenerated.
|
6409 |
|
|
|
6410 |
|
|
* config/ho-vms.h (unlink): Define as delete.
|
6411 |
|
|
|
6412 |
|
|
* config-gas.com: Fix quoting on TARGET_CANONICAL definition.
|
6413 |
|
|
Delete files before creating them.
|
6414 |
|
|
|
6415 |
|
|
Thu Apr 14 13:34:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6416 |
|
|
|
6417 |
|
|
* Makefile.in (de-stage1, de-stage2, de-stage3): Use rm -f.
|
6418 |
|
|
|
6419 |
|
|
* config/tc-mips.h (DIFF_EXPR_OK): Define.
|
6420 |
|
|
* config/tc-mips.c (macro_build): Permit BFD_RELOC_PCREL_LO16 for
|
6421 |
|
|
certain cases of 'i', 'j' and 'o'. Change 'u' to take an
|
6422 |
|
|
argument, the reloc type.
|
6423 |
|
|
(load_register): Pass reloc type to macro_build for 'u'.
|
6424 |
|
|
(macro): Likewise. For M_LA_AB permit a difference expression
|
6425 |
|
|
when generating embedded PIC code between an arbitrary symbol and
|
6426 |
|
|
a symbol in the .text section.
|
6427 |
|
|
(mips_force_relocation): Force BFD_RELOC_PCREL_HI16_S and
|
6428 |
|
|
BFD_RELOC_PCREL_LO16 to be emitted.
|
6429 |
|
|
(md_apply_fix): Check that most relocs are not PC relative.
|
6430 |
|
|
Handle BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16.
|
6431 |
|
|
(tc_gen_reloc): Change #error to as_fatal. Handle
|
6432 |
|
|
BFD_RELOC_PCREL_LO16 and BFD_RELOC_PCREL_HI16_S.
|
6433 |
|
|
|
6434 |
|
|
Tue Apr 12 18:25:13 1994 Stan Shebs (shebs@andros.cygnus.com)
|
6435 |
|
|
|
6436 |
|
|
* subsegs.c (subsegs_begin): Call memset with args in the correct
|
6437 |
|
|
order.
|
6438 |
|
|
(subseg_get): Clear newly allocated seginfo, set its pointer slots
|
6439 |
|
|
to NULL instead of 0.
|
6440 |
|
|
|
6441 |
|
|
Mon Apr 11 09:00:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6442 |
|
|
|
6443 |
|
|
* config/tc-hppa.c (pa_procend): Handle case where label was
|
6444 |
|
|
defined after the .proc directive.
|
6445 |
|
|
|
6446 |
|
|
* config/tc-hppa.c (pa_procend): Give an error if we encounter a
|
6447 |
|
|
procend for a procedure without a name.
|
6448 |
|
|
|
6449 |
|
|
Thu Apr 7 14:28:30 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6450 |
|
|
|
6451 |
|
|
* config/tc-mips.c (macro): Pass NULL for expression argument to
|
6452 |
|
|
macro_build for nori case.
|
6453 |
|
|
(SWITCH_TABLE): Define.
|
6454 |
|
|
(mips_force_relocation): Force a relocation for a switch table
|
6455 |
|
|
entry.
|
6456 |
|
|
(md_apply_fix): Write switch table entry value into file.
|
6457 |
|
|
(tc_gen_reloc): Use BFD_RELOC_GPREL32 for a switch table entry,
|
6458 |
|
|
and set the addend to the difference between the reloc address and
|
6459 |
|
|
the subtrahend.
|
6460 |
|
|
|
6461 |
|
|
Thu Apr 7 10:38:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6462 |
|
|
|
6463 |
|
|
* config/tc-hppa.h (elf_tc_symbol): Delete. No longer used.
|
6464 |
|
|
(elf_tc_make_sections): Likewise.
|
6465 |
|
|
(hppa_tc_make_sections, hppa_tc_symbol): Delete extern decls.
|
6466 |
|
|
|
6467 |
|
|
* config/tc-hppa.c (hppa_tc_make_sections): Delete function.
|
6468 |
|
|
(hppa_tc_symbol): Likewise.
|
6469 |
|
|
|
6470 |
|
|
* config/obj-elf.c (elf_frob_file): Delete elf_tc_symbol and
|
6471 |
|
|
elf_tc_make_sections stuff. It was there to support PA braindamage
|
6472 |
|
|
which has been fixed, and in the case of elf_tc_make_sections is
|
6473 |
|
|
redundant with elf_tc_final_processing.
|
6474 |
|
|
|
6475 |
|
|
Wed Apr 6 20:48:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6476 |
|
|
|
6477 |
|
|
* configure.in (hppa*-*-*elf*): Don't require "-hp-" for the
|
6478 |
|
|
manufacturer.
|
6479 |
|
|
|
6480 |
|
|
Tue Apr 5 15:48:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6481 |
|
|
|
6482 |
|
|
* config/tc-mips.c (mips_ip): For case 'o', when generating
|
6483 |
|
|
embedded PIC code, accept the difference between two local symbols
|
6484 |
|
|
as being constant.
|
6485 |
|
|
(mips_force_relocation): Only force a reloc to be generated for a
|
6486 |
|
|
PC relative fixup.
|
6487 |
|
|
(md_apply_fix): For BFD_RELOC_32 and BFD_RELOC_LO16, put the fixup
|
6488 |
|
|
value into the file if the fixup will not generate a reloc.
|
6489 |
|
|
|
6490 |
|
|
Tue Apr 5 11:14:14 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
|
6491 |
|
|
|
6492 |
|
|
* config/tc-sparc.c (s_reserve): If section passed isn't bss,
|
6493 |
|
|
don't spew remainder of input file in error message.
|
6494 |
|
|
(tc_gen_reloc): If bfd_reloc_type_lookup returns null, print error
|
6495 |
|
|
message with reloc type and try to process remainder of file.
|
6496 |
|
|
|
6497 |
|
|
* doc/Makefile.in (install-info-as, install-info-gasp): New
|
6498 |
|
|
targets, now explicitly checking $(srcdir) for info files.
|
6499 |
|
|
(install-info): Depend on both of them; do nothing more.
|
6500 |
|
|
|
6501 |
|
|
Mon Apr 4 17:06:04 1994 Jeffrey A. Law (law@cygnus.com)
|
6502 |
|
|
|
6503 |
|
|
* config/tc-hppa.c (tc_gen_reloc): Fix thinko in ELF version.
|
6504 |
|
|
|
6505 |
|
|
Mon Apr 4 12:39:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6506 |
|
|
|
6507 |
|
|
* config/tc-ppc.c (ppc_insert_operand): Check PPC_OPERAND_SIGNED
|
6508 |
|
|
flag rather than signedp field. Only permit extended range if
|
6509 |
|
|
PPC_OPERAND_SIGNOPT flag is set and assembling in 32 bit mode.
|
6510 |
|
|
Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
|
6511 |
|
|
|
6512 |
|
|
* config/tc-ppc.c (ppc_size): New static variable.
|
6513 |
|
|
(ppc_arch): Check for PPC_OPCODE_PPC before PPC_OPCODE_POWER.
|
6514 |
|
|
(md_begin): If an instruction has a size specific flag set, only
|
6515 |
|
|
add it if we are assembling that size.
|
6516 |
|
|
|
6517 |
|
|
Thu Mar 31 16:51:16 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6518 |
|
|
|
6519 |
|
|
* config/tc-sparc.c (tc_gen_reloc): Add a gruesome hack to get
|
6520 |
|
|
cross section PC relative relocs right for COFF and ELF.
|
6521 |
|
|
|
6522 |
|
|
Mon Mar 28 14:38:23 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6523 |
|
|
|
6524 |
|
|
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Always define.
|
6525 |
|
|
(OBJ_PROCESS_STAB): Don't define.
|
6526 |
|
|
|
6527 |
|
|
Mon Mar 28 12:40:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6528 |
|
|
|
6529 |
|
|
* config/obj-aout.c (obj_aout_frob_symbols): Don't let BFD clobber
|
6530 |
|
|
the type of symbol set symbols which happen to be in the absolute
|
6531 |
|
|
or undefined section.
|
6532 |
|
|
|
6533 |
|
|
Mon Mar 28 12:35:00 1994 David Edelsohn (edelsohn@npac.syr.edu)
|
6534 |
|
|
|
6535 |
|
|
* config/tc-ppc.c (md_parse_option): Add -mpwrx (POWER/2 aka
|
6536 |
|
|
RIOS2), -mpwr (POWER aka RIOS1), -mppc (PowerPC aka MPC603/604),
|
6537 |
|
|
and -many (all architectures).
|
6538 |
|
|
|
6539 |
|
|
Sun Mar 27 14:04:19 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6540 |
|
|
|
6541 |
|
|
* config/tc-hppa.c (tc_gen_reloc): Set addend for relocation
|
6542 |
|
|
involving a function symbol which is not a plabel to zero.
|
6543 |
|
|
(md_apply_fix): Never pass a function symbol to field_adjust.
|
6544 |
|
|
|
6545 |
|
|
Fri Mar 25 17:35:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6546 |
|
|
|
6547 |
|
|
* config/obj-aout.c (obj_aout_frob_symbol): If N_EXT is set for an
|
6548 |
|
|
N_INDR symbol, set BSF_EXPORT and clear BSF_LOCAL.
|
6549 |
|
|
|
6550 |
|
|
* config/tc-mips.c (append_insn): If EMBEDDED_PIC, don't swap a
|
6551 |
|
|
branch with an instruction that uses $at, in case the branch is
|
6552 |
|
|
later expanded.
|
6553 |
|
|
(macro): If EMBEDDED_PIC, case M_JAL_A may use $at.
|
6554 |
|
|
(md_pcrel_from): If not OBJ_AOUT, return 4 for an undefined symbol
|
6555 |
|
|
to make it pcrel_offset.
|
6556 |
|
|
(tc_gen_reloc): If not OBJ_AOUT, set the reloc addend to
|
6557 |
|
|
reloc->address; another gruesome hack to get gas reloc handling to
|
6558 |
|
|
do the right thing.
|
6559 |
|
|
|
6560 |
|
|
Thu Mar 24 21:29:29 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6561 |
|
|
|
6562 |
|
|
* config/tc-alpha.c (alpha_ip): Only set GP prolog size if using
|
6563 |
|
|
PV register.
|
6564 |
|
|
(T12): New macro.
|
6565 |
|
|
(emit_insn): New function.
|
6566 |
|
|
(md_assemble): Call it.
|
6567 |
|
|
(alpha_force_relocation): Handle BFD_RELOC_26, for call_pal
|
6568 |
|
|
instructions.
|
6569 |
|
|
(lituse_pending): New variable. Set by anything that generates a
|
6570 |
|
|
LITERAL reloc, cleared by anything that generates a LITUSE reloc,
|
6571 |
|
|
tested by code that might want to emit a LITUSE reloc.
|
6572 |
|
|
(emit_unaligned_io): New function. Currently calls md_assemble,
|
6573 |
|
|
but it should eventually be converted to generate the insn itself
|
6574 |
|
|
and call emit_insn directly.
|
6575 |
|
|
(emit_load_unal, emit_store_unal, emit_byte_manip_r,
|
6576 |
|
|
emit_extract_r, emit_insert_r, emit_mask_r, emit_sign_extend,
|
6577 |
|
|
emit_bis_r): Likewise.
|
6578 |
|
|
(alpha_ip, case 'I'): Handle with BFD_RELOC_23.
|
6579 |
|
|
(alpha_ip, label get_macro): Don't emit the final instruction if
|
6580 |
|
|
the opcode is zero.
|
6581 |
|
|
(alpha_ip, case 'B', subcase 'd'): New case, for subword and
|
6582 |
|
|
unaligned memory access macros.
|
6583 |
|
|
(md_apply_fix): Handle BFD_RELOC_26. Generate an error message if
|
6584 |
|
|
the value can't be resolved.
|
6585 |
|
|
|
6586 |
|
|
Wed Mar 23 16:06:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6587 |
|
|
|
6588 |
|
|
* config/tc-mips.c (md_parse_option): For -membedded-pic, force
|
6589 |
|
|
the -G value to 0x7fffffff. For SVR4 PIC options, don't call
|
6590 |
|
|
bfd_set_gp_size here, it's done in md_begin. Don't permit -G with
|
6591 |
|
|
-membedded-pic.
|
6592 |
|
|
(mips_force_relocation): New function.
|
6593 |
|
|
(md_apply_fix): Set fixP->fx_done appropriately.
|
6594 |
|
|
(s_change_sec): For EMBEDDED_PIC, change .data and .rdata to
|
6595 |
|
|
.sdata.
|
6596 |
|
|
* config/tc-mips.h (TC_FORCE_RELOCATION): Define.
|
6597 |
|
|
(mips_force_relocation): Declare.
|
6598 |
|
|
(TC_HANDLE_FX_DONE): Define.
|
6599 |
|
|
|
6600 |
|
|
Tue Mar 22 13:58:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6601 |
|
|
|
6602 |
|
|
* config/tc-mips.c (enum mips_pic_level): New enum.
|
6603 |
|
|
(mips_pic): Change from int to enum mips_pic_level. Change all
|
6604 |
|
|
uses (0 becomes NO_PIC, 2 becomes SVR4_PIC).
|
6605 |
|
|
(load_address): Handle EMBEDDED_PIC.
|
6606 |
|
|
(macro): Handle EMBEDDED_PIC in all PIC cases.
|
6607 |
|
|
(md_parse_option): Accept -membedded-pic to use EMBEDDED_PIC. If
|
6608 |
|
|
OBJ_ELF, accept -KPIC and -call_shared to use SVR4_PIC and accept
|
6609 |
|
|
-non_shared to use NO_PIC (this is how the Irix 5 assembler
|
6610 |
|
|
works). Do not permit -G with SVR4_PIC.
|
6611 |
|
|
(s_abicalls): Warn if -G was used, and force -G 0.
|
6612 |
|
|
(tc_gen_reloc): Set reloc->addend to 0 for a PC relative reloc for
|
6613 |
|
|
anything but a.out, not just for ELF. For ECOFF, don't generate a
|
6614 |
|
|
BFD_RELOC_16_PCREL_S2 reloc unless using EMBEDDED_PIC.
|
6615 |
|
|
|
6616 |
|
|
* config/obj-ecoff.h (obj_sec_sym_ok_for_reloc): Define to be 1.
|
6617 |
|
|
|
6618 |
|
|
Sun Mar 20 16:31:55 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6619 |
|
|
|
6620 |
|
|
* config/tc-hppa.c (create_new_space): Use ints, not chars as
|
6621 |
|
|
parameters to avoid losing when compiling with HP CC.
|
6622 |
|
|
(create_new_subspace, update_subspace, fix_new_hppa): Likewise.
|
6623 |
|
|
|
6624 |
|
|
Sun Mar 20 14:43:14 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6625 |
|
|
|
6626 |
|
|
* Makefile.in (config-stamp): If `defs' is defined, emit a
|
6627 |
|
|
preprocessor directive to create a macro named by this value into
|
6628 |
|
|
config.new; don't explicitly go for BFD_ASSEMBLER.
|
6629 |
|
|
* configure.in: Define `defs', not `BFDDEF'. Set it to
|
6630 |
|
|
MANY_SEGMENTS for any obj-coffbfd target.
|
6631 |
|
|
* config/obj-coffbfd.h (BFD_HEADERS, BFD): Define.
|
6632 |
|
|
* config/i386coff.mt (TDEFINES): Don't define BFD, MANY_SEGMENTS,
|
6633 |
|
|
or BFD_HEADERS.
|
6634 |
|
|
(LOCAL_LOADLIBES): Deleted.
|
6635 |
|
|
* config/m68kcoff.mt (TDEFINES): Don't define those macros.
|
6636 |
|
|
* config/m88kcoff.mt (TDEFINES): Ditto.
|
6637 |
|
|
* config/ebmon29k.mt: Deleted.
|
6638 |
|
|
* config/h8300hds.mt: Deleted.
|
6639 |
|
|
* config/ic960coff.mt: Deleted.
|
6640 |
|
|
* config/sparc.mt: Deleted.
|
6641 |
|
|
* config/h8300.mt (LOCAL_LOADLIBES, TDEFINES): Deleted.
|
6642 |
|
|
* config/h8500.mt (LOCAL_LOADLIBES, TDEFINES): Deleted.
|
6643 |
|
|
* config/sh.mt (LOCAL_LOADLIBES, TDEFINES): Deleted.
|
6644 |
|
|
* config/z8k.mt (LOCAL_LOADLIBES): Deleted.
|
6645 |
|
|
(TDEFINES): Don't define the coffbfd macros.
|
6646 |
|
|
|
6647 |
|
|
* Makefile.in: Insert makefile fragments before OBJS definition.
|
6648 |
|
|
(OBJS): Add $(TE_OBJS).
|
6649 |
|
|
|
6650 |
|
|
* config/obj-coff.c (obj_pseudo_table): Supply "section"
|
6651 |
|
|
unconditionally.
|
6652 |
|
|
|
6653 |
|
|
* write.c (set_symtab): Define only if BFD_ASSEMBLER.
|
6654 |
|
|
|
6655 |
|
|
Sun Mar 20 12:06:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6656 |
|
|
|
6657 |
|
|
* Makefile.in (STAGESTUFF): Add gasp.new.
|
6658 |
|
|
|
6659 |
|
|
Fri Mar 18 20:09:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6660 |
|
|
|
6661 |
|
|
* write.c (symbol_table_frozen): New variable, to be set after
|
6662 |
|
|
bfd_set_symtab is called.
|
6663 |
|
|
(dump_section_relocs): Note whether a symbol is a section symbol
|
6664 |
|
|
or not.
|
6665 |
|
|
(adjust_reloc_syms): For now, always supply an absolute symbol for
|
6666 |
|
|
fixups without symbols but not yet `done'. Use section_symbol to
|
6667 |
|
|
get the symbol, instead of going directly for abs_symbol.
|
6668 |
|
|
(write_relocs) [DEBUG4]: Abort if any symbol referred to by a
|
6669 |
|
|
reloc is not a section symbol and is not in the symbol table.
|
6670 |
|
|
(set_symtab): New function, broken out from write_object_file.
|
6671 |
|
|
Counts symbol table instead of relying on an earlier count.
|
6672 |
|
|
(write_object_file): Call set_symtab, but do it after potentially
|
6673 |
|
|
invoking the *_frob_file macros. Don't bother counting symbols.
|
6674 |
|
|
Call symbol_remove, instead of expanding it in place. Moved the
|
6675 |
|
|
conditionalized `object_file_size' declaration down to
|
6676 |
|
|
conditionalized block where it's used. When using the absolute
|
6677 |
|
|
symbol for a fixup without a symbol, set sy_used_in_reloc.
|
6678 |
|
|
(write_object_file) [BFD_ASSEMBLER]: Call section_symbol to get
|
6679 |
|
|
the correct symbol for the absolute section.
|
6680 |
|
|
|
6681 |
|
|
* subsegs.c (section_symbol): Use symbol_new instead of
|
6682 |
|
|
symbol_make, since we may want it to go into the symbol table.
|
6683 |
|
|
Make the new symbol have internal linkage. If
|
6684 |
|
|
obj_sec_sym_ok_for_reloc says it's okay, use the BFD section
|
6685 |
|
|
symbol with the newly created GAS symbol.
|
6686 |
|
|
(obj_sec_sym_ok_for_reloc): Default to always returning 0.
|
6687 |
|
|
* config/obj-aout.h (obj_sec_sym_ok_for_reloc) [BFD_ASSEMBLER]:
|
6688 |
|
|
New macro.
|
6689 |
|
|
* config/obj-elf.h (obj_sec_sym_ok_for_reloc): New macro.
|
6690 |
|
|
|
6691 |
|
|
* config/tc-sparc.c: Include subsegs.h.
|
6692 |
|
|
(in_signed_range): New function.
|
6693 |
|
|
(sparc_ip): Use it.
|
6694 |
|
|
(sparc_ip, case 'i'): Use BFD_RELOC_SPARC13, not _BASE13.
|
6695 |
|
|
(sparc_ip, label "immediate"): Reject constants for pcrel
|
6696 |
|
|
instructions only if the relocation type indicates a "call"
|
6697 |
|
|
instruction and the offset is within range of a "jmpl %g0". If
|
6698 |
|
|
it's not in range, use the absolute section symbol plus an offset.
|
6699 |
|
|
(md_apply_fix): Use in_signed_range. Combined _SPARC13 and
|
6700 |
|
|
_BASE13 cases.
|
6701 |
|
|
(tc_gen_reloc): Permit BFD_RELOC_SPARC13.
|
6702 |
|
|
|
6703 |
|
|
* config/ic960coff.mt (TDEFINES): Fixed typo (MANY_SECTIONS, not
|
6704 |
|
|
MANY_SEGMENTS).
|
6705 |
|
|
|
6706 |
|
|
* configure.in: Eliminated all targets using obj-coff but not
|
6707 |
|
|
defining BFD_ASSEMBLER; I think all such targets that are
|
6708 |
|
|
supported will be matched by real CPU-OS combinations earlier in
|
6709 |
|
|
the case statement.
|
6710 |
|
|
(targets *-*-coff*, *-sysv*, *-*-sco*, *-*-sysv32): Deleted. Made
|
6711 |
|
|
some comments about the dpx2 configuration, but left it disabled,
|
6712 |
|
|
since it couldn't be reached before.
|
6713 |
|
|
(target a29k-amd-ebmonold): Deleted.
|
6714 |
|
|
|
6715 |
|
|
Thu Mar 17 13:36:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6716 |
|
|
|
6717 |
|
|
* config/tc-hppa.c (pa_import): Correctly handle importing of an
|
6718 |
|
|
already defined symbol.
|
6719 |
|
|
|
6720 |
|
|
Wed Mar 16 17:11:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6721 |
|
|
|
6722 |
|
|
* config/tc-mips.c (mips_ip): Only accept overly large values for
|
6723 |
|
|
the 'j' operand if there are no further alternatives for this
|
6724 |
|
|
instruction.
|
6725 |
|
|
|
6726 |
|
|
* config/obj-coffbfd.c (adjust_stab_section): Initialize
|
6727 |
|
|
stabstrseg to SEG_UNKNOWN, not -1. After loop, check whether it
|
6728 |
|
|
is not SEG_UNKNOWN rather than checking whether it is >= 0.
|
6729 |
|
|
|
6730 |
|
|
* config/tc-mips.c (mips_align): Take new argument, label, and use
|
6731 |
|
|
it instead of global insn_label.
|
6732 |
|
|
(s_align, s_cons, s_float_cons, s_gpword): Save insn_label before
|
6733 |
|
|
call to mips_emit_delay and pass it to mips_align.
|
6734 |
|
|
|
6735 |
|
|
Wed Mar 16 11:54:12 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6736 |
|
|
|
6737 |
|
|
* config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly.
|
6738 |
|
|
|
6739 |
|
|
* config/tc-hppa.c (pa_callinfo): Accept "millicode" as an
|
6740 |
|
|
argument to a .callinfo directive. Don't loop forever on errors.
|
6741 |
|
|
|
6742 |
|
|
* config/tc-hppa.c (pa_equ): Use pa_parse_number so that we can
|
6743 |
|
|
use pre-defined registers as arguments.
|
6744 |
|
|
|
6745 |
|
|
Mon Mar 14 14:29:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6746 |
|
|
|
6747 |
|
|
* write.c (write_object_file): Check both S_IS_LOCAL and
|
6748 |
|
|
S_IS_EXTERNAL when deciding whether to discard a symbol.
|
6749 |
|
|
|
6750 |
|
|
* config-gas.com: Scan Makefile.in, not version.c, for current
|
6751 |
|
|
version number. Delete all versions of temp files when finished
|
6752 |
|
|
with them. Create config.h.
|
6753 |
|
|
|
6754 |
|
|
* config/obj-vms.c (VMS_Initialized_Data_Size): Cache symbol
|
6755 |
|
|
values to reduce number of lookups with S_GET_VALUE. Skip debug
|
6756 |
|
|
symbols to avoid "a really nasty bug". (From Holger Teutsch,
|
6757 |
|
|
holger@botbso.rhein-main.de.)
|
6758 |
|
|
(VMS_write_object_file): For "__vt.*" symbols, set S_GET_OTHER
|
6759 |
|
|
field. (Also from Holger Teutsch.) Watch for a would-be register
|
6760 |
|
|
mask that spans frags.
|
6761 |
|
|
|
6762 |
|
|
* config/obj-coffbfd.c (obj_coff_line): Set symbol lnno field with
|
6763 |
|
|
this_base, not line_base. (Patch from Andreas Arens,
|
6764 |
|
|
ari@obelix.av.rwth-aachen.de.)
|
6765 |
|
|
|
6766 |
|
|
* config/obj-aout.c (obj_crawl_symbol_chain): Retain symbols that
|
6767 |
|
|
look local if they're exported or undefined. Used to be done for
|
6768 |
|
|
i960 only.
|
6769 |
|
|
|
6770 |
|
|
* read.c (s_lcomm, s_comm): Print symbol name being redefined.
|
6771 |
|
|
Get it from the looked-up symbol, instead of using the string from
|
6772 |
|
|
the input stream, which is no longer null-terminated.
|
6773 |
|
|
(LEX_PCT): New macro, defaults to 0.
|
6774 |
|
|
(lex_type): Use it for `%'.
|
6775 |
|
|
|
6776 |
|
|
* config/tc-vax.c (md_parse_option): Handle `-h#' option for VMS.
|
6777 |
|
|
(vip_op): Now static, and returns void. Callers changed. Added
|
6778 |
|
|
forward decl.
|
6779 |
|
|
(vip): Ditto. Call as_fatal directly if a program bug is
|
6780 |
|
|
detected.
|
6781 |
|
|
(op_hash): Let default initialization suffice.
|
6782 |
|
|
|
6783 |
|
|
* Makefile.in (literal.o): Provide dependencies.
|
6784 |
|
|
|
6785 |
|
|
* configure.in: Set new makefile variable OPCODES_LIB.
|
6786 |
|
|
* Makefile.in (LIBS): Use it.
|
6787 |
|
|
|
6788 |
|
|
* Makefile.in (make-gas.com, stamp-mk.com): New targets.
|
6789 |
|
|
* vmsconf.sh: New file.
|
6790 |
|
|
* make-gas.com: Regenerated from new script.
|
6791 |
|
|
|
6792 |
|
|
* configure.in (sparc*-*-lynxos*): Handle any version number
|
6793 |
|
|
suffix after "lynxos". Set emulation to lynx.
|
6794 |
|
|
|
6795 |
|
|
Mon Mar 14 11:30:49 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
6796 |
|
|
|
6797 |
|
|
* config/obj-coff.c (obj_coff_section): Delete declaration.
|
6798 |
|
|
|
6799 |
|
|
Fri Mar 11 22:25:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6800 |
|
|
|
6801 |
|
|
* config/tc-ppc.c (md_pcrel_from): Return 0 for undefined ELF
|
6802 |
|
|
symbols.
|
6803 |
|
|
(ppc_is_toc_sym): Change .toc to .got.
|
6804 |
|
|
(md_apply_fix): Change handling of ELF relocs.
|
6805 |
|
|
(tc_gen_reloc): Likewise.
|
6806 |
|
|
|
6807 |
|
|
Fri Mar 11 17:42:20 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6808 |
|
|
|
6809 |
|
|
* config/obj-vms.c (Close_VMS_Object_File): Add comment pointing
|
6810 |
|
|
out some code that doesn't belong in this file.
|
6811 |
|
|
|
6812 |
|
|
* config/obj-vms.h: Include aout/stab_gnu.h.
|
6813 |
|
|
(N_GSYM, ..., N_LENG): Deleted.
|
6814 |
|
|
(NO_RELOC): Undefine before defining as part of enum reloc_type.
|
6815 |
|
|
|
6816 |
|
|
* config/tc-alpha.c: Add comment questioning need for all the
|
6817 |
|
|
characters in FLT_CHARS.
|
6818 |
|
|
|
6819 |
|
|
* as.c (main) [OBJ_VMS]: Don't call output_file_close.
|
6820 |
|
|
|
6821 |
|
|
* config/obj-ecoff.c (ecoff_frob_file): Set strict order for
|
6822 |
|
|
sections with recognized names, before computing VMA values.
|
6823 |
|
|
|
6824 |
|
|
Fri Mar 11 17:56:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6825 |
|
|
|
6826 |
|
|
* config/tc-mips.c (mips_ip): Accept numbers between 0x8000 and
|
6827 |
|
|
0xffff for 'j' to be compatible with MIPS assembler. These
|
6828 |
|
|
numbers are actually treated as negative.
|
6829 |
|
|
|
6830 |
|
|
Thu Mar 10 13:36:29 1994 Doug Evans (dje@canuck.cygnus.com)
|
6831 |
|
|
|
6832 |
|
|
* config/tc-sparc.h (LOCAL_LABEL): Local labels are .Lfoo.
|
6833 |
|
|
|
6834 |
|
|
Tue Mar 8 21:17:12 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6835 |
|
|
|
6836 |
|
|
* config/obj-coff.c: Minor formatting/stylistic changes, plus:
|
6837 |
|
|
(obj_coff_section): Declare.
|
6838 |
|
|
(obj_pseudo_table): Make it available only if MANY_SECTIONS.
|
6839 |
|
|
(obj_symbol_to_chars) [CROSS_COMPILE]: Some attemps to make this
|
6840 |
|
|
work. It still doesn't. It now fails to compile, instead of
|
6841 |
|
|
silently compiling to do nothing.
|
6842 |
|
|
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define only if
|
6843 |
|
|
MANY_SECTIONS.
|
6844 |
|
|
(OBJ_PROCESS_STAB) [! MANY_SECTIONS]: New macro, just emits
|
6845 |
|
|
warning.
|
6846 |
|
|
|
6847 |
|
|
Handle Alpha load-immediate-FP pseudo-instructions:
|
6848 |
|
|
* config/alpha-opcode.h (ldif, ldig, ldis, ldit): New patterns.
|
6849 |
|
|
* config/tc-alpha.c (lit8_sec, lit4_sec, lit8_sym, lit4_sym): New
|
6850 |
|
|
variables.
|
6851 |
|
|
(create_literal_section): New function.
|
6852 |
|
|
(create_lita_section): Now a macro.
|
6853 |
|
|
(get_lit8_offset, get_lit4_offset): New functions.
|
6854 |
|
|
(maybe_set_gp): New function.
|
6855 |
|
|
(select_gp_value): Call it.
|
6856 |
|
|
(load_expression): Preserve addend if symbol is a section symbol.
|
6857 |
|
|
(alpha_ip): Handle new operand type `F' for floating-point
|
6858 |
|
|
constants; store them in .lit{4,8} sections.
|
6859 |
|
|
(alpha_ip, case 'G'): Emit LITUSE relocations for symbol exprs.
|
6860 |
|
|
|
6861 |
|
|
* config/tc-i386.c (smallest_imm_type): Never return Imm1.
|
6862 |
|
|
|
6863 |
|
|
Tue Mar 8 14:18:15 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
6864 |
|
|
|
6865 |
|
|
* config/obj-coffbfd.c (w_strings): Only copy strings out if
|
6866 |
|
|
their symbols are going to be written.
|
6867 |
|
|
|
6868 |
|
|
Tue Mar 8 11:49:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6869 |
|
|
|
6870 |
|
|
* messages.c (as_perror): Declare arguments const.
|
6871 |
|
|
* as.h (as_perror): Change declaration.
|
6872 |
|
|
|
6873 |
|
|
Mon Mar 7 16:08:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
6874 |
|
|
|
6875 |
|
|
* config/tc-mips.c (load_address): When calling frag_grow, allow
|
6876 |
|
|
for the (up to) two nops which may be inserted by append_insn if
|
6877 |
|
|
mips_optimize is 0.
|
6878 |
|
|
(macro): Likewise.
|
6879 |
|
|
|
6880 |
|
|
Thu Mar 3 11:37:55 1994 Doug Evans (dje@canuck.cygnus.com)
|
6881 |
|
|
|
6882 |
|
|
* config/atof-ieee.c (make_invalid_floating_point_number):
|
6883 |
|
|
Add cast to avoid warning from gcc.
|
6884 |
|
|
|
6885 |
|
|
Wed Mar 2 10:31:01 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6886 |
|
|
|
6887 |
|
|
* config/tc-hppa.c: Add a few casts to make HP C compiler happy.
|
6888 |
|
|
|
6889 |
|
|
* config/obj-som.c (obj_som_version, obj_som_copyright): Be
|
6890 |
|
|
prepared
|
6891 |
|
|
to handle an error from bfd_som_attach_aux_hdr.
|
6892 |
|
|
|
6893 |
|
|
* config/tc-hppa.h: Wrap ELF specific decls inside an ifdef.
|
6894 |
|
|
|
6895 |
|
|
Mon Feb 28 15:03:26 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6896 |
|
|
|
6897 |
|
|
* config/tc-alpha.c (md_atof): Omit warning about FP values.
|
6898 |
|
|
(line_comment_chars): Add ! to list.
|
6899 |
|
|
(md_apply_fix): Do process 32- and 64-bit relocations.
|
6900 |
|
|
|
6901 |
|
|
* config/obj-coffbfd.c (obj_coff_lcomm): Put "#if 0" around the
|
6902 |
|
|
unused parts (most of the function).
|
6903 |
|
|
(obj_coff_init_stab_section): Cast alloca result.
|
6904 |
|
|
|
6905 |
|
|
* configure.in (i960-*-coff, i960-*-vxworks5.*): Use coffbfd, and
|
6906 |
|
|
gas_target ic960coff.
|
6907 |
|
|
* config/ic960coff.mt: New file.
|
6908 |
|
|
* config/obj-coffbfd.h [TC_I960]: Include coff/i960.h.
|
6909 |
|
|
(TARGET_FORMAT) [TC_I960]: Use coff-Intel-little.
|
6910 |
|
|
* config/te-ic960.h (CROSS_COMPILE): Don't undef this. We'll
|
6911 |
|
|
always build little-endian object files.
|
6912 |
|
|
* config/tc-i960.c (md_reloc_size): Don't define at all if BFD or
|
6913 |
|
|
BFD_ASSEMBLER is defined.
|
6914 |
|
|
(mem_fmt): Since COFF doesn't handle callx relocations yet, treat
|
6915 |
|
|
them like normal 32-bit relocations.
|
6916 |
|
|
(md_apply_fix): For callx relocations, store zero.
|
6917 |
|
|
(tc_bout_fix_to_chars): Store symbol index for all callx
|
6918 |
|
|
relocations, regardless of link-relax setting.
|
6919 |
|
|
(tc_coff_fix2rtype, tc_coff_sizemachdep): New functions.
|
6920 |
|
|
(i960_handle_align) [! OBJ_BOUT]: If link-relax option is
|
6921 |
|
|
selected, print an error message and clear it.
|
6922 |
|
|
* config/tc-i960.h (BFD_ARCH, COFF_FLAGS, COFF_MAGIC,
|
6923 |
|
|
TC_COUNT_RELOC, TC_COFF_FIX2RTYPE, TC_COFF_SIZEMACHDEP,
|
6924 |
|
|
tc_fix_adjustable): New macros.
|
6925 |
|
|
(tc_coff_fix2rtype, tc_coff_sizemachdep): Declare.
|
6926 |
|
|
|
6927 |
|
|
Fri Feb 25 20:56:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6928 |
|
|
|
6929 |
|
|
* config/tc-hppa.c (hppa_tc_symbol): Call PA ELF BFD version.
|
6930 |
|
|
(hppa_tc_make_sections): Likewise.
|
6931 |
|
|
(pa_build_symextn_section): Delete unused function.
|
6932 |
|
|
(hppa_tc_make_symextn_section): Likewise.
|
6933 |
|
|
(pa_export): Delete call to pa_build_symextn_section.
|
6934 |
|
|
|
6935 |
|
|
* config/tc-hppa.h (hppa_tc_symbol): Add extern decl.
|
6936 |
|
|
(elf_hppa_final_processing): Delete extern decl.
|
6937 |
|
|
(hppa_tc_symbol): Delete extern decl.
|
6938 |
|
|
|
6939 |
|
|
Fri Feb 25 13:15:31 1994 Ian Lance Taylor (ian@cygnus.com)
|
6940 |
|
|
|
6941 |
|
|
* config/obj-coffbfd.c (fill_section): Correct test for whether to
|
6942 |
|
|
fill a section (from Minh Tran-Le ).
|
6943 |
|
|
|
6944 |
|
|
Thu Feb 24 11:30:26 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6945 |
|
|
|
6946 |
|
|
* configure.in: Don't require version number for i386-*-mach.
|
6947 |
|
|
|
6948 |
|
|
* read.c (potable): Added ".this_GCC_requires_the_GNU_assembler",
|
6949 |
|
|
which is ignored by gas, but will cause other assemblers to choke.
|
6950 |
|
|
Intended for use by gcc ports that require gas instead of native
|
6951 |
|
|
assemblers.
|
6952 |
|
|
|
6953 |
|
|
Thu Feb 24 07:10:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6954 |
|
|
|
6955 |
|
|
* config/ho-hppaosf.h: Fix braino in test for ANSI-C.
|
6956 |
|
|
|
6957 |
|
|
Wed Feb 23 16:51:43 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
6958 |
|
|
|
6959 |
|
|
* write.c (write_contents): Give the user a reasonable error
|
6960 |
|
|
message rather than "assertion failed" if bfd_set_section_contents
|
6961 |
|
|
fails.
|
6962 |
|
|
|
6963 |
|
|
Tue Feb 22 10:07:32 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
|
6964 |
|
|
|
6965 |
|
|
* config/ho-mach3.h: New file.
|
6966 |
|
|
|
6967 |
|
|
Mon Feb 21 11:41:18 1994 Ian Lance Taylor (ian@cygnus.com)
|
6968 |
|
|
|
6969 |
|
|
* ecoff.c (ecoff_build_debug): Don't set hdr->magic here. It is
|
6970 |
|
|
now set in bfd/ecofflink.c:ecoff_write_symhdr.
|
6971 |
|
|
|
6972 |
|
|
* config/obj-coffbfd.c (write_object_file): use bfd_get_error (),
|
6973 |
|
|
not bfd_error.
|
6974 |
|
|
* config/obj-elf.c (elf_frob_file): Likewise.
|
6975 |
|
|
|
6976 |
|
|
* read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm
|
6977 |
|
|
variables.
|
6978 |
|
|
|
6979 |
|
|
* config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__.
|
6980 |
|
|
|
6981 |
|
|
* read.c (read_a_source_file): Use correct arguments to memcpy
|
6982 |
|
|
(broken 19 Jul 1993). From kjd@pescadero.stanford.edu (Kenneth
|
6983 |
|
|
Duda).
|
6984 |
|
|
|
6985 |
|
|
Sun Feb 20 18:01:54 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
|
6986 |
|
|
|
6987 |
|
|
* config/obj-coff.h (obj_coff_section): Declare.
|
6988 |
|
|
* config/obj-coff.c (obj_pseudo_table): For "section", use
|
6989 |
|
|
obj_coff_section.
|
6990 |
|
|
(obj_coff_section): Rewrite.
|
6991 |
|
|
|
6992 |
|
|
Fri Feb 18 14:16:32 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
6993 |
|
|
|
6994 |
|
|
* configure.in (i386-*-mach3*): New target; uses BFD.
|
6995 |
|
|
* config/te-mach.h: New file.
|
6996 |
|
|
* config/obj-aout.c (obj_aout_frob_file): New function.
|
6997 |
|
|
* config/obj-aout.h (obj_aout_frob_file): Declare it.
|
6998 |
|
|
(frob_file): New macro.
|
6999 |
|
|
* config/tc-i386.c (md_apply_fix_1) [TE_Mach]: Don't adjust
|
7000 |
|
|
pcrel32 relocations.
|
7001 |
|
|
* config/tc-i386.h (TARGET_FORMAT) [TE_Mach]: Use a.out-mach3.
|
7002 |
|
|
|
7003 |
|
|
* write.c (write_object_file): Removed register declarations.
|
7004 |
|
|
|
7005 |
|
|
Thu Feb 17 16:25:18 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7006 |
|
|
|
7007 |
|
|
Some support for PowerPC ELF.
|
7008 |
|
|
* configure.in: If cpu is powerpc*, use ppc.
|
7009 |
|
|
(ppc-*-sysv4*): Use object format elf.
|
7010 |
|
|
* config/tc-ppc.h: Only declare a number of things if OBJ_COFF is
|
7011 |
|
|
defined.
|
7012 |
|
|
(TARGET_ARCH): Make it call ppc_arch.
|
7013 |
|
|
(ppc_arch): Declare.
|
7014 |
|
|
(TARGET_FORMAT): Set based on OBJ_COFF or OBJ_ELF.
|
7015 |
|
|
(NO_STRING_ESCAPES): Define.
|
7016 |
|
|
(LOCAL_LABEL, FAKE_LABEL_NAME): Define for OBJ_ELF.
|
7017 |
|
|
* config/tc-ppc.c: Only define a number of functions of OBJ_COFF
|
7018 |
|
|
is defined.
|
7019 |
|
|
(md_pseudo_table): Most pseudo-ops are OBJ_COFF specific. Added
|
7020 |
|
|
OBJ_COFF specific "bi" and "ei".
|
7021 |
|
|
(md_parse_option): Fix handling of -u. Make -m601 set
|
7022 |
|
|
PPC_OPCODE_601. If OBJ_ELF, accept -V and -Q.
|
7023 |
|
|
(ppc_set_cpu): New function.
|
7024 |
|
|
(ppc_arch): New function.
|
7025 |
|
|
(md_begin): Call ppc_set_cpu.
|
7026 |
|
|
(ppc_insert_operand): For a signed operand accept an unsigned
|
7027 |
|
|
value, for IBM compatibility.
|
7028 |
|
|
(ppc_byte): Don't call stringer for strings; instead, treat two
|
7029 |
|
|
double quotes as a single double quote.
|
7030 |
|
|
(ppc_comm): Set sy_tc.output for a .lcomm symbol.
|
7031 |
|
|
(ppc_biei): New function.
|
7032 |
|
|
(ppc_tc): If not OBJ_COFF, ignore first argument.
|
7033 |
|
|
(ppc_fix_adjustable): Call as_bad_where, not as_bad.
|
7034 |
|
|
(ppc_is_toc_sym): New function.
|
7035 |
|
|
(md_apply_fix): Use ppc_is_toc_sym. Handle BFD_RELOC_16 and
|
7036 |
|
|
BFD_RELOC_8.
|
7037 |
|
|
|
7038 |
|
|
Thu Feb 17 09:29:37 1994 David J. Mackenzie (djm@thepub.cygnus.com)
|
7039 |
|
|
|
7040 |
|
|
* messages.c (as_perror) [BFD_ASSEMBLER]: Use bfd_get_error and
|
7041 |
|
|
bfd_set_error and new error names.
|
7042 |
|
|
|
7043 |
|
|
Tue Feb 15 20:23:20 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7044 |
|
|
|
7045 |
|
|
* configure.in: Support i960-vxworks versions > 5.0 as coff.
|
7046 |
|
|
Default is still bout if no version is specified.
|
7047 |
|
|
|
7048 |
|
|
* atof-generic.c (atof_generic): Use switch and strcasecmp instead
|
7049 |
|
|
of large number of compares when looking for inf/nan values.
|
7050 |
|
|
|
7051 |
|
|
Fri Feb 11 13:13:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7052 |
|
|
|
7053 |
|
|
* config/tc-mips.c (macro): Do unaligned loads and stores
|
7054 |
|
|
correctly when big endian, and give errors on overflow rather than
|
7055 |
|
|
generating incorrect code.
|
7056 |
|
|
|
7057 |
|
|
Thu Feb 10 11:24:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7058 |
|
|
|
7059 |
|
|
* as.c: Include libiberty.h.
|
7060 |
|
|
|
7061 |
|
|
* read.c (do_align): Don't define label just_record_alignment
|
7062 |
|
|
unless it might be used.
|
7063 |
|
|
|
7064 |
|
|
* as.c (main): If md_parse_long_option is defined, call it with a
|
7065 |
|
|
long option.
|
7066 |
|
|
* config/tc-mips.h (md_parse_long_option): Define.
|
7067 |
|
|
* config/tc-mips.c (mips_trap): New static variable.
|
7068 |
|
|
(md_begin): Report an error if mips_trap is set at ISA level 1.
|
7069 |
|
|
(macro): If mips_trap, use trap instructions instead of break
|
7070 |
|
|
instructions for overflow and divide by zero detection.
|
7071 |
|
|
(mips_parse_long_option): New function. Support --trap,
|
7072 |
|
|
--no-break, --break and --no-trap.
|
7073 |
|
|
* doc/as.texinfo: Document new options.
|
7074 |
|
|
|
7075 |
|
|
* read.c (potable): Add "zero".
|
7076 |
|
|
* config/tc-i386.c (md_pseudo_table): Remove "zero".
|
7077 |
|
|
* config/tc-m88k.c (md_pseudo_table): Likewise.
|
7078 |
|
|
|
7079 |
|
|
Thu Feb 10 01:24:27 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7080 |
|
|
|
7081 |
|
|
* config/tc-sparc.c (sparc_ip): Reject integer values for
|
7082 |
|
|
pc-relative operand fields. This forces "call 0" to become "jmpl
|
7083 |
|
|
%g0,%o7" with no relocations needed.
|
7084 |
|
|
|
7085 |
|
|
Wed Feb 9 13:08:32 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7086 |
|
|
|
7087 |
|
|
* as.h (xmalloc, xrealloc): Declare using PTR rather than char *.
|
7088 |
|
|
* xmalloc.c (xmalloc, xrealloc): Use PTR rather than char *.
|
7089 |
|
|
|
7090 |
|
|
* app.c (do_scrub_next_char): If NO_STRING_ESCAPES is defined,
|
7091 |
|
|
don't treat backslash specially inside strings.
|
7092 |
|
|
* read.c (next_char_of_string): Likewise.
|
7093 |
|
|
|
7094 |
|
|
Wed Feb 9 09:42:45 1994 Stan Shebs (shebs@andros.cygnus.com)
|
7095 |
|
|
|
7096 |
|
|
* config/obj-coffbfd.c (obj_coff_init_stab_section): Use memset
|
7097 |
|
|
instead of memcpy to zero the initial stab symbol, duh.
|
7098 |
|
|
* config/obj-elf.c (obj_elf_init_stab_section): Ditto.
|
7099 |
|
|
* config/obj-som.c (obj_som_init_stab_section): Ditto.
|
7100 |
|
|
|
7101 |
|
|
Tue Feb 8 17:25:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7102 |
|
|
|
7103 |
|
|
* write.c (fixup_segment): Use as_bad_where, not as_bad.
|
7104 |
|
|
|
7105 |
|
|
* subsegs.c (subseg_set_rest): Call memset with the arguments in
|
7106 |
|
|
the right order. Explicitly clear fix_root and fix_tail fields.
|
7107 |
|
|
|
7108 |
|
|
Tue Feb 8 16:00:25 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7109 |
|
|
|
7110 |
|
|
* config/obj-coff.c (coff_frob_symbol): For abs_symbol, set *punt
|
7111 |
|
|
and do nothing else.
|
7112 |
|
|
|
7113 |
|
|
* symbols.c (symbol_begin): Initialize value of abs_symbol
|
7114 |
|
|
properly.
|
7115 |
|
|
|
7116 |
|
|
* write.c (adjust_reloc_syms): Use abs_symbol instead of calling
|
7117 |
|
|
section_symbol.
|
7118 |
|
|
|
7119 |
|
|
* ecoff.c (ecoff_build_debug): Fix "/*" in comment to silence
|
7120 |
|
|
complaint from "gcc -Wall".
|
7121 |
|
|
|
7122 |
|
|
* configure.in (alpha-*-netware*): New target, like alpha-*-osf*.
|
7123 |
|
|
|
7124 |
|
|
* config/tc-alpha.c (GP_ADJUSTMENT): Move definition to start of
|
7125 |
|
|
file.
|
7126 |
|
|
(tc_gen_reloc): Remove uninitialized variable `code', and code
|
7127 |
|
|
that tried to use it (incorrectly). For LITERAL reloc, set addend
|
7128 |
|
|
to negative of GP value.
|
7129 |
|
|
(load_symbol_address): Don't adjust return value by GP_ADJUSTMENT.
|
7130 |
|
|
|
7131 |
|
|
* write.c (write_relocs): Print some sensible error message if
|
7132 |
|
|
bfd_perform_relocation returns bfd_reloc_overflow.
|
7133 |
|
|
|
7134 |
|
|
Mon Feb 7 15:49:24 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7135 |
|
|
|
7136 |
|
|
* configure.in (hppa*-*elf*): New configuration for PA ELF.
|
7137 |
|
|
(hppa*-*-osf*): Default object format is SOM.
|
7138 |
|
|
|
7139 |
|
|
Mon Feb 7 16:07:35 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7140 |
|
|
|
7141 |
|
|
* config/tc-alpha.c (md_atof): Warn that floating-point values
|
7142 |
|
|
might not assemble properly.
|
7143 |
|
|
|
7144 |
|
|
* configure.in (target alpha-*-osf*): Don't set "dev=yes" any
|
7145 |
|
|
more.
|
7146 |
|
|
|
7147 |
|
|
* config/tc-alpha.c (load_expression): Parenthesize operations in
|
7148 |
|
|
range checking, to avoid precedence questions.
|
7149 |
|
|
|
7150 |
|
|
* config/tc-alpha.c (addr32): New static variable.
|
7151 |
|
|
(md_parse_option): Set it for "-32addr".
|
7152 |
|
|
(load_symbol_address): If addr32 is set, use ldl instead of ldq.
|
7153 |
|
|
|
7154 |
|
|
* atof-generic.c (atof_generic): Calculate maximum_useful_digits
|
7155 |
|
|
and more_than_enough_bits_for_digits in integer arithmetic, to
|
7156 |
|
|
eliminate the only sources of dependence on floating point
|
7157 |
|
|
support, which doesn't work yet on the Alpha.
|
7158 |
|
|
|
7159 |
|
|
Mon Feb 7 03:56:05 1994 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
7160 |
|
|
|
7161 |
|
|
* ecoff.c (ecoff_build_debug) [TC_ALPHA]: Specify version stamp as
|
7162 |
|
|
0x30b for Alpha for now, until ".verstamp" is handled.
|
7163 |
|
|
|
7164 |
|
|
* literal.c (add_to_literal_pool): Use seginfo->frchainP, which
|
7165 |
|
|
actually refers to the literal pool section, rather than
|
7166 |
|
|
frchain_now, which refers to whatever section the assembler was
|
7167 |
|
|
in.
|
7168 |
|
|
|
7169 |
|
|
* write.c (fixup_segment): Only do range checking if size of fixup
|
7170 |
|
|
is smaller than word size. Otherwise, we always wind up with
|
7171 |
|
|
zeros.
|
7172 |
|
|
|
7173 |
|
|
* config/tc-alpha.c (md_section_align): Change second argument and
|
7174 |
|
|
return type to valueT, to agree with tc.h.
|
7175 |
|
|
(alpha_do_align): Local static array nop_pattern is now unsigned
|
7176 |
|
|
char, to avoid overflow warnings.
|
7177 |
|
|
* config/tc-alpha.h (md_section_align): Delete declaration.
|
7178 |
|
|
|
7179 |
|
|
* config/obj-ecoff.c (ecoff_frob_file): Ensure that ecoff_data for
|
7180 |
|
|
output bfd is non-null before indirecting through it.
|
7181 |
|
|
|
7182 |
|
|
* config/tc-alpha.c (alpha_frob_ecoff_data): Renamed from
|
7183 |
|
|
alpha_frob_file.
|
7184 |
|
|
* config/tc-alpha.h (tc_frob_file): Macro deleted.
|
7185 |
|
|
* config/obj-ecoff.c (ecoff_frob_file) [TC_ALPHA]: Call
|
7186 |
|
|
alpha_frob_ecoff_data, then fill in optional-header info with gp
|
7187 |
|
|
value and register masks.
|
7188 |
|
|
|
7189 |
|
|
Sun Feb 6 16:13:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7190 |
|
|
|
7191 |
|
|
* configure.in (hiux): Fixes from m-kasahr@sramhc.sra.co.JP.
|
7192 |
|
|
|
7193 |
|
|
* config/obj-som.c (obj_som_init_stab_section): Same change
|
7194 |
|
|
as coffbfd and elf below. Zero the initial stab symbol after
|
7195 |
|
|
allocating it.
|
7196 |
|
|
|
7197 |
|
|
Sat Feb 5 12:30:32 1994 Stan Shebs (shebs@andros.cygnus.com)
|
7198 |
|
|
|
7199 |
|
|
* config/obj-coffbfd.c (obj_coff_init_stab_section): Zero the
|
7200 |
|
|
initial stab symbol after allocating it.
|
7201 |
|
|
* config/obj-elf.c (obj_elf_init_stab_section): Ditto.
|
7202 |
|
|
|
7203 |
|
|
Sat Feb 5 11:53:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7204 |
|
|
|
7205 |
|
|
* config/tc-hppa.c (pa_ip): addb[tf] should only accept
|
7206 |
|
|
non-negated condition completers. Add support for addb pseudo-op
|
7207 |
|
|
which accepts both negated and non-negated completers.
|
7208 |
|
|
|
7209 |
|
|
Sat Feb 5 00:15:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7210 |
|
|
|
7211 |
|
|
* configure.in (rs6000*): Use cpu_type ppc.
|
7212 |
|
|
(ppc-*-aix*): New target; use coff and force bfd_gas.
|
7213 |
|
|
* config/tc-ppc.h, config/tc-ppc.c: New files for PowerPC/POWER
|
7214 |
|
|
(RS/6000) support. At the moment, only XCOFF is supported.
|
7215 |
|
|
|
7216 |
|
|
* config/obj-coff.c (SA_SET_SYM_ENDNDX): Made non-static.
|
7217 |
|
|
(S_SET_DATA_TYPE): Likewise.
|
7218 |
|
|
(coff_last_function): Renamed from local static last_functionP in
|
7219 |
|
|
coff_frob_symbol and made externally visible.
|
7220 |
|
|
(coff_frob_symbol): New local static set_end; use it to try to
|
7221 |
|
|
avoid calling SA_SET_SYM_ENDNDX on a symbol that will be punted.
|
7222 |
|
|
* config/obj-coff.h (S_SET_DATA_TYPE): Declare.
|
7223 |
|
|
(SA_SET_SYM_ENDNDX): Declare.
|
7224 |
|
|
(coff_last_function): Declare.
|
7225 |
|
|
|
7226 |
|
|
* expr.c (operand): If DOLLAR_DOT is defined, accept `$' as
|
7227 |
|
|
equivalent to `.' to mean the current location.
|
7228 |
|
|
|
7229 |
|
|
* read.c (LEX_BR): If not defined, define as 0.
|
7230 |
|
|
(lex_type): Use LEX_BR as the type of `{',`}',`[',`]'.
|
7231 |
|
|
|
7232 |
|
|
* symbols.c (symbol_new): If tc_canonicalize_symbol_name is
|
7233 |
|
|
defined, call it with preserved_copy_of_name. If
|
7234 |
|
|
tc_symbol_new_hook is defined, call it on the new symbol.
|
7235 |
|
|
(symbol_find_base): If tc_canonicalize_symbol_name is defined,
|
7236 |
|
|
call it on a copy of the name argument.
|
7237 |
|
|
|
7238 |
|
|
* write.c (write_object_file): Simplified usage of obj_frob_symbol
|
7239 |
|
|
and tc_frob_symbol. Always call both if the symbol is going to be
|
7240 |
|
|
output.
|
7241 |
|
|
|
7242 |
|
|
* write.c (relax_segment): Use %ld rather than %d when printing
|
7243 |
|
|
fragP->fr_var, and cast it to long.
|
7244 |
|
|
|
7245 |
|
|
Changed relocs to be based on subsegments (when BFD_ASSEMBLER).
|
7246 |
|
|
* subsegs.h (struct frchain): If BFD_ASSEMBLER, added new fields
|
7247 |
|
|
fix_root and fix_tail.
|
7248 |
|
|
(segment_info_type): If BFD_ASSEMBLER, don't define fix_tail
|
7249 |
|
|
field.
|
7250 |
|
|
* write.c (fix_new_internal): If BFD_ASSEMBLER, set fix_rootP and
|
7251 |
|
|
fix_tailP based on frchain_now, not seg_info (now_seg).
|
7252 |
|
|
(chain_frchains_together_1): Chain the subsegment relocs together.
|
7253 |
|
|
* subsegs.c (subseg_change): Don't clear fix_tail field.
|
7254 |
|
|
(subseg_get): Likewise.
|
7255 |
|
|
* literal.c (add_to_literal_pool): Look through the relocs via
|
7256 |
|
|
frchain_now, not seginfo.
|
7257 |
|
|
|
7258 |
|
|
Thu Feb 3 23:07:30 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7259 |
|
|
|
7260 |
|
|
* config/obj-ecoff.h (TARGET_SYMBOL_FIELDS): Changed
|
7261 |
|
|
ecoff_undefined to ecoff_extern_size.
|
7262 |
|
|
* config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Likewise.
|
7263 |
|
|
* config/tc-mips.c (s_extern): Set ecoff_extern_size to the
|
7264 |
|
|
external symbol size, rathern than setting the symbol value.
|
7265 |
|
|
(md_estimate_size_before_relax): Check both ecoff_extern_size and
|
7266 |
|
|
symbol value to see if GP referencing can be used.
|
7267 |
|
|
* ecoff.c (ecoff_symbol_new_hook): Clear ecoff_extern_size, not
|
7268 |
|
|
ecoff_undefined.
|
7269 |
|
|
(ecoff_frob_symbol): Don't check ecoff_undefined.
|
7270 |
|
|
(ecoff_build_symbols): Get size of an undefined symbol from
|
7271 |
|
|
sym->ecoff_extern_size, not S_GET_VALUE (sym).
|
7272 |
|
|
|
7273 |
|
|
Wed Feb 2 13:55:08 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7274 |
|
|
|
7275 |
|
|
* Makefile.in: Avoid bug in losing hpux sed.
|
7276 |
|
|
|
7277 |
|
|
Wed Feb 2 11:40:11 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7278 |
|
|
|
7279 |
|
|
* config/tc-mips.c (file_mips_isa): New static variable.
|
7280 |
|
|
(md_begin): Set it.
|
7281 |
|
|
(s_mipsset): Add support for .set mipN to set the ISA level.
|
7282 |
|
|
|
7283 |
|
|
* gasp.c (kinfo): Fully bracket initializer.
|
7284 |
|
|
|
7285 |
|
|
Tue Feb 1 19:28:12 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7286 |
|
|
|
7287 |
|
|
* gasp.c (malloc): Don't declare, since host.h or system header
|
7288 |
|
|
files may declare it differently.
|
7289 |
|
|
|
7290 |
|
|
* config/atof-ieee.c (int_to_gen): Now static.
|
7291 |
|
|
|
7292 |
|
|
* config/ho-i386aix.h: Include sys/types.h and stdlib.h, not
|
7293 |
|
|
ho-sysv.h. Based loosely on a patch from Minh Tran-Le.
|
7294 |
|
|
|
7295 |
|
|
Tue Feb 1 10:50:17 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
7296 |
|
|
|
7297 |
|
|
* gasp.c: Include host.h.
|
7298 |
|
|
|
7299 |
|
|
Tue Feb 1 12:13:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7300 |
|
|
|
7301 |
|
|
* config/tc-mips.c (mips_ip): Make an unsupported instruction a
|
7302 |
|
|
warning, not an error.
|
7303 |
|
|
|
7304 |
|
|
* config/obj-coff.c (dot_text_symbol, dot_data_symbol,
|
7305 |
|
|
dot_bss_symbol): Don't define if BFD_ASSEMBLER.
|
7306 |
|
|
(obj_symbol_to_chars): bfd_coff_swap_aux_out now takes more
|
7307 |
|
|
arguments.
|
7308 |
|
|
(coff_line_base): Renamed from line_base. Changed all uses.
|
7309 |
|
|
(coff_add_linesym): Renamed from add_line_sym. Made non-static.
|
7310 |
|
|
Changed all uses.
|
7311 |
|
|
* config/obj-coff.h: If TC_PPC, include coff/rs6000.h.
|
7312 |
|
|
(S_SET_STORAGE_CLASS, S_GET_STORAGE_CLASS): Declare if
|
7313 |
|
|
BFD_ASSEMBLER.
|
7314 |
|
|
(coff_line_base): Declare.
|
7315 |
|
|
(coff_add_linesym): Declare if BFD_ASSEMBLER.
|
7316 |
|
|
* config/obj-coffbfd.c (symbol_to_chars): bfd_coff_swap_aux_out
|
7317 |
|
|
now takes more arguments.
|
7318 |
|
|
|
7319 |
|
|
Mon Jan 31 17:55:14 1994 Stan Shebs (shebs@andros.cygnus.com)
|
7320 |
|
|
|
7321 |
|
|
* as.c (statistics_flag): Renamed from quiet_flag.
|
7322 |
|
|
(main): Get statistics with --statistics instead of -noquiet.
|
7323 |
|
|
|
7324 |
|
|
Mon Jan 31 07:19:30 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
7325 |
|
|
|
7326 |
|
|
* Makefile.in: Support for Gnu ASsembler Preprocessor.
|
7327 |
|
|
* gasp.c: New file.
|
7328 |
|
|
* read.c (s_lcomm): Align lcomm data.
|
7329 |
|
|
* config/tc-z8k.c (tc_reloc_mangle): Don't allow subtraction
|
7330 |
|
|
from different sections.
|
7331 |
|
|
|
7332 |
|
|
Sun Jan 30 14:58:26 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7333 |
|
|
|
7334 |
|
|
* write.c (write_object_file): If tc_frob_file is defined, call it
|
7335 |
|
|
just before calling obj_frob_file.
|
7336 |
|
|
* config/tc-alpha.c (alpha_gp_value): Renamed from gp_value
|
7337 |
|
|
(references changed), and made non-static.
|
7338 |
|
|
(getExpression): Return void.
|
7339 |
|
|
(select_gp_value): Abort if gp_value is non-zero. Delete call to
|
7340 |
|
|
non-existent bfd_set_gp_value.
|
7341 |
|
|
(alpha_validate_fix): Function deleted.
|
7342 |
|
|
(alpha_frob_symbol): Function deleted.
|
7343 |
|
|
(alpha_local_label): Function deleted.
|
7344 |
|
|
(alpha_frob_file): Renamed from alpha_end.
|
7345 |
|
|
* config/tc-alpha.h (alpha_frob_symbol, alpha_validate_fix,
|
7346 |
|
|
alpha_local_label, alpha_end): Declarations deleted.
|
7347 |
|
|
(alpha_gp_value, alpha_frob_file): Declare.
|
7348 |
|
|
(tc_frob_symbol, TC_VALIDATE_FIX, md_end): Macros deleted.
|
7349 |
|
|
(LOCAL_LABEL): Move code here from tc-alpha.c:alpha_local_label.
|
7350 |
|
|
(md_convert_frag): Simplified slightly.
|
7351 |
|
|
(tc_frob_file): New macro.
|
7352 |
|
|
|
7353 |
|
|
* read.c (do_align): New function, most of guts of s_align_*
|
7354 |
|
|
functions. Look for md_do_align macro, give it a chance to bypass
|
7355 |
|
|
all but recording of section alignment.
|
7356 |
|
|
(s_align_bytes, s_align_ptwo): Call do_align.
|
7357 |
|
|
(s_lcomm) [TC_ALPHA]: Align object to largest power of two that
|
7358 |
|
|
divides object size.
|
7359 |
|
|
|
7360 |
|
|
* frags.c (frag_align_pattern): New function.
|
7361 |
|
|
(frag_align): Rewrite for clarity.
|
7362 |
|
|
|
7363 |
|
|
* config/tc-vax.c (md_assemble): Handle O_constant expression.
|
7364 |
|
|
(vip_begin): Returns pointer to const char. Cast hash_insert arg
|
7365 |
|
|
to PTR to avoid compiler complaints about const.
|
7366 |
|
|
(md_begin): Local variable errtxt must point to const.
|
7367 |
|
|
|
7368 |
|
|
* configure.in: Handle host vax-*-ultrix* like vax-*-bsd*. Don't
|
7369 |
|
|
bother with *-*-ultrix or *-*-sysv*, except *-*-sysv, since only
|
7370 |
|
|
the last has an existing host support file. Do handle vax-bsd and
|
7371 |
|
|
vax-ultrix targets.
|
7372 |
|
|
|
7373 |
|
|
Fri Jan 28 11:26:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7374 |
|
|
|
7375 |
|
|
* config/obj-coff.c (obj_coff_section_header_append): Do not
|
7376 |
|
|
declare if BFD_ASSEMBLER.
|
7377 |
|
|
(stack_pop): Correct test for stack underflow.
|
7378 |
|
|
(obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size,
|
7379 |
|
|
obj_coff_scl, obj_coff_tag, obj_coff_type, obj_coff_val): Declare
|
7380 |
|
|
type of ignored argument to avoid gcc warning.
|
7381 |
|
|
(align): Removed unused function.
|
7382 |
|
|
|
7383 |
|
|
Thu Jan 27 18:14:19 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7384 |
|
|
|
7385 |
|
|
* config/tc-alpha.c, config/tc-alpha.h, config/alpha-opcode.h: New
|
7386 |
|
|
files, based on port of gas-1.38 contributed by CMU, using a.out
|
7387 |
|
|
variant. Updated for gas-2.x and ECOFF. Floating-point constants
|
7388 |
|
|
are still broken, bootstrap testing incomplete.
|
7389 |
|
|
|
7390 |
|
|
* literal.c: Comment changes.
|
7391 |
|
|
|
7392 |
|
|
* listing.c (listing_source_file): Check for null listing_tail
|
7393 |
|
|
before indirecting through it.
|
7394 |
|
|
|
7395 |
|
|
* expr.h (struct expressionS): Added struct tag.
|
7396 |
|
|
|
7397 |
|
|
* as.h: If __GNUC__ and inline are both undefined, define inline
|
7398 |
|
|
away.
|
7399 |
|
|
|
7400 |
|
|
* write.c (cvt_frag_to_fill): Don't assume that fr_var for
|
7401 |
|
|
rs_align or rs_org frags will be 1.
|
7402 |
|
|
(relax_segment): For rs_align, if fr_var is not 1, complain if
|
7403 |
|
|
required padding is not a multiple of the size of the pad pattern.
|
7404 |
|
|
(fixup_segment): Leave gp-relative relocations alone. For pcrel
|
7405 |
|
|
relocations referring to the same segment, clear fx_pcrel when
|
7406 |
|
|
clearing fx_addsy.
|
7407 |
|
|
* as.h: Adjust comments on rs_align.
|
7408 |
|
|
|
7409 |
|
|
* atof-generic.c: Some reformatting.
|
7410 |
|
|
(atof_generic): Be careful when mixing signed/unsigned values of
|
7411 |
|
|
different sizes.
|
7412 |
|
|
|
7413 |
|
|
* write.c, config/obj-{aout,bout,coff*}.c, config/tc-sparc.c:
|
7414 |
|
|
Query the fx_done field instead of fx_addsy to see if the fixup
|
7415 |
|
|
still needs to be applied. Set fx_done and clear fx_addsy both,
|
7416 |
|
|
for now. If TC_HANDLES_FX_DONE isn't defined, assume md_apply_fix
|
7417 |
|
|
will only clear fx_addsy, and set fx_done accordingly after
|
7418 |
|
|
returning.
|
7419 |
|
|
* config/tc-sparc.h (TC_HANDLES_FX_DONE): Define.
|
7420 |
|
|
* config/tc-sparc.c (md_apply_fix): Set fx_done for non-pcrel fix
|
7421 |
|
|
with no fx_addsy.
|
7422 |
|
|
|
7423 |
|
|
* symbols.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol):
|
7424 |
|
|
Deleted.
|
7425 |
|
|
(symbol_begin): Moved to end of file, so function inlining can
|
7426 |
|
|
work better.
|
7427 |
|
|
(fb_label_count, fb_label_max): Default C static initializers are
|
7428 |
|
|
sufficient.
|
7429 |
|
|
* symbols.h (dot_text_symbol, dot_data_symbol, dot_bss_symbol):
|
7430 |
|
|
Declarations deleted.
|
7431 |
|
|
* config/obj-coff.c (dot_text_symbol, dot_data_symbol,
|
7432 |
|
|
dot_bss_symbol): Defined here, static.
|
7433 |
|
|
|
7434 |
|
|
* config/obj-aout.c [BFD_ASSEMBLER]: Undef NO_RELOC before
|
7435 |
|
|
including aout/aout64.h.
|
7436 |
|
|
|
7437 |
|
|
* write.c (write_object_file): If EMIT_SECTION_SYMBOLS is false,
|
7438 |
|
|
don't write out a section symbol even if it's used in a
|
7439 |
|
|
relocation; assume relocations will handle section numbers
|
7440 |
|
|
somehow. Rename "punt_it" label to "punt_it_if_unused" to reflect
|
7441 |
|
|
it's true use.
|
7442 |
|
|
(EMIT_SECTION_SYMBOLS): Default to 1.
|
7443 |
|
|
(adjust_reloc_syms): Don't create a new symbol for an absolute
|
7444 |
|
|
reference; just use the absolute section symbol.
|
7445 |
|
|
(write_relocs): Make printout of reloc values dependent on flag
|
7446 |
|
|
DEBUG3, not DEBUG2.
|
7447 |
|
|
* config/obj-aout.h (EMIT_SECTION_SYMBOLS): Define as 0.
|
7448 |
|
|
* config/obj-ecoff.h (EMIT_SECTION_SYMBOLS): Ditto.
|
7449 |
|
|
|
7450 |
|
|
Thu Jan 27 16:43:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7451 |
|
|
|
7452 |
|
|
* read.c (lex_type): No longer make '{' a valid character for
|
7453 |
|
|
symbol names.
|
7454 |
|
|
|
7455 |
|
|
* as.c (main): Print long values using %ld.
|
7456 |
|
|
|
7457 |
|
|
* messages.c (as_warn_internal): New static function.
|
7458 |
|
|
(as_warn, 3 versions): Use as_warn_internal.
|
7459 |
|
|
(as_warn_where, 3 versions): New function.
|
7460 |
|
|
* as.h (as_warn_where): Declare.
|
7461 |
|
|
|
7462 |
|
|
Tue Jan 25 18:30:34 1994 Stan Shebs (shebs@andros.cygnus.com)
|
7463 |
|
|
|
7464 |
|
|
* as.c (quiet_flag): New flag.
|
7465 |
|
|
(main): If -noquiet given, display execution time and memory used.
|
7466 |
|
|
|
7467 |
|
|
Tue Jan 25 15:53:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7468 |
|
|
|
7469 |
|
|
* doc/{all.texi,as.texinfo}: Add documentation for HPPA port.
|
7470 |
|
|
|
7471 |
|
|
Mon Jan 24 19:18:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7472 |
|
|
|
7473 |
|
|
* ecoff.c (ecoff_frob_symbol): New function. Put undefined
|
7474 |
|
|
symbols of known size in the undefined section. Put small common
|
7475 |
|
|
symbols in a .scommon section.
|
7476 |
|
|
* ecoff.h (ecoff_frob_symbol): Declare.
|
7477 |
|
|
* config/obj-ecoff.h (obj_frob_symbol): Define.
|
7478 |
|
|
* config/obj-elf.c (obj_elf_write_symbol_p, obj_elf_write_symbol,
|
7479 |
|
|
obj_elf_frob_symbol): Removed unused functions.
|
7480 |
|
|
* config/obj-elf.h (obj_frob_symbol, obj_write_symbol): Removed
|
7481 |
|
|
unused macros.
|
7482 |
|
|
(obj_elf_frob_symbol, obj_elf_write_symbol): Removed declarations
|
7483 |
|
|
of unused functions.
|
7484 |
|
|
(obj_frob_symbol): Define if ECOFF_DEBUGGING.
|
7485 |
|
|
|
7486 |
|
|
* config/tc-mips.c (g_switch_seen): New static variable.
|
7487 |
|
|
(md_parse_option): Set g_switch_seen for -G option.
|
7488 |
|
|
(s_option): If creating PIC code, force the GP size to be 0. Warn
|
7489 |
|
|
if -G switch used with a non-zero value.
|
7490 |
|
|
|
7491 |
|
|
* symbols.c (S_IS_COMMON): Use bfd_is_com_section rather than
|
7492 |
|
|
comparing against bfd_com_section.
|
7493 |
|
|
|
7494 |
|
|
Mon Jan 24 14:12:25 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7495 |
|
|
|
7496 |
|
|
* read.c (s_lcomm): Treat Alpha like MIPS in handling of .sbss
|
7497 |
|
|
section.
|
7498 |
|
|
|
7499 |
|
|
Thu Jan 20 13:17:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7500 |
|
|
|
7501 |
|
|
* expr.c (operand): For floating point operand with unusual fp
|
7502 |
|
|
char from FLT_CHARS, preserve the character. Patch from Lisa
|
7503 |
|
|
Repka.
|
7504 |
|
|
|
7505 |
|
|
Wed Jan 19 23:15:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7506 |
|
|
|
7507 |
|
|
* config/tc-mips.c (md_pseudo_table): Add all data allocation
|
7508 |
|
|
pseudo-ops: .hword, .int, .long, .octa, .quad, .short, .single.
|
7509 |
|
|
|
7510 |
|
|
Tue Jan 18 15:51:59 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
7511 |
|
|
|
7512 |
|
|
* config/obj-coffbfd.c (obj_coff_endef): For C_EFCN, C_BLOCK and
|
7513 |
|
|
C_FCN assume .val has been set to .
|
7514 |
|
|
|
7515 |
|
|
Tue Jan 18 16:19:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7516 |
|
|
|
7517 |
|
|
* config/tc-hppa.c: Disable multiple $CODE$ subspace code. It
|
7518 |
|
|
confuses GDB for some unknown reason.
|
7519 |
|
|
* config/obj-som.c: Likewise.
|
7520 |
|
|
|
7521 |
|
|
Tue Jan 18 19:05:32 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7522 |
|
|
|
7523 |
|
|
* literal.c (add_to_literal_pool): Handle duplicates of values
|
7524 |
|
|
already written to literal pool.
|
7525 |
|
|
|
7526 |
|
|
Tue Jan 18 17:23:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7527 |
|
|
|
7528 |
|
|
* config/obj-aout.c (obj_aout_frob_symbol): Try to get symbols
|
7529 |
|
|
with explicitly marked stabs through BFD: if a symbol marked
|
7530 |
|
|
N_UNDF | N_EXT is in the absolute section, move it to the
|
7531 |
|
|
undefined section; move a symbol marked N_INDR into
|
7532 |
|
|
bfd_ind_section and set the BSF_INDIRECT flag; set the
|
7533 |
|
|
BSF_WARNING flag for a symbol makred N_WARNING.
|
7534 |
|
|
|
7535 |
|
|
Mon Jan 17 15:40:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7536 |
|
|
|
7537 |
|
|
* ecoff.h (ecoff_set_gp_prolog_size): Declare.
|
7538 |
|
|
* ecoff.c (ecoff_set_gp_prolog_size): Return type is void.
|
7539 |
|
|
|
7540 |
|
|
Mon Jan 17 00:18:55 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7541 |
|
|
|
7542 |
|
|
* config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
|
7543 |
|
|
and 'f' template operand.
|
7544 |
|
|
|
7545 |
|
|
* config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
|
7546 |
|
|
and '2' in copr and sfu instruction templates.
|
7547 |
|
|
|
7548 |
|
|
Sun Jan 16 16:44:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7549 |
|
|
|
7550 |
|
|
* as.h (subseg_force_new): Add prototype.
|
7551 |
|
|
|
7552 |
|
|
Sat Jan 15 09:20:55 1994 Doug Evans (dje@canuck.cygnus.com)
|
7553 |
|
|
|
7554 |
|
|
* app.c (do_scrub_next_char): Allow lines like " foolab :".
|
7555 |
|
|
|
7556 |
|
|
* read.c (emit_expr): Fix computation of mask.
|
7557 |
|
|
* config/obj-elf.c (obj_elf_section): Fix loop termination test.
|
7558 |
|
|
|
7559 |
|
|
Thu Jan 13 16:15:15 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7560 |
|
|
|
7561 |
|
|
* ecoff.c (ecoff_set_gp_prolog_size): New function.
|
7562 |
|
|
(current_file_idx): New static variable.
|
7563 |
|
|
(add_file): Use and increment current_file_idx instead of indx
|
7564 |
|
|
parameter.
|
7565 |
|
|
|
7566 |
|
|
* struc-symbol.h (struct symbol): Make all bitfields unsigned.
|
7567 |
|
|
|
7568 |
|
|
* config/tc-i960.c (i960_validate_fix): Added argument
|
7569 |
|
|
add_symbolPP. Indirect through it to get "add_symbolP".
|
7570 |
|
|
* config/tc-i960.h (i960_validate_fix): Supply prototype.
|
7571 |
|
|
(TC_VALIDATE_FIX): Pass address of add_symbolP.
|
7572 |
|
|
|
7573 |
|
|
* configure.in (i386-*-netbsd*): New target, using te-netbsd.h.
|
7574 |
|
|
(i386-*-netbsd0.8): New target, like 386bsd.
|
7575 |
|
|
|
7576 |
|
|
* configure.in: Set BFDDEF in Makefile to "define" or "undef".
|
7577 |
|
|
* Makefile.in (config.h): Protect against multiple inclusions.
|
7578 |
|
|
Define or undef BFD_ASSEMBLER as specified by $(BFDDEF).
|
7579 |
|
|
(ALL_CFLAGS): Omit $(BFDDEF).
|
7580 |
|
|
* as.h: Include config.h.
|
7581 |
|
|
(struct symbol): Added forward declaration.
|
7582 |
|
|
(add_to_literal_pool): Fix declaration.
|
7583 |
|
|
* as.c: Don't include config.h.
|
7584 |
|
|
|
7585 |
|
|
* literal.c (add_to_literal_pool): Take symbol and addend as
|
7586 |
|
|
arguments, instead of expression, for now. Fix calculation of
|
7587 |
|
|
offset to return.
|
7588 |
|
|
|
7589 |
|
|
* subsegs.h (segment_info_type) [NEED_LITERAL_POOL]: Add field
|
7590 |
|
|
literal_pool_size.
|
7591 |
|
|
|
7592 |
|
|
Thu Jan 13 12:14:21 1994 Jeffrey A. Law (law@snake.cs.utah.edu
|
7593 |
|
|
|
7594 |
|
|
* subsegs.c (subseg_get): Accept new argument "force_new". If
|
7595 |
|
|
set then a new segment is always created. All callers changed.
|
7596 |
|
|
(subseg_force_new): New function. Similar to subseg_new, but
|
7597 |
|
|
always force a new segment to be created.
|
7598 |
|
|
|
7599 |
|
|
* config/obj-som.c (som_frob_file): Call adjust_code_sections
|
7600 |
|
|
for each section.
|
7601 |
|
|
(adjust_code_sections): New function. Adjusts the VMA for all the
|
7602 |
|
|
$CODE$ subspaces.
|
7603 |
|
|
|
7604 |
|
|
* config/tc-hppa.c (md_assemble): Also handle creating a fixup
|
7605 |
|
|
for the unwind descriptors if a function's label follows the
|
7606 |
|
|
.PROC and .ENTRY directives.
|
7607 |
|
|
(pa_entry): Don't set BSF_FUNCTION for the label symbol here; it
|
7608 |
|
|
is done elsewhere. Don't create a fixup for the unwind
|
7609 |
|
|
descriptors if the function's label has not been defined yet.
|
7610 |
|
|
(pa_proc): For SOM, place each procedure within a new $CODE$
|
7611 |
|
|
subspace. Adjust the segment and frag for the associated
|
7612 |
|
|
function label if it exists.
|
7613 |
|
|
|
7614 |
|
|
Wed Jan 12 22:05:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7615 |
|
|
|
7616 |
|
|
* config/tc-hppa.c (hppa_fix_struct): Add new "segment" field.
|
7617 |
|
|
(hppa_fix_new): Initialize segment field.
|
7618 |
|
|
(md_apply_fix): Do nothing for pc-relative fixup which involves
|
7619 |
|
|
crossing a segment boundary.
|
7620 |
|
|
(pa_procend): Undefine the current label after handling .PROC
|
7621 |
|
|
and .PROCEND directives.
|
7622 |
|
|
(dummy_symbol): Make type "symbolS *". Change references as
|
7623 |
|
|
appropriate.
|
7624 |
|
|
|
7625 |
|
|
Wed Jan 12 13:29:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7626 |
|
|
|
7627 |
|
|
* read.c (read_a_source_file): Cast array argument to unsigned
|
7628 |
|
|
char.
|
7629 |
|
|
* write.c (adjust_reloc_syms): Remove unused variable symseginfo.
|
7630 |
|
|
(write_object_file): Don't define punt_it if it won't be used.
|
7631 |
|
|
(fixup_segment): Don't define skip if it won't be used.
|
7632 |
|
|
|
7633 |
|
|
* config/tc-mips.h (TARGET_FORMAT): Define as mips_target_format.
|
7634 |
|
|
(mips_target_format): Declare.
|
7635 |
|
|
* config/tc-mips.c (mips_target_format): Define with appropriate
|
7636 |
|
|
default definition.
|
7637 |
|
|
(md_parse_option): If -EL or -EB is used, change byte_order and
|
7638 |
|
|
mips_target_format as appropriate.
|
7639 |
|
|
|
7640 |
|
|
Tue Jan 11 21:52:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7641 |
|
|
|
7642 |
|
|
* app.c (do_scrub_next_char): Another attempt to fix bugs
|
7643 |
|
|
dealing with labels without colons (for HPPA and MRI).
|
7644 |
|
|
|
7645 |
|
|
Tue Jan 11 17:01:06 1994 Doug Evans (dje@canuck.cygnus.com)
|
7646 |
|
|
|
7647 |
|
|
* config/tc-sparc.c (sparc_ip): Truncate args to %hi/%lo to 32 bits.
|
7648 |
|
|
|
7649 |
|
|
* expr.c (integer_constant): Fix computation of too_many_digits.
|
7650 |
|
|
Variable digit_2 renamed to start. Fix check for whether number
|
7651 |
|
|
will fit in 32 bits.
|
7652 |
|
|
* read.c (emit_expr): Use valueT instead of long.
|
7653 |
|
|
|
7654 |
|
|
Tue Jan 11 13:01:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7655 |
|
|
|
7656 |
|
|
* config/obj-elf.c: If TC_MIPS, include elf/mips.h.
|
7657 |
|
|
(special_sections): Define.
|
7658 |
|
|
(obj_elf_special_section): Get default types and attributes from
|
7659 |
|
|
list of special sections.
|
7660 |
|
|
* config/tc-mips.c (ELF_TC_SPECIAL_SECTIONS): Define.
|
7661 |
|
|
|
7662 |
|
|
* config/obj-ecoff.c (ecoff_frob_file): Force .sdata and .sbss
|
7663 |
|
|
sections to be close together.
|
7664 |
|
|
|
7665 |
|
|
* config/tc-mips.c (macro): Corrected $at warnings in a couple of
|
7666 |
|
|
spots.
|
7667 |
|
|
|
7668 |
|
|
* listing.c (listing_prev_line): New function.
|
7669 |
|
|
* listing.c: Include subsegs.h.
|
7670 |
|
|
(listing_prev_line): New function.
|
7671 |
|
|
(calc_hex): Reset byte_in_frag to zero for each new frag.
|
7672 |
|
|
* config/tc-mips.c (append_insn): Call listing_prev_line after
|
7673 |
|
|
emitting nop instructions.
|
7674 |
|
|
* Makefile.in (listing.o): Depends upon subsegs.h.
|
7675 |
|
|
|
7676 |
|
|
Mon Jan 10 09:52:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7677 |
|
|
|
7678 |
|
|
* config/tc-hppa.c (pa_ip): Put check for missing label on .PROC
|
7679 |
|
|
here. Handle case where label may be defined after the .PROC.
|
7680 |
|
|
(pa_proc): It is not an error if the procedure's label isn't
|
7681 |
|
|
defined before the .PROC directive.
|
7682 |
|
|
|
7683 |
|
|
Sun Jan 9 04:43:30 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
7684 |
|
|
|
7685 |
|
|
* config/te-netbsd.h: New file.
|
7686 |
|
|
* config/tc-i386.h (TARGET_FORMAT) [TE_NetBSD]: Use bfd target
|
7687 |
|
|
a.out-netbsd-386 for this configuration.
|
7688 |
|
|
|
7689 |
|
|
Fri Jan 7 17:38:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7690 |
|
|
|
7691 |
|
|
* ecoff.c (ecoff_stab): Don't clobber the ECOFF symbol information
|
7692 |
|
|
with the associated stabs information.
|
7693 |
|
|
(ecoff_build_symbols): Never set the type of stabs symbols to
|
7694 |
|
|
st_Global. Don't update the symbol index or ifd if the gas symbol
|
7695 |
|
|
is not the same as the ECOFF symbol (which is now the case for
|
7696 |
|
|
stabs symbols).
|
7697 |
|
|
|
7698 |
|
|
Fri Jan 7 11:14:07 1994 Stan Shebs (shebs@andros.cygnus.com)
|
7699 |
|
|
|
7700 |
|
|
* config/tc-mips.c (macro): Add a LOSING_COMPILER ifdef that
|
7701 |
|
|
splits the function.
|
7702 |
|
|
(macro2): New function, if LOSING_COMPILER defined.
|
7703 |
|
|
|
7704 |
|
|
Fri Jan 7 09:38:25 1994 Steve Chamberlain (sac@cygnus.com)
|
7705 |
|
|
|
7706 |
|
|
* config/obj-coffbfd.c (fill_section): Don't ever fill past the
|
7707 |
|
|
end of a section. (write_object_file): Temporary fix - setup
|
7708 |
|
|
stdoutput.
|
7709 |
|
|
|
7710 |
|
|
Thu Jan 6 18:05:21 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7711 |
|
|
|
7712 |
|
|
* config/tc-sparc.c (tc_gen_reloc): Fix handling of addends in
|
7713 |
|
|
non-pcrel_offset relocations.
|
7714 |
|
|
|
7715 |
|
|
Thu Jan 6 01:06:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7716 |
|
|
|
7717 |
|
|
* config/tc-mips.c (mips_ip): Warn about using $1 as well as $at
|
7718 |
|
|
without .set noat.
|
7719 |
|
|
|
7720 |
|
|
Wed Jan 5 14:22:22 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7721 |
|
|
|
7722 |
|
|
* literal.c: New file.
|
7723 |
|
|
* Makefile.in (REAL_SOURCES, OBJS): List it.
|
7724 |
|
|
|
7725 |
|
|
* as.h (DEBUG): Don't define.
|
7726 |
|
|
(struct expressionS, struct fix): Declare in case they're used in
|
7727 |
|
|
prototypes.
|
7728 |
|
|
(add_to_literal_pool) [BFD_ASSEMBLER]: Declare.
|
7729 |
|
|
|
7730 |
|
|
* config/tc-mips.h (TARGET_FORMAT) [OBJ_AOUT]: Fix for new names
|
7731 |
|
|
in bfd.
|
7732 |
|
|
|
7733 |
|
|
* subsegs.c (subseg_get): New function. Creates segment if
|
7734 |
|
|
needed, returns pointer, but doesn't change current segment.
|
7735 |
|
|
(subseg_new): Use it.
|
7736 |
|
|
|
7737 |
|
|
Tue Jan 4 15:12:43 1994 Stan Shebs (shebs@andros.cygnus.com)
|
7738 |
|
|
|
7739 |
|
|
* Makefile.in (INCLUDES): Add $(srcdir)/.. to places to search.
|
7740 |
|
|
* config/obj-ecoff.c: Include files as "bfd/" instead of "../bfd/".
|
7741 |
|
|
* app.c, flonum.h, hex-value.c (const): Change #if to be more
|
7742 |
|
|
portable.
|
7743 |
|
|
|
7744 |
|
|
Tue Jan 4 22:11:34 1994 Rob Savoye (rob@darkstar.cygnus.com)
|
7745 |
|
|
|
7746 |
|
|
* config/ho-vsta.h, configure.in: Add support for VSTa
|
7747 |
|
|
micro-kernel.
|
7748 |
|
|
|
7749 |
|
|
Thu Dec 30 15:27:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7750 |
|
|
|
7751 |
|
|
* write.c (write_relocs): bfd_perform_relocation now takes an
|
7752 |
|
|
additional argument, to return an error string (which we ignore).
|
7753 |
|
|
|
7754 |
|
|
Wed Dec 29 14:37:26 1993 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7755 |
|
|
|
7756 |
|
|
* write.h (struct fix): Field tc_fix_data should be type PTR, not
|
7757 |
|
|
void*, for compatibility with non-ANSI compilers. Added
|
7758 |
|
|
single-bit field "fx_done".
|
7759 |
|
|
|
7760 |
|
|
Sun Dec 26 14:31:47 1993 Torbjorn Granlund (tege@adder.cygnus.com)
|
7761 |
|
|
|
7762 |
|
|
* config/tc-hppa.c (pre_defined_registers): Convert to lower case.
|
7763 |
|
|
Delete spurious register names "%r4L", etc.
|
7764 |
|
|
(selector_table): Sort and convert to lower case.
|
7765 |
|
|
(cons_fix_new_hppa): `reloc_type' => `rel_type'.
|
7766 |
|
|
(pa_ip): Always use strcmp for non-text and strcasecmp for text.
|
7767 |
|
|
(reg_name_search): Rewrite to call strcasecmp only once per
|
7768 |
|
|
iteration.
|
7769 |
|
|
(pa_chk_field_selector): Rewrite to use binary search.
|
7770 |
|
|
(pa_parse_neg_add_cmpltr): Use strcasecmp for completer comparisons.
|
7771 |
|
|
(pa_parse_space_stmt): $TEXT$ and $PRIVATE$ are symbols; use case
|
7772 |
|
|
sensitive comparisons.
|
7773 |
|
|
(pa_parse_space_stmt): Canonicalize strncasecmp arg to lower case.
|
7774 |
|
|
(pa_space): "$text$" => "$TEXT$"; "$private$" => "$PRIVATE$". Use
|
7775 |
|
|
case sensitive comparison for all symbolic names.
|
7776 |
|
|
(pa_subspace): Canonicalize strncasecmp arg to lower case.
|
7777 |
|
|
(pa_subspace_start): Use case sensitive comparison for symbolic names.
|
7778 |
|
|
|
7779 |
|
|
Mon Dec 20 10:37:48 1993 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7780 |
|
|
|
7781 |
|
|
* write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no
|
7782 |
|
|
symbol is present (i.e., relocation against absolute), create a
|
7783 |
|
|
phony local symbol, and use it in the reloc.
|
7784 |
|
|
(fixup_segment): When adjusting a reloc with an absolute symbol,
|
7785 |
|
|
have TC_FORCE_RELOCATION control clearing add_symbolP too.
|
7786 |
|
|
* config/tc-sparc.h (RELOC_REQUIRES_SYMBOL): Define, for OBJ_COFF.
|
7787 |
|
|
|
7788 |
|
|
* symbols.c (S_IS_EXTERNAL, S_IS_LOCAL): Don't use both BSF_EXPORT
|
7789 |
|
|
and BSF_GLOBAL, since they're the same.
|
7790 |
|
|
|
7791 |
|
|
* as.c (main): Only invoke md_end if it's defined as a macro.
|
7792 |
|
|
* tc.h (md_end): Don't declare it.
|
7793 |
|
|
* config/tc-*.[ch] (md_end): Deleted, in cases where it doesn't do
|
7794 |
|
|
anything.
|
7795 |
|
|
* config/tc-vax.c (vip_end): Deleted null function.
|
7796 |
|
|
* config/tc-mips.c (md_mips_end): Renamed from md_end.
|
7797 |
|
|
* config/tc-mips.h (md_mips_end): Declare.
|
7798 |
|
|
(md_end): New macro, calls md_mips_end.
|
7799 |
|
|
|
7800 |
|
|
* write.c (write_object_file): Don't close output file.
|
7801 |
|
|
* as.c (main): Close output file (if needed) after calling
|
7802 |
|
|
listing_print, which should be after calling write_object_file,
|
7803 |
|
|
which sets the frag addresses.
|
7804 |
|
|
|
7805 |
|
|
* config/obj-coff.c (obj_coff_dim, obj_coff_endef, obj_coff_line,
|
7806 |
|
|
obj_coff_scl, obj_coff_size, obj_coff_tag, obj_coff_type,
|
7807 |
|
|
obj_coff_val): Add unused int argument to satisfy prototypes; goes
|
7808 |
|
|
with Ian's 10 Sep changes.
|
7809 |
|
|
(S_GET_DATA_TYPE, S_SET_DATA_TYPE, S_GET_STORAGE_CLASS,
|
7810 |
|
|
S_SET_STORAGE_CLASS): Now function instead of macros.
|
7811 |
|
|
(obj_emit_lineno) [BFD_ASSEMBLER]: Deleted.
|
7812 |
|
|
(tag_insert): Local var ERROR_STRING is const. Use "const" not
|
7813 |
|
|
"CONST" for argument NAME. Fixed prototype.
|
7814 |
|
|
(coff_frob_symbol): Removed explicit "#if 1" directive. If
|
7815 |
|
|
S_IS_EXTERNAL, set storage class to C_EXT.
|
7816 |
|
|
(s_get_name): Use "const" not "CONST".
|
7817 |
|
|
* config/obj-coff.h (S_GET_DATA_TYPE, S_SET_DATA_TYPE,
|
7818 |
|
|
S_GET_STORAGE_CLASS, S_SET_STORAGE_CLASS): Deleted.
|
7819 |
|
|
(obj_emit_lineno): Declare only for non-BFD_ASSEMBLER. For
|
7820 |
|
|
BFD_ASSEMBLER, define as macro that aborts.
|
7821 |
|
|
(obj_extra_stuff, tc_headers_hook): Declare only for
|
7822 |
|
|
non-BFD_ASSEMBLER.
|
7823 |
|
|
(coff_frob_symbol): Fix prototype.
|
7824 |
|
|
|
7825 |
|
|
Sun Dec 19 00:37:20 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
7826 |
|
|
|
7827 |
|
|
* config/tc-sparc.c (tc_gen_reloc): Test of pcrel_offset had sense
|
7828 |
|
|
reversed.
|
7829 |
|
|
|
7830 |
|
|
Thu Dec 16 21:13:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7831 |
|
|
|
7832 |
|
|
* config/tc-hppa.c (md_begin): Initialize "dummy_label".
|
7833 |
|
|
(tc_gen_reloc, SOM version): For relocations which have no symbol,
|
7834 |
|
|
set sym_ptr_ptr to dummy_label. Avoids lossage in generic BFD code.
|
7835 |
|
|
|
7836 |
|
|
Thu Dec 16 16:07:56 1993 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7837 |
|
|
|
7838 |
|
|
* read.c (lex_type): No longer make '[' a valid character for
|
7839 |
|
|
symbol names.
|
7840 |
|
|
|
7841 |
|
|
* config/tc-vax.c (tc_aout_fix_to_chars): Local variable
|
7842 |
|
|
NBYTES_R_LENGTH now const.
|
7843 |
|
|
|
7844 |
|
|
* config/obj-*.c, config/tc-*.c: Omit superfluous "return"
|
7845 |
|
|
statements at ends of functions. Don't check for null return from
|
7846 |
|
|
hash_new, since it won't return at all if there's no memory
|
7847 |
|
|
available. Also, check for null return from hash_insert, rather
|
7848 |
|
|
than zero-length string, as success indicator.
|
7849 |
|
|
|
7850 |
|
|
* subsegs.c (section_symbol): New function.
|
7851 |
|
|
* subsegs.h (section_symbol): Declare.
|
7852 |
|
|
* write.c (adjust_reloc_syms): Use it.
|
7853 |
|
|
|
7854 |
|
|
Wed Dec 15 15:39:53 1993 Ken Raeburn (raeburn@cujo.cygnus.com)
|
7855 |
|
|
|
7856 |
|
|
* Makefile.in (RUNTEST): New variable.
|
7857 |
|
|
(CHECKFLAGS): Pass it down.
|
7858 |
|
|
|
7859 |
|
|
* ecoff.c (ecoff_directive_frame): Permit extra trailing operands;
|
7860 |
|
|
unused for now, but supplied by Alpha OSF1 compiler.
|
7861 |
|
|
|
7862 |
|
|
* as.h: Protect against multiple inclusions.
|
7863 |
|
|
(int_to_gen): Don't declare.
|
7864 |
|
|
|
7865 |
|
|
* config/atof-vax.c (atof_vax): NULL is not a valid character
|
7866 |
|
|
constant.
|
7867 |
|
|
|
7868 |
|
|
Tue Dec 14 21:38:25 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7869 |
|
|
|
7870 |
|
|
* configure.in (hppa*-*-osf*): Do not consider this a developmental
|
7871 |
|
|
configuration.
|
7872 |
|
|
|
7873 |
|
|
* config/tc-hppa.c (md_apply_fix): Handle cases where no
|
7874 |
|
|
relocation will be emitted for 32bit formats.
|
7875 |
|
|
|
7876 |
|
|
Mon Dec 13 23:33:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7877 |
|
|
|
7878 |
|
|
* config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjust
|
7879 |
|
|
for any of the 'T' field selectors.
|
7880 |
|
|
|
7881 |
|
|
Sat Dec 11 11:23:12 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
7882 |
|
|
|
7883 |
|
|
* config/tc-h8500.c (build_bytes): Get reloc type right for a
|
7884 |
|
|
%page operation. (md_assemble): Don't modify input_line_pointer.
|
7885 |
|
|
(mdcoff_sizemachdep): New function.
|
7886 |
|
|
* config/tc-h8500.h (TC_COFF_SIZEMACHDEP): New macro.
|
7887 |
|
|
* config/tc-z8k.c (get_operand): Delete bogus check.
|
7888 |
|
|
|
7889 |
|
|
Wed Dec 8 16:31:51 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
|
7890 |
|
|
|
7891 |
|
|
* write.c (number_to_chars_*): Delete bogus range check.
|
7892 |
|
|
|
7893 |
|
|
* output-file.c (TARGET_ARCH): No default.
|
7894 |
|
|
|
7895 |
|
|
Tue Dec 7 16:02:53 1993 Steve Chamberlain (sac@jonny.cygnus.com)
|
7896 |
|
|
|
7897 |
|
|
* config/tc-sh.c (md_convert_frag): Truncate disps before calling
|
7898 |
|
|
md_number_to_chars. (md_assemble): Don't modify
|
7899 |
|
|
input_line_pointer.
|
7900 |
|
|
|
7901 |
|
|
Mon Dec 6 11:49:03 1993 Doug Evans (dje@canuck.cygnus.com)
|
7902 |
|
|
|
7903 |
|
|
* config/tc-h8300.c (md_assemble): Don't update input_line_pointer.
|
7904 |
|
|
|
7905 |
|
|
Mon Dec 6 11:20:02 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7906 |
|
|
|
7907 |
|
|
* config/obj-som.[ch] (obj_read_begin_hook): Remove last change.
|
7908 |
|
|
Breaks with the HP compilers.
|
7909 |
|
|
|
7910 |
|
|
* config/tc-hppa.c (struct call_info): Remove fields which were
|
7911 |
|
|
set but never used. Remove all code which sets those fields.
|
7912 |
|
|
(struct subspace_dictionary_chain): Likewise.
|
7913 |
|
|
(struct space_dictionary_chain): Likewise.
|
7914 |
|
|
(pa_desc): Delete useless function. Delete all references.
|
7915 |
|
|
(hppa_tc_make_sections): No need to count the number of symbols for
|
7916 |
|
|
the symbol extension section.
|
7917 |
|
|
|
7918 |
|
|
Sun Dec 5 17:05:29 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7919 |
|
|
|
7920 |
|
|
* config/obj-som.c (obj_som_version): Pass version string to
|
7921 |
|
|
SOM BFD backend.
|
7922 |
|
|
(obj_som_copyright): New function. Much like obj_som_version.
|
7923 |
|
|
|
7924 |
|
|
* config/tc-hppa.c (obj_copyright): Define as appropriate for
|
7925 |
|
|
SOM and ELF.
|
7926 |
|
|
(pa_copyright): Just a stub now.
|
7927 |
|
|
|
7928 |
|
|
* config/obj-som.c (obj_read_begin_hook): Delete unused function.
|
7929 |
|
|
* config/obj-som.h (obj_read_begin_hook): Provide dummy definition.
|
7930 |
|
|
(TARGET_SYMBOL_FIELDS): Delete. SOM isn't making use of them.
|
7931 |
|
|
|
7932 |
|
|
* config/tc-hppa.c (tc_gen_reloc, SOM version): Handle relocation
|
7933 |
|
|
expansion due to rounding mode selectors. Handle R_[RDSN]_MODE
|
7934 |
|
|
relocations for selecting the current rounding mode.
|
7935 |
|
|
|
7936 |
|
|
* config/tc-hppa.c (evaluate_absolute): Support e_rrsel and
|
7937 |
|
|
e_rlsel field selectors.
|
7938 |
|
|
|
7939 |
|
|
Fri Dec 3 18:33:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
7940 |
|
|
|
7941 |
|
|
* config/obj-elf.h: If ECOFF_DEBUGGING, undef
|
7942 |
|
|
SEPARATE_STAB_SECTIONS and INIT_STAB_SECTION, and define
|
7943 |
|
|
OBJ_PROCESS_STAB to call ecoff_stab.
|
7944 |
|
|
* config/obj-elf.c: Don't compile obj_elf_init_stab_section if
|
7945 |
|
|
INIT_STAB_SECTION is not defined.
|
7946 |
|
|
|
7947 |
|
|
Fri Dec 3 10:56:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
7948 |
|
|
|
7949 |
|
|
* config/tc-hppa.c (md_apply_fix): Delete old wrapper function.
|
7950 |
|
|
(md_apply_fix_1): Rename to md_apply_fix. Fix argument decls.
|
7951 |
|
|
Fix comments in various places. Always return a value.
|
7952 |
|
|
Avoid dereferencing a NULL fx_addsy.
|
7953 |
|
|
(hppa_force_relocation): Avoid dereferencing a NULL fx_addsy.
|
7954 |
|
|
|
7955 |
|
|
Fri Dec 3 09:47:30 1993 Pete Hoogenboom (hoogen@cs.utah.edu)
|
7956 |
|
|
|
7957 |
|
|
* config/tc-hppa.c: (tc_gen_reloc): Addend for a plabel relocation should
|
7958 |
|
|
be either 0 or 2 (no static link or static link required). Always
|
7959 |
|
|
assume no static link.
|
7960 |
|
|
|
7961 |
|
|
Thu Dec 2 11:52:21 1993 Ken Raeburn (raeburn@cygnus.com)
|
7962 |
|
|
|
7963 |
|
|
* config/tc-sparc.c (tc_gen_reloc): Make adjustment to addend be
|
7964 |
|
|
dependent on howto fields, not on format flavour.
|
7965 |
|
|
|
7966 |
|
|
* struc-symbol.h (struct symbol): New fields sy_obj and sy_tc,
|
7967 |
|
|
defined as types OBJ_SYMFIELD_TYPE and TC_SYMFIELD_TYPE, if those
|
7968 |
|
|
macros are defined.
|
7969 |
|
|
* config/obj-coff.h (TC_SYMFIELD_TYPE, OBJ_SYMFIELD_TYPE): Define.
|
7970 |
|
|
(TARGET_SYMBOL_FIELDS, I960_SYM_FIELDS): Don't define.
|
7971 |
|
|
(sy_tc, sy_obj): Define so that the fields look like they used to,
|
7972 |
|
|
until all references get changed.
|
7973 |
|
|
|
7974 |
|
|
* write.c (fixup_segment): Lots of variables no longer register.
|
7975 |
|
|
Reordered some code for easier reading.
|
7976 |
|
|
* config/obj-coff.c (obj_coff_dim): dim_index no longer register.
|
7977 |
|
|
Deleted superfluous return statement.
|
7978 |
|
|
(obj_coff_line, obj_coff_size, obj_coff_scl, obj_coff_type,
|
7979 |
|
|
obj_coff_val, tag_init, tag_insert): Deleted superfluous return
|
7980 |
|
|
statement.
|
7981 |
|
|
(align, obj_coff_section): Deleted debugging printfs.
|
7982 |
|
|
* config/tc-i386.c (md_assemble): Discard some register decls.
|
7983 |
|
|
Use assignment rather than memcpy to copy template.
|
7984 |
|
|
(op_hash, reg_hash, prefix_hash): Default C initialization of
|
7985 |
|
|
statics is sufficient.
|
7986 |
|
|
* config/tc-sparc.c (print_insn): Array Reloc is now const, and
|
7987 |
|
|
points to const.
|
7988 |
|
|
|
7989 |
|
|
* config/obj-coff.h (TARGET_FORMAT): Only use coff-sparc-lynx if
|
7990 |
|
|
TE_LYNX; use coff-sparc otherwise.
|
7991 |
|
|
[USE_NATIVE_HEADERS]: Delete this code; it isn't used.
|
7992 |
|
|
|
7993 |
|
|
* write.c (fixup_segment): Call TC_VALIDATE_FIX, if defined,
|
7994 |
|
|
before processing a fixup. Call TC_ADJUST_RELOC_COUNT just before
|
7995 |
|
|
returning. Remove some i960-coff-specific code.
|
7996 |
|
|
(TC_ADJUST_RELOC_COUNT): Default to doing nothing.
|
7997 |
|
|
* config/tc-i960.h (TC_ADJUST_RELOC_COUNT) [OBJ_COFF]: Define.
|
7998 |
|
|
(i960_validate_fix): Declare.
|
7999 |
|
|
(TC_VALIDATE_FIX): Define.
|
8000 |
|
|
* config/tc-i960.c (i960_validate_fix): New function.
|
8001 |
|
|
|
8002 |
|
|
* write.c (number_to_chars_littleendian): New function. Write out
|
8003 |
|
|
bytes in little endian order, doing size and range checking.
|
8004 |
|
|
(number_to_chars_bigendian): New function, similar.
|
8005 |
|
|
* write.h: Declare them.
|
8006 |
|
|
* config/tc-*.c (md_number_to_chars): Use them.
|
8007 |
|
|
* config/tc-vax.c (md_apply_fix): Ditto.
|
8008 |
|
|
* config/tc-i386.c (md_apply_fix): Ditto.
|
8009 |
|
|
|
8010 |
|
|
* config/obj-coff.c: Rearranged code for handling line number
|
8011 |
|
|
data.
|
8012 |
|
|
(line_fsym): Renamed from function_lineoff in BFD_ASSEMBLER case,
|
8013 |
|
|
since the usage is different from non-BFD_ASSEMBLER case.
|
8014 |
|
|
(in_function, clear_function, set_function): New macros, to
|
8015 |
|
|
combine some of the functionality implemented in differnet ways in
|
8016 |
|
|
BFD_ASSEMBLER and non-... code. Used in other functions that used
|
8017 |
|
|
to check function_lineoff &c.
|
8018 |
|
|
(obj_emit_lineno): Split into two copies, one for BFD_ASSEMBLER,
|
8019 |
|
|
one for not. Non-BFD_ASSEMBLER version now has temporary variable
|
8020 |
|
|
to contain char* pointer pointed to by char** argument. Always
|
8021 |
|
|
follow CROSS_COMPILE code; easier to read that way.
|
8022 |
|
|
(obj_coff_ln): Don't call add_lineno or c_line_new if appline is
|
8023 |
|
|
set.
|
8024 |
|
|
(obj_coff_endef) [BFD_ASSEMBLER]: Don't do anything special for
|
8025 |
|
|
".bf", it's been done elsewhere.
|
8026 |
|
|
(coff_frob_symbol): If ilne number data is pending, call
|
8027 |
|
|
add_linesym to flush it.
|
8028 |
|
|
(coff_frob_file): Don't do that here.
|
8029 |
|
|
* config/obj-coff.h (coff_frob_file): Declare.
|
8030 |
|
|
(obj_frob_file): Define, to call it.
|
8031 |
|
|
|
8032 |
|
|
* config/tc-sparc.h (md_create_short_jump, md_create_long_jump,
|
8033 |
|
|
md_estimate_size_before_relax: Define them as macros calling
|
8034 |
|
|
as_fatal.
|
8035 |
|
|
* config/tc-sparc.c: Don't define them as functions.
|
8036 |
|
|
|
8037 |
|
|
* configure.in: Handle target alpha-*-osf*. (No cpu files yet.)
|
8038 |
|
|
|
8039 |
|
|
Wed Dec 1 23:37:14 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8040 |
|
|
|
8041 |
|
|
* Makefile (clean): Depend on clean-here.
|
8042 |
|
|
|
8043 |
|
|
Wed Dec 1 11:35:21 1993 Ken Raeburn (raeburn@cujo.cygnus.com)
|
8044 |
|
|
|
8045 |
|
|
* config/ho-go32.h: Include fopen-bin.h.
|
8046 |
|
|
* as.h: If FOPEN_WB isn't defined, include fopen-same.h.
|
8047 |
|
|
* output-file.c (output_file_create): Use FOPEN_WB instead of "w".
|
8048 |
|
|
* input-file.c (input_file_open): Use FOPEN_RT instead of "r".
|
8049 |
|
|
* listing.c (file_info): Use FOPEN_RB instead of "rb".
|
8050 |
|
|
* read.c (s_include): Use FOPEN_RT instead of "r".
|
8051 |
|
|
|
8052 |
|
|
* stabs.c: Include obstack.h.
|
8053 |
|
|
|
8054 |
|
|
* tc.h (md_create_long_jump): Don't declare if it's already
|
8055 |
|
|
defined as a macro.
|
8056 |
|
|
(md_create_short_jump, md_estimate_size_before_relax): Ditto.
|
8057 |
|
|
|
8058 |
|
|
* messages.c (as_perror) [BFD_ASSEMBLER]: Use bfd_errmsg instead
|
8059 |
|
|
of strerror. Clear bfd_error.
|
8060 |
|
|
|
8061 |
|
|
* config/te-lynx.h (LOCAL_LABELS_FB): Define, if not already
|
8062 |
|
|
defined.
|
8063 |
|
|
|
8064 |
|
|
Wed Dec 1 10:41:56 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8065 |
|
|
|
8066 |
|
|
* config/tc-hppa.c (hppa_elf_mark_end_of_function): New function.
|
8067 |
|
|
(pa_process_exit, pa_procend): Call it for ELF objects.
|
8068 |
|
|
|
8069 |
|
|
Wed Dec 1 12:10:41 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8070 |
|
|
|
8071 |
|
|
* config/tc-mips.c (macro): Subtract 8 from offset in non PIC l.d
|
8072 |
|
|
case. See comment. From wilson@cygnus.com: for M_L_DAB, set
|
8073 |
|
|
coproc before doing goto ld.
|
8074 |
|
|
|
8075 |
|
|
Tue Nov 30 13:40:30 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8076 |
|
|
|
8077 |
|
|
* write.c (TC_FORCE_RELOCATION): Provide a default definition.
|
8078 |
|
|
(fixup_segment): Allow the target machine to specify that a
|
8079 |
|
|
relocation must be generated for a particular fixup. Remove
|
8080 |
|
|
#ifndef TC_HPPA hack.
|
8081 |
|
|
|
8082 |
|
|
* config/tc-hppa.h (TC_FORCE_RELOCATION): Define.
|
8083 |
|
|
|
8084 |
|
|
* config/tc-hppa.c (md_apply_fix_1): Never change fx_addsy to
|
8085 |
|
|
be NULL. Only fixup_segment is supposed to do that.
|
8086 |
|
|
(hppa_force_relocation): New function.
|
8087 |
|
|
|
8088 |
|
|
Tue Nov 30 11:21:41 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8089 |
|
|
|
8090 |
|
|
* Makefile.in (stabs.o): Added dependencies.
|
8091 |
|
|
|
8092 |
|
|
* config/obj-ecoff.c (ecoff_frob_file): Don't call bfd_set_symtab.
|
8093 |
|
|
|
8094 |
|
|
Sun Nov 28 12:11:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8095 |
|
|
|
8096 |
|
|
* app.c (do_scrub_next_char): Output a TAB before any
|
8097 |
|
|
.app* directive.
|
8098 |
|
|
|
8099 |
|
|
* config/tc-hppa.c (fix_new_hppa): Make sure a sub_symbol
|
8100 |
|
|
exists before trying to peek at its name.
|
8101 |
|
|
(pa_space): Do not call pa_align_subseg. See hppa/unsorted/align3.s
|
8102 |
|
|
for testcase.
|
8103 |
|
|
(pa_align_subseg): Delete unused/unwanted function.
|
8104 |
|
|
|
8105 |
|
|
Sat Nov 27 22:49:07 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8106 |
|
|
|
8107 |
|
|
* read.c (read_a_source_file): Fix test for when to stick a colon
|
8108 |
|
|
on the end of a label. Make code conditional on either MRI or
|
8109 |
|
|
LABELS_WITHOUT_COLONS.
|
8110 |
|
|
|
8111 |
|
|
* app.c (do_scrub_next_char): If a line begins with whitespace, leave
|
8112 |
|
|
the single whitespace character alone. Eat all others.
|
8113 |
|
|
|
8114 |
|
|
* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define.
|
8115 |
|
|
|
8116 |
|
|
Wed Nov 24 01:22:54 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8117 |
|
|
|
8118 |
|
|
* config/tc-hppa.c (pa_procend): Do not call process_exit.
|
8119 |
|
|
(exit_processing_complete): Delete unwanted variable and all
|
8120 |
|
|
references.
|
8121 |
|
|
|
8122 |
|
|
Wed Nov 24 02:31:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8123 |
|
|
|
8124 |
|
|
* ecoff.c (ecoff_setup_ext): Renamed from ecoff_build_ext.
|
8125 |
|
|
Changed to not actually build the external symbol information, as
|
8126 |
|
|
that is now done by the ECOFF back end.
|
8127 |
|
|
(ecoff_build_debug): Changed accordingly.
|
8128 |
|
|
* ecoff.h (obj_ecoff_set_ext): Declare. obj-format.c function
|
8129 |
|
|
called by ecoff_setup_ext.
|
8130 |
|
|
* config/obj-ecoff.c (ecoff_frob_file): If debug_info count is 0,
|
8131 |
|
|
set corresponding pointer to NULL. Don't set raw_size and
|
8132 |
|
|
raw_syments.
|
8133 |
|
|
(obj_ecoff_set_sym_index): Removed.
|
8134 |
|
|
(obj_ecoff_set_ext): New function.
|
8135 |
|
|
* config/obj-ecoff.h (obj_set_sym_index): Don't define.
|
8136 |
|
|
(obj_ecoff_set_sym_index): Don't declare.
|
8137 |
|
|
* config/obj-elf.c (obj_ecoff_set_ext, elf_get_extr,
|
8138 |
|
|
elf_set_index): New functions used for ECOFF_DEBUGGING.
|
8139 |
|
|
(elf_frob_file): Reworked ECOFF debug generation to use
|
8140 |
|
|
new functions in bfd/ecofflink.c.
|
8141 |
|
|
|
8142 |
|
|
Sun Nov 21 23:54:52 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8143 |
|
|
|
8144 |
|
|
* config/tc-hppa.c (pa_def_subspaces): Only create the unwind
|
8145 |
|
|
subspace for ELF. In the SOM world, the linker is responsible
|
8146 |
|
|
for creating the unwind subspaces.
|
8147 |
|
|
|
8148 |
|
|
Fri Nov 19 16:25:09 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8149 |
|
|
|
8150 |
|
|
* config/obj-coffbfd.c: Use PARAMS rather than EXFUN.
|
8151 |
|
|
(yank_symbols): Don't call S_SET_EXTERNAL if the storage class is
|
8152 |
|
|
already set. Fixes .def var; .val external_var; .scl 3; .endef.
|
8153 |
|
|
(adjust_stab_section): Make static. Declare return type. Remove
|
8154 |
|
|
unused variables.
|
8155 |
|
|
|
8156 |
|
|
* config/tc-i386.h: Declare tc_coff_fix2rtype and
|
8157 |
|
|
tc_coff_sizemachdep.
|
8158 |
|
|
|
8159 |
|
|
Fri Nov 19 04:33:59 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
8160 |
|
|
|
8161 |
|
|
* write.c (write_object_file): Disable obj_check_file_symbols
|
8162 |
|
|
hook; only back end using it wasn't using it correctly.
|
8163 |
|
|
(write_object_file): Always call obj_frob_symbol and
|
8164 |
|
|
tc_frob_symbol; always retain symbol if it's used by a relocation,
|
8165 |
|
|
regardless of what these routines indicate.
|
8166 |
|
|
* config/obj-coff.c (coff_frob_symbol): Renamed from
|
8167 |
|
|
coff_check_file_symbols.
|
8168 |
|
|
* config/obj-coff.h (obj_check_file_symbols): Deleted.
|
8169 |
|
|
(coff_frob_symbol): Declare.
|
8170 |
|
|
(obj_frob_symbol): Call it.
|
8171 |
|
|
|
8172 |
|
|
* config/obj-coff.c (obj_crawl_symbol_chain, obj_emit_strings,
|
8173 |
|
|
obj_pre_write_hook): Don't define for BFD_ASSEMBLER.
|
8174 |
|
|
(c_section_header): Ditto. Delete superfluous return at end of
|
8175 |
|
|
function.
|
8176 |
|
|
|
8177 |
|
|
* config/obj-coff.h [TC_SPARC]: Include coff/sparc.h, and specify
|
8178 |
|
|
coff-sparc-lynx.
|
8179 |
|
|
(SA_GET_SYM_TAGNDX): Use BFD_HEADERS version for BFD_ASSEMBLER
|
8180 |
|
|
too.
|
8181 |
|
|
(c_section_header): Rewrite prototype so that it contains no
|
8182 |
|
|
preprocessing directives. Don't declare it at all if
|
8183 |
|
|
BFD_ASSEMBLER.
|
8184 |
|
|
|
8185 |
|
|
* configure.in (sparc*-*-lynxos): New target, using coff and
|
8186 |
|
|
BFD_ASSEMBLER.
|
8187 |
|
|
|
8188 |
|
|
* stabs.c: New file.
|
8189 |
|
|
* Makefile.in (REAL_SOURCES, OBJS): List it.
|
8190 |
|
|
* read.c (STAB_SECTION_NAME, STAB_STRING_SECTION_NAME,
|
8191 |
|
|
get_stab_string_offset, s_stab_generic, s_stab, s_xstab, s_desc):
|
8192 |
|
|
Moved to new file.
|
8193 |
|
|
|
8194 |
|
|
* config/tc-sparc.c (tc_gen_reloc): Handle coff files like elf
|
8195 |
|
|
files.
|
8196 |
|
|
|
8197 |
|
|
Wed Nov 17 17:23:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8198 |
|
|
|
8199 |
|
|
* configure.in (mips-*-irix5*): New target. Use elf and mips-big.
|
8200 |
|
|
* config/obj-elf.c: If ECOFF_DEBUGGING, include ecoff.h.
|
8201 |
|
|
(obj_pseudo_table): If ECOFF_DEBUGGING, define ECOFF
|
8202 |
|
|
pseudo-ops.
|
8203 |
|
|
(obj_read_begin_hook): If ECOFF_DEBUGGING, call
|
8204 |
|
|
ecoff_read_begin_hook.
|
8205 |
|
|
(obj_symbol_new_hook): If ECOFF_DEBUGGING, call
|
8206 |
|
|
ecoff_symbol_new_hook.
|
8207 |
|
|
(obj_elf_init_stab_section): Cast alloca result.
|
8208 |
|
|
(elf_frob_file): If ECOFF_DEBUGGING, finish up ECOFF debugging
|
8209 |
|
|
information and write it out into .mdebug section.
|
8210 |
|
|
* config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): New macro.
|
8211 |
|
|
(TARGET_SYMBOL_FIELDS): Use ELF_TARGET_SYMBOL_FIELDS.
|
8212 |
|
|
(ECOFF_DEBUGGING): Define if TC_MIPS.
|
8213 |
|
|
(TARGET_SYMBOL_FIELDS): If ECOFF_DEBUGGING, override to add
|
8214 |
|
|
fields required by ECOFF.
|
8215 |
|
|
* config/tc-mips.c: Check ECOFF_DEBUGGING rather than
|
8216 |
|
|
OBJ_ECOFF in many cases.
|
8217 |
|
|
(mips_any_noreorder): New variable.
|
8218 |
|
|
(mips_cprestore_offset): Initialize to -1.
|
8219 |
|
|
(mips_frame_reg): New variable.
|
8220 |
|
|
(RELAX_ENCODE, RELAX_OLD, RELAX_NEW, RELAX_RELOC1,
|
8221 |
|
|
RELAX_RELOC2, RELAX_RELOC3, RELAX_WARN): New macros.
|
8222 |
|
|
(md_pseudo_table): Handle "gpword" and "cpadd".
|
8223 |
|
|
(md_begin): Initialize ok to false. If OBJ_ELF, set alignment
|
8224 |
|
|
of text, data and bss sections to 4. Set alignment of
|
8225 |
|
|
.reginfo section to 2. If ECOFF_DEBUGGING, create .mdebug
|
8226 |
|
|
section.
|
8227 |
|
|
(ALIGN_ERR, ALIGN_ERR2): Removed unused and useless alignment
|
8228 |
|
|
check.
|
8229 |
|
|
(append_insn, macro_build, macro_build_lui): Take place
|
8230 |
|
|
argument. Changed all callers.
|
8231 |
|
|
(append_insn): If appending a nop, don't emit one.
|
8232 |
|
|
(macro_build): Changed assertion for 'i', 'j', 'o' case.
|
8233 |
|
|
(gp_reference): Removed.
|
8234 |
|
|
(load_address): New function.
|
8235 |
|
|
(macro): If mips_noreorder is used, set mips_any_noreorder.
|
8236 |
|
|
Extensive changes to handle GP and PIC symbols differently.
|
8237 |
|
|
Build both possible code choices using a variant frag, and
|
8238 |
|
|
make a final decision at the end of assembly when all
|
8239 |
|
|
information is known. Added PIC support for all symbol
|
8240 |
|
|
references.
|
8241 |
|
|
(mips_ip): Don't permit anything but a number after $ for a
|
8242 |
|
|
coprocessor register. Don't use .lit4 or .lit8 sections when
|
8243 |
|
|
generating PIC code. If OBJ_ELF, set alignment of .lit4 or
|
8244 |
|
|
.lit8 section to 4.
|
8245 |
|
|
(md_apply_fix): Accept and ignore GOT16 and GPREL32 relocs.
|
8246 |
|
|
(s_change_sec): Set alignment of ELF .rodata or .sdata section
|
8247 |
|
|
to 4.
|
8248 |
|
|
(s_mipsset): If .set noreorder, set mips_any_noreorder.
|
8249 |
|
|
(s_cpload): Ignore .cpload if not generating PIC code. Warn
|
8250 |
|
|
if .cpload is not in noreorder section.
|
8251 |
|
|
(s_cprestore): Ignore .cprestore if not generating PIC code.
|
8252 |
|
|
(s_gpword, s_cpadd): New functions.
|
8253 |
|
|
(tc_get_register): Added frame argument; if true, set
|
8254 |
|
|
mips_frame_reg to return value. Changed all callers.
|
8255 |
|
|
(md_estimate_size_before_relax): Don't error out, but instead
|
8256 |
|
|
determine how much a frag should grow.
|
8257 |
|
|
(tc_gen_reloc): Return multiple relocs if appropriate, as
|
8258 |
|
|
determined by md_estimate_size_before_relax.
|
8259 |
|
|
(md_convert_frag): New function.
|
8260 |
|
|
(mips_elf_final_processing): Set ELF header flags based on
|
8261 |
|
|
mips_any_noreorder and mips_pic.
|
8262 |
|
|
* config/tc-mips.h (RELOC_EXPANSION_POSSIBLE): Define.
|
8263 |
|
|
(MAX_RELOC_EXPANSION): Define to be 3.
|
8264 |
|
|
(md_relax_frag): Define to be 0.
|
8265 |
|
|
(md_convert_frag): Don't define.
|
8266 |
|
|
(tc_get_register): Changed declaration.
|
8267 |
|
|
|
8268 |
|
|
* ecoff.h, ecoff.c: New files pulled out of config/obj-ecoff.c to
|
8269 |
|
|
support generating ECOFF debugging information for MIPS ELF
|
8270 |
|
|
targets. Compiled only if ECOFF_DEBUGGING is defined. Changed
|
8271 |
|
|
handling of external symbols: it now always generates exactly
|
8272 |
|
|
those external symbols that are defined in the global symbol list.
|
8273 |
|
|
* Makefile.in (REAL_SOURCES): Added ecoff.c.
|
8274 |
|
|
(REAL_HEADERS): Added ecoff.h.
|
8275 |
|
|
(OBJS): Added ecoff.o.
|
8276 |
|
|
(ecoff.o): New target.
|
8277 |
|
|
* config/obj-ecoff.c: Almost entirely moved into ecoff.c.
|
8278 |
|
|
Remaining code mostly just calls ecoff.c code.
|
8279 |
|
|
* config/obj-ecoff.h: Define ECOFF_DEBUGGING.
|
8280 |
|
|
(TARGET_SYMBOL_FIELDS): Make ecoff_symbol a pointer to a
|
8281 |
|
|
struct localsym.
|
8282 |
|
|
(obj_read_begin_hook, obj_symbol_new_hook): Define to call
|
8283 |
|
|
functions in ecoff.c.
|
8284 |
|
|
(ecoff_stab): Don't declare (now declared in ecoff.h).
|
8285 |
|
|
(obj_set_sym_index): Define.
|
8286 |
|
|
(obj_ecoff_set_sym_index): Declare.
|
8287 |
|
|
|
8288 |
|
|
* frags.h (frag_grow): Declare.
|
8289 |
|
|
* frags.c (frag_grow): Made non-static.
|
8290 |
|
|
|
8291 |
|
|
* write.c (is_dnrange): Do not define if md_relax_frag is defined.
|
8292 |
|
|
(relax_segment): If md_relax_frag is defined, use it to handle a
|
8293 |
|
|
frag of type rs_machine_dependent rather than looking through
|
8294 |
|
|
md_relax_table.
|
8295 |
|
|
|
8296 |
|
|
* read.c (read_a_source_file): If we find a bad pseudo-op,
|
8297 |
|
|
do a continue to go on to the next line rather than a break.
|
8298 |
|
|
Removed duplicate bad pseudo-op code which was never executed.
|
8299 |
|
|
|
8300 |
|
|
* read.c (s_lcomm): Do not require a comma after the name.
|
8301 |
|
|
|
8302 |
|
|
* subsegs.h (segment_info_type): Changed hadone field to bitfield.
|
8303 |
|
|
Added bss bitfield.
|
8304 |
|
|
* as.c (perform_an_assembly_pass): Set bss flag for bss_section.
|
8305 |
|
|
* read.c (s_lcomm): Set bss flag for .sbss section if used.
|
8306 |
|
|
* write.c (relax_and_size_seg): Don't set SEC_HAS_CONTENTS for a
|
8307 |
|
|
bss section. Set SEC_RELOC if there are any relocations, even for
|
8308 |
|
|
a zero size section.
|
8309 |
|
|
|
8310 |
|
|
* write.c (write_relocs): In RELOC_EXPANSION_POSSIBLE case, base
|
8311 |
|
|
data offset on reloc[0]->address rather than reloc[j]->address, so
|
8312 |
|
|
that multiple relocs can affect different memory locations.
|
8313 |
|
|
|
8314 |
|
|
* write.c (chain_frchains_together, relax_and_size_seg,
|
8315 |
|
|
adjust_reloc_syms, write_relocs): Make third argument PTR, not
|
8316 |
|
|
char *, to match definition of bfd_map_over_sections.
|
8317 |
|
|
|
8318 |
|
|
* app.c (do_scrub_next_char): Don't interpret a comment character
|
8319 |
|
|
as starting a CPP line directive unless it is a '#' and is the
|
8320 |
|
|
very first characters on the line (i.e., do not permit leading
|
8321 |
|
|
whitespace).
|
8322 |
|
|
|
8323 |
|
|
* messages.c (identify): Make file argument non-const, to match
|
8324 |
|
|
callers.
|
8325 |
|
|
|
8326 |
|
|
Tue Nov 16 20:38:21 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8327 |
|
|
|
8328 |
|
|
* config/tc-hppa.c (pa_ip): Fix thinko in 21bit range check.
|
8329 |
|
|
|
8330 |
|
|
Sat Nov 13 18:22:48 1993 Steve Chamberlain (sac@jonny.cygnus.com)
|
8331 |
|
|
|
8332 |
|
|
* config/tc-sh.c (md_apply_fix): Cope with IMM16 type too.
|
8333 |
|
|
* config/tc-z8k.c (build_bytes, md_apply_fix): Understand nDISP7
|
8334 |
|
|
relocs.
|
8335 |
|
|
|
8336 |
|
|
Fri Nov 12 16:51:47 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8337 |
|
|
|
8338 |
|
|
* config/tc-hppa.[ch]: Fix assorted trivial indention problems.
|
8339 |
|
|
* config/obj-som.c (obj_som_version): Add missing ';'.
|
8340 |
|
|
(som_frob_file): Delete whitespace at EOL.
|
8341 |
|
|
|
8342 |
|
|
Fri Nov 12 15:26:21 1993 Ken Raeburn (raeburn@cygnus.com)
|
8343 |
|
|
|
8344 |
|
|
* Makefile.in (VERSION): Updated following 2.2 release.
|
8345 |
|
|
|
8346 |
|
|
Fri Nov 12 14:52:17 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8347 |
|
|
|
8348 |
|
|
* config/tc-hppa.c (hppa_fix_struct): Use a real type for the
|
8349 |
|
|
field selector, rather than an int. All uses of field selectors
|
8350 |
|
|
fixed.
|
8351 |
|
|
(tc_gen_reloc): For SOM PLABELs, always set addend to zero for now.
|
8352 |
|
|
(md_apply_fix_1): Do not call hppa_field_adjust for any PLABEL
|
8353 |
|
|
field.
|
8354 |
|
|
|
8355 |
|
|
Thu Nov 11 15:49:08 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8356 |
|
|
|
8357 |
|
|
* config/tc-hppa.c (pa_type_args): For .import statements,
|
8358 |
|
|
silently ignore attempt to change the symbol type for a function
|
8359 |
|
|
from ST_ENTRY to ST_CODE on .import.
|
8360 |
|
|
|
8361 |
|
|
Wed Nov 10 16:19:13 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8362 |
|
|
|
8363 |
|
|
* write.h (fixS): Rename fx_callj field to fx_tcbit.
|
8364 |
|
|
* write.c, config/obj-coff.c, config/obj-coffbfd.c,
|
8365 |
|
|
config/tc-i960.c: Corresponding changes.
|
8366 |
|
|
|
8367 |
|
|
Tue Nov 9 00:49:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8368 |
|
|
|
8369 |
|
|
* Makefile.in (distclean): Delete config-stamp and config.h
|
8370 |
|
|
|
8371 |
|
|
* config/tc-hppa.c (evaluate_absolute): Avoid relying on
|
8372 |
|
|
ANSI-C features.
|
8373 |
|
|
|
8374 |
|
|
* config/tc-hppa.c (pa_type_args): Renamed from pa_export_args.
|
8375 |
|
|
Accept new argument "is_export". All callers changed. When
|
8376 |
|
|
processing a .export directive for a function, do not allow
|
8377 |
|
|
the user to set the type to "CODE", instead warn and set the
|
8378 |
|
|
type to "ENTRY".
|
8379 |
|
|
|
8380 |
|
|
Mon Nov 8 12:05:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8381 |
|
|
|
8382 |
|
|
* config/tc-mips.c (mips_ip, printInsn): Handle 'k' (from Ted
|
8383 |
|
|
Lemon ).
|
8384 |
|
|
(mips_ip): Permit odd numbered floating point registers if -mips3.
|
8385 |
|
|
(macro): Use BFD_RELOC_MIPS_LITERAL relocation for M_LI_SS.
|
8386 |
|
|
|
8387 |
|
|
Mon Nov 8 07:45:01 1993 Doug Evans (dje@canuck.cygnus.com)
|
8388 |
|
|
|
8389 |
|
|
* configure.in: Remove h8300h, we have multilib now.
|
8390 |
|
|
|
8391 |
|
|
Mon Nov 8 06:09:18 1993 D. V. Henkel-Wallace (gumby@cirdan.cygnus.com)
|
8392 |
|
|
|
8393 |
|
|
* configure.in: Support generic netware as being ELF format.
|
8394 |
|
|
Recognise unixware if the user supplies it.
|
8395 |
|
|
|
8396 |
|
|
Sun Nov 7 01:02:08 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8397 |
|
|
|
8398 |
|
|
* First cut at cleaning up PA instruction parsing.
|
8399 |
|
|
* config/tc-hppa.c (pa_get_absolute_expression): Accept pointer to
|
8400 |
|
|
insn structure as an argument, and a pointer to a string. All
|
8401 |
|
|
callers changed. Always read any field selector here. Call
|
8402 |
|
|
evaluate absolute to get a return value.
|
8403 |
|
|
(evaluate_absolute): Addept pointer to insn structure as its
|
8404 |
|
|
argument. All callers changed.
|
8405 |
|
|
(INSERT_FIELD_AND_CONTINUE): New macro for inserting a bitfield
|
8406 |
|
|
into an instruction and continuing the main pa_ip loop.
|
8407 |
|
|
(CHECK_FIELD): New macro for simple range checking of fields.
|
8408 |
|
|
(pa_ip): Delete unused variables. Use INSERT_FIELD_AND_CONTINUE
|
8409 |
|
|
and CHECK_FIELD. All immediate fields now pass through
|
8410 |
|
|
pa_get_absolute_expression which will also handle field selectors.
|
8411 |
|
|
Delete dead code. Simplify.
|
8412 |
|
|
(md_apply_fix_1): Use CHECK_FIELD to verify any fixes that are
|
8413 |
|
|
applied are in range. Use bfd_put_32 rather than inserting each
|
8414 |
|
|
byte of the fixed instrution into the buffer ourselves.
|
8415 |
|
|
|
8416 |
|
|
* write.c (fixup_segment): Delete {SEG,GLOBAL}_DIFF_ALLOWED code,
|
8417 |
|
|
it was PA specific and is no longer needed (it's now handled
|
8418 |
|
|
within the PA backend).
|
8419 |
|
|
* config/tc-hppa.h (SEG_DIFF_ALLOWED): Delete definition.
|
8420 |
|
|
* config/tc-hppa.c (fix_new_hppa): If the subtract symbol for
|
8421 |
|
|
a fixup is $global$ change it to NULL as $global$ is really only
|
8422 |
|
|
needed long enough to determine the base type of relocation to use.
|
8423 |
|
|
|
8424 |
|
|
* config/tc-hppa.c (create_new_subspace): Initialize subspace_defined.
|
8425 |
|
|
|
8426 |
|
|
* config/tc-hppa.c (pa-ip, case 'z'): Make field selectors work
|
8427 |
|
|
for 'z' operands (target of ble branch).
|
8428 |
|
|
|
8429 |
|
|
Sat Nov 6 22:41:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8430 |
|
|
|
8431 |
|
|
* config/tc-hppa.c: (update_subspace): Fix type and name of last
|
8432 |
|
|
parameter. All callers fixed.
|
8433 |
|
|
(md_begin, pa_chk_field_selector, pa_entry): Lint.
|
8434 |
|
|
|
8435 |
|
|
* config/tc-hppa.c (cons_fix_new_hppa): Reset field selector
|
8436 |
|
|
to default state after it's been used.
|
8437 |
|
|
|
8438 |
|
|
Fri Nov 5 12:08:21 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8439 |
|
|
|
8440 |
|
|
* config/obj-som.c (obj_som_init_stab_section): Change
|
8441 |
|
|
space/subspace sort keys for the stab sections so as to avoid
|
8442 |
|
|
bugs in the hp linker and pxdb.
|
8443 |
|
|
|
8444 |
|
|
Thu Nov 4 17:00:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8445 |
|
|
|
8446 |
|
|
* write.c (chain_frchains_together): Update pointer to last
|
8447 |
|
|
frag for a segment in the seginfo structure.
|
8448 |
|
|
|
8449 |
|
|
Thu Nov 04 09:09:35 1993 Jeffrey Wheat (cassidy@cygnus.com)
|
8450 |
|
|
|
8451 |
|
|
* Makefile.in: Changed RUNTESTFLAGS to RUNTEST_FLAGS
|
8452 |
|
|
|
8453 |
|
|
Wed Nov 3 12:16:27 1993 Ken Raeburn (raeburn@rover.cygnus.com)
|
8454 |
|
|
|
8455 |
|
|
* write.c (fixup_segment): Handle conversion of subtraction to
|
8456 |
|
|
pc-relative addressing even if pc-relative flag is already set.
|
8457 |
|
|
|
8458 |
|
|
* config/tc-m68k.c (m68k_ip_op): Use strchr, not index. Don't
|
8459 |
|
|
declare either.
|
8460 |
|
|
|
8461 |
|
|
* doc/Makefile.in (distclean): Delete intermediate files from dvi
|
8462 |
|
|
build, but not the dvi or info files.
|
8463 |
|
|
* Makefile.in (clean-here): New target; cleans up current
|
8464 |
|
|
directory only.
|
8465 |
|
|
(distclean): Use it instead of clean.
|
8466 |
|
|
|
8467 |
|
|
* read.c (s_xstab): Don't use alloca.
|
8468 |
|
|
|
8469 |
|
|
* messages.c (identify): New routine; print message identifying
|
8470 |
|
|
following messages as coming from assembler.
|
8471 |
|
|
(as_show_where, as_bad_internal, as_bad_where): Call it.
|
8472 |
|
|
(as_fatal): Don't need to identify program any more.
|
8473 |
|
|
|
8474 |
|
|
Tue Nov 2 18:04:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8475 |
|
|
|
8476 |
|
|
* config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
|
8477 |
|
|
|
8478 |
|
|
* read.c (s_lcomm): Put small objects in .sbss for MIPS ELF as
|
8479 |
|
|
well as MIPS ECOFF.
|
8480 |
|
|
(get_stab_string_offset): Remove unused variable aligned.
|
8481 |
|
|
|
8482 |
|
|
Tue Nov 2 15:07:07 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8483 |
|
|
|
8484 |
|
|
* config/tc-hppa.c: Add %dp and %rp as synonyms for %r27 and %r2 in the
|
8485 |
|
|
predefined register table.
|
8486 |
|
|
(pa_parse_number): Handle %rp in common register shortcut code.
|
8487 |
|
|
Consistently set return value to -1 for an error. Clean up error
|
8488 |
|
|
messages and only print them when "print_errors" is true. Handle
|
8489 |
|
|
empty string case like the HP assembler -- assume a value of
|
8490 |
|
|
zero.
|
8491 |
|
|
|
8492 |
|
|
* config/ho-hpux.h: Do not include ho-sysv.h. Instead include
|
8493 |
|
|
standard hpux include files to pick up various function decls.
|
8494 |
|
|
|
8495 |
|
|
* config/ho-hppaosf.h: Delete _IO* macros. They are defined in
|
8496 |
|
|
stdio.h. Delete bogus declaration of free. Get path to
|
8497 |
|
|
alloca-conf.h right.
|
8498 |
|
|
|
8499 |
|
|
Tue Nov 2 13:57:30 1993 Ken Raeburn (raeburn@rover.cygnus.com)
|
8500 |
|
|
|
8501 |
|
|
* expr.c (operand): Fix checks for characters following "0b" or
|
8502 |
|
|
"0f".
|
8503 |
|
|
|
8504 |
|
|
Mon Nov 1 21:37:04 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8505 |
|
|
|
8506 |
|
|
* config/obj-som.h (obj_attach_unwind_info): Define as a hook
|
8507 |
|
|
so GAS can attach unwind descriptor information to a BFD symbol.
|
8508 |
|
|
* config/tc-hppa.c (fix_new_hppa): If necessary attach unwind
|
8509 |
|
|
descriptor information to the BFD symbol.
|
8510 |
|
|
(md_apply_fix): R_HPPA_ENTRY and R_HPPA_EXIT can never be "applied",
|
8511 |
|
|
they are simply markers. Make R_HPPA_UNWIND_* handling OBJ_ELF
|
8512 |
|
|
dependent.
|
8513 |
|
|
(pa_build_unwind_subspace): Whole function is OBJ_ELF dependent.
|
8514 |
|
|
(pa_entry): Build a R_HPPA_ENTRY relocation when configured for SOM.
|
8515 |
|
|
(pa_exit): Likewise, but built a R_HPPA_EXIT relocation. Do not
|
8516 |
|
|
build "end-of-function" symbols for SOM, they are not needed.
|
8517 |
|
|
|
8518 |
|
|
* config/tc-hppa.c (process_exit): Create temporary symbols with
|
8519 |
|
|
correct prefixes so they can be eliminated later.
|
8520 |
|
|
|
8521 |
|
|
* config/tc-hppa.c (call_info struct): Delete unused "frame" field.
|
8522 |
|
|
(pa_callinfo): Insert framesize into the unwind information as
|
8523 |
|
|
soon as it's available.
|
8524 |
|
|
(pa_build_unwind_subspace): Do not insert framesize into the unwind
|
8525 |
|
|
information here.
|
8526 |
|
|
|
8527 |
|
|
* Add support for marker type relocations. These mark areas
|
8528 |
|
|
of interest to the linker. ENTRY/EXIT relocations for SOM are
|
8529 |
|
|
an example of marker relocations.
|
8530 |
|
|
* write.c (write_relocs): Instead of assuming size of a relocation
|
8531 |
|
|
is 4 bytes, pick up the size from relocation itself.
|
8532 |
|
|
(fixup_segment): Do not complain that a value is too small for
|
8533 |
|
|
marker relocations.
|
8534 |
|
|
|
8535 |
|
|
* struc-symbol.h: Add new "sy_used" field to the symbol structure.
|
8536 |
|
|
* expr.c (operand): Set sy_used for any symbol used as an operand.
|
8537 |
|
|
(expr): Likewise for any symbol used in an expression.
|
8538 |
|
|
* config/tc-hppa.h (tc_frob_symbol): Define. Punt imported
|
8539 |
|
|
symbols which are never used and absolute symbols which local scope.
|
8540 |
|
|
|
8541 |
|
|
* config/obj-som.h (obj_frob_file): Define.
|
8542 |
|
|
* config/obj-som.c (obj_som_init_stab_section): Set alignment
|
8543 |
|
|
of stab sections. Make space for the special stab entry.
|
8544 |
|
|
(adjust_stab_sections): Adjust the special entry in the
|
8545 |
|
|
stabs section.
|
8546 |
|
|
(som_frob_file): New function. Simply calls adjust_stab_sections
|
8547 |
|
|
for each section.
|
8548 |
|
|
|
8549 |
|
|
Mon Nov 1 17:54:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8550 |
|
|
|
8551 |
|
|
* config/tc-mips.c (PIC_CALL_REG, SP, FP): Define.
|
8552 |
|
|
(mips_pic, mips_cprestore_offset): New static variables.
|
8553 |
|
|
(md_pseudo_table): Handle .abicalls, .cpload, and .cprestore.
|
8554 |
|
|
Ignore .bgnb and .endb.
|
8555 |
|
|
(gp_reference): _gp_disp is never addressed off GP.
|
8556 |
|
|
(macro_build): Ignore macros while searching for insn. For cases
|
8557 |
|
|
i, j, and o, accept the reloc type as an argument rather than
|
8558 |
|
|
assuming BFD_RELOC_LO16. Don't try to convert BFD_RELOC_LO16 to
|
8559 |
|
|
BFD_RELOC_MIPS_GPREL. Added new case a.
|
8560 |
|
|
(set_at, load_register, macro): Changed calls to macro_build to
|
8561 |
|
|
pass new argument for i, j and o cases.
|
8562 |
|
|
(macro): Handle M_JAL_1, M_JAL_2 and M_JAL_A. These require
|
8563 |
|
|
special handling when generating SVR4 PIC code.
|
8564 |
|
|
(mips_ip, tc_get_register, s_frame): Use macros FP, SP, GP and AT
|
8565 |
|
|
rather than hard coded constants.
|
8566 |
|
|
(md_apply_fix): Handle BFD_RELOC_MIPS_LITERAL and
|
8567 |
|
|
BFD_RELOC_MIPS_CALL16.
|
8568 |
|
|
(s_option): Set mips_pic based on .option picN.
|
8569 |
|
|
(s_abicalls): New function; set mips_pic to 2.
|
8570 |
|
|
(s_cpload): New function; handle .cpload.
|
8571 |
|
|
(s_cprestore): New function; handle .cprestore.
|
8572 |
|
|
|
8573 |
|
|
* config/obj-ecoff.c (obj_pseudo_table): Add entries for .bgnb,
|
8574 |
|
|
.endb and .verstamp, setting them to s_ignore.
|
8575 |
|
|
|
8576 |
|
|
Sun Oct 31 00:36:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8577 |
|
|
|
8578 |
|
|
* config/tc-hppa.c (subspace_dictionary_chain): Add new ssd_defined
|
8579 |
|
|
field. Define SUBSPACE_DEFINED accessor macro.
|
8580 |
|
|
(pa_subspace): Allow user to override subspace attributes for
|
8581 |
|
|
built-in subspaces. Set ssd_defined at the end of fcn -- that
|
8582 |
|
|
way the attributes can only be changed once. Pass newly allocated
|
8583 |
|
|
name to is_defined_subspace, not a pointer to the input line.
|
8584 |
|
|
Fix typo in space/subspace rework.
|
8585 |
|
|
(is_defined_subspace): Delete unused 2nd arg. All callers changed.
|
8586 |
|
|
|
8587 |
|
|
* config/tc-hppa.c (pa_import): If currently in the text segment
|
8588 |
|
|
and a symbol is imported without type information, set BSF_FUNCTION
|
8589 |
|
|
for the symbol.
|
8590 |
|
|
* write.c (relax_and_size_seg): Correct test to determine if
|
8591 |
|
|
the section's size was rounded up.
|
8592 |
|
|
|
8593 |
|
|
* config/obj-som.h (obj_set_symbol_type): Define a hook so GAS
|
8594 |
|
|
can properly set all the SOM symbol types.
|
8595 |
|
|
* config/tc-hppa.c (pa_symbol_type): New enum to represent the
|
8596 |
|
|
symbol types which can be set from an IMPORT/EXPORT statement.
|
8597 |
|
|
(pa_export_args): Set the pa_symbol_type type based on arguments.
|
8598 |
|
|
If defined, call obj_set_symbol_type to pass this information on
|
8599 |
|
|
to the BFD backend.
|
8600 |
|
|
|
8601 |
|
|
* read.c (get_stab_string_offset): Set SEC_DEBUGGING for any
|
8602 |
|
|
stab section we make.
|
8603 |
|
|
(s_stab_generic): Likewise.
|
8604 |
|
|
|
8605 |
|
|
Sat Oct 30 14:26:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8606 |
|
|
|
8607 |
|
|
* Allow backends to override the value of the fake label.
|
8608 |
|
|
* write.h (LOCAL_LABEL): Delete DOT_LABEL_PREFIX code. Instead
|
8609 |
|
|
assume backends will define LOCAL_LABEL if anything other than
|
8610 |
|
|
'L' is used to denote a local label.
|
8611 |
|
|
(FAKE_LABEL_NAME): New macro. Defines the default name used for
|
8612 |
|
|
the "fake" label.
|
8613 |
|
|
* expr.c (make_expr_symbol): Delete DOT_LABEL_PREFIX code
|
8614 |
|
|
and instead simply use the string defined by FAKE_LABEL_NAME.
|
8615 |
|
|
(operand): Likewise.
|
8616 |
|
|
* read.c (s_stab_generic): Likewise.
|
8617 |
|
|
* config/tc-hppa.h (FAKE_LABEL_NAME): Define as L$0\001 so it's
|
8618 |
|
|
known to be a local label.
|
8619 |
|
|
* config/tc-i386.h (DOT_LABEL_PREFIX): Delete.
|
8620 |
|
|
(LOCAL_LABEL, FAKE_LABEL_NAME): Define.
|
8621 |
|
|
* config/tc-m68k.h (DOT_LABEL_PREFIX): Delete.
|
8622 |
|
|
(LOCAL_LABEL, FAKE_LABEL_NAME): Define.
|
8623 |
|
|
* config/te-sco386.h (DOT_LABEL_PREFIX): Delete.
|
8624 |
|
|
(LOCAL_LABEL, FAKE_LABEL_NAME): Define.
|
8625 |
|
|
|
8626 |
|
|
Rework space/subspace handling in PA code to fully support
|
8627 |
|
|
SOM spaces/subspaces.
|
8628 |
|
|
* config/tc-hppa.c (USE_ALIASES): New object-format dependent define
|
8629 |
|
|
to control the use of space/subspace name aliases.
|
8630 |
|
|
(update_subspace): Accept space chain entry for containing space
|
8631 |
|
|
as a new parameter. All callers changed.
|
8632 |
|
|
(pa_get_label): Use current_space rather than pa_segment_to_space.
|
8633 |
|
|
(pa_define_label): Likewise.
|
8634 |
|
|
(pa_undefine_label): Likewise.
|
8635 |
|
|
(md_begin): Change into the (possibly modified) text_section.
|
8636 |
|
|
(pa_parse_space_stmt): Create a new segment/space if create_flag
|
8637 |
|
|
is true, and the space name is not one of the two predefined spaces.
|
8638 |
|
|
(pa_subspace): Use current_space rather than a lookup via
|
8639 |
|
|
pa_segment_to_space. Reset BFD section flags as required by
|
8640 |
|
|
the .subspace directive. Likewise for the section alignment.
|
8641 |
|
|
Pass the current space to update_subspace and create_new_subspace.
|
8642 |
|
|
(pa_spaces_begin): Only use space/subspace aliases if USE_ALIASES
|
8643 |
|
|
is true. When not using aliases, create a BFD section for each
|
8644 |
|
|
subspace encountered. When not using aliases replace the default
|
8645 |
|
|
text, data, and bss segments with new ones.
|
8646 |
|
|
(create_new_subspace): When not using aliases each subspace has a
|
8647 |
|
|
section/segment and subsegments are not needed, so set the subsegment
|
8648 |
|
|
to zero.
|
8649 |
|
|
|
8650 |
|
|
* config/tc-hppa.c (pa_parse_space_stmt): If needed, call
|
8651 |
|
|
obj_set_section_attributes to pass space attributes to the
|
8652 |
|
|
BFD backend.
|
8653 |
|
|
(create_new_space): Likewise.
|
8654 |
|
|
(create_new_subspace): Likewise for subspace attributes using
|
8655 |
|
|
obj_set_subsection_attributes.
|
8656 |
|
|
(update_subspace): Likewise for subspace attributes using
|
8657 |
|
|
obj_set_subsection_attributes.
|
8658 |
|
|
|
8659 |
|
|
* config/tc-hppa.c (pa_parse_space_stmt): Get segment and sort key
|
8660 |
|
|
for $TEXT$ and $PRIVATE$ from the default space structure.
|
8661 |
|
|
|
8662 |
|
|
* config/tc-hppa.c (pa_export_args): Always set BSF_FUNCTION
|
8663 |
|
|
as appropriate for the given type.
|
8664 |
|
|
|
8665 |
|
|
* config/tc-hppa.c (tc_gen_reloc): Preliminary stab at handling
|
8666 |
|
|
SOM relocations.
|
8667 |
|
|
|
8668 |
|
|
* config/tc-hppa.c (pa_comm): Delete incorrect check for symbol
|
8669 |
|
|
redefinition.
|
8670 |
|
|
|
8671 |
|
|
* config/obj-som.[ch]: New files for SOM support. Note SOM
|
8672 |
|
|
support is not yet complete in GAS or BFD.
|
8673 |
|
|
|
8674 |
|
|
* config/ho-hppabsd.h: Delete IO* macros, they are defined in
|
8675 |
|
|
stdio.h. Delete declaration of free. Include stdlib.h, unistd.h,
|
8676 |
|
|
and string.h.
|
8677 |
|
|
|
8678 |
|
|
Fri Oct 29 13:26:12 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8679 |
|
|
|
8680 |
|
|
* Allow backends to override the section names used for embedded
|
8681 |
|
|
stabs support. Needed for SOM.
|
8682 |
|
|
* read.c (STAB_SECTION_NAME): Default the name of the stab section
|
8683 |
|
|
to ".stab".
|
8684 |
|
|
(STAB_STRING_SECTION_NAME): Likewise for the stab strings section.
|
8685 |
|
|
(get_stab_string_offset): Is now passed the full name for the
|
8686 |
|
|
stab string section rather than a name prefix. All references
|
8687 |
|
|
changed.
|
8688 |
|
|
(s_stab_generic): New argument for the stab string section name.
|
8689 |
|
|
all references changed.
|
8690 |
|
|
(s_xstab): Append "str" to the stab section name to get the
|
8691 |
|
|
stab string section name.
|
8692 |
|
|
* config/obj-coffbfd.c (obj_coff_init_stab_section): Append "str"
|
8693 |
|
|
to stab section name to get the stab string section name. Pass
|
8694 |
|
|
the full name of the stab string section to get_stab_string_offset.
|
8695 |
|
|
* config/obj-elf.c (obj_elf_init_stab_section): Likewise.
|
8696 |
|
|
|
8697 |
|
|
* config/tc-hppa.c (md_begin): Disable "-R" option to fold
|
8698 |
|
|
textand data segments. Warn user "-R" is unsupported on the
|
8699 |
|
|
PA.
|
8700 |
|
|
|
8701 |
|
|
Thu Oct 28 12:36:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
8702 |
|
|
|
8703 |
|
|
* config/tc-hppa.c (md_pseudo_table): Default alignment is 8 for
|
8704 |
|
|
.align and .ALIGN directives.
|
8705 |
|
|
|
8706 |
|
|
* config/tc-hppa.c (pa_space): Do not report an error for a .space
|
8707 |
|
|
directive which does not define a "well-known" space and does
|
8708 |
|
|
not include a space number as an argument.
|
8709 |
|
|
|
8710 |
|
|
* config/tc-hppa.c (pa_def_subspaces): Correct initialization of the
|
8711 |
|
|
"defined", "loadable", "code_only" and "space_index" fields.
|
8712 |
|
|
(pa_def_spaces): Correct initialization of the "spnum", "defined",
|
8713 |
|
|
and "private" fields.
|
8714 |
|
|
|
8715 |
|
|
* write.h (struct fix): Add new tc_fix_data field for the various
|
8716 |
|
|
backends to attach machine dependent fixup information to.
|
8717 |
|
|
* write.c (fix_new_internal): Initialize new tc_fix_data field.
|
8718 |
|
|
* config/tc-hppa.c (hppa_fix_struct): Delete unnecessary fix_fixP and
|
8719 |
|
|
fx_next fields.
|
8720 |
|
|
(hppa_find_hppa_fix): Delete unnecessary function. Fix all
|
8721 |
|
|
callers to get HPPA fixup information from the tc_fix_data field
|
8722 |
|
|
in the GAS fixup.
|
8723 |
|
|
(hppa_fix_root): Delete unnecessary variable.
|
8724 |
|
|
(fix_new_hppa): Attach HPPA fixup data to the GAS fixup.
|
8725 |
|
|
|
8726 |
|
|
* config/tc-hppa.c (pa_set_start_symbol); Delete unwanted
|
8727 |
|
|
function. Fix all callers.
|
8728 |
|
|
(subspace_dictionary_chain): Delete unused ssd_start_sym field.
|
8729 |
|
|
|
8730 |
|
|
* config/tc-hppa.c (hppa_fix_adjustable): New function to determine
|
8731 |
|
|
if a particular fixup is adjustable.
|
8732 |
|
|
* config/tc-hppa.h (tc_fix_adjustable): Call hppa_fix_adjustable to
|
8733 |
|
|
perform the real work.
|
8734 |
|
|
|
8735 |
|
|
* config/tc-hppa.h (RELOC_EXPANSION_POSSIBLE): Move definition out
|
8736 |
|
|
of OBJ_XXX conditionals.
|
8737 |
|
|
(MAX_RELOC_EXPANSION): Likewise.
|
8738 |
|
|
|
8739 |
|
|
* config/tc-hppa.c (log2): Renamed from is_power_of_2. Fix all
|
8740 |
|
|
callers. Now returns log2 (N) for positive N which are an exact
|
8741 |
|
|
power of two or -1 for an error.
|
8742 |
|
|
|
8743 |
|
|
* config/tc-hppa.c (pa_callinfo): Range check values provided for
|
8744 |
|
|
ENTRY_GR, ENTRY_FR and ENTRY_SR. Properly adjust vaues before
|
8745 |
|
|
inserting them into the unwind table.
|
8746 |
|
|
|
8747 |
|
|
* config/tc-hppa.c (NEEDS_FIXUP): Delete definition and all references.
|
8748 |
|
|
(hppa_gen_reloc_type): New object format dependent macro.
|
8749 |
|
|
(pa_ip): Delete tons of code which was either OBJ_SOM or OBJ_ELF
|
8750 |
|
|
conditional. The code can (and will) be shared between SOM & ELF
|
8751 |
|
|
formats in the near future.
|
8752 |
|
|
(cons_fix_new_hppa, md_apply_fix_1): Likewise.
|
8753 |
|
|
(pa_build_unwind_subspace, process_exit, pa_exit): Likewise.
|
8754 |
|
|
(tc_gen_reloc): Use hppa_gen_reloc rather than an object format
|
8755 |
|
|
specific call.
|
8756 |
|
|
|
8757 |
|
|
* config/tc-hppa.c (pa_comm): Set the segment for a common symbol
|
8758 |
|
|
to bfd_und_section.
|
8759 |
|
|
|
8760 |
|
|
* config/obj-elf.h (obj_elf_version): Add extern prototype.
|
8761 |
|
|
|
8762 |
|
|
* configure.in (hppa-*-bsd*): New configuration.
|
8763 |
|
|
BFD is always used for GAS generating SOM objects.
|
8764 |
|
|
|
8765 |
|
|
* write.c (adjust_reloc_syms): Set sy_used_in_reloc if an
|
8766 |
|
|
adjustment is rejected by the target machine.
|
8767 |
|
|
|
8768 |
|
|
* config/tc-hppa.c (pa_big_cons): Delete function and its
|
8769 |
|
|
declaration. All callers changed to use pa_cons.
|
8770 |
|
|
|
8771 |
|
|
* write.c (fixup_segment): Fix indention and open/close brace
|
8772 |
|
|
problem.
|
8773 |
|
|
|
8774 |
|
|
From Pete Hoogenboom:
|
8775 |
|
|
* config/tc-hppa.c (md_atof): Return a NULL on success rather than
|
8776 |
|
|
an empty string.
|
8777 |
|
|
|
8778 |
|
|
* config/tc-hppa.c (pa_parse_space_stmt): Advance
|
8779 |
|
|
input_line_poitner when an invalid argument is encountered.
|
8780 |
|
|
|
8781 |
|
|
Thu Oct 28 13:09:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8782 |
|
|
|
8783 |
|
|
* config/tc-a29k.c (md_begin): When opcodes are mashed together in
|
8784 |
|
|
the table, require that the one without bit 0x1000000 set come
|
8785 |
|
|
first. Require further that it be case 'b' or 'P'. The a29k
|
8786 |
|
|
opcode table already meets these constraints.
|
8787 |
|
|
(machine_ip): When handling case 'i' or 'A', make sure that the
|
8788 |
|
|
appropriate opcode really exists by looking at the next entry in
|
8789 |
|
|
the opcode table.
|
8790 |
|
|
|
8791 |
|
|
Wed Oct 27 11:48:56 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8792 |
|
|
|
8793 |
|
|
* config/tc-m68k.c (m68k_ip): Adjust offsets for PC relative
|
8794 |
|
|
fixups. Add 6 for long 7.3 case, 2 for short 7.2 case.
|
8795 |
|
|
|
8796 |
|
|
* config/obj-ecoff.c (obj_ecoff_ent): Ignore an optional number
|
8797 |
|
|
after a .ent directive.
|
8798 |
|
|
|
8799 |
|
|
* config/tc-mips.c (mips_ip): Handle '>' case (shift amount
|
8800 |
|
|
between 32 and 63 for double shift instruction). Do & 0x1f rather
|
8801 |
|
|
than % 32.
|
8802 |
|
|
(printInsn): Handle '>'.
|
8803 |
|
|
|
8804 |
|
|
Tue Oct 26 16:58:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8805 |
|
|
|
8806 |
|
|
* config/tc-ns32k.c (tc_aout_fix_to_chars): Output the symbol
|
8807 |
|
|
number in the right place. Untested. Probably does not work for
|
8808 |
|
|
cross assembly. From cagney@cs.adelaide.edu.au (Andrew Cagney).
|
8809 |
|
|
|
8810 |
|
|
* config/tc-m68k.c (md_apply_fix_2): Error if a short branch uses
|
8811 |
|
|
an illegal offset of 0 or -1.
|
8812 |
|
|
|
8813 |
|
|
* config/obj-elf.c (obj_elf_init_stab_section): Align .stab
|
8814 |
|
|
section to a longword boundary.
|
8815 |
|
|
|
8816 |
|
|
Tue Oct 26 10:24:31 1993 Ken Raeburn (raeburn@cygnus.com)
|
8817 |
|
|
|
8818 |
|
|
* Makefile.in (CHECKFLAGS): Pass down RUNTESTFLAGS.
|
8819 |
|
|
|
8820 |
|
|
From Jeff Law:
|
8821 |
|
|
* config/tc-hppa.c (tc_gen_reloc): ELF32_HPPA_R_ADDEND ->
|
8822 |
|
|
HPPA_R_ADDEND.
|
8823 |
|
|
|
8824 |
|
|
Mon Oct 25 14:06:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8825 |
|
|
|
8826 |
|
|
* config/tc-sparc.c (sparc_ip): Fix up membar argument handling.
|
8827 |
|
|
|
8828 |
|
|
Mon Oct 25 11:17:58 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
8829 |
|
|
|
8830 |
|
|
* config/tc-sh.c (build_Mbytes): Write the relocs to the correct
|
8831 |
|
|
address. (md_assemble): Make error handling a bit more graceful.
|
8832 |
|
|
(md_apply_fix): Don't warn on non aligned displacement.
|
8833 |
|
|
|
8834 |
|
|
* config/tc-z8k.c (get_specific, built_bytes): Understand all the
|
8835 |
|
|
aspects of lda.
|
8836 |
|
|
|
8837 |
|
|
Mon Oct 25 10:20:31 1993 Ken Raeburn (raeburn@rover.cygnus.com)
|
8838 |
|
|
|
8839 |
|
|
* doc/Makefile.in (install-info): Use "$<*" so VPATH will find
|
8840 |
|
|
as.info* even if they're in $(srcdir) (e.g., for FSF
|
8841 |
|
|
distributions).
|
8842 |
|
|
|
8843 |
|
|
* write.c (write_relocs): For relocs that are pc_relative and
|
8844 |
|
|
pcrel_offset and not partial_inplace, adjust reloc->addend to
|
8845 |
|
|
compensate for a bfd_perform_relocation bug.
|
8846 |
|
|
|
8847 |
|
|
* config/tc-sparc.h: Removed remaining non-BFD_ASSEMBLER code.
|
8848 |
|
|
* config/tc-sparc.c: Ditto.
|
8849 |
|
|
(tc_gen_reloc): Include fx_offset for pcrel fixups.
|
8850 |
|
|
|
8851 |
|
|
Sun Oct 24 16:49:00 1993 Jim Wilson (wilson@x1.cygnus.com)
|
8852 |
|
|
|
8853 |
|
|
* config/tc-mips.c (md_pseudo_table): Add dword pseudo op.
|
8854 |
|
|
|
8855 |
|
|
Fri Oct 22 20:40:56 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
|
8856 |
|
|
|
8857 |
|
|
* messages.c: replaced all variables called Format with 'format',
|
8858 |
|
|
for consistency throughout
|
8859 |
|
|
|
8860 |
|
|
* configure.in: handle mips*- instead of mips, mips*el for little
|
8861 |
|
|
endian configurations
|
8862 |
|
|
|
8863 |
|
|
Fri Oct 22 14:45:49 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8864 |
|
|
|
8865 |
|
|
* input-scrub.c (physical_input_file, logical_input_file,
|
8866 |
|
|
physical_input_line, logical_input_line): Made static.
|
8867 |
|
|
(as_where): Return current file name and line number, don't print
|
8868 |
|
|
them out.
|
8869 |
|
|
* messages.c (as_show_where): New static function. Other
|
8870 |
|
|
functions use it instead of as_where.
|
8871 |
|
|
(as_bad_internal): New static function.
|
8872 |
|
|
(as_bad): Use as_bad_internal.
|
8873 |
|
|
(as_bad_where): New function, like as_bad but taking a file name
|
8874 |
|
|
and line number.
|
8875 |
|
|
* as.h (as_bad_where): Declare.
|
8876 |
|
|
(as_where): Change prototype for new arguments.
|
8877 |
|
|
* write.h (fixS): Added fields fx_file and fx_line.
|
8878 |
|
|
* write.c (fix_new_internal): Save file and line number in fix.
|
8879 |
|
|
(fixup_segment): Use as_bad_where, not as_bad.
|
8880 |
|
|
* input-file.c (f_in, file_name): Made static.
|
8881 |
|
|
* cond.c (struct file_line): Just use file and line fields.
|
8882 |
|
|
(s_else): Use as_where and as_bad_where, not get_file_line and
|
8883 |
|
|
set_file_line.
|
8884 |
|
|
(get_file_line, set_file_line): Removed.
|
8885 |
|
|
* listing.c (listing_newline): Use as_where.
|
8886 |
|
|
* config/obj-coffbfd.c (obj_coff_init_stab_section): Use as_where.
|
8887 |
|
|
* config/obj-ecoff.c (add_file): Use as_where.
|
8888 |
|
|
* config/obj-elf.c (obj_elf_init_stab_section): Use as_where.
|
8889 |
|
|
* config/tc-m68k.c (md_apply_fix_2): Use as_bad_where.
|
8890 |
|
|
* config/tc-mips.c (tc_gen_reloc): Use as_bad_where, not assert.
|
8891 |
|
|
|
8892 |
|
|
Thu Oct 21 12:52:01 1993 Ken Raeburn (raeburn@cygnus.com)
|
8893 |
|
|
|
8894 |
|
|
* config/tc-m68k.h: Don't define REGISTER_PREFIX or
|
8895 |
|
|
OPTIONAL_REGISTER_PREFIX if either is already defined.
|
8896 |
|
|
|
8897 |
|
|
* config/tc-m68k.c (m68k_ip): Delete some code in "#if 0".
|
8898 |
|
|
|
8899 |
|
|
* configure.in: Set bfd_gas for all sparc targets. Added facility
|
8900 |
|
|
for keeping or rejecting configurations still under development;
|
8901 |
|
|
default is to assume production environment, and reject configs
|
8902 |
|
|
still being worked on. Mark Elf configurations (except sparc and
|
8903 |
|
|
i386) as developmental. Deleted cases matching some generic names
|
8904 |
|
|
in favor of more specific names. (E.g., when we get Alpha
|
8905 |
|
|
support, we'll still only support VMS for Vax.)
|
8906 |
|
|
|
8907 |
|
|
* config/tc-sparc.h (md_end): New macro.
|
8908 |
|
|
* config/tc-sparc.c (md_end): Function deleted.
|
8909 |
|
|
(BFD_RELOC_*): Delete macros that used to help keep the non-bfd
|
8910 |
|
|
version compiling. All sparc targets will use bfd now.
|
8911 |
|
|
* tc.h (md_end): Don't declare if it's defined as a macro.
|
8912 |
|
|
|
8913 |
|
|
Changes from Jeff Law and Peter Hoogenboom:
|
8914 |
|
|
|
8915 |
|
|
* read.c (next_char_of_string): Limit octal character constants to
|
8916 |
|
|
three digits.
|
8917 |
|
|
|
8918 |
|
|
* config/tc-hppa.h: Major cleanup. Use GNU-style comments. Warn
|
8919 |
|
|
against placing additional object-file dependent code here. Warn
|
8920 |
|
|
against contaminating all of GAS with the internals of tc-hppa.c
|
8921 |
|
|
through inclusion of tc-hppa.h. Delete all forward declarations
|
8922 |
|
|
for functions only used within tc-hppa.c, likewise for structures,
|
8923 |
|
|
variables, and #defines. Try to group OBJ_ELF and OBJ_SOM
|
8924 |
|
|
conditional code in a few small places.
|
8925 |
|
|
|
8926 |
|
|
* config/tc-hppa.c: Major cleanup. Use GNU-style comments. Group
|
8927 |
|
|
structures, global variables, forward declarations together.
|
8928 |
|
|
Reduce (or in some cases eliminate) OBJ_ELF and OBJ_SOM
|
8929 |
|
|
conditional code -- try to group conditional code together
|
8930 |
|
|
into a few places. Make all functions and variables which
|
8931 |
|
|
are only used within tc-hppa.c static. PARAMize all functions.
|
8932 |
|
|
Add comments to functions. Delete unused functions, variables,
|
8933 |
|
|
#defines, etc. Delete unused members within structures. Delete
|
8934 |
|
|
ldil;ble hacks -- it is believed they were installed to work
|
8935 |
|
|
around old gas bugs. Avoid using mixed case for local
|
8936 |
|
|
functions, variables, and structures. Fix formatting problems
|
8937 |
|
|
not found by GNU-indent. Add FIXME notices for things which
|
8938 |
|
|
should be worked on the near future. Delete lots of old
|
8939 |
|
|
useless (1.36 PA-SOM) code.
|
8940 |
|
|
|
8941 |
|
|
* config/tc-hppa.c: (fix_new_hppa): Initialize the fx_r_type
|
8942 |
|
|
field of the fixS structure. Needed to build unwind
|
8943 |
|
|
descriptors correctly.
|
8944 |
|
|
|
8945 |
|
|
* write.c: (fixup_segment): Allow expressions such as
|
8946 |
|
|
sym1-sym2+const as long as sym2 is $global$.
|
8947 |
|
|
|
8948 |
|
|
* write.c (adjust_reloc_syms): Provide a hook so that a target
|
8949 |
|
|
cpu configuration can reject certain relocation reductions.
|
8950 |
|
|
* config/tc-hppa.h (tc_fix_adjustable): New macro. Only accept relocations
|
8951 |
|
|
which do not involve function symbols.
|
8952 |
|
|
|
8953 |
|
|
* config/tc-hppa.h: Reindent with GNU-indent. Delete references
|
8954 |
|
|
to OBJ_OSFROSE. Fix typos (OBJ_SOME -> OBJ_SOM). Delete unused
|
8955 |
|
|
STAB_FIXUP macro.
|
8956 |
|
|
* config/tc-hppa.c: Likewise.
|
8957 |
|
|
|
8958 |
|
|
* config/tc-hppa.c (md_apply_fix_1): Use elf_symbol_type, instead
|
8959 |
|
|
of elf32_symbol_type.
|
8960 |
|
|
(pa_export_args): Likewise.
|
8961 |
|
|
(elf_hppa_final_processing): Likewise.
|
8962 |
|
|
(pa_desc): Do not call obj_elf_desc. (Is pa_desc even needed
|
8963 |
|
|
anymore?)
|
8964 |
|
|
(hppa_tc_make_sections): Do not declare elf_get_symtab_map any
|
8965 |
|
|
ore.
|
8966 |
|
|
|
8967 |
|
|
* config/tc-hppa.c: (md_section_align): Align all sections to
|
8968 |
|
|
a multiple of the section alignment rather than always a
|
8969 |
|
|
multiple of 8.
|
8970 |
|
|
|
8971 |
|
|
* config/tc-hppa.c (hppa_tc_symbol): If the argument relocation
|
8972 |
|
|
bits are zero (eg they specify no relocations), then do not even
|
8973 |
|
|
bother adding their entries to thesymextn section.
|
8974 |
|
|
|
8975 |
|
|
Thu Oct 21 15:44:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8976 |
|
|
|
8977 |
|
|
* config/tc-sparc.c (md_parse_option): Accept and ignore -sparc
|
8978 |
|
|
option, which is used by the SunOS make default .s.o rule.
|
8979 |
|
|
|
8980 |
|
|
Wed Oct 20 12:26:33 1993 Ken Raeburn (raeburn@rover.cygnus.com)
|
8981 |
|
|
|
8982 |
|
|
* config/tc-sparc.c (sparc_ip, label "immediate"): Convert relocs
|
8983 |
|
|
operating on upper 32 bits of immediate constants to lower-half
|
8984 |
|
|
relocs with adjusted constants.
|
8985 |
|
|
|
8986 |
|
|
Tue Oct 19 18:13:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8987 |
|
|
|
8988 |
|
|
* config/tc-m68k.h (AOUT_MACHTYPE): Define to be external variable
|
8989 |
|
|
m68k_aout_machtype.
|
8990 |
|
|
* config/tc-m68k.c (omagic): Remove obsolete and unused variable.
|
8991 |
|
|
(m68k_aout_machtype): New variable, if OBJ_AOUT.
|
8992 |
|
|
(md_assemble): Initialize m68k_aout_machtype based on
|
8993 |
|
|
current_architecture, if OBJ_AOUT.
|
8994 |
|
|
(md_parse_option): Remove obsolete reference to omagic.
|
8995 |
|
|
|
8996 |
|
|
Thu Oct 14 16:51:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
8997 |
|
|
|
8998 |
|
|
* config/tc-mips.c (md_pseudo_table): Ignore .livereg pseudo-op.
|
8999 |
|
|
(s_option): Ignore .option O* and .option pic*.
|
9000 |
|
|
(s_ent): Skip whitespace between symbol and optional digit.
|
9001 |
|
|
(my_getSmallExpression): Handle ($xx) correctly: assume 0($xx).
|
9002 |
|
|
|
9003 |
|
|
* app.c (do_scrub_next_char): Always accept 'x' and 'X' as escape
|
9004 |
|
|
characters in state 6.
|
9005 |
|
|
* read.c (next_char_of_string): Accept \Xh* and \xh* where h* are
|
9006 |
|
|
hexadecimal digits.
|
9007 |
|
|
|
9008 |
|
|
* config/tc-i386.c (md_apply_fix_1): Make cross segment calls work
|
9009 |
|
|
for ELF by hacking around bizarre bfd_perform_relocation behaviour
|
9010 |
|
|
that I don't dare change.
|
9011 |
|
|
|
9012 |
|
|
Thu Oct 14 11:33:25 1993 Michael Meissner (meissner@osf.org)
|
9013 |
|
|
|
9014 |
|
|
* config/tc-i386.c: (md_begin): Do not zero static arrays. Don't
|
9015 |
|
|
call strchr for each character to see if it is a special char,
|
9016 |
|
|
instead add a second loop over special_chars. Set alignment
|
9017 |
|
|
of text, data and bss sections to 4.
|
9018 |
|
|
(pi, te, pt, pe, ps): Add declarations so that DEBUG386 can be
|
9019 |
|
|
used again.
|
9020 |
|
|
(reloc): Don't return 8 and 16 bit non-PC relative relocations on
|
9021 |
|
|
ELF, since the ELF object format does not have these type of
|
9022 |
|
|
relocations. Change the abort into as as_bad and return
|
9023 |
|
|
BFD_RELOC_NONE to silence compiler warnings.
|
9024 |
|
|
(md_assemble): Keep track of the instruction size. Allow white
|
9025 |
|
|
space between the $ and the constant for compatibility with older
|
9026 |
|
|
gases and other assemblers.
|
9027 |
|
|
(i386_operand): Skip spaces between $ and expression.
|
9028 |
|
|
(tc_gen_reloc): Don't allow anything but 32 bit relocations on
|
9029 |
|
|
ELF. Convert abort into an as_bad and assert into as_fatal.
|
9030 |
|
|
|
9031 |
|
|
Wed Oct 13 16:50:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9032 |
|
|
|
9033 |
|
|
* config/obj-coffbfd.c (fixup_segment) [DIFF_EXPR_OK]: If
|
9034 |
|
|
sub_symbolP is in the current segment, convert to a PC-relative
|
9035 |
|
|
fixup and discard the symbol.
|
9036 |
|
|
|
9037 |
|
|
Wed Oct 13 14:00:02 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9038 |
|
|
|
9039 |
|
|
* config/obj-ecoff.c (ecoff_build_symbols): Handle st_End symbol
|
9040 |
|
|
for st_StaticProc just like st_Proc.
|
9041 |
|
|
|
9042 |
|
|
* write.c (relax_and_size_all_segments): Moved #endif for OBJ_BOUT
|
9043 |
|
|
so that OBJ_BOUT doesn't forget to adjust all the fragments in the
|
9044 |
|
|
.bss section.
|
9045 |
|
|
|
9046 |
|
|
Tue Oct 12 17:26:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9047 |
|
|
|
9048 |
|
|
* config/tc-mips.c: If OBJ_ELF, include elf/mips.h.
|
9049 |
|
|
(mips_regmask_frag): New static variable, if OBJ_ELF.
|
9050 |
|
|
(md_begin): If OBJ_ELF, create .reginfo section and set
|
9051 |
|
|
mips_regmask_frag to a frag.
|
9052 |
|
|
(mips_elf_final_processing): New function, if OBJ_ELF. Set
|
9053 |
|
|
mips_regmask_frag to register mask information.
|
9054 |
|
|
* config/tc-mips.h (elf_tc_final_processing): New macro, defined
|
9055 |
|
|
if OBJ_ELF.
|
9056 |
|
|
|
9057 |
|
|
Tue Oct 12 03:33:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9058 |
|
|
|
9059 |
|
|
* messages.c (as_fatal): Use myname when printing messages.
|
9060 |
|
|
|
9061 |
|
|
* config/tc-i960.c (md_begin): Use null pointer, not empty string,
|
9062 |
|
|
as initial "return" value in case hashing isn't needed.
|
9063 |
|
|
|
9064 |
|
|
* config/tc-a29k.c (md_atof): Return null, not empty string, on
|
9065 |
|
|
success.
|
9066 |
|
|
* config/tc-h8300.c (md_atof), config/tc-h8500.c (md_atof),
|
9067 |
|
|
config/tc-hppa.c (md_atof), config/tc-i860.c (md_atof),
|
9068 |
|
|
config/tc-i960.c (md_atof), config/tc-m88k.c (md_atof),
|
9069 |
|
|
config/tc-ns32k.c (md_atof), config/tc-sh.c (md_atof): Ditto.
|
9070 |
|
|
|
9071 |
|
|
Mon Oct 11 16:46:31 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
9072 |
|
|
|
9073 |
|
|
fix for pr 3571
|
9074 |
|
|
* config/tc-h8300.c (get_specific): Special action if 8 bit
|
9075 |
|
|
address seen. (check_operand): Don't complain if truncating top
|
9076 |
|
|
bits of an 8 bit address. (build_bytes): Allow an immediate and
|
9077 |
|
|
an absolute in the same insn.
|
9078 |
|
|
|
9079 |
|
|
Mon Oct 11 17:18:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9080 |
|
|
|
9081 |
|
|
* write.c (write_contents): Don't crash if seginfo is NULL.
|
9082 |
|
|
|
9083 |
|
|
* config/obj-ecoff.c (ecoff_frob_file): Write out register masks
|
9084 |
|
|
by modifying .reginfo section, not by directly modifying BFD
|
9085 |
|
|
backend data.
|
9086 |
|
|
|
9087 |
|
|
Mon Oct 11 14:11:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
|
9088 |
|
|
|
9089 |
|
|
* config/ho-sunos.h: remove extern time declaration
|
9090 |
|
|
|
9091 |
|
|
Mon Oct 11 16:14:43 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9092 |
|
|
|
9093 |
|
|
* messages.c (as_fatal): Do mention that it's the assembler that
|
9094 |
|
|
got the fatal error.
|
9095 |
|
|
|
9096 |
|
|
Fri Oct 8 14:09:35 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9097 |
|
|
|
9098 |
|
|
* config/tc-mips.c (mips_gprmask, mips_cprmask): New variables to
|
9099 |
|
|
hold register masks.
|
9100 |
|
|
(md_begin): Initialize them to zero.
|
9101 |
|
|
(append_insn): Update mips_gprmask and mips_cprmask. Also add
|
9102 |
|
|
register variables pinfo and prev_pinfo.
|
9103 |
|
|
* config/tc-mips.h (mips_gprmask, mips_cprmask): Declare.
|
9104 |
|
|
* config/obj-ecoff.c (ecoff_frob_file): If TC_MIPS, set gprmask
|
9105 |
|
|
and cprmask from mips_gprmask and mips_cprmask.
|
9106 |
|
|
|
9107 |
|
|
* config/tc-mips.h: Define TARGET_FORMAT if OBJ_ELF.
|
9108 |
|
|
* config/tc-mips.c (GPOPT): Define if OBJ_ECOFF or OBJ_ELF.
|
9109 |
|
|
(various): Change all references to GP references to apply if
|
9110 |
|
|
GPOPT, not if OBJ_ECOFF.
|
9111 |
|
|
(s_change_sec): Rearrange somewhat. If OBJ_ELF, use .rodata
|
9112 |
|
|
instead of .rdata. If OBJ_ELF, set section flags for .rodata and
|
9113 |
|
|
.sdata sections.
|
9114 |
|
|
(s_frame, s_loc, s_mask): Comment out entire functions, rather
|
9115 |
|
|
than just body. They're not used anyhow.
|
9116 |
|
|
* configure.in: Set cpu_type to mips for mips*. Accept
|
9117 |
|
|
mips-*-elfl* and mips-*-elf*.
|
9118 |
|
|
|
9119 |
|
|
Thu Oct 7 18:36:29 1993 Michael Meissner (meissner@osf.org)
|
9120 |
|
|
|
9121 |
|
|
* config/obj-elf.c (obj_elf_common): Allow the alignment field to
|
9122 |
|
|
not be specified.
|
9123 |
|
|
|
9124 |
|
|
Wed Oct 6 13:01:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9125 |
|
|
|
9126 |
|
|
* config/tc-mips.c (cons_fix_new_mips): New function. Turn
|
9127 |
|
|
BFD_RELOC_64 into BFD_RELOC_32.
|
9128 |
|
|
* config/tc-mips.h (TC_CONS_FIX_NEW): Define.
|
9129 |
|
|
(cons_fix_new_mips): Declare.
|
9130 |
|
|
|
9131 |
|
|
Changes to let cons handle bignums like general expressions.
|
9132 |
|
|
* expr.h (expressionS): New field X_unsigned.
|
9133 |
|
|
* expr.c (operand): Initialize X_unsigned to 1. Set it to 0 for
|
9134 |
|
|
unary minus case.
|
9135 |
|
|
(expr) Fix typo resultP to right if missing operand. Set
|
9136 |
|
|
X_unsigned to 1 when building new expression.
|
9137 |
|
|
* read.c (potable): Make "octa" and "quad" call cons, not
|
9138 |
|
|
big_cons.
|
9139 |
|
|
(cons): Handle bignums. If given an O_constant (small integer) to
|
9140 |
|
|
fill a big space, turn it into a bignum.
|
9141 |
|
|
(parse_bitfield_cons): Set X_unsigned field.
|
9142 |
|
|
(bignum_low, bignum_limit, bignum_high, grow_bignum, big_cons):
|
9143 |
|
|
Removed.
|
9144 |
|
|
* read.h (big_cons): Remove prototype.
|
9145 |
|
|
* symbols.c (resolve_symbol_value): Don't give a warning if a
|
9146 |
|
|
symbol in expr_section can not be resolved.
|
9147 |
|
|
(S_SET_VALUE): Clear X_unsigned.
|
9148 |
|
|
* write.c (write_object_file): If resolve_symbol_value failed on a
|
9149 |
|
|
symbol we are writing out, give a warning.
|
9150 |
|
|
* config/tc-h8500.c (parse_reglist): Set X_unsigned.
|
9151 |
|
|
* config/tc-hppa.c (md_pseudo_table): Change "octa" and "quad" to
|
9152 |
|
|
call pa_cons, not pa_big_cons.
|
9153 |
|
|
(pa_big_cons): Remove.
|
9154 |
|
|
* config/tc-hppa.h (pa_big_cons): Remove declaration.
|
9155 |
|
|
* config/tc-i960.c (md_pseudo_table): Change "quad" to call cons,
|
9156 |
|
|
not big_cons.
|
9157 |
|
|
|
9158 |
|
|
Tue Oct 5 10:53:36 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
|
9159 |
|
|
|
9160 |
|
|
* doc/as.texinfo (Copying): new node, to handle the recent changes
|
9161 |
|
|
in the texinfo/gpl.texinfo file
|
9162 |
|
|
|
9163 |
|
|
Mon Oct 4 17:10:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9164 |
|
|
|
9165 |
|
|
* read.c (big_cons): Handle "0" correctly.
|
9166 |
|
|
|
9167 |
|
|
* config/tc-mips.c (md_begin): Set target_big_endian correctly.
|
9168 |
|
|
|
9169 |
|
|
Mon Oct 4 15:37:57 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9170 |
|
|
|
9171 |
|
|
* config/tc-m68k.c (m68k_ip): Mode 7.3 operand using PC should
|
9172 |
|
|
have pc-relative fixup.
|
9173 |
|
|
(md_parse_option): Move "-k" case down near "-pic" case.
|
9174 |
|
|
|
9175 |
|
|
* configure.in: Alphabetize list of cpu type alternatives. Enable
|
9176 |
|
|
OS values of "linux*elf*" and "linux*coff*" to select those
|
9177 |
|
|
formats, with linux emulation. Don't bother checking for upper-
|
9178 |
|
|
or mixed-case versions of "ose".
|
9179 |
|
|
|
9180 |
|
|
Thu Sep 30 11:05:35 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
9181 |
|
|
|
9182 |
|
|
* config/z8k.c (md_pseudo_table): add "unseg".
|
9183 |
|
|
|
9184 |
|
|
Wed Sep 29 16:15:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
9185 |
|
|
|
9186 |
|
|
* config/m88k-opcode.h (m88k_opcodes): correct a few mistakes
|
9187 |
|
|
found while extending the dissassembler.
|
9188 |
|
|
|
9189 |
|
|
Tue Sep 28 12:02:04 1993 Stan Shebs (shebs@rtl.cygnus.com)
|
9190 |
|
|
|
9191 |
|
|
* configure.in: Split i386 LynxOS out from other coff targets,
|
9192 |
|
|
add a specific Lynx emulation.
|
9193 |
|
|
Add m68k LynxOS target.
|
9194 |
|
|
* config/tc-i386.c: Define specific Lynx target format.
|
9195 |
|
|
* config/tc-m68k.c: Define specific Lynx target format.
|
9196 |
|
|
* config/te-lynx.h: New file.
|
9197 |
|
|
|
9198 |
|
|
* config/obj-coffbfd.h: Don't set TARGET_FORMAT to be
|
9199 |
|
|
"coff-{i386,m68k}" if TARGET_FORMAT already defined.
|
9200 |
|
|
(INIT_STAB_SECTION): Define.
|
9201 |
|
|
* config/obj-coffbfd.c: Include .
|
9202 |
|
|
(write_object_file): Look for .stab sections and call
|
9203 |
|
|
adjust_stab_section.
|
9204 |
|
|
(adjust_stab_section): New function, fills in the first symbol
|
9205 |
|
|
of a stab section with number of symbols and string table size.
|
9206 |
|
|
(obj_coff_init_stab_section): New function, creates the initial
|
9207 |
|
|
symbol for a stab section.
|
9208 |
|
|
|
9209 |
|
|
Mon Sep 27 15:21:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9210 |
|
|
|
9211 |
|
|
* config/atof-vax.c (md_atof): Return null on success instead of
|
9212 |
|
|
empty string.
|
9213 |
|
|
* config/atof-tahoe.c (md_atof): Ditto.
|
9214 |
|
|
* read.c (float_cons): Expect a null pointer for success, not an
|
9215 |
|
|
empty string.
|
9216 |
|
|
|
9217 |
|
|
* hash.c (hash_insert, hash_jam, hash_grow): Return null pointer
|
9218 |
|
|
on success, instead of empty string. All callers changed.
|
9219 |
|
|
|
9220 |
|
|
* config/tc-vax.c: Use PARAMS in declarations.
|
9221 |
|
|
(vip_op): Use NULL instead of empty string for success in error
|
9222 |
|
|
and warning fields.
|
9223 |
|
|
|
9224 |
|
|
Sun Sep 26 23:45:29 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9225 |
|
|
|
9226 |
|
|
* expr.c (expr) [DIFF_EXPR_OK]: Permit subtraction of two symbols
|
9227 |
|
|
in different defined segments.
|
9228 |
|
|
|
9229 |
|
|
* write.c (relax_segment): Localize "aim" variable. If
|
9230 |
|
|
DIFF_EXPR_OK, don't impose checks on symbol segment types.
|
9231 |
|
|
(fixup_segment) [DIFF_EXPR_OK]: If sub_symbolP is in the current
|
9232 |
|
|
segment, convert to a PC-relative fixup and discard the symbol.
|
9233 |
|
|
|
9234 |
|
|
* config/tc-m68k.c (flag_want_pic): New variable, mostly ignored.
|
9235 |
|
|
(md_parse_option) [TE_SUN3]: Set it for "-k".
|
9236 |
|
|
(m68k_ip): Generate proper fixup for mode 7.3.
|
9237 |
|
|
* config/tc-m68k.h (DIFF_EXPR_OK): Define.
|
9238 |
|
|
|
9239 |
|
|
Sat Sep 25 05:08:19 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9240 |
|
|
|
9241 |
|
|
* config/tc-m68k.c (struct m68k_incant, getone, gettwo): Moved
|
9242 |
|
|
earlier in the file.
|
9243 |
|
|
(insop, add_exp): Now defined as functions, for readability.
|
9244 |
|
|
(insop): Now takes two arguments; callers changed.
|
9245 |
|
|
|
9246 |
|
|
Fri Sep 24 12:37:59 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
9247 |
|
|
|
9248 |
|
|
* config/tc-m88k.c (get_o6): new function.
|
9249 |
|
|
(get_bf, get_cmp, get_cnd, get_cr, get_fcr, get_imm16, get_reg,
|
9250 |
|
|
get_vec9, getval, get_pcr, calcop, match_name): make static and
|
9251 |
|
|
prototype.
|
9252 |
|
|
(s_file): remove extraneous forward decl.
|
9253 |
|
|
(md_begin): add const to retval decl.
|
9254 |
|
|
(calcop): cope with instructions without arguments. Handle 'o'
|
9255 |
|
|
type argument, the o6 field of the prot insn.
|
9256 |
|
|
(md_estimate_size_before_relax): return a dummy value.
|
9257 |
|
|
|
9258 |
|
|
* config/m88k-opcode.h (m88k_opcodes): comment change; o6 field is
|
9259 |
|
|
in bits 10 through 7. flt.[dxs]s requires an r register in the
|
9260 |
|
|
second argument. New instruction lda.x. New instruction muls
|
9261 |
|
|
(alias for mul).
|
9262 |
|
|
|
9263 |
|
|
Fri Sep 24 13:43:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9264 |
|
|
|
9265 |
|
|
* Makefile.in (distclean): Recurse like clean.
|
9266 |
|
|
* doc/Makefile.in (distclean): New target.
|
9267 |
|
|
|
9268 |
|
|
* config/tc-mips.c (md_begin): Set BFD architecture and machine
|
9269 |
|
|
based on MIPS ISA level.
|
9270 |
|
|
|
9271 |
|
|
Thu Sep 23 17:58:58 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9272 |
|
|
|
9273 |
|
|
* as.c (main): "exhausted", not "exhuasted".
|
9274 |
|
|
|
9275 |
|
|
* struc-symbol.h (struct symbol): Add sy_used_in_reloc field.
|
9276 |
|
|
* write.c (adjust_reloc_syms): Set sy_used_in_reloc.
|
9277 |
|
|
(write_object_file): Never strip symbols with sy_used_in_reloc
|
9278 |
|
|
set.
|
9279 |
|
|
|
9280 |
|
|
* config/obj-elf.c (obj_elf_section): Rewrote to handle both
|
9281 |
|
|
Solaris and SVR4 style .section pseudo-ops.
|
9282 |
|
|
(obj_elf_ident): Set SEC_READONLY for .comment section.
|
9283 |
|
|
* config/tc-sparc.c (md_apply_fix): If this is ELF, and we're
|
9284 |
|
|
generating a reloc, don't apply a fix.
|
9285 |
|
|
|
9286 |
|
|
Thu Sep 23 13:16:58 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9287 |
|
|
|
9288 |
|
|
* config/obj-coffbfd.c (relax_align): Now static.
|
9289 |
|
|
|
9290 |
|
|
Mon Sep 20 19:23:35 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9291 |
|
|
|
9292 |
|
|
* read.c (get_stab_string_offset): Make non-static. Make
|
9293 |
|
|
arguments const. Don't align strings to 4 byte boundaries.
|
9294 |
|
|
* read.h: Declare get_stab_string_offset.
|
9295 |
|
|
* config/obj-elf.c (obj_elf_section): Set SEC_ALLOC as well as
|
9296 |
|
|
SEC_LOAD for progbits section.
|
9297 |
|
|
(obj_elf_init_stab_section): New function.
|
9298 |
|
|
(adjust_stab_sections): Add casts to avoid warnings.
|
9299 |
|
|
* config/obj-elf.h (INIT_STAB_SECTION): Call
|
9300 |
|
|
obj_elf_init_stab_section.
|
9301 |
|
|
(OBJ_PROCESS_STAB): Removed definition.
|
9302 |
|
|
|
9303 |
|
|
Fri Sep 17 18:12:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9304 |
|
|
|
9305 |
|
|
* config/obj-elf.h (S_GET_SIZE): Define.
|
9306 |
|
|
(obj_frob_forward_symbol): Define.
|
9307 |
|
|
* config/tc-i386.c (line_comment_chars): Initialize in all cases.
|
9308 |
|
|
|
9309 |
|
|
Thu Sep 16 14:23:08 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9310 |
|
|
|
9311 |
|
|
* tc.h: Declare tc_gen_reloc differently depending upon
|
9312 |
|
|
RELOC_EXPANSION_POSSIBLE.
|
9313 |
|
|
* config/obj-elf.c (obj_elf_section): Only set flags when first
|
9314 |
|
|
creating the section.
|
9315 |
|
|
|
9316 |
|
|
Wed Sep 15 12:15:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9317 |
|
|
|
9318 |
|
|
* config/tc-mips.c (append_insn): Don't swap a trap instruction
|
9319 |
|
|
with a branch.
|
9320 |
|
|
|
9321 |
|
|
Tue Sep 14 13:31:04 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9322 |
|
|
|
9323 |
|
|
* config/obj-elf.c (obj_elf_data, obj_elf_text): New functions;
|
9324 |
|
|
set previous_section and previous_subsection and then call s_data
|
9325 |
|
|
and s_text, respectively.
|
9326 |
|
|
(obj_pseudo_table): Add data and text.
|
9327 |
|
|
(obj_elf_section): Add SEC_LOAD to default initialization of
|
9328 |
|
|
flags. Treat .rodata1 like .rodata. Set SEC_LOAD as well as
|
9329 |
|
|
SEC_ALLOC for "alloc" string. Don't bother trying to find the
|
9330 |
|
|
section; just use subseg_new.
|
9331 |
|
|
|
9332 |
|
|
* read.c (change_to_section): Removed. This is now done by
|
9333 |
|
|
subseg_new.
|
9334 |
|
|
(get_stab_string_offset): Rearranged somewhat. Create the section
|
9335 |
|
|
using subseg_new. Store the string index in seg_info, rather than
|
9336 |
|
|
in a static variable. Force the first string to be empty. Use
|
9337 |
|
|
frag_more rather than FRAG_APPEND_1_CHAR.
|
9338 |
|
|
(s_stab_generic): Rewrote.
|
9339 |
|
|
* subsegs.h (segment_info_type): Added stabu union.
|
9340 |
|
|
* subsegs.c (subseg_new): Initialize stab_string_size to 0.
|
9341 |
|
|
* config/obj-aout.c: Don't include aout/stab_gnu.h.
|
9342 |
|
|
(obj_aout_stab, obj_aout_desc): Removed.
|
9343 |
|
|
(obj_pseudo_table): Removed desc and stabX entries.
|
9344 |
|
|
* config/obj-bout.c: Same changes as config/obj-aout.c.
|
9345 |
|
|
* config/obj-bout.h (S_SET_TYPE): Define.
|
9346 |
|
|
(tc_bout_fix_to_chars): Declare.
|
9347 |
|
|
* config/obj-coff.c (obj_coff_stab): Removed.
|
9348 |
|
|
(obj_pseudo_table): Removed desc and stabX entries.
|
9349 |
|
|
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define.
|
9350 |
|
|
* config/obj-coffbfd.c (current_stab_symbol): Removed.
|
9351 |
|
|
* config/obj-coffbfd.h (obj_symbol_type): Removed n_strx, n_type,
|
9352 |
|
|
n_other, n_desc and n_value fields.
|
9353 |
|
|
(S_{S,G}ET_{OFFSET,OTHER,TYPE,DESC}): Removed.
|
9354 |
|
|
(MAKE_STAB_SYMBOL): Removed.
|
9355 |
|
|
* config/obj-ecoff.c (obj_ecoff_stab): Renamed to ecoff_stab.
|
9356 |
|
|
Changed arguments and removed parsing code.
|
9357 |
|
|
(obj_pseudo_table): Removed stabX entries.
|
9358 |
|
|
* config/obj-ecoff.h (ecoff_stab): Declare.
|
9359 |
|
|
(OBJ_PROCESS_STAB): Define.
|
9360 |
|
|
* config/obj-elf.c: Don't include aout/stab_gnu.h.
|
9361 |
|
|
(obj_elf_stab, obj_elf_xstab, obj_elf_desc,
|
9362 |
|
|
elf_stab_symbol_string, elf_stab_symbol, obj_elf_stab_generic):
|
9363 |
|
|
Removed.
|
9364 |
|
|
(obj_pseudo_table): Removed desc, stabX and xstabs entries.
|
9365 |
|
|
(obj_elf_version): Use subseg_new, not bfd_make_section. Don't
|
9366 |
|
|
set SEC_LOAD for .note section.
|
9367 |
|
|
(adjust_stab_sections): Get frag pointer from seg_info, rather
|
9368 |
|
|
than looking through frags.
|
9369 |
|
|
* config/obj-elf.h (S_{S,G}ET_{OTHER,TYPE,DESC}): Removed.
|
9370 |
|
|
(SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
|
9371 |
|
|
Define.
|
9372 |
|
|
* config/obj-vms.c (obj_aout_stab): Removed.
|
9373 |
|
|
(obj_pseudo_table): Removed stabX entries.
|
9374 |
|
|
* config/obj-vms.h (S_SET_TYPE): Define.
|
9375 |
|
|
|
9376 |
|
|
* as.h: Declare listing.
|
9377 |
|
|
* read.c: Don't declare listing.
|
9378 |
|
|
(emit_expr): Cast fix_new_exp argument.
|
9379 |
|
|
(parse_bitfield_cons): Correct printf format.
|
9380 |
|
|
* symbols.c (symbol_new): Add cast to avoid warning.
|
9381 |
|
|
* write.h: Declare text_last_frag and data_last_frag.
|
9382 |
|
|
* config/obj-bout.c (obj_bout_line): Added dummy argument.
|
9383 |
|
|
* config/obj-coffbfd.c: Add some casts to avoid warnings.
|
9384 |
|
|
* config/tc-a29k.c: Likewise.
|
9385 |
|
|
* config/tc-i960.c: Likewise. Also fully bracket structure
|
9386 |
|
|
initializations, fix printf formats, and remove unused variables.
|
9387 |
|
|
|
9388 |
|
|
Mon Sep 13 16:48:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9389 |
|
|
|
9390 |
|
|
* read.c (s_desc): Only compile and use if S_SET_DESC is defined.
|
9391 |
|
|
* struc-symbol.h: Declare verify_symbol_chain and
|
9392 |
|
|
verify_symbol_chain_2 even if not SYMBOLS_NEED_BACKPOINTERS.
|
9393 |
|
|
* symbols.c (verify_symbol_chain): Removed useless expression.
|
9394 |
|
|
* write.c (headers, the_object_file): Only use if not
|
9395 |
|
|
BFD_ASSEMBLER and not BFD.
|
9396 |
|
|
(fixup_segment, cvs_frag_to_fill): Only use if BFD_ASSEMBLER or
|
9397 |
|
|
not BFD.
|
9398 |
|
|
(merge_data_into_text): Only use if BFD_ASSEMBLER or (not BFD and
|
9399 |
|
|
not OBJ_AOUT).
|
9400 |
|
|
* write.h: Declare relax_segment.
|
9401 |
|
|
* config/obj-coffbfd.c (stack_pop, stack_push, stack_init): Made
|
9402 |
|
|
static.
|
9403 |
|
|
(stack_top): Commented out, since it's not used.
|
9404 |
|
|
Fixed up pseudo-op functions to take an ignored int argument.
|
9405 |
|
|
(size_section): Added default BAD_CASE to switch.
|
9406 |
|
|
Changed bzero calls to memset.
|
9407 |
|
|
* config/obj-coffbfd.h (S_IS_LOCAL): Call strchr on S_GET_NAME
|
9408 |
|
|
(s), not on s itself.
|
9409 |
|
|
* config/tc-a29k.c (s_use): Take ignored int argument. Only
|
9410 |
|
|
define if OBJ_COFF is not defined.
|
9411 |
|
|
* config/tc-i386.c: (fits_in_signed_byte, smallest_imm_type): Make
|
9412 |
|
|
argument signed again.
|
9413 |
|
|
* config/tc-m68k.c (s_bss, s_even, s_proc): Take ignored int
|
9414 |
|
|
argument.
|
9415 |
|
|
(m68k_ip): Fully bracket initialization of archs.
|
9416 |
|
|
Correct several formats for __LINE__ to be %d rather than %s.
|
9417 |
|
|
(init_table): Fully bracket initialization.
|
9418 |
|
|
Cast values larger than 0x7f assigned to fr_opcode to char.
|
9419 |
|
|
|
9420 |
|
|
* subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.
|
9421 |
|
|
Wrote non-BFD_ASSEMBLER subseg_new. Now subseg_new always takes a
|
9422 |
|
|
section name, and subseg_set always takes a segT. Changed all
|
9423 |
|
|
callers as appropriate.
|
9424 |
|
|
* config/obj-coffbfd.c (change_to_section): Renamed to
|
9425 |
|
|
obj_coff_add_segment. Corrected. Made callers use subseg_new.
|
9426 |
|
|
* config/obj-coffbfd.h (obj_segment_name, obj_add_segment):
|
9427 |
|
|
Define.
|
9428 |
|
|
|
9429 |
|
|
Mon Sep 13 13:15:03 1993 Doug Evans (dje@canuck.cygnus.com)
|
9430 |
|
|
|
9431 |
|
|
* config/tc-sparc.h (LOCAL_LABEL): Remove test for name[0] == 'L'.
|
9432 |
|
|
|
9433 |
|
|
Fri Sep 10 11:22:08 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9434 |
|
|
|
9435 |
|
|
* config/obj-elf.h (S_SET_SIZE): Actually set the size.
|
9436 |
|
|
|
9437 |
|
|
Gcc lint.
|
9438 |
|
|
* Added a number of casts to function calls.
|
9439 |
|
|
* app.c (do_scrub_begin), as.c (main), expr.c (integer_constant,
|
9440 |
|
|
operand, expr), read.c (read_begin, HANDLE_CONDITIONAL_ASSEMBLY,
|
9441 |
|
|
read_a_source_file, s_align_bytes, demand_empty_rest_of_line,
|
9442 |
|
|
ignore_rest_of_line, big_cons, is_it_end_of_statement, s_ignore),
|
9443 |
|
|
read.h (is_name_beginner, is_part_of_name), config/obj-elf.c
|
9444 |
|
|
(obj_elf_section), config/tc-i386.c (parse_register),
|
9445 |
|
|
config/tc-sparc.c (isoctal, s_proc): Cast char
|
9446 |
|
|
array indices to unsigned char.
|
9447 |
|
|
* app.c (process_escape): Make static. Add prototype. Change
|
9448 |
|
|
argument from char to int.
|
9449 |
|
|
* as.c: Include output-file.h for prototypes. Comment out unused
|
9450 |
|
|
function got_sig.
|
9451 |
|
|
* Makefile.in (as.o): Depend on output-file.h.
|
9452 |
|
|
* as.h (BAD_CASE): Cast val argument to long, and use %ld.
|
9453 |
|
|
(pseudo_typeS): Add prototype to poc_handler field.
|
9454 |
|
|
(print_version_id): Add prototype.
|
9455 |
|
|
(xmalloc, xrealloc): Change size arguments to unsigned long.
|
9456 |
|
|
(do_scrub_next_char): Add prototypes for function arguments.
|
9457 |
|
|
(had_errors, had_warnings, scrub_from_file): Remove duplicate
|
9458 |
|
|
declarations.
|
9459 |
|
|
* atof-generic.c (atof_generic): Make size variables unsigned.
|
9460 |
|
|
* cond.c (ignore_input): Removed unused local variable ptr.
|
9461 |
|
|
* expr.c (floating_constant, integer_constant): Make static. Add
|
9462 |
|
|
prototypes.
|
9463 |
|
|
* flonum-copy.c (flonum_copy): Make size variables unsigned.
|
9464 |
|
|
* frags.h: Add prototype for frag_init.
|
9465 |
|
|
* hash.h, hash.c: Change hash values from char * to PTR, make hash
|
9466 |
|
|
strings const, make returned error strings const char *. Added
|
9467 |
|
|
prototypes for functions.
|
9468 |
|
|
* input-file.h, input-file.c (input_file_buffer_size): Return
|
9469 |
|
|
unsigned int.
|
9470 |
|
|
* input-scrub.c (buffer_length): Make unsigned.
|
9471 |
|
|
(input_scrub_push, input_scrub_pop): Make static.
|
9472 |
|
|
* listing.c (list_symbol_table): Cast sprintf argument to unsigned
|
9473 |
|
|
long and use %lx. Print name of segment rather than address of
|
9474 |
|
|
structure.
|
9475 |
|
|
(listing_list, listing_title): Change argument to int.
|
9476 |
|
|
(listing_eject, listing_flags, listing_psize): Add int argument.
|
9477 |
|
|
* listing.h: Corresponding declaration changes.
|
9478 |
|
|
* obj.h (obj_emit_symbols): Rename prototype argument to avoid
|
9479 |
|
|
shadowing.
|
9480 |
|
|
* read.h: Change get_absolute_expression prototype to return
|
9481 |
|
|
offsetT. Add prototype for next_char_of_string. Various
|
9482 |
|
|
prototype changes.
|
9483 |
|
|
* read.c: Remove prototype for next_char_of_string.
|
9484 |
|
|
(pobegin): Make errtxt const. Make new_length, tmp_len and num
|
9485 |
|
|
unsigned.
|
9486 |
|
|
(s_abort, s_align_ptwo, s_comm, s_data, s_app_line, s_fill,
|
9487 |
|
|
s_globl, s_lsym, s_org, s_set, s_text, s_desc): Add int argument.
|
9488 |
|
|
Change all callers.
|
9489 |
|
|
(s_comm): Change temp from valueT to offsetT. Cast to long when
|
9490 |
|
|
printing and use %ld (only for error messages anyhow).
|
9491 |
|
|
(s_long, s_int): Remove unused functions.
|
9492 |
|
|
(cons): Change argument to int.
|
9493 |
|
|
(emit_expr): Use %lx when printing longs.
|
9494 |
|
|
(get_absolute_expression): Return offsetT, not long.
|
9495 |
|
|
(get_stab_string_offset): Comment out unless
|
9496 |
|
|
SEPARATE_STAB_SECTIONS.
|
9497 |
|
|
(s_stab_generic): Remove unused offset. Define seg_is_new only
|
9498 |
|
|
if SEPARATE_STAB_SECTIONS. Use toP only in local block.
|
9499 |
|
|
* struc-symbol.h (verify_symbol_chain_2): Add prototype.
|
9500 |
|
|
* symbols.c: Remove nested comment.
|
9501 |
|
|
(symbol_new): Rename value to valu.
|
9502 |
|
|
(colon): Use %ld and cast to long in error message.
|
9503 |
|
|
* symbols.h: Remove duplicate verify_symbol_chain declaration.
|
9504 |
|
|
* tc.h: Remove unused md_emit_relocations declaration.
|
9505 |
|
|
(tc_gen_reloc): Add declaration.
|
9506 |
|
|
* write.c (cvt_frag_to_fill): Change first argument name depending
|
9507 |
|
|
on BFD_ASSEMBLER.
|
9508 |
|
|
(write_relocs): Remove unused offset, frags. Remove tc_gen_reloc
|
9509 |
|
|
declarations. Make n unsigned.
|
9510 |
|
|
(write_contents): Remove unused i, n, relocs, fixp. Rename frags
|
9511 |
|
|
to f to avoid shadowing.
|
9512 |
|
|
(write_object_file): Define fragP only if not BFD_ASSEMBLER or not
|
9513 |
|
|
WORKING_DOT_WORD. Remove unused keep. Only declare punt and
|
9514 |
|
|
punt_it if they will be used. Make i and n unsigned.
|
9515 |
|
|
(fixup_segment): Cast to long and use %ld in error message.
|
9516 |
|
|
* xmalloc.c (xmalloc, xrealloc): Make size argument unsigned.
|
9517 |
|
|
* config/obj-aout.h: Remove nested comment. Add prototype for
|
9518 |
|
|
obj_aout_frob_symbol.
|
9519 |
|
|
(obj_aout_line, obj_aout_desc): Add int argument.
|
9520 |
|
|
* config/obj-ecoff.c: Changed build routines to use an unsigned
|
9521 |
|
|
offset.
|
9522 |
|
|
(add_string): Make len unsigned long.
|
9523 |
|
|
(obj_ecoff_stab): Use %lu in error message.
|
9524 |
|
|
* config/obj-elf.c (obj_elf_common): Comment out unused label
|
9525 |
|
|
allocate_bss.
|
9526 |
|
|
(obj_elf_frob_symbol): Return 0 (currently broken).
|
9527 |
|
|
(obj_elf_desc, obj_elf_version, obj_elf_size, obj_elf_type,
|
9528 |
|
|
obj_elf_ident, obj_elf_weak, obj_elf_local, obj_elf_common,
|
9529 |
|
|
obj_elf_line, obj_elf_previous): Add int argument.
|
9530 |
|
|
(obj_elf_write_symbol_p): Make static.
|
9531 |
|
|
* config/obj-elf.h (obj_elf_write_symbol): Add prototype.
|
9532 |
|
|
* config/tc-hppa.h: Remove declarations of functions declared in
|
9533 |
|
|
read.h.
|
9534 |
|
|
* config/tc-i386.c (ENCODE_RELAX_STATE): Cast to relax_substateT.
|
9535 |
|
|
(s_bss): Add int argument.
|
9536 |
|
|
(fits_in_signed_byte, smallest_imm_type): Make argument unsigned.
|
9537 |
|
|
(dummy): Remove unused function.
|
9538 |
|
|
(md_assemble): Rename local o to op to avoid shadowing.
|
9539 |
|
|
(tc_gen_reloc): Rename local reloc to rel to avoid shadowing.
|
9540 |
|
|
* config/tc-m68k.c (s_data1, s_data2): Add int argument.
|
9541 |
|
|
* config/tc-mips.c (mips_ip, md_apply_fix): Cast to long and use
|
9542 |
|
|
%ld in error messages.
|
9543 |
|
|
* config/tc-sparc.c: Remove duplicate declarations.
|
9544 |
|
|
(getExpression): Rewrite condition to avoid empty conditional
|
9545 |
|
|
body.
|
9546 |
|
|
(s_reg, s_proc, s_reserve, s_common, s_seg, s_xword): Add int
|
9547 |
|
|
argument.
|
9548 |
|
|
|
9549 |
|
|
Thu Sep 9 17:10:00 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9550 |
|
|
|
9551 |
|
|
Changes from Jeff Law:
|
9552 |
|
|
|
9553 |
|
|
* config/tc-hppa.c (md_assemble): Fix typo.
|
9554 |
|
|
(pa_ip): Delete unused variables and labels. Do not check for
|
9555 |
|
|
unsigned values being < 0, it can't happen.
|
9556 |
|
|
(is_same_frag): Return a value in recursive call case.
|
9557 |
|
|
(pa_callinfo): Delete unused variables and labels.
|
9558 |
|
|
(pa_comm): Likewise.
|
9559 |
|
|
(pa_copyright): Likewise.
|
9560 |
|
|
(pa_export): Likewise.
|
9561 |
|
|
(pa_import): Likewise.
|
9562 |
|
|
(pa_param): Likewise.
|
9563 |
|
|
(pa_space): Likewise.
|
9564 |
|
|
(pa_subspace): Likewise.
|
9565 |
|
|
|
9566 |
|
|
Thu Sep 9 15:05:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9567 |
|
|
|
9568 |
|
|
* read.c (get_stab_string_offset, s_stab_generic): If
|
9569 |
|
|
BFD_ASSEMBLER, call subseg_set rather than subseg_new.
|
9570 |
|
|
|
9571 |
|
|
Wed Sep 8 15:09:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9572 |
|
|
|
9573 |
|
|
* config/obj-elf.c (obj_elf_section): Set SEC_LOAD when using
|
9574 |
|
|
default flag values.
|
9575 |
|
|
|
9576 |
|
|
Tue Sep 7 10:22:52 1993 Stan Shebs (shebs@rtl.cygnus.com)
|
9577 |
|
|
|
9578 |
|
|
* read.c: (change_to_section): Don't include body if not MANY_SECTIONS.
|
9579 |
|
|
|
9580 |
|
|
* read.c: (s_stab, s_xstab, s_desc): New functions to parse
|
9581 |
|
|
various stab-related directives.
|
9582 |
|
|
* read.h: (s_stab, s_xstab, s_desc): New function prototypes.
|
9583 |
|
|
* write.c: (merge_data_into_text): Fix ifdef tangle.
|
9584 |
|
|
* config/obj-coffbfd.c (current_stab_symbol): Fake symbol
|
9585 |
|
|
for stab reader to use.
|
9586 |
|
|
* config/obj-coffbfdh.h (obj_symbol_type): Added fields for
|
9587 |
|
|
stab reader, macros to access.
|
9588 |
|
|
|
9589 |
|
|
Fri Sep 3 16:44:03 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9590 |
|
|
|
9591 |
|
|
* config/obj-elf.h (elf_symbol): No longer special-cased on
|
9592 |
|
|
sparcv9, since elf_symbol_type is now independent of size.
|
9593 |
|
|
|
9594 |
|
|
* config/obj-elf.h (elf_symbol): Fixed name of elf_symbol_type.
|
9595 |
|
|
|
9596 |
|
|
* config/tc-hppa.h (struct default_subspace_dict, struct
|
9597 |
|
|
default_space_dict): Field "sort" is now unsigned char.
|
9598 |
|
|
|
9599 |
|
|
* config/tc-hppa.c (pa_def_subspaces, pa_def_spaces): Align
|
9600 |
|
|
columns for easier reading.
|
9601 |
|
|
(bcmp, index): Deleted USG-specific definitions. Should be dealt
|
9602 |
|
|
with in ho-*.h, or in libiberty. Changed mention of index to
|
9603 |
|
|
strchr.
|
9604 |
|
|
(label_symbolP, label_symbol_defined, callinfo_found,
|
9605 |
|
|
within_entry_exit, exit_processing_complete, within_procedure,
|
9606 |
|
|
pa_def_subspaces, pa_def_spaces, pa_pseudo_op_moves_pc,
|
9607 |
|
|
label_symbols_rootP, pa_get_label, pa_label_is_defined,
|
9608 |
|
|
pa_undefine_label): Now static.
|
9609 |
|
|
(movers): Now const, in addition to pointing to const data.
|
9610 |
|
|
* config/tc-hppa.h (label_symbolS_rootP, pa_get_label,
|
9611 |
|
|
pa_label_is_defined, pa_undefine_label, pa_pseudo_op_moves_pc):
|
9612 |
|
|
Delete declarations.
|
9613 |
|
|
|
9614 |
|
|
Merged more changes from Jeff Law and Pete Hoogenboom:
|
9615 |
|
|
|
9616 |
|
|
* config/tc-hppa.c (pa_def_subspaces, pa_def_subspaces): Remove
|
9617 |
|
|
entries for .stab and .stabstr.
|
9618 |
|
|
|
9619 |
|
|
* config/obj-elf.c: (elf_stab_symbol_string): Set the
|
9620 |
|
|
SEC_LOAD attribute for the .stabstr section.
|
9621 |
|
|
(obj_elf_stab_generic): Set the SEC_LOAD attribute for the
|
9622 |
|
|
.stab section.
|
9623 |
|
|
(obj_elf_stab_generic): Change '#if 1' to '#if 0'.
|
9624 |
|
|
(obj_elf_stab_generic): Incorrect byte count on call to
|
9625 |
|
|
md_number_to_chars function.
|
9626 |
|
|
|
9627 |
|
|
* config/tc-hppa.c (hppa_tc_symbol): Static functions need
|
9628 |
|
|
argument relocation bits too.
|
9629 |
|
|
|
9630 |
|
|
* config/tc-hppa.c (pa_stringer): Correctly handle escaping
|
9631 |
|
|
characters which should appear unaltered in the output string (for
|
9632 |
|
|
example an escaped double-quote).
|
9633 |
|
|
|
9634 |
|
|
* config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Always
|
9635 |
|
|
initialize name.
|
9636 |
|
|
(pa_parse_neg_cmpsub_cmpltr): Likewise.
|
9637 |
|
|
(pa_parse_nonneg_add_cmpltr): Likewise.
|
9638 |
|
|
(pa_parse_neg_add_cmpltr): Likewise.
|
9639 |
|
|
|
9640 |
|
|
* config/tc-hppa.h (parse_cons_expression_hppa): Remove prototype
|
9641 |
|
|
for now.
|
9642 |
|
|
(cons_fix_new_hppa): Likewise.
|
9643 |
|
|
* config/tc-hppa.c (md_apply_fix): Fix type of valp to match
|
9644 |
|
|
prototype.
|
9645 |
|
|
|
9646 |
|
|
* config/tc-hppa.c: Include libhppa.h.
|
9647 |
|
|
|
9648 |
|
|
* config/tc-hppa.h: Delete extern declarations of functions
|
9649 |
|
|
found in libhppa.h.
|
9650 |
|
|
|
9651 |
|
|
* config/tc-hppa.c (pa_space): Rework to avoid unwanted #ifdef
|
9652 |
|
|
OBJ_ELF conditionals.
|
9653 |
|
|
* config/tc-hppa.h (LOCAL_LABEL): Correctly identify local labels
|
9654 |
|
|
on the PA.
|
9655 |
|
|
|
9656 |
|
|
Thu Sep 2 10:43:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9657 |
|
|
|
9658 |
|
|
* config/tc-mips.c (macro_build): Accept 'z', and ignore it.
|
9659 |
|
|
(macro): Use "z,s,t" for div instructions to match corresponding
|
9660 |
|
|
change in opcode table.
|
9661 |
|
|
(mips_ip): Added 'z'--must be zero register.
|
9662 |
|
|
|
9663 |
|
|
Wed Sep 1 15:56:42 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9664 |
|
|
|
9665 |
|
|
* write.c (write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare
|
9666 |
|
|
tc_gen_reloc correctly.
|
9667 |
|
|
|
9668 |
|
|
* configure.in: Use "case" instead of "if" when possible. Rewrote
|
9669 |
|
|
Makefile editing to reduce work done. Treat "hppa*" as "hppa".
|
9670 |
|
|
|
9671 |
|
|
Wed Sep 1 12:19:07 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
9672 |
|
|
|
9673 |
|
|
* config/obj-coffbfd.c (obj_coff_section): add 'd' as an alias for
|
9674 |
|
|
section type of data. 'd' seems to be used for m88k.
|
9675 |
|
|
|
9676 |
|
|
Wed Aug 25 22:33:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9677 |
|
|
|
9678 |
|
|
* config/tc-mips.c (mips_align, s_stringer, s_cons, s_float_cons,
|
9679 |
|
|
s_mips_space): Set insn_label to NULL to avoid changing it at the
|
9680 |
|
|
next .align statement.
|
9681 |
|
|
(append_insn): Don't swap jal with instruction that sets the
|
9682 |
|
|
register that jal sets.
|
9683 |
|
|
|
9684 |
|
|
Wed Aug 25 16:15:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
9685 |
|
|
|
9686 |
|
|
* configure.in: recognize m88110.
|
9687 |
|
|
|
9688 |
|
|
Wed Aug 25 13:37:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9689 |
|
|
|
9690 |
|
|
Merged changes from Pete Hoogenboom and Jeff Law at Utah:
|
9691 |
|
|
* config/tc-hppa.c (pa_build_unwind_subspace): SEC_ALLOC should
|
9692 |
|
|
not be on for .hppa_unwind.
|
9693 |
|
|
(md_pseudo_table): .PARAM and .param are valid pseudo-ops for GAS.
|
9694 |
|
|
(pa_param): New function to handle .PARAM directives.
|
9695 |
|
|
(pa_ip): Pass "isbranch" argument down to pa_parse_*_compltr
|
9696 |
|
|
functions. Handle '|' for movb; allow movb,n.
|
9697 |
|
|
(pa_parse_nonneg_cmpsub_cmpltr): Delete old useless
|
9698 |
|
|
version. Handle cases where no completer exists for
|
9699 |
|
|
comb,n or addb,n.
|
9700 |
|
|
(pa_parse_neg_cmpsub_cmpltr): Handle cases where no
|
9701 |
|
|
completer exists for comb,n or addb,n. Make logic
|
9702 |
|
|
mirror that of pa_parse_nonneg_cmpsub_cmpltr.
|
9703 |
|
|
(pa_parse_nonneg_add_cmpltr): Likewise.
|
9704 |
|
|
(pa_parse_neg_add_cmpltr): Likewise.
|
9705 |
|
|
* config/tc-hppa.h (pa_param): Declare.
|
9706 |
|
|
|
9707 |
|
|
Tue Aug 24 15:41:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9708 |
|
|
|
9709 |
|
|
* config/tc-hppa.c (hppa_tc_make_symextn_section): Now static.
|
9710 |
|
|
Added forward declaration.
|
9711 |
|
|
|
9712 |
|
|
Merged changes from Pete Hoogenboom and Jeff Law at Utah:
|
9713 |
|
|
|
9714 |
|
|
* config/obj-elf.c (elf_frob_file): Arguments were incorrect on
|
9715 |
|
|
call to elf_tc_make_sections.
|
9716 |
|
|
(obj_elf_version): A .note section shouldn't have the SEC_ALLOC
|
9717 |
|
|
attribute.
|
9718 |
|
|
|
9719 |
|
|
* config/tc-hppa.c (hppa_tc_make_sections): Add some processing to
|
9720 |
|
|
handle symbol extension sections.
|
9721 |
|
|
|
9722 |
|
|
* config/tc-hppa.c (pa_build_symextn_section): New function to
|
9723 |
|
|
create a symbol extension section.
|
9724 |
|
|
(pa_export_args): Make call to pa_build_symextn_section.
|
9725 |
|
|
(hppa_tc_symbol, hppa_tc_make_sections,
|
9726 |
|
|
hppa_tc_make_symextn_section): New functions.
|
9727 |
|
|
* config/tc-hppa.h: Update elf_tc_symbol and elf_tc_make_sections
|
9728 |
|
|
macros.
|
9729 |
|
|
|
9730 |
|
|
* read.c (emit_expr): Place check for TC_CONS_FIX_NEW in the
|
9731 |
|
|
BFD_ASSEMBLER branch as well.
|
9732 |
|
|
|
9733 |
|
|
* config/tc-hppa.h: If ELF is the target object format, define
|
9734 |
|
|
some ELF- and hppa-specific types and constants.
|
9735 |
|
|
|
9736 |
|
|
* config/tc-hppa.c (getExpression): Fix a typo.
|
9737 |
|
|
|
9738 |
|
|
* read.c (read_a_source_file): Use TC_EQUAL_IN_INSN to determine
|
9739 |
|
|
if a `=' is part of an instruction.
|
9740 |
|
|
(read_a_source_file): Handle case where end-of-line markers are
|
9741 |
|
|
also used within instructions.
|
9742 |
|
|
* config/tc-hppa.h (TC_EQUAL_IN_INSN, TC_EOL_IN_INSN): Define.
|
9743 |
|
|
|
9744 |
|
|
* config/tc-hppa.c (md_apply_fix_1): Keep relocations for
|
9745 |
|
|
out-of-range branches/'calls using "bl" or calls which may need
|
9746 |
|
|
argument relocation stubs. Do not need/keep relocations for
|
9747 |
|
|
conditional branches.
|
9748 |
|
|
(elf_hppa_final_processing): Fix calculation of function size.
|
9749 |
|
|
|
9750 |
|
|
* config/obj-elf.c (obj_elf_version): Mark .note section as
|
9751 |
|
|
READONLY.
|
9752 |
|
|
|
9753 |
|
|
* config/tc-hppa.c (parse_cons_expression_hppa): Pass exp, not the
|
9754 |
|
|
address of exp, to expression.
|
9755 |
|
|
(pa_build_unwind_subspace): Turn SEC_HAS_CONTENTS flag on.
|
9756 |
|
|
(md_apply_fix_1): Delete unwanted comments.
|
9757 |
|
|
(process_exit): Symbols marking the end of a function are always
|
9758 |
|
|
BSF_LOCAL.
|
9759 |
|
|
|
9760 |
|
|
* config/tc-hppa.c: Include elf32-hppa.h from BFD tree.
|
9761 |
|
|
(pa_space): Declare and initialize gdb_section.
|
9762 |
|
|
|
9763 |
|
|
* config/obj-elf.c (elf_frob_file): Change
|
9764 |
|
|
elf_tc_final_processing_hook to elf_tc_final_processing.
|
9765 |
|
|
|
9766 |
|
|
* config/tc-hppa.c (fix_new_hppa): Fix argument list to match
|
9767 |
|
|
argument type declarations.
|
9768 |
|
|
(getExpression): Fix typo.
|
9769 |
|
|
(pa_export_args): Change elf_symbol_type to elf32_symbol_type.
|
9770 |
|
|
(elf_hppa_final_processing): Likewise. Name changed from
|
9771 |
|
|
elf_hppa_final_processing_hook.
|
9772 |
|
|
(start_symbol_root, start_symbol_last): Deleted.
|
9773 |
|
|
|
9774 |
|
|
* config/tc-hppa.h (TC_PARSE_CONS_EXPRESSION): Fix typo.
|
9775 |
|
|
|
9776 |
|
|
* config/tc-hppa.h: Replace "symbolS" with "struct symbol" to
|
9777 |
|
|
avoid changing include ordering.
|
9778 |
|
|
|
9779 |
|
|
* config/tc-hppa.c (pa_ip, case 'y'): Handle just like 't'.
|
9780 |
|
|
|
9781 |
|
|
Mon Aug 23 12:47:58 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9782 |
|
|
|
9783 |
|
|
* config/tc-mips.c (set_at): Added unsignedp argument. Use
|
9784 |
|
|
load_register.
|
9785 |
|
|
(set_at_unsigned): Removed; changed callers to use set_at.
|
9786 |
|
|
(load_register): Removed unused ip argument. Changed callers.
|
9787 |
|
|
(append_insn): Don't swap branch and branch likely.
|
9788 |
|
|
(macro_build): Handle 'u'.
|
9789 |
|
|
(load_register): Handle 64 bit constants.
|
9790 |
|
|
(macro): Added M_DABS, removed M_ABSU. Numerous changes to
|
9791 |
|
|
support 64 bit constants.
|
9792 |
|
|
(mips_ip): Use hex constants in range checks for clarity.
|
9793 |
|
|
(md_number_to_chars): Support 8 byte values.
|
9794 |
|
|
|
9795 |
|
|
Fri Aug 20 16:50:59 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
9796 |
|
|
|
9797 |
|
|
* config/tc-m88k.h: updated copyrights.
|
9798 |
|
|
(TC_CONS_RELOC): declare to be RELOC_32.
|
9799 |
|
|
|
9800 |
|
|
Fri Aug 20 11:16:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9801 |
|
|
|
9802 |
|
|
* config/tc-mips.c (mips_isa): New static variable.
|
9803 |
|
|
(md_begin): Initialize mips_isa based on TARGET_CPU. Don't sanity
|
9804 |
|
|
check macros. Set text alignment and GP size here.
|
9805 |
|
|
(md_assemble): Don't set text alignment and GP size here.
|
9806 |
|
|
(append_insn): Don't insert NOPs for load delays if mips_isa >= 2.
|
9807 |
|
|
Use the right mask and shift for WRITE_FPR_T and WRITE_FPR_S. Add
|
9808 |
|
|
a NOP after a branch likely.
|
9809 |
|
|
(mips_emit_delays): Don't insert NOPS for load delays if mips_isa
|
9810 |
|
|
>= 2.
|
9811 |
|
|
(macro): Support r6000 and r4000 macros.
|
9812 |
|
|
(mips_ip): Check insn ISA level against mips_isa before using it.
|
9813 |
|
|
Added 'x' case for ignored register.
|
9814 |
|
|
(md_parse_option): Handle -mipsN and -mcpu=XX.
|
9815 |
|
|
|
9816 |
|
|
Fri Aug 20 01:26:52 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9817 |
|
|
|
9818 |
|
|
* config/tc-i386.c (md_pseudo_table) [OBJ_ELF]: Handle ".zero".
|
9819 |
|
|
|
9820 |
|
|
Thu Aug 19 12:15:18 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9821 |
|
|
|
9822 |
|
|
* config/tc-sparc.c (s_local): Function moved and renamed...
|
9823 |
|
|
* config/obj-elf.c (obj_elf_local): ...to here.
|
9824 |
|
|
* config/tc-sparc.c (md_pseudo_table), config/obj-elf.c
|
9825 |
|
|
(obj_pseudo_table): Move handling of ".local".
|
9826 |
|
|
|
9827 |
|
|
* tc.h (md_parse_option): Don't declare if defined as a macro.
|
9828 |
|
|
|
9829 |
|
|
* config/tc-i386.h (NO_RELOC) [BFD_ASSEMBLER]: Define as
|
9830 |
|
|
BFD_RELOC_NONE.
|
9831 |
|
|
(md_parse_option): New macro, converted from function.
|
9832 |
|
|
* config/tc-i386.c (md_parse_option): Function deleted.
|
9833 |
|
|
(comment_chars) [OBJ_ELF]: Include "/".
|
9834 |
|
|
(line_comment_chars) [OBJ_ELF || TE_I386AIX]: Don't include "/".
|
9835 |
|
|
(md_assemble): Cast 0xe9 to char explicitly, to avoid compiler
|
9836 |
|
|
warning.
|
9837 |
|
|
(md_assemble, md_estimate_size_before_relax, md_create_long_jump):
|
9838 |
|
|
Call reloc for fix_new type, or use correct enumerator, instead of
|
9839 |
|
|
always using NO_RELOC.
|
9840 |
|
|
(i386_operand): Change "ifndef I386COFF" to "ifdef OBJ_AOUT" for
|
9841 |
|
|
tests for valid section.
|
9842 |
|
|
(md_convert_frag) [BFD_ASSEMBLER]: Compensate for frag start
|
9843 |
|
|
address.
|
9844 |
|
|
(md_apply_fix_1) [BFD_ASSEMBLER]: For pc-relative reloc with
|
9845 |
|
|
symbol, compensate for location of reloc.
|
9846 |
|
|
(reloc, BFD_RELOC_32, BFD_RELOC_32_PCREL) [!BFD_ASSEMBLER]: Define
|
9847 |
|
|
to return zero.
|
9848 |
|
|
|
9849 |
|
|
Wed Aug 18 16:51:29 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9850 |
|
|
|
9851 |
|
|
* config/obj-elf.c: Undef NO_RELOC before including aout/aout64.h.
|
9852 |
|
|
(obj_elf_weak): New function.
|
9853 |
|
|
(obj_pseudo_table): Handle ".weak".
|
9854 |
|
|
(obj_elf_section): If section directive includes a string, ignore
|
9855 |
|
|
it for now. Accept "progbits" flag.
|
9856 |
|
|
(obj_elf_type): Accept `@' before flag name.
|
9857 |
|
|
|
9858 |
|
|
* write.c (relax_and_size_seg) [BFD_ASSEMBLER]: Get rid of `if(1)'
|
9859 |
|
|
condition.
|
9860 |
|
|
(fixup_segment) [BFD_ASSEMBLER]: Use bfd_is_com_section, rather
|
9861 |
|
|
than checking for bfd_com_section directly.
|
9862 |
|
|
(fixup_segment): Simplify range check.
|
9863 |
|
|
(fixup_segment) [OBJ_COFF && TC_I960]: Simplify cpp condition
|
9864 |
|
|
test.
|
9865 |
|
|
|
9866 |
|
|
* symbols.h (S_SET_WEAK): Declare.
|
9867 |
|
|
* symbols.c (S_SET_WEAK): New function.
|
9868 |
|
|
(S_SET_EXTERNAL, S_CLEAR_EXTERNAL): Don't bother with BSF_EXPORT,
|
9869 |
|
|
it's not a separate flag any more. Clear BSF_WEAK.
|
9870 |
|
|
|
9871 |
|
|
* read.c (potable): Treat "string" like "asciz".
|
9872 |
|
|
|
9873 |
|
|
Wed Aug 18 15:30:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9874 |
|
|
|
9875 |
|
|
* config/tc-mips.c (append_insn): Don't swap branch instructions
|
9876 |
|
|
if .set nobopt or .set volatile.
|
9877 |
|
|
(gp_reference): .lit8 and .lit4 are accessed via the GP register.
|
9878 |
|
|
(macro): Added cases M_LI_S, M_LI_SS. Fixed M_LI_D and M_LI_DD.
|
9879 |
|
|
(mips_ip): Added cases 'F', 'L', 'f', 'l' for floating point.
|
9880 |
|
|
* config/obj-ecoff.c: Renamed some variables to avoid shadow
|
9881 |
|
|
warnings.
|
9882 |
|
|
|
9883 |
|
|
Mon Aug 16 14:16:02 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
|
9884 |
|
|
|
9885 |
|
|
* config/obj-coff.h (S_IS_COMMON): add missing backslash
|
9886 |
|
|
|
9887 |
|
|
* configure.in (z8k-*-{coff,sim}): use coffbfd for this target
|
9888 |
|
|
|
9889 |
|
|
Thu Aug 12 11:47:58 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9890 |
|
|
|
9891 |
|
|
* config/tc-mips.c (mips_ip): Suggested by
|
9892 |
|
|
davidj@ICSI.Berkeley.EDU (David Johnson): Don't accept symbolic
|
9893 |
|
|
names for 'E' and 'G' argument types (coprocessor registers) and
|
9894 |
|
|
don't warn if $1 is used on the coprocessor.
|
9895 |
|
|
(macro): Handle M_{L,S}WC{0,2,3}_AB correctly.
|
9896 |
|
|
|
9897 |
|
|
Mon Aug 9 12:09:14 1993 Doug Evans (dje@canuck.cygnus.com)
|
9898 |
|
|
|
9899 |
|
|
* read.c (emit_expr): Use BFD_RELOC_16 for 2-byte values.
|
9900 |
|
|
* config/tc-sparc.c (md_apply_fix, tc_gen_reloc): Handle
|
9901 |
|
|
BFD_RELOC_16.
|
9902 |
|
|
* config/tc-sparc.h (WORKING_DOT_WORD): Define.
|
9903 |
|
|
|
9904 |
|
|
Mon Aug 9 13:36:22 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9905 |
|
|
|
9906 |
|
|
* write.c (merge_data_into_text): Define only if BFD_ASSEMBLER is
|
9907 |
|
|
defined or BFD is not.
|
9908 |
|
|
(relax_and_size_all_segments): Declare local variable fragP.
|
9909 |
|
|
|
9910 |
|
|
Fri Aug 6 15:22:53 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9911 |
|
|
|
9912 |
|
|
* config/tc-sparc.c (md_apply_fix, case BFD_RELOC_32): Fill in
|
9913 |
|
|
bytes with real values, not zeros.
|
9914 |
|
|
|
9915 |
|
|
Fri Aug 6 10:57:59 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9916 |
|
|
|
9917 |
|
|
* configure.in (mips-*-riscos*, mips-*-sysv*): New (untested)
|
9918 |
|
|
targets, using ecoff and mips-big.
|
9919 |
|
|
|
9920 |
|
|
* config/tc-mips.c (mips_ip): From davidj@ICSI.Berkeley.EDU (David
|
9921 |
|
|
Johnson): Added case for 'C' for coprocessor instruction codes.
|
9922 |
|
|
|
9923 |
|
|
Thu Aug 5 13:08:56 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9924 |
|
|
|
9925 |
|
|
* config/tc-sparc.c (md_apply_fix, case BFD_RELOC_64): Fill in
|
9926 |
|
|
bytes with real values, not zeros.
|
9927 |
|
|
(md_pseudo_table): Call cons for .uaxword.
|
9928 |
|
|
|
9929 |
|
|
* config/obj-elf.c (obj_pseudo_table): Handle ".8byte".
|
9930 |
|
|
|
9931 |
|
|
* read.c (emit_expr): Use BFD_RELOC_64 for 8-byte expressions.
|
9932 |
|
|
|
9933 |
|
|
* write.c (write_object_file): Test DEBUG_SYMS instead of DEBUG
|
9934 |
|
|
for verifying symbol chain.
|
9935 |
|
|
(merge_data_into_text, relax_and_size_all_segments): New
|
9936 |
|
|
functions, split out from write_object_file.
|
9937 |
|
|
|
9938 |
|
|
Tue Aug 3 15:43:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9939 |
|
|
|
9940 |
|
|
* config/obj-elf.c (obj_elf_stab_generic, in disabled code): If
|
9941 |
|
|
debug section is new, allocate an extra 12 bytes at its start. If
|
9942 |
|
|
".stabs" type is N_SO, fill in filename symbol field of that first
|
9943 |
|
|
entry. Return early if "goof", to simplify later code slightly.
|
9944 |
|
|
(adjust_stab_sections): New function.
|
9945 |
|
|
(elf_frob_file): Apply adjust_stab_sections to each section.
|
9946 |
|
|
|
9947 |
|
|
* config/obj-elf.c (obj_elf_section, obj_elf_previous): No longer
|
9948 |
|
|
static.
|
9949 |
|
|
* config/obj-elf.h (obj_elf_section, obj_elf_previous): Declare.
|
9950 |
|
|
* config/tc-sparc.c (md_pseudo_table): Call them for "pushsection"
|
9951 |
|
|
and "popsection", and call cons for "uaword" and "uahalf".
|
9952 |
|
|
|
9953 |
|
|
* config/obj-elf.c (obj_elf_version): Use English in error
|
9954 |
|
|
messages.
|
9955 |
|
|
|
9956 |
|
|
Tue Aug 3 11:29:06 1993 Ian Lance Taylor (ian@cygnus.com)
|
9957 |
|
|
|
9958 |
|
|
* config/obj-ecoff.c: Updated for BFD ECOFF changes. Now gets the
|
9959 |
|
|
swapping routines and external structure sizes via the
|
9960 |
|
|
ecoff_backend information. No longer includes coff/mips.h.
|
9961 |
|
|
|
9962 |
|
|
Mon Aug 2 17:35:48 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
9963 |
|
|
|
9964 |
|
|
* config/obj-ecoff.c (get_tag): Save tag name in permanent memory
|
9965 |
|
|
and in hash_ptr->string.
|
9966 |
|
|
|
9967 |
|
|
* app.c (do_scrub_next_char): Reset state to 0 after .appline if
|
9968 |
|
|
file name is not seen.
|
9969 |
|
|
|
9970 |
|
|
Mon Aug 2 11:51:41 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9971 |
|
|
|
9972 |
|
|
* config/tc-sparc.c (md_apply_fix, case BFD_RELOC_64): New case,
|
9973 |
|
|
parallel to BFD_RELOC_32.
|
9974 |
|
|
(tc_gen_reloc): Accept BFD_RELOC_64.
|
9975 |
|
|
|
9976 |
|
|
Thu Jul 29 22:21:28 1993 Ian Lance Taylor (ian@cygnus.com)
|
9977 |
|
|
|
9978 |
|
|
* write.c: Don't use short int in a prototype.
|
9979 |
|
|
|
9980 |
|
|
* expr.c (operand): Make return value simply depend on contents of
|
9981 |
|
|
returned expression.
|
9982 |
|
|
|
9983 |
|
|
Thu Jul 29 18:38:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
|
9984 |
|
|
|
9985 |
|
|
* configure.in: sparc*-aout and sparc*-vxworks are BFD assemblers
|
9986 |
|
|
|
9987 |
|
|
Thu Jul 29 18:38:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
|
9988 |
|
|
|
9989 |
|
|
* config/ho-sunos.h: remove some old function decls that conflict
|
9990 |
|
|
w/ ANSI, and which weren't needed anyway
|
9991 |
|
|
|
9992 |
|
|
Wed Jul 28 16:34:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
9993 |
|
|
|
9994 |
|
|
* config/obj-elf.h (obj_frob_symbol): Renamed from tc_frob_symbol,
|
9995 |
|
|
and disabled since it breaks Ian's new symbol-value code.
|
9996 |
|
|
|
9997 |
|
|
* expr.c (integer_constant): Accept more digits if BFD64.
|
9998 |
|
|
|
9999 |
|
|
Wed Jul 28 11:30:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
10000 |
|
|
|
10001 |
|
|
* config/tc-m68k.c (m68k_ip): If we have a normal constant when we
|
10002 |
|
|
expect a bignum, turn it into a bignum. Output extra zeroes
|
10003 |
|
|
before a short bignum, rather than after.
|
10004 |
|
|
|
10005 |
|
|
Tue Jul 27 15:54:27 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10006 |
|
|
|
10007 |
|
|
* symbols.c (symbol_new): Conditionalize verify_symbol_chain call
|
10008 |
|
|
on DEBUG_SYMS, not DEBUG.
|
10009 |
|
|
(symbol_remove): Likewise.
|
10010 |
|
|
(symbol_insert): Likewise.
|
10011 |
|
|
|
10012 |
|
|
Tue Jul 27 08:45:05 1993 Ian Lance Taylor (ian@cygnus.com)
|
10013 |
|
|
|
10014 |
|
|
* config/tc-mips.c (mips_optimize): New static variable.
|
10015 |
|
|
(append_insn): If mips_optimize == 0, always insert NOP
|
10016 |
|
|
instructions. If mips_optimize < 2, don't swap branches.
|
10017 |
|
|
(md_parse_option): If -Ox or -gx, set mips_optimize accordingly.
|
10018 |
|
|
|
10019 |
|
|
Mon Jul 26 18:02:43 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
10020 |
|
|
|
10021 |
|
|
* Makefile.in (clean): if testsuite does not exist, then skip it.
|
10022 |
|
|
|
10023 |
|
|
Fri Jul 23 14:13:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
10024 |
|
|
|
10025 |
|
|
* config/tc-mips.c (prev_insn_unreordered,
|
10026 |
|
|
prev_prev_insn_unreordered): New static variables.
|
10027 |
|
|
(append_insn): Don't swap branch instruction if
|
10028 |
|
|
prev_prev_insn_unreordered (see comment).
|
10029 |
|
|
(mips_no_prev_insn): Clear the unreordered variables.
|
10030 |
|
|
(s_mipsset): When turning on reordering, set the unreordered
|
10031 |
|
|
variables.
|
10032 |
|
|
|
10033 |
|
|
Fri Jul 23 13:09:44 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10034 |
|
|
|
10035 |
|
|
* config/obj-elf.c (obj_elf_section): Sections ".init" and ".fini"
|
10036 |
|
|
are also magic, and have special default flag settings.
|
10037 |
|
|
(obj_elf_frob_symbol): Since the return value from this function
|
10038 |
|
|
isn't used, don't bother calling obj_elf_write_symbol_p, since it
|
10039 |
|
|
doesn't accomplish anything else.
|
10040 |
|
|
|
10041 |
|
|
* config/tc-sparc.c (md_section_align): Round up section size only
|
10042 |
|
|
for a.out format.
|
10043 |
|
|
|
10044 |
|
|
* symbols.c: Don't define DEBUG by default.
|
10045 |
|
|
|
10046 |
|
|
Thu Jul 22 12:09:41 1993 Ian Lance Taylor (ian@cygnus.com)
|
10047 |
|
|
|
10048 |
|
|
* write.c (fix_new_exp): Handle a O_uminus expression.
|
10049 |
|
|
|
10050 |
|
|
* expr.c (expr): Don't let absolute_section override
|
10051 |
|
|
undefined_section for the return value.
|
10052 |
|
|
|
10053 |
|
|
* read.c (read_a_source_file): In NO_PSEUDO_DOT case, if we find a
|
10054 |
|
|
pseudo-op with a poc_handler field of NULL, ignore it and treat it
|
10055 |
|
|
as an instruction instead.
|
10056 |
|
|
* config/tc-m88k.c (md_pseudo_table): Add "set" with a NULL
|
10057 |
|
|
poc_handler field.
|
10058 |
|
|
|
10059 |
|
|
* config/tc-h8500.c (md_begin): Use a local variable when
|
10060 |
|
|
initializing md_relax_table to avoid warnings about modifying a
|
10061 |
|
|
supposedly const data structure.
|
10062 |
|
|
|
10063 |
|
|
Thu Jul 22 10:58:51 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
|
10064 |
|
|
|
10065 |
|
|
* config/obj-aout.c: Only include aout/aout64.h if BFD_ASSEMBLER
|
10066 |
|
|
is defined.
|
10067 |
|
|
|
10068 |
|
|
Wed Jul 21 17:32:02 1993 Fred Fish (fnf@deneb.cygnus.com)
|
10069 |
|
|
|
10070 |
|
|
* configure.in (case ${host}): Map *-*-sysv4* to gas_host=sysv.
|
10071 |
|
|
* configure.in (case ${generic_target}): Add i[34]86-*-sysv4*
|
10072 |
|
|
case to set obj_format=elf. Must go before i386-*-sysv* case that
|
10073 |
|
|
sets obj_format=coffbsd. Add *-*-sysv4* to *-*-elf and
|
10074 |
|
|
*-*-solaris case, and move to before *-sysv* case that wants to
|
10075 |
|
|
set obj_format to coff.
|
10076 |
|
|
* config/tc-i386.c (i386_operand): Change all 'exp.X_op' to
|
10077 |
|
|
'exp->X_op'.
|
10078 |
|
|
* config/tc-i386.c (md_apply_fix): Fix valp to be 'valueT *' for
|
10079 |
|
|
BFD_ASSEMBLER case.
|
10080 |
|
|
|
10081 |
|
|
Wed Jul 21 12:47:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
10082 |
|
|
|
10083 |
|
|
* config/obj-aout.c: Include aout/aout64.h.
|
10084 |
|
|
(obj_aout_frob_symbol): Set BSF_DEBUGGING for a constructor
|
10085 |
|
|
symbol, so that BFD doesn't tamper with the type.
|
10086 |
|
|
|
10087 |
|
|
* read.c (read_a_source_file): If NO_PSEUDO_DOT is defined, look
|
10088 |
|
|
up opcodes as pseudo-ops even if they don't start with '.'.
|
10089 |
|
|
* config/tc-m88k.h (NO_PSEUDO_DOT): Define.
|
10090 |
|
|
* config/tc-m88k.c (md_assemble): Removed special pseudo-op
|
10091 |
|
|
handling.
|
10092 |
|
|
(md_apply_fix): Set fx_offset to the upper 16 bits of the reloc.
|
10093 |
|
|
Output the low 16 bits for RELOC_HI16, not the high 16 bits.
|
10094 |
|
|
* config/obj-coffbfd.c (do_relocs_for): If TC_M88K, set the
|
10095 |
|
|
r_offset field of the reloc to the fixup offset.
|
10096 |
|
|
(fixup_segments): If TC_M88K, don't warn about fixup overflows.
|
10097 |
|
|
* doc/as.texinfo: Minor updates.
|
10098 |
|
|
|
10099 |
|
|
Tue Jul 20 19:28:56 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
10100 |
|
|
|
10101 |
|
|
* Extensive changes to permit symbols to contain any expression
|
10102 |
|
|
type and to delay the computation of the expression until the
|
10103 |
|
|
value is actually needed. This permits setting symbols to values
|
10104 |
|
|
calculated based on object code size. Expressions were changed to
|
10105 |
|
|
no longer be in a section, to stop the overloading of segment and
|
10106 |
|
|
expression type that previously occurred.
|
10107 |
|
|
|
10108 |
|
|
* as.c (big_section, pass1_section, diff_section, absent_section):
|
10109 |
|
|
Removed.
|
10110 |
|
|
(expr_section): Added (used for dummy symbols which hold
|
10111 |
|
|
intermediate expression values).
|
10112 |
|
|
(perform_an_assembly_pass): Create expr_section, do not create the
|
10113 |
|
|
sections now removed.
|
10114 |
|
|
* as.h (segT): Removed SEG_ABSENT, SEG_PASS1, SEG_BIG, and
|
10115 |
|
|
SEG_DIFFERENCE. Added SEG_EXPR.
|
10116 |
|
|
(SEG_NORMAL): Corresponding changes.
|
10117 |
|
|
* subsegs.c (seg_name, subsegs_begin): Changed accordingly.
|
10118 |
|
|
* write.c (write_object_file): Ditto.
|
10119 |
|
|
* config/obj-aout.c (seg_N_TYPE): Ditto.
|
10120 |
|
|
* config/obj-bout.c (seg_N_TYPE): Ditto.
|
10121 |
|
|
* config/obj-coff.c (seg_N_TYPE): Ditto.
|
10122 |
|
|
* config/obj-coffbfd.c (seg_N_TYPE): Ditto.
|
10123 |
|
|
* config/obj-vms.c (seg_N_TYPE): Ditto.
|
10124 |
|
|
|
10125 |
|
|
* expr.h (operatorT): Moved in from expr.c, added some values.
|
10126 |
|
|
(expressionS): Added X_op field, removed X_seg field; renamed
|
10127 |
|
|
X_subtract_symbol to X_op_symbol.
|
10128 |
|
|
* expr.c: Extensive changes to assign expression types rather than
|
10129 |
|
|
sections and to simplify the parsing.
|
10130 |
|
|
* write.c (fix_new_internal): New static function.
|
10131 |
|
|
(fix_new): Removed sub_symbol argument.
|
10132 |
|
|
(fix_new_exp): New function, takes expression argument.
|
10133 |
|
|
* write.h: Prototype changes for fix_new and fix_new_exp.
|
10134 |
|
|
* cond.c (s_if): Changed accordingly.
|
10135 |
|
|
* read.c (s_lsym, pseudo_set, emit_expr, parse_bitfield_cons,
|
10136 |
|
|
parse_repeat_cons, get_segmented_expression,
|
10137 |
|
|
get_known_segmented_expression, get_absolute_expression): Ditto.
|
10138 |
|
|
* symbols.c (resolve_symbol_value, S_GET_VALUE, S_SET_VALUE):
|
10139 |
|
|
Ditto.
|
10140 |
|
|
* write.c (write_object_file): Ditto.
|
10141 |
|
|
* config/obj-coff.c (obj_coff_def, obj_coff_val): Ditto.
|
10142 |
|
|
* config/obj-coffbfd.c (obj_coff_def, obj_coff_val,
|
10143 |
|
|
obj_coff_endef, yank_symbols): Ditto.
|
10144 |
|
|
* config/obj-elf.c (obj_elf_stab_generic, obj_elf_size): Ditto.
|
10145 |
|
|
* config/tc-a29k.c (md_assemble, parse_operand, machine_ip,
|
10146 |
|
|
print_insn, md_operand): Ditto.
|
10147 |
|
|
* config/tc-h8300.c (parse_exp, colonmod24, check_operand,
|
10148 |
|
|
do_a_fix_imm, build_bytes): Ditto.
|
10149 |
|
|
* config/tc-h8500.c (parse_exp, skip_colonthing, parse_reglist,
|
10150 |
|
|
get_specific, check, insert, md_convert_frag): Ditto.
|
10151 |
|
|
* config/tc-hppa.c (the_insn, fix_new_hppa, cons_fix_new_hppa,
|
10152 |
|
|
md_assemble, pa_ip, getExpression, getAbsoluteExpression,
|
10153 |
|
|
evaluateAbsolute, pa_build_unwind_subspace, pa_entry,
|
10154 |
|
|
process_exit): Ditto.
|
10155 |
|
|
* config/tc-hppa.h (STAB_FIXUP, is_DP_relative, is_PC_relative,
|
10156 |
|
|
is_complex): Ditto.
|
10157 |
|
|
* config/tc-i386.c (pe, md_assemble, i386_operand,
|
10158 |
|
|
md_estimate_size_before_relax, md_create_long_jump): Ditto.
|
10159 |
|
|
* config/tc-i860.c (md_assemble, getExpression, print_insn):
|
10160 |
|
|
Ditto.
|
10161 |
|
|
* config/tc-i960.c (parse_expr, subs, segs, md_convert_frag,
|
10162 |
|
|
get_cdisp, mem_fmt, parse_ldconst, relax_cobr, s_sysproc,
|
10163 |
|
|
i960_handle_align): Ditto.
|
10164 |
|
|
* config/tc-m68k.c (struct m68k_exp, struct m68k_it, seg, op,
|
10165 |
|
|
subs, add_fix, isvar, m68k_ip, md_assemble, md_convert_frag_1,
|
10166 |
|
|
md_estimate_size_before_relax, md_create_long_jump, get_num):
|
10167 |
|
|
Ditto.
|
10168 |
|
|
* config/tc-m88k.c (md_assemble, get_imm16, get_pcr,
|
10169 |
|
|
md_create_short_jump, md_create_long_jump): Ditto.
|
10170 |
|
|
* config/tc-mips.c (md_assemble, append_insn, gp_reference,
|
10171 |
|
|
macro_build, macro, my_getExpression): Ditto. Also removed
|
10172 |
|
|
get_optional_absolute_expression; just use get_absolute_expression
|
10173 |
|
|
instead.
|
10174 |
|
|
* config/tc-ns32k.c (get_addr_mode, evaluate_expr, convert_iif,
|
10175 |
|
|
fix_new_ns32k, fix_new_ns32k_exp, cons_fix_new_ns32k): Ditto.
|
10176 |
|
|
* config/tc-ns32k.h (fix_new_ns32k prototype): Ditto.
|
10177 |
|
|
* config/tc-sh.c (parse_exp, check, insert, md_convert_frag):
|
10178 |
|
|
Ditto.
|
10179 |
|
|
* config/tc-sparc.c (md_assemble, sparc_ip, getExpression,
|
10180 |
|
|
print_insn): Ditto.
|
10181 |
|
|
* config/tc-tahoe.c (struct top, md_estimate_size_before_relax,
|
10182 |
|
|
tip_op, md_assemble): Ditto.
|
10183 |
|
|
* config/tc-vax.c (seg_of_operand, md_assemble,
|
10184 |
|
|
md_estimate_size_before_relax, md_create_long_jump): Ditto.
|
10185 |
|
|
* config/tc-z8k.c (parse_exp, check_operand, newfix): Ditto.
|
10186 |
|
|
|
10187 |
|
|
Tue Jul 20 12:17:16 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
|
10188 |
|
|
|
10189 |
|
|
* configure.in: i386-lynx is the same as i386-coff
|
10190 |
|
|
|
10191 |
|
|
Mon Jul 19 15:21:20 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
|
10192 |
|
|
|
10193 |
|
|
* config/obj-elf.c (obj_elf_previous): New function.
|
10194 |
|
|
(previous_section, previous_subsection): New vars.
|
10195 |
|
|
(obj_elf_section): Save current place in case DWARF code wants us
|
10196 |
|
|
to pop back to it. Handle unquoted section name as well as quoted
|
10197 |
|
|
section name. Don't crash on invalid strings.
|
10198 |
|
|
(obj_pseudo_table): Handle new pseudos "previous", "2byte", and
|
10199 |
|
|
"4byte".
|
10200 |
|
|
|
10201 |
|
|
* config/obj-elf.h: Don't include struc-symbol.h.
|
10202 |
|
|
(obj_elf_frob_symbol): Declare arg as struct symbol *.
|
10203 |
|
|
|
10204 |
|
|
* config/tc-sparc.h (LOCAL_LABEL) [OBJ_ELF]: Local labels can start with
|
10205 |
|
|
"L" or "_.L_".
|
10206 |
|
|
|
10207 |
|
|
* write.c (write_relocs): New function, split off from
|
10208 |
|
|
write_contents. Use memset instead of bzero.
|
10209 |
|
|
(write_object_file): Apply write_relocs to each section before
|
10210 |
|
|
applying write_contents.
|
10211 |
|
|
|
10212 |
|
|
* read.c (read_begin): Call obstack_begin with values closer to 1K
|
10213 |
|
|
multiples.
|
10214 |
|
|
(read_a_source_file, big_cons, float_cons): Use memcpy instead of
|
10215 |
|
|
bcopy.
|
10216 |
|
|
|
10217 |
|
|
Mon Jul 19 14:30:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
10218 |
|
|
|
10219 |
|
|
* config/tc-m68k.c (m68k_ip_op): Don't decrement strend when
|
10220 |
|
|
calculating opP->isiz; this permits the expression size to be
|
10221 |
|
|
determined as well, later on.
|
10222 |
|
|
|
10223 |
|
|
* expr.c (clean_up_expression): Don't cancel the subtraction of
|
10224 |
|
|
undefined symbols.
|
10225 |
|
|
|
10226 |
|
|
* read.c (s_data), config/obj-coffbfd.c (obj_coff_data): If -R,
|
10227 |
|
|
switch to text section rather than data section.
|
10228 |
|
|
|
10229 |
|
|
Mon Jul 19 12:35:39 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10230 |
|
|
|
10231 |
|
|
* config/tc-m68k.c (m68k_ip, case AINDX): Add 6 to operand
|
10232 |
|
|
expression (to take the pc-rel instruction itself into account)
|
10233 |
|
|
before using the expression, instead of after.
|
10234 |
|
|
|
10235 |
|
|
Fri Jul 16 08:56:04 1993 Ian Lance Taylor (ian@cygnus.com)
|
10236 |
|
|
|
10237 |
|
|
* read.c (float_cons): Simplified parsing logic. If
|
10238 |
|
|
REPEAT_CONS_EXPRESSIONS is defined, accept a repeat count.
|
10239 |
|
|
|
10240 |
|
|
* symbols.c (colon): Rather than a special case for TC_HPPA,
|
10241 |
|
|
use new macro tc_frob_label.
|
10242 |
|
|
* config/tc-hppa.h (tc_frob_label): Define.
|
10243 |
|
|
|
10244 |
|
|
* config/tc-mips.c: Many changes to support simple assembler
|
10245 |
|
|
optimization.
|
10246 |
|
|
(insn_label, prev_insn, prev_prev_insn, dummy_opcode,
|
10247 |
|
|
prev_insn_valid, prev_insn_frag, prev_insn_where,
|
10248 |
|
|
prev_insn_fixp, prev_insn_is_delay_slot): New static
|
10249 |
|
|
variables.
|
10250 |
|
|
(insn_uses_reg, mips_no_prev_insn, mips_emit_delays,
|
10251 |
|
|
mips_align, s_stringer, s_mips_space): New static functions.
|
10252 |
|
|
(mips_define_label): New global function.
|
10253 |
|
|
(md_pseudo_table): For "ascii", "asciz", "asciiz", call
|
10254 |
|
|
s_stringer. Changed argument to float_cons from 0 or 1 to 'f'
|
10255 |
|
|
or 'd'. For "space" call s_mips_space.
|
10256 |
|
|
(md_begin): Call mips_no_prev_insn.
|
10257 |
|
|
(append_insn): Only insert necessary NOP instructions.
|
10258 |
|
|
(macro): Call mips_emit_delays before setting mips_noreorder.
|
10259 |
|
|
Increment and decrement mips_noreorder rather than using
|
10260 |
|
|
save_reorder_condition. Don't bother to use noreorder in
|
10261 |
|
|
M_L_DOB and M_L_DAB, since append_insn will not insert a NOP.
|
10262 |
|
|
(md_atof): Handle floating point numbers correctly for both
|
10263 |
|
|
big and little endian targets.
|
10264 |
|
|
(s_align, s_cons): Call mips_align rather than frag_align.
|
10265 |
|
|
(s_change_seg, s_cons): Call mips_emit_delays.
|
10266 |
|
|
(s_float_cons): Let float_cons do the work.
|
10267 |
|
|
(s_mipsset): Call mips_emit_delays when setting noreorder.
|
10268 |
|
|
* config/tc-mips.h (tc_frob_label): Define to be
|
10269 |
|
|
mips_define_label.
|
10270 |
|
|
|
10271 |
|
|
* config/obj-ecoff.c (ecoff_build_symbols, ecoff_build_procs,
|
10272 |
|
|
ecoff_frob_files): Consistently use S_GET_VALUE rather than
|
10273 |
|
|
bfd_asymbol_value. Warn if taking difference of symbols in
|
10274 |
|
|
different segments.
|
10275 |
|
|
|
10276 |
|
|
Thu Jul 15 11:51:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
10277 |
|
|
|
10278 |
|
|
* config/obj-ecoff.c (ecoff_frob_file): Discard all open scopes,
|
10279 |
|
|
with a warning.
|
10280 |
|
|
|
10281 |
|
|
* config/obj-coffbfd.c (fixup_segment): If TC_M88K, don't adjust
|
10282 |
|
|
by md_pcrel_from if we are relocating against a symbol (we still
|
10283 |
|
|
need md_pcrel_from for a PC relative relocation within the same
|
10284 |
|
|
file).
|
10285 |
|
|
* config/tc-m88k.c (md_pcrel_from): Corrected return value.
|
10286 |
|
|
(omagic): Removed unused variable.
|
10287 |
|
|
|
10288 |
|
|
* Preliminary support for m88k-coff.
|
10289 |
|
|
* configure.in (m88k-*-coff*): New target. Use coffbfd and
|
10290 |
|
|
m88kcoff.
|
10291 |
|
|
* config/m88kcoff.mt: New file.
|
10292 |
|
|
* read.c (lex_type): New macro LEX_AT to set lex type of '@'.
|
10293 |
|
|
(pseudo_set): Handle difference of symbols in different fragments
|
10294 |
|
|
by saving the entire expression as the value of the symbol.
|
10295 |
|
|
* symbols.c (resolve_symbol_value): Resolve difference
|
10296 |
|
|
expressions.
|
10297 |
|
|
* config/obj-coffbfd.c (obj_pseudo_table): If TC_M88K, accept
|
10298 |
|
|
"sdef" as a synonym for "def".
|
10299 |
|
|
* config/obj-coffbfd.h: If TC_M88K, include coff/m88k.h and set
|
10300 |
|
|
TARGET_FORMAT.
|
10301 |
|
|
(S_IS_LOCAL): Any symbol which includes \001 in the name is local.
|
10302 |
|
|
* config/tc-m88k.c, config/tc-m88k.h: Numerous changes to bring
|
10303 |
|
|
m88k port up to date, and to add COFF support.
|
10304 |
|
|
|
10305 |
|
|
Wed Jul 14 15:09:32 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
10306 |
|
|
|
10307 |
|
|
* Removed sy_forward and replaced it with an undefined expression
|
10308 |
|
|
as the value of a symbol.
|
10309 |
|
|
* struc-symbol.h (struct symbol): Removed sy_forward field. Added
|
10310 |
|
|
sy_resolved and sy_resolving single bit fields.
|
10311 |
|
|
* symbols.c (symbol_new): Don't initialize sy_forward field.
|
10312 |
|
|
(resolve_symbol_value): New function to adjust symbol value by
|
10313 |
|
|
fragment address, using recursion to resolve forward symbols.
|
10314 |
|
|
* symbols.h: Added prototype for new function.
|
10315 |
|
|
* read.c (pseudo_set): Set symbolP->sy_value to an undefined
|
10316 |
|
|
expression rather than setting symbolP->sy_forward.
|
10317 |
|
|
* write.c (write_object_file): Use resolve_symbol_value on
|
10318 |
|
|
symbols, keeping the common case (the old behaviour) inline.
|
10319 |
|
|
* config/obj-aout.c (obj_aout_frob_symbol): Removed sy_forward
|
10320 |
|
|
handling (subsumed by write.c change).
|
10321 |
|
|
* config/obj-coff.c, config/obj-coffbfd.c (obj_coff_val): Set
|
10322 |
|
|
sy_value rather than sy_forward.
|
10323 |
|
|
* config/obj-coffbfd.c (obj_coff_endef, yank_symbols): Check
|
10324 |
|
|
expression segment rather than sy_forward.
|
10325 |
|
|
(yank_symbols): Use resolve_symbol_value.
|
10326 |
|
|
(crawl_symbols): Removed extra pass over symbols.
|
10327 |
|
|
* config/obj-aout.c, config/obj-bout.c, config/obj-coff.c,
|
10328 |
|
|
config/obj-vms.c (obj_crawl_symbol_chain): Removed extra pass over
|
10329 |
|
|
symbols which handled sy_forward; use resolve_symbol_value
|
10330 |
|
|
instead.
|
10331 |
|
|
* config/obj-coff.h, config/obj-coffbfd.h (obj_frob_forward_symbol):
|
10332 |
|
|
Define.
|
10333 |
|
|
* config/obj-elf.c (obj_elf_stab_generic): Check expression
|
10334 |
|
|
segment rather than sy_forward.
|
10335 |
|
|
* config/obj-vms.c (VMS_Check_For_Main): Don't initialize
|
10336 |
|
|
sy_forward; do initialize sy_resolved and sy_resolving.
|
10337 |
|
|
* config/tc-hppa.h (STAB_FIXUP): Use sy_value, not sy_forward.
|
10338 |
|
|
|
10339 |
|
|
* Changes to keep a full expression as the value of a symbol, not
|
10340 |
|
|
just a longword:
|
10341 |
|
|
* struc-symbol.h: New field sy_value.
|
10342 |
|
|
* as.h: Include expr.h before struc-symbol.h.
|
10343 |
|
|
* expr.h: Use struct symbol rather than symbolS.
|
10344 |
|
|
* symbols.c (S_GET_VALUE, S_SET_VALUE): Rewrote to retrieve value
|
10345 |
|
|
of sy_value field; compile unconditionally, not just if
|
10346 |
|
|
BFD_ASSEMBLER.
|
10347 |
|
|
* symbols.h: Compile S_{SG}ET_VALUE prototypes unconditionally.
|
10348 |
|
|
* write.c (write_object_file): Set BFD symbol value to gas symbol
|
10349 |
|
|
value.
|
10350 |
|
|
* config/obj-aout.h, config/obj-bout.h, config/obj-coff.h,
|
10351 |
|
|
config/obj-coffbfd.h, config/obj-generic.h, config/obj-vms.h
|
10352 |
|
|
(S_GET_VALUE, S_SET_VALUE): Removed macro definitions.
|
10353 |
|
|
* config/obj-ieee.c (S_GET_VALUE, S_SET_VALUE): Removed.
|
10354 |
|
|
* config/obj-coff.h, obj-coffbfd.h: Rewrote several macros to use
|
10355 |
|
|
S_GET_VALUE rather than ost_entry.n_value.
|
10356 |
|
|
* config/obj-aout.c (obj_symbol_to_chars), config/obj-bout.c
|
10357 |
|
|
(obj_symbol_to_chars), config/obj-coff.c (obj_symbol_to_chars),
|
10358 |
|
|
config/obj-coffbfd.c (symbol_to_chars): Get value to write out
|
10359 |
|
|
using S_GET_VALUE--don't assume it is already set.
|
10360 |
|
|
* config/obj-ieee.c (do_symbols): Set BFD symbol value to gas
|
10361 |
|
|
symbol value.
|
10362 |
|
|
* config/obj-vms.c (various): Don't assign directly to
|
10363 |
|
|
S_GET_VALUE; use S_SET_VALUE instead.
|
10364 |
|
|
|
10365 |
|
|
Wed Jul 14 09:35:23 1993 Doug Evans (dje@canuck.cygnus.com)
|
10366 |
|
|
|
10367 |
|
|
* configure.in: Make sparc64-*-aout* use bfd gas.
|
10368 |
|
|
|
10369 |
|
|
* configure.in: Recognize h8300h.
|
10370 |
|
|
|
10371 |
|
|
Tue Jul 13 12:09:44 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
10372 |
|
|
|
10373 |
|
|
* config/tc-h8500.c (line_comment_chars): Add hash.
|
10374 |
|
|
(parse_exp, skip_colonthing, build_bytes): Add support for
|
10375 |
|
|
R_H8500_HIGH16 relocation type.
|
10376 |
|
|
|
10377 |
|
|
Mon Jul 12 11:15:34 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
|
10378 |
|
|
|
10379 |
|
|
* config/obj-elf.c (obj_elf_section): Allow `@' to introduce an
|
10380 |
|
|
attribute name. Handle `execinstr' attribute.
|
10381 |
|
|
|
10382 |
|
|
Mon Jul 12 07:22:28 1993 Ian Lance Taylor (ian@cygnus.com)
|
10383 |
|
|
|
10384 |
|
|
* config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
|
10385 |
|
|
there is another alternative for the instruction.
|
10386 |
|
|
|
10387 |
|
|
Fri Jul 9 17:31:34 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
|
10388 |
|
|
|
10389 |
|
|
* doc/as.texinfo: updates for H8/300H
|
10390 |
|
|
|
10391 |
|
|
Thu Jul 8 14:41:43 1993 Mark Eichin (eichin@cygnus.com)
|
10392 |
|
|
|
10393 |
|
|
* config/tc-i960.c (md_create_short_jump, md_create_long_jump,
|
10394 |
|
|
md_number_to_chars, md_section_align): Adjusted to use valueT,
|
10395 |
|
|
addressT, to match tc.h.
|
10396 |
|
|
|
10397 |
|
|
Thu Jul 8 14:15:05 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10398 |
|
|
|
10399 |
|
|
* config/tc-sparc.c (s_common): Revamp to handle both syntaxes,
|
10400 |
|
|
independent of format.
|
10401 |
|
|
|
10402 |
|
|
Thu Jul 8 07:25:25 1993 Doug Evans (dje@canuck.cygnus.com)
|
10403 |
|
|
|
10404 |
|
|
* config/tc-h8300.h (TC_CONS_RELOC): Use R_RELLONG if H8/300H.
|
10405 |
|
|
|
10406 |
|
|
Wed Jul 7 18:11:07 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
|
10407 |
|
|
|
10408 |
|
|
* configure.in: define CROSS=-DCROSS_COMPILE if it is a cross
|
10409 |
|
|
build; also recognize h8300-*-coff
|
10410 |
|
|
|
10411 |
|
|
Wed Jul 7 10:21:24 1993 Ian Lance Taylor (ian@cygnus.com)
|
10412 |
|
|
|
10413 |
|
|
* symbols.c (fb_label_instance, fb_label_instance_inc): Don't dump
|
10414 |
|
|
core just because somebody uses a label before it is defined.
|
10415 |
|
|
|
10416 |
|
|
* config/mips-opcode.h: Moved to opcode/mips.h.
|
10417 |
|
|
* config/tc-mips.c: Include opcode/mips.h rather than
|
10418 |
|
|
mips-opcode.h.
|
10419 |
|
|
(append_insn): An extra NOP is only needed after instructions
|
10420 |
|
|
which set HI or LO, not after instructions which read it.
|
10421 |
|
|
(macro_build, mips_ip): Support new 'E', 'G' and 'B' arguments.
|
10422 |
|
|
(macro): cfc1 and ctc1 now take "t,G" rather than "t,d".
|
10423 |
|
|
* config/tc-mips.h (struct mips_opcode): Don't define.
|
10424 |
|
|
* config/mips-big.mt, config/mips-lit.mt (TARG_CPU_DEPENDENTS):
|
10425 |
|
|
Set to $(srcdir)/../include/opcode/mips.h.
|
10426 |
|
|
|
10427 |
|
|
Get the MIPS assembler up to speed with other gas changes:
|
10428 |
|
|
|
10429 |
|
|
* config/obj-ecoff.c (ecoff_set_vma, ecoff_frob_symbol):
|
10430 |
|
|
Removed; don't change the symbol value.
|
10431 |
|
|
(ecoff_build_symbols, ecoff_build_procs, ecoff_frob_file): Use
|
10432 |
|
|
bfd_asymbol_value rather than S_GET_VALUE to include section
|
10433 |
|
|
vma in symbol value.
|
10434 |
|
|
(ecoff_frob_file): Ignore BSF_SECTION_SYM symbols, since ECOFF
|
10435 |
|
|
doesn't output them. Set the vma of sections.
|
10436 |
|
|
* config/obj-ecoff.h: Don't define obj_frob_symbol.
|
10437 |
|
|
* config/tc-mips.c (tc_gen_reloc): Adjustment by section vma is no
|
10438 |
|
|
longer necessary.
|
10439 |
|
|
(various): use valueT rather than long.
|
10440 |
|
|
|
10441 |
|
|
Wed Jul 7 08:33:30 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10442 |
|
|
|
10443 |
|
|
* config/tc-sparc.h (ENV64): Define for v9.
|
10444 |
|
|
|
10445 |
|
|
* config/tc-sparc.c (s_xword): For numbers, call big_cons.
|
10446 |
|
|
(sparc_ip, md_apply_fix, tc_gen_reloc): Handle some sparc64
|
10447 |
|
|
relocation types.
|
10448 |
|
|
(md_number_to_chars): Handle 8-byte value.
|
10449 |
|
|
|
10450 |
|
|
* config/obj-elf.h (elf_symbol): For v9, use 64-bit symbol type.
|
10451 |
|
|
|
10452 |
|
|
* as.h (valueT): Typedef moved here.
|
10453 |
|
|
* struc-symbol.h (valueT): ...from here.
|
10454 |
|
|
* write.c (write_object_file): Locals from_addr, to_addr,
|
10455 |
|
|
table_addr are now addressT. Supply prototype for bfd_alloc for
|
10456 |
|
|
now.
|
10457 |
|
|
(fixup_segment): Local add_number is now valueT. Correct some
|
10458 |
|
|
range-checking bugs.
|
10459 |
|
|
(relax_align): Type `int' should be sufficient for the exponent.
|
10460 |
|
|
(fix_new): Argument offset is type offsetT. Locals size and
|
10461 |
|
|
newsize are type valueT.
|
10462 |
|
|
* write.h (struct fix): Fields fx_offset and fx_addnumber are now
|
10463 |
|
|
type valueT.
|
10464 |
|
|
(fix_new): Fix prototype.
|
10465 |
|
|
* symbols.c (symbol_new): Symbol value is type valueT.
|
10466 |
|
|
(S_SET_VALUE, S_GET_VALUE): Likewise.
|
10467 |
|
|
(S_IS_*): Specify int return type explicitly.
|
10468 |
|
|
* symbols.h (symbol_new, S_GET_VALUE, S_SET_VALUE): Fixed
|
10469 |
|
|
prototypes.
|
10470 |
|
|
* read.c (s_comm): Values read are type valueT.
|
10471 |
|
|
* expr.h (expressionS): Field X_add_number is an offsetT.
|
10472 |
|
|
* tc.h (md_create_long_jump, md_create_short_jump,
|
10473 |
|
|
md_section_align): Addresses are now type addressT.
|
10474 |
|
|
(md_number_to_chars, md_apply_fix): Pass value as valueT.
|
10475 |
|
|
* config/tc-i386.c (md_create_short_jump, md_create_long_jump,
|
10476 |
|
|
md_number_to_chars, md_section_align): Adjusted.
|
10477 |
|
|
* config/tc-sparc.c (sparc_ip): Initialize `len' variable to make
|
10478 |
|
|
gcc shut up.
|
10479 |
|
|
(md_create_short_jump, md_create_long_jump, md_number_to_chars,
|
10480 |
|
|
md_section_align): Adjusted.
|
10481 |
|
|
|
10482 |
|
|
* config/tc-sparc.c (s_reserve): Permit use for other than a.out
|
10483 |
|
|
format.
|
10484 |
|
|
(s_common): Handle Solaris-2 version.
|
10485 |
|
|
|
10486 |
|
|
* config/ho-generic.h (free): Returns void if __STDC__.
|
10487 |
|
|
|
10488 |
|
|
* config/obj-elf.h (obj_elf_frob_symbol, elf_frob_file,
|
10489 |
|
|
elf_file_symbol): Declare.
|
10490 |
|
|
|
10491 |
|
|
* expr.c (floating_constant, integer_constant): Now return void.
|
10492 |
|
|
|
10493 |
|
|
Thu Jul 1 12:13:43 1993 Ian Lance Taylor (ian@cygnus.com)
|
10494 |
|
|
|
10495 |
|
|
* configure.in: Match on sparc*-fujitsu-none rather than
|
10496 |
|
|
sparclite*-fujitsu-none.
|
10497 |
|
|
|
10498 |
|
|
Wed Jun 30 11:12:02 1993 Ian Lance Taylor (ian@cygnus.com)
|
10499 |
|
|
|
10500 |
|
|
* read.c (cons): Conditionalize parsing of expression. Move
|
10501 |
|
|
putting value into object file into separate function. Separate
|
10502 |
|
|
out MRI and WANT_BITFIELDS cases into separate functions.
|
10503 |
|
|
(emit_expr): New function to write data into object file.
|
10504 |
|
|
Conditionalize on TC_CONS_FIX_NEW and TC_CONS_RELOC rather than on
|
10505 |
|
|
processor types.
|
10506 |
|
|
(parse_bitfield_cons): New function to parse bitfield expressions
|
10507 |
|
|
as used by i960 assemblers. Only compiled if
|
10508 |
|
|
BITFIELD_CONS_EXPRESSIONS is defined.
|
10509 |
|
|
(parse_mri_cons): New function to parse MRI style strings. Only
|
10510 |
|
|
compiled if MRI is defined.
|
10511 |
|
|
(parse_repeat_cons): New function to parse repeat counts. Only
|
10512 |
|
|
compiled if REPEAT_CONS_EXPRESSIONS is defined.
|
10513 |
|
|
* read.h (emit_expr): Added declaration of new function.
|
10514 |
|
|
* config/tc-a29k.h (TC_CONS_RELOC): Define to be RELOC_32.
|
10515 |
|
|
* config/tc-h8300.h (TC_CONS_RELOC): Define to be R_RELWORD.
|
10516 |
|
|
* config/tc-hppa.c (parse_cons_expression_hppa): New function to
|
10517 |
|
|
parse a HPPA expression, rather than special case in cons
|
10518 |
|
|
function.
|
10519 |
|
|
(cons_fix_new_hppa): New function to emit an HPPA fixup, rather
|
10520 |
|
|
than special case in emit_expr function.
|
10521 |
|
|
* config/tc-hppa.h (TC_PARSE_CONS_EXPRESSION, TC_CONS_FIX_NEW):
|
10522 |
|
|
Define to use new functions from tc-hppa.c.
|
10523 |
|
|
* config/tc-i960.h (BITFIELD_CONS_EXPRESSIONS): Define.
|
10524 |
|
|
(WANT_BITFIELDS): Removed; now obsolete.
|
10525 |
|
|
* config/tc-mips.h (REPEAT_CONS_EXPRESSIONS): Define.
|
10526 |
|
|
* config/tc-ns32k.c (cons_fix_new_ns32k): New function to emit an
|
10527 |
|
|
NS32K fixup, rather than special case in emit_expr function.
|
10528 |
|
|
* config/tc-ns32k.h (TC_CONS_FIX_NEW): Define to be
|
10529 |
|
|
cons_fix_new_ns32k. Also use PARAMS rather than checking
|
10530 |
|
|
__STDC__.
|
10531 |
|
|
* config/tc-sparc.h (TC_CONS_RELOC): Define to RELOC_32.
|
10532 |
|
|
|
10533 |
|
|
* write.c (relax_and_size_seg, adjust_reloc_syms, write_contents):
|
10534 |
|
|
Don't core dump if gas has no information about a section.
|
10535 |
|
|
|
10536 |
|
|
Wed Jun 30 06:21:27 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10537 |
|
|
|
10538 |
|
|
* config/tc-sparc.c (md_begin): If sparcv9 is defined, reset
|
10539 |
|
|
current_architecture to v9 automatically.
|
10540 |
|
|
|
10541 |
|
|
* config/tc-sparc.h (TARGET_FORMAT): Use elf64-sparc for v9.
|
10542 |
|
|
|
10543 |
|
|
* config/tc-sparc64.h, config/tc-sparc64.c: New files.
|
10544 |
|
|
* configure.in: Use sparc64 cpu files for v9, and default to elf
|
10545 |
|
|
format.
|
10546 |
|
|
|
10547 |
|
|
* write.c (relax_and_size_seg): Always fully process a section.
|
10548 |
|
|
Section size is last frag's (vm)address plus its size. If no
|
10549 |
|
|
relocations are present, force SEC_RELOC flag clear.
|
10550 |
|
|
(dump_section_relocs): New debugging routine.
|
10551 |
|
|
(adjust_reloc_syms): New routine, broken out from write_contents.
|
10552 |
|
|
Don't adjust relocs that are already relative to section symbol.
|
10553 |
|
|
Look for obj_fix_adjustable macro to know what else to skip,
|
10554 |
|
|
instead of obj_write_symbol. Look for section symbol stored in
|
10555 |
|
|
section information.
|
10556 |
|
|
(write_object_file): Map adjust_reloc_syms over all sections.
|
10557 |
|
|
(write_contents): Clear SEC_RELOC flag if no relocations are
|
10558 |
|
|
found.
|
10559 |
|
|
|
10560 |
|
|
* as.h (__PTR_TO_INT, __INT_TO_PTR): New versions for Saber, to
|
10561 |
|
|
keep it quiet.
|
10562 |
|
|
|
10563 |
|
|
* write.c (remove_subsegs): Don't define for BFD_ASSEMBLER.
|
10564 |
|
|
|
10565 |
|
|
Fri Jun 25 14:42:53 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
10566 |
|
|
|
10567 |
|
|
* Makefile.in (all, dvi, info, install-info, clean-info): do not
|
10568 |
|
|
echo recursion lines.
|
10569 |
|
|
(install-info, clean-info): collapse into the dvi and info rule.
|
10570 |
|
|
|
10571 |
|
|
Fri Jun 25 10:47:24 1993 Doug Evans (dje@canuck.cygnus.com)
|
10572 |
|
|
|
10573 |
|
|
* config/tc-sparc.c (sparc_ip): Remove support for %d/%q fp regs.
|
10574 |
|
|
All fp regs are now specified as %f.
|
10575 |
|
|
(priv_reg_table): fpq -> fq.
|
10576 |
|
|
|
10577 |
|
|
Fri Jun 25 03:43:06 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
|
10578 |
|
|
|
10579 |
|
|
* as.h (strstr): Disable declaration for now.
|
10580 |
|
|
(fprint_value, sprint_value): Declare.
|
10581 |
|
|
|
10582 |
|
|
* subsegs.c (subseg_new_rest): Use memset to clear new frag.
|
10583 |
|
|
(subseg_new) [BFD_ASSEMBLER]: Initialize all seginfo fields.
|
10584 |
|
|
|
10585 |
|
|
* expr.c (expr_part): Made sanity checks a.out-specific.
|
10586 |
|
|
(expr): Disabled sanity checks.
|
10587 |
|
|
|
10588 |
|
|
* subsegs.h (segment_info_type) [BFD_ASSEMBLER]: Add field for
|
10589 |
|
|
section symbol.
|
10590 |
|
|
* subsegs.c (subseg_change): Initialize section symbol pointer
|
10591 |
|
|
when setting up a new section.
|
10592 |
|
|
|
10593 |
|
|
* symbols.c (symbol_new) [BFD_ASSEMBLER]: Point BFD symbol's udata
|
10594 |
|
|
field back at gas symbol structure.
|
10595 |
|
|
|
10596 |
|
|
* symbols.c (colon): Cast obstack_next_free value to char* before
|
10597 |
|
|
doing arithmetic on it.
|
10598 |
|
|
* subsegs.c (subseg_new_rest): Likewise.
|
10599 |
|
|
* as.h (frag_now_fix): Likewise.
|
10600 |
|
|
|
10601 |
|
|
* config/obj-elf.c (elf_file_symbol): Use subseg_new instead of
|
10602 |
|
|
calling bfd_make_section_old_way directly, and call subseg_set
|
10603 |
|
|
instead of subseg_change. Now returns void.
|
10604 |
|
|
(obj_elf_write_symbol): Only check local symbols for now.
|
10605 |
|
|
(elf_stab_symbol): Now static and void, and disabled until it
|
10606 |
|
|
works completely.
|
10607 |
|
|
(obj_elf_size): For expression values, fail silently for now.
|
10608 |
|
|
(obj_symbol_new_hook): Do nothing.
|
10609 |
|
|
|
10610 |
|
|
* config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP22
|
10611 |
|
|
relocation.
|
10612 |
|
|
(s_local) [OBJ_ELF]: New function.
|
10613 |
|
|
(md_pseudo_table) [OBJ_ELF]: Call it for "local".
|
10614 |
|
|
(s_common): Rearrange to handle Solaris .common pseudo, which may
|
10615 |
|
|
sometimes use bss space instead of common.
|
10616 |
|
|
* config/obj-elf.h (TARGET_SYMBOL_FIELDS): Add new `local' field.
|
10617 |
|
|
|
10618 |
|
|
Thu Jun 24 16:33:53 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
10619 |
|
|
|
10620 |
|
|
* configure.in: set host config to hpux for hppa*-hp-hpux
|
10621 |
|
|
|
10622 |
|
|
Thu Jun 24 13:35:06 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
|
10623 |
|
|
|
10624 |
|
|
* app.c (app_pop, app_push): Fix bug reported by Chris Arthur.
|
10625 |
|
|
|
10626 |
|
|
Tue Jun 22 01:04:23 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
|
10627 |
|
|
|
10628 |
|
|
* subsegs.c (subseg_new): Don't special-case a.out -R flag here.
|
10629 |
|
|
* config/obj-aout.c (s_sect): Do it here.
|
10630 |
|
|
|
10631 |
|
|
* as.h (BAD_CASE): Don't make some lame compilers think we want
|
10632 |
|
|
substitution inside strings.
|
10633 |
|
|
|
10634 |
|
|
* as.c (print_version_id): New function, split off from main.
|
10635 |
|
|
(main): Call it.
|
10636 |
|
|
* config/tc-sparc.c (md_parse_option) [OBJ_ELF]: Print version id
|
10637 |
|
|
for -V. Ignore -Q and -s options for now.
|
10638 |
|
|
|
10639 |
|
|
Mon Jun 21 17:37:59 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
10640 |
|
|
|
10641 |
|
|
* Makefile.in: make installation & builds work again for crosses
|
10642 |
|
|
|
10643 |
|
|
Sun Jun 20 18:18:26 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
|
10644 |
|
|
|
10645 |
|
|
* listing.c (list_symbol_table): Rewrite to print wide (>32 bits)
|
10646 |
|
|
symbol values correctly.
|
10647 |
|
|
|
10648 |
|
|
* write.c (write_object_file): Deleted unused variables.
|
10649 |
|
|
(fixup_segment): Use sprint_value.
|
10650 |
|
|
|
10651 |
|
|
* messages.c (sprint_value, fprint_value): New routines.
|
10652 |
|
|
|
10653 |
|
|
* config/obj-elf.c (elf_stab_symbol): Now returns void.
|
10654 |
|
|
(obj_elf_stab_generic): Fix typo in logic.
|
10655 |
|
|
|
10656 |
|
|
* Makefile.in (INCLUDES): Look in ../bfd for bfd.h.
|
10657 |
|
|
|
10658 |
|
|
* as.h (addressT, offsetT): New types, using BFD types if
|
10659 |
|
|
available.
|
10660 |
|
|
(relax_addressT, struct frag): Use them.
|
10661 |
|
|
* struc-symbol.h (valueT, struct broken_word): Likewise.
|
10662 |
|
|
|
10663 |
|
|
* as.h (subseg_new) [BFD_ASSEMBLER]: Name argument is const.
|
10664 |
|
|
* subsegs.c (subseg_new) [BFD_ASSEMBLER]: Name argument is const.
|
10665 |
|
|
|
10666 |
|
|
Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
|
10667 |
|
|
|
10668 |
|
|
* Makefile.in: canonicalize install.sh; for use within
|
10669 |
|
|
this directory (and subdirs)
|
10670 |
|
|
|
10671 |
|
|
Sun Jun 20 02:34:04 1993 Ashley Saulsbury (ans@sics.se)
|
10672 |
|
|
|
10673 |
|
|
* m88k-opcode.h : fixed tiny tiny mistake - xcr was incorrectly
|
10674 |
|
|
specified, should have both S1 and S2 fields identical
|
10675 |
|
|
If only finding the problem was as fast as fixing the bug !!!!
|
10676 |
|
|
|
10677 |
|
|
Tue Jun 15 16:01:57 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10678 |
|
|
|
10679 |
|
|
* write.c (write_contents): Do write out non-loadable sections.
|
10680 |
|
|
Debug sections can fall in this category.
|
10681 |
|
|
|
10682 |
|
|
* read.c (s_app_file): Call elf_file_symbol for ELF files.
|
10683 |
|
|
* config/obj-elf.c (elf_file_symbol): New function.
|
10684 |
|
|
|
10685 |
|
|
* config/obj-elf.c (elf_stab_symbol_string): Renamed from pa_...,
|
10686 |
|
|
added argument to specify section base name.
|
10687 |
|
|
(obj_elf_stab_generic): Renamed from ..._stab. New argument
|
10688 |
|
|
specifies section base name.
|
10689 |
|
|
(obj_elf_stab): New function, calls obj_elf_stab_generic with
|
10690 |
|
|
".stab" as section base name.
|
10691 |
|
|
(obj_elf_xstab): New function, calls obj_elf_stab_generic.
|
10692 |
|
|
(obj_elf_type): Handle "object". Use bitwise-or to merge in
|
10693 |
|
|
symbol flags rather than simply replacing, so global/local flags
|
10694 |
|
|
are preserved.
|
10695 |
|
|
(obj_elf_ident): Rewrite.
|
10696 |
|
|
|
10697 |
|
|
Tue Jun 15 17:03:25 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
10698 |
|
|
|
10699 |
|
|
* Makefile.in: remove parentdir support; use INSTALL_XFORM
|
10700 |
|
|
|
10701 |
|
|
Wed Jun 9 11:26:07 1993 Ian Lance Taylor (ian@cygnus.com)
|
10702 |
|
|
|
10703 |
|
|
* config/tc-i386.c (md_pseudo_table): .align uses a power of two
|
10704 |
|
|
for any a.out target, not just Linux and 386BSD.
|
10705 |
|
|
* config/tc-i386.h (DOT_LABEL_PREFIX): Do not define for any a.out
|
10706 |
|
|
target.
|
10707 |
|
|
|
10708 |
|
|
Mon Jun 7 13:33:19 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10709 |
|
|
|
10710 |
|
|
* config/tc-m88k.c: Don't include flonum.h, md.h, m88k.h. They
|
10711 |
|
|
don't exist or duplicate other inclusions.
|
10712 |
|
|
|
10713 |
|
|
* config/tc-vax.h (NO_RELOC): Define.
|
10714 |
|
|
|
10715 |
|
|
Mon Jun 7 09:55:03 1993 Doug Evans (dje@canuck.cygnus.com)
|
10716 |
|
|
|
10717 |
|
|
* config/tc-sparc.c (sparc_ip): Fix parsing of asi number.
|
10718 |
|
|
Fix error message.
|
10719 |
|
|
|
10720 |
|
|
Sat Jun 5 19:32:52 1993 Torbjorn Granlund (tege@nada.kth.se)
|
10721 |
|
|
|
10722 |
|
|
* gas/config/m88k-opcode.h (m88k_opcodes): Add 88110 instructions.
|
10723 |
|
|
* gas/config/tc-m88k.c (get_reg): New arg reg_prefix. Compare first
|
10724 |
|
|
char to reg_prefix instead of to 'r'.
|
10725 |
|
|
(calcop): Change calls to get_reg.
|
10726 |
|
|
(calcop): Handle new case 'x' to set reg_prefix.
|
10727 |
|
|
(calcop): Set reg_prefix to 'r' after each call to get_reg.
|
10728 |
|
|
(cmpslot): Add 88110 conditions.
|
10729 |
|
|
|
10730 |
|
|
* gas/config/m88k-opcode.h: Swap cases for "rot" for consistency.
|
10731 |
|
|
|
10732 |
|
|
* gas/config/tc-m88k.c (get_bf): Always restore input_line_pointer
|
10733 |
|
|
before returning.
|
10734 |
|
|
|
10735 |
|
|
* gas/config/m88k-opcode.h (m88k_opcodes): Make equal mnemonics
|
10736 |
|
|
adjacent; mov.s and mov.d swapped.
|
10737 |
|
|
(m88k_opcodes): Fix typo `r2' -> `2'.
|
10738 |
|
|
|
10739 |
|
|
Fri Jun 4 15:59:31 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
10740 |
|
|
|
10741 |
|
|
* config/h8300.c: Support for H8/300-H opcodes.
|
10742 |
|
|
|
10743 |
|
|
* config/obj-coffbfd.c (w_strings): String table length is 4
|
10744 |
|
|
bytes, no matter what the host int size is.
|
10745 |
|
|
|
10746 |
|
|
* configure.in (alpha-*-osf*): New.
|
10747 |
|
|
|
10748 |
|
|
Fri Jun 4 07:51:18 1993 Ian Lance Taylor (ian@cygnus.com)
|
10749 |
|
|
|
10750 |
|
|
* configure.in (mips-*-ecoffl*): New target; use ecoff and
|
10751 |
|
|
mips-lit.
|
10752 |
|
|
(mips-*-ecoff*): Added trailing '*'.
|
10753 |
|
|
|
10754 |
|
|
* config/obj-ecoff.c (ecoff_build_procs): Force the adr of the
|
10755 |
|
|
first FDR in a file to be zero.
|
10756 |
|
|
|
10757 |
|
|
Thu Jun 3 14:09:59 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10758 |
|
|
|
10759 |
|
|
* Makefile.in (VERSION): Jump to 2.1.4.
|
10760 |
|
|
|
10761 |
|
|
* config/ho-hppabsd.h: New file, from Peter Hoogenboom.
|
10762 |
|
|
|
10763 |
|
|
* config/tc-mips.c (md_assemble): Call bfd_set_gp_size only for
|
10764 |
|
|
ECOFF format.
|
10765 |
|
|
|
10766 |
|
|
Tue Jun 1 15:21:57 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10767 |
|
|
|
10768 |
|
|
* config/tc-m68k.c (md_assemble): The 68040 cpu doesn't want a
|
10769 |
|
|
separate '851 mmu.
|
10770 |
|
|
|
10771 |
|
|
* config/obj-elf.c, config/obj-elf.h: Update for new type, macro,
|
10772 |
|
|
and routine names. Assuming 32 bits for now.
|
10773 |
|
|
|
10774 |
|
|
* config/obj-elf.c (elf_frob_file): Look for macro
|
10775 |
|
|
elf_tc_final_processing_hook, instead of assuming a function
|
10776 |
|
|
always exists.
|
10777 |
|
|
* config/tc-hppa.c (elf_hppa_final_processing_hook): Renamed from
|
10778 |
|
|
tc_final_processing_hook.
|
10779 |
|
|
* config/tc-hppa.h (elf_tc_final_processing_hook): Use it.
|
10780 |
|
|
|
10781 |
|
|
* config/tc-hppa.h (elf_tc_symbol, elf_tc_make_sections): Macros
|
10782 |
|
|
moved here from obj-elf.h.
|
10783 |
|
|
* config/obj-elf.h: Don't include CPU-specific header files.
|
10784 |
|
|
|
10785 |
|
|
Sun May 30 16:49:37 1993 Peter Hoogenboom (hoogen@fast.cs.utah.edu)
|
10786 |
|
|
|
10787 |
|
|
* configure.in: configurations should match on 'hppa*' not 'hppa'.
|
10788 |
|
|
|
10789 |
|
|
* read.c: Add support for HPPA assembly language syntax (denoted
|
10790 |
|
|
with '#ifdef TC_HPPA').
|
10791 |
|
|
|
10792 |
|
|
* symbols.c: Add support for HPPA assembly language syntax (denoted
|
10793 |
|
|
with '#ifdef TC_HPPA').
|
10794 |
|
|
|
10795 |
|
|
* write.c (write_contents): Add support for HPPA-style
|
10796 |
|
|
relocations.
|
10797 |
|
|
|
10798 |
|
|
* config/obj-elf.c: Stab symbols weren't written properly.
|
10799 |
|
|
(obj_elf_version):
|
10800 |
|
|
(obj_elf_desc):
|
10801 |
|
|
(obj_elf_write_symbol):
|
10802 |
|
|
(obj_elf_write_symbol_p):
|
10803 |
|
|
(obj_elf_frob_symbol):
|
10804 |
|
|
(elf_stab_symbol):
|
10805 |
|
|
(elf_frob_file):
|
10806 |
|
|
|
10807 |
|
|
* config/tc-hppa.c: Support for HPPA symbol extension sections.
|
10808 |
|
|
Remove some unused code. Support for HPPA assembly language
|
10809 |
|
|
syntax.
|
10810 |
|
|
|
10811 |
|
|
* app.c:
|
10812 |
|
|
|
10813 |
|
|
* symbols.c:
|
10814 |
|
|
|
10815 |
|
|
* config/obj-elf.h:
|
10816 |
|
|
(obj_write_symbol):
|
10817 |
|
|
(obj_frob_file):
|
10818 |
|
|
(elf_tc_symbol):
|
10819 |
|
|
(elf_tc_make_sections):
|
10820 |
|
|
|
10821 |
|
|
* config/tc-hppa.h:
|
10822 |
|
|
|
10823 |
|
|
Sun May 30 21:44:45 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
10824 |
|
|
|
10825 |
|
|
* config/obj-ecoff.c (obj_read_begin_hook, add_file): Assume
|
10826 |
|
|
hash_new will have succeeded if it returns.
|
10827 |
|
|
* config/tc-a29k.c (md_begin): Likewise.
|
10828 |
|
|
|
10829 |
|
|
* config/tc-i386.c (tc_aout_fix_to_chars): Now nbytes_r_length is
|
10830 |
|
|
const.
|
10831 |
|
|
(mode_from_disp_size, opcode_suffic_to_type): Now inline under
|
10832 |
|
|
gcc.
|
10833 |
|
|
(fits_in_{signed,unsigned}_{byte,word}): Likewise.
|
10834 |
|
|
|
10835 |
|
|
* expr.c: Delete register declarations; gcc ignores them anyways.
|
10836 |
|
|
|
10837 |
|
|
Fri May 28 19:03:32 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10838 |
|
|
|
10839 |
|
|
* hash.c (hash_new): Use xmalloc, since many callers don't check
|
10840 |
|
|
for failure.
|
10841 |
|
|
|
10842 |
|
|
Thu May 27 13:02:15 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10843 |
|
|
|
10844 |
|
|
* frags.c (zero_address_frag, bss_address_frag): These are
|
10845 |
|
|
external.
|
10846 |
|
|
|
10847 |
|
|
* tc.h (md_reloc_size): This is const.
|
10848 |
|
|
* config/tc-{a29k,h8300,h8500,i386,i860,i960,m68k,ns32k,z8k}.c
|
10849 |
|
|
(md_reloc_size): Now const.
|
10850 |
|
|
|
10851 |
|
|
* config/aout_gnu.h (enum machine_type, enum reloc_type): Delete
|
10852 |
|
|
trailing commas.
|
10853 |
|
|
* as.h (enum _segT): Ditto.
|
10854 |
|
|
|
10855 |
|
|
* struc-symbol.h (N_TYPE_seg): This should be const.
|
10856 |
|
|
|
10857 |
|
|
Thu May 27 11:43:59 1993 Michael Meissner (meissner@osf.org)
|
10858 |
|
|
|
10859 |
|
|
* config/obj-ecoff.c (add_file): Cast file_name to char * in
|
10860 |
|
|
listing_source_file call.
|
10861 |
|
|
|
10862 |
|
|
* config/obj-elf.c (elf_stab_symbol_string): Cast first argument
|
10863 |
|
|
of subseg_new call to eliminate const attribute.
|
10864 |
|
|
(obj_elf_stab): Ditto.
|
10865 |
|
|
(obj_symbol_new_hook): Cast first argument of bzero call to char *.
|
10866 |
|
|
|
10867 |
|
|
* read.c (s_align_bytes): Properly record alignment.
|
10868 |
|
|
|
10869 |
|
|
* expr.c (__): Undefine __ macro before use, since OSF/1 uses it
|
10870 |
|
|
for the prototype/no prototype macro.
|
10871 |
|
|
|
10872 |
|
|
* as.c (got_sig): Don't do return ((SIGTY) 0), SIGTY might well be
|
10873 |
|
|
void.
|
10874 |
|
|
|
10875 |
|
|
* as.h (relax_stateT enum): Delete trailing comma.
|
10876 |
|
|
|
10877 |
|
|
Thu May 27 11:07:50 1993 Ian Lance Taylor (ian@cygnus.com)
|
10878 |
|
|
|
10879 |
|
|
* app.c (do_scrub_begin): Let line_comment_chars override
|
10880 |
|
|
comment_chars.
|
10881 |
|
|
(do_scrub_next_char): If a line comment character is not at the
|
10882 |
|
|
start of a line, treat it as a comment character if it is one.
|
10883 |
|
|
For a CPP line comment use pseudo-op .appline rather than .line.
|
10884 |
|
|
* input-scrub.c (logical_input_line): Make int rather than
|
10885 |
|
|
unsigned.
|
10886 |
|
|
(input_scrub_push, input_scrub_begin): Initialize
|
10887 |
|
|
logical_input_line to -1 rather than 0.
|
10888 |
|
|
(bump_line_counters): Increment logical_input_line.
|
10889 |
|
|
(new_logical_line): If line_number is -2, decrement
|
10890 |
|
|
logical_input_line.
|
10891 |
|
|
(as_where): Use logical_input_line even if it is 0.
|
10892 |
|
|
* read.h (s_app_file prototype): Now takes an int argument.
|
10893 |
|
|
* read.c (potable): Make .appfile call s_app_file with 1. New
|
10894 |
|
|
.appline pseudo-op calls s_app_line.
|
10895 |
|
|
(s_app_file): If .appfile, call new_logical_line with -2 to
|
10896 |
|
|
account for newline inserted by do_scrub_next_char. If listing,
|
10897 |
|
|
call listing_source_file.
|
10898 |
|
|
(s_app_line): New function to handle fake pseudo-op .appline.
|
10899 |
|
|
* config/obj-coff.c (obj_pseudo_table): Make .appline call
|
10900 |
|
|
obj_coff_ln.
|
10901 |
|
|
(obj_coff_ln): Added argument to indicate whether .appline.
|
10902 |
|
|
* config/obj-coffbfd.c (obj_pseudo_table): Make .appline call
|
10903 |
|
|
obj_coff_ln.
|
10904 |
|
|
(obj_coff_ln): Added argument to indicate whether .appline.
|
10905 |
|
|
* config/tc-mips.c (s_file): Pass argument to s_app_file.
|
10906 |
|
|
|
10907 |
|
|
Tue May 25 11:59:07 1993 Ian Lance Taylor (ian@cygnus.com)
|
10908 |
|
|
|
10909 |
|
|
* config/obj-bout.h (S_GET_VALUE): Removed unnecessary cast.
|
10910 |
|
|
|
10911 |
|
|
Thu May 20 19:14:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10912 |
|
|
|
10913 |
|
|
* config/tc-m68k.c (md_apply_fix_2): Straighten out check for
|
10914 |
|
|
invalid values.
|
10915 |
|
|
|
10916 |
|
|
Wed May 19 07:33:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
10917 |
|
|
|
10918 |
|
|
* config/tc-h5000.c (build_bytes): Understand @rd mode and build
|
10919 |
|
|
relocations correctly.
|
10920 |
|
|
|
10921 |
|
|
Mon May 17 15:06:26 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
|
10922 |
|
|
|
10923 |
|
|
* Makefile.in (FLAGS_TO_PASS): Leave out TEXI2DVI for now, because
|
10924 |
|
|
it's wrong.
|
10925 |
|
|
|
10926 |
|
|
* config/tc-m68k.c (md_apply_fix_2): Apply range checks and warn
|
10927 |
|
|
if value is out of range.
|
10928 |
|
|
|
10929 |
|
|
Patch from Minh Tran-Le:
|
10930 |
|
|
* config/tc-i386.c (i386_operand): For in/out port register used
|
10931 |
|
|
as base reg, include InOutPortReg in operand type.
|
10932 |
|
|
(MATCH): Accept overlap value of InOutPortReg.
|
10933 |
|
|
|
10934 |
|
|
Mon May 17 09:29:34 1993 Ian Lance Taylor (ian@cygnus.com)
|
10935 |
|
|
|
10936 |
|
|
* config/obj-ecoff.c (add_file, obj_ecoff_loc, obj_ecoff_stab):
|
10937 |
|
|
Add calls to listing routines to produce combined source/assembler
|
10938 |
|
|
listings.
|
10939 |
|
|
(obj_ecoff_stab): Create a file pointer if none used yet.
|
10940 |
|
|
(ecoff_frob_file): Set symcount to correct value.
|
10941 |
|
|
|
10942 |
|
|
Fri May 14 06:53:33 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
|
10943 |
|
|
|
10944 |
|
|
* Makefile.in (VERSION): Bump to version 2.1, in preparation for
|
10945 |
|
|
release.
|
10946 |
|
|
|
10947 |
|
|
* config/obj-aout.h (H_GET_HEADER_SIZE, H_SET_SYMBOL_TABLE_SIZE):
|
10948 |
|
|
Define in terms of constants, not C structure sizes.
|
10949 |
|
|
|
10950 |
|
|
* config/tc-rs6000.c, config/tc-rs6000.h: Delete empty files.
|
10951 |
|
|
|
10952 |
|
|
Thu May 13 17:01:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
10953 |
|
|
|
10954 |
|
|
* config/obj-aout.c (obj_header_append): Don't define if it's
|
10955 |
|
|
defined as a macro.
|
10956 |
|
|
* config/obj-hp300.h (obj_header_append): Define it as a macro.
|
10957 |
|
|
* config/obj-hp300.c (hp300_header_append): New function.
|
10958 |
|
|
|
10959 |
|
|
* Makefile.in (distclean): Don't bother cleaning up doc files;
|
10960 |
|
|
they aren't going to be in this directory.
|
10961 |
|
|
|
10962 |
|
|
Thu May 13 07:51:35 1993 Ian Lance Taylor (ian@cygnus.com)
|
10963 |
|
|
|
10964 |
|
|
* config/obj-ecoff.c (ecoff_build_symbols): Handle absolute
|
10965 |
|
|
symbols.
|
10966 |
|
|
|
10967 |
|
|
* tc.h (TC_COFF_SIZEMACHDEP): Don't define here.
|
10968 |
|
|
* config/tc-sh.h (TC_COFF_SIZEMACHDEP): Define here instead.
|
10969 |
|
|
|
10970 |
|
|
Mon May 10 06:01:12 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
10971 |
|
|
|
10972 |
|
|
* config/obj-vms.c (VMS_Symbol_type_list): Don't bother with
|
10973 |
|
|
initialization.
|
10974 |
|
|
|
10975 |
|
|
* configure.in (targets): Treat m68*-*-sysv* like m68k-*-coff.
|
10976 |
|
|
|
10977 |
|
|
Wed May 5 14:00:49 1993 Ian Lance Taylor (ian@cygnus.com)
|
10978 |
|
|
|
10979 |
|
|
* config/tc-mips.c (macro): Correct floating point double word
|
10980 |
|
|
loads and stores for big endian target.
|
10981 |
|
|
|
10982 |
|
|
Wed May 5 08:39:21 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
|
10983 |
|
|
|
10984 |
|
|
* config/tc-i386.c: Replace SEG_* with *_section, fix up subseg_*
|
10985 |
|
|
calls. Deleted some unused code.
|
10986 |
|
|
* config/obj-coff.c: Likewise.
|
10987 |
|
|
|
10988 |
|
|
ELF support, mostly contributed by Utah:
|
10989 |
|
|
* config/obj-elf.c (obj_elf_section, obj_elf_stab, obj_elf_line,
|
10990 |
|
|
obj_elf_type): Rewrite.
|
10991 |
|
|
(obj_elf_frob_symbol, elf_stab_symbol_string, elf_stab_symbol,
|
10992 |
|
|
obj_elf_desc, obj_elf_version, obj_symbol_new_hook, obj_elf_size):
|
10993 |
|
|
New functions.
|
10994 |
|
|
(obj_elf_ident): Dummy.
|
10995 |
|
|
* config/obj-elf.h (FALSE, TRUE, S_*, tc_frob_symbol,
|
10996 |
|
|
TARGET_SYMBOL_FIELDS): New macros.
|
10997 |
|
|
(gdb_section): New variable decl.
|
10998 |
|
|
|
10999 |
|
|
* config/tc-i386.c (md_atof): Return zero, not empty string, on
|
11000 |
|
|
success.
|
11001 |
|
|
|
11002 |
|
|
BFD_ASSEMBLER conditional changes:
|
11003 |
|
|
* config/obj-coff.c (lineno_rootP, seg_N_TYPE, *_section_header):
|
11004 |
|
|
Don't define these.
|
11005 |
|
|
(SA_SET_SYM_ENDNDX, SA_SET_SYM_TAGNDX): New functions.
|
11006 |
|
|
(fetch_coff_debug_section): Ditto.
|
11007 |
|
|
(obj_coff_endef): Call fetch_coff_debug_section.
|
11008 |
|
|
(struct line_no): New type.
|
11009 |
|
|
(c_symbol_merge): New way for copying aux fields.
|
11010 |
|
|
(c_dot_file_symbol): Put symbol in absolute section, and set flag
|
11011 |
|
|
BSF_DEBUGGING.
|
11012 |
|
|
(function_lineoff): New symbol.
|
11013 |
|
|
(function_lineoff, text_lineno_number, our_lineno_number,
|
11014 |
|
|
lineno_lastP): Don't define.
|
11015 |
|
|
(c_line_new): Don't define.
|
11016 |
|
|
(obj_emit_lineno, obj_coff_endef): Use abort calls as, uh,
|
11017 |
|
|
placeholders, until
|
11018 |
|
|
line-number recording gets implemented.
|
11019 |
|
|
(obj_new_symbol_hook): New code for handling aux fields.
|
11020 |
|
|
(add_lineno, add_linesym): New functions.
|
11021 |
|
|
(obj_coff_ln): Call add_lineno, not c_line_new.
|
11022 |
|
|
(obj_coff_endef): New code for handling symbol names. New lineno
|
11023 |
|
|
code. Look for section name "*DEBUG*" for debugging section.
|
11024 |
|
|
(align, coff_check_file_symbols, obj_coff_section,
|
11025 |
|
|
coff_frob_file): New functions.
|
11026 |
|
|
* config/obj-coff.h: Reordered some includes.
|
11027 |
|
|
(BYTE_ORDERING, FILE_HEADER_MAGIC, seg_N_TYPE, N_TYPE_seg,
|
11028 |
|
|
DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE, AOUTHDR, AOUTHDRSIZE): Don't
|
11029 |
|
|
define these.
|
11030 |
|
|
(TARGET_SYMBOL_FIELDS, I960_SYM_FIELDS): New macros.
|
11031 |
|
|
(SYM_AUXENT): New macro (for non-BFD_ASSEMBLER too) for accessing
|
11032 |
|
|
aux entries. Most SA_* macros now use it unconditionally.
|
11033 |
|
|
(S_*): Use `bsym' field, and access BFD private data.
|
11034 |
|
|
(SF_*): Use `sy_flags' symbol field for most of these.
|
11035 |
|
|
(H_*, object_headers, lineno, lineno_*P, OBJ_EMIT_LINENO): Don't
|
11036 |
|
|
define.
|
11037 |
|
|
(*_section_header): Don't define.
|
11038 |
|
|
* config/tc-i386.c (md_convert_frag, md_apply_fix): Changed
|
11039 |
|
|
interface.
|
11040 |
|
|
(tc_gen_reloc) [I386COFF]: New function.
|
11041 |
|
|
(tc_aout_fix_to_chars, tc_coff_fix2rtype): Don't define.
|
11042 |
|
|
* config/tc-i386.h (TARGET_ARCH, TARGET_BYTES_BIG_ENDIAN): New
|
11043 |
|
|
macros.
|
11044 |
|
|
|
11045 |
|
|
* config/obj-coff.c (stack_init): Don't do assignments inside
|
11046 |
|
|
conditions.
|
11047 |
|
|
(obj_coff_def): Simplified handling of symbol name a bit.
|
11048 |
|
|
(tag_insert): Name argument is now pointer to CONST.
|
11049 |
|
|
(obj_crawl_symbol_chain): Commented out.
|
11050 |
|
|
|
11051 |
|
|
* config/obj-coff.h: Use PARAMS macro in prototypes.
|
11052 |
|
|
|
11053 |
|
|
* write.c (relax_and_size_seg) [BFD_ASSEMBLER]: Don't indirect
|
11054 |
|
|
through frchainP pointer if it is null.
|
11055 |
|
|
|
11056 |
|
|
* configure.in: Warn if BFD mode is explicitly turned off but is
|
11057 |
|
|
required by specified target.
|
11058 |
|
|
(mips ecoff targets): Don't need to set bfd_gas here; it gets
|
11059 |
|
|
taken care of later.
|
11060 |
|
|
|
11061 |
|
|
* config/obj-coffbfd.c (crawl_symbols): Don't clear sy_forward
|
11062 |
|
|
field.
|
11063 |
|
|
(yank_symbols): Merge symbols only if sy_forward is null.
|
11064 |
|
|
|
11065 |
|
|
* config/tc-m68k.h (AOUT_MACHTYPE): Don't define if already
|
11066 |
|
|
defined.
|
11067 |
|
|
|
11068 |
|
|
* tc.h (md_convert_frag) [BFD_ASSEMBLER]: Section arg is not
|
11069 |
|
|
pointer.
|
11070 |
|
|
* config/tc-m68k.c (md_convert_frag) [BFD_ASSEMBLER]: Ditto.
|
11071 |
|
|
|
11072 |
|
|
* config/tc-sparc.h (LOCAL_LABEL) [OBJ_ELF]: Anything starting
|
11073 |
|
|
with "." is a local label.
|
11074 |
|
|
|
11075 |
|
|
* config/te-hppa.h, config/tc-hppa.h, config/tc-hppa.c: New config
|
11076 |
|
|
files.
|
11077 |
|
|
|
11078 |
|
|
* config/te-linux.h, config/te-386bsd.h: New config files.
|
11079 |
|
|
* configure.in (i386-*-linux, i386-*-bsd): Use them.
|
11080 |
|
|
* config/tc-i386.h (TARGET_FORMAT): Select format based on target
|
11081 |
|
|
environment.
|
11082 |
|
|
(DOT_LABEL_PREFIX): Don't define for 386bsd or Linux.
|
11083 |
|
|
|
11084 |
|
|
Wed May 5 13:14:01 1993 Ian Lance Taylor (ian@cygnus.com)
|
11085 |
|
|
|
11086 |
|
|
* config/obj-ecoff.c (init_file): Set fMerge to 0 since dbx seems
|
11087 |
|
|
to want it that way.
|
11088 |
|
|
(ecoff_build_symbols): Turn local st_Proc symbols into
|
11089 |
|
|
st_StaticProc symbols. Set index field of external st_Proc and
|
11090 |
|
|
st_staticProc symbols correctly.
|
11091 |
|
|
* config/tc-mips.h (NO_LISTING): Don't define. People might want
|
11092 |
|
|
listings.
|
11093 |
|
|
|
11094 |
|
|
Tue May 4 21:22:54 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11095 |
|
|
|
11096 |
|
|
* config/obj-hp300.h, config/obj-hp300.c, config/te-hp300.h: New
|
11097 |
|
|
files.
|
11098 |
|
|
* configure.in (m68k-*-hpux): Use them.
|
11099 |
|
|
|
11100 |
|
|
* config/obj-aout.c (obj_pre_write_hook): Use AOUT_VERSION if
|
11101 |
|
|
defined, otherwise zero.
|
11102 |
|
|
|
11103 |
|
|
* config/aout_gnu.h (OMAGIC): Don't define if already defined.
|
11104 |
|
|
|
11105 |
|
|
Mon May 3 15:59:32 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
11106 |
|
|
|
11107 |
|
|
* config/tc-sparc.c (sparc_ip): Allow any abs expression as an
|
11108 |
|
|
address space number.
|
11109 |
|
|
|
11110 |
|
|
Wed Apr 28 19:11:22 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
|
11111 |
|
|
|
11112 |
|
|
* config/obj-aout.h (TARGET_DEFAULT): Don't default this at all.
|
11113 |
|
|
|
11114 |
|
|
* config/tc-a29k.c: Include ctype.h.
|
11115 |
|
|
(define_some_regs): Added special-purpose registers for 29050.
|
11116 |
|
|
|
11117 |
|
|
* config/tc-i386.c (comment_chars) [TE_I386AIX]: Include "/".
|
11118 |
|
|
|
11119 |
|
|
* config/obj-coffbfd.c (fill_section): Don't set STYP_REG here.
|
11120 |
|
|
(change_to_section): Set it here instead.
|
11121 |
|
|
|
11122 |
|
|
Wed Apr 28 13:40:29 1993 Ian Lance Taylor (ian@rtl.cygnus.com)
|
11123 |
|
|
|
11124 |
|
|
* config/obj-ecoff.c (obj_symbol_new_hook): Make up a .file if one
|
11125 |
|
|
hasn't been seen yet.
|
11126 |
|
|
(add_ecoff_symbol): Don't refer to cur_file_ptr if it is NULL.
|
11127 |
|
|
|
11128 |
|
|
Mon Apr 26 18:29:05 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
11129 |
|
|
|
11130 |
|
|
* config/tc-sh.c, config/tc-sh.h: New files supporting Hitachi
|
11131 |
|
|
SH.
|
11132 |
|
|
|
11133 |
|
|
Mon Apr 26 12:28:27 1993 Ian Lance Taylor (ian@cygnus.com)
|
11134 |
|
|
|
11135 |
|
|
* expr.c (operand): Fix unary plus operator (previously was the
|
11136 |
|
|
same as '~' operator!).
|
11137 |
|
|
|
11138 |
|
|
Wed Apr 21 00:20:11 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11139 |
|
|
|
11140 |
|
|
* write.c (cvt_frag_to_fill): Define even if BFD is defined.
|
11141 |
|
|
(write_object_file): Do define if BFD_ASSEMBLER. Invoke
|
11142 |
|
|
obj_check_file_symbols if defined. Call verify_symbol_chain_2
|
11143 |
|
|
instead of open-coding it. Fix some bugs in patching up symbol
|
11144 |
|
|
chain.
|
11145 |
|
|
(relax_segment): Make some code we "ought to be able to" use for
|
11146 |
|
|
all targets no longer conditionalized on ns32k target; instead, do
|
11147 |
|
|
it always, and if the appropriate conditions fail, abort.
|
11148 |
|
|
|
11149 |
|
|
* symbols.c (DEBUG): Enabled.
|
11150 |
|
|
(symbol_new): Make sure bfd_make_empty_symbol works.
|
11151 |
|
|
(verify_symbol_chain_2): New function; takes one symbol as
|
11152 |
|
|
argument, anywhere in the chain.
|
11153 |
|
|
(dollar_label*): Use default initializers.
|
11154 |
|
|
|
11155 |
|
|
* as.c (perform_an_assembly_pass): Call md_begin here...
|
11156 |
|
|
(main): ...and not here.
|
11157 |
|
|
|
11158 |
|
|
* config/tc-m68k.h (TARGET_FORMAT): Use a.out-sunos-big for a.out.
|
11159 |
|
|
(tc_frob_symbol): New macro: Get rid of symbols in reg_section.
|
11160 |
|
|
|
11161 |
|
|
* config/tc-m68k.c (omagic): Don't define for BFD_ASSEMBLER.
|
11162 |
|
|
(add_fix, add_frag): Now functions instead of macros.
|
11163 |
|
|
(m68k_reg_parse, m68k_ip, md_estimate_size_before_relax, get_num,
|
11164 |
|
|
s_data1, s_data2, s_bss): Use new *_section names, for
|
11165 |
|
|
compatibility with BFD_ASSEMBLER mode; rewrite switch statements
|
11166 |
|
|
to handle non-integral segT.
|
11167 |
|
|
(tc_coff_fix2rtype, tc_aout_fix_to_chars,
|
11168 |
|
|
tc_coff_symbol_emit_hook): Don't define for BFD_ASSEMBLER.
|
11169 |
|
|
(tc_gen_reloc): New routine for BFD_ASSEMBLER.
|
11170 |
|
|
(md_apply_fix, md_apply_fix_2): Renamed old md_apply_fix to
|
11171 |
|
|
md_apply_fix_2; new md_apply_fix definition varies interface
|
11172 |
|
|
depending on BFD_ASSEMBLER.
|
11173 |
|
|
(md_convert_frag, md_convert_frag_1): Likewise. Use new *_section
|
11174 |
|
|
names.
|
11175 |
|
|
|
11176 |
|
|
* config/obj-vms.c: Include config.h.
|
11177 |
|
|
(version_string): Delete declaration.
|
11178 |
|
|
(Write_VMS_MHD_Records): Use GAS_VERSION instead.
|
11179 |
|
|
(vms_resolve_symbol_redef): New function, taken from VMS code in
|
11180 |
|
|
symbols.c.
|
11181 |
|
|
(_doprnt): Deleted.
|
11182 |
|
|
(VMS_Store_Struct, VMS_Def_Struct, VMS_Set_Struct,
|
11183 |
|
|
VMS_TBT_Block_End, get_VMS_time_on_unix, generate_suffix,
|
11184 |
|
|
VMS_Psect_Spec): Fixed to compile under traditional C.
|
11185 |
|
|
* config/obj-vms.h: Use PARAMS macro.
|
11186 |
|
|
(vms_resolve_symbol_redef): Declare.
|
11187 |
|
|
(RESOLVE_SYMBOL_REDEFINITION): New macro.
|
11188 |
|
|
* symbols.c (colon): Remove some VMS-specific code, look for
|
11189 |
|
|
RESOLVE_SYMBOL_REDEFINITION macro instead.
|
11190 |
|
|
|
11191 |
|
|
* config/tc-m68k.c (m68k_ip): Don't try expanding DBcc
|
11192 |
|
|
instructions.
|
11193 |
|
|
|
11194 |
|
|
* config/tc-i386.c: Reordered some functions so inlining might
|
11195 |
|
|
work. Use PARAMS in function declarations.
|
11196 |
|
|
(reloc): New routine.
|
11197 |
|
|
(md_assemble): Rearrange switch statements to work with
|
11198 |
|
|
non-integral segT.
|
11199 |
|
|
|
11200 |
|
|
* struc-symbol.h [BFD_ASSEMBLER]: Undefine
|
11201 |
|
|
SYMBOLS_NEED_BACKPOINTERS before defining it.
|
11202 |
|
|
|
11203 |
|
|
* subsegs.c (subseg_new_rest): Now static.
|
11204 |
|
|
|
11205 |
|
|
* read.c (pseudo_set): Better error message for difference of
|
11206 |
|
|
symbols in different frags.
|
11207 |
|
|
|
11208 |
|
|
* Makefile.in (check): Pass down some new variables, indicating
|
11209 |
|
|
pathname or program name for cc, nm, objdump.
|
11210 |
|
|
|
11211 |
|
|
* as.h (OUTPUT_FLAVOR): New macro.
|
11212 |
|
|
* config/tc-sparc.c (tc_gen_reloc): Use OUTPUT_FLAVOR.
|
11213 |
|
|
|
11214 |
|
|
* configure.in: Initialize bfd_gas properly. Warn that ELF
|
11215 |
|
|
support is incomplete.
|
11216 |
|
|
|
11217 |
|
|
Thu Apr 15 22:39:05 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11218 |
|
|
|
11219 |
|
|
* read.c (float_cons): Accept null pointer return from md_atof.
|
11220 |
|
|
* config/tc-m68k.c (md_atof): Return null for success.
|
11221 |
|
|
* config/tc-sparc.c (md_atof): Ditto.
|
11222 |
|
|
|
11223 |
|
|
Thu Apr 15 16:04:39 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
|
11224 |
|
|
|
11225 |
|
|
* doc/as.texinfo: formatting and comment cleanups; show SPARC
|
11226 |
|
|
alternative options in same style as other machines; simplify some
|
11227 |
|
|
conditional use; include GPL as separate file (from texinfo dir)
|
11228 |
|
|
|
11229 |
|
|
* doc/Makefile.in: (as.info) include directory containing GPL in
|
11230 |
|
|
makeinfo search path
|
11231 |
|
|
|
11232 |
|
|
* doc/h8.texi: new file; conditional settings for GAS manual
|
11233 |
|
|
on Hitachi chips
|
11234 |
|
|
|
11235 |
|
|
Tue Apr 13 15:31:40 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
|
11236 |
|
|
|
11237 |
|
|
* doc/as.texinfo: mention SPARC architecture options.
|
11238 |
|
|
|
11239 |
|
|
Fri Apr 9 17:43:11 1993 Ken Raeburn (raeburn@cygnus.com)
|
11240 |
|
|
|
11241 |
|
|
* configure.in: Rearranged whitespace in per-host/per-target
|
11242 |
|
|
sections. Added hooks for dropping in HPPA support (not included
|
11243 |
|
|
yet). Separate out overrides of variables based on target format
|
11244 |
|
|
and bfd-gas selection from actual target-specific commands. Add
|
11245 |
|
|
error message for recognized but unsupported format name.
|
11246 |
|
|
|
11247 |
|
|
Fri Apr 9 09:05:47 1993 Ian Lance Taylor (ian@cygnus.com)
|
11248 |
|
|
|
11249 |
|
|
* config/obj-ecoff.h (ecoff_build_lineno): Make ilineMax in
|
11250 |
|
|
symbolic header match cline in FDR; the native linker seems to
|
11251 |
|
|
want that.
|
11252 |
|
|
|
11253 |
|
|
Thu Apr 8 15:51:28 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
11254 |
|
|
|
11255 |
|
|
* doc/Makefile.in: as.texinfo is in $(srcdir). Use
|
11256 |
|
|
$(srcdir)/as.texinfo explicitly in several places
|
11257 |
|
|
|
11258 |
|
|
Thu Apr 8 15:15:02 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
|
11259 |
|
|
|
11260 |
|
|
* doc/Makefile.in: update dvi, clean targets for new source
|
11261 |
|
|
file structure
|
11262 |
|
|
|
11263 |
|
|
Thu Apr 8 12:52:46 1993 Ian Lance Taylor (ian@cygnus.com)
|
11264 |
|
|
|
11265 |
|
|
* config/ho-decstatn.h: Define BROKEN_ASSERT if not __GNUC__,
|
11266 |
|
|
rather than undefining know.
|
11267 |
|
|
* configure.in: Match ultrix*, not just ultrix.
|
11268 |
|
|
|
11269 |
|
|
Wed Apr 7 20:18:10 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
|
11270 |
|
|
|
11271 |
|
|
* doc/as.texinfo: converted conditional markup to use new
|
11272 |
|
|
Texinfo facilities, avoiding m4.
|
11273 |
|
|
|
11274 |
|
|
* doc/as-all.texinfo, all.m4, pretex.m4: deleted.
|
11275 |
|
|
|
11276 |
|
|
* doc/Makefile.in: recast doc configuration to use a link to an
|
11277 |
|
|
included texinfo file.
|
11278 |
|
|
|
11279 |
|
|
* doc/all.texi: settings for generic form of documentation.
|
11280 |
|
|
|
11281 |
|
|
Tue Apr 6 11:56:21 1993 Ian Lance Taylor (ian@cygnus.com)
|
11282 |
|
|
|
11283 |
|
|
* read.c (cons): Zero out frag when creating reloc.
|
11284 |
|
|
|
11285 |
|
|
Mon Apr 5 09:41:58 1993 Ian Lance Taylor (ian@cygnus.com)
|
11286 |
|
|
|
11287 |
|
|
* config/tc-mips.c (gp_reference): Certain magic symbols can never
|
11288 |
|
|
be referenced off the GP register.
|
11289 |
|
|
|
11290 |
|
|
* app.c (do_scrub_next_char): Handle states 9 and 10 correctly
|
11291 |
|
|
when dealing with characters of type LEX_IS_TWOCHAR_COMMENT_1ST,
|
11292 |
|
|
LEX_IS_STRINGQUOTE, and LEX_IS_ONECHAR_QUOTE.
|
11293 |
|
|
|
11294 |
|
|
* config/te-irix.h: New file; irix needs a different LOCAL_LABEL
|
11295 |
|
|
definition from other MIPS targets.
|
11296 |
|
|
* configure.in (mips-*-irix): Use emulation irix.
|
11297 |
|
|
|
11298 |
|
|
Sun Apr 4 15:21:09 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
11299 |
|
|
|
11300 |
|
|
* config/tc-h8500.c: Get relax size of branch instructions right,
|
11301 |
|
|
(get_operand): Parse @sp+ correctly.
|
11302 |
|
|
|
11303 |
|
|
Fri Apr 2 15:59:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11304 |
|
|
|
11305 |
|
|
* subsegs.h (segment_info_type) [BFD_ASSEMBLER]: Don't include
|
11306 |
|
|
COFF section header field.
|
11307 |
|
|
|
11308 |
|
|
* configure.in: Print error message if host or target is not
|
11309 |
|
|
supported.
|
11310 |
|
|
|
11311 |
|
|
* configure.in: If with-bfd-assembler, use obj-coff instead of
|
11312 |
|
|
obj-coffbfd.
|
11313 |
|
|
|
11314 |
|
|
* config/ho-generic.h: Include string.h.
|
11315 |
|
|
|
11316 |
|
|
Fri Apr 2 08:54:57 1993 Ian Lance Taylor (ian@cygnus.com)
|
11317 |
|
|
|
11318 |
|
|
* config/tc-mips.h (LOCAL_LABEL): Treat any label starting with
|
11319 |
|
|
'$' as local, for any object file format.
|
11320 |
|
|
|
11321 |
|
|
* config/tc-mips.c (macro): Optimizations to branching code and a
|
11322 |
|
|
couple of bug fixes from ralphc@pyrps5.eng.pyramid.com (Ralph
|
11323 |
|
|
Campbell).
|
11324 |
|
|
|
11325 |
|
|
* config/ho-irix.h: New file; if not gcc, define BROKEN_ASSERT.
|
11326 |
|
|
* configure.in (mips-sgi-irix*): Set gas_host to irix.
|
11327 |
|
|
|
11328 |
|
|
Wed Mar 31 17:53:54 1993 Ian Lance Taylor (ian@cygnus.com)
|
11329 |
|
|
|
11330 |
|
|
* subsegs.c (subseg_new): Set output_section of new section.
|
11331 |
|
|
* as.c (perform_an_assemly_pass): Don't set output_section here.
|
11332 |
|
|
* expr.c (expr_part, expr): Turn off section assertions for ECOFF,
|
11333 |
|
|
since it has additional sections.
|
11334 |
|
|
* read.c (s_lcomm): For MIPS ECOFF, put small objects in .sbss,
|
11335 |
|
|
not bss_section.
|
11336 |
|
|
* config/obj-ecoff.h (TARGET_SYMBOL_FIELDS): Added
|
11337 |
|
|
ecoff_undefined field.
|
11338 |
|
|
* config/obj-ecoff.c (obj_symbol_new_hook): Initialize
|
11339 |
|
|
ecoff_undefined field.
|
11340 |
|
|
(add_file): If using stabs, just output a stabs symbol rather than
|
11341 |
|
|
creating a new fdr.
|
11342 |
|
|
(obj_ecoff_begin, obj_ecoff_bend): Ignore line number by reading
|
11343 |
|
|
it with get_absolute_expression, rather than skipping it by hand.
|
11344 |
|
|
(obj_ecoff_loc): If using stabs, just output a stabs symbol rather
|
11345 |
|
|
than ECOFF line number information.
|
11346 |
|
|
(obj_ecoff_stab): Accept non-zero values for stabs line number.
|
11347 |
|
|
(ecoff_build_symbols): Set ifilesym correctly. Set storage class
|
11348 |
|
|
to small, undefined and/or readonly sections if appropriate.
|
11349 |
|
|
Don't output symbol names containing \001 characters.
|
11350 |
|
|
(ecoff_frob_file): Make sure at least one fdr is output.
|
11351 |
|
|
* config/tc-mips.h: Define TC_MIPS.
|
11352 |
|
|
* config/tc-mips.c (g_switch_value): New static variable.
|
11353 |
|
|
(md_assemble): Set gp size of output BFD.
|
11354 |
|
|
(gp_reference): New function; returns 1 if expression can be
|
11355 |
|
|
accesssed via gp. Always returns 0 if not using ECOFF.
|
11356 |
|
|
(macro_build): Convert BFD_RELOC_LO16 to BFD_RELOC_MIPS_GPREL if
|
11357 |
|
|
possible.
|
11358 |
|
|
(macro): Generate sequences using gp if possible.
|
11359 |
|
|
(md_parse_option): Ignore -EL and -EB. Parse -G.
|
11360 |
|
|
(md_apply_fix): Added BFD_RELOC_MIPS_GPREL to ignored case.
|
11361 |
|
|
(s_change_sec): Handle .rdata and .sdata for ECOFF.
|
11362 |
|
|
(s_extern): Mark symbol as external. Set ecoff_undefined field.
|
11363 |
|
|
|
11364 |
|
|
Tue Mar 30 10:11:41 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11365 |
|
|
|
11366 |
|
|
* output-file.c (output_file_create): Don't call as_perror for
|
11367 |
|
|
filename rejected by application.
|
11368 |
|
|
|
11369 |
|
|
* as.c (main) [BFD_ASSEMBLER]: If errors occur, close and unlink
|
11370 |
|
|
the output file.
|
11371 |
|
|
|
11372 |
|
|
* doc/as.texinfo: Don't use @value in node names for the moment;
|
11373 |
|
|
references don't appear to work right.
|
11374 |
|
|
|
11375 |
|
|
* as.h (const, volatile): Put these definitions back, and use
|
11376 |
|
|
them.
|
11377 |
|
|
|
11378 |
|
|
* doc/as.texinfo: First pass at using new texinfo features --
|
11379 |
|
|
variables, conditional tests. Far from complete.
|
11380 |
|
|
|
11381 |
|
|
Mon Mar 29 16:05:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11382 |
|
|
|
11383 |
|
|
* read.c: Temporary hack to handle some 64-bit constants. This
|
11384 |
|
|
should be redone later.
|
11385 |
|
|
(target_big_endian): Declare.
|
11386 |
|
|
(big_cons): If it's set, reverse order of bytes being copied.
|
11387 |
|
|
* config/tc-sparc.c (md_begin): Set target_big_endian.
|
11388 |
|
|
|
11389 |
|
|
* read.c (s_ignore): Delete declaration of is_end_of_line.
|
11390 |
|
|
|
11391 |
|
|
* config/obj-coffbfd.c (yank_symbols): Build list of file symbol
|
11392 |
|
|
forward pointers properly.
|
11393 |
|
|
|
11394 |
|
|
Mon Mar 29 13:47:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
11395 |
|
|
|
11396 |
|
|
* config/obj-coffbfd.c (do_relocs_for): Fix bug where nrelocs
|
11397 |
|
|
wasn't being stored into scnhdr.
|
11398 |
|
|
* config/obj-coffbfd.h: Add prototype of s_get_segment.
|
11399 |
|
|
* read.c (TC_START_LABEL): Default definition.
|
11400 |
|
|
(read_a_source_file): Use TC_START_LABEL macro to work out
|
11401 |
|
|
if a label has been seen.
|
11402 |
|
|
|
11403 |
|
|
Mon Mar 29 12:56:56 1993 Ian Lance Taylor (ian@cygnus.com)
|
11404 |
|
|
|
11405 |
|
|
* configure.in: Set BFDDEF and BFDLIB at the top of Makefile, not
|
11406 |
|
|
the bottom (make expands variables in dependencies when the
|
11407 |
|
|
dependencies are read, not when they are used).
|
11408 |
|
|
|
11409 |
|
|
* config/obj-coffbfd.c (fill_section): Don't set NOLOAD bit for
|
11410 |
|
|
a29k .bss section; the mondfe program doesn't like it.
|
11411 |
|
|
|
11412 |
|
|
Sun Mar 28 08:12:53 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
11413 |
|
|
|
11414 |
|
|
* config/tc-m68k.c: Use PARAMS macro, and use CONST instead of
|
11415 |
|
|
const.
|
11416 |
|
|
(current_architecture): Don't need initializer.
|
11417 |
|
|
|
11418 |
|
|
Fri Mar 26 08:12:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11419 |
|
|
|
11420 |
|
|
* doc/none.m4: Define Z8000.
|
11421 |
|
|
* doc/Makefile.in (as-*.texinfo): Refer to $(srcdir). Remove the
|
11422 |
|
|
texinfo file before recreating it.
|
11423 |
|
|
(TEXI2DVI): Need to set TEXINPUTS if "make as.dvi" is to work in
|
11424 |
|
|
this directory.
|
11425 |
|
|
(srcdir): Delete second, bogus definition.
|
11426 |
|
|
(as.info): Look for as-*.texinfo in current directory rather than
|
11427 |
|
|
in $(srcdir).
|
11428 |
|
|
(as.dvi): Ditto.
|
11429 |
|
|
(dvi): New rule.
|
11430 |
|
|
* doc/configure.in: Create links to all as-*.texinfo files in the
|
11431 |
|
|
source directory, if that's not the current directory.
|
11432 |
|
|
|
11433 |
|
|
* configure.in (per-host): Accept MIPS host with BSD version
|
11434 |
|
|
number.
|
11435 |
|
|
(per-target): Classify i486 as i386. Use generic cpu_type instead
|
11436 |
|
|
of target_cpu in selecting format etc.
|
11437 |
|
|
|
11438 |
|
|
* app.c (do_scrub_next_char): Use .appfile, not .app-file.
|
11439 |
|
|
* read.c (potable): Change .app-file to .appfile.
|
11440 |
|
|
|
11441 |
|
|
* config/ho-decstatn.h: Renamed from ho-decstation.h.
|
11442 |
|
|
* configure.in: Adjusted.
|
11443 |
|
|
|
11444 |
|
|
* config/obj-bfd-sunos.*: Unused; deleted.
|
11445 |
|
|
|
11446 |
|
|
* Makefile.in (version.c, vers-stamp): Deleted.
|
11447 |
|
|
(config.h): Define GAS_VERSION.
|
11448 |
|
|
* as.c (version_string): Deleted declaration.
|
11449 |
|
|
(main): Look for GAS_VERSION instead.
|
11450 |
|
|
|
11451 |
|
|
* doc/as.texinfo: Updated description of -a* (listing) options,
|
11452 |
|
|
and describe how to pass them through from gcc.
|
11453 |
|
|
|
11454 |
|
|
* config/obj-coffbfd.c (do_relocs_for): Don't allocate storage or
|
11455 |
|
|
process relocs if there aren't any relocs to process. Avoids
|
11456 |
|
|
malloc/free bug on SCO too.
|
11457 |
|
|
|
11458 |
|
|
* as.h: Move local include files below system include files, to
|
11459 |
|
|
avoid some redefinition complaints on some systems.
|
11460 |
|
|
(const, volatile): Don't need these conditionally defined if we
|
11461 |
|
|
use CONST and VOLATILE from ansidecl.h.
|
11462 |
|
|
(seg_name): Use CONST, not const.
|
11463 |
|
|
|
11464 |
|
|
Fri Mar 26 10:22:04 1993 Ian Lance Taylor (ian@cygnus.com)
|
11465 |
|
|
|
11466 |
|
|
* config/tc-mips.c: Reindented to GNU standards.
|
11467 |
|
|
|
11468 |
|
|
Thu Mar 25 08:59:14 1993 Ian Lance Taylor (ian@cygnus.com)
|
11469 |
|
|
|
11470 |
|
|
* config/obj-coffbfd.c (do_relocs_for): Remove a29k special case.
|
11471 |
|
|
(fixup_segment): Add a29k special case; the linker is not prepared
|
11472 |
|
|
to see a segment offset here.
|
11473 |
|
|
|
11474 |
|
|
* app.c (do_scrub_next_char): Added new state, 10, modifying state
|
11475 |
|
|
9 to only keep a space in between identifier characters.
|
11476 |
|
|
|
11477 |
|
|
Wed Mar 24 02:16:22 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
|
11478 |
|
|
|
11479 |
|
|
* Makefile.in: add dvi target; as-$(config).texinfo might live in
|
11480 |
|
|
srcdir, might be in objdir.
|
11481 |
|
|
|
11482 |
|
|
* doc/Makefile.in: dvi depends on as.dvi
|
11483 |
|
|
|
11484 |
|
|
Mon Mar 22 23:59:13 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
11485 |
|
|
|
11486 |
|
|
* Makefile.in: add installcheck target
|
11487 |
|
|
|
11488 |
|
|
Mon Mar 22 16:25:57 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
|
11489 |
|
|
|
11490 |
|
|
* config/tc-sparc.c (sparc_ip): Add support for membar mask names.
|
11491 |
|
|
Add missing colons in prefetch error messages. Add support for
|
11492 |
|
|
ASI names.
|
11493 |
|
|
|
11494 |
|
|
Mon Mar 22 10:19:00 1993 Ian Lance Taylor (ian@cygnus.com)
|
11495 |
|
|
|
11496 |
|
|
* config/tc-mips.c (macro): Use $AT for any floating point load.
|
11497 |
|
|
|
11498 |
|
|
Sat Mar 20 12:50:51 1993 Ken Raeburn (raeburn@urth.cygnus.com)
|
11499 |
|
|
|
11500 |
|
|
* config/tc-m68k.c (m68k_ip): For operand type 'M', reject
|
11501 |
|
|
bignums, but don't emit error message.
|
11502 |
|
|
|
11503 |
|
|
Fri Mar 19 21:02:19 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
|
11504 |
|
|
|
11505 |
|
|
* Makefile.in (targ-cpu.o): Depend on config.h.
|
11506 |
|
|
|
11507 |
|
|
Wed Mar 17 16:44:06 1993 Ian Lance Taylor (ian@cygnus.com)
|
11508 |
|
|
|
11509 |
|
|
* app.c (do_scrub_next_char): Added new state, 9, to avoid
|
11510 |
|
|
dropping a space immediately following an identifier.
|
11511 |
|
|
* expr.c, write.c: Rewrote assert expressions to not use multiple
|
11512 |
|
|
lines; I don't think that can be done portably.
|
11513 |
|
|
* config/tc-mips.c (macro): Use $AT if target register is zero in
|
11514 |
|
|
load instruction, which it can be for a floating point load.
|
11515 |
|
|
|
11516 |
|
|
Mon Mar 15 12:17:28 1993 Ian Lance Taylor (ian@cygnus.com)
|
11517 |
|
|
|
11518 |
|
|
* write.c (write_contents): Compute the relocs before writing out
|
11519 |
|
|
the section contents.
|
11520 |
|
|
* config/obj-ecoff.h, config/obj-ecoff.c: Numerous changes to get
|
11521 |
|
|
symbol table and values right.
|
11522 |
|
|
* config/tc-mips.h (LOCAL_LABEL): If OBJ_ECOFF, any label starting
|
11523 |
|
|
with $L is local.
|
11524 |
|
|
* config/tc-mips.c (tc_gen_reloc): If OBJ_ECOFF, adjust the addend
|
11525 |
|
|
by the section vma.
|
11526 |
|
|
|
11527 |
|
|
* config/z8k.mt (TARG_CPU_DEPENDENTS): The relevant file is
|
11528 |
|
|
z8k-opc.h, not z8k.h.
|
11529 |
|
|
|
11530 |
|
|
* config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
|
11531 |
|
|
symbol.
|
11532 |
|
|
|
11533 |
|
|
Fri Mar 12 18:33:36 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
11534 |
|
|
|
11535 |
|
|
* configure.in: recognize sparc-sun-solaris2* instead of -solaris2
|
11536 |
|
|
|
11537 |
|
|
Fri Mar 12 12:00:07 1993 Ian Lance Taylor (ian@cygnus.com)
|
11538 |
|
|
|
11539 |
|
|
* expr.c, write.c: Ultrix native 4.2 cc requires assert condition
|
11540 |
|
|
to be on a single line.
|
11541 |
|
|
|
11542 |
|
|
Thu Mar 11 17:56:22 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11543 |
|
|
|
11544 |
|
|
* Makefile.in (config.h): Create file, writing out definitions of
|
11545 |
|
|
target cpu, alias, and canonical name.
|
11546 |
|
|
(ALL_CFLAGS): No longer define TARGET_CPU.
|
11547 |
|
|
|
11548 |
|
|
* Makefile.in (check): Print a message, instead of quitting
|
11549 |
|
|
silently.
|
11550 |
|
|
|
11551 |
|
|
* as.c (main): Don't catch any signals, for now.
|
11552 |
|
|
|
11553 |
|
|
* version.c: Deleted.
|
11554 |
|
|
* Makefile.in: Generate it, putting in only the version number
|
11555 |
|
|
itself.
|
11556 |
|
|
(VERSION): New variable.
|
11557 |
|
|
* as.c: Include config.h.
|
11558 |
|
|
(main): Reformatted version string. Include target alias. Don't
|
11559 |
|
|
print if not requested (i.e., unknown -v argument).
|
11560 |
|
|
|
11561 |
|
|
* as.c (stralloc): Deleted.
|
11562 |
|
|
(main): Call strdup instead.
|
11563 |
|
|
|
11564 |
|
|
* configure.in: Handle all 68300 series chips.
|
11565 |
|
|
* config/tc-m68k.c: Include config.h.
|
11566 |
|
|
(md_assemble): Assume TARGET_CPU is defined. Accept some 68300
|
11567 |
|
|
series cpus as defaults.
|
11568 |
|
|
(md_parse_option): Accept some m68300 series CPUs as defaults.
|
11569 |
|
|
|
11570 |
|
|
Wed Mar 10 17:41:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11571 |
|
|
|
11572 |
|
|
* as.c (EXIT_SUCCESS, EXIT_FAILURE): Define to normal values if
|
11573 |
|
|
not already defined.
|
11574 |
|
|
(main, got_sig): Use them.
|
11575 |
|
|
* config/ho-vms.h (EXIT_SUCCESS, EXIT_FAILURE): Reverse default
|
11576 |
|
|
values.
|
11577 |
|
|
|
11578 |
|
|
Tue Mar 9 07:40:06 1993 Ian Lance Taylor (ian@cygnus.com)
|
11579 |
|
|
|
11580 |
|
|
* config/obj-ecoff.c, config/obj-ecoff.h: Preliminary ECOFF
|
11581 |
|
|
support.
|
11582 |
|
|
|
11583 |
|
|
* config/tc-mips.h (TARGET_FORMAT): Define based on OBJ_AOUT vs.
|
11584 |
|
|
OBJ_ECOFF as well as TARGET_BYTES_*_ENDIAN.
|
11585 |
|
|
(struct loc, struct proc, struct file): Moved to tc-mips.c within
|
11586 |
|
|
#ifndef OBJ_ECOFF block, since ECOFF uses different versions.
|
11587 |
|
|
* config/tc-mips.c: Rearranged for ECOFF support. Added
|
11588 |
|
|
prototypes for all static functions. Moved existing minimal
|
11589 |
|
|
debugging format support info #ifndef OBJ_ECOFF blocks.
|
11590 |
|
|
(macro_build_lui): Eliminated sign_extend argument, because ECOFF
|
11591 |
|
|
does not support a non sign extended high 16 bits reloc. Adjusted
|
11592 |
|
|
all callers accordingly.
|
11593 |
|
|
(tc_get_register): Renamed from get_register, and made non-static.
|
11594 |
|
|
|
11595 |
|
|
* config/mips-big.mt, config/mips-lit.mt: New files. Define
|
11596 |
|
|
TARGET_BYTES_BIG_ENDIAN and TARGET_BYTES_LITTLE_ENDIAN,
|
11597 |
|
|
respectively.
|
11598 |
|
|
* configure.in (mips-*-bsd*): Use gas_target mips-lit.
|
11599 |
|
|
(mips-*-ultrix*, mips-*-irix*, mips-*-ecoff): New targets, using
|
11600 |
|
|
obj_format ecoff and gas_target mips-lit or mips-big.
|
11601 |
|
|
|
11602 |
|
|
Tue Mar 9 07:43:01 1993 Ken Raeburn (raeburn@cygnus.com)
|
11603 |
|
|
|
11604 |
|
|
* version.c: Bump to version 2.0.1.
|
11605 |
|
|
|
11606 |
|
|
Tue Mar 9 07:40:06 1993 Ian Lance Taylor (ian@cygnus.com)
|
11607 |
|
|
|
11608 |
|
|
* write.c (chain_frchains_together): Check that seg_info (section)
|
11609 |
|
|
is not NULL.
|
11610 |
|
|
(write_object_file): Call obj_frob_file after setting the symbols,
|
11611 |
|
|
not before.
|
11612 |
|
|
|
11613 |
|
|
Tue Mar 9 00:00:00 1993 Ken Raeburn (raeburn@cygnus.com)
|
11614 |
|
|
|
11615 |
|
|
* Version 2.0 released.
|
11616 |
|
|
|
11617 |
|
|
Mon Mar 8 14:57:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11618 |
|
|
|
11619 |
|
|
* config/tc-i386.h (TC_COUNT_RELOC): Look for fx_addsy only.
|
11620 |
|
|
|
11621 |
|
|
Fri Mar 5 09:05:55 1993 Ian Lance Taylor (ian@cygnus.com)
|
11622 |
|
|
|
11623 |
|
|
* read.h: Define stringer here.
|
11624 |
|
|
* read.c, config/obj-ieee.c, config/obj-tcm88k.c: Not any of these
|
11625 |
|
|
places.
|
11626 |
|
|
|
11627 |
|
|
Thu Mar 4 11:52:23 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
11628 |
|
|
|
11629 |
|
|
* read.c (s_space): Multiply repeat count by mult, not fill.
|
11630 |
|
|
|
11631 |
|
|
Thu Mar 4 05:20:42 1993 Ken Raeburn (raeburn@cygnus.com)
|
11632 |
|
|
|
11633 |
|
|
* read.c: Include ctype.h.
|
11634 |
|
|
|
11635 |
|
|
Wed Mar 3 10:41:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11636 |
|
|
|
11637 |
|
|
Patches from Eric Youngdale:
|
11638 |
|
|
* make-gas.com: Find obstack.obj if it's not in the current
|
11639 |
|
|
directory.
|
11640 |
|
|
* read.c (s_ignore): Don't declare is_end_of_line. It's
|
11641 |
|
|
redundant, and triggers a VMS gcc compiler bug.
|
11642 |
|
|
|
11643 |
|
|
* write.c (write_object_file): Macro SUB_SEGMENT_ALIGN now takes
|
11644 |
|
|
current segment as an argument. (Ignored in all cases but VMS.)
|
11645 |
|
|
All callers and definitions changed.
|
11646 |
|
|
|
11647 |
|
|
Tue Mar 2 11:56:19 1993 Ian Lance Taylor (ian@cygnus.com)
|
11648 |
|
|
|
11649 |
|
|
* listing.c: Cleaned up a bit, added prototypes, made NO_LISTING
|
11650 |
|
|
case compile again.
|
11651 |
|
|
|
11652 |
|
|
Tue Mar 2 08:53:34 1993 Ken Raeburn (raeburn@cygnus.com)
|
11653 |
|
|
|
11654 |
|
|
* config/tc-m68k.c (isbyte): Accept all values from -255 to +255,
|
11655 |
|
|
so "~0x80" won't be rejected.
|
11656 |
|
|
|
11657 |
|
|
* config/obj-elf.c: No longer include elf/reloc.h.
|
11658 |
|
|
(obj_elf_section): Set SEC_READONLY and SEC_CODE for text section.
|
11659 |
|
|
(obj_elf_stab, obj_elf_desc): Deleted do-nothing and commented-out
|
11660 |
|
|
routines.
|
11661 |
|
|
(obj_elf_xstab): New routine.
|
11662 |
|
|
(obj_elf_set_size): Call as_warn, not fprintf. Pass desired
|
11663 |
|
|
argument to s_ignore. Put "#if 0" around unused code.
|
11664 |
|
|
(obj_pseudo_table): Use s_ignore instead of do-nothing routines.
|
11665 |
|
|
Call elf_xstabs for .stabs and .xstabs operators.
|
11666 |
|
|
|
11667 |
|
|
* config/tc-sparc.h (TARGET_FORMAT) [OBJ_ELF]: Now "elf32-sparc".
|
11668 |
|
|
|
11669 |
|
|
* write.c (relax_and_size_seg): Set SEC_RELOC only if fixups are
|
11670 |
|
|
present.
|
11671 |
|
|
|
11672 |
|
|
* configure.in: mips-bsd configuration was missing format spec.
|
11673 |
|
|
Should use aout.
|
11674 |
|
|
|
11675 |
|
|
* Makefile.in (Makefile): Depends on configure.in.
|
11676 |
|
|
|
11677 |
|
|
* config/tc-mips.c (append_insn): Don't check for alignment of
|
11678 |
|
|
frag in memory; alignment of instructions in section is a separate
|
11679 |
|
|
matter.
|
11680 |
|
|
|
11681 |
|
|
* config/tc-mips.c (macro_build_lui): Fix some assumptions of ANSI
|
11682 |
|
|
C availability.
|
11683 |
|
|
|
11684 |
|
|
* listing.h: Always provide function declarations, not macros, so
|
11685 |
|
|
pcc won't lose.
|
11686 |
|
|
|
11687 |
|
|
Tue Mar 2 00:50:43 1993 John Gilmore (gnu@cygnus.com)
|
11688 |
|
|
|
11689 |
|
|
* CONTRIBUTORS: Update Gilmore entry.
|
11690 |
|
|
|
11691 |
|
|
Mon Mar 1 12:03:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
|
11692 |
|
|
|
11693 |
|
|
* config/tc-sparc.c (sparc_ip): Correctly assemble prefetch
|
11694 |
|
|
instructions. Accept integer prefetch function numbers.
|
11695 |
|
|
|
11696 |
|
|
Wed Feb 24 14:58:19 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11697 |
|
|
|
11698 |
|
|
* config/tc-sparc.c (s_xword): Now call big_cons, so large
|
11699 |
|
|
constants are accepted, but symbolic values are not. GCC will not
|
11700 |
|
|
generate the latter currently.
|
11701 |
|
|
|
11702 |
|
|
* frags.c (frag_init): New function.
|
11703 |
|
|
(zero_address_frag, bss_address_frag): Now initialized at run
|
11704 |
|
|
time.
|
11705 |
|
|
* as.c (main): Call frag_init.
|
11706 |
|
|
|
11707 |
|
|
Wed Feb 24 10:32:42 1993 Ian Lance Taylor (ian@cygnus.com)
|
11708 |
|
|
|
11709 |
|
|
* app.c (do_scrub_next_char): In LEX_IS_LINE_COMMENT_START case:
|
11710 |
|
|
Don't unget ch2 if we didn't get it.
|
11711 |
|
|
|
11712 |
|
|
Wed Feb 24 04:14:07 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
11713 |
|
|
|
11714 |
|
|
* doc/Makefile.in (TEXIDIR): Updated for new layout.
|
11715 |
|
|
|
11716 |
|
|
* config/tc-sparc.c (s_common): Add support for ELF version.
|
11717 |
|
|
(tc_gen_reloc) [BFD_ASSEMBLER]: New function.
|
11718 |
|
|
* config/tc-sparc.h (TARGET_ARCH, TARGET_FORMAT) [BFD_ASSEMBLER]:
|
11719 |
|
|
New macros.
|
11720 |
|
|
(md_convert_frag): New macro.
|
11721 |
|
|
|
11722 |
|
|
* config/tc-m68k.c (m68k_ip): For PC-relative addressing of a
|
11723 |
|
|
symbol, fix the offset so "+2" isn't required.
|
11724 |
|
|
|
11725 |
|
|
* config/tc-i960.c (line_comment_chars, line_separator_chars):
|
11726 |
|
|
Define as common/bss.
|
11727 |
|
|
(op_hash, reg_hash, areg_hash, iclasses_seen, br_cnt): Default C
|
11728 |
|
|
initializers are sufficient.
|
11729 |
|
|
|
11730 |
|
|
* config/obj-aout.h [BFD_ASSEMBLER]: Include libaout.h from bfd.
|
11731 |
|
|
(TARGET_FORMAT) [BFD_ASSEMBLER]: Default to "a.out".
|
11732 |
|
|
(S_SET_*, S_GET_*, obj_frob_symbol) [BFD_ASSEMBLER]: New macros.
|
11733 |
|
|
(S_SET_TYPE) [!BFD_ASSEMBLER]: New macro.
|
11734 |
|
|
* config/obj-aout.c: Use PARAMS macro for declarations. Remove
|
11735 |
|
|
"IGNORE_DEBUG" conditional, since both branches are identical.
|
11736 |
|
|
Use S_SET_TYPE, S_GET_TYPE, and S_GET_DESC instead of directly
|
11737 |
|
|
referencing symbol structure members.
|
11738 |
|
|
(obj_aout_frob_symbol) [BFD_ASSEMBLER]: New function.
|
11739 |
|
|
|
11740 |
|
|
* as.h (struct frag): Reordered a couple of fields for better
|
11741 |
|
|
packing.
|
11742 |
|
|
|
11743 |
|
|
* write.c (record_alignment) [BFD_ASSEMBLER]: Record it in the
|
11744 |
|
|
section info.
|
11745 |
|
|
(write_contents) [BFD_ASSEMBLER]: New function.
|
11746 |
|
|
(write_object_file) [BFD_ASSEMBLER]: Always handle -R here. Call
|
11747 |
|
|
fix_new with BFD_RELOC_NONE instead of 0 or NO_RELOC. Call
|
11748 |
|
|
obj_frob_file, obj_frob_symbol, tc_frob_symbol if defined.
|
11749 |
|
|
(fixup_segment): Make sure common-section symbols get treated the
|
11750 |
|
|
same as undefined symbols.
|
11751 |
|
|
(fix_new) [BFD_ASSEMBLER]: Argument r_type is of type
|
11752 |
|
|
bfd_reloc_code_real_type. Use seg_fix_{root,tail}P derived from
|
11753 |
|
|
section info.
|
11754 |
|
|
* write.h (fix_new): Update prototype.
|
11755 |
|
|
|
11756 |
|
|
* tc.h (md_operand, md_convert_frag, tc_headers_hook,
|
11757 |
|
|
md_section_align, md_undefined_symbol): Don't provide prototypes
|
11758 |
|
|
if these are defined as macros.
|
11759 |
|
|
(md_convert_frag) [BFD_ASSEMBLER]: BFD version needs bfd and
|
11760 |
|
|
section passed.
|
11761 |
|
|
|
11762 |
|
|
* symbols.c (symbol_new): Argument NAME is now pointer to const.
|
11763 |
|
|
Simplified STRIP_UNDERSCORE code. Remove assumptions about null
|
11764 |
|
|
pointers in freshly allocated storage. [BFD_ASSEMBLER]: Get new
|
11765 |
|
|
BFD symbol.
|
11766 |
|
|
(colon): Display other/desc fields of redefined symbol only if
|
11767 |
|
|
S_GET_OTHER and S_GET_DESC are defined.
|
11768 |
|
|
(symbol_make): Argument NAME is now pointer to const.
|
11769 |
|
|
(symbol_find, symbol_find_base): Likewise.
|
11770 |
|
|
(S_IS_*, S_GET_*, S_SET_*) [BFD_ASSEMBLER]: New functions.
|
11771 |
|
|
* symbols.h: Fix prototypes for new const arguments. Add
|
11772 |
|
|
prototypes for BFD_ASSEMBLER S_* functions.
|
11773 |
|
|
|
11774 |
|
|
* subsegs.c (subseg_change) [BFD_ASSEMBLER]: BFD version of code
|
11775 |
|
|
for changing to an existing section.
|
11776 |
|
|
(subseg_new_rest) [BFD_ASSEMBLER]: Split off from subseg_new,
|
11777 |
|
|
called by subseg_new and subseg_set.
|
11778 |
|
|
(subseg_new) [BFD_ASSEMBLER]: Rewritten to change to new section,
|
11779 |
|
|
given section name and subseg number.
|
11780 |
|
|
(subseg_set) [BFD_ASSEMBLER]: New function; change to a possibly
|
11781 |
|
|
new section/subsection.
|
11782 |
|
|
|
11783 |
|
|
* read.c: Don't include ctype.h.
|
11784 |
|
|
(cons) [BFD_ASSEMBLER]: For undefined symbols, use BFD_RELOC_32
|
11785 |
|
|
for now; should be machine-dependent.
|
11786 |
|
|
|
11787 |
|
|
* configure.in: Accept *-*-elf and *-*-solaris* as ELF format
|
11788 |
|
|
targets, forcing BFD use.
|
11789 |
|
|
|
11790 |
|
|
Wed Feb 17 18:59:03 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11791 |
|
|
|
11792 |
|
|
* config/tc-sparc.c: Use PARAMS macro for static function
|
11793 |
|
|
declarations. Use BFD_RELOC_ macros everywhere, with
|
11794 |
|
|
compatibility macros declared for non-BFD mode.
|
11795 |
|
|
(struct sparc_it) [BFD_ASSEMBLER]: Use bfd_reloc_code_real_type
|
11796 |
|
|
instead of enum reloc_type.
|
11797 |
|
|
(emit_sparc_reloc): Commented-out function deleted.
|
11798 |
|
|
(md_convert_frag): Deleted.
|
11799 |
|
|
(tc_aout_pre_write_hook): Don't define for BFD_ASSEMBLER.
|
11800 |
|
|
(md_apply_fix): Changed calling sequence (conditionally) for BFD
|
11801 |
|
|
version.
|
11802 |
|
|
* config/tc-sparc.h (md_convert_frag): New macro.
|
11803 |
|
|
|
11804 |
|
|
* config/obj-aout.c (obj_aout_stab): Refer to undefined_section,
|
11805 |
|
|
not SEG_UNKNOWN. Use S_SET_TYPE, S_GET_TYPE, S_GET_DESC instead
|
11806 |
|
|
of referencing fields directly.
|
11807 |
|
|
|
11808 |
|
|
* write.c (cvt_frag_to_fill): New function; extracted from
|
11809 |
|
|
write_object_file.
|
11810 |
|
|
(write_object_file) [! BFD_ASSEMBLER]: Call it.
|
11811 |
|
|
(relax_and_size_seg) [BFD_ASSEMBLER]: New function; relax section
|
11812 |
|
|
and set its size and flags.
|
11813 |
|
|
|
11814 |
|
|
* struc-symbol.h (struct symbol) [BFD_ASSEMBLER]: Replace some
|
11815 |
|
|
fields with BFD equivalents. Turn on back-pointers, and add
|
11816 |
|
|
target-specific fields at end.
|
11817 |
|
|
|
11818 |
|
|
Thu Feb 11 09:20:37 1993 Ian Lance Taylor (ian@cygnus.com)
|
11819 |
|
|
|
11820 |
|
|
* config/obj-coffbfd.c (fill_section): Don't set vaddr here.
|
11821 |
|
|
(write_object_file): Set it here instead, so that fixup_segment
|
11822 |
|
|
can see the correct value.
|
11823 |
|
|
|
11824 |
|
|
Mon Feb 8 13:56:17 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11825 |
|
|
|
11826 |
|
|
* write.c (write_object_file): Check for errors and warnings and
|
11827 |
|
|
bail out before processing contents.
|
11828 |
|
|
(chain_frchains_together_1): New function, does most of the work
|
11829 |
|
|
of remove_subsegs.
|
11830 |
|
|
(chain_frchains_together) [BFD_ASSEMBLER]: New function.
|
11831 |
|
|
(remove_subsegs) [! BFD]: Call it.
|
11832 |
|
|
(write_object_file) [BFD_ASSEMBLER]: Converted to use BFD
|
11833 |
|
|
structures and routines.
|
11834 |
|
|
|
11835 |
|
|
* config/obj-elf.*: New files.
|
11836 |
|
|
|
11837 |
|
|
* config/mips.mt, config/rs6000.mt: Deleted.
|
11838 |
|
|
|
11839 |
|
|
* config/h8300.mt: Don't specify compiler here.
|
11840 |
|
|
|
11841 |
|
|
* config/z8k.mt: The z8k code depends on the z8k opcode table,
|
11842 |
|
|
not the h8300 one.
|
11843 |
|
|
* config/tc-z8k.h: Comment fix.
|
11844 |
|
|
|
11845 |
|
|
* write.c: Reordered some functions for better inlining.
|
11846 |
|
|
(fixup_segment): Linkrelax code is no longer conditional on
|
11847 |
|
|
TC_I960.
|
11848 |
|
|
|
11849 |
|
|
Thu Feb 4 12:45:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
11850 |
|
|
|
11851 |
|
|
* config/{h8500.mt, config/tc-h8500.c, config/tc-h8500.h,
|
11852 |
|
|
config/obj-coffbfd.c, obj-coffbfd.h}: support for the H8/500.
|
11853 |
|
|
|
11854 |
|
|
Wed Feb 3 19:28:18 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11855 |
|
|
|
11856 |
|
|
* config/obj-vms.h (SUB_SEGMENT_ALIGN): Define VMS version here.
|
11857 |
|
|
* write.c (write_object_file): Not here.
|
11858 |
|
|
(fix_new): Initialize fx_addnumber.
|
11859 |
|
|
|
11860 |
|
|
* listing.c: Don't include target-cpu.h explicitly, since as.h
|
11861 |
|
|
includes it.
|
11862 |
|
|
|
11863 |
|
|
Thu Jan 28 00:35:40 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
11864 |
|
|
|
11865 |
|
|
* write.h [BFD_ASSEMBLER]: Don't declare next_object_file_charP,
|
11866 |
|
|
*_fix_root, *_fix_tail, seg_fix_rootP, seg_fix_tailP.
|
11867 |
|
|
(struct fix): Reordered fields for compactness and efficiency.
|
11868 |
|
|
Converted some logical fields to 1-bit fields.
|
11869 |
|
|
|
11870 |
|
|
* config/obj-aout.h: Use PARAMS.
|
11871 |
|
|
[BFD_ASSEMBLER]: Don't define/declare AOUT_MACHTYPE, seg_N_TYPE,
|
11872 |
|
|
N_TYPE_seg, DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE.
|
11873 |
|
|
|
11874 |
|
|
* read.c: Don't include listing.h; as.h includes it. Removed
|
11875 |
|
|
DONTDEF code.
|
11876 |
|
|
[BFD_ASSEMBLER]: Include subsegs.h.
|
11877 |
|
|
(old_buffer, new_broken_words): Default initialization is
|
11878 |
|
|
sufficient.
|
11879 |
|
|
|
11880 |
|
|
* output-file.c [BFD_ASSEMBLER]: Include bfd.h, default TARGET_MACH
|
11881 |
|
|
to 0, define stdoutput.
|
11882 |
|
|
(output_file_create) [BFD_ASSEMBLER]: Call bfd_perror on failure.
|
11883 |
|
|
Call bfd_set_arch_mach.
|
11884 |
|
|
(output_file_close) [BFD_ASSEMBLER]: Call bfd_close, not
|
11885 |
|
|
bfd_close_all_done. Call bfd_perror on failure.
|
11886 |
|
|
(output_file_append) [BFD_ASSEMBLER]: Don't define.
|
11887 |
|
|
|
11888 |
|
|
* config/m68kcoff.mt (LOCAL_LOADLIBES): Delete definition.
|
11889 |
|
|
|
11890 |
|
|
* subsegs.h (segment_info_type): Always define. Omit field scnhdr
|
11891 |
|
|
if not MANY_SEGMENTS. Define new field bfd_section if
|
11892 |
|
|
BFD_ASSEMBLER.
|
11893 |
|
|
(seg_info): New macro.
|
11894 |
|
|
|
11895 |
|
|
* expr.c, input-scrub.c: Use PARAMS macro. Deleted unused
|
11896 |
|
|
variables, and some irrelevant comments.
|
11897 |
|
|
|
11898 |
|
|
* Makefile.in (ALL_CFLAGS): Include $(BFDDEF).
|
11899 |
|
|
(LIBS): Include $(BFDLIB). Don't bother with $(CLIB).
|
11900 |
|
|
* configure.in: Permit --with-bfd-assembler now, with a warning.
|
11901 |
|
|
Variable need_bfd is now a boolean, as is new variable bfd_gas.
|
11902 |
|
|
Set BFDDEF and BFDLIB in Makefile when appropriate.
|
11903 |
|
|
|
11904 |
|
|
* as.c: Removed "#ifdef DONTDEF" and "#ifdef comment" code.
|
11905 |
|
|
(main): Refer to flag_always_generate_output instead of
|
11906 |
|
|
flagseen['Z'].
|
11907 |
|
|
|
11908 |
|
|
* as.c (main) [BFD_ASSEMBLER]: Open output bfd.
|
11909 |
|
|
(*_section) [BFD_ASSEMBLER]: Define them.
|
11910 |
|
|
(perform_an_assembly_pass) [BFD_ASSEMBLER]: Initialize them, and
|
11911 |
|
|
set section flags when appropriate.
|
11912 |
|
|
* as.h (SEG_NORMAL) [BFD_ASSEMBLER]: Require that the specified
|
11913 |
|
|
section is not absolute, undefined, or an assembler internal one.
|
11914 |
|
|
(absolute_section, undefined_section): Always define.
|
11915 |
|
|
* expr.c, read.c, symbols.c: Refer to *_section, not SEG_*; break
|
11916 |
|
|
switch statements into if-else trees.
|
11917 |
|
|
* symbols.c [MANY_SEGMENTS]: Deleted redundant definitions of
|
11918 |
|
|
SEG_BSS and SEG_DATA.
|
11919 |
|
|
|
11920 |
|
|
* as.h (frag_now_fix): New macro.
|
11921 |
|
|
* symbols.c (colon): Use it.
|
11922 |
|
|
|
11923 |
|
|
Wed Jan 27 21:43:53 PST 1993 Ralph Campbell (ralphc@pyramid.com)
|
11924 |
|
|
|
11925 |
|
|
* config/tc-mips.c: Added mips support for mips-dec-bsd.
|
11926 |
|
|
* config/tc-mips.h: Added mips support for mips-dec-bsd.
|
11927 |
|
|
* config/ho-mipsbsd.h: Added mips support for mips-dec-bsd.
|
11928 |
|
|
* config/mips-opcode.h: Added mips support for mips-dec-bsd.
|
11929 |
|
|
* configure.in: Added mips support for mips-dec-bsd.
|
11930 |
|
|
* atof-generic.c: Define TRUE and FALSE if not defined.
|
11931 |
|
|
|
11932 |
|
|
Thu Jan 21 12:48:19 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11933 |
|
|
|
11934 |
|
|
* version.c: Bumped version number to 1.93.05.
|
11935 |
|
|
|
11936 |
|
|
Wed Jan 20 17:11:53 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11937 |
|
|
|
11938 |
|
|
* config/obj-coff.c (obj_emit_relocations): Don't use #elif.
|
11939 |
|
|
(obj_emit_lineno): Don't need return at end of void function.
|
11940 |
|
|
(obj_symbol_new_hook): Ditto.
|
11941 |
|
|
|
11942 |
|
|
* config/tc-m68k.c: Removed some unused code.
|
11943 |
|
|
(tc_aout_fix_to_chars): Array nbytes_r_length is now const.
|
11944 |
|
|
|
11945 |
|
|
* config/tc-m68k.h (TC_COUNT_RELOC): Don't emit reloc if only
|
11946 |
|
|
offset field is set.
|
11947 |
|
|
|
11948 |
|
|
Fri Jan 8 05:44:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11949 |
|
|
|
11950 |
|
|
* config/tc-sparc.c (sparc_ip): For %uhi and %ulo, if not
|
11951 |
|
|
ENV64, emit no reloc.
|
11952 |
|
|
(md_pseudo_table): For ".xword", call s_xword.
|
11953 |
|
|
(s_xword): New function.
|
11954 |
|
|
|
11955 |
|
|
* config/tc-sparc.c (architecture_requested, warn_on_bump,
|
11956 |
|
|
md_relax_table): Use default zero initialization.
|
11957 |
|
|
(s_reserve): Since SEG_E2 is equivalent to SEG_BSS, just use the
|
11958 |
|
|
latter, instead of selecting with preprocessor conditionals.
|
11959 |
|
|
|
11960 |
|
|
Thu Jan 7 08:58:21 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
11961 |
|
|
|
11962 |
|
|
* configure.in: recognise all sparclite variants
|
11963 |
|
|
|
11964 |
|
|
Thu Jan 7 05:25:25 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11965 |
|
|
|
11966 |
|
|
* read.c (s_data) [!BFD_ASSEMBLER]: Fix typo in 4 Jan change --
|
11967 |
|
|
accidentally changed to use subseg_change where it should have
|
11968 |
|
|
been subseg_new.
|
11969 |
|
|
|
11970 |
|
|
Tue Jan 5 08:42:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
11971 |
|
|
|
11972 |
|
|
* expr.c (operand): If character other than comma or newline is a
|
11973 |
|
|
logical end-of-line character, use the newline case.
|
11974 |
|
|
From Eric Youngdale:
|
11975 |
|
|
(operand): Set X_add_number field for floating-point numbers.
|
11976 |
|
|
(operand): Treat zero byte as end-of-operand.
|
11977 |
|
|
|
11978 |
|
|
* configure.in (per-target): Look for with_bfd_assembler option.
|
11979 |
|
|
For now, only accept "no", until the merge is done.
|
11980 |
|
|
|
11981 |
|
|
Merged changes from Eric Youngdale (youngdale@v6550c.nrl.navy.mil):
|
11982 |
|
|
* as.c, flonum-konst.c, hex-value.c, input-file.c, version.c,
|
11983 |
|
|
config/obj-aout.h, config/obj-vms.c: VMS -> HO_VMS.
|
11984 |
|
|
* read.c: Finish conversion to S_* macros in the VMS only
|
11985 |
|
|
parts of the program. Add "const" modifier to hex_value.
|
11986 |
|
|
* as.c, read.c, symbols.c, write.c: Change "ifdef VMS" to
|
11987 |
|
|
"ifdef OBJ_VMS".
|
11988 |
|
|
* expr.c: Add "const" modifier to hex_value.
|
11989 |
|
|
* symbols.c: Finish conversion to S_* macros in the VMS only
|
11990 |
|
|
parts of the program. Add "const" modifier to
|
11991 |
|
|
md_[long,short]_jump_size. Remove declaration of const_flag
|
11992 |
|
|
(which will be declared in obj-vms.h).
|
11993 |
|
|
* write.c: Add "const" modifier to md_[long,short]_jump_size.
|
11994 |
|
|
Fix arguments to VMS_write_object_file.
|
11995 |
|
|
* config-gas.com: New file. Script for VMS systems to set up the
|
11996 |
|
|
configuration to build gas for VMS, and create config.status.
|
11997 |
|
|
* make-gas.com: Redone to work with new scheme.
|
11998 |
|
|
* config/obj-vms.c: Patch to fix bug where we were not correctly parsing the
|
11999 |
|
|
stabs directives.
|
12000 |
|
|
* config/obj-vms.c: Define macros COPY_LONG and COPY_SHORT which
|
12001 |
|
|
will swap bytes if needed on a big endian system. Use throughout
|
12002 |
|
|
as needed.
|
12003 |
|
|
* config/obj-vms.c (obj_aout_stab): Add code to generate listing file.
|
12004 |
|
|
* config/obj-vms.c (VMS_typedef_parse): Add alias to correctly handle certain
|
12005 |
|
|
types of malformed stabs. Change parsing algorithm so that we are
|
12006 |
|
|
more certain of having all of the information that we need on hand.
|
12007 |
|
|
* config/obj-vms.c (final_forward_reference): New function, used to help
|
12008 |
|
|
resolve the data types of as many struct elements as possible
|
12009 |
|
|
when some part of the struct is not fully defined by the compiler.
|
12010 |
|
|
* config/obj-vms.c (VMS_LSYM_Parse): Correctly handle case of continuation
|
12011 |
|
|
stabs directives.
|
12012 |
|
|
* config/obj-vms.c (VMS_write_object_file): Define all vtable psects
|
12013 |
|
|
as symbols as well in the object file. Look for external functions
|
12014 |
|
|
that start with "__vt.", and turn them into variables, since the
|
12015 |
|
|
g++ compiler is incapable of doing this.
|
12016 |
|
|
* config/tc-vax.c: Add '1' option for backward compatibility with older GCC
|
12017 |
|
|
versions.
|
12018 |
|
|
* bignum-copy.c (bignum_copy): Fix bug where we pad with zeroes.
|
12019 |
|
|
* input-scrub.c (as_where): Fix bug where as would crash if we did not
|
12020 |
|
|
have the name of the source file yet.
|
12021 |
|
|
* config/ho-vms.h: define HO_VMS, not HO_VAX.
|
12022 |
|
|
|
12023 |
|
|
Mon Jan 4 05:17:26 1993 Ken Raeburn (raeburn@cygnus.com)
|
12024 |
|
|
|
12025 |
|
|
* read.c (s_data): Always use "data_section", since it'll map to
|
12026 |
|
|
SEG_DATA or SEG_E1 if needed.
|
12027 |
|
|
(s_lcomm): Likewise with bss_section.
|
12028 |
|
|
(s_fill): Use memset, not bzero.
|
12029 |
|
|
|
12030 |
|
|
Thu Dec 31 04:29:27 1992 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
12031 |
|
|
|
12032 |
|
|
* read.c: Deleted some code under "#ifdef DONTDEF" that was for
|
12033 |
|
|
handling GDB symbol table data.
|
12034 |
|
|
|
12035 |
|
|
* config/obj-aout.h (segment_name): Delete definition.
|
12036 |
|
|
(seg_name): Delete declaration.
|
12037 |
|
|
* config/obj-bout.h (segment_name, seg_name): Ditto.
|
12038 |
|
|
* config/obj-vms.h (segment_name, seg_name): Ditto.
|
12039 |
|
|
* config/obj-coff.h (segment_name): Ditto.
|
12040 |
|
|
* config/obj-coffbfd.h (segment_name): Ditto.
|
12041 |
|
|
|
12042 |
|
|
* Changes for BFD_ASSEMBLER:
|
12043 |
|
|
* obj.h (obj_crawl_symbol_chain): Declare only if not
|
12044 |
|
|
BFD_ASSEMBLER.
|
12045 |
|
|
(obj_header_append, obj_pre_write_hook): Ditto.
|
12046 |
|
|
* as.h (stdoutput): New var, defined only if BFD_ASSEMBLER.
|
12047 |
|
|
(segT) [BFD_ASSEMBLER]: New typedef for "asection *".
|
12048 |
|
|
(segment_name) If BFD_ASSEMBLER, look up BFD section name;
|
12049 |
|
|
otherwise, use seg_name array.
|
12050 |
|
|
(seg_name): Declare only if not BFD_ASSEMBLER.
|
12051 |
|
|
(section_alignment): Declare only if not BFD_ASSEMBLER.
|
12052 |
|
|
(big_section, reg_section, pass1_section, diff_section,
|
12053 |
|
|
absent_section, text_section, data_section, bss_section): If
|
12054 |
|
|
BFD_ASSEMBLER, declare as variables; otherwise, declare as macros,
|
12055 |
|
|
mapping to segT enum values.
|
12056 |
|
|
(tc_aout_fix_to_chars, next_object_file_charP): Force parse errors
|
12057 |
|
|
if these are used or defined, if BFD_ASSEMBLER.
|
12058 |
|
|
(subseg_set, subseg_new) [BFD_ASSEMBLER]: Functionality of old
|
12059 |
|
|
subseg_new split into two functions.
|
12060 |
|
|
(SEG_NORMAL): For BFD_ASSEMBLER, always return true, for now.
|
12061 |
|
|
|
12062 |
|
|
* as.h (volatile): Don't define if already defined.
|
12063 |
|
|
(had_errors, had_warnings): Provide prototypes for ANSI C even if
|
12064 |
|
|
NO_STDARG.
|
12065 |
|
|
(as_bad, as_fatal, as_tsktsk, as_warn): For GNU C version 2,
|
12066 |
|
|
declare with format attribute for -Wformat checking.
|
12067 |
|
|
|
12068 |
|
|
Wed Dec 30 10:18:57 1992 Ian Lance Taylor (ian@cygnus.com)
|
12069 |
|
|
|
12070 |
|
|
* app.c, config/tc-*.c: Don't include read.h, since it is already
|
12071 |
|
|
included by as.h.
|
12072 |
|
|
|
12073 |
|
|
* These are based on patches from Minh Tran-le
|
12074 |
|
|
.
|
12075 |
|
|
* configure.in (i[34]86-ibm-aix*): Accept i486 for host. Use
|
12076 |
|
|
obj_format coffbfd and gas_target i386coff for target.
|
12077 |
|
|
(i[34]86-*-isc*): New host (uses sysv).
|
12078 |
|
|
* config/i386aix.mt: Removed (no longer used).
|
12079 |
|
|
* config/mh-i386aix (RANLIB): Use true rather than /bin/true.
|
12080 |
|
|
(MINUS_G): Removed.
|
12081 |
|
|
(LDFLAGS): Added, defined as -shlib.
|
12082 |
|
|
* config/te-i386aix.h (REVERSE_SORT_RELOCS): Undefine.
|
12083 |
|
|
* config/te-sco386.h (LOCAL_LABEL): Don't define.
|
12084 |
|
|
(DOT_LABEL_PREFIX): Define.
|
12085 |
|
|
* expr.c (operand): If DOT_LABEL_PREFIX, use .L0\001 as a label
|
12086 |
|
|
name rather than L0\001.
|
12087 |
|
|
* read.c (s_lcomm): Make a frag in SEG_BSS rather than using
|
12088 |
|
|
local_bss_counter.
|
12089 |
|
|
* symbols.c, symbols.h (local_bss_counter): Removed.
|
12090 |
|
|
* write.c (write_object_file): bss no longer uses
|
12091 |
|
|
local_bss_counter. Pass correct data and bss size to
|
12092 |
|
|
VMS_write_object_file.
|
12093 |
|
|
* config/obj-vms.c (VMS_write_object_file): Accept bss size as
|
12094 |
|
|
argument, rather than using local_bss_counter.
|
12095 |
|
|
* config/tc-m88k.c (s_bss): Don't use local_bss_counter.
|
12096 |
|
|
* config/tc-sparc.c (s_reserve): Don't use local_bss_counter.
|
12097 |
|
|
* config/obj-coffbfd.c (had_lineno, had_reloc): Removed.
|
12098 |
|
|
(size_section): Restored sanity check.
|
12099 |
|
|
(do_relocs_for): Base section address on s_paddr rather than
|
12100 |
|
|
computing it. Adjust a29k R_IHIHALF special case to account for
|
12101 |
|
|
section paddr (used to require paddr to be zero). If there are no
|
12102 |
|
|
reclos, set s_relptr to 0. Set relocation size in object_headers.
|
12103 |
|
|
(fill_section): Always set s_vaddr here, removing
|
12104 |
|
|
ZERO_BASED_SEGMENTS case. Force s_scnptr for bss to 0. Don't set
|
12105 |
|
|
NOLOAD for i386 .bss, because it confuses the SVR3 native linker.
|
12106 |
|
|
Set STYP_INFO for .comment.
|
12107 |
|
|
(coff_header_append): Use object headers and H_{SET,GET}_* macros.
|
12108 |
|
|
Make aouthdr writing depend on OBJ_COFF_OMIT_OPTIONAL_HEADER.
|
12109 |
|
|
(crawl_symbols): Handle 8 character section name correctly. Use
|
12110 |
|
|
H_{SET,GET}_* macros.
|
12111 |
|
|
(do_linenos_for): Set lineno size in object_headers.
|
12112 |
|
|
(write_object_file): Use H_{SET,GET}_* macros. Don't bother to
|
12113 |
|
|
set s_vaddr here. If string_byte_count remains 4, set it back to
|
12114 |
|
|
0, and only write strings out if there are some. Call
|
12115 |
|
|
fill_section before do_relocs_for and do_linenos_for.
|
12116 |
|
|
(obj_coff_section): Handle optional quoted second argument giving
|
12117 |
|
|
section characteristics.
|
12118 |
|
|
(obj_coff_bss): Added to handle .bss.
|
12119 |
|
|
(obj_coff_ident): Added to handle .ident (puts string in .comment
|
12120 |
|
|
section).
|
12121 |
|
|
(obj_coff_lcomm): Put common symbols in .bss, not .data.
|
12122 |
|
|
(fixup_mdeps): Change to segment. Call frag_wane after
|
12123 |
|
|
md_convert_frag.
|
12124 |
|
|
(fixup_segment): Explicitly check S_IS_COMMON before making 386
|
12125 |
|
|
adjustment (already happened only for common symbols, but this is
|
12126 |
|
|
clearer).
|
12127 |
|
|
* config/obj-coffbfd.h (OBJ_COFF_OMIT_OPTIONAL_HEADER): Define.
|
12128 |
|
|
* config/tc-i386.c (s_bss): Don't use if I386COFF.
|
12129 |
|
|
(md_pseudo_table): Ignore .optim and .noopt.
|
12130 |
|
|
(tc_coff_sizemachdep): New function.
|
12131 |
|
|
* config/tc-i386.h (REVERSE_SORT_RELOCS): Undef, for SVR3
|
12132 |
|
|
compatibility.
|
12133 |
|
|
(LOCAL_LABEL): Removed definition.
|
12134 |
|
|
(DOT_LABEL_PREFIX): Defined.
|
12135 |
|
|
|
12136 |
|
|
Mon Dec 28 10:32:05 1992 Ken Raeburn (raeburn@cygnus.com)
|
12137 |
|
|
|
12138 |
|
|
* app.c (app_push): Use memcpy, not bcopy.
|
12139 |
|
|
(do_scrub_next_char): For \", return " not '.
|
12140 |
|
|
(symbol_chars): Now const.
|
12141 |
|
|
|
12142 |
|
|
* expr.c (operand): If not LOCAL_LABELS_FB, don't look for "0f"
|
12143 |
|
|
and "0b". If LOCAL_LABELS_DOLLAR, check for "0$".
|
12144 |
|
|
|
12145 |
|
|
* config/obj-coff.h: Don't use #elif.
|
12146 |
|
|
|
12147 |
|
|
* config/ho-sunos.h: Don't include sys/stdtypes.h; 4.0.3 doesn't
|
12148 |
|
|
have it. (Reported by Noah Friedman, friedman@gnu.ai.mit.edu.)
|
12149 |
|
|
|
12150 |
|
|
Wed Dec 16 12:12:33 1992 Ian Lance Taylor (ian@cygnus.com)
|
12151 |
|
|
|
12152 |
|
|
* write.c, config/obj-ieee.c: don't define SUB_SEGMENT_ALIGN
|
12153 |
|
|
if it is already defined.
|
12154 |
|
|
|
12155 |
|
|
Tue Dec 15 12:40:11 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12156 |
|
|
|
12157 |
|
|
* app.c (do_scrub_begin): allow single quote strings if so
|
12158 |
|
|
configured.
|
12159 |
|
|
|
12160 |
|
|
* config/*z8k*: checkpoint
|
12161 |
|
|
|
12162 |
|
|
Sun Dec 13 00:04:38 1992 Ian Lance Taylor (ian@cygnus.com)
|
12163 |
|
|
|
12164 |
|
|
* read.c (read_a_source_file): avoid calling xmalloc (0).
|
12165 |
|
|
|
12166 |
|
|
Sat Dec 12 15:26:34 1992 Ian Lance Taylor (ian@cygnus.com)
|
12167 |
|
|
|
12168 |
|
|
* listing.c: Call xmalloc, not malloc; don't declare malloc.
|
12169 |
|
|
|
12170 |
|
|
* Changes to support SCO 3.2v4:
|
12171 |
|
|
* read.c (s_align_bytes, s_align_ptwo): If not SEG_DATA or
|
12172 |
|
|
SEG_BSS, fill with NOP_OPCODE.
|
12173 |
|
|
* config/i386coff.mt: Add opcode/i386.h to TARG_CPU_DEPENDENTS.
|
12174 |
|
|
* config/obj-coffbfd.c (do_relocs_for): Increment addr even if not
|
12175 |
|
|
using ZERO_BASED_SEGMENTS.
|
12176 |
|
|
(fill_section): If ZERO_BASED_SEGMENTS, set segment addresses, but
|
12177 |
|
|
never set segment address for SEG_E2 (.bss) and don't write out
|
12178 |
|
|
SEG_E2 contents. Set .init and .fini sections to STYP_TEXT.
|
12179 |
|
|
(obj_coff_endef): Don't merge labels or symbols awaiting forward
|
12180 |
|
|
definitions, and don't merge tags with non-tags. Check for .bf
|
12181 |
|
|
rather than just checking whether the second character is b and
|
12182 |
|
|
the third character is f.
|
12183 |
|
|
(obj_coff_val): gcc can generate values which we don't handle
|
12184 |
|
|
correctly; discard information for now, since it only affects the
|
12185 |
|
|
debugging information.
|
12186 |
|
|
(tag_find_or_name): Don't insert tags in the symbol table.
|
12187 |
|
|
(yank_symbols): Don't merge labels.
|
12188 |
|
|
(write_object_file): Don't define SUB_SEGMENT_ALIGN if it is
|
12189 |
|
|
already defined. Fill subsegments with NOP_OPCODE, not 0. Don't
|
12190 |
|
|
set segment address if ZERO_BASED_SEGMENTS.
|
12191 |
|
|
(obj_coff_section): Accept and ignore a trailing quoted string, as
|
12192 |
|
|
used in AT&T i386 syntax.
|
12193 |
|
|
(fixup_segment): Take segment as argument. On the i386, adjust PC
|
12194 |
|
|
relative addends by the segment vaddr.
|
12195 |
|
|
* config/tc-i386.h: Define SUB_SEGMENT_ALIGN.
|
12196 |
|
|
* config/tc-a29k.h: Define ZERO_BASED_SEGMENTS.
|
12197 |
|
|
* config/tc-i386.c: (i386_operand): If I386COFF, accept any segment type.
|
12198 |
|
|
|
12199 |
|
|
Tue Dec 8 00:06:48 1992 Ken Raeburn (raeburn@rtl.cygnus.com)
|
12200 |
|
|
|
12201 |
|
|
* config/obj-coffbfd.c: Include libcoff.h.
|
12202 |
|
|
|
12203 |
|
|
* version.c: Now version 1.93.
|
12204 |
|
|
|
12205 |
|
|
Mon Dec 7 00:39:09 1992 Ken Raeburn (raeburn@cygnus.com)
|
12206 |
|
|
|
12207 |
|
|
* config/tc-i386.c (md_pseudo_table): For 386bsd and linux, do
|
12208 |
|
|
power-of-two alignment for .align.
|
12209 |
|
|
|
12210 |
|
|
* as.h: If BROKEN_ASSERT, just redefine `assert' to be trivial,
|
12211 |
|
|
and leave everything else alone.
|
12212 |
|
|
|
12213 |
|
|
Fri Dec 4 16:58:42 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
12214 |
|
|
|
12215 |
|
|
* Makefile.in (as.new): Don't bother saving as.old.
|
12216 |
|
|
|
12217 |
|
|
* write.c: Conditionalize on OBJ_VMS, not VMS.
|
12218 |
|
|
(magic_number_for_object_file): Don't define if OBJ_VMS.
|
12219 |
|
|
|
12220 |
|
|
* config/obj-vms.c: Changes for traditional C.
|
12221 |
|
|
|
12222 |
|
|
Thu Dec 3 01:24:07 1992 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
12223 |
|
|
|
12224 |
|
|
* config/ho-generic.h (malloc, realloc): Declare.
|
12225 |
|
|
|
12226 |
|
|
* Lots of comment/whitespace changes.
|
12227 |
|
|
|
12228 |
|
|
* write.h (struct fix): Some fields reordered, narrowed.
|
12229 |
|
|
|
12230 |
|
|
* read.c (MASK_CHAR): Define using C types, not magic number.
|
12231 |
|
|
|
12232 |
|
|
* as.c, input-file.c: Deleted some unused code.
|
12233 |
|
|
|
12234 |
|
|
* app.c, as.h: Doc fix.
|
12235 |
|
|
|
12236 |
|
|
* flonum-konst.c, flonum-mult.c: Include ansidecl.h.
|
12237 |
|
|
|
12238 |
|
|
* as.h (xmalloc): Argument is long.
|
12239 |
|
|
|
12240 |
|
|
* xmalloc.c (error): Remove declaration; as.h takes care of it.
|
12241 |
|
|
|
12242 |
|
|
* doc/as.texinfo: Regrouped documentation of some command-line
|
12243 |
|
|
options. Updated options documentation for m68k. Some minor
|
12244 |
|
|
wording/punctuation changes.
|
12245 |
|
|
|
12246 |
|
|
Mon Nov 30 11:42:11 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
12247 |
|
|
|
12248 |
|
|
* configure.in: Accept target OS "vms".
|
12249 |
|
|
|
12250 |
|
|
* symbols.c: Merged ANSI and non-ANSI function decls, using
|
12251 |
|
|
PARAMS macro.
|
12252 |
|
|
|
12253 |
|
|
* xmalloc.c: Just include as.h, don't bother trying to figure out
|
12254 |
|
|
other header files.
|
12255 |
|
|
|
12256 |
|
|
* strstr.c, strerror.c: Deleted.
|
12257 |
|
|
* Makefile.in: Deleted references.
|
12258 |
|
|
|
12259 |
|
|
* config/tc-ns32k.c: Don't include header file for string
|
12260 |
|
|
declarations; leave that to ho-*.h.
|
12261 |
|
|
|
12262 |
|
|
Fri Nov 27 04:11:36 1992 Ken Raeburn (raeburn at cambridge-laptop.cygnus.com)
|
12263 |
|
|
|
12264 |
|
|
* config/coff_gnu.h [TC_I860]: Guesses for reloc type values,
|
12265 |
|
|
imported from FSF sources.
|
12266 |
|
|
|
12267 |
|
|
* messages.c (strerror): Declare unconditionally.
|
12268 |
|
|
|
12269 |
|
|
* as.h: Delete alloca and register definitions.
|
12270 |
|
|
|
12271 |
|
|
* config/atof-ieee.c (mask): Now const.
|
12272 |
|
|
|
12273 |
|
|
* obstack.c, obstack.h: Deleted.
|
12274 |
|
|
|
12275 |
|
|
* as.h (flag_readonly_data_in_text): New flag.
|
12276 |
|
|
* as.c (main): Set it for -R.
|
12277 |
|
|
|
12278 |
|
|
* as.h (flag_suppress_warnings): New flag.
|
12279 |
|
|
* as.c (main): Set it for -W.
|
12280 |
|
|
* messages.c (as_warn): Check it instead of flagseen['W'].
|
12281 |
|
|
|
12282 |
|
|
* as.h (flag_always_generate_output): New flag.
|
12283 |
|
|
* as.c (main): Set it for -Z.
|
12284 |
|
|
|
12285 |
|
|
* config/tc-sparc.h: Define NEED_FX_R_TYPE.
|
12286 |
|
|
* config/tc-a29k.h: Ditto.
|
12287 |
|
|
* write.h (struct fix): Don't conditionalize fx_r_type field on TC
|
12288 |
|
|
macros.
|
12289 |
|
|
|
12290 |
|
|
* as.h: Merged ANSI and non-ANSI function decls, using PARAMS
|
12291 |
|
|
macro.
|
12292 |
|
|
* bignum.h, expr.h, flonum.h, frags.h, input-file.h, listing.h,
|
12293 |
|
|
obj.h, output-file.h, read.h, struc-symbol.h, symbols.h, tc.h,
|
12294 |
|
|
write.h: Likewise.
|
12295 |
|
|
* read.c: Likewise.
|
12296 |
|
|
|
12297 |
|
|
* xmalloc.c: Conditionalize on HAVE_MALLOC_H, not USG. Fold in
|
12298 |
|
|
xrealloc from xrealloc.c.
|
12299 |
|
|
* xrealloc.c: Deleted.
|
12300 |
|
|
* Makefile.in (REAL_SOURCES, OBJS): Adjusted.
|
12301 |
|
|
|
12302 |
|
|
* configure.in: For host CPU a29k, rs6000, vax, consider using bsd
|
12303 |
|
|
or vms ho- files.
|
12304 |
|
|
|
12305 |
|
|
* config/ho-sysv.h (setbuffer, HO_USG): Deleted.
|
12306 |
|
|
|
12307 |
|
|
* config/atof-ieee.c (atof_ieee): Exponent field isn't a pointer;
|
12308 |
|
|
don't initialize it with NULL.
|
12309 |
|
|
|
12310 |
|
|
* config/ho-vax.h (M_VAX): Deleted; was unused.
|
12311 |
|
|
|
12312 |
|
|
* README-vms, config/ho-vms.h, config/obj-vms.c, config/obj-vms.h:
|
12313 |
|
|
New files imported from FSF version, contributed by Eric Youngdale.
|
12314 |
|
|
* README-vms-dbg, config/vms: Deleted.
|
12315 |
|
|
|
12316 |
|
|
* ChangeLog, config/ChangeLog: Merged.
|
12317 |
|
|
|
12318 |
|
|
* config/*tahoe*, configure.in: Tahoe support brought in from FSF
|
12319 |
|
|
version.
|
12320 |
|
|
|
12321 |
|
|
* input-file.c (input_file_open): Eliminate call to setvbuf.
|
12322 |
|
|
[USG] (setbuffer): Deleted macro.
|
12323 |
|
|
|
12324 |
|
|
Mon Nov 23 11:00:16 1992 Ken Raeburn (raeburn@cygnus.com)
|
12325 |
|
|
|
12326 |
|
|
* all files: Whitespace changes for GNU indentation style, done by
|
12327 |
|
|
GNU `indent'. Some cleanup still needed, especially of comments.
|
12328 |
|
|
|
12329 |
|
|
* configure.in: No te-386bsd.h file exists; don't try to use it.
|
12330 |
|
|
|
12331 |
|
|
* config/obj-coff.c (obj_coff_endef): Use as_warn, not fprintf.
|
12332 |
|
|
|
12333 |
|
|
* config/tc-m68k.c (md_assemble): Don't complain about 68000 with 68881;
|
12334 |
|
|
could be doing emulation.
|
12335 |
|
|
|
12336 |
|
|
Thu Nov 19 11:47:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12337 |
|
|
|
12338 |
|
|
z8000 documentation
|
12339 |
|
|
* doc/Makefile.in, doc/all.m4, doc/as-all.texinfo, doc/as.texinfo:
|
12340 |
|
|
all modified.
|
12341 |
|
|
|
12342 |
|
|
Tue Nov 10 09:49:24 1992 Ian Lance Taylor (ian@cygnus.com)
|
12343 |
|
|
|
12344 |
|
|
* Makefile.in (as.o, obj-format.o): added dependency on subsegs.h.
|
12345 |
|
|
|
12346 |
|
|
* subsegs.h: add extern to segment_info declaration.
|
12347 |
|
|
|
12348 |
|
|
* read.h: added extern declarations for comment_chars,
|
12349 |
|
|
line_comment_chars, and line_separator_chars.
|
12350 |
|
|
read.c, app.c: removed definitions of comment_chars,
|
12351 |
|
|
line_comment_chars, and line_separator_chars.
|
12352 |
|
|
|
12353 |
|
|
* config/tc-m68k.c (m68k_reg_parse): If REGISTER_PREFIX isn't defined,
|
12354 |
|
|
still accept (but don't require) OPTIONAL_REGISTER_PREFIX before
|
12355 |
|
|
the register name.
|
12356 |
|
|
(insert_reg): put REGISTER_PREFIX before register names before
|
12357 |
|
|
putting them in the symbol table.
|
12358 |
|
|
* config/tc-m68k.h (OPTIONAL_REGISTER_PREFIX): Define to be "%", if not
|
12359 |
|
|
M68KCOFF.
|
12360 |
|
|
|
12361 |
|
|
* config/obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss
|
12362 |
|
|
section.
|
12363 |
|
|
|
12364 |
|
|
* config/atof-ieee.c, config/atof-ns32k.c, config/tc-*.c: made
|
12365 |
|
|
EXP_CHARS, FLT_CHARS, comment_chars, line_comment_chars and
|
12366 |
|
|
line_seperator_chars consistently const, and always
|
12367 |
|
|
initialized them. Included read.h.
|
12368 |
|
|
|
12369 |
|
|
Thu Nov 5 17:55:41 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
|
12370 |
|
|
|
12371 |
|
|
* config/tc-sparc.c (sparc_ip): Add code to flag error if an absolute
|
12372 |
|
|
constant will not fit in an immediate field.
|
12373 |
|
|
(md_apply_fix, RELOC_BASE13 case): Check for relocation overflow.
|
12374 |
|
|
|
12375 |
|
|
Wed Nov 4 07:50:46 1992 Ken Raeburn (raeburn@cygnus.com)
|
12376 |
|
|
|
12377 |
|
|
* config/obj-coff.c (callj_table): Delete global variable.
|
12378 |
|
|
(obj_emit_relocations): Define it locally here, and only if
|
12379 |
|
|
TC_I960 is defined.
|
12380 |
|
|
|
12381 |
|
|
* config/tc-m68k.c (m68k_reg_parse): Underscore is part of a symbol name.
|
12382 |
|
|
(m68k_ip): Don't warn about bignum used as float bit-pattern.
|
12383 |
|
|
|
12384 |
|
|
* config/obj-coff.c: Replaced ANSI and non-ANSI function declarations
|
12385 |
|
|
with a single set using PARAMS macro.
|
12386 |
|
|
|
12387 |
|
|
* config/tc-i960.c (tc_bout_fix_to_chars): Bit-field fixups want a length
|
12388 |
|
|
of 2.
|
12389 |
|
|
|
12390 |
|
|
* config/tc-i960.c: Missed a couple of 0->NO_RELOC conversions.
|
12391 |
|
|
|
12392 |
|
|
* config/tc-i960.h (N_BALNAME, N_CALLNAME): Define as char-type values,
|
12393 |
|
|
so widening works consistently.
|
12394 |
|
|
|
12395 |
|
|
Wed Oct 28 08:52:34 1992 Ken Raeburn (raeburn@cygnus.com)
|
12396 |
|
|
|
12397 |
|
|
* version.c: Put conditional "const" before version_string, not
|
12398 |
|
|
before dummy function for VMS. Now version 1.91.03.
|
12399 |
|
|
|
12400 |
|
|
* app.c (do_scrub_next_char): Need double-\ before `000' to show
|
12401 |
|
|
printed rep of null character.
|
12402 |
|
|
|
12403 |
|
|
Fri Oct 23 14:40:38 1992 Ian Lance Taylor (ian@cygnus.com)
|
12404 |
|
|
|
12405 |
|
|
* config/obj-coffbfd.c (write_object_file): check return value of
|
12406 |
|
|
bfd_close_all_done.
|
12407 |
|
|
|
12408 |
|
|
Tue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)
|
12409 |
|
|
|
12410 |
|
|
* Support for i386-sysv.
|
12411 |
|
|
obj-coffbfd.c (do_relocs_for, write_object_file): set segment
|
12412 |
|
|
addresses to reasonable sizes. New define ZERO_BASED_SEGMENTS can
|
12413 |
|
|
be used to set them all to zero as was done before.
|
12414 |
|
|
(fill_section): segment addresses now set in write_object_file.
|
12415 |
|
|
(fill_section): Don't set STYP_NOLOAD for .bss section.
|
12416 |
|
|
(fixup_segment): 386 uses strange common symbol format.
|
12417 |
|
|
tc-i386.c (tc_coff_fix2rtype): use R_DIR32, not R_RELLONG, for
|
12418 |
|
|
compatibility with SVR3.2 linker.
|
12419 |
|
|
* configure.in: i386-sysv and i386-sco use coffbfd.
|
12420 |
|
|
|
12421 |
|
|
* app.c (do_scrub_next_char): discard whitespace after a label.
|
12422 |
|
|
|
12423 |
|
|
Sat Oct 10 12:33:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
12424 |
|
|
|
12425 |
|
|
* configure.in: differentiate between SunOS 4 and Solaris2 for Sun4
|
12426 |
|
|
hosts, use the sysv configuration for solaris2
|
12427 |
|
|
|
12428 |
|
|
Mon Oct 5 09:28:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12429 |
|
|
|
12430 |
|
|
fix i960+non-bfd coff bit rot.
|
12431 |
|
|
* config/obj-coff.c (c_dot_file_symbol, obj_coff_ln, obj_coff_line):
|
12432 |
|
|
support for C source listings. (obj_coff_endef): look in the right
|
12433 |
|
|
part of the symbol for the symbol name
|
12434 |
|
|
|
12435 |
|
|
* config/tc-m68k.c (get_num): make it work for all segments, not just the
|
12436 |
|
|
first three.
|
12437 |
|
|
|
12438 |
|
|
Mon Oct 5 03:30:36 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
|
12439 |
|
|
|
12440 |
|
|
* configure.in: recognize i386-*-bsd emulation.
|
12441 |
|
|
|
12442 |
|
|
Thu Oct 1 23:05:12 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
12443 |
|
|
|
12444 |
|
|
* configure.in: use the cpu-vendor-os triple for host and target
|
12445 |
|
|
|
12446 |
|
|
Tue Sep 29 12:22:52 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12447 |
|
|
|
12448 |
|
|
* config/obj-coffbfd.c (write_object_file): don't fixup for the z8k
|
12449 |
|
|
* config/tc-z8k.c: lots of bug fixes
|
12450 |
|
|
|
12451 |
|
|
Tue Sep 29 10:51:55 1992 Ian Lance Taylor (ian@cygnus.com)
|
12452 |
|
|
|
12453 |
|
|
* config/tc-i960.h, config/tc-i960.c: avoid the ANSI
|
12454 |
|
|
preprocessor addition #elif, since it is not supported by old
|
12455 |
|
|
compilers.
|
12456 |
|
|
config/ho-rs6000.h, config/tc-m68k.c: the native RS/6000
|
12457 |
|
|
compiler miscompiles a couple of expressions in tc-m68k.c.
|
12458 |
|
|
|
12459 |
|
|
Mon Sep 28 21:18:24 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
12460 |
|
|
|
12461 |
|
|
* read.c (cons): If NO_RELOC is defined, use it.
|
12462 |
|
|
|
12463 |
|
|
* config/tc-i960.c (get_cdisp): Use NO_RELOC, not 0, in call to fix_new.
|
12464 |
|
|
|
12465 |
|
|
Fri Sep 25 18:18:52 1992 Ian Lance Taylor (ian@cygnus.com)
|
12466 |
|
|
|
12467 |
|
|
* config/tc-m68k.h: if M68KCOFF, define DOT_LABEL_PREFIX (to require
|
12468 |
|
|
local labels to start with a .) and set REGISTER_PREFIX to %.
|
12469 |
|
|
tc-m68k.c (m68k_reg_parse): accept REGISTER_PREFIX if defined.
|
12470 |
|
|
|
12471 |
|
|
Fri Sep 25 17:53:43 1992 John Gilmore (gnu@cygnus.com)
|
12472 |
|
|
|
12473 |
|
|
* messages.c: Comment changes.
|
12474 |
|
|
|
12475 |
|
|
Fri Sep 25 14:12:58 1992 Ken Raeburn (raeburn@kyriath.cygnus.com)
|
12476 |
|
|
|
12477 |
|
|
* as.h: Test if __STDC__ is defined only, don't test its value.
|
12478 |
|
|
* messages.c: If __STDC__ is not defined, define NO_STDARG.
|
12479 |
|
|
|
12480 |
|
|
Thu Sep 24 12:42:32 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
|
12481 |
|
|
|
12482 |
|
|
* listing.c (debugging_pseudo): Add stabs and stabn as things to
|
12483 |
|
|
ignore.
|
12484 |
|
|
|
12485 |
|
|
Tue Sep 22 13:02:07 1992 Sean Eric Fagan (sef@cygnus.com)
|
12486 |
|
|
|
12487 |
|
|
* config/obj-coffbfd.c (do_relocs_for,fill_section): now allocate all
|
12488 |
|
|
sections starting from zero, rather than making them consecutive.
|
12489 |
|
|
This makes subsequent reloc calculations easier, esp if the object
|
12490 |
|
|
format doesn't understand addends. (obj_coff_lcomm): (maybe temporarily)
|
12491 |
|
|
allocate lcomm in .data rather than in .bss. It seems that some
|
12492 |
|
|
tools can't cope with a non-zero sized bss before linkage.
|
12493 |
|
|
|
12494 |
|
|
Tue Sep 22 15:10:51 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
12495 |
|
|
|
12496 |
|
|
* config/tc-m68k.c: Replace "enum m68k_architecture" with "int"
|
12497 |
|
|
throughout. That enum no longer means what we thought it meant.
|
12498 |
|
|
|
12499 |
|
|
* config/tc-m68k.c (md_assemble, md_parse_option): Handle new
|
12500 |
|
|
"-mno-688[58]1" options.
|
12501 |
|
|
|
12502 |
|
|
* config/tc-m68k.c: Added CPU32 support.
|
12503 |
|
|
|
12504 |
|
|
Fri Sep 18 08:02:18 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12505 |
|
|
|
12506 |
|
|
* config/tc-m68k.c (m68k_ip): An(disp) is not pc relative.
|
12507 |
|
|
|
12508 |
|
|
Tue Sep 15 17:25:05 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
|
12509 |
|
|
|
12510 |
|
|
* Makefile.in (as.new): Remove dependence on LOCAL_LOADLIBES.
|
12511 |
|
|
Change LIBDEPS dependence to LIBS.
|
12512 |
|
|
|
12513 |
|
|
Tue Sep 15 15:32:02 1992 Ian Lance Taylor (ian@cygnus.com)
|
12514 |
|
|
|
12515 |
|
|
* Makefile.in (install): if $(tooldir) exists, install as in
|
12516 |
|
|
$(tooldir)/bin.
|
12517 |
|
|
|
12518 |
|
|
Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)
|
12519 |
|
|
|
12520 |
|
|
* Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any
|
12521 |
|
|
.word is < -32768 or > 32767. The -J flag causes the error to be
|
12522 |
|
|
ignored. This is to catch over-sized switches generated by gcc on
|
12523 |
|
|
systems which don't support the broken .word hack.
|
12524 |
|
|
as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD.
|
12525 |
|
|
write.c (fixup_segment): check for signed .word overflow if
|
12526 |
|
|
WARN_SIGNED_OVERFLOW_WORD.
|
12527 |
|
|
|
12528 |
|
|
* write.c (fixup_segment): fixed missing parens in expression
|
12529 |
|
|
checking for byte or word overflow.
|
12530 |
|
|
|
12531 |
|
|
* config/obj-coffbfd.h: define WARN_SIGNED_OVERFLOW_WORD.
|
12532 |
|
|
obj-coffbfd.c (fixup_segment): check for signed .word overflow if
|
12533 |
|
|
WARN_SIGNED_OVERFLOW_WORD.
|
12534 |
|
|
|
12535 |
|
|
* config/obj-coffbfd.c (fixup_segment): fixed missing parens in
|
12536 |
|
|
expression checking for byte or word overflow.
|
12537 |
|
|
|
12538 |
|
|
Fri Sep 11 10:21:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12539 |
|
|
|
12540 |
|
|
Support for i386 coff
|
12541 |
|
|
* config/obj-coffbfd.h : added stuff
|
12542 |
|
|
* config/tc-i386.c (tc_coff_fix2rtype): new function
|
12543 |
|
|
* config/tc-i386.h : new coff defines
|
12544 |
|
|
|
12545 |
|
|
Thu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com)
|
12546 |
|
|
|
12547 |
|
|
* input-scrub.c (input_scrub_push): call input_file_begin, not
|
12548 |
|
|
input_scrub_begin.
|
12549 |
|
|
messages.c (as_perror): print ": " between the passed in error and
|
12550 |
|
|
the strerror, like perror does.
|
12551 |
|
|
|
12552 |
|
|
Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)
|
12553 |
|
|
|
12554 |
|
|
* Makefile.in: use gas_target instead of modifying target_cpu.
|
12555 |
|
|
From Steve Chamberlain:
|
12556 |
|
|
Makefile.in: Handle m68*-*-coff*.
|
12557 |
|
|
read.c, read.h: add mult argument to s_space
|
12558 |
|
|
|
12559 |
|
|
* config/tc-m68k.c (m68k_ip, m68k_ip_op, get_num, try_moto_index): merge
|
12560 |
|
|
Motorola and MIT syntax; gas can now assemble either type of
|
12561 |
|
|
file.
|
12562 |
|
|
* config/tc-m68kmote.c, config/tc-m68kmote.h: removed now
|
12563 |
|
|
superfluous files.
|
12564 |
|
|
|
12565 |
|
|
From Steve Chamberlain:
|
12566 |
|
|
* config/m68kcoff.mt: for m68k COFF.
|
12567 |
|
|
* config/obj-coffbfd.c: (fixup_mdeps) added
|
12568 |
|
|
(size_section) removed bad sanity check
|
12569 |
|
|
(fill_section) added rs_machine_dependent case
|
12570 |
|
|
(write_object_file) call fixup_mdeps
|
12571 |
|
|
(fixup_segment) set fx_subsy to 0.
|
12572 |
|
|
* config/ obj-coffbfd.h: define WORKING_DOT_WORD (too hard to
|
12573 |
|
|
support) and handle m68k.
|
12574 |
|
|
* config/tc-m68k.c, config/tc-m68k.h: added m68k COFF support
|
12575 |
|
|
and Motorala pseudo ops.
|
12576 |
|
|
|
12577 |
|
|
Tue Sep 8 17:10:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
12578 |
|
|
|
12579 |
|
|
* Makefile.in (LIBS): Include opcode library.
|
12580 |
|
|
|
12581 |
|
|
Fri Sep 4 18:20:56 1992 Ken Raeburn (raeburn@cygnus.com)
|
12582 |
|
|
|
12583 |
|
|
* config/tc-m68k.c (get_num, case SEG_BIG): If only small integers
|
12584 |
|
|
including zero are accepted, pass +0.0.
|
12585 |
|
|
|
12586 |
|
|
Sun Aug 30 21:24:46 1992 Ian Lance Taylor (ian@cygnus.com)
|
12587 |
|
|
|
12588 |
|
|
* Makefile.in: map "as" through program_transform_name when
|
12589 |
|
|
installing.
|
12590 |
|
|
|
12591 |
|
|
* doc/Makefile.in: map "as" through program_transform_name when
|
12592 |
|
|
installing.
|
12593 |
|
|
|
12594 |
|
|
Sat Aug 29 12:11:12 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
|
12595 |
|
|
|
12596 |
|
|
* Makefile.in (as.new): Depend on LOCAL_LOADLIBES.
|
12597 |
|
|
|
12598 |
|
|
Fri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)
|
12599 |
|
|
|
12600 |
|
|
* config/obj-bout.h, config/obj-bout.c (obj_header_append,
|
12601 |
|
|
obj_symbol_to_chars).
|
12602 |
|
|
* config/tc-i960.c (md_ri_to_chars): Always output bout object
|
12603 |
|
|
file in little endian byte order (used to use endianness of
|
12604 |
|
|
host).
|
12605 |
|
|
|
12606 |
|
|
Tue Aug 25 15:50:48 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
12607 |
|
|
|
12608 |
|
|
* config/tc-m68k.c (init_table): Now const. Always include 68851
|
12609 |
|
|
data, so that "bc" is available to 68040 cache instructions.
|
12610 |
|
|
Added "tt0", "tt1", and 68ec030 variants.
|
12611 |
|
|
(md_assemble): Complain if 68000 (only) and 68881 are specified.
|
12612 |
|
|
(enum _register): Added TT0, TT1.
|
12613 |
|
|
(m68k_ip, cases '3' and 't'): Handle new operand type codes. Pass
|
12614 |
|
|
line number correctly in "internal error" messages. Don't print
|
12615 |
|
|
architecture-mismatch message for operand errors.
|
12616 |
|
|
|
12617 |
|
|
From Colin Smith (colin@wrs.com):
|
12618 |
|
|
* config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather
|
12619 |
|
|
than install_operand.
|
12620 |
|
|
|
12621 |
|
|
Tue Aug 25 15:13:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12622 |
|
|
|
12623 |
|
|
* listing.c (buffer_line): rewind to the start of include
|
12624 |
|
|
files, they might be included twice.
|
12625 |
|
|
|
12626 |
|
|
* z8k.c, z8k.h, z8k.mt: z8000 support stuff
|
12627 |
|
|
|
12628 |
|
|
Mon Aug 24 12:45:43 1992 Ian Lance Taylor (ian@cygnus.com)
|
12629 |
|
|
|
12630 |
|
|
* Makefile.in: defined TARGET_CPU for C code so that it can choose
|
12631 |
|
|
one element of a family.
|
12632 |
|
|
|
12633 |
|
|
* config/tc-m68k.c: use TARGET_CPU to choose default cpu type.
|
12634 |
|
|
|
12635 |
|
|
* config/te-generic.h: default to LOCAL_LABELS_DOLLAR and LOCAL_LABELS_FB
|
12636 |
|
|
so that we can assemble hand-written libgcc code.
|
12637 |
|
|
|
12638 |
|
|
Fri Aug 21 14:38:44 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
12639 |
|
|
|
12640 |
|
|
* messages.c (as_warn): Use fputs, not fprintf, with a buffer that
|
12641 |
|
|
has already been formatted (but may still contain %-characters).
|
12642 |
|
|
(as_bad): Likewise.
|
12643 |
|
|
|
12644 |
|
|
Wed Aug 19 11:20:59 1992 Ian Lance Taylor (ian@cygnus.com)
|
12645 |
|
|
|
12646 |
|
|
* config/tc-m68k.c, tc-m68kmote.c: the cas2 instruction is supposed to be
|
12647 |
|
|
written with indirection on the last two operands, which can be
|
12648 |
|
|
either data or address registers. Added a new operand type 'r'
|
12649 |
|
|
which accepts either register type. Added '(' to notend stuff in
|
12650 |
|
|
tc-m68kmote.c to accept (a0):(a2) in cas2 instruction.
|
12651 |
|
|
|
12652 |
|
|
Wed Aug 19 09:25:09 1992 Ken Raeburn (raeburn@cygnus.com)
|
12653 |
|
|
|
12654 |
|
|
* as.h (enum _relax_state): Start off at one, not zero, to better
|
12655 |
|
|
catch uninitialized-variable errors.
|
12656 |
|
|
(linkrelax): Declare new variable.
|
12657 |
|
|
|
12658 |
|
|
* messages.c (warning_count, error_count): Default initializer is
|
12659 |
|
|
sufficient.
|
12660 |
|
|
|
12661 |
|
|
* write.c: Merged some declarations, using PARMS macro.
|
12662 |
|
|
(text_frag_root, data_frag_root, bss_frag_root, text_last_frag,
|
12663 |
|
|
data_last_frag): No longer static.
|
12664 |
|
|
(write_object_file, case rs_align or rs_org): If HANDLE_ALIGN is
|
12665 |
|
|
defined, call it. Change segments before calling fixup_segment.
|
12666 |
|
|
(relax_align): If linkrelax, provide extra padding.
|
12667 |
|
|
|
12668 |
|
|
* config/obj-bout.c (obj_emit_relocations): Emit alignment relocs despite
|
12669 |
|
|
their not having symbols associated.
|
12670 |
|
|
|
12671 |
|
|
* config/tc-i960.c (norelax, instrument_branches): Default initializer is
|
12672 |
|
|
sufficient.
|
12673 |
|
|
(linkrelax): Delete variable definition.
|
12674 |
|
|
(mem_fmt): Call fix_new with NO_RELOC.
|
12675 |
|
|
(tc_bout_fix_to_chars): Handle alignment relocs.
|
12676 |
|
|
(i960_handle_align): New function.
|
12677 |
|
|
* config/tc-i960.h (linkrelax): Delete declaration.
|
12678 |
|
|
(HANDLE_ALIGN): New macro; calls i960_handle_align.
|
12679 |
|
|
(NEED_FX_R_TYPE, NO_RELOC): New macros.
|
12680 |
|
|
|
12681 |
|
|
Tue Aug 18 14:59:21 1992 Ken Raeburn (raeburn@cygnus.com)
|
12682 |
|
|
|
12683 |
|
|
* config/sparc.mt: New file. Grab sparc opcode table from bfd
|
12684 |
|
|
library.
|
12685 |
|
|
|
12686 |
|
|
Tue Aug 18 14:16:38 1992 Ian Lance Taylor (ian@cygnus.com)
|
12687 |
|
|
|
12688 |
|
|
* Makefile.in: always create installation directories. Removed
|
12689 |
|
|
MINUS_G, set CFLAGS to default to -g, added FLAGS_TO_PASS, passed
|
12690 |
|
|
FLAGS_TO_PASS to recursive makes.
|
12691 |
|
|
|
12692 |
|
|
* doc/Makefile.in: always create installation directories.
|
12693 |
|
|
|
12694 |
|
|
Mon Aug 17 15:09:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12695 |
|
|
|
12696 |
|
|
* input-scrub.c (input_scrub_pop, input_scrub_push): memcpy was
|
12697 |
|
|
being used with args swapped, causing occasional lossage when
|
12698 |
|
|
refilling buffers after an include file.
|
12699 |
|
|
|
12700 |
|
|
Mon Aug 17 13:18:51 1992 Ken Raeburn (raeburn@cygnus.com)
|
12701 |
|
|
|
12702 |
|
|
* messages.c (as_tsktsk): Use correct ANSI form for stdarg
|
12703 |
|
|
version. Discard bogus DONTDEF version.
|
12704 |
|
|
(as_warn, as_bad, as_fatal): Likewise.
|
12705 |
|
|
|
12706 |
|
|
Fri Aug 14 18:31:14 1992 Ken Raeburn (raeburn@cygnus.com)
|
12707 |
|
|
|
12708 |
|
|
* config/tc-m68k.c (m68k_ip): If instruction is invalid for the
|
12709 |
|
|
selected architecture, print a message saying so and listing what
|
12710 |
|
|
processors support it, rather than saying "operands mismatch".
|
12711 |
|
|
|
12712 |
|
|
Thu Aug 13 13:53:19 1992 Ken Raeburn (raeburn@cygnus.com)
|
12713 |
|
|
|
12714 |
|
|
* as.h [BROKEN_ASSERT]: If defined, turn off all assertion checks.
|
12715 |
|
|
|
12716 |
|
|
* config/ho-rs6000.h (M_RS6000): Don't define it.
|
12717 |
|
|
(free): Declare it.
|
12718 |
|
|
(BROKEN_ASSERT): Define it if not __STDC__.
|
12719 |
|
|
|
12720 |
|
|
Tue Aug 11 12:58:14 1992 Ken Raeburn (raeburn@cygnus.com)
|
12721 |
|
|
|
12722 |
|
|
* sparc.mt: New file.
|
12723 |
|
|
|
12724 |
|
|
Mon Aug 10 14:37:08 1992 Per Bothner (bothner@cygnus.com)
|
12725 |
|
|
|
12726 |
|
|
* config/tc-m68k.c: ".align N" means align to N-byte boundary *only*
|
12727 |
|
|
if TN_SUN3; otherwise align to 2**N-byte bounary.
|
12728 |
|
|
|
12729 |
|
|
Thu Aug 6 12:10:39 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12730 |
|
|
|
12731 |
|
|
* read.c (s_fill): make the .fill size clamped error a warn and
|
12732 |
|
|
fix bug where 0's were always placed.
|
12733 |
|
|
|
12734 |
|
|
* config/tc-h8300.c: if a :8 is seen after an operand, fill top
|
12735 |
|
|
two bytes of any constant with 0xff:
|
12736 |
|
|
|
12737 |
|
|
Wed Aug 5 12:02:40 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12738 |
|
|
|
12739 |
|
|
* config/tc-m68k.c (md_pseudo_table): fix the .align thing
|
12740 |
|
|
the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo.
|
12741 |
|
|
|
12742 |
|
|
Wed Aug 5 01:54:34 1992 John Gilmore (gnu at cygnus.com)
|
12743 |
|
|
|
12744 |
|
|
* config/tc-m68k.c (try_index): Error if index scaling specified and
|
12745 |
|
|
assembling for an older CPU than a 68020.
|
12746 |
|
|
|
12747 |
|
|
Sat Aug 1 19:10:13 1992 Ken Raeburn (raeburn@cygnus.com)
|
12748 |
|
|
|
12749 |
|
|
* config/tc-sparc.c (tc_aout_fix_to_chars): If pc-relative, take
|
12750 |
|
|
fx_offset into account.
|
12751 |
|
|
|
12752 |
|
|
Fri Jul 31 21:53:28 1992 Ken Raeburn (raeburn@cygnus.com)
|
12753 |
|
|
|
12754 |
|
|
* configure.in (mips host): Accept "ultrix" with version number.
|
12755 |
|
|
|
12756 |
|
|
* expr.c (floating_constant): Separate "=-" to avoid confusing
|
12757 |
|
|
ancient or broken compilers.
|
12758 |
|
|
|
12759 |
|
|
* config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
|
12760 |
|
|
processor/opcode mismatch, so reword the error message.
|
12761 |
|
|
(md_assemble): If no CPU has been set (even if FPU/PMMU
|
12762 |
|
|
characteristics have been), default to 68020. Don't need extra
|
12763 |
|
|
quotes around error string.
|
12764 |
|
|
|
12765 |
|
|
Fri Jul 31 12:26:34 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
|
12766 |
|
|
|
12767 |
|
|
* read.c (potable): Revert sac's incorrect change made Jul 13.
|
12768 |
|
|
Align really is supposed to be ptwo not nbytes.
|
12769 |
|
|
|
12770 |
|
|
Mon Jul 20 02:51:59 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
|
12771 |
|
|
|
12772 |
|
|
* Makefile.in: _Do_ include libiberty. (from sef)
|
12773 |
|
|
|
12774 |
|
|
Fri Jul 17 15:15:28 1992 Ken Raeburn (raeburn@cygnus.com)
|
12775 |
|
|
|
12776 |
|
|
* expr.c (integer_constant): Handle "0f" and "0b" label references
|
12777 |
|
|
properly.
|
12778 |
|
|
|
12779 |
|
|
Thu Jul 16 08:20:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12780 |
|
|
|
12781 |
|
|
* write.c (fixup_segment): if relaxing, don't do anything.
|
12782 |
|
|
* config/obj-bout.[ch] : maintain the a_relaxable file header info
|
12783 |
|
|
* config/tc-i960.c: new option -linkrelax
|
12784 |
|
|
|
12785 |
|
|
Mon Jul 13 14:11:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12786 |
|
|
|
12787 |
|
|
* expr.c (expr): allow SEG_BSS in expressions
|
12788 |
|
|
* read.c (potable): align should be nbytes, not ptwo!
|
12789 |
|
|
* write.c (write_object_file): extra glue for new bss attributes
|
12790 |
|
|
(relax_segment): SEG_BSS is ok now
|
12791 |
|
|
* config/tc-m68k.c (m68k_ip_op): can now parse more @( modes
|
12792 |
|
|
|
12793 |
|
|
Mon Jul 6 17:09:32 1992 Steve Chamberlain (sac@cygnus.com)
|
12794 |
|
|
|
12795 |
|
|
* config/obj-coffbfd.c (fill_section): mark .lit sections as STYP_LIT
|
12796 |
|
|
|
12797 |
|
|
Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com)
|
12798 |
|
|
|
12799 |
|
|
* configure.in: recognize m680x0 as having sun3 emulation mode for
|
12800 |
|
|
vxworks environment.
|
12801 |
|
|
|
12802 |
|
|
|
12803 |
|
|
Tue Jun 30 20:25:54 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
|
12804 |
|
|
|
12805 |
|
|
* Makefile.in: Add program_suffix (parallel to program_prefix)
|
12806 |
|
|
|
12807 |
|
|
Wed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12808 |
|
|
|
12809 |
|
|
* app.c (process_escape): new function to handle escapes the right
|
12810 |
|
|
way, (do_scrub_next_char): use new function
|
12811 |
|
|
* cond.c (s_ifdef): do ifdef/ifndef right
|
12812 |
|
|
* read.c (s_fill): make the , expressions optional like the doc
|
12813 |
|
|
says
|
12814 |
|
|
* config/tc-h8300.[ch]: better warnings
|
12815 |
|
|
|
12816 |
|
|
Tue Jun 9 07:54:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12817 |
|
|
|
12818 |
|
|
* subsegs.c (subsegs_begin): create bss0_frchainP in the same was
|
12819 |
|
|
as data0_frchainP
|
12820 |
|
|
|
12821 |
|
|
* write.c (write_object_file): various changes to handle data in
|
12822 |
|
|
the BSS segment in much the same was as stuff in the DATA segment.
|
12823 |
|
|
|
12824 |
|
|
* config/tc-m68k.c (m68kip): Fix typo so that only arch's >=68020 do
|
12825 |
|
|
pcrel data stuff. (md_estimate_size_before_relax): when relaxing a
|
12826 |
|
|
68010 bxx into a bra+6 jmpxx, put the bytes of the jmp opcode into
|
12827 |
|
|
the right place. (s_bss): Don't put .bss stuff into SEG_DATA, put
|
12828 |
|
|
it into SEG_BSS
|
12829 |
|
|
|
12830 |
|
|
Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12831 |
|
|
|
12832 |
|
|
* expr.c(expr): allow SEG_REGISTER in expressions.
|
12833 |
|
|
* read.c(pseudo_set): register expressions can be the source of a
|
12834 |
|
|
set.
|
12835 |
|
|
* subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
|
12836 |
|
|
goto SEG_TEXT (if a.out)
|
12837 |
|
|
* write.c (write_object_file): If a.out don't use the old way for
|
12838 |
|
|
-R.
|
12839 |
|
|
* config/obj-a.out (s_sect): complain if the user tries to use a
|
12840 |
|
|
subsegment with a value which might interfere with out -R hackery.
|
12841 |
|
|
* config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
|
12842 |
|
|
rather than use ugly if tree. (init_regtable): insert register
|
12843 |
|
|
names into symbol table.
|
12844 |
|
|
|
12845 |
|
|
Tue Jun 2 16:47:09 1992 Steve Chamberlain (sac@cygnus.com)
|
12846 |
|
|
|
12847 |
|
|
* write.c (write_object_file): keep the fix_tail clean, which
|
12848 |
|
|
fixes a bug in -R where relocations were being lost.
|
12849 |
|
|
|
12850 |
|
|
Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com)
|
12851 |
|
|
|
12852 |
|
|
* configure.in: recognize m680x0 as having sun3 emulation mode for
|
12853 |
|
|
vxworks environment.
|
12854 |
|
|
|
12855 |
|
|
Sun May 31 05:33:00 1992 david d `zoo' zuhn (zoo@cygnus.com)
|
12856 |
|
|
|
12857 |
|
|
* configure.in: recognize m680x0 as an m68k
|
12858 |
|
|
|
12859 |
|
|
Thu May 28 11:22:02 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
|
12860 |
|
|
|
12861 |
|
|
* configure.in: Recognize sparclite as a sparc variant.
|
12862 |
|
|
|
12863 |
|
|
* config/tc-sparc.c: Use new ARCHITECTURES_CONFLICT_P macro. Mention new
|
12864 |
|
|
-Asparclite flag.
|
12865 |
|
|
|
12866 |
|
|
Tue May 26 16:47:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12867 |
|
|
|
12868 |
|
|
* config/tc-a29k.c: lint
|
12869 |
|
|
* listing.c, expr.c: patches from Andrew Smith
|
12870 |
|
|
|
12871 |
|
|
Thu May 14 17:22:48 1992 K. Richard Pixley (rich@rtl.cygnus.com)
|
12872 |
|
|
|
12873 |
|
|
* doc/Makefile.in: use m4 rather than gm4.
|
12874 |
|
|
|
12875 |
|
|
Mon May 4 18:56:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12876 |
|
|
|
12877 |
|
|
* config/obj-coffbfd.c: use is a synonym for section, (do_relocs_for):
|
12878 |
|
|
calc the base of relocs correctly.
|
12879 |
|
|
* config/tc-a29k.c (parse_operand): allow expressions to be in any section.
|
12880 |
|
|
|
12881 |
|
|
Mon Apr 27 13:13:31 1992 K. Richard Pixley (rich@cygnus.com)
|
12882 |
|
|
|
12883 |
|
|
* as.c, write.c: use -K rather than -k for the broken word warning
|
12884 |
|
|
option.
|
12885 |
|
|
|
12886 |
|
|
Tue Apr 21 13:35:30 1992 K. Richard Pixley (rich@cygnus.com)
|
12887 |
|
|
|
12888 |
|
|
* Makefile.in: do not print recursion lines.
|
12889 |
|
|
|
12890 |
|
|
Wed Apr 15 21:19:31 1992 K. Richard Pixley (rich@rtl.cygnus.com)
|
12891 |
|
|
|
12892 |
|
|
* Makefile.in: the tooldir copy of gas goes directly in tooldir.
|
12893 |
|
|
|
12894 |
|
|
Tue Apr 14 14:50:22 1992 Ken Raeburn (Raeburn@Cygnus.COM)
|
12895 |
|
|
|
12896 |
|
|
* write.c (write_object_file): For b.out format, round up section
|
12897 |
|
|
start addresses to match required alignment.
|
12898 |
|
|
|
12899 |
|
|
Thu Apr 9 05:45:29 1992 Ken Raeburn (Raeburn@Cygnus.COM)
|
12900 |
|
|
|
12901 |
|
|
* Makefile.in (install): Install into $(tooldir)/bin, since that's
|
12902 |
|
|
where gcc looks for it.
|
12903 |
|
|
|
12904 |
|
|
Tue Apr 7 15:12:15 1992 Sean Eric Fagan (sef@cygnus.com)
|
12905 |
|
|
|
12906 |
|
|
* Makefile.in: Changed some lines to be less confusing for some
|
12907 |
|
|
makes.
|
12908 |
|
|
|
12909 |
|
|
* input-file.c: Conditionalize on _IOFBF, not VMS.
|
12910 |
|
|
|
12911 |
|
|
* read.c, write.c: Change a series of ifdef/elif to
|
12912 |
|
|
ifdef/else/ifdef etc.
|
12913 |
|
|
|
12914 |
|
|
Fri Mar 27 12:21:16 1992 K. Richard Pixley (rich@cygnus.com)
|
12915 |
|
|
|
12916 |
|
|
* symbols.c (fb_label_init): fix sizeof to memset.
|
12917 |
|
|
|
12918 |
|
|
Fri Mar 13 15:45:44 1992 K. Richard Pixley (rich@cygnus.com)
|
12919 |
|
|
|
12920 |
|
|
* Makefile.in: install the man page.
|
12921 |
|
|
|
12922 |
|
|
* Makefile.in: pass down MAKEINFO explicitly on info.
|
12923 |
|
|
|
12924 |
|
|
* doc/Makefile.in: use $(MAKEINFO) not makeinfo.
|
12925 |
|
|
|
12926 |
|
|
Fri Mar 13 08:03:03 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
12927 |
|
|
|
12928 |
|
|
* flonum-const.c: renamed flonum-konst.c to stop dos name
|
12929 |
|
|
conflict.
|
12930 |
|
|
|
12931 |
|
|
Thu Mar 12 04:42:38 1992 K. Richard Pixley (rich@cygnus.com)
|
12932 |
|
|
|
12933 |
|
|
* config/tc-m68k.h, config/te-sun3.h: moved LOCAL_LABELS_FB
|
12934 |
|
|
definition from tc-m68k.h to te-sun3.h.
|
12935 |
|
|
|
12936 |
|
|
Wed Mar 11 23:32:42 1992 K. Richard Pixley (rich@cygnus.com)
|
12937 |
|
|
|
12938 |
|
|
* configure.in: vxworks68 gets te-sun3.h.
|
12939 |
|
|
|
12940 |
|
|
* expr.c: remove limitation that local_labels_dollar or
|
12941 |
|
|
local_labels_fb must be < 10.
|
12942 |
|
|
|
12943 |
|
|
* symbols.c: remove local_labels_dollar, replace with a function
|
12944 |
|
|
interface for a sparse array. All users adjusted.
|
12945 |
|
|
|
12946 |
|
|
* config/te-sun3.h: add LOCAL_LABELS_DOLLAR.
|
12947 |
|
|
|
12948 |
|
|
Sat Mar 7 00:06:25 1992 K. Richard Pixley (rich@rtl.cygnus.com)
|
12949 |
|
|
|
12950 |
|
|
* doc/Makefile.in: commented out line for building as-all.texinfo.
|
12951 |
|
|
This is temporary.
|
12952 |
|
|
|
12953 |
|
|
* doc/as.texinfo, doc/as-all.texinfo: added menu item hooks.
|
12954 |
|
|
|
12955 |
|
|
Fri Mar 6 21:57:18 1992 K. Richard Pixley (rich@cygnus.com)
|
12956 |
|
|
|
12957 |
|
|
* Makefile.in: added check target.
|
12958 |
|
|
|
12959 |
|
|
Tue Mar 3 15:45:56 1992 K. Richard Pixley (rich@rtl.cygnus.com)
|
12960 |
|
|
|
12961 |
|
|
* Makefile.in: added tooldir and program_prefix.
|
12962 |
|
|
|
12963 |
|
|
Sun Mar 1 04:43:19 1992 Michael Tiemann (tiemann@cygnus.com)
|
12964 |
|
|
|
12965 |
|
|
* write.{c,h} (fix_new): Make these declarations consistent.
|
12966 |
|
|
|
12967 |
|
|
Sat Feb 29 13:59:10 1992 Michael Tiemann (tiemann@cygnus.com)
|
12968 |
|
|
|
12969 |
|
|
* Makefile.in (strerror.o): Add rule so that broken Sun make can
|
12970 |
|
|
work in subdirs.
|
12971 |
|
|
|
12972 |
|
|
Wed Feb 26 19:26:28 1992 Steve Chamberlain (sac at thepub.cygnus.com)
|
12973 |
|
|
|
12974 |
|
|
* read.c, obj-coffbfd.c : fix h8300 specific bit rot
|
12975 |
|
|
|
12976 |
|
|
* expr.c (operand): if can't work out what sort of operand it is,
|
12977 |
|
|
then look through FLT_CHARS for a hint.
|
12978 |
|
|
|
12979 |
|
|
Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
|
12980 |
|
|
|
12981 |
|
|
* Makefile.in, configure.in: removed traces of namesubdir,
|
12982 |
|
|
-subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
|
12983 |
|
|
copyrights to '92, changed some from Cygnus to FSF.
|
12984 |
|
|
|
12985 |
|
|
* doc/Makefile.in, doc/configure.in: removed traces of namesubdir,
|
12986 |
|
|
-subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
|
12987 |
|
|
copyrights to '92, changed some from Cygnus to FSF.
|
12988 |
|
|
|
12989 |
|
|
Tue Feb 25 14:17:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
|
12990 |
|
|
|
12991 |
|
|
* expr.c: If an expression is single comma, then return with
|
12992 |
|
|
SEG_ABSENT rather than an error - since the sparc front end does
|
12993 |
|
|
really strange things with things like fbge,a
|
12994 |
|
|
|
12995 |
|
|
* as.h: include bfd.h if using many sections
|
12996 |
|
|
* expr.c: LOCAL_LABELS_FB had been changed to lower case - so
|
12997 |
|
|
local labels didn't work.
|
12998 |
|
|
* listing.c (list_symbol_table): don't core dump when there's no
|
12999 |
|
|
symbol there.
|
13000 |
|
|
* write.c, write.h: call fix_new with the right number of args on
|
13001 |
|
|
the H8.
|
13002 |
|
|
* config/tc-h8300.[ch] : fix bugs reported by HMSI, and make
|
13003 |
|
|
errors nices
|
13004 |
|
|
|
13005 |
|
|
Sat Feb 22 12:26:28 1992 Steve Chamberlain (sac at rtl.cygnus.com)
|
13006 |
|
|
|
13007 |
|
|
* app.c: MRI compatibility - allow single quote to start a string.
|
13008 |
|
|
* as.c: fix typo recently introduced.
|
13009 |
|
|
* as.h : Don't include aout/reloc.h - it's not right for COFF!
|
13010 |
|
|
* expr.c: Much rewriting, to accommodate MRI syntax for
|
13011 |
|
|
expressions. Also easier to read now.
|
13012 |
|
|
* listing.c: Put back defuns
|
13013 |
|
|
* read.c: modified to accept MRI syntax, put back listing pseudo
|
13014 |
|
|
ops so that an assembler built with NO_LISTING ignores list ops
|
13015 |
|
|
rather than pukes.
|
13016 |
|
|
* write.c, write.h: fixs - only keep a reloc type in a fix if the target
|
13017 |
|
|
machine is a SPARC or a 29K.
|
13018 |
|
|
* config/obj-aout.c: added s_sect pseudo op
|
13019 |
|
|
* config/obj-coffbfd.c: lints, set the filehdr flags right and
|
13020 |
|
|
fill in the timestamp.
|
13021 |
|
|
* config/obj-coffbfd.h: Since we don't include aout/reloc.h
|
13022 |
|
|
anymore, define all the relocs which the tc- bit will use so we
|
13023 |
|
|
can translate from them to the coff types.
|
13024 |
|
|
* config/tc-a29k.c: reloc_type isn't ane enum any more
|
13025 |
|
|
* config/tc-m68k.c: Added NO_RELOC definition.
|
13026 |
|
|
|
13027 |
|
|
Fri Feb 21 06:21:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
|
13028 |
|
|
|
13029 |
|
|
* Makefile.in: put header files before C source for TAGS; remove
|
13030 |
|
|
references to non-existent syscalls.h.
|
13031 |
|
|
|
13032 |
|
|
* read.c, write.c subsegs.c: back out the .bss changes.
|
13033 |
|
|
|
13034 |
|
|
* config/obj-aout.c: do not include stab.gnu.h if NO_LISTING.
|
13035 |
|
|
|
13036 |
|
|
* config/tc-i860.c, a.out.gnu.h: move i860 relocs to a proper place.
|
13037 |
|
|
|
13038 |
|
|
* a.out.h: removed.
|
13039 |
|
|
|
13040 |
|
|
Fri Feb 21 01:08:48 1992 Minh Tran-Le (TRANLE@INTELLICORP.COM)
|
13041 |
|
|
|
13042 |
|
|
* symbols.c (local_label_name): symbols now start with ^A.
|
13043 |
|
|
|
13044 |
|
|
* read.c, subsegs.c, write.c obj-coff.c: added handling of
|
13045 |
|
|
`.bss` pseudo op for unitialized data. The new gcc (1.37.9x)
|
13046 |
|
|
generate these sections. .align: will use NOP_OPCODE or 0
|
13047 |
|
|
for padding. This is just for being nice to the
|
13048 |
|
|
disassembler.
|
13049 |
|
|
|
13050 |
|
|
* expr.c (operand): changed to generate local label "\001L0"
|
13051 |
|
|
starting with a ^A so that it is recognized as a local label.
|
13052 |
|
|
|
13053 |
|
|
* as.c (perform_an_assembly_pass): zero bss_fix_root, too.
|
13054 |
|
|
|
13055 |
|
|
* config/tc-i386.c: tc-i386.c: added handling of the following opcodes:
|
13056 |
|
|
i/o opcodes - inb, inw, outb and outw. string manipulation with
|
13057 |
|
|
att syntax - scmp, slod, smov, ssca, ssto.
|
13058 |
|
|
|
13059 |
|
|
* config/obj-coff.c: (for aix386) Moved the symbols .text, .data and .bss
|
13060 |
|
|
to just after .file .
|
13061 |
|
|
|
13062 |
|
|
In obj_crawl_symbol_chain() where it tries to put the external
|
13063 |
|
|
symbols apart, with the condition:
|
13064 |
|
|
(!S_IS_DEFINED(symbolP) &&
|
13065 |
|
|
!S_IS_DEBUG(symbolP) &&
|
13066 |
|
|
!SF_GET_STATICS(symbolP))
|
13067 |
|
|
it was moving too many symbols out. So I switch it back to the
|
13068 |
|
|
condition:
|
13069 |
|
|
(S_GET_STORAGE_CLASS(symbolP) == C_EXT && !SF_GET_FUNCTION(symbolP))
|
13070 |
|
|
|
13071 |
|
|
In obj_emit_relocations() added the conditional on KEEP_RELOC_INFO
|
13072 |
|
|
so that we don't use the F_RELFLG which make the linker complain
|
13073 |
|
|
that somebody has stripped the relocation info.
|
13074 |
|
|
|
13075 |
|
|
Also, the AIX ld program require that the relocation table
|
13076 |
|
|
is sorted by r_vaddr like the standard ATT assembler does.
|
13077 |
|
|
|
13078 |
|
|
[he also changed the sizeof(struct ...)'s into the coff
|
13079 |
|
|
style FOOSZ macros. I'm not sure this is right, but I can't
|
13080 |
|
|
remember why. xoxorich.]
|
13081 |
|
|
|
13082 |
|
|
Fri Feb 21 01:08:48 1992 K. Richard Pixley (rich@cygnus.com)
|
13083 |
|
|
|
13084 |
|
|
* Makefile.in, configure.in, doc: use the doc. Build it, install
|
13085 |
|
|
it, clean it, etc.
|
13086 |
|
|
|
13087 |
|
|
Tue Feb 18 02:21:25 1992 K. Richard Pixley (rich at cygnus.com)
|
13088 |
|
|
|
13089 |
|
|
* read.c: white space and comments only.
|
13090 |
|
|
|
13091 |
|
|
* configure.in: use the new atof-ns32.c for ns32k.
|
13092 |
|
|
|
13093 |
|
|
* write.c: comment change only.
|
13094 |
|
|
|
13095 |
|
|
* config/tc-m88k.[hc]: pulled in from hack's unfinished work. These
|
13096 |
|
|
aren't yet integrated.
|
13097 |
|
|
|
13098 |
|
|
* config/tc-i860.[hc]: blew off the dust. Something must still be done
|
13099 |
|
|
about conflicting relocation types.
|
13100 |
|
|
|
13101 |
|
|
* config/tc-ns32k.c: Replaced previous tc_aout_fix_to_chars stub with the
|
13102 |
|
|
real thing.
|
13103 |
|
|
|
13104 |
|
|
* config/tc-i960.c, config/tc-sparc.c: white space and comments only.
|
13105 |
|
|
|
13106 |
|
|
* config/tc-a29k.h: delete duplicate macro definition.
|
13107 |
|
|
|
13108 |
|
|
* new file atof-ns32k.c copied from hack's last unreleased gas.
|
13109 |
|
|
|
13110 |
|
|
Mon Feb 17 07:51:06 1992 K. Richard Pixley (rich at cygnus.com)
|
13111 |
|
|
|
13112 |
|
|
* config/tc-ns32k.c: actually make tc_aout_fix_to_chars work
|
13113 |
|
|
rather than abort.
|
13114 |
|
|
|
13115 |
|
|
* nearly everything. flush ChangeLog, package as gas-1.92.1.
|
13116 |
|
|
ChangeLog's prior to this are sketchy at best. I have logs.
|
13117 |
|
|
They just aren't ChangeLogs.
|
13118 |
|
|
|
13119 |
|
|
Local Variables:
|
13120 |
|
|
mode: change-log
|
13121 |
|
|
left-margin: 8
|
13122 |
|
|
fill-column: 74
|
13123 |
|
|
version-control: never
|
13124 |
|
|
End:
|