]> Git Repo - binutils.git/blame - ld/ChangeLog
(nlm_symfile_read): Use SYMBOL_CLASS to access symbol class.
[binutils.git] / ld / ChangeLog
CommitLineData
64bb143c
BC
1Thu Jun 9 06:52:29 1994 Bill Cox ([email protected])
2
3 * Makefile.in (check): Delete ld.new dependency so that a regression
4 test doesn't trigger a rebuild of the linker.
5
ef01a8a8
ILT
6Thu Jun 9 00:17:20 1994 Ian Lance Taylor ([email protected])
7
8 * ldlang.c (map_input_to_output_sections): For lang_address, call
9 init_os if it hasn't already been called.
10
ed601bea
ILT
11Thu Jun 2 17:24:08 1994 Ian Lance Taylor ([email protected])
12
13 Add support for SunOS shared libraries.
14 * aout.sc: Don't define __DYNAMIC here. Add new sections used by
15 shared library support code.
16 * emultempl/sunos.em: New file.
17 * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos.
f7e66391 18 * emulparams/sun3.sh (TEMPLATE_NAME): Likewise.
ed601bea 19 * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em.
f7e66391 20 (esun3.c): Likewise.
ed601bea
ILT
21
22 * ldlang.c: Minor formatting cleanups.
23 (lang_for_each_input_file): New function.
24 * ldlang.h (lang_for_each_input_file): Declare.
25
26 * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline
27 field.
28 (search_head): Declare.
29 (ldfile_add_library_path): Add new cmdline argument in prototype.
30 * ldfile.c (search_head): Make non-static.
31 (search_dirs_type): Move to ldfile.h.
32 (ldfile_add_library_path): Accept cmdline argument, and save it.
33 * lexsup.c (parse_args): Pass true for new cmdline argument of
34 ldfile_add_library_path.
35 (set_default_dirlist): Likewise.
36 * ldmain.c (check_for_scripts_dir): Pass false for new cmdline
37 argument of ldfile_add_library_path.
38 * ldgram.y (ifile_p1): Likewise.
39
210c52ac
ILT
40Wed Jun 1 14:24:08 1994 Ian Lance Taylor ([email protected])
41
42 * ldlang.h (lang_input_statement_type): Remove fields subfiles,
43 total_size, superfile and chain.
44 * ldfile.c (open_a): Don't clear search_dirs_flag.
45 (ldfile_open_file): Don't try to open superfile. Assert that file
46 has not already been opened.
47 * ldlang.c (new_afile): Don't initialize superfile.
48 * ldmain.c (add_archive_element): Don't initialize subfiles or
49 chain or superfile. Initialize search_dirs_flag to false.
50
c06e55d9
KR
51Fri May 27 12:25:33 1994 Ken Raeburn ([email protected])
52
53 * ldver.c (ldversion): Changed version to "cygnus-2.4.1".
54
55 Changes from binutils-2.4 release:
56
57 * genscripts.sh (RELOCATING, CONSTRUCTING): When setting
58 variables, use whitespace, so scripts don't break.
59
60 * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted.
61
62 * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}.
63
64 * cdtest-bar.cc: Renamed from cdtest-func.cc.
65 * Makefile.in: Noted change.
66
67 * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I
68 don't know where that's supposed to come from, or why it's
69 necessary.
70
71 Wed May 11 22:32:00 1994 DJ Delorie ([email protected])
72
73 * configure.bat: update to latest makefile.in
74 * emulpara/go32.sh: set to coff-go32 not aout
75 * emultemp/generic.em: strength-reduce the structure of
76 this shell script, since the only available shell for
77 DOS can't handle complex syntax.
78 * emultemp/stringify.sed: for "sed -f" instead of inline.
79 * makefile.in: depend on stringify.sed as well as genscripts.sh
80 * scripttemp/go32coff.sc: correct for djgpp 1.11's COFF format
81 * genscripts.sh: empty variables aren't always considered "set",
82 so set them to "y" instead.
83
29371b1f
ILT
84Fri May 27 01:08:14 1994 Ian Lance Taylor ([email protected])
85
60e8a534
ILT
86 * ldlang.c (entry_symbol): Make static.
87 (lang_add_entry): Add cmdline argument.
88 * ldlang.h (lang_add_entry): Change prototype.
89 * ldgram.y (statement_anywhere): Change lang_add_entry call.
90 * lexsup.c (parse_args): Likewise.
29371b1f 91
f49f58c6
ILT
92Tue May 24 16:13:43 1994 Ian Lance Taylor ([email protected])
93
94 * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give
95 .reginfo an address.
96 (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address.
97 (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss.
98 * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script.
99
2a9fa50c
ILT
100Thu May 19 13:31:33 1994 Ian Lance Taylor ([email protected])
101
102 Add support for ELF shared libraries.
103 * ld.h (ld_config_type): Add field dynamic_link.
104 * ldmain.c (main): Initialize config.dynamic_link to false. Warn
105 on attempts to use -r with -relax, -call_shared or -s.
106 * lexsup.c (longopts): Separate OPTION_CALL_SHARED from
107 OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values
108 accordingly. Add "dy" and "non_shared" options. Change "Qy" to
109 OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and
110 OPTION_NON_SHARED by setting dynamic_link field accordingly.
111 Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for
112 -r and -Ur.
113 * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try
114 opening a file with a .so extension first.
115 * emultempl/elf32.em: New file.
116 * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000.
117 (NONPAGED_TEXT_START_ADDR): Likewise.
118 (TEMPLATE_NAME): Define as elf32.
119 (DATA_PLT): Define.
120 * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32.
121 * scripttempl/elf.sc: Add placement for new dynamic sections.
122 Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end
123 outside of any section. Don't use ALIGN(8); just let one section
124 VMA follow another. Put .dynbss in .bss. Don't mention debugging
125 sections; they'll be handled correctly anyhow.
126 * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em.
127
188ce705
ILT
128Wed May 18 10:15:39 1994 Ian Lance Taylor ([email protected])
129
130 * Makefile.in (install): Redirect output of ln to /dev/null.
131
4bd5c39f
JL
132Mon May 16 13:35:08 1994 Jeff Law ([email protected])
133
134 * emultempl/hppaelf.em: Change all references of
135 .hppa_linker_stubs to .PARISC.stubs.
136 * scripttempl/hppaelf.sc: Likewise.
137
439a3604
ILT
138Fri May 13 13:00:38 1994 Ian Lance Taylor ([email protected])
139
269773c1
ILT
140 * ldlang.c (print_output_section_statement): Change ``no attached
141 output section'' message slightly.
142 (lang_do_assignments): Don't recurse down if there is no real
143 section.
144
439a3604
ILT
145 * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to
146 match corresponding change in emulation templates.
147 * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise.
148 * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise.
149
82ebe9a2
KR
150Wed May 11 18:16:46 1994 Ken Raeburn ([email protected])
151
152 * ldver.c (ldversion): Updated version number.
153
154 * cdtest-foo.cc: Use explicit "#pragma implementation".
155 * cdtest-bar.cc: Renamed from cdtest-func.cc.
156 * Makefile.in: References to cdtest-func.o changed to
157 cdtest-bar.o.
158
f9d3d71a
ILT
159Wed May 11 16:24:19 1994 Ian Lance Taylor ([email protected])
160
161 Don't create unnecessary output sections.
162 * ldlang.c (out_bfd_get_section_by_name): Remove.
163 (wild_section): Call bfd_get_section_by_name rather than
164 our_bfd_get_section_by_name. Don't call wild_doit if there is no
165 section.
166 (lang_create_output_section_statements): Remove.
167 (map_input_to_output_sections): For several cases, call init_os if
168 it has not already been called.
169 (lang_size_sections): If output section was not created, skip it.
170 (lang_process): Don't call lan_create_output_section_statements.
171 (lang_place_orphans): Skip files with just_syms_flags set to true.
172 * ld.texinfo: Document change.
173
27f7237e
ILT
174Tue May 10 14:31:16 1994 Ian Lance Taylor ([email protected])
175
176 * ldlang.c (wild_doit): Don't bother initializing the vma and
177 section size. Don't special case SEC_SHARED_LIBRARY.
178 (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections
179 specially.
180
c1124600
ILT
181Fri May 6 12:24:27 1994 Steve Chamberlain ([email protected])
182
183 * config/go32.mh : New file for Xgo32X.
184
f6671f28
ILT
185Fri May 6 15:15:35 1994 Ian Lance Taylor ([email protected])
186
5acce559
ILT
187 * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call
188 before calling einfo, since we are reporting an fopen failure.
189 From [email protected] (Rick Sladkey).
190
f6671f28
ILT
191 * configure.in: Use "e" rather than "em_" as prefix for
192 emulations.
193
6e1e82a0
KR
194Fri May 6 01:08:14 1994 Ken Raeburn ([email protected])
195
196 * emultempl/generic.em: Use "e" rather than "em_" as prefix for
197 filename.
198 * emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em,
199 emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em:
200 Ditto.
201 * Makefile.in: Changed all generated file names.
202 (ldemul-list.h): Depend on Makefile, not config.status. Changed
203 sed patterns to handle new filenames.
204
205 * config/mipsl-idt.mt: Renamed from mips-idtl.mt.
206 * configure.in: Adjusted.
207
208Thu May 5 15:07:32 1994 Ken Raeburn ([email protected])
209
210 * Makefile.in (install-info): Don't use "$<*", it doesn't always
211 work. Instead, check build dir and $srcdir explicitly, and use
212 `echo' to get all the filenames.
213
214 * configure.in (h8300h-*-hms): Changed ld_target name to
215 cf-h8300h.
216 * config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it
217 unique in 8.3.
218
219 * config/i960coff.mt: New file.
220 * emulparams/gld960coff.sh: New file.
221 * emultempl/gld960c.em: New file.
222 * configure.in (i960-*-vxworks5* except -vxworks5.0*): Use
223 i960coff configuration.
224 * Makefile.in (em_gld960coff.c): Added dependencies, build rule.
225
226 * Makefile.in (ALL_EMULATIONS): Remove em_delta68.o, since the
227 code isn't included in FSF releases, and it can still be
228 explicitly selected.
229 (distclean): Remove site.bak and tmpdir.
230 (STAGESTUFF): Removed $(GENERATED_CFILES) $(GENERATED_HFILES).
231 (mostlyclean): Delete them explicitly here. Also remove tmpdir.
232
233 Patches from Ralph Campbell:
234 * config/mipsbsd.mh: New file.
235 * Makefile.in (em_mipsbsd.c): Use mipsbsd.sc, not aout.sc.
236 * scripttempl/mipsbsd.sc: Don't define __DYNAMIC.
237 * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out'
238 instead of `aout'.
239
240 * configure.in (i386-*-gnu*): Treat like i386-*-mach*.
241
269ec825
ILT
242Wed May 4 11:59:40 1994 Ian Lance Taylor ([email protected])
243
6e1e82a0
KR
244 * config/m68k.mt (EMUL): Set to m68kaout.
245 * emulparams/m68kaout.sh: New file.
246 * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o.
247 (em_m68kaout.c): New target.
248
269ec825
ILT
249 * ldlang.c (lang_size_sections): If dot moves because of an
250 assignment, don't try to insert a pad into the absolute output
251 section, just change the address of the default memory region
252 instead.
253
254 * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur,
255 cdtest-ur.out, and cdtest-ur.tmp.
256
e6d84626
ILT
257Wed Apr 27 16:03:37 1994 Ian Lance Taylor ([email protected])
258
259 * scripttempl/sa29200.sc: Align all sections to four byte
260 boundaries.
261
6c86b9ff
SC
262Wed Apr 27 10:48:03 1994 Steve Chamberlain ([email protected])
263
264 * Makefile.in, configure.in: Support for go32 coff.
265 * config/i386-go32.mt: New file
266 * emulparams/i386go32.sh: New file
267 * scripttempl/i386go32.sc: New file
268
028f8872
SS
269Tue Apr 26 17:20:03 1994 Stan Shebs ([email protected])
270
271 * Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use
272 Lynx-specific script templates.
273 * configure.in (sparclite*-*-coff): Use coff-sparc.
274 * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx.
275 * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx.
276 (ENTRY): Set to __main.
277 * scripttempl/i386lynx.sc: New file, script for I386 Lynx.
278 * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections.
279 * scripttempl/sparclynx.sc: New file, script for uSparc Lynx.
280
cde73501
ILT
281Tue Apr 26 12:41:03 1994 Ian Lance Taylor ([email protected])
282
c435aba8
ILT
283 * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16
284 byte boundary, in case the global constructors do not take up an
285 even 16 bytes.
286
cde73501
ILT
287 * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not
288 exist, get crtbegin based on gcc -print-libgcc-file-name.
289 (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
290
feaa9c4b
ILT
291Mon Apr 25 15:27:52 1994 Ian Lance Taylor ([email protected])
292
293 * ldlang.c (lang_size_sections): When no address is given for a
294 section, align it according to its requirements.
295
1e45c4c3
ILT
296Thu Apr 21 17:24:24 1994 Ian Lance Taylor ([email protected])
297
298 * Makefile.in (clean, distclean): Remove configdoc.texi.
299
9ad75873
BC
300Tue Apr 19 12:12:15 1994 Bill Cox ([email protected])
301
302 * configure.in: Add i[34]86-*-bsd386 to the patterns recognized.
303
9d87af56
ILT
304Fri Apr 15 14:35:42 1994 Ian Lance Taylor ([email protected])
305
306 * ldlang.c (lang_size_sections): When relaxing, adjust the
307 position of a padding statement, and adjust dot accordingly.
308
ea68d58d
BC
309Mon Apr 11 17:37:09 1994 Bill Cox ([email protected])
310
311 * Makefile.in (EXPECT, RUNTEST): Set these for the check goal.
312
4f2ee958
ILT
313Mon Apr 11 12:32:57 1994 Ian Lance Taylor ([email protected])
314
315 * scripttempl/i386coff.sc: If relocating, don't put .init and
316 .fini sections into .text; keep them separate.
317 * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not
318 exist, get crtbegin based on gcc -print-libgcc-file-name.
319 (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
320
099c286e
BC
321Mon Apr 11 10:31:00 1994 Bill Cox ([email protected])
322
323 * Makefile.in (check): Set TCL_LIBRARY for runtest.
324
79f7de91
JL
325Wed Apr 6 00:09:37 1994 Jeffrey A. Law ([email protected])
326
f39a73b1
JL
327 * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the
328 manufacturer.
329
79f7de91
JL
330 * emultempl/hppaelf.em (hppaelf_finish): Only resize sections
331 if building a final executable.
332
67d0e7ff
ILT
333Tue Apr 5 12:17:30 1994 Ian Lance Taylor ([email protected])
334
335 * ldmain.c (main): Check the return value of bfd_close.
336
be9ffc1f
ILT
337Thu Mar 31 18:07:06 1994 Ian Lance Taylor ([email protected])
338
339 * scripttempl/alpha.sc: Clean up section alignment to ensure that
340 sections never overlap when using -r.
341
6c00b04f
ILT
342Wed Mar 30 15:51:15 1994 Ian Lance Taylor ([email protected])
343
344 * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD
345 changes: get_symtab_upper_bound renamed and returns long,
346 bfd_canonicalize_symtab returns long, check for error indications.
347
f078dc7c
ILT
348Fri Mar 25 17:20:01 1994 Ian Lance Taylor ([email protected])
349
350 * ldlang.c (print_input_section): For section size, use
351 _cooked_size if it is non-zero, size otherwise.
352 (size_input_section): Likewise.
353 (lang_do_assignments): Likewise (case lang_input_section_enum).
354
193c5f93
ILT
355Thu Mar 24 15:20:47 1994 Ian Lance Taylor ([email protected])
356
357 * ldlang.c (new_afile): Add new argument add_to_list. Don't set
358 real to true for lang_input_file_is_marker_enum. Clear the_bfd.
359 (lang_add_input_file): Pass true to new_afile for add_to_list.
360 (lookup_name): Remove force_load argument. Changed all callers.
361 Pass false to new_afile for add_to_list. Split loading of symbols
362 out into separate function.
363 (load_symbols): New function split out of lookup_name. Don't load
364 the symbols if they are already loaded.
365 (open_input_bfds): For lang_input_statement_enum call load_symbols
366 rather than lookup_name.
367 (lang_process): Pass abs_output_section rather than NULL to
368 lang_size_sections.
369 (lang_startup): Set real field of first_file to true.
370
a2670c2f
ILT
371Wed Mar 23 14:15:44 1994 Ian Lance Taylor ([email protected])
372
193c5f93
ILT
373 * ldlang.c (had_relax): Removed.
374 (relax_again): New static variable.
375 (lang_size_sections): Change call to bfd_relax_section to
376 correspond to BFD changes. Set relax_again appropriately.
377 (lang_process): Remove #if 0 code. When relaxing, keep calling
378 lang_do_assignments and lang_size_sections until relax_again
379 becomes false.
380
a2670c2f
ILT
381 * emultemp/gld960.em: Include libiberty.h
382 (gld960_before_parse): Pass NULL as final argument to concat.
383
f3bc3ac3
ILT
384Tue Mar 22 13:08:28 1994 Ian Lance Taylor ([email protected])
385
f7a26f1b
ILT
386 * scripttempl/aout.sc: Force _end and __end to be aligned to a
387 four byte boundary.
388
f3bc3ac3
ILT
389 * ldwrite.c (build_link_order): Handle lang_data_statement_enum by
390 building a bfd_data_link_order, rather than by setting the section
391 contents immediately.
392
4fdbafb2
ILT
393Mon Mar 21 18:28:37 1994 Ian Lance Taylor ([email protected])
394
395 Changes to make -Ur work again.
396 * ldmain.c (add_to_set): Now takes reloc argument rather than
397 bitsize. Check config.build_constructors here. If an new hash
398 table entry is created, mark it as undefined.
399 (constructor_callback): No longer takes bitsize argument. Pass
400 BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the
401 BFD backend supports it.
402 (reloc_overflow): Handle a NULL abfd argument.
403 (reloc_dangerous, unattached_reloc): Likewise.
404 * ldctor.c: Include ldmain.h.
405 (struct set_info): Change bitsize field to reloc.
406 (ldctor_add_set_entry): Now takes reloc argument rather than
407 bitsize. Don't bother to check config.build_constructors here.
408 (ldctor_build_sets): Get the size from the reloc howto. If
409 generating relocateable output, call lang_add_reloc rather than
410 lang_add_data.
411 * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc
412 instead of bitsize.
413 * ldlang.h (statement_enum): Add lang_reloc_statement_enum.
414 (lang_reloc_statement_type): New structure.
415 (lang_statement_union_type): Add reloc_statement field.
416 (lang_add_reloc): Declare new function.
417 * ldlang.c (lang_for_each_statement_worker): Handle
418 lang_reloc_statement_enum.
419 (map_input_to_output_sections, print_statement): Likewise.
420 (lang_size_sections, lang_do_assignments): Likewise.
421 (print_reloc_statement): New function.
422 (lang_add_reloc): New function.
423 * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum.
424
425 * Makefile.in (cdtest.out, cdtest-ur.o): New targets.
426 (cdtest-ur, cdtest-ur.out): New targets.
427 (check-cdtest): Now also check that -Ur works correctly.
428
429 * scripttemp/alpha.sc: Align all sections to 16 byte boundaries.
430
431Thu Mar 17 12:45:41 1994 Ian Lance Taylor ([email protected])
432
433 * ldlang.c (lang_process): Move lang_common call before
434 map_input_to_output_sections, to ensure that any alignment
435 constraints set by common symbols are copied over to the output
436 sections.
437
438Fri Mar 11 22:17:34 1994 Ian Lance Taylor ([email protected])
439
440 * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define.
441 (OTHER_READWRITE_SECTIONS): Rename .toc to .got.
442 * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em.
443 * emultempl/ppc.em: Remove ugly stub code; turns out not to be
444 needed for ELF.
445
0071a731
DM
446Tue Mar 8 04:22:27 1994 David J. Mackenzie ([email protected])
447
448 * config/i386bsd.mh: New file.
449
7f0638d5
ILT
450Mon Mar 7 15:23:24 1994 Ian Lance Taylor ([email protected])
451
452 * elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to be
453 defined.
454 * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext.
455 (DATA_START_SYMBOLS): Define _fdata.
456
b897ed67
SS
457Mon Feb 28 10:59:14 1994 Stan Shebs ([email protected])
458
459 * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined.
460
2e39abdb
JL
461Sun Feb 27 16:29:38 1994 Jeffrey A. Law ([email protected])
462
ff68559e
JL
463 * emultempl/hppaelf.em (hppaelf_finish): Update comments. This
464 works again. Attach some output symbols to the stub file bfd.
465
2e39abdb
JL
466 * emultempl/hppaelf.em: Include elf32-hppa.h.
467 (file_chain): Add decl.
468 (hppa_look_for_stubs_in_section): Delete decl.
469 (hppaelf_finish): Reenable code. Do not pass symbols
470 down to hppa_look_for_stubs_in_section.
471
b495c314
ILT
472Sat Feb 26 10:58:25 1994 Ian Lance Taylor ([email protected])
473
474 * ldmain.c (write_map): Don't define. Removed all references.
475 Just use map_file or map_filename instead.
476 (add_archive_element): Use minfo to write map information, not
477 info_msg.
478 (constructor_callback): Use fprintf to write map information, not
479 info_msg.
480 * ldmain.h (write_map): Don't declare.
481 * ldgram.y (mri_script_command): Removed reference to write_map.
482 * ldlang.c (lang_one_common): Likewise.
483 * lexsup.c (parse_args): Likewise.
484
4725fb48
ILT
485Fri Feb 25 19:12:03 1994 Ian Lance Taylor ([email protected])
486
bff600cf
ILT
487 * scripttempl/elf.sc: Force all sections to be aligned.
488
27baca71
ILT
489 * ldgram.y (section): Reverse the order of memspec_opt and
490 fill_opt to avoid an ambiguity when both are used.
491 * ld.texinfo: Changed accordingly.
492
6232b6c4
ILT
493 * ldgram.y: Move include of ldlex.h back with other includes.
494 * ldlex.h (input_type): Don't initialize enum constants to
495 particular values.
496 * ldlex.l: Use a switch to return the right token based on
497 input_type, rather than knowing that input_type has a value based
498 on a token type.
499
4725fb48
ILT
500 * ldgram.y (dirlist_ptr): Removed; not used.
501 * lexsup.c: Include ldver.h.
502 * Makefile.in: Rebuilt dependencies.
503
fc1dfb71
ILT
504Fri Feb 25 18:55:54 1994 Ted Lemon ([email protected])
505
506 * ldlang.c (lookup_name): don't call bfd_set_gp_size.
507 (ldlang_add_file): call it here instead.
508
ff33a8c1
DM
509Fri Feb 25 18:13:46 1994 David J. Mackenzie ([email protected])
510
511 * ldgram.y: Include ldlex.h after %token decls, for byacc.
512
a62494c4
JL
513Fri Feb 25 10:47:25 1994 Jeffrey A. Law ([email protected])
514
531a5bd1
JL
515 * emultempl/hppaelf.em: First attempt to clean this file up.
516 Add comments in several functions as to their purpose and
517 how they function (or my current best guess). Clean up horrible
518 spacing and indention that never should have been accepted in the
519 first place. Add FIXMEs for issues which need to be resolved.
520 Disable linker-stub generation until it gets fixed. This allows
521 the linker to at least work on simple code for testing purposes.
522
a62494c4
JL
523 * ldlang.c (lang_size_sections): No longer static (PA ELF calls
524 it via hppaelf_finish). Prototype moved into ldlang.h.
525 (lang_process): Move problematic extra call to lang_size_sections
526 into the PA ELF specific code.
527 * emultempl/hppaelf.em (hppaelf_finish): Extra call to
528 lang_size_sections moved here.
529
c361ce46
ILT
530Thu Feb 24 16:47:33 1994 Ian Lance Taylor ([email protected])
531
532 * configure.in (powerpc-*-elf*): New target; use ppc-elf32.
533 * config/ppc-elf32.mt: New file.
534 * emulparams/elf32ppc.sh: New file.
535 * emultempl/ppc.em: New file.
536 * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o.
537 (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc.
538 (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h.
539
d4e5e3c3
DM
540Thu Feb 24 12:27:07 1994 David J. Mackenzie ([email protected])
541
d5b79a89
DM
542 * lexsup.c (parse_args): Use symbolic numbers for long options.
543 Fix misunderstanding in -Y and -call_shared et al.
544
d4e5e3c3
DM
545 Use getopt instead of lex and yacc to parse the command line.
546
547 * ld.texinfo (Options): Document changes to option syntax.
548 * Makefile.in: Update dependencies.
549 * ldver.c (help): Tweak dashes in usage message.
550 * ldgram.y (%union): Remove unused members.
551 Remove %tokens for command line options; add ones for input types.
552 (command_line): Rules removed.
553 (file): Instead of command line, recognize an
554 input type indicator, then use the nonterminal for that type.
555 (defsym_expr): New nonterminal from code formerly in command_line.
556 * ldlex.h: Declare parser input type enum and variable.
557 Don't declare parse_line.
558 * ldlex.l: Remove unused variables. Make some used ones static
559 and comment them.
560 (COMMAND): Start state and its rules removed.
561 At start of yylex, return input state token if at start of input.
562 (lex_redirect): Don't need to set yyout.
563 (ldlex_command): Function removed.
564 * ldmain.c (main): Instead of calling parse_line, set up the
565 redirections and call yyparse directly.
566 * ldmisc.c (vfinfo): If there's no input filename, print nothing, not
567 "command line".
568 * lexsup.c: Remove #if 0'd code.
569 (parse_line): Function removed.
570 (parse_args): Rewrite to use getopt_long_only.
571 (set_default_dirlist): New function from code formerly in
572 ldgram.y:command_line.
573 (set_section_start): New function.
574 * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em,
575 emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose
576 compiled-in link scripts in "{" and "}", as the grammar no longer
577 wants them to be.
578
579Thu Feb 24 08:43:26 1994 Ken Raeburn ([email protected])
580
581 * Makefile.in (ld.dvi): Depend on configdoc.texi, but don't
582 require that it be in $(srcdir).
583
6b8929a1
ILT
584Tue Feb 22 09:21:18 1994 Ian Lance Taylor ([email protected])
585
a733e1d7
ILT
586 * ldlang.c (lang_size_sections): Only align section to alignment
587 required by linker script, not to maximum alignment of input
588 sections.
589
6b8929a1
ILT
590 * ldlang.h (largest_section): Don't declare.
591 * ldlang.c (largest_section): Don't define.
592 (size_input_section): Don't set largest_section; not used.
593
ef76742f
ILT
594Mon Feb 21 15:15:29 1994 Ian Lance Taylor ([email protected])
595
596 * ldlang.c (new_afile): Pass NULL as last argument to concat.
597
42f62ead
ILT
598Thu Feb 17 15:51:23 1994 Ian Lance Taylor ([email protected])
599
600 * ldlang.c, ldmain.c: Include libiberty.h.
601
602 * ldmisc.h (concat): Don't declare.
603 * ldmisc.c (concat): Don't define; just use the one in libiberty.
604
605 * ld.h (as_output_section_statement): Removed; not used.
606
5bcb7f28
DM
607Thu Feb 17 09:32:14 1994 David J. Mackenzie ([email protected])
608
609 * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and
610 bfd_set_error and new error names.
611
7ff6f2da
KR
612Tue Feb 15 20:14:53 1994 Ken Raeburn ([email protected])
613
614 * ldwrite.c (build_link_order): If the cooked size of the section
615 has been set, use it, for determining link_order size.
616 (ldwrite): In the error message displayed if bfd_final_link fails,
617 indicate that it was in fact the final link step that failed.
618
619 * ldlang.c (lang_size_sections): Clear bfd_error before calling
620 bfd_relax_section, in case it returns false but doesn't flag an
621 error. If an error is returned, indicate which one it is in the
622 error message.
623
624 * Makefile.in (install-info): Depend on ld.info, and use "$<*" so
625 it'll get picked up from $(srcdir) if appropriate.
626
627Tue Feb 15 16:32:04 1994 David J. Mackenzie ([email protected])
628
629 * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set.
630 * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT.
631
09aaf97a
DM
632Fri Feb 11 17:02:49 1994 David J. Mackenzie ([email protected])
633
634 * ldlex.l (comment): Increment line number when newline is read.
635
c4e48be3
ILT
636Fri Feb 11 17:36:20 1994 Ian Lance Taylor ([email protected])
637
638 * ldlang.c (lookup_name): Take new argument, force_load. If true,
639 reload the file even if it is already loaded.
640 (wild): Call lookup_name with force_load argument of 0.
641 (open_input_bfds): Call lookup_name with force_load argument of 1.
642 (print_symbol): Remove declaration of non-existent function.
643 (print_one_symbol): Return true rather than falling off end.
644
410945f1
ILT
645Thu Feb 10 11:52:38 1994 Ian Lance Taylor ([email protected])
646
647 * ldmain.c (main): Use %ld when printing long values.
648
649 * scripttempl/elf.sc: Move _edata after the .sdata section.
650 Permit OTHER_BSS_SYMBOLS to be defined.
651 * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss.
652
f7d4f6f6
JL
653Mon Feb 7 16:31:15 1994 Jeffrey A. Law ([email protected])
654
655 * Rename all "hppaosf" files to "hppaelf".
410945f1
ILT
656 * Change all "osf" references to "elf" in hppaelf files.
657 * Makefile.in: Likewise.
658 * configure.in: Likewise.
f7d4f6f6 659
f4972135
DM
660Sun Feb 6 20:31:56 1994 David J. Mackenzie ([email protected])
661
6f671266
DM
662 * ldmain.c (main): Call xatexit, not atexit.
663 Call xmalloc_set_program_name.
664
f4972135
DM
665 * ldlang.c (lang_size_sections): Check if bfd_relax_section set
666 bfd_errno.
667
52a8ebfe
DM
668Sat Feb 5 03:54:34 1994 David J. Mackenzie ([email protected])
669
670 * emultempl/lnk960.em (append), emultempl/hppaosf.em
671 (hppaosf_finish): Call xmalloc, not ldmalloc.
672 * ldmain.c (preserve_output): Function removed.
673 (main): Do it here instead.
674
9dd7d585
JL
675Fri Feb 4 23:02:19 1994 Jeffrey A. Law ([email protected])
676
677 * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused)
678 GNU C specific macros.
679
680 * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining
681 call to LANG_FOR_EACH_INPUT_SECTION.
682
0b2f8d2e
DM
683Fri Feb 4 16:26:08 1994 David J. Mackenzie ([email protected])
684
685 * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions
686 deleted; will use libiberty versions instead.
687 * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c
688 mri.c Makefile.in: Change callers.
689
690 * ldmisc.c (vfinfo): Remove cleanup code.
691 * ldmain.c (remove_output): Put it here (new function).
692 (preserve_output): New function.
693 (main): Register remove_output and preserve_output with atexit.
694 * ldmain.c ldgram.y: Call xexit instead of exit.
695 * ldmisc.h: Declare xexit.
696
9e0f78c8
SC
697Fri Feb 4 15:19:01 1994 Steve Chamberlain ([email protected])
698
699 * Makefile.in: Lots of new H8/500 memory models.
700
836dcbcf
KR
701Sun Jan 30 14:33:40 1994 Ken Raeburn ([email protected])
702
703 * ldlex.l: Removed duplicate rules.
704 (yywrap): Provide default definition, needed with some versions of
705 flex.
706
fb55f9b8
DM
707Fri Jan 28 09:12:56 1994 David J. Mackenzie ([email protected])
708
288897f4
DM
709 * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print
710 the archive filename too.
711
fb55f9b8
DM
712 * ldlex.l: Add rule to catch invalid input characters instead of
713 printing them. Include "ldmain.h" for program_name decl.
714 (lex_warn_invalid): New function.
715 * Makefile.in: Add dependency.
716
f3c6455f
KR
717Fri Jan 28 12:58:45 1994 Ken Raeburn ([email protected])
718
719 * Makefile.in (check): Don't bother running any tests of
720 cross-linker until the test suite no longer assumes native mode.
721
804c8601
SC
722Thu Jan 27 17:19:54 1994 Steve Chamberlain ([email protected])
723
724 * ldlang.c (print_one_symbol, print_input_section): Print
725 global symbols in symbol table again.
726
7b40f2b1
DM
727Thu Jan 27 12:35:01 1994 David J. Mackenzie ([email protected])
728
729 * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,
730 exit successfully instead of complaining if no input files are
731 given.
732
8594f568
SS
733Tue Jan 25 13:19:41 1994 Stan Shebs ([email protected])
734
74e6b793
SS
735 * Makefile.in: Format variable definitions consistently.
736 (LD_PROG): Remove unnecessary variables from link command,
737 change variable LOADLIBES to EXTRALIBS.
738
8594f568
SS
739 * ldmain.c (main): Compute and display total execution time.
740 * ld.texinfo (-stats): Document the option.
741
755f42fe
ILT
742Mon Jan 24 12:56:37 1994 Ian Lance Taylor ([email protected])
743
5dad4c97
ILT
744 * ldmain.c (reloc_overflow): Added name, reloc_name and addend
745 arguments.
746
de08b0b1
ILT
747 * ldlang.c (lookup_name): Set BFD GP size to -G argument value
748 after opening BFD.
749
755f42fe
ILT
750 * ldlang.c (relaxing): Removed global variable.
751 (lang_size_sections): If the canonical symbols have not already
752 been read in, read them in before relaxing.
753 * ldlang.h (relaxing): Removed declaration.
754
5e6cd559
ILT
755Fri Jan 21 00:44:44 1994 Ian Lance Taylor ([email protected])
756
757 * ldlang.c (new_afile): Initialize loaded field to false.
758 (lookup_name): If file was already loaded, don't call the
759 add_symbols entry point again.
760
8de26d62
DM
761Wed Jan 19 13:57:00 1994 David J. Mackenzie ([email protected])
762
763 * ld.texinfo: Clarify what -T option does.
764
a843c817
SC
765Tue Jan 18 16:18:15 1994 Steve Chamberlain ([email protected])
766
767 * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's
768 for a.out.
769
901f3538
ILT
770Tue Jan 11 13:22:04 1994 Ian Lance Taylor ([email protected])
771
8a432746
ILT
772 * ldmain.c (add_archive_element): If trace_files or
773 trace_file_tries, print file name.
774 * ldlang.c (lookup_name): Likewise.
775 (ldlang_add_file): Don't put files on input_bfds list in reverse
776 order.
777
901f3538
ILT
778 * scripttempl/elf.sc: Correct typo.
779
c344d884
DM
780Mon Jan 10 19:49:05 1994 David J. Mackenzie ([email protected])
781
782 * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and
783 their arguments optional, for compatibility with the old GNU ld.
784
267a3ab3
ILT
785Fri Jan 7 20:00:24 1994 Ian Lance Taylor ([email protected])
786
787 * scripttempl/elf.c: Define __bss_start before the .sbss section.
788
3107eb5b
ILT
789Thu Jan 6 00:13:10 1994 Ian Lance Taylor ([email protected])
790
2f84ec0d
ILT
791 * ldmain.c (add_to_set): Add bitsize argument.
792 (constructor_callback): New function.
793 (link_callbacks): Add constructor_callback.
794 * ldctor.c (struct set_info): Add bitsize field.
795 (ldctor_add_set_entry): Add bitsize argument.
796 (ldctor_build_sets): Base the size of the elements of the set on
797 the bitsize, rather than always using LONG.
798 * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration.
799
800 * ld.h (QUAD_SIZE): Define.
801 * ldgram.y (QUAD): New token.
802 (length): Handle it.
803 * ldlex.l: Return QUAD.
804 * lexsup.c (keywords): Add QUAD.
805 * ldwrite.c (build_link_order): Handle QUAD.
806 * ldlang.c (print_data_statement): Handle QUAD.
807 (lang_size_sections): Likewise.
808 (lang_do_assignments): Likewise.
809 * ldexp.c (exp_print_token): Add QUAD to table.
810 * ld.texinfo: Describe QUAD.
811
3107eb5b
ILT
812 * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections,
813 since the Alpha doesn't use them.
814
080d8af0
DM
815Wed Jan 5 17:42:16 1994 David J. Mackenzie ([email protected])
816
817 * ldemul.h (ld_emulation_xfer_struct): Comment the members.
818
819Sat Jan 1 13:39:31 1994 Rob Savoye ([email protected])
820
821 * Makefile.in, configure.in: Add support for VSTa micro-kernel.
822 * config/vsta.mt, emulparams/vsta.sh: New files for VSTa.
823
34f9bf4b
DM
824Sat Jan 1 10:53:35 1994 David J. Mackenzie ([email protected])
825
826 * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating;
23fdc6be 827 needed for i386mach. (Should be a no-op on other systems.)
34f9bf4b
DM
828
829 * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again.
830 (PAGE_SIZE): Don't define; not used.
831
1d166443
ILT
832Fri Dec 31 16:12:06 1993 Ian Lance Taylor ([email protected])
833
834 * ldgram.y (yyerror): Make argument const char *, and actually
835 print it out rather than assuming it is a syntax error.
836 * ldmisc.h: Change declaration of yyerror.
837 * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate.
838
ae9c8007
DM
839Fri Dec 31 11:37:28 1993 David J. Mackenzie ([email protected])
840
841 * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include
842 exec header offset, since the exec header isn't loaded.
843 (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c.
844
4a6afc88
ILT
845Thu Dec 30 13:01:43 1993 Ian Lance Taylor ([email protected])
846
847 A major rewrite to move the bulk of the linker into BFD so that
848 more efficient backend code can be written for specific object
849 files.
850 * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h,
851 ldwarn.c, ldwarn.h, relax.c, relax.h: Removed.
852 * ldctor.c, ldctor.h: Complete rewrite.
853 * ldwrite.c, ldwrite.h: Complete rewrite.
854 * ld.h (strip_symbols_type, strip_symbols): Removed. Use
855 link_info.strip instead. Changed all uses.
856 (discard_locals_type, discard_locals): Removed. Use
857 link_info.discard instead. Changed all uses.
858 (ld_config_type): Removed relocateable_output field; use
859 link_info.relocateable instead; changed all uses. Added stats
860 field.
861 (set_asymbol_chain, get_asymbol_chain, get_loader_symbol,
862 set_loader_symbol): Removed.
863 * ldexp.h (node_class): Added etree_rel.
864 (etree_type): Added rel field.
865 * ldexp.c (exp_print_token): Bracketed table initialization.
866 (exp_relop): New function.
867 (fold_name): Use linker hash table rather than ldsym functions.
868 (exp_fold_tree): Likewise. Also, handle etree_rel case.
869 (exp_print_tree): Handle etree_rel.
870 * ldgram.y (strip_symbols, discard_locals): Removed.
871 (OPTION_stats, OPTION_no_keep_memory): New tokens. Handle them.
872 (REL): New token. Does not appear in grammar, but needed for
873 expression code.
874 (file): Don't call lang_final; it's called by main anyhow.
875 * ldlex.l: Accept -stats and -no-keep-memory options.
876 * ldlang.h (fill_type): Make unsigned int, not unsigned short.
877 * ldlang.c: Consistently use fill_type for fill argument.
878 (lang_init_script_file, script_file): Removed.
879 (create_object_symbols): Removed. Use
880 link_info.create_object_symbols_section instead. Changed all
881 uses.
882 (lang_add_keepsyms_file): Removed.
883 (lookup_name): Call bfd_link_add_symbols instead of
884 ldmain_open_file_read_symbol.
885 (wild): Don't iterate over script_file.
886 (open_output): Create link hash table.
887 (lang_place_undefineds): Rewrote.
888 (lang_size_sections): Handle relaxing (doesn't work yet).
889 (lang_relocate_globals): Removed.
890 (lang_finish): Use link hash table rather than ldsym functions.
891 (lang_common): Rewrote.
892 (lang_one_common): New function.
893 (ldlang_add_file): Add file to link_info.input_bfds list. Set
894 usrdata.
895 (create_symbol): Removed.
896 (lang_process): Don't call lang_init_script_file. Call
897 ldctor_build_sets rather than find_constructors. Don't call
898 lang_relocate_globals.
899 (lang_abs_symbol_at_beginning_of): Rewrote.
900 (lang_abs_symbol_at_end_of): Rewrote.
901 * ldmain.c (had_y): Removed.
902 (lprefix, lprefix_len): Removed; use link_info fields instead.
903 Changed all uses.
904 (multiple_def_count, commons_pending, undefined_global_sym_count,
905 total_symbols_seen, total_files_seen): Removed.
906 (link_callbacks, link_info): New variables.
907 (main): Initialize link_info. Don't call init_bfd_error_vector or
908 ldsym_init. Don't set now unused variables. Handle -stats.
909 (get_emulation): Removed obsolete and nonfunctional GNU960 code.
910 (add_ysym): Rewrote.
911 (read_entry_symbols, refize, enter_global_ref, enter_file_symbols,
912 search_library, gnu960_check_format, decode_library_subfile,
913 linear_library, symdef_library, clear_syms, subfile_wanted_p):
914 Removed.
915 (add_keepsyms_file, add_archive_element, multiple_definition,
916 multiple_common, add_to_set, warning_callback, undefined_symbol,
917 reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym):
918 New functions.
919 * ldmisc.c (vfinfo): Accept a string for %T, not a symbol. Don't
920 require symbols for %C; look them up instead.
921 * emultempl/hppaosf.em: Pass link_info to
922 hppa_look_for_stubs_in_section.
923 * Makefile.in: Rebuilt dependencies.
924 (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and
925 relax.c.
926 (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and
927 relax.h.
928 (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h,
929 ldlang.h and ldctor.h.
930
931 * Makefile.in (ldlex.c): Don't depend on ldgram.h. Remove
932 declarations of free and malloc from flex output. Change malloc
933 to ldmalloc in flex output.
934
935Thu Dec 16 21:19:57 1993 Jeffrey A. Law ([email protected])
936
937 * ldmain.c (lprefix): Change default from a char to a string
938 with only one character.
939 (lprefix_len): Set default to one.
940
941 * ldmain.h (lprefix_len): Declare.
942
943 * ldsym.c (write_file_locals): Use strncmp rather than a character
944 comparison for lprefix.
945
946 * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len
947 correctly.
948
949 * emultmpl/hppaosf.em: Include ldexp.h.
950 (before_parse): Set lprefix and lprefix_len correctly.
951
498fbd3c
ILT
952Tue Dec 14 17:19:03 1993 Ian Lance Taylor ([email protected])
953
553b0021
ILT
954 * ldlex.h: Don't declare yywrap if it is a macro.
955 * ldlex.l: Include sysdep.h.
498fbd3c
ILT
956 * ldlang.c (lang_for_each_statement_worker,
957 lang_for_each_statement): Forgot to use PARAMS.
958
1400cdc5
ILT
959Mon Dec 13 14:30:03 1993 Ian Lance Taylor ([email protected])
960
961 * Makefile.in: Added .PHONY targets where appropriate. Added some
962 comments. Also:
963 (gcclibdir, version): Removed unused variables.
964 (DEP): New variable, set to mkdep.
965 (ALL_CFLAGS): New variable. Used in .c.o target.
966 (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New
967 variables.
968 (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES,
969 GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed
970 mostly obsolete variables. Adjusted remaining uses.
971 (DEF_EMUL): Removed variable.
972 (ldmain.o): Handle undefined EMUL error correctly.
973 (ldemul-list.h): Depend on config.status rather than Makefile.
974 Create via temporary file.
975 (ver960.c, roll, make): Removed obsolete targets.
976 (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild
977 dependencies.
978 * dep-in.sed: New file, used when rebuilding dependencies.
979
2c6635a4
ILT
980Sat Dec 11 14:43:44 1993 Ian Lance Taylor ([email protected])
981
fcf276c4
ILT
982 Made many changes to eliminate gcc warnings. Made various
983 cosmetic changes, declared various things in header files, removed
984 various extern declarations from .c files. No substantive
985 changes.
986
2c6635a4
ILT
987 * ldlang.c (lang_process): Ifdef out final call to
988 lang_size_sections again (reverting change of Nove 2), since it
989 breaks the Sun4 linker.
990
991Thu Dec 2 16:31:47 1993 Ian Lance Taylor ([email protected])
992
993 * configure.in (alpha-*-netware*): New target; use alpha.
994
d05ac46b
KR
995Wed Dec 1 14:04:20 1993 Ken Raeburn ([email protected])
996
997 * configure.in: Group targets by CPU. Merge some m68k target
998 entries with different CPU specs that use the same ld_target
999 values.
1000
1001 * configure.in: Add sparc*-*-coff.
1002 * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files.
1003 * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o.
1004 (em_coff_sparc.c): Add dependencies and build rules.
1005
1006 * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare.
1007
f651733a
ILT
1008Wed Dec 1 12:19:55 1993 Ian Lance Taylor ([email protected])
1009
8e964b07
ILT
1010 * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval):
1011 New tokens.
f651733a 1012 (command_line_option): Accept and ignore them (for now).
8e964b07
ILT
1013 * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On
1014 where n is a number.
f651733a
ILT
1015
1016Mon Nov 22 14:14:29 1993 Ian Lance Taylor ([email protected])
1017
1018 * ldmain.c (subfile_wanted_p): If merging a common symbol which is
1019 not in bfd_com_section, create the section in the BFD so that it
1020 can be placed in the right output section.
1021
2332114c
ILT
1022Fri Nov 19 14:12:39 1993 Ian Lance Taylor ([email protected])
1023
1024 * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32.
1025 * emulparams/elf32mipsb.sh (DATA_ADDR): Define.
1026 (OTHER_READONLY_SECTIONS): Define for .reginfo.
1027 (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK.
1028 * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating.
1029 Move OTHER_READONLY_SECTIONS after all the other readonly
1030 sections. Don't use DATA_ADDR twice.
1031
1032 * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If
1033 p is in a common section, make sure the BFD has a section of that
1034 name.
1035
1036 * ldlang.c (lang_common): Add newline to error message.
1037
1038Thu Nov 11 15:54:41 1993 Stan Shebs ([email protected])
1039
1040 * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a
1041 Lynx-specific script instead of m68kcoff.
1042 (OUTPUT_FORMAT): Define as "coff-m68k-lynx".
1043 (ENTRY): Define as __main.
1044 (TEXT_START_ADDR): Define as 0.
1045 (PAGE_SIZE): Define as 0x1000.
1046 * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment.
1047 * scripttempl/m68klynx.sc: New file.
1048
1049Mon Nov 8 12:00:16 1993 Ian Lance Taylor ([email protected])
1050
1051 * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3
1052 arguments rather than treating them as emulation names.
1053
b11b3ace
DHW
1054Fri Nov 5 09:02:52 1993 D. V. Henkel-Wallace ([email protected])
1055
1056 * configure.in: Support x86 unixware and netware plus generic netware.
1057
2ccb88c0
DM
1058Fri Nov 5 21:47:55 1993 David J. Mackenzie ([email protected])
1059
1060 * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR):
1061 Correct values (?).
1062
3c1af24d
KR
1063Wed Nov 3 15:10:15 1993 Ken Raeburn ([email protected])
1064
1065 * Makefile.in (distclean): Don't delete dvi or info files.
4ecfad79 1066 (ld.info): Update dependency list.
2ccb88c0 1067 (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi.
3c1af24d 1068
3c292c5a
DM
1069Wed Nov 3 12:07:39 1993 David J. Mackenzie ([email protected])
1070
1071 * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT.
1072 Set output_filename instead of creating a new node.
1073 (open_output): Don't set output_filename.
1074 (lang_final): Create the new node here.
1075 * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT.
1076
97fbbaca
JL
1077Tue Nov 2 15:45:51 1993 Jeffrey A. Law ([email protected])
1078
f1f6b5e9
JL
1079 From Pete Hoogenboom ([email protected]):
1080
1081 * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext,
1082 edata, _edata, end): Add definitions of these symbols.
1083 (__end): Remove definition of this symbol.
1084 (__data_start): Move definition of this symbol.
1085
5f62613e
JL
1086 * emultempl/hppaosf.em: Various fixes and support for linker stub
1087 generation.
1088 (hppaosf_finish, hppaosf_search_for_padding_statements,
1089 hppaosf_create_output_section_statements): New functions in
1090 support of linker stub generation.
1091 (ld_hppaosf_emulation): Redefine to include new
1092 emulation-specific routines.
1093
97fbbaca
JL
1094 * ldlang.c (lang_process): Re-enable last call lang_size_sections.
1095 Pass abs_output_section rather than NULL to avoid invalidating
1096 absolute symbols.
1097
1098Thu Oct 28 21:16:42 1993 David J. Mackenzie ([email protected])
1099
1100 * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o.
1101 (em_i386mach.c): New rule.
1102 * configure.in (i[34]86-*-mach*): New case.
1103 * config/i386-mach.mt: New file.
1104 * emulparams/i386mach.sh: New file.
1105
c3b34cfd
ILT
1106Fri Oct 29 14:55:05 1993 Ian Lance Taylor ([email protected])
1107
1108 * ld.h (flag_is_*): Removed macros.
1109 * ldmain.c (enter_global_ref), ldsym.c (write_file_locals):
1110 Consistently check the BFD symbol flags directly, rather than
1111 using file_is_* macros.
1112
7b95fe96
SS
1113Thu Oct 28 19:08:42 1993 Stan Shebs ([email protected])
1114
1115 * configure.in (sparc*-*-lynxos*): New target.
1116 * Makefile.in: Add rule for em_sparclynx.c.
1117 (ALL_EMULATIONS): Add Lynx emulations.
1118 * config/sparc-lynx.mt: New file.
1119 * emulparams/sparclynx.sh: New file.
1120 * scripttempl/sparccoff.sc: New file.
1121
d17eb3db
ILT
1122Thu Oct 28 13:50:25 1993 Ian Lance Taylor ([email protected])
1123
1124 * Makefile.in: Add dependency for $(EMULATION_OFILES).
1125
db4b5ad0
ILT
1126Mon Oct 25 16:09:24 1993 Ian Lance Taylor ([email protected])
1127
1128 * relax.c (write_relax): Check return value of bfd_seclet_link.
1129
2fe6619e
KR
1130Mon Oct 25 09:31:21 1993 Ken Raeburn ([email protected])
1131
1132 * ldlang.c (delete_output_file_on_failure): New variable.
1133 (open_output): Set it after bfd open succeeds.
1134 * ldmisc.c (vfinfo): Test it.
1135
1136 Changes from Peter Hoogenboom, [email protected]:
1137
1138 * ldsym.c (write_file_locals): Set the BSF_FILE flag for object
1139 symbols.
1140
1141 * ldemul.c: Support was added to allow emulation-specific
1142 processing to occur. This support was added primarily for linker
1143 stub generation in the elf32-hppa gld.
1144 (ldemul_finish, ldemul_create_output_section_statements): New
1145 functions.
1146 * ldemul.h: Support was added to allow emulation-specific
1147 processing to occur. (As described above.) Added finish and
1148 create_output_section_statements fields to
1149 ld_emulation_xfer_struct structure.
1150 * ldlang.c: Add calls to emulation-specific routines.
1151 (lang_process): Add call to
1152 ldemul_create_output_section_statements function.
1153 (lang_process): Add call to a emulation-specific routine (and
1154 some processing after the call).
1155
1156Fri Oct 22 20:54:13 1993 david d `zoo' zuhn ([email protected])
1157
1158 * configure.in: mips*- instead of mips-, mips*el changes
1159
1c4b3cda
ILT
1160Tue Oct 19 15:46:28 1993 Ian Lance Taylor ([email protected])
1161
1162 * configure.in (alpha-*-osf*): New target; use alpha.mt.
1163 * Makefile.in (ALL_EMULATIONS): Added em_alpha.o.
1164 (em_alpha.c): New target; use alpha.sh and alpha.sc.
1165 * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define.
1166 * config/alpha.mt: New file.
1167 * emulparams/alpha.sh: New file.
1168 * scripttempl/alpha.sc: New file.
1169
1170Fri Oct 15 02:20:04 1993 Doug Evans ([email protected])
1171
1172 * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle
1173 types of different sizes (eg: 64 and 32 bits), so coerce.
1174 * ld.h (ALIGN_N): Add warning about usage.
1175
98b5caad
ILT
1176Wed Oct 13 16:02:39 1993 Ian Lance Taylor ([email protected])
1177
1178 * ldmain.c (enter_global_ref): Just ignore any weak symbol for
1179 which we already have a definition, rather than checking in
1180 several different places whether the symbol is weak.
1181
a71da760
ILT
1182Tue Oct 12 17:30:51 1993 Ian Lance Taylor ([email protected])
1183
1184 * configure.in (mips-*-elf*): New target; use mipsb-elf32.
1185 * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and
1186 OTHER_READWRITE_SECTIONS if relocating. Shell variables are not
1187 expanded within them.
1188 * config/mipsb-elf32.mt: New file.
1189 * emulparams/elf32mipb.sh: New file.
1190 * Makefile.in (em_elf32mipb.c): New target.
1191
a4aeaacf
RS
1192Thu Sep 30 17:00:36 1993 Rob Savoye ([email protected])
1193
a4aeaacf
RS
1194 * ldgram.y: In input_list, change lang_input_file_is_file_enum to
1195 lang_input_file_is_search_file_enum so objects brought in using
1196 INPUT() do a path lookup.
1197
1198Tue Sep 28 13:31:23 1993 Stan Shebs ([email protected])
1199
1200 * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx
1201 instead of {i386,m68k}-coff.
1202 * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets.
1203 * config/i386-lynx.mt: New file.
1204 * config/m68k-lynx.mt: New file.
1205 * emulparams/i386lynx.sh: New file.
1206 * emulparams/m68klynx.sh: New file.
1207
1208 * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY},
1209 but defaulting to _start.
1210
1211 * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h,
1212 ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with
1213 LynxOS libc.
1214
1215Thu Sep 23 14:51:03 1993 Ian Lance Taylor ([email protected])
1216
1217 * config/solaris2.mh: New file. Define HOSTING_CRT0 and
1218 HOSTING_LIBS for testing.
1219
9a467cb2
ILT
1220Fri Sep 17 17:52:24 1993 Ian Lance Taylor ([email protected])
1221
1222 Finish up support for i386-sysv4 (without shared libraries):
1223 * ld.h (flag_is_weak): Define.
1224 * ldlang.c (print_symbol): Mention whether symbol is weak.
1225 (print_input_section): Print weak symbols as globals.
1226 * ldmain.c (refize): Do not zero out BSF_WEAK flag.
1227 (enter_global_ref): Do not warn if a weak symbol redefines a
1228 global symbol. Do not let a weak symbol redefine a common symbol.
1229 (enter_file_symbols): Treat weak symbols as global symbols.
1230 (subfile_wanted_p): Do not pull in an object file from a archive
1231 just to resolve an undefined weak symbol.
1232 * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal
1233 error; the error might be that malloc has run out of space.
1234 * ldsym.c (write_file_locals): Treat weak symbols as global.
1235 * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets;
1236 use i386-elf.
1237 * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib.
1238 * config/i386-elf.mt: New file; set EMUL to elf_i386.
1239 * emulparams/elf_i386.sh: New file.
1240 * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0).
1241 * Makefile.in (NATIVE_LIB_DIRS): Define to be empty.
1242 (ALL_EMULATIONS): Add em_elf_i386.o.
1243 (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument.
1244 (em_elf_i386.c): New target, like other em_*.c targets.
1245 ($(LD_PROG)): Pass $(CFLAGS) to $(CC).
1246 * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If
1247 nonempty, and configured for native, add it to LIB_PATH.
1248
4f6d6db9
SS
1249Fri Sep 17 13:07:39 1993 Stan Shebs ([email protected])
1250
1251 * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}:
1252 Added statements to pass stab and stabstr sections through and
1253 mark them as NOLOAD, which makes GDB happier.
1254
1255Wed Sep 15 16:02:29 1993 Stan Shebs ([email protected])
1256
1257 * configure.in: Accept m68k-lynx-lynxos config.
1258
1259 * Makefile.in: Use $(SHELL) to run genscripts.sh.
1260
1bff7c38
DE
1261Sun Sep 12 16:04:40 1993 Doug Evans ([email protected])
1262
4f6d6db9
SS
1263 * config/coff-h8300.mt: Add EMUL=h8300h.
1264
1bff7c38
DE
1265 * ldmain.c (main): Call set_scripts_dir after argv has been processed.
1266
8a6665ae
JW
1267Fri Sep 10 09:36:29 1993 Jeffrey Wheat ([email protected])
1268
1269 * Makefile.in: Changed CXX back to g++.
1270
3a9149a7
JW
1271Fri Sep 10 09:34:29 1993 Jeffrey Wheat ([email protected])
1272
1273 * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule.
1274
cbb5c2d1
DM
1275Fri Sep 10 07:26:57 1993 David J. Mackenzie ([email protected])
1276
1277 * Makefile.in (TAGS): Use shell wildcards.
1278
959eba20
JO
1279Tue Sep 7 18:04:54 1993 Jeffrey Osier ([email protected])
1280
1281 * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target
1282
a0a55af6 1283Fri Sep 3 16:46:41 1993 Roland H. Pesch ([email protected])
c1074477 1284
a0a55af6
RP
1285 * ld.texinfo: re-enable included config file; conditionalize doc
1286 for -oformat to interact properly with SingleFormat doc config
1287 var; rename @up/@down to @raisesections/@lowersections.
c1074477
DE
1288
1289Wed Aug 25 16:29:56 1993 K. Richard Pixley ([email protected])
1290
1291 * configure.in: recognize m88110.
1292
4346166b
KR
1293Tue Aug 24 18:49:40 1993 Ken Raeburn ([email protected])
1294
1295 From Peter Hoogenboom <[email protected]>:
1296 * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA
1297 ELF emulation is "elf32-hppa" not "elf-big".
1298 (hppaosf_before_parse): Remove unneeded processing of environment
1299 variables.
1300 * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in
1301 .text segment of output file.
1302 * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa.
1303
b98bd3db
RP
1304Tue Aug 24 16:17:00 1993 K. Richard Pixley ([email protected])
1305
95a2b9d2
RP
1306 * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no
1307 longer in bfd.h.
1308
1309 * ldlang.c, ld.h: updated copyright.
b98bd3db 1310
ddddcdf0
ILT
1311Tue Aug 17 15:22:03 1993 Ian Lance Taylor ([email protected])
1312
1313 * ldlang.c (open_output, lang_check): Check return value of
1314 bfd_set_arch_mach.
1315
ea1c0ad2
SC
1316Tue Aug 17 07:02:19 1993 Steve Chamberlain ([email protected])
1317
1318 * scripttempl/h8500.sc: Start all sections in a different segment.
1319 * scripttempl/z8ksim.sc: Handle constructors
1320
ea1c0ad2
SC
1321Thu Aug 12 16:05:37 1993 Jeffrey Wheat ([email protected])
1322
1323 * Makefile.in: revert earlier changes back to execute runtest
1324 with make check. cdtest and bootstrap now function as they
1325 did within the Makefile.
1326
1327Thu Aug 12 10:20:05 1993 David J. Mackenzie ([email protected])
1328
1329 * Makefile.in: Update dependencies.
1330
1331 * configure.in: Set EMULATION_OFILES in Makefile based on
1332 --with-targets option.
1333
d301e438
JW
1334Thu Aug 12 08:52:29 1993 Jeffrey Wheat ([email protected])
1335
1336 * Makefile.in: check targets reimplemented to old way.
1337
75fe5471
ILT
1338Wed Aug 11 08:26:11 1993 Ian Lance Taylor ([email protected])
1339
d62026ad
ILT
1340 * config/i386v.mh, config/irix4.mh: Use gcc
1341 -print-libgcc-file-name rather than $(libdir)/libgcc.a.
75fe5471
ILT
1342 * config/i386sco.mh: New file; copy of i386v.mh to correspond to
1343 bfd/configure.host change.
1344
1345Mon Aug 9 14:25:35 1993 Ken Raeburn ([email protected])
1346
1347 * scripttempl/elf.sc: Handle .line and .debug* sections.
1348
1349 * ldlex.l: Use bfd_scan_vma, not strtoul.
1350
31f55aa5
DM
1351Fri Aug 6 08:57:39 1993 David J. Mackenzie ([email protected])
1352
1353 * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c:
1354 Remove inital caps in some error messages, change "can't" to
1355 "cannot", add missing colons.
1356 * ldmisc.c (vfinfo): Print "%%" as a single %.
1357 For '%' followed by unrecognized character, print them both
1358 verbatim instead of expecting a char * arg.
1359 For '%C', don't put the function name in parens.
1360
1361 * ldexp.c (invalid): Pass "%%", not "% ".
1362
33536304
ILT
1363Fri Aug 6 14:31:22 1993 Ian Lance Taylor ([email protected])
1364
1365 * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
1366 (BSS_VAR): Removed; now always define _fbss.
1367 * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR):
1368 Removed.
1369
1370Thu Aug 5 15:55:19 1993 david d `zoo' zuhn ([email protected])
1371
1372 * configure.in: z8k-coff is the same as z8k-sim
1373
7c6a9e79
JW
1374Wed Aug 4 21:00:18 1993 Jeffrey Wheat ([email protected])
1375
1376 * testsuite/lib/ld.exp: new file
1377 * testsuite/config/unix-ld.exp: new file
1378 * testsuite/ld.bootstrap/bootstrap.exp: new file
1379 * Makefile.in: add dejagnu support for make check
1380
8bf66be8
DM
1381Wed Aug 4 17:52:32 1993 David J. Mackenzie ([email protected])
1382
1383 * ldlex.l (comment): Add missing newline in message.
1384 * ldindr.c (add_indirect): Ditto.
1385 * ldexp.c (exp_fold_tree): Ditto.
1386
2a28d8b0
DM
1387Tue Aug 3 10:57:41 1993 David J. Mackenzie ([email protected])
1388
1389 * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons
1390 into externs.
1391
1392 * ldmisc.c (multiple_warn): New function.
1393 * ldmisc.h: Declare it.
1394 * ldmain.c (enter_global_ref): Call it.
1395 * ld.h (ld_config_type): Add warn_common.
1396 * ldlex.l, ldgram.y: Set it with -warn-common option.
1397 * ldver.c (help): Document it.
1398
94f9d427
KR
1399Mon Aug 2 12:04:36 1993 Ken Raeburn ([email protected])
1400
1401 * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and
1402 target-specific sections, and for changing data section vma.
1403
6b93d764
KR
1404Mon Jul 26 14:00:02 1993 Ken Raeburn ([email protected])
1405
1406 * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New
1407 terminals, for Solaris.
1408 (dirlist_ptr): New static variable.
1409 (command_line_option): Accept new options.
1410
1411 * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and
1412 "-YP,...".
1413
1414 * config/sun4sol2.mt: Pass emulation name without ".sh".
1415
94f9d427
KR
1416 * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c.
1417 * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly.
1418
6b93d764
KR
1419Fri Jul 23 13:51:09 1993 Ken Raeburn ([email protected])
1420
1421 * scripttempl/elf.sc: Add support for .init, .fini, .ctors,
1422 .dtors, .data1, .rodata1 sections, instead of combining them into
1423 other sections. For `-r', set all section start addresses to
1424 zero.
1425
1426 * emulparams/elf32-sparc.sh (TEXT_START_ADDR,
1427 NONPAGED_TEXT_START_ADDR): Value should be 0x10100.
1428 (MAXPAGESIZE): Renamed from PAGE_SIZE.
1429
a6152e39
DM
1430Wed Jul 21 14:28:42 1993 David J. Mackenzie ([email protected])
1431
d59e5a47
DM
1432 * genscripts.sh: If this is the default emulation, set
1433 COMPILE_IN.
1434 * emultempl/*.em: Use it to determine whether to compile in the
1435 scripts.
1436
a6152e39
DM
1437 * Makefile.in (GENSCRIPTS): Pass the default emulation name to
1438 genscripts.sh. Pass the current emulation name without ".sh" on
1439 the end.
1440 * genscripts.sh: Take an default emulation arg.
d59e5a47 1441 Use the current emulation name as EMULATION_NAME.
a6152e39
DM
1442 Make default lib path for cross-compiling ':', not null.
1443 * emulparams/*.sh: Don't set EMULATION_NAME.
1444 * ldemul.c (ldemul_get_script): Take isfile arg.
1445 Pass it to emulation's get_script function.
1446 * ldemul.h: Adjust get_script prototypes.
1447 * ldfile.c (ldfile_find_command_file): Renamed from find_a_name.
1448 No longer static.
1449 * ldfile.h: Declare it.
1450 * ldgram.y: Accept a script on the command line again,
1451 for parsing compiled-in scripts.
1452 * ldmain.c (main): If ld script is a file, parse it as a -T
1453 option, otherwise parse it directly.
1454 * emultempl/*.em (*get_script): Return the scripts themselves if
1455 this is the default emulation; otherwise return their file names.
18d9a9c5 1456 * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of
a6152e39
DM
1457 generic.em.
1458 * emulparams/m88kbcs.sh: Use it.
1459
18d9a9c5 1460 * ld.h (ld_config_type::unix_relocate): Remove unused element.
a6152e39 1461
0750b974
KR
1462Tue Jul 20 12:01:49 1993 Ken Raeburn ([email protected])
1463
1464 * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which
1465 there's no change log entry yet, tsk tsk) from the list of
1466 emulations compiled in until Mark gets around to checking in
1467 emulparams/i386linux.sh.
820c446c
KR
1468 (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is
1469 changed, this file gets updated.
0750b974 1470
fe619ced
ILT
1471Fri Jul 16 14:14:32 1993 Ian Lance Taylor ([email protected])
1472
1473 * ldgram.y (OPTION_Lfile): New token.
1474 (command_line_option): Accept OPTION_L NAME (whitespace after -L).
1475 * ldlex.l (<COMMAND>): Accept -L without FILENAME.
1476
dd8ca662
DE
1477Fri Jul 16 13:44:26 1993 Doug Evans ([email protected])
1478
1479 * configure.in: h8/300h support needs own .mt file.
1480 config/coff-h8300h.mt: New file.
1481
922018a1
DM
1482Thu Jul 15 12:44:35 1993 David J. Mackenzie ([email protected])
1483
1484 * ldmain.c: Don't include sys/stat.h; it already got included
1485 somewhere along the way.
1486
4ab3a31f
DE
1487Thu Jul 15 14:43:34 1993 Doug Evans ([email protected])
1488
1489 * Makefile.in: Add h8300h support.
dd8ca662
DE
1490 emulparams/h8300h.sh: New file.
1491 scripttempl/h8300h.sc: New file.
4ab3a31f 1492
bbd2521f
DM
1493Thu Jul 15 12:44:35 1993 David J. Mackenzie ([email protected])
1494
1495 * ldfile.c (ldfile_open_file): In error message, use the name the
1496 user gave (e.g., "-lc"), rather than the base file name.
1497
1498 * ldexp.c (exp_fold_tree): Don't assign an int to an enum.
1499
1500 * ldmain.[ch]: Remove initial Q_ from function names.
1501 * ldexp.c, ldindr.c, ldlang.c: Change callers.
1502
1503 * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries.
1504
1505 * ldlang.c (lang_process): Move loading of default script from
1506 here to main. Add a "/" to start of script name to prevent
1507 finding it in "." first.
1508
1509 * ldmain.c (set_scripts_dir): Don't look in "." first.
1510
1511 * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var
1512 option_longmap.
1513
9edc5b2e
ILT
1514Thu Jul 15 10:55:59 1993 Ian Lance Taylor ([email protected])
1515
1516 * Makefile.in (em_m88kbcs.c): Correct dependency.
b0955bc9
ILT
1517 * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET
1518 statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}.
1519 * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs.
9edc5b2e 1520
cffdcde9
DM
1521Wed Jul 14 21:42:53 1993 David J. Mackenzie ([email protected])
1522
1523 * ldfile.c (ldlang_open_file, ldfile_open_command_file),
1524 main.c (main): Print the errno string in the error message.
1525
ac2c0ee7
DE
1526Tue Jul 13 20:00:30 1993 Doug Evans ([email protected])
1527
1528 * configure.in: Accept h8300h for target cpu.
1529
1530 * ldmisc.c (vfinfo): Have demangle remove leading underscore if
1531 present (demangle is smart enough to know whether to do it or not).
1532
d723cd17
DM
1533Mon Jul 12 11:45:48 1993 David J. Mackenzie ([email protected])
1534
f4208462
DM
1535 * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
1536 ldscripts, as well as <ld bin dir> and SCRIPTDIR.
1537
d723cd17
DM
1538 * ldlang.c (lang_process): Use sizeof instead of magic constant.
1539
1540 * ldmain.c (get_emulation, check_for_scripts_dir,
1541 set_scripts_dir): New functions.
1542 (main): Call them.
1543
e7affb09
KR
1544Mon Jul 12 10:57:03 1993 Ken Raeburn ([email protected])
1545
1546 * scripttempl/elf.sc: Include .init, .fini, .rodata sections.
1547 Create symbol "end" instead of "__end". Comment out some parts
1548 that may not be needed (yet) for elf.
1549
1550 * configure.in: Accept sparc-elf and sparc-solaris2 configs.
1551
3cb61417
KR
1552Thu Jul 8 15:33:32 1993 Ken Raeburn ([email protected])
1553
1554 * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS).
1555
1556 * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro
1557 when no prototype is being supplied.
1558 (ldmalloc, ldrealloc): Size argument is now size_t.
1559
1560 * ldmisc.c (finfo): New function, accepts FILE* argument.
1561 (vfinfo, case 'v'): New format character; displays bfd_vma in hex
1562 without leading zeros.
1563 (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a
1564 bfd_vma value, instead of fprintf(%x) which won't hold a long long
1565 value.
1566 (concat, buystring): String lengths are size_t.
1567 (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t.
1568
1569 * ldlang.c (new_statement): Size argument is now size_t. Added
1570 forward declaration with prototype.
1571
de87cdb4
DM
1572Thu Jul 8 10:53:47 1993 David J. Mackenzie ([email protected])
1573
1574 * ldgram.y (OPTION_v): Don't turn on verbose output.
1575
49bfda2c
KR
1576Wed Jul 7 17:10:45 1993 Ken Raeburn ([email protected])
1577
3cb61417
KR
1578 * ldlex.l: Get rid of local typedef for bfd_vma! Get it from
1579 bfd.h instead.
49bfda2c 1580
e357065c
ILT
1581Wed Jul 7 11:33:12 1993 Ian Lance Taylor ([email protected])
1582
1583 * Makefile.in (install): Don't install as $(tooldir)/bin/gld;
1584 collect2 doesn't look for gld any more anyhow.
1585
55636aa7
ILT
1586Mon Jul 5 14:29:48 1993 Ian Lance Taylor ([email protected])
1587
1588 * ldlang.c (lang_relocate_globals): Skip indirect symbols, which
1589 now have a non NULL srefs_chain.
1590
1591 * config/hp300hpux.mt: Use emulation hp3hpux rather than
1592 hp300hpux, since the latter does not exist.
1593
ff76a7db
DM
1594Fri Jul 2 18:06:05 1993 David J. Mackenzie ([email protected])
1595
1596 * genscripts.sh: Put the scripts in the ldscripts directory, not
1597 emulations.
1598 * configure.in (ldscripts): Make, instead of emulations.
1599 * Makefile.in (scriptdir): Take off the "ld" part.
1600 (install, clean, distclean): Use ldscripts, not emulations.
a04f1d00 1601 In tests, don't pass -Lemulations.
ff76a7db
DM
1602 Don't pass tooldir/lib to genscripts.sh.
1603 * genscripts.sh: Don't take tooldir/lib arg.
1604 * ldlang.c (lang_process): Add "ldscripts/" to the name of the
1605 default script file.
1606
7434d4e5
DE
1607Fri Jul 2 17:13:35 1993 Doug Evans ([email protected])
1608
1609 * scripttempl/h8300.sc: Add .tors section for constructor/destructors.
1610
1611Thu Jul 1 16:38:45 1993 Doug Evans ([email protected])
1612
1613 * config/coff-h8300.mt: EMUL=h8300hms -> h8300.
1614
559d7baf
RP
1615Wed Jun 30 15:45:55 1993 K. Richard Pixley ([email protected])
1616
1e787898
RP
1617 * Makefile.in (.y.c): skip default .y.c rules. gnu make can now
1618 run in parallel without colliding on yacc's static file names.
1619 Without the stub rule, make will try to start two yacc's
1620 concurrently which fails because of yacc's static file names.
559d7baf
RP
1621
1622Tue Jun 29 12:20:36 1993 Ian Lance Taylor ([email protected])
1623
1624 * ldmain.c (subfile_wanted_p): Don't dump core if there are no
1625 symbols.
1626
59fb874e
DM
1627Mon Jun 28 12:22:11 1993 David J. Mackenzie ([email protected])
1628
559d7baf
RP
1629 * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's
1630 different from libdir.
1631
59fb874e
DM
1632 * Makefile.in (scriptdir): Base on tooldir, not datadir.
1633
bf065bfd
DM
1634Sat Jun 26 12:03:57 1993 David J. Mackenzie ([email protected])
1635
1636 * ldver.c (help): New function.
1637 * ldver.h: Declare it.
1638 * ldlex.l, ldgram.y: Recognize new options --help and --version.
1639
304b747a
KR
1640Mon Jun 21 20:39:48 1993 Ken Raeburn ([email protected])
1641
1642 * Makefile.in (INCLUDES): Don't need ../include any more.
1643
2b63dbfe
DM
1644Mon Jun 21 16:38:35 1993 David J. Mackenzie ([email protected])
1645
bf065bfd
DM
1646 * ldlex.l, ldgram.y: Support new -oformat option.
1647 Remove attempt at supporting script fragments on the command line.
1648 * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT.
1649 * mri.c (mri_format), ldgram.y: Change callers.
1650 * ldlang.h: Change prototype.
2b63dbfe 1651
e9b991c6
DZ
1652Thu Jun 17 16:53:56 1993 david d `zoo' zuhn ([email protected])
1653
1654 * Makefile.in: canonicalize install.sh; for use within
1655 this directory (and subdirs)
1656
565c93e9
DM
1657Thu Jun 17 14:33:09 1993 David J. Mackenzie ([email protected])
1658
2de8edce
DM
1659 * ldgram.y: Tweak grammar to make reporting of invalid options work.
1660
565c93e9
DM
1661 * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
1662 and .cc.o rule.
1663
8ddef552
DM
1664Wed Jun 16 11:45:32 1993 David J. Mackenzie ([email protected])
1665
1666 * ldfile.c (ldfile_open_command): Don't try .ld extension.
1667 It wasn't documented (or likely used) and wastes time.
1668 (try_open): If EXTEN is empty, don't try it.
1669
1670 * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c,
1671 ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c,
1672 ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls
1673 with normal function declarations.
1674
1675 * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh.
1676 Move *.sc-sh to scripttempl/*.sc.
1677 * {emultempl,emulparams,scripttempl}/README: New files.
1678 * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files
1679 removed, replaced with generic.em.
1680 * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from
1681 h8[35]00hms.s[ch]. Change their contents to omit the "hms".
1682
1683 * *.em (*_get_script): Return script name instead of script contents.
1684 * ldlang.c (lang_process): Change caller.
1685
1686 * ldlex.l, ldgram.y: Recognize -m option.
1687 Check for input files after *all* options in grammar.
1688 * ldmain.c (main): Check for -m options. Add default directory
1689 for -m.
1690
1691 * mkscript.c: File removed.
1692 * genscripts.sh: Take two more parameters, tooldirlib and libdir,
1693 to add to the default LIB_PATH.
1694 Look for input files in the new subdirectories.
1695 Create the scripts in emulations subdirectory and don't filter
1696 them through mkscript.
1697 * configure.in: Make the emulations subdirectory.
1698
1699 * Makefile.in: Account for all of the above changes.
1700 Remove unused .SUFFIXES. Get libgcc.a path with gcc
1701 -print-libgcc-file-name instead of $(libdir)/libgcc.a.
1702 Put CFLAGS last in the compilation rules.
1703 Add -I../bfd to INCLUDES so sysdep.h is found.
1704
2a963f1a
KR
1705Tue Jun 15 23:04:46 1993 Ken Raeburn ([email protected])
1706
1707 * Makefile.in (INCLUDES): Look in ../include, not ../bfd.
1708
1709 * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO
1710 dependent on RELOCATING, not RELOCATION.
1711 * hp3hpux.sh (SHLIB_PATH): Define it.
1712
8ddef552
DM
1713Mon Jun 14 19:06:15 1993 David J. Mackenzie ([email protected])
1714
1715 * ldfile.c (try_open): If opening without the extension fails,
1716 try with the extension even if -v or -V was given.
1717 had_script is imported (from ldgram.y), not exported.
1718
c97b9003
DZ
1719Mon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
1720
1721 * Makefile.in: remove parentdir support, use INSTALL_XFORM
1722
1723Thu Jun 10 14:00:06 1993 Ian Lance Taylor ([email protected])
1724
1725 * ldexp.c (exp_fold_tree): Don't lose the old flag bits.
1726 * ldgram.y (statement_list_opt): New nonterminal, either empty or
1727 statement_list.
1728 (section): Use statement_list_opt, not statement_list.
1729 * m68kcoff.sc-sh: Gather constructors and destructors and define
1730 __CTOR_LIST__ and __DTOR_LIST__ appropriately.
1731 * sa29200.sc-sh: Gather constructors and destructors and define
1732 ___CTOR_LIST__ and ___DTOR_LIST__ appropriately.
1733
7f2649bb
PB
1734Mon Jun 7 12:53:28 1993 Per Bothner ([email protected])
1735
1736 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
1737 * configure.in: No longer need to configure to get sysdep.h.
1738
91b3a2b6
DZ
1739Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1740
7f2649bb
PB
1741 * Makefile.in: remove install:all and install-info:info
1742 dependencies (these cause some spurious rebuilds at 'make install'
1743 time)
91b3a2b6 1744
559d1cff
ILT
1745Fri Jun 4 08:50:14 1993 Ian Lance Taylor ([email protected])
1746
98f3d1af
ILT
1747 * configure.in (mips-idt-ecoffl*): New target; use mips-idtl.
1748 (mips-idt-ecoff*): Added trailing '*'.
1749 * config/mips-idtl.mt: New file; use EMUL of mipsidtl.
1750 * mipsidtl.sh: New file; like mipsidt.sh, but little endian.
1751 * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o.
1752
559d1cff
ILT
1753 * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and
1754 incorrect definitions.
1755
1cf91c69
PB
1756Tue Jun 1 14:56:10 1993 Per Bothner ([email protected])
1757
1758 * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR
1759 symbols, unless stripping.
1760
63545898
ILT
1761Tue May 25 15:34:25 1993 Ian Lance Taylor ([email protected])
1762
1763 * Makefile.in: configure looks for ####, so remove lines with many
1764 '#' characters.
1765 * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0
1766 and HOSTING_LIBS correctly so that ``make check'' will work.
1767
1768Thu May 20 13:56:16 1993 Per Bothner ([email protected])
1769
1770 * mips.sc-sh: Define _etext, _edata, and _end, in addition
1771 to etext, edata, and end. Needed for IRIX 4.0.5F.
1772 Patch from [email protected] (Michael Paddon).
1773
2a963f1a
KR
1774 * Version 2.2.1 released.
1775
5266c5ec
KR
1776Thu May 20 11:42:06 1993 Ken Raeburn ([email protected])
1777
1778 * mipsbsd.sc-sh: Renamed from aout-mipsbsd.sc-sh.
1779 * mipsbsd.sh (EMULATION_NAME): Use new file name.
1780
1781Tue May 18 17:10:24 1993 Ken Raeburn ([email protected])
1782
1783 * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it
1784 properly right now.
1785
1786 * Version 2.2 released.
1787
1788Mon May 17 15:37:28 1993 Ken Raeburn ([email protected])
1789
1790 * ldver.c (ldversion): Bump version number to 2.2.
1791
bc3b479c
PB
1792Mon May 17 12:44:31 1993 Per Bothner ([email protected])
1793
1794 * NEWS: New file.
1795
1796Fri May 14 11:26:24 1993 Ian Lance Taylor ([email protected])
1797
1798 * mips.sc-sh: Don't define BSS_VAR unless relocating.
1799
1800Wed May 12 13:33:29 1993 Ian Lance Taylor ([email protected])
1801
1802 * Makefile.in (mkscript.o, mkscript): Build mkscript via
1803 mkscript.o, rather than directly from mkscript.c.
1804
b8fc168d
KR
1805Tue May 4 21:58:56 1993 Ken Raeburn ([email protected])
1806
1807 * configure.in: Look for ${target_makefile_frag} relative to
1808 ${srcdir}, not relative to build directory.
1809
1810 * hppaosf.em, hppaosf.sc-sh, hppaosf.sh: New files.
1811 * configure.in: Recognize hppa*-hp-osf.
1812 * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation.
1813 (em_hppaosf.c): Build it.
bc3b479c 1814 * config/hppaosf.mh, hppaosf.mt: New files.
b8fc168d
KR
1815
1816 * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with
1817 some system header files. All uses changed.
1818
1819 * configure.in: Recognize i386-aix configurations as i386-coff
1820 targets.
1821
1822 * configure.in: Recognize m68*-*-hpux.
1823 * aout.sc-sh: If STACKZERO and RELOCATING are both defined, output
1824 the value of STACKZERO.
1825 * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation.
1826 (em_hp3hpux.c): Build it.
1827 * hp3hpux.sh, config/hp300hpux.mt: New files.
1828
ef868186
ILT
1829Tue May 4 12:37:35 1993 Ian Lance Taylor ([email protected])
1830
1831 * mips.sc-sh: Put constructors in the .data section.
1832 * Makefile.in (cdtest): Added dependency on ld.new.
1833
034351e3
PB
1834Mon May 3 19:43:39 1993 Per Bothner ([email protected])
1835
1836 * Makefile.in: Change definition of $(tooldir) to match FSF.
1837 * vax.sh, config/vax.mt, configure.in, Makefile.in:
1838 Support VAX Ultrix and BSD.
1839
1840Mon Apr 26 18:35:47 1993 Steve Chamberlain ([email protected])
1841
1842 * sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH.
1843
1844Wed Apr 14 21:01:51 1993 John Gilmore ([email protected])
1845
1846 * ldlang.h (struct memory_region): Change `length' and
1847 `old_length' fields to bfd_size_type. Eliminate use of bfd_offset.
1848 * ldlang.c, mri.c: Corresponding changes, plus lint.
1849
1850Thu Apr 8 22:08:18 1993 Ian Lance Taylor ([email protected])
1851
1852 * configure.in: For all i386 targets, accept i486 as well.
1853
1854Mon Apr 5 17:33:39 1993 Ian Lance Taylor ([email protected])
1855
1856 * ldlang.c (wild_doit): Preserve all flags for a
1857 SEC_SHARED_LIBRARY section.
1858 (size_input_section): Consider any SEC_HAS_CONTENTS section when
1859 computing largest_section.
1860
1b8a42f3
ILT
1861Fri Apr 2 14:33:52 1993 Ian Lance Taylor ([email protected])
1862
1863 * ldlang.c (lang_output_section_statement_lookup): Initialize all
1864 fields of newly created structure.
1865
1866Wed Mar 31 18:19:15 1993 Ian Lance Taylor ([email protected])
1867
1868 * ldmain.c (g_switch_value): New variable.
1869 * ldgram.y (OPTION_G, OPTION_Gval): New tokens.
1870 (command_line_option): Accept -G and set g_switch_value.
1871 * ldlex.l (COMMAND): Accept -G.
1872 * ldlang.c (open_output): Call bfd_set_gp_size on new BFD.
1873
29f33467
SC
1874Tue Mar 30 09:40:25 1993 Steve Chamberlain ([email protected])
1875
9fce28ed
SC
1876 Support for linking and loading at different places:
1877
1878 * ldlex.l: Add "AT" keyword.
1879 * ldgram.y: Cleanup, and parse AT.
1880 * ldlang.c (print_output_section_statement): Print output address
1881 of section in map. (lang_size_sections): Fill sections' lma with
1882 load address.
1883 * ldlang.h (lang_output_section_statement_type): Add load_base
1884 information.
1885
29f33467
SC
1886 * ldindr.c (add_indirect): Keep more information in the alias
1887 symbol chain.
1888 * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section
1889 attribute from an input section.
1890 * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by
1891 default. (Q_enter_file_symbos): Indirect symbols now are known by
1892 their section, not a special symbol flag.
1893 * ldsym.c (write_file_locals): Indirect symbols aren't local.
1894 (write_file_globals): Write the mapping for an indirect symbol.
1895 * relax.c (build_it): When forced to write a NEVER_LOAD section,
1896 fill it with zeros.
1897
1898Tue Mar 23 13:24:10 1993 Jeffrey Osier ([email protected])
1899
1900 * ld.texinfo: changes for q1
1901
f20e9842
DZ
1902Tue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1903
1904 * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck
1905
1906Mon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1907
1908 * Makefile.in: rename HOST_CC to CC_FOR_BUILD
1909
1910Thu Mar 4 12:44:33 1993 Ian Lance Taylor ([email protected])
1911
1912 * mips.sc-sh: Added variables which may be overridden by a
1913 specific emulation.
1914 * mipsidt.sh: New file; emulation for IDT MIPS board.
1915 * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
1916 (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh.
1917 * config/mips-idt.mt: New file; sets EMUL to mipsidt.
1918 * configure.in (mips-idt-ecoff): New target; uses mips-idt.
1919
e637dcf0
KR
1920Sat Feb 27 00:00:14 1993 Ken Raeburn ([email protected])
1921
1922 * aout-mipsbsd.sc-sh, mipsbsd.sh: New files from Ralph Campbell,
1923 [email protected].
1924 * i386bsd.sh, config/i386bsd.mt: New files.
1925 * configure.in, Makefile.in: Added support for mipsbsd and 386bsd.
1926
26483cc6
PB
1927Thu Feb 25 15:33:10 1993 Per Bothner ([email protected])
1928
e637dcf0 1929 * mri.c: Add extern declaration of strdup.
26483cc6
PB
1930 * ldsym.c (KEEP macro): Add spaces around '=' for the
1931 sake of old (e.g. PCC) compilers.
1932
05985c77
PB
1933Wed Feb 24 19:49:31 1993 Per Bothner ([email protected])
1934
1935 * ldver.c: Bump to version 2.1.
1936
067e2baa
SC
1937Fri Feb 12 08:09:11 1993 Steve Chamberlain ([email protected])
1938
1939 * ldgram.y: allow section types without address expressions.
1940 * ldlang.c (lang_relocate_globals): avoid possible hang with
1941 undefined but unreferenced symbols.
1942 * relax.c (relax_section): don't complain if the script file isn't
1943 relaxable but -relax is set
1944
fb8ecc3d
DZ
1945Thu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1946
1947 * configure.in: go32 is the 3rd part of the triple, not the 2nd
1948
067e2baa
SC
1949Wed Feb 3 09:05:56 1993 Ian Lance Taylor ([email protected])
1950
1951 * mipsbig.sh: New file. Big endian MIPS emulation.
1952 * config/mips-big.mt: New file. Use mipsbig emulation.
1953 * configure.in (mips-sgi-irix*): Use target mips-big.
1954 * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o.
1955 (em_mipsbig.c): New target. Uses mipsbig.sh.
1956
e193c31b
ILT
1957Tue Feb 2 11:32:27 1993 Ian Lance Taylor ([email protected])
1958
1959 * mips.sc-sh: Put .scommon sections into .sbss section.
1960
1961 * ldmain.c (subfile_wanted_p): Preserve section of common symbols,
1962 rather than always putting them in bfd_com_section.
1963 * ldlang.c (lang_common): If a common symbol is not in
1964 bfd_com_section, put in a section of the same name, rather than
1965 always putting it in section COMMON.
1966
8a3efe67
ILT
1967Fri Jan 29 09:57:58 1993 Ian Lance Taylor ([email protected])
1968
f31cb329
ILT
1969 * ldmain.c (subfile_wanted_p): If we already have a common
1970 definition of a symbol, don't necessarily pull in an object file
1971 that provides a non-common definition.
1972
8a3efe67
ILT
1973 * ldlex.l (COMMAND): Accept -EB and -EL command line arguments,
1974 returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS
1975 linker.
1976 * ldgram.y (OPTION_EB, OPTION_EL): New tokens.
1977 (command_line_option): Accept and ignore OPTION_EB and OPTION_EL.
1978
af6237a4
ILT
1979Thu Jan 28 15:12:04 1993 Ian Lance Taylor ([email protected])
1980
1981 * Makefile.in (install): Remove $(tooldir)/bin/gld before creating
1982 the link to it.
1983
8a045e50
ILT
1984Tue Jan 26 11:49:50 1993 Ian Lance Taylor ([email protected])
1985
1986 * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than
1987 checking for equality to bfd_com_section.
1988
42b5c739
ILT
1989Fri Jan 22 14:22:44 1993 Ian Lance Taylor ([email protected])
1990
1991 * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF
1992 targets, linker script.
1993 * mipslit.sh: New file. Little endian MIPS emulation.
1994 * config/mips-lit.mt: New file. Use mipslit emulation.
1995 * configure.in (mips-dec-ultrix*): Use target mips-lit.
1996 * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
1997 (em_mipslit.c): New target. Uses mipslit.sh.
1998
1999Thu Jan 14 15:30:27 1993 Ian Lance Taylor ([email protected])
2000
2001 * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and
2002 $(tooldir)/bin/gld, so that gcc can find it with or without
2003 collect2.
2004
ac496d4f
ILT
2005Mon Jan 11 18:50:07 1993 Ian Lance Taylor ([email protected])
2006
2007 * ldwrite.c: Removed perform_relocation, copy_and_relocate, and
2008 write_norel. All linking is now done via write_relax. Call
2009 ldsym_write before calling write_relax.
2010 * relax.c: Added copyright.
2011 (write_relax): Renamed from write_relaxnorel. Added relocateable
2012 argument. seclet_dump renamed to bfd_seclet_link.
2013 * relax.h: Added copyright.
2014
0550e9f4
SC
2015Mon Jan 11 15:41:56 1993 Steve Chamberlain ([email protected])
2016
2017 * ldmain.c (decode_library_subfile): Patch from
2018 [email protected], don't reread library symbol tables.
2019
2020Fri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2021
2022 * config/vxworks960.mt renamed to config/i960.mt
2023
2024 * configure.in: sparc-aout emulates a sun4, as does
2025 sparc*-vxworks, i960-nindy uses gld960 emulation
2026
dadd414a
SC
2027Fri Jan 8 14:39:07 1993 Steve Chamberlain ([email protected])
2028
2029 Fix support for NOLOAD, add INCLUDE
2030 * ldfile.c (ldfile_open_command_file): pass file name to
2031 lex_push_file.
2032 * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD
2033 * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD
2034 attribute.
2035
2036Thu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2037
2038 * Makefile.in, config.h: no more default emulation. Make the lack
2039 of emulation a compile time error
2040
2041Wed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2042
2043 * configure.in: recognise all sparclite variants, not just 'sparclite'
2044
a70947c1
ILT
2045Mon Dec 28 11:15:35 1992 Ian Lance Taylor ([email protected])
2046
2047 * m68kcoff.sc-sh: define _end as well as end, for consistency with
2048 aout.sc-sh.
2049
2050 * configure.in: accept *-ericsson-ose for any m68k CPU.
2051
2052 * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag
2053 for each output section.
2054
086c5e37
PB
2055Mon Dec 21 16:06:59 1992 Per Bothner ([email protected])
2056
2057 * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new
2058 macro bfd_asymbol_bfd as appropriate.
2059 * Makefile.in: Un-duplicate ldlex.c dependency.
2060 * condigure.in: Replace my_host case table by sourcing
2061 ../bfd/configure.host. Allow std-host as the default.
2062 * ldmisc.c: Change logic for C++ name demangling: There is
2063 no initial '_' to remove from stab-derived function names.
2064
2065Sun Dec 13 16:31:26 1992 Steve Chamberlain ([email protected])
2066
2067 * ldlang.c (lang_init_script_file): don't attach the output file
2068 sections to the script file.
2069
2070Wed Dec 9 08:38:05 1992 Steve Chamberlain ([email protected])
2071 * ldlang.c (wild): run expansion loop over command line bfd too.
2072 (lang_ini_script_file): initialize more parts of the command line
2073 bfd.
2074 * ldlex.l: fix DEFINED start states.
8ddef552 2075
85e38cfa
SC
2076Mon Dec 7 08:43:41 1992 Steve Chamberlain ([email protected])
2077 -y support
2078 * ld.texinfo: new doc.
2079 * ldgram.y, ldlex.l: understand -y<symbol>
2080 * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and
2081 print info. (add_ysym): new function.
2082 * ldsym.h: (ldsym_type): new define SYM_Y.
2083
e20873a7
JG
2084Sat Nov 21 03:15:27 1992 John Gilmore ([email protected])
2085
2086 * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,
2087 ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h,
2088 ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue
2089 macros with PARAMS. Recreational cleanup. Update copyrights.
2090
2091Tue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2092
2093 * Makefile.in: pass down the bfd source directory for includes
2094
22292613
ILT
2095Thu Nov 5 15:41:55 1992 Ian Lance Taylor ([email protected])
2096
2097 * ldlang.c (lang_size_sections): don't change size and address for
2098 SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
2099 sections.
2100
85c838d6
SC
2101Thu Nov 5 11:33:57 1992 Steve Chamberlain ([email protected])
2102
2103 * relax.c (build_it): re-enable the processing of data_statements
2104 in scripts, makes counted contructor lists work again.
2105
6e94236a
JG
2106Thu Nov 5 05:43:01 1992 John Gilmore ([email protected])
2107
2108 * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS).
2109
2110Tue Oct 20 10:56:06 1992 Ian Lance Taylor ([email protected])
2111
2112 * m68kcoff.sc-sh: don't use initial underscores for etext, edata
2113 and end.
2114
e9b63852
ILT
2115Mon Oct 19 09:45:38 1992 Ian Lance Taylor ([email protected])
2116
2117 * Support for i386-sysv.
2118 configure.in: check for i386-*-sysv* and i386-*-sco*.
2119 i386coff.sc-sh: rewrote to support SVR3 by default.
2120 ldctor.c (find_constructors): preserve stat_ptr.
2121 ldlang.c (wild_doit): initialize vma and size of new output
2122 section to corresponding input section. This is required for
2123 shared library support.
2124 (lang_size_sections): don't modify vma and size of sections which
2125 are never loaded (for shared libraries).
2126 ldwrite.c (copy_and_relocate): copy the contents of any section
2127 which has contents, not just sections which are loaded (for shared
2128 libraries).
2129
ba2c2b1c
SC
2130Thu Oct 15 15:20:26 1992 Steve Chamberlain ([email protected])
2131
2132 * ldlang.c (size_input_section): count the sizes of all sections
2133 we allocate.
2134
a385b38f
SC
2135Thu Oct 8 09:05:25 1992 Steve Chamberlain ([email protected])
2136
2137 * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to
2138 to demangle symbols better
2139
81150d34
ILT
2140Tue Oct 6 13:08:54 1992 Ian Lance Taylor ([email protected])
2141
2142 * ldlang.c (lang_finish): don't warn if -e start symbol does not
2143 exist when linking with -r.
2144
b5ddf942
ILT
2145Mon Oct 5 14:07:37 1992 Ian Lance Taylor ([email protected])
2146
2147 * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
2148 .bss segment.
2149
f3739bc3
SC
2150Mon Oct 5 08:55:14 1992 Steve Chamberlain ([email protected])
2151
2152 * ldmain.c (linear_library): don't even think about processing
2153 an object file if it's already been done
2154
2155Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2156
2157 * configure.in: the hp9000/300 config file is now hp300
2158
ac0832f3
SC
2159Wed Sep 30 07:34:09 1992 Steve Chamberlain ([email protected])
2160
2161 * config/z8ksim.mt: new file
2162
f3b36ecb
KR
2163Fri Sep 25 13:49:52 1992 Ken Raeburn ([email protected])
2164
2165 * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o,
2166 lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h.
2167
2168 * ld.h (strip_symbols_type): Add value STRIP_SOME.
2169 * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token.
ac0832f3 2170 * ldlang.c (lang_add_keepsyms_file): New function.
f3b36ecb
KR
2171 * ldlex.l: Handle "-retain-symbols-file".
2172 * ldsym.c (keepsyms_file, kept_syms): New vars.
2173 (process_keepsyms): New functihon; reads file, marks symbols for
2174 saving.
2175 (write_file_locals): File symbols should always be kept.
2176 (ldsym_write): Warn about "-retain-symbols-file" overriding "-S"
2177 and "-s". Process retain-symbols file before setting symtab.
2178 * ldsym.h (SYM_KEEP): New flag for ldsym_type flags.
2179 (keepsyms_file, kept_syms): Declare them.
2180
2181 * ldmain.c (main): Non-fatal errors should still cause non-zero
2182 exit status even with -r.
2183
22a78f0d
SC
2184Fri Sep 25 11:08:01 1992 Steve Chamberlain ([email protected])
2185
2186 Added initial support for the z8k
2187 * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
2188 * configure.in, Makefile.in: modified to reflect above
2189
2190 * ldlang.c (lang_check): when linking conflicting architectures,
2191 make the output file reflect at least one of the bad inputs.
2192
56409445
ILT
2193Tue Sep 15 15:35:38 1992 Ian Lance Taylor ([email protected])
2194
2195 * Makefile.in (install): if $(tooldir) exists, install ld in
2196 $(tooldir)/bin.
2197
99e6298a
SC
2198Fri Sep 11 10:24:22 1992 Steve Chamberlain ([email protected])
2199
2200 * Makefile.in, configure.in: modified to support i386-coff
2201 * i386coff.sh: new file
2202
ab57b174
ILT
2203Wed Sep 9 11:52:58 1992 Ian Lance Taylor ([email protected])
2204
2205 * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
2206 added m68k-coff emulation mode, stolen from a29k emulation.
2207 Almost certainly wrong, but perhaps better than sun3.
2208
8e71a984
PB
2209Thu Sep 3 14:19:30 1992 Per Bothner ([email protected])
2210
ab57b174
ILT
2211 * Makefile.in, Makefile.dos, generic.em, genscripts.sh,
2212 gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em,
2213 vanilla.em: Rename all (generated) ld__*.c files to em_.c.
2214 This is one character shorter, and lets people build on
2215 SVR3 system. (ld__h8300xray.[co] was the killer there;
2216 h8300xray.sc-sh is also overlong, but seems harmless.)
2217 Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>.
2218 * Makefile.in (clean): Fix typo mostclean -> mostlyclean.
2219 * configure.in: Add host isc.
2220
8e71a984
PB
2221 * ldver.c: Call it version 2.0.
2222
2223Wed Sep 2 00:21:33 1992 Per Bothner ([email protected])
2224
2225 * ldver.c: Bump to version 0.98.
2226 * TODO: New file.
2227
2228 * Makefile.in: Added mostlyclean, distclean, realclean rules.
2229
c52bdfec
PB
2230Tue Sep 1 23:42:16 1992 Per Bothner ([email protected])
2231
2232 * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).
2233 * ldlex.l: Moved comment() to end, since some compilers
2234 otherwise have problems with input() used before it is defined.
2235
2df68136
DZ
2236Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2237
2238 * configure.in: added Solaris 2 and Irix 4 host support.
2239
2240Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2241
2242 * Makefile.in: remove -S flag from the FLEX definition
2243
2244 * configure.in: rewrote, using new style case statement. use
2245 m68k.mt for m68k-aout systems
2246
0bb95ac8
ILT
2247Sun Aug 30 21:38:53 1992 Ian Lance Taylor ([email protected])
2248
2249 * Makefile.in: map "ld" through program_transform_name when
2250 installing.
2251
fe2b6209
PB
2252Sun Aug 30 18:12:13 1992 Per Bothner ([email protected])
2253
2254 * cplus-dem.c: Removed. Use the version in libiberty now.
2255 * ldmisc.c: Use new libiberty version of cplus_demangle().
2256
94cc1ee7
ILT
2257Thu Aug 27 16:38:42 1992 Ian Lance Taylor ([email protected])
2258
5f2d9799
ILT
2259 * gld960.em (gld960_choose_target): default to little endian, not
2260 big endian.
94cc1ee7 2261
cd1d8c6d
SC
2262Wed Aug 26 17:28:51 1992 Steve Chamberlain ([email protected])
2263
2264 * ldlang.c (lang_process): don't pass null pointers when
2265 abs_output_section is what is required.
2266 * ldwrite.c (ldwrite): use malloc to allocate the largest space
2267 used, and pass that down.
2268 * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
2269 than alloca.
2270
afba2b22
ILT
2271Mon Aug 24 14:42:06 1992 Ian Lance Taylor ([email protected])
2272
2273 * configure.in, config/ose68.mt: renamed OSE to ose.
2274
571c4c26
KR
2275Thu Aug 20 19:55:22 1992 Ken Raeburn ([email protected])
2276
2277 * ldsym.c (write_file_locals): Reorder check for common or
2278 undefined symbols so that it works.
2279
b189e892
ILT
2280Tue Aug 18 13:41:36 1992 Ian Lance Taylor ([email protected])
2281
2282 * configure.in: accept all m68K family members.
2283
2284 * Makefile.in: always create installation directories.
2285
6bf2e3a7
SC
2286Thu Aug 13 11:49:34 1992 Steve Chamberlain ([email protected])
2287
2288 * ldlex.l: now parses comment correctly, added ~ to acceptable
2289 chars in filenames
2290
2291 * ldexp.c (exp_unop): pass down abs_output_section - now can have
2292 unary -ve constants.
2293
2294 * ldlang.c (lang_finish): warn when an entry symbol supplied on
2295 the command line can't be found.
2296
ae475b39
SC
2297Fri Aug 7 12:31:10 1992 Steve Chamberlain ([email protected])
2298
2299 * ldlang.h: add new field "loadable" to output_section_statement.
2300 * ldlang.c (lang_output_section_statement_lookup): initilize new
2301 field. (wild_doit): if new field is not set, then stop output
2302 section from being loadable.
2303 (lang_enter_output_section_statement): set the field from the
2304 NOLOAD keyword
2305 * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
2306 * h8300hms.sc-sh, h8300hms.em: get -r right.
2307
4b91c519
PB
2308Thu Aug 6 18:35:21 1992 Per Bothner ([email protected])
2309
2310 * ldint.texinfo: New internals manual (beginnings thereof).
2311 * PORTING: Removed, merged into ldint.texinfo.
2312
917bffa7
PB
2313Tue Aug 4 21:12:29 1992 Per Bothner ([email protected])
2314
2315 * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
2316 cdtest.exp: A test program (copied from libg++/test-install)
2317 that tests that constructor and destructors are handled
2318 corrrectly.
2319
b40f9c73
DZ
2320Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2321
2322 * Makefile.in (install): install from ld.new, renaming during the
2323 copy, or else the next 'make install' needs to re-link ld.
2324
2325Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace ([email protected])
2326
2327 * configure.in: generalise hp recognition (from sef).
2328
2329Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2330
2331 * configure.in: recognize bsd and hpux hppa configurations.
2332 error messages echo to stderr, not stdout
2333
ec467c83
RP
2334Fri Jul 17 22:06:11 1992 K. Richard Pixley ([email protected])
2335
2336 * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c,
2337 ldmisc.c: removed rcsid's.
2338
67cddd9f
SC
2339Tue Jul 14 08:34:34 1992 Steve Chamberlain ([email protected])
2340
2341 * ldlang.c (lang_map): print changes in sizes due to relaxing
2342 (size_input_section): maintain the delta information.
2343 * ldlang.h: add new field to struct to contain delta info.
2344 * relax.c (relax_section): complain if input not relaxable.
2345 * ldlex.l : add '_', ',' and '$' to chars which can appear at the
2346 start of a filename
2347
f7c76897
SC
2348Mon Jul 13 17:33:00 1992 Steve Chamberlain ([email protected])
2349
2350 * ldmain.c(main): prevent -r and -relax from being on at the same
2351 time.
2352
28b6b1ab
SC
2353Wed Jul 1 17:51:19 1992 Steve Chamberlain ([email protected])
2354
2355 * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for
2356 aliasing problems
2357
2358
30d1a390
SC
2359Thu Jun 18 09:38:56 1992 Steve Chamberlain ([email protected])
2360
2361 * h8300hms.em, h8300hms.sc-sh: do the right thing for -r
2362 * ldexp.c: lint
2363 * ldlang.c(open_output): set the target arch and machine as soon
2364 as we can. (lang_size_sections): use new macros for setting vma
2365 * ldwrite.c: lint
2366
5bdf878e
MT
2367Mon Jun 15 08:47:43 1992 Michael Tiemann ([email protected])
2368
2369 * configure.in (my_target): Accept m680?0 for wrs as vxworks68.
2370 Also deleted an unreachable path to wrs.
2371
2372Wed May 27 23:24:19 1992 Michael Tiemann ([email protected])
2373
2374 * Makefile.in (install): use -d test for $tooldir before
2375 installing ld there so that $tooldir can be inherited from
2376 top-level Makefile.
2377
2378Wed May 27 16:56:48 1992 Per Bothner ([email protected])
2379
2380 * ldlang.c: Two non-substantial changes for the sake of
2381 the old Portable C Compiler.
2382
5e81edb2
SC
2383Wed May 27 15:15:58 1992 Steve Chamberlain ([email protected])
2384
2385 * ldgram.y, ldlex.l: parse ABSOLUTE
2386 * ldexp.c: add support for ABSOLUTE
2387
7aacc9cc
PB
2388Wed May 27 13:07:20 1992 Per Bothner ([email protected])
2389
2390 * Makefile.in: Added default definitions for HOSTING_CRT0,
2391 HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.
2392 * config/*.mh: Miscellaneous clean-up: Removed definitions
2393 of YACC (since it is not longer used in the Makefile).
2394 Remove HOSTING_* definitions that are subsumed by the
2395 ones added to Makefile.in. Removed most definitions of CC.
2396 * config/{sparc,news,hp300bsd,decstation}.mh: Removed;
2397 These are no longer needed.
2398
91e25b4f
PB
2399Fri May 22 13:47:19 1992 Per Bothner ([email protected])
2400
5ff21fa5
PB
2401 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
2402 rules, since these are used when building a distribution.
2403 * Makefile.in (ldlex.c): Don't re-direct output, since that
2404 leaves a bogus output files if it fails.
2405
91e25b4f
PB
2406 * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working.
2407 * ldlex.c: Fix some unnecessary flex-specific-isms.
2408
2409Fri May 8 11:49:43 1992 Steve Chamberlain ([email protected])
2410
2411 * ldgram.y: move spurious semicolon
2412 * ldexp.h: fix prototype
2413
82d1666a
RP
2414Thu May 7 17:01:12 1992 Roland H. Pesch ([email protected])
2415
2416 * ld.texinfo: references to linker now say "ld" not "gld".
2417
32846f9c
SC
2418Wed May 6 13:26:19 1992 Steve Chamberlain ([email protected])
2419
2420 changed calling convention for Q_enter_global_ref
2421 * ldexp.c, ldlang.c, ldmain.c: reflect this
2422 * ldver.c: bump version to 1.97.1
2423 * ldindr.c (add_indirect): when an edict declaring an indirect
2424 symbol is found, make sure that any ideas about the symbol being
2425 common are changed if it now known to be defined.
2426 * ldmain.c (linear_library): complain once if archive isn't
2427 ranlibbed.
2428 * ldlang.h, ldlang.c: make room for and initialize the complain
2429 once field.
2430
bf3acf44
RP
2431Wed May 6 11:07:35 1992 K. Richard Pixley ([email protected])
2432
2433 * Makefile.in: use flex & bison from ../ if they exist.
2434
9c99a57e
SC
2435Tue May 5 17:47:33 1992 Steve Chamberlain ([email protected])
2436
2437 * relax.c (build_it): don't allocate space in the output file for
2438 stuff if -R flag applys to it.
7153b2ff
SC
2439 * ldfile.c: merge in VMS filename support
2440 * ldmain.c (main): take out ./ from library path, and close file
2441 before unlinking. Make multiple defs of a symbol create an
2442 unexecable file.
2443 * ldmisc.c: fatal errosrs delete output file
9c99a57e 2444
98377f31
PB
2445Tue May 5 14:05:05 1992 Per Bothner ([email protected])
2446
2447 * ldver.c: Increase version number to 1.97, for consistency
2448 with ../binutils.
2449
3f350eda
RP
2450Tue May 5 12:12:24 1992 K. Richard Pixley ([email protected])
2451
813da1a5
RP
2452 * Makefile.in: FLEX -> LEX.
2453
3f350eda
RP
2454 * ld.texinfo: {} -> @{@}.
2455
e0047d49
RP
2456Mon May 4 17:52:41 1992 Roland H. Pesch ([email protected])
2457
2458 * ld.texinfo: describe alternate, MRI-compatible linker scripts
2459 (and associated change in -c option, now used for these scripts)
2460
bfbdc80f
SC
2461Mon May 4 16:10:10 1992 Steve Chamberlain ([email protected])
2462
2463 * ldver.c: Bumped version to 1.96 - new release, resync with the
2464 bfd too #.
2465 * ldexp.c, ldlang.c: now build memory shape tree in obstacks
2466 rather than with raw malloc, makes it easier to track where memory
2467 is going.
2468 * ldsym.h, ldsym.c: create obstack for all global symbols too.
2469 * ldwrite.c (ldwrite): moved malloc so only used when needed.
2470 * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
2471
2472
d3451fe8
RP
2473Fri May 1 18:17:52 1992 K. Richard Pixley ([email protected])
2474
2475 * config/sparc.mh: use ../gcc/libgcc.a on check if it exists.
2476
2477 * Makefile.in: use bootstrap for check.
2478
dc4726c2
SC
2479Fri May 1 13:03:41 1992 Steve Chamberlain ([email protected])
2480
e14a43bf
SC
2481 * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and
2482 PUBLIC.
2483 * Makefile.in: now use flex, not lex
dc4726c2
SC
2484 * ldlex.l, ldlang.c, ldctor.c: lint
2485
ee0c4cf7
SC
2486Wed Apr 22 12:48:42 1992 Steve Chamberlain ([email protected])
2487
2488 * ldlex.l: added CMDFILENAMECHAR state so that you can lex
2489 different sorts of filenames on the command line than in a script.
2490
77b19d3d
RP
2491Mon Apr 20 22:37:04 1992 K. Richard Pixley ([email protected])
2492
2493 * Makefile.in: rework CFLAGS so that they can be passed on the
2494 make command line. Remove MINUS_G. Default CFLAGS to -g.
2495
119afd7b
RP
2496Fri Apr 17 08:57:17 1992 Steve Chamberlain ([email protected])
2497
2498 * relax.c: added handling for new "padding" seclet type, used to
2499 fill out gaps between section.
2500 * ldgram.y, ldlex.l: now -defsym on the command line is done
2501 properly.
2502
2503Wed Apr 15 21:20:07 1992 K. Richard Pixley ([email protected])
2504
2505 * Makefile.in: the tooldir copy of ld goes directly in tooldir.
2506
2e38b71d
SC
2507Wed Apr 15 16:09:33 1992 Steve Chamberlain ([email protected])
2508
2509 * mri.c, ldgram.y, ldlex.l: added support for minimal strange link
2510 scripts.
2511
1900f884
KR
2512Thu Apr 9 05:52:02 1992 Ken Raeburn ([email protected])
2513
2514 * Makefile.in (install): Install second copy in $(tooldir)/bin
2515 without $(program_prefix), since that's what gcc expects.
2516
9d1fe8a4
SC
2517Sat Apr 4 17:44:06 1992 Steve Chamberlain ([email protected])
2518
2519 * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer.
2520 * h8300*: fix bit rot and add support for h8300xray target
2521 * go32.sh: target emulation for go32.
2522
9d1fe8a4
SC
2523Mon Mar 16 14:53:29 1992 Steve Chamberlain ([email protected])
2524
2525 * gld960.em, i960.sc-sh. Fix i960 bit rot
2526
f0280cd2
RP
2527Fri Mar 13 19:47:22 1992 K. Richard Pixley ([email protected])
2528
2529 * Makefile.in: install man page.
2530
12fa72d4
SC
2531Fri Mar 13 08:23:59 1992 Steve Chamberlain ([email protected])
2532
2533 * config/mt-<foo> renamed to <foo>.mt
2534 * config/mh-<foo> renamed to <foo>.mt
2535 * configure.in changed to reflect this
2536 * genscripts.sh now make .xbn files rather than .xN files
2537
2538Sat Mar 7 03:40:40 1992 K. Richard Pixley ([email protected])
2539
2540 * ldver.h: fix decl of ldversion.
2541
2542Fri Mar 6 22:00:35 1992 K. Richard Pixley ([email protected])
2543
2544 * Makefile.in: added check target.
2545
fe563ffe
SC
2546Fri Mar 6 06:59:04 1992 Steve Chamberlain ([email protected])
2547
2548 * ldmain.c (Q_enter_file_symbols): now aliases work again
2549
12fa72d4
SC
2550Thu Mar 5 21:39:29 1992 K. Richard Pixley ([email protected])
2551
2552 * Makefile.in: added clean-info target.
2553
fe563ffe
SC
2554Thu Mar 5 16:55:56 1992 Steve Chamberlain ([email protected])
2555
2556 * ldexp.c (exp_print_tree): don't try and follow null pointers
2557 around.
2558 * ldgram.y: remove 11 shift reduce errors
d2861901 2559
12fa72d4
SC
2560Tue Mar 3 15:46:39 1992 K. Richard Pixley ([email protected])
2561
2562 * Makefile.in: added tooldir and program_prefix.
2563
fe563ffe
SC
2564Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com)
2565
2566 * ldlang.c (size_input_section): don't move absolute sections
2567 around!
2568
2569
2570Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com)
2571
d2861901
SC
2572 * cplus-dem.c: yet another copy of this - maybe it should go into
2573 libiberty ?
2574 * ldgram.y: now -V and -v have different actions
2575 * ldver.c: if -V, prints list of emulations compiled in
2576 * ldmisc.c: support for cplus demangling
2577
2578
12fa72d4
SC
2579Wed Feb 26 18:04:40 1992 K. Richard Pixley ([email protected])
2580
2581 * Makefile.in, configure.in: removed traces of namesubdir,
2582 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
2583 copyrights to '92, changed some from Cygnus to FSF.
2584
d2861901
SC
2585Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com)
2586
2587 * Makefile.in: Change mkscript rule into one for ./mkscript
2588 (for the sake of makes that don't realize they're the same).
2589 * PORTING: Add more details.
2590 * genscripts.sh: Add more tailorability of DATA_ALIGNMENT.
2591
1584d069
PB
2592Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com)
2593
2594 * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd,
2595 config/mt-hp300bsd: New port to hp300 running BSD.
2596
7e5c1057
PB
2597Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com)
2598
2599 Major rewrite of how ld is configured. The major idea
2600 is to use shell scripts to generate everything.
2601 * generic.em replaces ldtemplate.
2602 * Other *.em files replace various *.c files.
2603 A *.em file is a shell script that generates the corresponding
2604 ld__*.c file that implements an emulation. This is usually
2605 a straight 'cat' of a here-document, possibly with substitutions.
2606 * Script files (*.sc) are places by *.sc-sh scripts.
2607 Again, these are simple shell scripts that 'cat'
2608 here-documents, usually with some substitutions.
2609 The output a *.sc-sh is a script file.
2610 * Each emulation is defined by a short shell script with
2611 extension *.sh that specifies the emulation-specific
2612 parameters (such as the name of the *.sh-sc and *.em
2613 files to use).
2614 * genscript.sh is the master shell script used to generate
2615 an emulation. It is passed various argument, including
2616 the name a the emulation-speciic *.sh file that it
2617 "sources" to set variables to emulation-specifc parameters.
2618 * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
2619 to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
2620 * config/mh-foo: Rename LDEMULATION names as appropriate
2621 (usually 'gldfoo' -> plain 'foo').
2622 * ldwrite.c: Fixed a typo in a comment.
2623 * Makefile.in: Major changes. Removed some the sed
2624 magic to converts scripts, since that is now handled
2625 by genscripts.sh and the *.sc-sh scipt generators.
2626 * config.h: Remove a bunch of macros defining emulations
2627 and targets. This becomes one less file to edit when
2628 adding emulations or targets.
2629 * ldemul.h (struct ld_emulation_xfer_struct): Add
2630 emulation_name and target_name fields.
2631 * ldemul.c, ldemul.h: Define some default functions used
2632 by most emulations (and remove from the *.em scripts).
2633 * ldemul.c (ldemul_choose_target): Search the new
2634 ld_emulations array using a loop (instead of a hardwired
2635 nested if statement).
2636 Define the ld_emulation from the automatically-geenrated
2637 ldemul-list.h. This means you no longer have to edit ldemul.c
2638 to add a new emulation.
2639 * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by
2640 their expansions, since the former no longer exist.
2641 * PORTING: A very rough first draft of a porting guide.
2642
2643 * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment
2644 to be terminated by a new-line (instead of requiring a semicolon).
2645
2646Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2647
2648 * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
2649 tests for NULL pointers all over the place.
2650 * ldlang.c (lang_process): remember to relocate global symbols
2651 *after* relaxing has done it stuff.
2652
2653Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2654
2655 * config/mt-coff-h8300: use EMUL like everything else
2656 * ldlang.c: (print_padding_statement): print the right address.
2657 * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
2658
2659
aa34a7c3
SC
2660Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2661
2662 * ldlex.l: Put pack -noinhibit-exec and -sort-common
2663 * ldlang.c (print_data_statement): print the right address.
2664
2665Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com)
2666
2667 * Makefile.in: The rule for testing ld by re-linking itself
2668 via an intermediate -r link was moved to the ld1 rule
2669 instead of the ld2 rule. This allows ld2 and ld3 to be identical,
2670 which allows the bootstrap rule to work.
2671 * ldctor.c (find_constructors): Don't create a constructor
2672 list if it is already defined (as would happen if ld is
2673 invoked by collect).
2674
cbbdbb9f
SC
2675Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2676
2677 * config/mh-sparc.h: now uses libgcc.a
2678 * ldmain.c: quit using exit
2679 * *sc: use *(COMMON) rather than [COMMON]
2680 * ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
2681 to allow preprocessing of .l file.
2682 * Makefile.in: New ldlex.l mangling
2683 * ldexp.c (fold_binary): perform expressions with % and / in
2684 integer.
2685 * ldfile.c (open_a): open archives on VMS in a special way
2686
2687
870f54b2
SC
2688Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2689
2690 * ldgram.y: map -M behave in the same way as -Map (sets file name
2691 to be "-".
2692 * ldsym.c, ldlang.c: remember that size of a section is dependent on
2693 whether or not relaxing has been done.
2694 * ldmain.c: don't open a map file if it doesn't have a name
2695 * relax.c: all the brains have moved into bfd.
2696 * ldwrite.c: ammend comment
2697
2e2bf962
SC
2698Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2699
2700 * Makefile.in: added relax, also made three stage go through a
2701 partial link stage.
2702 * relax.c : added
2703 * config.h: if GNU960 defined, then default emulation mode is
2704 GLD960
2705 * ldexp.h, ldexp.c: map to file hooks
2706 * ldlang.c: map to file hooks
2707 * ldgram.y: added -Map -relax
2708 * ldlex.l: added -relax, -Map
2709 * ldmain.c: open map file
2710 * ldmisc.c: support for map file
2711 * ldwrite.c: new relax magic
2712
2713Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com)
2714
2715 * Makefile.in, config/tm-*.h: Clean up make output, only
2716 pass DEFAULT_EMULATION to ldmain.c.
2717
2718Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com)
2719
2720 * ldver.c: Bump to version 1.94.
2721
2722Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com)
2723
2724 * Makefile.in: infodir belongs in datadir.
2725
e06ba18d
PB
2726Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com)
2727
2728 * Makefile.in: Pass -y to bison. (Again;
2729 accidentally deleted by Rich.)
2730 * news.sc, ldgld68k.sc: Define __end as well as _end.
2731
2732Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com)
2733
2734 * ldindr.h: added to contain prototypes of ldindr.c
2735 * ldfile.c: include ctype.h
2736 * ldmain.c: include the requried prototype headers
2737 * ldwrite.c: get_reloc_upper_bound has been renamed
2738 bfd_get_reloc_upper_bound
2739
818a192a
RP
2740Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
2741
2742 * Makefile.in: punt "fundamental" mode because it breaks my emacs
2743 macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove
2744 spaces following hyphens, bsd make can't cope. added
2745 standards.text support and made it look like all the other
2746 makefiles.
2747
2748 * configure.in: configure now runs entirely in objdir so make file
2749 existence checks against ${srcdir}. Mark this directory as
2750 target dependent.
2751
2752Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com)
2753
2754 * Makefile.in: idestdir and ddestdir go away. Added copyrights
2755 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
2756 and mandir now keyed off datadir by default.
2757
2758Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com)
2759
2760 * ldver.c: Bumped version to 1.93.
2761 * Makefile.in: Pass -y to bison.
2762
2763Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)
2764
2765 * config.h: h8 is now coff, not ieee
2766 * h8300hds.sc: reflect the same
2767
2768Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com)
2769
2770 * ldver.c (ldversion()): Update to 1.92.
2771 * ldctor.c: There are two places constructor sets
2772 can be defined. One of them checked for an existing
2773 duplicate, the other didn't. Unfortunately, the latter
2774 was called after the former ...
2775 So, factor out code for inserting a new element into
2776 constructor_name_list (after checking for a duplicate)
2777 into a new function add_constructor_name, and call
2778 it from both aforementioned places (ldlang_add_constructor
2779 and ldlang_check_for_constructors).
2780
2781Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com)
2782
2783 * Makefile.in: Rename .c files generated from ldtemplate
2784 to have names starting with ld__. This helps 'make clean'.
2785
092df318
SC
2786Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com)
2787
2788 * Makefile.in: Take out the version number for install
2789 * m88kbcs.sc: put in contructor blocks.
2790
1c9e4b15
PB
2791Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com)
2792
2793 * ldmisc.c, ldmisc.h: Re-write info() to take a filename
2794 parameter, a format, and an arg pointer, and rename it to
2795 vfinfo(). Write info() in terms of new vfinfo().
2796 New einfo() is the same as info(), except it writes to stderr.
2797 * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
2798 ldmisc.c: Replace "error" calls to info() by new einfo().
2799
550e87b5
SC
2800Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com)
2801
2802 * ldlex.l ldgram.y: made -V option do same as -v
2803 * Makefile.in: Added $(MINUS_G) flag so debugging can be
2804 turned off
2805
2806Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)
2807 i386 aout changes from Bob Kukura
2808 * Makefile.in, config.h: added i386aout support
2809 * configure.in: fixed /h-{myhost} typo
2810 * ldgram.y: -MM now gives more boring map.
2811 * ldlang.c: now does D_PAGED flag the right way.
2812 * ldsym.c: -MM flags does the right thing.
2813
aeedc30e
PB
2814Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com)
2815
2816 * configure.in: Fixed typo. Also, a fix for hp300bsd.
2817 * ldlang.c (init_os): Compensate for BFD change,
2818 where bfd_make_section now returns NULL for a duplicate
2819 section request, instead of the old section.
2820
2821Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com)
2822
2823 * ldver.c: Bump to version 1.91 (consistent with binutils).
2824
2d1a2445
PB
2825Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com)
2826
2827 * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h,
2828 ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h,
2829 ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h,
3410447c 2830 ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c:
2d1a2445
PB
2831 Add or update copyright notices.
2832
2833Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com)
2834
2835 * README: New file.
2836 * Makefile.in: Changed installation directory name scheme
2837 to be consistent with gcc. Also changed 'install'.
2838
954ac2ea
RP
2839Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com)
2840
2841 * Makefile.in: new targets ld.mm, ld.me
2842
972e7b4b
PB
2843Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com)
2844
2845 * Makefile.in, ldtemplate: Need to use separate scripts
2846 for -n and -N options. Yet more complication.
2847
33ce0085
JG
2848Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com)
2849
2850 * Makefile.in: Avoid using $< in explicit Make rules (it doesn't
2851 work). Add some lines to avoid Sun Make VPATH bugs.
2852
b7e24eef
PB
2853Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com)
2854
2855 * news.sc: Add alignment for data segment.
2856 * ldtemplate: Add (yet another) script to get for -n or -N
2857 options. (These need different alignment than ZMAGIC files.)
2858 * Makefile.in: Add stuff for new foo.xn scripts.
2859 These are generated by replacing "ALIGN(0x...00)" by ".".
2860
b55e0948
RP
2861Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com)
2862
2863 * Makefile.in: new targets ld.ms, ld-index.ms
2864 ld.texinfo: remove tabs, other cleanups for texi2roff
2865
6719c75b
PB
2866Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com)
2867
2868 * ldmain.c (main): Make config.magic_demand_paged be true
2869 by default. Don't the WP_TEXT and D_PAGED flags of
2870 output_bfd here; it's too late, so set it when output_bfd
2871 is created (in ldlang.c). Also fix setting of EXEC_P flag
2872 * ldlang.c (ldlang_open_output): Set output_bfd->flags here.
2873 * ldlang.c: Remove some duplicate extern declarations.
2874 * ldgram.y: Fixes to -N and -n options.
2875 * Makefile.in: Recognize upper case letters in sed script
2876 to remove assignments from script files.
2877 * ldtemplate: Don't assukme that -N or -n options
2878 imply use of -r script.
2879 * mkscript.c: Tweaking to correctly handle \n and \\ in input.
2880
8e10cea1
SC
2881Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com)
2882
2883 * ldtemplate: include bfd.h before sysdep.h.
2884
1f8fc34f
JG
2885Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com)
2886
2887 Restructure configuration scheme for bfd, binutils, ld.
2888
2889 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
2890 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
2891 Change some config names to match other dirs.
2892 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
2893 get defined first.
2894 * config/: Rename some config files to match up h-*.h names.
2895 Remove all the HOST_SYS definitions from the config files.
2896
2897Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com)
2898
2899 * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
2900 * ldtemplate: Remove ldfile_add_library_path calls;
2901 just use the SEARCH_DIR commands in the script files.
2902 * Makefile.in: Add LIB_PATH macro, which if set is used to replace
2903 the SEARCH_DIR commands in the scripts (using ugly sed magic).
2904 This is primarily intended for cross-linking, where you would
2905 place libaries in a different place than native libraries.
2906 Also, emulations made from ldtemplate now use $(srcdir).
2907 * ldglda29k.sc: Change SEARCH_DIR commands to a conventional
2908 form; people can use the Makefile's LIB_PATH to override.
2909
8d317d2a
RP
2910Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com)
2911
2912 * Makefile.in: fix target ld.dvi, add target ld.info
2913 ld.texinfo: make info filename ld.info
2914
558175fb
JG
2915Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com)
2916
2917 * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun
2918 Make).
2919 * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
2920 few BFD types & enums.
2921
de0abbfc
ILT
2922\f
2923Local Variables:
2924version-control: never
2925End:
This page took 0.625602 seconds and 4 git commands to generate.