netware target support.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
b11b3ace
DHW
1Fri Nov 5 09:02:52 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
2
3 * configure.in: Support x86 unixware and netware plus generic netware.
4
2ccb88c0
DM
5Fri Nov 5 21:47:55 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6
7 * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR):
8 Correct values (?).
9
3c1af24d
KR
10Wed Nov 3 15:10:15 1993 Ken Raeburn (raeburn@rover.cygnus.com)
11
12 * Makefile.in (distclean): Don't delete dvi or info files.
4ecfad79 13 (ld.info): Update dependency list.
2ccb88c0 14 (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi.
3c1af24d 15
3c292c5a
DM
16Wed Nov 3 12:07:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
17
18 * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT.
19 Set output_filename instead of creating a new node.
20 (open_output): Don't set output_filename.
21 (lang_final): Create the new node here.
22 * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT.
23
97fbbaca
JL
24Tue Nov 2 15:45:51 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25
f1f6b5e9
JL
26 From Pete Hoogenboom (hoogen@cs.utah.edu):
27
28 * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext,
29 edata, _edata, end): Add definitions of these symbols.
30 (__end): Remove definition of this symbol.
31 (__data_start): Move definition of this symbol.
32
5f62613e
JL
33 * emultempl/hppaosf.em: Various fixes and support for linker stub
34 generation.
35 (hppaosf_finish, hppaosf_search_for_padding_statements,
36 hppaosf_create_output_section_statements): New functions in
37 support of linker stub generation.
38 (ld_hppaosf_emulation): Redefine to include new
39 emulation-specific routines.
40
97fbbaca
JL
41 * ldlang.c (lang_process): Re-enable last call lang_size_sections.
42 Pass abs_output_section rather than NULL to avoid invalidating
43 absolute symbols.
44
45Thu Oct 28 21:16:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
46
47 * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o.
48 (em_i386mach.c): New rule.
49 * configure.in (i[34]86-*-mach*): New case.
50 * config/i386-mach.mt: New file.
51 * emulparams/i386mach.sh: New file.
52
c3b34cfd
ILT
53Fri Oct 29 14:55:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
54
55 * ld.h (flag_is_*): Removed macros.
56 * ldmain.c (enter_global_ref), ldsym.c (write_file_locals):
57 Consistently check the BFD symbol flags directly, rather than
58 using file_is_* macros.
59
7b95fe96
SS
60Thu Oct 28 19:08:42 1993 Stan Shebs (shebs@rtl.cygnus.com)
61
62 * configure.in (sparc*-*-lynxos*): New target.
63 * Makefile.in: Add rule for em_sparclynx.c.
64 (ALL_EMULATIONS): Add Lynx emulations.
65 * config/sparc-lynx.mt: New file.
66 * emulparams/sparclynx.sh: New file.
67 * scripttempl/sparccoff.sc: New file.
68
d17eb3db
ILT
69Thu Oct 28 13:50:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
70
71 * Makefile.in: Add dependency for $(EMULATION_OFILES).
72
db4b5ad0
ILT
73Mon Oct 25 16:09:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
74
75 * relax.c (write_relax): Check return value of bfd_seclet_link.
76
2fe6619e
KR
77Mon Oct 25 09:31:21 1993 Ken Raeburn (raeburn@cygnus.com)
78
79 * ldlang.c (delete_output_file_on_failure): New variable.
80 (open_output): Set it after bfd open succeeds.
81 * ldmisc.c (vfinfo): Test it.
82
83 Changes from Peter Hoogenboom, hoogen@cs.utah.edu:
84
85 * ldsym.c (write_file_locals): Set the BSF_FILE flag for object
86 symbols.
87
88 * ldemul.c: Support was added to allow emulation-specific
89 processing to occur. This support was added primarily for linker
90 stub generation in the elf32-hppa gld.
91 (ldemul_finish, ldemul_create_output_section_statements): New
92 functions.
93 * ldemul.h: Support was added to allow emulation-specific
94 processing to occur. (As described above.) Added finish and
95 create_output_section_statements fields to
96 ld_emulation_xfer_struct structure.
97 * ldlang.c: Add calls to emulation-specific routines.
98 (lang_process): Add call to
99 ldemul_create_output_section_statements function.
100 (lang_process): Add call to a emulation-specific routine (and
101 some processing after the call).
102
103Fri Oct 22 20:54:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
104
105 * configure.in: mips*- instead of mips-, mips*el changes
106
1c4b3cda
ILT
107Tue Oct 19 15:46:28 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
108
109 * configure.in (alpha-*-osf*): New target; use alpha.mt.
110 * Makefile.in (ALL_EMULATIONS): Added em_alpha.o.
111 (em_alpha.c): New target; use alpha.sh and alpha.sc.
112 * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define.
113 * config/alpha.mt: New file.
114 * emulparams/alpha.sh: New file.
115 * scripttempl/alpha.sc: New file.
116
117Fri Oct 15 02:20:04 1993 Doug Evans (dje@canuck.cygnus.com)
118
119 * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle
120 types of different sizes (eg: 64 and 32 bits), so coerce.
121 * ld.h (ALIGN_N): Add warning about usage.
122
98b5caad
ILT
123Wed Oct 13 16:02:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
124
125 * ldmain.c (enter_global_ref): Just ignore any weak symbol for
126 which we already have a definition, rather than checking in
127 several different places whether the symbol is weak.
128
a71da760
ILT
129Tue Oct 12 17:30:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
130
131 * configure.in (mips-*-elf*): New target; use mipsb-elf32.
132 * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and
133 OTHER_READWRITE_SECTIONS if relocating. Shell variables are not
134 expanded within them.
135 * config/mipsb-elf32.mt: New file.
136 * emulparams/elf32mipb.sh: New file.
137 * Makefile.in (em_elf32mipb.c): New target.
138
a4aeaacf
RS
139Thu Sep 30 17:00:36 1993 Rob Savoye (rob@darkstar.cygnus.com)
140
a4aeaacf
RS
141 * ldgram.y: In input_list, change lang_input_file_is_file_enum to
142 lang_input_file_is_search_file_enum so objects brought in using
143 INPUT() do a path lookup.
144
145Tue Sep 28 13:31:23 1993 Stan Shebs (shebs@rtl.cygnus.com)
146
147 * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx
148 instead of {i386,m68k}-coff.
149 * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets.
150 * config/i386-lynx.mt: New file.
151 * config/m68k-lynx.mt: New file.
152 * emulparams/i386lynx.sh: New file.
153 * emulparams/m68klynx.sh: New file.
154
155 * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY},
156 but defaulting to _start.
157
158 * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h,
159 ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with
160 LynxOS libc.
161
162Thu Sep 23 14:51:03 1993 Ian Lance Taylor (ian@cygnus.com)
163
164 * config/solaris2.mh: New file. Define HOSTING_CRT0 and
165 HOSTING_LIBS for testing.
166
9a467cb2
ILT
167Fri Sep 17 17:52:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
168
169 Finish up support for i386-sysv4 (without shared libraries):
170 * ld.h (flag_is_weak): Define.
171 * ldlang.c (print_symbol): Mention whether symbol is weak.
172 (print_input_section): Print weak symbols as globals.
173 * ldmain.c (refize): Do not zero out BSF_WEAK flag.
174 (enter_global_ref): Do not warn if a weak symbol redefines a
175 global symbol. Do not let a weak symbol redefine a common symbol.
176 (enter_file_symbols): Treat weak symbols as global symbols.
177 (subfile_wanted_p): Do not pull in an object file from a archive
178 just to resolve an undefined weak symbol.
179 * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal
180 error; the error might be that malloc has run out of space.
181 * ldsym.c (write_file_locals): Treat weak symbols as global.
182 * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets;
183 use i386-elf.
184 * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib.
185 * config/i386-elf.mt: New file; set EMUL to elf_i386.
186 * emulparams/elf_i386.sh: New file.
187 * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0).
188 * Makefile.in (NATIVE_LIB_DIRS): Define to be empty.
189 (ALL_EMULATIONS): Add em_elf_i386.o.
190 (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument.
191 (em_elf_i386.c): New target, like other em_*.c targets.
192 ($(LD_PROG)): Pass $(CFLAGS) to $(CC).
193 * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If
194 nonempty, and configured for native, add it to LIB_PATH.
195
4f6d6db9
SS
196Fri Sep 17 13:07:39 1993 Stan Shebs (shebs@rtl.cygnus.com)
197
198 * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}:
199 Added statements to pass stab and stabstr sections through and
200 mark them as NOLOAD, which makes GDB happier.
201
202Wed Sep 15 16:02:29 1993 Stan Shebs (shebs@rtl.cygnus.com)
203
204 * configure.in: Accept m68k-lynx-lynxos config.
205
206 * Makefile.in: Use $(SHELL) to run genscripts.sh.
207
1bff7c38
DE
208Sun Sep 12 16:04:40 1993 Doug Evans (dje@cygnus.com)
209
4f6d6db9
SS
210 * config/coff-h8300.mt: Add EMUL=h8300h.
211
1bff7c38
DE
212 * ldmain.c (main): Call set_scripts_dir after argv has been processed.
213
8a6665ae
JW
214Fri Sep 10 09:36:29 1993 Jeffrey Wheat (cassidy@cygnus.com)
215
216 * Makefile.in: Changed CXX back to g++.
217
3a9149a7
JW
218Fri Sep 10 09:34:29 1993 Jeffrey Wheat (cassidy@cygnus.com)
219
220 * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule.
221
cbb5c2d1
DM
222Fri Sep 10 07:26:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
223
224 * Makefile.in (TAGS): Use shell wildcards.
225
959eba20
JO
226Tue Sep 7 18:04:54 1993 Jeffrey Osier (jeffrey@cygnus.com)
227
228 * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target
229
a0a55af6 230Fri Sep 3 16:46:41 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
c1074477 231
a0a55af6
RP
232 * ld.texinfo: re-enable included config file; conditionalize doc
233 for -oformat to interact properly with SingleFormat doc config
234 var; rename @up/@down to @raisesections/@lowersections.
c1074477
DE
235
236Wed Aug 25 16:29:56 1993 K. Richard Pixley (rich@sendai.cygnus.com)
237
238 * configure.in: recognize m88110.
239
4346166b
KR
240Tue Aug 24 18:49:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
241
242 From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>:
243 * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA
244 ELF emulation is "elf32-hppa" not "elf-big".
245 (hppaosf_before_parse): Remove unneeded processing of environment
246 variables.
247 * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in
248 .text segment of output file.
249 * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa.
250
b98bd3db
RP
251Tue Aug 24 16:17:00 1993 K. Richard Pixley (rich@sendai.cygnus.com)
252
95a2b9d2
RP
253 * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no
254 longer in bfd.h.
255
256 * ldlang.c, ld.h: updated copyright.
b98bd3db 257
ddddcdf0
ILT
258Tue Aug 17 15:22:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
259
260 * ldlang.c (open_output, lang_check): Check return value of
261 bfd_set_arch_mach.
262
ea1c0ad2
SC
263Tue Aug 17 07:02:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
264
265 * scripttempl/h8500.sc: Start all sections in a different segment.
266 * scripttempl/z8ksim.sc: Handle constructors
267
ea1c0ad2
SC
268Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
269
270 * Makefile.in: revert earlier changes back to execute runtest
271 with make check. cdtest and bootstrap now function as they
272 did within the Makefile.
273
274Thu Aug 12 10:20:05 1993 David J. Mackenzie (djm@thepub.cygnus.com)
275
276 * Makefile.in: Update dependencies.
277
278 * configure.in: Set EMULATION_OFILES in Makefile based on
279 --with-targets option.
280
d301e438
JW
281Thu Aug 12 08:52:29 1993 Jeffrey Wheat (cassidy@cygnus.com)
282
283 * Makefile.in: check targets reimplemented to old way.
284
75fe5471
ILT
285Wed Aug 11 08:26:11 1993 Ian Lance Taylor (ian@cygnus.com)
286
d62026ad
ILT
287 * config/i386v.mh, config/irix4.mh: Use gcc
288 -print-libgcc-file-name rather than $(libdir)/libgcc.a.
75fe5471
ILT
289 * config/i386sco.mh: New file; copy of i386v.mh to correspond to
290 bfd/configure.host change.
291
292Mon Aug 9 14:25:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
293
294 * scripttempl/elf.sc: Handle .line and .debug* sections.
295
296 * ldlex.l: Use bfd_scan_vma, not strtoul.
297
31f55aa5
DM
298Fri Aug 6 08:57:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
299
300 * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c:
301 Remove inital caps in some error messages, change "can't" to
302 "cannot", add missing colons.
303 * ldmisc.c (vfinfo): Print "%%" as a single %.
304 For '%' followed by unrecognized character, print them both
305 verbatim instead of expecting a char * arg.
306 For '%C', don't put the function name in parens.
307
308 * ldexp.c (invalid): Pass "%%", not "% ".
309
33536304
ILT
310Fri Aug 6 14:31:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
311
312 * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
313 (BSS_VAR): Removed; now always define _fbss.
314 * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR):
315 Removed.
316
317Thu Aug 5 15:55:19 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
318
319 * configure.in: z8k-coff is the same as z8k-sim
320
7c6a9e79
JW
321Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
322
323 * testsuite/lib/ld.exp: new file
324 * testsuite/config/unix-ld.exp: new file
325 * testsuite/ld.bootstrap/bootstrap.exp: new file
326 * Makefile.in: add dejagnu support for make check
327
8bf66be8
DM
328Wed Aug 4 17:52:32 1993 David J. Mackenzie (djm@thepub.cygnus.com)
329
330 * ldlex.l (comment): Add missing newline in message.
331 * ldindr.c (add_indirect): Ditto.
332 * ldexp.c (exp_fold_tree): Ditto.
333
2a28d8b0
DM
334Tue Aug 3 10:57:41 1993 David J. Mackenzie (djm@thepub.cygnus.com)
335
336 * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons
337 into externs.
338
339 * ldmisc.c (multiple_warn): New function.
340 * ldmisc.h: Declare it.
341 * ldmain.c (enter_global_ref): Call it.
342 * ld.h (ld_config_type): Add warn_common.
343 * ldlex.l, ldgram.y: Set it with -warn-common option.
344 * ldver.c (help): Document it.
345
94f9d427
KR
346Mon Aug 2 12:04:36 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
347
348 * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and
349 target-specific sections, and for changing data section vma.
350
6b93d764
KR
351Mon Jul 26 14:00:02 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
352
353 * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New
354 terminals, for Solaris.
355 (dirlist_ptr): New static variable.
356 (command_line_option): Accept new options.
357
358 * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and
359 "-YP,...".
360
361 * config/sun4sol2.mt: Pass emulation name without ".sh".
362
94f9d427
KR
363 * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c.
364 * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly.
365
6b93d764
KR
366Fri Jul 23 13:51:09 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
367
368 * scripttempl/elf.sc: Add support for .init, .fini, .ctors,
369 .dtors, .data1, .rodata1 sections, instead of combining them into
370 other sections. For `-r', set all section start addresses to
371 zero.
372
373 * emulparams/elf32-sparc.sh (TEXT_START_ADDR,
374 NONPAGED_TEXT_START_ADDR): Value should be 0x10100.
375 (MAXPAGESIZE): Renamed from PAGE_SIZE.
376
a6152e39
DM
377Wed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
378
d59e5a47
DM
379 * genscripts.sh: If this is the default emulation, set
380 COMPILE_IN.
381 * emultempl/*.em: Use it to determine whether to compile in the
382 scripts.
383
a6152e39
DM
384 * Makefile.in (GENSCRIPTS): Pass the default emulation name to
385 genscripts.sh. Pass the current emulation name without ".sh" on
386 the end.
387 * genscripts.sh: Take an default emulation arg.
d59e5a47 388 Use the current emulation name as EMULATION_NAME.
a6152e39
DM
389 Make default lib path for cross-compiling ':', not null.
390 * emulparams/*.sh: Don't set EMULATION_NAME.
391 * ldemul.c (ldemul_get_script): Take isfile arg.
392 Pass it to emulation's get_script function.
393 * ldemul.h: Adjust get_script prototypes.
394 * ldfile.c (ldfile_find_command_file): Renamed from find_a_name.
395 No longer static.
396 * ldfile.h: Declare it.
397 * ldgram.y: Accept a script on the command line again,
398 for parsing compiled-in scripts.
399 * ldmain.c (main): If ld script is a file, parse it as a -T
400 option, otherwise parse it directly.
401 * emultempl/*.em (*get_script): Return the scripts themselves if
402 this is the default emulation; otherwise return their file names.
18d9a9c5 403 * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of
a6152e39
DM
404 generic.em.
405 * emulparams/m88kbcs.sh: Use it.
406
18d9a9c5 407 * ld.h (ld_config_type::unix_relocate): Remove unused element.
a6152e39 408
0750b974
KR
409Tue Jul 20 12:01:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
410
411 * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which
412 there's no change log entry yet, tsk tsk) from the list of
413 emulations compiled in until Mark gets around to checking in
414 emulparams/i386linux.sh.
820c446c
KR
415 (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is
416 changed, this file gets updated.
0750b974 417
fe619ced
ILT
418Fri Jul 16 14:14:32 1993 Ian Lance Taylor (ian@cygnus.com)
419
420 * ldgram.y (OPTION_Lfile): New token.
421 (command_line_option): Accept OPTION_L NAME (whitespace after -L).
422 * ldlex.l (<COMMAND>): Accept -L without FILENAME.
423
dd8ca662
DE
424Fri Jul 16 13:44:26 1993 Doug Evans (dje@canuck.cygnus.com)
425
426 * configure.in: h8/300h support needs own .mt file.
427 config/coff-h8300h.mt: New file.
428
922018a1
DM
429Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
430
431 * ldmain.c: Don't include sys/stat.h; it already got included
432 somewhere along the way.
433
4ab3a31f
DE
434Thu Jul 15 14:43:34 1993 Doug Evans (dje@canuck.cygnus.com)
435
436 * Makefile.in: Add h8300h support.
dd8ca662
DE
437 emulparams/h8300h.sh: New file.
438 scripttempl/h8300h.sc: New file.
4ab3a31f 439
bbd2521f
DM
440Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
441
442 * ldfile.c (ldfile_open_file): In error message, use the name the
443 user gave (e.g., "-lc"), rather than the base file name.
444
445 * ldexp.c (exp_fold_tree): Don't assign an int to an enum.
446
447 * ldmain.[ch]: Remove initial Q_ from function names.
448 * ldexp.c, ldindr.c, ldlang.c: Change callers.
449
450 * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries.
451
452 * ldlang.c (lang_process): Move loading of default script from
453 here to main. Add a "/" to start of script name to prevent
454 finding it in "." first.
455
456 * ldmain.c (set_scripts_dir): Don't look in "." first.
457
458 * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var
459 option_longmap.
460
9edc5b2e
ILT
461Thu Jul 15 10:55:59 1993 Ian Lance Taylor (ian@cygnus.com)
462
463 * Makefile.in (em_m88kbcs.c): Correct dependency.
b0955bc9
ILT
464 * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET
465 statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}.
466 * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs.
9edc5b2e 467
cffdcde9
DM
468Wed Jul 14 21:42:53 1993 David J. Mackenzie (djm@thepub.cygnus.com)
469
470 * ldfile.c (ldlang_open_file, ldfile_open_command_file),
471 main.c (main): Print the errno string in the error message.
472
ac2c0ee7
DE
473Tue Jul 13 20:00:30 1993 Doug Evans (dje@canuck.cygnus.com)
474
475 * configure.in: Accept h8300h for target cpu.
476
477 * ldmisc.c (vfinfo): Have demangle remove leading underscore if
478 present (demangle is smart enough to know whether to do it or not).
479
d723cd17
DM
480Mon Jul 12 11:45:48 1993 David J. Mackenzie (djm@thepub.cygnus.com)
481
f4208462
DM
482 * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
483 ldscripts, as well as <ld bin dir> and SCRIPTDIR.
484
d723cd17
DM
485 * ldlang.c (lang_process): Use sizeof instead of magic constant.
486
487 * ldmain.c (get_emulation, check_for_scripts_dir,
488 set_scripts_dir): New functions.
489 (main): Call them.
490
e7affb09
KR
491Mon Jul 12 10:57:03 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
492
493 * scripttempl/elf.sc: Include .init, .fini, .rodata sections.
494 Create symbol "end" instead of "__end". Comment out some parts
495 that may not be needed (yet) for elf.
496
497 * configure.in: Accept sparc-elf and sparc-solaris2 configs.
498
3cb61417
KR
499Thu Jul 8 15:33:32 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
500
501 * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS).
502
503 * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro
504 when no prototype is being supplied.
505 (ldmalloc, ldrealloc): Size argument is now size_t.
506
507 * ldmisc.c (finfo): New function, accepts FILE* argument.
508 (vfinfo, case 'v'): New format character; displays bfd_vma in hex
509 without leading zeros.
510 (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a
511 bfd_vma value, instead of fprintf(%x) which won't hold a long long
512 value.
513 (concat, buystring): String lengths are size_t.
514 (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t.
515
516 * ldlang.c (new_statement): Size argument is now size_t. Added
517 forward declaration with prototype.
518
de87cdb4
DM
519Thu Jul 8 10:53:47 1993 David J. Mackenzie (djm@thepub.cygnus.com)
520
521 * ldgram.y (OPTION_v): Don't turn on verbose output.
522
49bfda2c
KR
523Wed Jul 7 17:10:45 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
524
3cb61417
KR
525 * ldlex.l: Get rid of local typedef for bfd_vma! Get it from
526 bfd.h instead.
49bfda2c 527
e357065c
ILT
528Wed Jul 7 11:33:12 1993 Ian Lance Taylor (ian@cygnus.com)
529
530 * Makefile.in (install): Don't install as $(tooldir)/bin/gld;
531 collect2 doesn't look for gld any more anyhow.
532
55636aa7
ILT
533Mon Jul 5 14:29:48 1993 Ian Lance Taylor (ian@cygnus.com)
534
535 * ldlang.c (lang_relocate_globals): Skip indirect symbols, which
536 now have a non NULL srefs_chain.
537
538 * config/hp300hpux.mt: Use emulation hp3hpux rather than
539 hp300hpux, since the latter does not exist.
540
ff76a7db
DM
541Fri Jul 2 18:06:05 1993 David J. Mackenzie (djm@thepub.cygnus.com)
542
543 * genscripts.sh: Put the scripts in the ldscripts directory, not
544 emulations.
545 * configure.in (ldscripts): Make, instead of emulations.
546 * Makefile.in (scriptdir): Take off the "ld" part.
547 (install, clean, distclean): Use ldscripts, not emulations.
a04f1d00 548 In tests, don't pass -Lemulations.
ff76a7db
DM
549 Don't pass tooldir/lib to genscripts.sh.
550 * genscripts.sh: Don't take tooldir/lib arg.
551 * ldlang.c (lang_process): Add "ldscripts/" to the name of the
552 default script file.
553
7434d4e5
DE
554Fri Jul 2 17:13:35 1993 Doug Evans (dje@canuck.cygnus.com)
555
556 * scripttempl/h8300.sc: Add .tors section for constructor/destructors.
557
558Thu Jul 1 16:38:45 1993 Doug Evans (dje@canuck.cygnus.com)
559
560 * config/coff-h8300.mt: EMUL=h8300hms -> h8300.
561
559d7baf
RP
562Wed Jun 30 15:45:55 1993 K. Richard Pixley (rich@sendai.cygnus.com)
563
1e787898
RP
564 * Makefile.in (.y.c): skip default .y.c rules. gnu make can now
565 run in parallel without colliding on yacc's static file names.
566 Without the stub rule, make will try to start two yacc's
567 concurrently which fails because of yacc's static file names.
559d7baf
RP
568
569Tue Jun 29 12:20:36 1993 Ian Lance Taylor (ian@cygnus.com)
570
571 * ldmain.c (subfile_wanted_p): Don't dump core if there are no
572 symbols.
573
59fb874e
DM
574Mon Jun 28 12:22:11 1993 David J. Mackenzie (djm@thepub.cygnus.com)
575
559d7baf
RP
576 * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's
577 different from libdir.
578
59fb874e
DM
579 * Makefile.in (scriptdir): Base on tooldir, not datadir.
580
bf065bfd
DM
581Sat Jun 26 12:03:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
582
583 * ldver.c (help): New function.
584 * ldver.h: Declare it.
585 * ldlex.l, ldgram.y: Recognize new options --help and --version.
586
304b747a
KR
587Mon Jun 21 20:39:48 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
588
589 * Makefile.in (INCLUDES): Don't need ../include any more.
590
2b63dbfe
DM
591Mon Jun 21 16:38:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
592
bf065bfd
DM
593 * ldlex.l, ldgram.y: Support new -oformat option.
594 Remove attempt at supporting script fragments on the command line.
595 * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT.
596 * mri.c (mri_format), ldgram.y: Change callers.
597 * ldlang.h: Change prototype.
2b63dbfe 598
e9b991c6
DZ
599Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
600
601 * Makefile.in: canonicalize install.sh; for use within
602 this directory (and subdirs)
603
565c93e9
DM
604Thu Jun 17 14:33:09 1993 David J. Mackenzie (djm@thepub.cygnus.com)
605
2de8edce
DM
606 * ldgram.y: Tweak grammar to make reporting of invalid options work.
607
565c93e9
DM
608 * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
609 and .cc.o rule.
610
8ddef552
DM
611Wed Jun 16 11:45:32 1993 David J. Mackenzie (djm@thepub.cygnus.com)
612
613 * ldfile.c (ldfile_open_command): Don't try .ld extension.
614 It wasn't documented (or likely used) and wastes time.
615 (try_open): If EXTEN is empty, don't try it.
616
617 * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c,
618 ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c,
619 ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls
620 with normal function declarations.
621
622 * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh.
623 Move *.sc-sh to scripttempl/*.sc.
624 * {emultempl,emulparams,scripttempl}/README: New files.
625 * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files
626 removed, replaced with generic.em.
627 * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from
628 h8[35]00hms.s[ch]. Change their contents to omit the "hms".
629
630 * *.em (*_get_script): Return script name instead of script contents.
631 * ldlang.c (lang_process): Change caller.
632
633 * ldlex.l, ldgram.y: Recognize -m option.
634 Check for input files after *all* options in grammar.
635 * ldmain.c (main): Check for -m options. Add default directory
636 for -m.
637
638 * mkscript.c: File removed.
639 * genscripts.sh: Take two more parameters, tooldirlib and libdir,
640 to add to the default LIB_PATH.
641 Look for input files in the new subdirectories.
642 Create the scripts in emulations subdirectory and don't filter
643 them through mkscript.
644 * configure.in: Make the emulations subdirectory.
645
646 * Makefile.in: Account for all of the above changes.
647 Remove unused .SUFFIXES. Get libgcc.a path with gcc
648 -print-libgcc-file-name instead of $(libdir)/libgcc.a.
649 Put CFLAGS last in the compilation rules.
650 Add -I../bfd to INCLUDES so sysdep.h is found.
651
2a963f1a
KR
652Tue Jun 15 23:04:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
653
654 * Makefile.in (INCLUDES): Look in ../include, not ../bfd.
655
656 * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO
657 dependent on RELOCATING, not RELOCATION.
658 * hp3hpux.sh (SHLIB_PATH): Define it.
659
8ddef552
DM
660Mon Jun 14 19:06:15 1993 David J. Mackenzie (djm@thepub.cygnus.com)
661
662 * ldfile.c (try_open): If opening without the extension fails,
663 try with the extension even if -v or -V was given.
664 had_script is imported (from ldgram.y), not exported.
665
c97b9003
DZ
666Mon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
667
668 * Makefile.in: remove parentdir support, use INSTALL_XFORM
669
670Thu Jun 10 14:00:06 1993 Ian Lance Taylor (ian@cygnus.com)
671
672 * ldexp.c (exp_fold_tree): Don't lose the old flag bits.
673 * ldgram.y (statement_list_opt): New nonterminal, either empty or
674 statement_list.
675 (section): Use statement_list_opt, not statement_list.
676 * m68kcoff.sc-sh: Gather constructors and destructors and define
677 __CTOR_LIST__ and __DTOR_LIST__ appropriately.
678 * sa29200.sc-sh: Gather constructors and destructors and define
679 ___CTOR_LIST__ and ___DTOR_LIST__ appropriately.
680
7f2649bb
PB
681Mon Jun 7 12:53:28 1993 Per Bothner (bothner@rtl.cygnus.com)
682
683 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
684 * configure.in: No longer need to configure to get sysdep.h.
685
91b3a2b6
DZ
686Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
687
7f2649bb
PB
688 * Makefile.in: remove install:all and install-info:info
689 dependencies (these cause some spurious rebuilds at 'make install'
690 time)
91b3a2b6 691
559d1cff
ILT
692Fri Jun 4 08:50:14 1993 Ian Lance Taylor (ian@cygnus.com)
693
98f3d1af
ILT
694 * configure.in (mips-idt-ecoffl*): New target; use mips-idtl.
695 (mips-idt-ecoff*): Added trailing '*'.
696 * config/mips-idtl.mt: New file; use EMUL of mipsidtl.
697 * mipsidtl.sh: New file; like mipsidt.sh, but little endian.
698 * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o.
699
559d1cff
ILT
700 * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and
701 incorrect definitions.
702
1cf91c69
PB
703Tue Jun 1 14:56:10 1993 Per Bothner (bothner@rtl.cygnus.com)
704
705 * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR
706 symbols, unless stripping.
707
63545898
ILT
708Tue May 25 15:34:25 1993 Ian Lance Taylor (ian@cygnus.com)
709
710 * Makefile.in: configure looks for ####, so remove lines with many
711 '#' characters.
712 * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0
713 and HOSTING_LIBS correctly so that ``make check'' will work.
714
715Thu May 20 13:56:16 1993 Per Bothner (bothner@deneb.cygnus.com)
716
717 * mips.sc-sh: Define _etext, _edata, and _end, in addition
718 to etext, edata, and end. Needed for IRIX 4.0.5F.
719 Patch from mwp@iconix.oz.au (Michael Paddon).
720
2a963f1a
KR
721 * Version 2.2.1 released.
722
5266c5ec
KR
723Thu May 20 11:42:06 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
724
725 * mipsbsd.sc-sh: Renamed from aout-mipsbsd.sc-sh.
726 * mipsbsd.sh (EMULATION_NAME): Use new file name.
727
728Tue May 18 17:10:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
729
730 * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it
731 properly right now.
732
733 * Version 2.2 released.
734
735Mon May 17 15:37:28 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
736
737 * ldver.c (ldversion): Bump version number to 2.2.
738
bc3b479c
PB
739Mon May 17 12:44:31 1993 Per Bothner (bothner@cygnus.com)
740
741 * NEWS: New file.
742
743Fri May 14 11:26:24 1993 Ian Lance Taylor (ian@cygnus.com)
744
745 * mips.sc-sh: Don't define BSS_VAR unless relocating.
746
747Wed May 12 13:33:29 1993 Ian Lance Taylor (ian@cygnus.com)
748
749 * Makefile.in (mkscript.o, mkscript): Build mkscript via
750 mkscript.o, rather than directly from mkscript.c.
751
b8fc168d
KR
752Tue May 4 21:58:56 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
753
754 * configure.in: Look for ${target_makefile_frag} relative to
755 ${srcdir}, not relative to build directory.
756
757 * hppaosf.em, hppaosf.sc-sh, hppaosf.sh: New files.
758 * configure.in: Recognize hppa*-hp-osf.
759 * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation.
760 (em_hppaosf.c): Build it.
bc3b479c 761 * config/hppaosf.mh, hppaosf.mt: New files.
b8fc168d
KR
762
763 * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with
764 some system header files. All uses changed.
765
766 * configure.in: Recognize i386-aix configurations as i386-coff
767 targets.
768
769 * configure.in: Recognize m68*-*-hpux.
770 * aout.sc-sh: If STACKZERO and RELOCATING are both defined, output
771 the value of STACKZERO.
772 * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation.
773 (em_hp3hpux.c): Build it.
774 * hp3hpux.sh, config/hp300hpux.mt: New files.
775
ef868186
ILT
776Tue May 4 12:37:35 1993 Ian Lance Taylor (ian@cygnus.com)
777
778 * mips.sc-sh: Put constructors in the .data section.
779 * Makefile.in (cdtest): Added dependency on ld.new.
780
034351e3
PB
781Mon May 3 19:43:39 1993 Per Bothner (bothner@cygnus.com)
782
783 * Makefile.in: Change definition of $(tooldir) to match FSF.
784 * vax.sh, config/vax.mt, configure.in, Makefile.in:
785 Support VAX Ultrix and BSD.
786
787Mon Apr 26 18:35:47 1993 Steve Chamberlain (sac@thepub.cygnus.com)
788
789 * sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH.
790
791Wed Apr 14 21:01:51 1993 John Gilmore (gnu@cygnus.com)
792
793 * ldlang.h (struct memory_region): Change `length' and
794 `old_length' fields to bfd_size_type. Eliminate use of bfd_offset.
795 * ldlang.c, mri.c: Corresponding changes, plus lint.
796
797Thu Apr 8 22:08:18 1993 Ian Lance Taylor (ian@cygnus.com)
798
799 * configure.in: For all i386 targets, accept i486 as well.
800
801Mon Apr 5 17:33:39 1993 Ian Lance Taylor (ian@cygnus.com)
802
803 * ldlang.c (wild_doit): Preserve all flags for a
804 SEC_SHARED_LIBRARY section.
805 (size_input_section): Consider any SEC_HAS_CONTENTS section when
806 computing largest_section.
807
1b8a42f3
ILT
808Fri Apr 2 14:33:52 1993 Ian Lance Taylor (ian@cygnus.com)
809
810 * ldlang.c (lang_output_section_statement_lookup): Initialize all
811 fields of newly created structure.
812
813Wed Mar 31 18:19:15 1993 Ian Lance Taylor (ian@cygnus.com)
814
815 * ldmain.c (g_switch_value): New variable.
816 * ldgram.y (OPTION_G, OPTION_Gval): New tokens.
817 (command_line_option): Accept -G and set g_switch_value.
818 * ldlex.l (COMMAND): Accept -G.
819 * ldlang.c (open_output): Call bfd_set_gp_size on new BFD.
820
29f33467
SC
821Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com)
822
9fce28ed
SC
823 Support for linking and loading at different places:
824
825 * ldlex.l: Add "AT" keyword.
826 * ldgram.y: Cleanup, and parse AT.
827 * ldlang.c (print_output_section_statement): Print output address
828 of section in map. (lang_size_sections): Fill sections' lma with
829 load address.
830 * ldlang.h (lang_output_section_statement_type): Add load_base
831 information.
832
29f33467
SC
833 * ldindr.c (add_indirect): Keep more information in the alias
834 symbol chain.
835 * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section
836 attribute from an input section.
837 * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by
838 default. (Q_enter_file_symbos): Indirect symbols now are known by
839 their section, not a special symbol flag.
840 * ldsym.c (write_file_locals): Indirect symbols aren't local.
841 (write_file_globals): Write the mapping for an indirect symbol.
842 * relax.c (build_it): When forced to write a NEVER_LOAD section,
843 fill it with zeros.
844
845Tue Mar 23 13:24:10 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
846
847 * ld.texinfo: changes for q1
848
f20e9842
DZ
849Tue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
850
851 * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck
852
853Mon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
854
855 * Makefile.in: rename HOST_CC to CC_FOR_BUILD
856
857Thu Mar 4 12:44:33 1993 Ian Lance Taylor (ian@cygnus.com)
858
859 * mips.sc-sh: Added variables which may be overridden by a
860 specific emulation.
861 * mipsidt.sh: New file; emulation for IDT MIPS board.
862 * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
863 (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh.
864 * config/mips-idt.mt: New file; sets EMUL to mipsidt.
865 * configure.in (mips-idt-ecoff): New target; uses mips-idt.
866
e637dcf0
KR
867Sat Feb 27 00:00:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
868
869 * aout-mipsbsd.sc-sh, mipsbsd.sh: New files from Ralph Campbell,
870 ralphc@pyramid.com.
871 * i386bsd.sh, config/i386bsd.mt: New files.
872 * configure.in, Makefile.in: Added support for mipsbsd and 386bsd.
873
26483cc6
PB
874Thu Feb 25 15:33:10 1993 Per Bothner (bothner@rtl.cygnus.com)
875
e637dcf0 876 * mri.c: Add extern declaration of strdup.
26483cc6
PB
877 * ldsym.c (KEEP macro): Add spaces around '=' for the
878 sake of old (e.g. PCC) compilers.
879
05985c77
PB
880Wed Feb 24 19:49:31 1993 Per Bothner (bothner@rtl.cygnus.com)
881
882 * ldver.c: Bump to version 2.1.
883
067e2baa
SC
884Fri Feb 12 08:09:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
885
886 * ldgram.y: allow section types without address expressions.
887 * ldlang.c (lang_relocate_globals): avoid possible hang with
888 undefined but unreferenced symbols.
889 * relax.c (relax_section): don't complain if the script file isn't
890 relaxable but -relax is set
891
fb8ecc3d
DZ
892Thu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
893
894 * configure.in: go32 is the 3rd part of the triple, not the 2nd
895
067e2baa
SC
896Wed Feb 3 09:05:56 1993 Ian Lance Taylor (ian@cygnus.com)
897
898 * mipsbig.sh: New file. Big endian MIPS emulation.
899 * config/mips-big.mt: New file. Use mipsbig emulation.
900 * configure.in (mips-sgi-irix*): Use target mips-big.
901 * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o.
902 (em_mipsbig.c): New target. Uses mipsbig.sh.
903
e193c31b
ILT
904Tue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com)
905
906 * mips.sc-sh: Put .scommon sections into .sbss section.
907
908 * ldmain.c (subfile_wanted_p): Preserve section of common symbols,
909 rather than always putting them in bfd_com_section.
910 * ldlang.c (lang_common): If a common symbol is not in
911 bfd_com_section, put in a section of the same name, rather than
912 always putting it in section COMMON.
913
8a3efe67
ILT
914Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)
915
f31cb329
ILT
916 * ldmain.c (subfile_wanted_p): If we already have a common
917 definition of a symbol, don't necessarily pull in an object file
918 that provides a non-common definition.
919
8a3efe67
ILT
920 * ldlex.l (COMMAND): Accept -EB and -EL command line arguments,
921 returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS
922 linker.
923 * ldgram.y (OPTION_EB, OPTION_EL): New tokens.
924 (command_line_option): Accept and ignore OPTION_EB and OPTION_EL.
925
af6237a4
ILT
926Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com)
927
928 * Makefile.in (install): Remove $(tooldir)/bin/gld before creating
929 the link to it.
930
8a045e50
ILT
931Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)
932
933 * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than
934 checking for equality to bfd_com_section.
935
42b5c739
ILT
936Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)
937
938 * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF
939 targets, linker script.
940 * mipslit.sh: New file. Little endian MIPS emulation.
941 * config/mips-lit.mt: New file. Use mipslit emulation.
942 * configure.in (mips-dec-ultrix*): Use target mips-lit.
943 * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
944 (em_mipslit.c): New target. Uses mipslit.sh.
945
946Thu Jan 14 15:30:27 1993 Ian Lance Taylor (ian@cygnus.com)
947
948 * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and
949 $(tooldir)/bin/gld, so that gcc can find it with or without
950 collect2.
951
ac496d4f
ILT
952Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
953
954 * ldwrite.c: Removed perform_relocation, copy_and_relocate, and
955 write_norel. All linking is now done via write_relax. Call
956 ldsym_write before calling write_relax.
957 * relax.c: Added copyright.
958 (write_relax): Renamed from write_relaxnorel. Added relocateable
959 argument. seclet_dump renamed to bfd_seclet_link.
960 * relax.h: Added copyright.
961
0550e9f4
SC
962Mon Jan 11 15:41:56 1993 Steve Chamberlain (sac@thepub.cygnus.com)
963
964 * ldmain.c (decode_library_subfile): Patch from
965 hoogen@shafer.cs.utah.edu, don't reread library symbol tables.
966
967Fri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
968
969 * config/vxworks960.mt renamed to config/i960.mt
970
971 * configure.in: sparc-aout emulates a sun4, as does
972 sparc*-vxworks, i960-nindy uses gld960 emulation
973
dadd414a
SC
974Fri Jan 8 14:39:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
975
976 Fix support for NOLOAD, add INCLUDE
977 * ldfile.c (ldfile_open_command_file): pass file name to
978 lex_push_file.
979 * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD
980 * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD
981 attribute.
982
983Thu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
984
985 * Makefile.in, config.h: no more default emulation. Make the lack
986 of emulation a compile time error
987
988Wed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
989
990 * configure.in: recognise all sparclite variants, not just 'sparclite'
991
a70947c1
ILT
992Mon Dec 28 11:15:35 1992 Ian Lance Taylor (ian@cygnus.com)
993
994 * m68kcoff.sc-sh: define _end as well as end, for consistency with
995 aout.sc-sh.
996
997 * configure.in: accept *-ericsson-ose for any m68k CPU.
998
999 * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag
1000 for each output section.
1001
086c5e37
PB
1002Mon Dec 21 16:06:59 1992 Per Bothner (bothner@rtl.cygnus.com)
1003
1004 * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new
1005 macro bfd_asymbol_bfd as appropriate.
1006 * Makefile.in: Un-duplicate ldlex.c dependency.
1007 * condigure.in: Replace my_host case table by sourcing
1008 ../bfd/configure.host. Allow std-host as the default.
1009 * ldmisc.c: Change logic for C++ name demangling: There is
1010 no initial '_' to remove from stab-derived function names.
1011
1012Sun Dec 13 16:31:26 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1013
1014 * ldlang.c (lang_init_script_file): don't attach the output file
1015 sections to the script file.
1016
1017Wed Dec 9 08:38:05 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1018 * ldlang.c (wild): run expansion loop over command line bfd too.
1019 (lang_ini_script_file): initialize more parts of the command line
1020 bfd.
1021 * ldlex.l: fix DEFINED start states.
8ddef552 1022
85e38cfa
SC
1023Mon Dec 7 08:43:41 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1024 -y support
1025 * ld.texinfo: new doc.
1026 * ldgram.y, ldlex.l: understand -y<symbol>
1027 * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and
1028 print info. (add_ysym): new function.
1029 * ldsym.h: (ldsym_type): new define SYM_Y.
1030
e20873a7
JG
1031Sat Nov 21 03:15:27 1992 John Gilmore (gnu@cygnus.com)
1032
1033 * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,
1034 ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h,
1035 ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue
1036 macros with PARAMS. Recreational cleanup. Update copyrights.
1037
1038Tue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1039
1040 * Makefile.in: pass down the bfd source directory for includes
1041
22292613
ILT
1042Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)
1043
1044 * ldlang.c (lang_size_sections): don't change size and address for
1045 SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
1046 sections.
1047
85c838d6
SC
1048Thu Nov 5 11:33:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1049
1050 * relax.c (build_it): re-enable the processing of data_statements
1051 in scripts, makes counted contructor lists work again.
1052
6e94236a
JG
1053Thu Nov 5 05:43:01 1992 John Gilmore (gnu@cygnus.com)
1054
1055 * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS).
1056
1057Tue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com)
1058
1059 * m68kcoff.sc-sh: don't use initial underscores for etext, edata
1060 and end.
1061
e9b63852
ILT
1062Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com)
1063
1064 * Support for i386-sysv.
1065 configure.in: check for i386-*-sysv* and i386-*-sco*.
1066 i386coff.sc-sh: rewrote to support SVR3 by default.
1067 ldctor.c (find_constructors): preserve stat_ptr.
1068 ldlang.c (wild_doit): initialize vma and size of new output
1069 section to corresponding input section. This is required for
1070 shared library support.
1071 (lang_size_sections): don't modify vma and size of sections which
1072 are never loaded (for shared libraries).
1073 ldwrite.c (copy_and_relocate): copy the contents of any section
1074 which has contents, not just sections which are loaded (for shared
1075 libraries).
1076
ba2c2b1c
SC
1077Thu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1078
1079 * ldlang.c (size_input_section): count the sizes of all sections
1080 we allocate.
1081
a385b38f
SC
1082Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1083
1084 * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to
1085 to demangle symbols better
1086
81150d34
ILT
1087Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)
1088
1089 * ldlang.c (lang_finish): don't warn if -e start symbol does not
1090 exist when linking with -r.
1091
b5ddf942
ILT
1092Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)
1093
1094 * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
1095 .bss segment.
1096
f3739bc3
SC
1097Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1098
1099 * ldmain.c (linear_library): don't even think about processing
1100 an object file if it's already been done
1101
1102Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1103
1104 * configure.in: the hp9000/300 config file is now hp300
1105
ac0832f3
SC
1106Wed Sep 30 07:34:09 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1107
1108 * config/z8ksim.mt: new file
1109
f3b36ecb
KR
1110Fri Sep 25 13:49:52 1992 Ken Raeburn (raeburn@kyriath.cygnus.com)
1111
1112 * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o,
1113 lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h.
1114
1115 * ld.h (strip_symbols_type): Add value STRIP_SOME.
1116 * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token.
ac0832f3 1117 * ldlang.c (lang_add_keepsyms_file): New function.
f3b36ecb
KR
1118 * ldlex.l: Handle "-retain-symbols-file".
1119 * ldsym.c (keepsyms_file, kept_syms): New vars.
1120 (process_keepsyms): New functihon; reads file, marks symbols for
1121 saving.
1122 (write_file_locals): File symbols should always be kept.
1123 (ldsym_write): Warn about "-retain-symbols-file" overriding "-S"
1124 and "-s". Process retain-symbols file before setting symtab.
1125 * ldsym.h (SYM_KEEP): New flag for ldsym_type flags.
1126 (keepsyms_file, kept_syms): Declare them.
1127
1128 * ldmain.c (main): Non-fatal errors should still cause non-zero
1129 exit status even with -r.
1130
22a78f0d
SC
1131Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1132
1133 Added initial support for the z8k
1134 * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
1135 * configure.in, Makefile.in: modified to reflect above
1136
1137 * ldlang.c (lang_check): when linking conflicting architectures,
1138 make the output file reflect at least one of the bad inputs.
1139
56409445
ILT
1140Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com)
1141
1142 * Makefile.in (install): if $(tooldir) exists, install ld in
1143 $(tooldir)/bin.
1144
99e6298a
SC
1145Fri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1146
1147 * Makefile.in, configure.in: modified to support i386-coff
1148 * i386coff.sh: new file
1149
ab57b174
ILT
1150Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com)
1151
1152 * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
1153 added m68k-coff emulation mode, stolen from a29k emulation.
1154 Almost certainly wrong, but perhaps better than sun3.
1155
8e71a984
PB
1156Thu Sep 3 14:19:30 1992 Per Bothner (bothner@rtl.cygnus.com)
1157
ab57b174
ILT
1158 * Makefile.in, Makefile.dos, generic.em, genscripts.sh,
1159 gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em,
1160 vanilla.em: Rename all (generated) ld__*.c files to em_.c.
1161 This is one character shorter, and lets people build on
1162 SVR3 system. (ld__h8300xray.[co] was the killer there;
1163 h8300xray.sc-sh is also overlong, but seems harmless.)
1164 Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>.
1165 * Makefile.in (clean): Fix typo mostclean -> mostlyclean.
1166 * configure.in: Add host isc.
1167
8e71a984
PB
1168 * ldver.c: Call it version 2.0.
1169
1170Wed Sep 2 00:21:33 1992 Per Bothner (bothner@rtl.cygnus.com)
1171
1172 * ldver.c: Bump to version 0.98.
1173 * TODO: New file.
1174
1175 * Makefile.in: Added mostlyclean, distclean, realclean rules.
1176
c52bdfec
PB
1177Tue Sep 1 23:42:16 1992 Per Bothner (bothner@rtl.cygnus.com)
1178
1179 * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).
1180 * ldlex.l: Moved comment() to end, since some compilers
1181 otherwise have problems with input() used before it is defined.
1182
2df68136
DZ
1183Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1184
1185 * configure.in: added Solaris 2 and Irix 4 host support.
1186
1187Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1188
1189 * Makefile.in: remove -S flag from the FLEX definition
1190
1191 * configure.in: rewrote, using new style case statement. use
1192 m68k.mt for m68k-aout systems
1193
0bb95ac8
ILT
1194Sun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com)
1195
1196 * Makefile.in: map "ld" through program_transform_name when
1197 installing.
1198
fe2b6209
PB
1199Sun Aug 30 18:12:13 1992 Per Bothner (bothner@rtl.cygnus.com)
1200
1201 * cplus-dem.c: Removed. Use the version in libiberty now.
1202 * ldmisc.c: Use new libiberty version of cplus_demangle().
1203
94cc1ee7
ILT
1204Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)
1205
5f2d9799
ILT
1206 * gld960.em (gld960_choose_target): default to little endian, not
1207 big endian.
94cc1ee7 1208
cd1d8c6d
SC
1209Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1210
1211 * ldlang.c (lang_process): don't pass null pointers when
1212 abs_output_section is what is required.
1213 * ldwrite.c (ldwrite): use malloc to allocate the largest space
1214 used, and pass that down.
1215 * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
1216 than alloca.
1217
afba2b22
ILT
1218Mon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com)
1219
1220 * configure.in, config/ose68.mt: renamed OSE to ose.
1221
571c4c26
KR
1222Thu Aug 20 19:55:22 1992 Ken Raeburn (raeburn@cygnus.com)
1223
1224 * ldsym.c (write_file_locals): Reorder check for common or
1225 undefined symbols so that it works.
1226
b189e892
ILT
1227Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com)
1228
1229 * configure.in: accept all m68K family members.
1230
1231 * Makefile.in: always create installation directories.
1232
6bf2e3a7
SC
1233Thu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1234
1235 * ldlex.l: now parses comment correctly, added ~ to acceptable
1236 chars in filenames
1237
1238 * ldexp.c (exp_unop): pass down abs_output_section - now can have
1239 unary -ve constants.
1240
1241 * ldlang.c (lang_finish): warn when an entry symbol supplied on
1242 the command line can't be found.
1243
ae475b39
SC
1244Fri Aug 7 12:31:10 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1245
1246 * ldlang.h: add new field "loadable" to output_section_statement.
1247 * ldlang.c (lang_output_section_statement_lookup): initilize new
1248 field. (wild_doit): if new field is not set, then stop output
1249 section from being loadable.
1250 (lang_enter_output_section_statement): set the field from the
1251 NOLOAD keyword
1252 * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
1253 * h8300hms.sc-sh, h8300hms.em: get -r right.
1254
4b91c519
PB
1255Thu Aug 6 18:35:21 1992 Per Bothner (bothner@rtl.cygnus.com)
1256
1257 * ldint.texinfo: New internals manual (beginnings thereof).
1258 * PORTING: Removed, merged into ldint.texinfo.
1259
917bffa7
PB
1260Tue Aug 4 21:12:29 1992 Per Bothner (bothner@rtl.cygnus.com)
1261
1262 * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
1263 cdtest.exp: A test program (copied from libg++/test-install)
1264 that tests that constructor and destructors are handled
1265 corrrectly.
1266
b40f9c73
DZ
1267Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1268
1269 * Makefile.in (install): install from ld.new, renaming during the
1270 copy, or else the next 'make install' needs to re-link ld.
1271
1272Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
1273
1274 * configure.in: generalise hp recognition (from sef).
1275
1276Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1277
1278 * configure.in: recognize bsd and hpux hppa configurations.
1279 error messages echo to stderr, not stdout
1280
ec467c83
RP
1281Fri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1282
1283 * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c,
1284 ldmisc.c: removed rcsid's.
1285
67cddd9f
SC
1286Tue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1287
1288 * ldlang.c (lang_map): print changes in sizes due to relaxing
1289 (size_input_section): maintain the delta information.
1290 * ldlang.h: add new field to struct to contain delta info.
1291 * relax.c (relax_section): complain if input not relaxable.
1292 * ldlex.l : add '_', ',' and '$' to chars which can appear at the
1293 start of a filename
1294
f7c76897
SC
1295Mon Jul 13 17:33:00 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1296
1297 * ldmain.c(main): prevent -r and -relax from being on at the same
1298 time.
1299
28b6b1ab
SC
1300Wed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1301
1302 * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for
1303 aliasing problems
1304
1305
30d1a390
SC
1306Thu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1307
1308 * h8300hms.em, h8300hms.sc-sh: do the right thing for -r
1309 * ldexp.c: lint
1310 * ldlang.c(open_output): set the target arch and machine as soon
1311 as we can. (lang_size_sections): use new macros for setting vma
1312 * ldwrite.c: lint
1313
5bdf878e
MT
1314Mon Jun 15 08:47:43 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
1315
1316 * configure.in (my_target): Accept m680?0 for wrs as vxworks68.
1317 Also deleted an unreachable path to wrs.
1318
1319Wed May 27 23:24:19 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
1320
1321 * Makefile.in (install): use -d test for $tooldir before
1322 installing ld there so that $tooldir can be inherited from
1323 top-level Makefile.
1324
1325Wed May 27 16:56:48 1992 Per Bothner (bothner@rtl.cygnus.com)
1326
1327 * ldlang.c: Two non-substantial changes for the sake of
1328 the old Portable C Compiler.
1329
5e81edb2
SC
1330Wed May 27 15:15:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1331
1332 * ldgram.y, ldlex.l: parse ABSOLUTE
1333 * ldexp.c: add support for ABSOLUTE
1334
7aacc9cc
PB
1335Wed May 27 13:07:20 1992 Per Bothner (bothner@rtl.cygnus.com)
1336
1337 * Makefile.in: Added default definitions for HOSTING_CRT0,
1338 HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.
1339 * config/*.mh: Miscellaneous clean-up: Removed definitions
1340 of YACC (since it is not longer used in the Makefile).
1341 Remove HOSTING_* definitions that are subsumed by the
1342 ones added to Makefile.in. Removed most definitions of CC.
1343 * config/{sparc,news,hp300bsd,decstation}.mh: Removed;
1344 These are no longer needed.
1345
91e25b4f
PB
1346Fri May 22 13:47:19 1992 Per Bothner (bothner@cygnus.com)
1347
5ff21fa5
PB
1348 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
1349 rules, since these are used when building a distribution.
1350 * Makefile.in (ldlex.c): Don't re-direct output, since that
1351 leaves a bogus output files if it fails.
1352
91e25b4f
PB
1353 * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working.
1354 * ldlex.c: Fix some unnecessary flex-specific-isms.
1355
1356Fri May 8 11:49:43 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1357
1358 * ldgram.y: move spurious semicolon
1359 * ldexp.h: fix prototype
1360
82d1666a
RP
1361Thu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
1362
1363 * ld.texinfo: references to linker now say "ld" not "gld".
1364
32846f9c
SC
1365Wed May 6 13:26:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1366
1367 changed calling convention for Q_enter_global_ref
1368 * ldexp.c, ldlang.c, ldmain.c: reflect this
1369 * ldver.c: bump version to 1.97.1
1370 * ldindr.c (add_indirect): when an edict declaring an indirect
1371 symbol is found, make sure that any ideas about the symbol being
1372 common are changed if it now known to be defined.
1373 * ldmain.c (linear_library): complain once if archive isn't
1374 ranlibbed.
1375 * ldlang.h, ldlang.c: make room for and initialize the complain
1376 once field.
1377
bf3acf44
RP
1378Wed May 6 11:07:35 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1379
1380 * Makefile.in: use flex & bison from ../ if they exist.
1381
9c99a57e
SC
1382Tue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1383
1384 * relax.c (build_it): don't allocate space in the output file for
1385 stuff if -R flag applys to it.
7153b2ff
SC
1386 * ldfile.c: merge in VMS filename support
1387 * ldmain.c (main): take out ./ from library path, and close file
1388 before unlinking. Make multiple defs of a symbol create an
1389 unexecable file.
1390 * ldmisc.c: fatal errosrs delete output file
9c99a57e 1391
98377f31
PB
1392Tue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com)
1393
1394 * ldver.c: Increase version number to 1.97, for consistency
1395 with ../binutils.
1396
3f350eda
RP
1397Tue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com)
1398
813da1a5
RP
1399 * Makefile.in: FLEX -> LEX.
1400
3f350eda
RP
1401 * ld.texinfo: {} -> @{@}.
1402
e0047d49
RP
1403Mon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
1404
1405 * ld.texinfo: describe alternate, MRI-compatible linker scripts
1406 (and associated change in -c option, now used for these scripts)
1407
bfbdc80f
SC
1408Mon May 4 16:10:10 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1409
1410 * ldver.c: Bumped version to 1.96 - new release, resync with the
1411 bfd too #.
1412 * ldexp.c, ldlang.c: now build memory shape tree in obstacks
1413 rather than with raw malloc, makes it easier to track where memory
1414 is going.
1415 * ldsym.h, ldsym.c: create obstack for all global symbols too.
1416 * ldwrite.c (ldwrite): moved malloc so only used when needed.
1417 * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
1418
1419
d3451fe8
RP
1420Fri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com)
1421
1422 * config/sparc.mh: use ../gcc/libgcc.a on check if it exists.
1423
1424 * Makefile.in: use bootstrap for check.
1425
dc4726c2
SC
1426Fri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1427
e14a43bf
SC
1428 * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and
1429 PUBLIC.
1430 * Makefile.in: now use flex, not lex
dc4726c2
SC
1431 * ldlex.l, ldlang.c, ldctor.c: lint
1432
ee0c4cf7
SC
1433Wed Apr 22 12:48:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1434
1435 * ldlex.l: added CMDFILENAMECHAR state so that you can lex
1436 different sorts of filenames on the command line than in a script.
1437
77b19d3d
RP
1438Mon Apr 20 22:37:04 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1439
1440 * Makefile.in: rework CFLAGS so that they can be passed on the
1441 make command line. Remove MINUS_G. Default CFLAGS to -g.
1442
119afd7b
RP
1443Fri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1444
1445 * relax.c: added handling for new "padding" seclet type, used to
1446 fill out gaps between section.
1447 * ldgram.y, ldlex.l: now -defsym on the command line is done
1448 properly.
1449
1450Wed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1451
1452 * Makefile.in: the tooldir copy of ld goes directly in tooldir.
1453
2e38b71d
SC
1454Wed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1455
1456 * mri.c, ldgram.y, ldlex.l: added support for minimal strange link
1457 scripts.
1458
1900f884
KR
1459Thu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM)
1460
1461 * Makefile.in (install): Install second copy in $(tooldir)/bin
1462 without $(program_prefix), since that's what gcc expects.
1463
9d1fe8a4
SC
1464Sat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1465
1466 * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer.
1467 * h8300*: fix bit rot and add support for h8300xray target
1468 * go32.sh: target emulation for go32.
1469
9d1fe8a4
SC
1470Mon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com)
1471
1472 * gld960.em, i960.sc-sh. Fix i960 bit rot
1473
f0280cd2
RP
1474Fri Mar 13 19:47:22 1992 K. Richard Pixley (rich@cygnus.com)
1475
1476 * Makefile.in: install man page.
1477
12fa72d4
SC
1478Fri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1479
1480 * config/mt-<foo> renamed to <foo>.mt
1481 * config/mh-<foo> renamed to <foo>.mt
1482 * configure.in changed to reflect this
1483 * genscripts.sh now make .xbn files rather than .xN files
1484
1485Sat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com)
1486
1487 * ldver.h: fix decl of ldversion.
1488
1489Fri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com)
1490
1491 * Makefile.in: added check target.
1492
fe563ffe
SC
1493Fri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1494
1495 * ldmain.c (Q_enter_file_symbols): now aliases work again
1496
12fa72d4
SC
1497Thu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com)
1498
1499 * Makefile.in: added clean-info target.
1500
fe563ffe
SC
1501Thu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1502
1503 * ldexp.c (exp_print_tree): don't try and follow null pointers
1504 around.
1505 * ldgram.y: remove 11 shift reduce errors
d2861901 1506
12fa72d4
SC
1507Tue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1508
1509 * Makefile.in: added tooldir and program_prefix.
1510
fe563ffe
SC
1511Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com)
1512
1513 * ldlang.c (size_input_section): don't move absolute sections
1514 around!
1515
1516
1517Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com)
1518
d2861901
SC
1519 * cplus-dem.c: yet another copy of this - maybe it should go into
1520 libiberty ?
1521 * ldgram.y: now -V and -v have different actions
1522 * ldver.c: if -V, prints list of emulations compiled in
1523 * ldmisc.c: support for cplus demangling
1524
1525
12fa72d4
SC
1526Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
1527
1528 * Makefile.in, configure.in: removed traces of namesubdir,
1529 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
1530 copyrights to '92, changed some from Cygnus to FSF.
1531
d2861901
SC
1532Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com)
1533
1534 * Makefile.in: Change mkscript rule into one for ./mkscript
1535 (for the sake of makes that don't realize they're the same).
1536 * PORTING: Add more details.
1537 * genscripts.sh: Add more tailorability of DATA_ALIGNMENT.
1538
1584d069
PB
1539Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com)
1540
1541 * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd,
1542 config/mt-hp300bsd: New port to hp300 running BSD.
1543
7e5c1057
PB
1544Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com)
1545
1546 Major rewrite of how ld is configured. The major idea
1547 is to use shell scripts to generate everything.
1548 * generic.em replaces ldtemplate.
1549 * Other *.em files replace various *.c files.
1550 A *.em file is a shell script that generates the corresponding
1551 ld__*.c file that implements an emulation. This is usually
1552 a straight 'cat' of a here-document, possibly with substitutions.
1553 * Script files (*.sc) are places by *.sc-sh scripts.
1554 Again, these are simple shell scripts that 'cat'
1555 here-documents, usually with some substitutions.
1556 The output a *.sc-sh is a script file.
1557 * Each emulation is defined by a short shell script with
1558 extension *.sh that specifies the emulation-specific
1559 parameters (such as the name of the *.sh-sc and *.em
1560 files to use).
1561 * genscript.sh is the master shell script used to generate
1562 an emulation. It is passed various argument, including
1563 the name a the emulation-speciic *.sh file that it
1564 "sources" to set variables to emulation-specifc parameters.
1565 * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
1566 to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
1567 * config/mh-foo: Rename LDEMULATION names as appropriate
1568 (usually 'gldfoo' -> plain 'foo').
1569 * ldwrite.c: Fixed a typo in a comment.
1570 * Makefile.in: Major changes. Removed some the sed
1571 magic to converts scripts, since that is now handled
1572 by genscripts.sh and the *.sc-sh scipt generators.
1573 * config.h: Remove a bunch of macros defining emulations
1574 and targets. This becomes one less file to edit when
1575 adding emulations or targets.
1576 * ldemul.h (struct ld_emulation_xfer_struct): Add
1577 emulation_name and target_name fields.
1578 * ldemul.c, ldemul.h: Define some default functions used
1579 by most emulations (and remove from the *.em scripts).
1580 * ldemul.c (ldemul_choose_target): Search the new
1581 ld_emulations array using a loop (instead of a hardwired
1582 nested if statement).
1583 Define the ld_emulation from the automatically-geenrated
1584 ldemul-list.h. This means you no longer have to edit ldemul.c
1585 to add a new emulation.
1586 * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by
1587 their expansions, since the former no longer exist.
1588 * PORTING: A very rough first draft of a porting guide.
1589
1590 * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment
1591 to be terminated by a new-line (instead of requiring a semicolon).
1592
1593Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1594
1595 * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
1596 tests for NULL pointers all over the place.
1597 * ldlang.c (lang_process): remember to relocate global symbols
1598 *after* relaxing has done it stuff.
1599
1600Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1601
1602 * config/mt-coff-h8300: use EMUL like everything else
1603 * ldlang.c: (print_padding_statement): print the right address.
1604 * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
1605
1606
aa34a7c3
SC
1607Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1608
1609 * ldlex.l: Put pack -noinhibit-exec and -sort-common
1610 * ldlang.c (print_data_statement): print the right address.
1611
1612Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com)
1613
1614 * Makefile.in: The rule for testing ld by re-linking itself
1615 via an intermediate -r link was moved to the ld1 rule
1616 instead of the ld2 rule. This allows ld2 and ld3 to be identical,
1617 which allows the bootstrap rule to work.
1618 * ldctor.c (find_constructors): Don't create a constructor
1619 list if it is already defined (as would happen if ld is
1620 invoked by collect).
1621
cbbdbb9f
SC
1622Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1623
1624 * config/mh-sparc.h: now uses libgcc.a
1625 * ldmain.c: quit using exit
1626 * *sc: use *(COMMON) rather than [COMMON]
1627 * ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
1628 to allow preprocessing of .l file.
1629 * Makefile.in: New ldlex.l mangling
1630 * ldexp.c (fold_binary): perform expressions with % and / in
1631 integer.
1632 * ldfile.c (open_a): open archives on VMS in a special way
1633
1634
870f54b2
SC
1635Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1636
1637 * ldgram.y: map -M behave in the same way as -Map (sets file name
1638 to be "-".
1639 * ldsym.c, ldlang.c: remember that size of a section is dependent on
1640 whether or not relaxing has been done.
1641 * ldmain.c: don't open a map file if it doesn't have a name
1642 * relax.c: all the brains have moved into bfd.
1643 * ldwrite.c: ammend comment
1644
2e2bf962
SC
1645Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1646
1647 * Makefile.in: added relax, also made three stage go through a
1648 partial link stage.
1649 * relax.c : added
1650 * config.h: if GNU960 defined, then default emulation mode is
1651 GLD960
1652 * ldexp.h, ldexp.c: map to file hooks
1653 * ldlang.c: map to file hooks
1654 * ldgram.y: added -Map -relax
1655 * ldlex.l: added -relax, -Map
1656 * ldmain.c: open map file
1657 * ldmisc.c: support for map file
1658 * ldwrite.c: new relax magic
1659
1660Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com)
1661
1662 * Makefile.in, config/tm-*.h: Clean up make output, only
1663 pass DEFAULT_EMULATION to ldmain.c.
1664
1665Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com)
1666
1667 * ldver.c: Bump to version 1.94.
1668
1669Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1670
1671 * Makefile.in: infodir belongs in datadir.
1672
e06ba18d
PB
1673Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com)
1674
1675 * Makefile.in: Pass -y to bison. (Again;
1676 accidentally deleted by Rich.)
1677 * news.sc, ldgld68k.sc: Define __end as well as _end.
1678
1679Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com)
1680
1681 * ldindr.h: added to contain prototypes of ldindr.c
1682 * ldfile.c: include ctype.h
1683 * ldmain.c: include the requried prototype headers
1684 * ldwrite.c: get_reloc_upper_bound has been renamed
1685 bfd_get_reloc_upper_bound
1686
818a192a
RP
1687Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1688
1689 * Makefile.in: punt "fundamental" mode because it breaks my emacs
1690 macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove
1691 spaces following hyphens, bsd make can't cope. added
1692 standards.text support and made it look like all the other
1693 makefiles.
1694
1695 * configure.in: configure now runs entirely in objdir so make file
1696 existence checks against ${srcdir}. Mark this directory as
1697 target dependent.
1698
1699Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1700
1701 * Makefile.in: idestdir and ddestdir go away. Added copyrights
1702 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
1703 and mandir now keyed off datadir by default.
1704
1705Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com)
1706
1707 * ldver.c: Bumped version to 1.93.
1708 * Makefile.in: Pass -y to bison.
1709
1710Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)
1711
1712 * config.h: h8 is now coff, not ieee
1713 * h8300hds.sc: reflect the same
1714
1715Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com)
1716
1717 * ldver.c (ldversion()): Update to 1.92.
1718 * ldctor.c: There are two places constructor sets
1719 can be defined. One of them checked for an existing
1720 duplicate, the other didn't. Unfortunately, the latter
1721 was called after the former ...
1722 So, factor out code for inserting a new element into
1723 constructor_name_list (after checking for a duplicate)
1724 into a new function add_constructor_name, and call
1725 it from both aforementioned places (ldlang_add_constructor
1726 and ldlang_check_for_constructors).
1727
1728Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com)
1729
1730 * Makefile.in: Rename .c files generated from ldtemplate
1731 to have names starting with ld__. This helps 'make clean'.
1732
092df318
SC
1733Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com)
1734
1735 * Makefile.in: Take out the version number for install
1736 * m88kbcs.sc: put in contructor blocks.
1737
1c9e4b15
PB
1738Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com)
1739
1740 * ldmisc.c, ldmisc.h: Re-write info() to take a filename
1741 parameter, a format, and an arg pointer, and rename it to
1742 vfinfo(). Write info() in terms of new vfinfo().
1743 New einfo() is the same as info(), except it writes to stderr.
1744 * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
1745 ldmisc.c: Replace "error" calls to info() by new einfo().
1746
550e87b5
SC
1747Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com)
1748
1749 * ldlex.l ldgram.y: made -V option do same as -v
1750 * Makefile.in: Added $(MINUS_G) flag so debugging can be
1751 turned off
1752
1753Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)
1754 i386 aout changes from Bob Kukura
1755 * Makefile.in, config.h: added i386aout support
1756 * configure.in: fixed /h-{myhost} typo
1757 * ldgram.y: -MM now gives more boring map.
1758 * ldlang.c: now does D_PAGED flag the right way.
1759 * ldsym.c: -MM flags does the right thing.
1760
aeedc30e
PB
1761Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com)
1762
1763 * configure.in: Fixed typo. Also, a fix for hp300bsd.
1764 * ldlang.c (init_os): Compensate for BFD change,
1765 where bfd_make_section now returns NULL for a duplicate
1766 section request, instead of the old section.
1767
1768Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com)
1769
1770 * ldver.c: Bump to version 1.91 (consistent with binutils).
1771
2d1a2445
PB
1772Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com)
1773
1774 * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h,
1775 ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h,
1776 ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h,
3410447c 1777 ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c:
2d1a2445
PB
1778 Add or update copyright notices.
1779
1780Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com)
1781
1782 * README: New file.
1783 * Makefile.in: Changed installation directory name scheme
1784 to be consistent with gcc. Also changed 'install'.
1785
954ac2ea
RP
1786Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com)
1787
1788 * Makefile.in: new targets ld.mm, ld.me
1789
972e7b4b
PB
1790Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com)
1791
1792 * Makefile.in, ldtemplate: Need to use separate scripts
1793 for -n and -N options. Yet more complication.
1794
33ce0085
JG
1795Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com)
1796
1797 * Makefile.in: Avoid using $< in explicit Make rules (it doesn't
1798 work). Add some lines to avoid Sun Make VPATH bugs.
1799
b7e24eef
PB
1800Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com)
1801
1802 * news.sc: Add alignment for data segment.
1803 * ldtemplate: Add (yet another) script to get for -n or -N
1804 options. (These need different alignment than ZMAGIC files.)
1805 * Makefile.in: Add stuff for new foo.xn scripts.
1806 These are generated by replacing "ALIGN(0x...00)" by ".".
1807
b55e0948
RP
1808Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com)
1809
1810 * Makefile.in: new targets ld.ms, ld-index.ms
1811 ld.texinfo: remove tabs, other cleanups for texi2roff
1812
6719c75b
PB
1813Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com)
1814
1815 * ldmain.c (main): Make config.magic_demand_paged be true
1816 by default. Don't the WP_TEXT and D_PAGED flags of
1817 output_bfd here; it's too late, so set it when output_bfd
1818 is created (in ldlang.c). Also fix setting of EXEC_P flag
1819 * ldlang.c (ldlang_open_output): Set output_bfd->flags here.
1820 * ldlang.c: Remove some duplicate extern declarations.
1821 * ldgram.y: Fixes to -N and -n options.
1822 * Makefile.in: Recognize upper case letters in sed script
1823 to remove assignments from script files.
1824 * ldtemplate: Don't assukme that -N or -n options
1825 imply use of -r script.
1826 * mkscript.c: Tweaking to correctly handle \n and \\ in input.
1827
8e10cea1
SC
1828Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com)
1829
1830 * ldtemplate: include bfd.h before sysdep.h.
1831
1f8fc34f
JG
1832Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com)
1833
1834 Restructure configuration scheme for bfd, binutils, ld.
1835
1836 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
1837 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
1838 Change some config names to match other dirs.
1839 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
1840 get defined first.
1841 * config/: Rename some config files to match up h-*.h names.
1842 Remove all the HOST_SYS definitions from the config files.
1843
1844Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com)
1845
1846 * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
1847 * ldtemplate: Remove ldfile_add_library_path calls;
1848 just use the SEARCH_DIR commands in the script files.
1849 * Makefile.in: Add LIB_PATH macro, which if set is used to replace
1850 the SEARCH_DIR commands in the scripts (using ugly sed magic).
1851 This is primarily intended for cross-linking, where you would
1852 place libaries in a different place than native libraries.
1853 Also, emulations made from ldtemplate now use $(srcdir).
1854 * ldglda29k.sc: Change SEARCH_DIR commands to a conventional
1855 form; people can use the Makefile's LIB_PATH to override.
1856
8d317d2a
RP
1857Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com)
1858
1859 * Makefile.in: fix target ld.dvi, add target ld.info
1860 ld.texinfo: make info filename ld.info
1861
558175fb
JG
1862Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com)
1863
1864 * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun
1865 Make).
1866 * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
1867 few BFD types & enums.
1868
This page took 0.162476 seconds and 4 git commands to generate.