Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)
2
3 * ldlang.c (lang_size_sections): don't change size and address for
4 SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
5 sections.
6
7 Thu Nov 5 11:33:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8
9 * relax.c (build_it): re-enable the processing of data_statements
10 in scripts, makes counted contructor lists work again.
11
12 Thu Nov 5 05:43:01 1992 John Gilmore (gnu@cygnus.com)
13
14 * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS).
15
16 Tue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com)
17
18 * m68kcoff.sc-sh: don't use initial underscores for etext, edata
19 and end.
20
21 Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com)
22
23 * Support for i386-sysv.
24 configure.in: check for i386-*-sysv* and i386-*-sco*.
25 i386coff.sc-sh: rewrote to support SVR3 by default.
26 ldctor.c (find_constructors): preserve stat_ptr.
27 ldlang.c (wild_doit): initialize vma and size of new output
28 section to corresponding input section. This is required for
29 shared library support.
30 (lang_size_sections): don't modify vma and size of sections which
31 are never loaded (for shared libraries).
32 ldwrite.c (copy_and_relocate): copy the contents of any section
33 which has contents, not just sections which are loaded (for shared
34 libraries).
35
36 Thu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com)
37
38 * ldlang.c (size_input_section): count the sizes of all sections
39 we allocate.
40
41 Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)
42
43 * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to
44 to demangle symbols better
45
46 Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)
47
48 * ldlang.c (lang_finish): don't warn if -e start symbol does not
49 exist when linking with -r.
50
51 Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)
52
53 * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
54 .bss segment.
55
56 Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)
57
58 * ldmain.c (linear_library): don't even think about processing
59 an object file if it's already been done
60
61 Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
62
63 * configure.in: the hp9000/300 config file is now hp300
64
65 Wed Sep 30 07:34:09 1992 Steve Chamberlain (sac@thepub.cygnus.com)
66
67 * config/z8ksim.mt: new file
68
69 Fri Sep 25 13:49:52 1992 Ken Raeburn (raeburn@kyriath.cygnus.com)
70
71 * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o,
72 lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h.
73
74 * ld.h (strip_symbols_type): Add value STRIP_SOME.
75 * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token.
76 * ldlang.c (lang_add_keepsyms_file): New function.
77 * ldlex.l: Handle "-retain-symbols-file".
78 * ldsym.c (keepsyms_file, kept_syms): New vars.
79 (process_keepsyms): New functihon; reads file, marks symbols for
80 saving.
81 (write_file_locals): File symbols should always be kept.
82 (ldsym_write): Warn about "-retain-symbols-file" overriding "-S"
83 and "-s". Process retain-symbols file before setting symtab.
84 * ldsym.h (SYM_KEEP): New flag for ldsym_type flags.
85 (keepsyms_file, kept_syms): Declare them.
86
87 * ldmain.c (main): Non-fatal errors should still cause non-zero
88 exit status even with -r.
89
90 Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)
91
92 Added initial support for the z8k
93 * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
94 * configure.in, Makefile.in: modified to reflect above
95
96 * ldlang.c (lang_check): when linking conflicting architectures,
97 make the output file reflect at least one of the bad inputs.
98
99 Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com)
100
101 * Makefile.in (install): if $(tooldir) exists, install ld in
102 $(tooldir)/bin.
103
104 Fri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com)
105
106 * Makefile.in, configure.in: modified to support i386-coff
107 * i386coff.sh: new file
108
109 Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com)
110
111 * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
112 added m68k-coff emulation mode, stolen from a29k emulation.
113 Almost certainly wrong, but perhaps better than sun3.
114
115 Thu Sep 3 14:19:30 1992 Per Bothner (bothner@rtl.cygnus.com)
116
117 * Makefile.in, Makefile.dos, generic.em, genscripts.sh,
118 gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em,
119 vanilla.em: Rename all (generated) ld__*.c files to em_.c.
120 This is one character shorter, and lets people build on
121 SVR3 system. (ld__h8300xray.[co] was the killer there;
122 h8300xray.sc-sh is also overlong, but seems harmless.)
123 Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>.
124 * Makefile.in (clean): Fix typo mostclean -> mostlyclean.
125 * configure.in: Add host isc.
126
127 * ldver.c: Call it version 2.0.
128
129 Wed Sep 2 00:21:33 1992 Per Bothner (bothner@rtl.cygnus.com)
130
131 * ldver.c: Bump to version 0.98.
132 * TODO: New file.
133
134 * Makefile.in: Added mostlyclean, distclean, realclean rules.
135
136 Tue Sep 1 23:42:16 1992 Per Bothner (bothner@rtl.cygnus.com)
137
138 * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).
139 * ldlex.l: Moved comment() to end, since some compilers
140 otherwise have problems with input() used before it is defined.
141
142 Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
143
144 * configure.in: added Solaris 2 and Irix 4 host support.
145
146 Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
147
148 * Makefile.in: remove -S flag from the FLEX definition
149
150 * configure.in: rewrote, using new style case statement. use
151 m68k.mt for m68k-aout systems
152
153 Sun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com)
154
155 * Makefile.in: map "ld" through program_transform_name when
156 installing.
157
158 Sun Aug 30 18:12:13 1992 Per Bothner (bothner@rtl.cygnus.com)
159
160 * cplus-dem.c: Removed. Use the version in libiberty now.
161 * ldmisc.c: Use new libiberty version of cplus_demangle().
162
163 Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)
164
165 * gld960.em (gld960_choose_target): default to little endian, not
166 big endian.
167
168 Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com)
169
170 * ldlang.c (lang_process): don't pass null pointers when
171 abs_output_section is what is required.
172 * ldwrite.c (ldwrite): use malloc to allocate the largest space
173 used, and pass that down.
174 * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
175 than alloca.
176
177 Mon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com)
178
179 * configure.in, config/ose68.mt: renamed OSE to ose.
180
181 Thu Aug 20 19:55:22 1992 Ken Raeburn (raeburn@cygnus.com)
182
183 * ldsym.c (write_file_locals): Reorder check for common or
184 undefined symbols so that it works.
185
186 Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com)
187
188 * configure.in: accept all m68K family members.
189
190 * Makefile.in: always create installation directories.
191
192 Thu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
193
194 * ldlex.l: now parses comment correctly, added ~ to acceptable
195 chars in filenames
196
197 * ldexp.c (exp_unop): pass down abs_output_section - now can have
198 unary -ve constants.
199
200 * ldlang.c (lang_finish): warn when an entry symbol supplied on
201 the command line can't be found.
202
203 Fri Aug 7 12:31:10 1992 Steve Chamberlain (sac@thepub.cygnus.com)
204
205 * ldlang.h: add new field "loadable" to output_section_statement.
206 * ldlang.c (lang_output_section_statement_lookup): initilize new
207 field. (wild_doit): if new field is not set, then stop output
208 section from being loadable.
209 (lang_enter_output_section_statement): set the field from the
210 NOLOAD keyword
211 * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
212 * h8300hms.sc-sh, h8300hms.em: get -r right.
213
214 Thu Aug 6 18:35:21 1992 Per Bothner (bothner@rtl.cygnus.com)
215
216 * ldint.texinfo: New internals manual (beginnings thereof).
217 * PORTING: Removed, merged into ldint.texinfo.
218
219 Tue Aug 4 21:12:29 1992 Per Bothner (bothner@rtl.cygnus.com)
220
221 * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
222 cdtest.exp: A test program (copied from libg++/test-install)
223 that tests that constructor and destructors are handled
224 corrrectly.
225
226 Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
227
228 * Makefile.in (install): install from ld.new, renaming during the
229 copy, or else the next 'make install' needs to re-link ld.
230
231 Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
232
233 * configure.in: generalise hp recognition (from sef).
234
235 Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
236
237 * configure.in: recognize bsd and hpux hppa configurations.
238 error messages echo to stderr, not stdout
239
240 Fri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
241
242 * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c,
243 ldmisc.c: removed rcsid's.
244
245 Tue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
246
247 * ldlang.c (lang_map): print changes in sizes due to relaxing
248 (size_input_section): maintain the delta information.
249 * ldlang.h: add new field to struct to contain delta info.
250 * relax.c (relax_section): complain if input not relaxable.
251 * ldlex.l : add '_', ',' and '$' to chars which can appear at the
252 start of a filename
253
254 Mon Jul 13 17:33:00 1992 Steve Chamberlain (sac@thepub.cygnus.com)
255
256 * ldmain.c(main): prevent -r and -relax from being on at the same
257 time.
258
259 Wed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
260
261 * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for
262 aliasing problems
263
264
265 Thu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
266
267 * h8300hms.em, h8300hms.sc-sh: do the right thing for -r
268 * ldexp.c: lint
269 * ldlang.c(open_output): set the target arch and machine as soon
270 as we can. (lang_size_sections): use new macros for setting vma
271 * ldwrite.c: lint
272
273 Mon Jun 15 08:47:43 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
274
275 * configure.in (my_target): Accept m680?0 for wrs as vxworks68.
276 Also deleted an unreachable path to wrs.
277
278 Wed May 27 23:24:19 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
279
280 * Makefile.in (install): use -d test for $tooldir before
281 installing ld there so that $tooldir can be inherited from
282 top-level Makefile.
283
284 Wed May 27 16:56:48 1992 Per Bothner (bothner@rtl.cygnus.com)
285
286 * ldlang.c: Two non-substantial changes for the sake of
287 the old Portable C Compiler.
288
289 Wed May 27 15:15:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
290
291 * ldgram.y, ldlex.l: parse ABSOLUTE
292 * ldexp.c: add support for ABSOLUTE
293
294 Wed May 27 13:07:20 1992 Per Bothner (bothner@rtl.cygnus.com)
295
296 * Makefile.in: Added default definitions for HOSTING_CRT0,
297 HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.
298 * config/*.mh: Miscellaneous clean-up: Removed definitions
299 of YACC (since it is not longer used in the Makefile).
300 Remove HOSTING_* definitions that are subsumed by the
301 ones added to Makefile.in. Removed most definitions of CC.
302 * config/{sparc,news,hp300bsd,decstation}.mh: Removed;
303 These are no longer needed.
304
305 Fri May 22 13:47:19 1992 Per Bothner (bothner@cygnus.com)
306
307 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
308 rules, since these are used when building a distribution.
309 * Makefile.in (ldlex.c): Don't re-direct output, since that
310 leaves a bogus output files if it fails.
311
312 * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working.
313 * ldlex.c: Fix some unnecessary flex-specific-isms.
314
315 Fri May 8 11:49:43 1992 Steve Chamberlain (sac@thepub.cygnus.com)
316
317 * ldgram.y: move spurious semicolon
318 * ldexp.h: fix prototype
319
320 Thu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
321
322 * ld.texinfo: references to linker now say "ld" not "gld".
323
324 Wed May 6 13:26:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
325
326 changed calling convention for Q_enter_global_ref
327 * ldexp.c, ldlang.c, ldmain.c: reflect this
328 * ldver.c: bump version to 1.97.1
329 * ldindr.c (add_indirect): when an edict declaring an indirect
330 symbol is found, make sure that any ideas about the symbol being
331 common are changed if it now known to be defined.
332 * ldmain.c (linear_library): complain once if archive isn't
333 ranlibbed.
334 * ldlang.h, ldlang.c: make room for and initialize the complain
335 once field.
336
337 Wed May 6 11:07:35 1992 K. Richard Pixley (rich@rtl.cygnus.com)
338
339 * Makefile.in: use flex & bison from ../ if they exist.
340
341 Tue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
342
343 * relax.c (build_it): don't allocate space in the output file for
344 stuff if -R flag applys to it.
345 * ldfile.c: merge in VMS filename support
346 * ldmain.c (main): take out ./ from library path, and close file
347 before unlinking. Make multiple defs of a symbol create an
348 unexecable file.
349 * ldmisc.c: fatal errosrs delete output file
350
351 Tue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com)
352
353 * ldver.c: Increase version number to 1.97, for consistency
354 with ../binutils.
355
356 Tue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com)
357
358 * Makefile.in: FLEX -> LEX.
359
360 * ld.texinfo: {} -> @{@}.
361
362 Mon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
363
364 * ld.texinfo: describe alternate, MRI-compatible linker scripts
365 (and associated change in -c option, now used for these scripts)
366
367 Mon May 4 16:10:10 1992 Steve Chamberlain (sac@thepub.cygnus.com)
368
369 * ldver.c: Bumped version to 1.96 - new release, resync with the
370 bfd too #.
371 * ldexp.c, ldlang.c: now build memory shape tree in obstacks
372 rather than with raw malloc, makes it easier to track where memory
373 is going.
374 * ldsym.h, ldsym.c: create obstack for all global symbols too.
375 * ldwrite.c (ldwrite): moved malloc so only used when needed.
376 * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
377
378
379 Fri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com)
380
381 * config/sparc.mh: use ../gcc/libgcc.a on check if it exists.
382
383 * Makefile.in: use bootstrap for check.
384
385 Fri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com)
386
387 * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and
388 PUBLIC.
389 * Makefile.in: now use flex, not lex
390 * ldlex.l, ldlang.c, ldctor.c: lint
391
392 Wed Apr 22 12:48:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
393
394 * ldlex.l: added CMDFILENAMECHAR state so that you can lex
395 different sorts of filenames on the command line than in a script.
396
397 Mon Apr 20 22:37:04 1992 K. Richard Pixley (rich@rtl.cygnus.com)
398
399 * Makefile.in: rework CFLAGS so that they can be passed on the
400 make command line. Remove MINUS_G. Default CFLAGS to -g.
401
402 Fri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
403
404 * relax.c: added handling for new "padding" seclet type, used to
405 fill out gaps between section.
406 * ldgram.y, ldlex.l: now -defsym on the command line is done
407 properly.
408
409 Wed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
410
411 * Makefile.in: the tooldir copy of ld goes directly in tooldir.
412
413 Wed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
414
415 * mri.c, ldgram.y, ldlex.l: added support for minimal strange link
416 scripts.
417
418 Thu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM)
419
420 * Makefile.in (install): Install second copy in $(tooldir)/bin
421 without $(program_prefix), since that's what gcc expects.
422
423 Sat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com)
424
425 * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer.
426 * h8300*: fix bit rot and add support for h8300xray target
427 * go32.sh: target emulation for go32.
428
429 Mon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com)
430
431 * gld960.em, i960.sc-sh. Fix i960 bit rot
432
433 Fri Mar 13 19:47:22 1992 K. Richard Pixley (rich@cygnus.com)
434
435 * Makefile.in: install man page.
436
437 Fri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com)
438
439 * config/mt-<foo> renamed to <foo>.mt
440 * config/mh-<foo> renamed to <foo>.mt
441 * configure.in changed to reflect this
442 * genscripts.sh now make .xbn files rather than .xN files
443
444 Sat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com)
445
446 * ldver.h: fix decl of ldversion.
447
448 Fri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com)
449
450 * Makefile.in: added check target.
451
452 Fri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
453
454 * ldmain.c (Q_enter_file_symbols): now aliases work again
455
456 Thu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com)
457
458 * Makefile.in: added clean-info target.
459
460 Thu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
461
462 * ldexp.c (exp_print_tree): don't try and follow null pointers
463 around.
464 * ldgram.y: remove 11 shift reduce errors
465
466 Tue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com)
467
468 * Makefile.in: added tooldir and program_prefix.
469
470 Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com)
471
472 * ldlang.c (size_input_section): don't move absolute sections
473 around!
474
475
476 Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com)
477
478 * cplus-dem.c: yet another copy of this - maybe it should go into
479 libiberty ?
480 * ldgram.y: now -V and -v have different actions
481 * ldver.c: if -V, prints list of emulations compiled in
482 * ldmisc.c: support for cplus demangling
483
484
485 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
486
487 * Makefile.in, configure.in: removed traces of namesubdir,
488 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
489 copyrights to '92, changed some from Cygnus to FSF.
490
491 Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com)
492
493 * Makefile.in: Change mkscript rule into one for ./mkscript
494 (for the sake of makes that don't realize they're the same).
495 * PORTING: Add more details.
496 * genscripts.sh: Add more tailorability of DATA_ALIGNMENT.
497
498 Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com)
499
500 * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd,
501 config/mt-hp300bsd: New port to hp300 running BSD.
502
503 Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com)
504
505 Major rewrite of how ld is configured. The major idea
506 is to use shell scripts to generate everything.
507 * generic.em replaces ldtemplate.
508 * Other *.em files replace various *.c files.
509 A *.em file is a shell script that generates the corresponding
510 ld__*.c file that implements an emulation. This is usually
511 a straight 'cat' of a here-document, possibly with substitutions.
512 * Script files (*.sc) are places by *.sc-sh scripts.
513 Again, these are simple shell scripts that 'cat'
514 here-documents, usually with some substitutions.
515 The output a *.sc-sh is a script file.
516 * Each emulation is defined by a short shell script with
517 extension *.sh that specifies the emulation-specific
518 parameters (such as the name of the *.sh-sc and *.em
519 files to use).
520 * genscript.sh is the master shell script used to generate
521 an emulation. It is passed various argument, including
522 the name a the emulation-speciic *.sh file that it
523 "sources" to set variables to emulation-specifc parameters.
524 * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
525 to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
526 * config/mh-foo: Rename LDEMULATION names as appropriate
527 (usually 'gldfoo' -> plain 'foo').
528 * ldwrite.c: Fixed a typo in a comment.
529 * Makefile.in: Major changes. Removed some the sed
530 magic to converts scripts, since that is now handled
531 by genscripts.sh and the *.sc-sh scipt generators.
532 * config.h: Remove a bunch of macros defining emulations
533 and targets. This becomes one less file to edit when
534 adding emulations or targets.
535 * ldemul.h (struct ld_emulation_xfer_struct): Add
536 emulation_name and target_name fields.
537 * ldemul.c, ldemul.h: Define some default functions used
538 by most emulations (and remove from the *.em scripts).
539 * ldemul.c (ldemul_choose_target): Search the new
540 ld_emulations array using a loop (instead of a hardwired
541 nested if statement).
542 Define the ld_emulation from the automatically-geenrated
543 ldemul-list.h. This means you no longer have to edit ldemul.c
544 to add a new emulation.
545 * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by
546 their expansions, since the former no longer exist.
547 * PORTING: A very rough first draft of a porting guide.
548
549 * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment
550 to be terminated by a new-line (instead of requiring a semicolon).
551
552 Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com)
553
554 * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
555 tests for NULL pointers all over the place.
556 * ldlang.c (lang_process): remember to relocate global symbols
557 *after* relaxing has done it stuff.
558
559 Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
560
561 * config/mt-coff-h8300: use EMUL like everything else
562 * ldlang.c: (print_padding_statement): print the right address.
563 * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
564
565
566 Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com)
567
568 * ldlex.l: Put pack -noinhibit-exec and -sort-common
569 * ldlang.c (print_data_statement): print the right address.
570
571 Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com)
572
573 * Makefile.in: The rule for testing ld by re-linking itself
574 via an intermediate -r link was moved to the ld1 rule
575 instead of the ld2 rule. This allows ld2 and ld3 to be identical,
576 which allows the bootstrap rule to work.
577 * ldctor.c (find_constructors): Don't create a constructor
578 list if it is already defined (as would happen if ld is
579 invoked by collect).
580
581 Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
582
583 * config/mh-sparc.h: now uses libgcc.a
584 * ldmain.c: quit using exit
585 * *sc: use *(COMMON) rather than [COMMON]
586 * ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
587 to allow preprocessing of .l file.
588 * Makefile.in: New ldlex.l mangling
589 * ldexp.c (fold_binary): perform expressions with % and / in
590 integer.
591 * ldfile.c (open_a): open archives on VMS in a special way
592
593
594 Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com)
595
596 * ldgram.y: map -M behave in the same way as -Map (sets file name
597 to be "-".
598 * ldsym.c, ldlang.c: remember that size of a section is dependent on
599 whether or not relaxing has been done.
600 * ldmain.c: don't open a map file if it doesn't have a name
601 * relax.c: all the brains have moved into bfd.
602 * ldwrite.c: ammend comment
603
604 Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com)
605
606 * Makefile.in: added relax, also made three stage go through a
607 partial link stage.
608 * relax.c : added
609 * config.h: if GNU960 defined, then default emulation mode is
610 GLD960
611 * ldexp.h, ldexp.c: map to file hooks
612 * ldlang.c: map to file hooks
613 * ldgram.y: added -Map -relax
614 * ldlex.l: added -relax, -Map
615 * ldmain.c: open map file
616 * ldmisc.c: support for map file
617 * ldwrite.c: new relax magic
618
619 Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com)
620
621 * Makefile.in, config/tm-*.h: Clean up make output, only
622 pass DEFAULT_EMULATION to ldmain.c.
623
624 Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com)
625
626 * ldver.c: Bump to version 1.94.
627
628 Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com)
629
630 * Makefile.in: infodir belongs in datadir.
631
632 Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com)
633
634 * Makefile.in: Pass -y to bison. (Again;
635 accidentally deleted by Rich.)
636 * news.sc, ldgld68k.sc: Define __end as well as _end.
637
638 Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com)
639
640 * ldindr.h: added to contain prototypes of ldindr.c
641 * ldfile.c: include ctype.h
642 * ldmain.c: include the requried prototype headers
643 * ldwrite.c: get_reloc_upper_bound has been renamed
644 bfd_get_reloc_upper_bound
645
646 Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
647
648 * Makefile.in: punt "fundamental" mode because it breaks my emacs
649 macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove
650 spaces following hyphens, bsd make can't cope. added
651 standards.text support and made it look like all the other
652 makefiles.
653
654 * configure.in: configure now runs entirely in objdir so make file
655 existence checks against ${srcdir}. Mark this directory as
656 target dependent.
657
658 Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com)
659
660 * Makefile.in: idestdir and ddestdir go away. Added copyrights
661 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
662 and mandir now keyed off datadir by default.
663
664 Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com)
665
666 * ldver.c: Bumped version to 1.93.
667 * Makefile.in: Pass -y to bison.
668
669 Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)
670
671 * config.h: h8 is now coff, not ieee
672 * h8300hds.sc: reflect the same
673
674 Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com)
675
676 * ldver.c (ldversion()): Update to 1.92.
677 * ldctor.c: There are two places constructor sets
678 can be defined. One of them checked for an existing
679 duplicate, the other didn't. Unfortunately, the latter
680 was called after the former ...
681 So, factor out code for inserting a new element into
682 constructor_name_list (after checking for a duplicate)
683 into a new function add_constructor_name, and call
684 it from both aforementioned places (ldlang_add_constructor
685 and ldlang_check_for_constructors).
686
687 Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com)
688
689 * Makefile.in: Rename .c files generated from ldtemplate
690 to have names starting with ld__. This helps 'make clean'.
691
692 Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com)
693
694 * Makefile.in: Take out the version number for install
695 * m88kbcs.sc: put in contructor blocks.
696
697 Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com)
698
699 * ldmisc.c, ldmisc.h: Re-write info() to take a filename
700 parameter, a format, and an arg pointer, and rename it to
701 vfinfo(). Write info() in terms of new vfinfo().
702 New einfo() is the same as info(), except it writes to stderr.
703 * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
704 ldmisc.c: Replace "error" calls to info() by new einfo().
705
706 Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com)
707
708 * ldlex.l ldgram.y: made -V option do same as -v
709 * Makefile.in: Added $(MINUS_G) flag so debugging can be
710 turned off
711
712 Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)
713 i386 aout changes from Bob Kukura
714 * Makefile.in, config.h: added i386aout support
715 * configure.in: fixed /h-{myhost} typo
716 * ldgram.y: -MM now gives more boring map.
717 * ldlang.c: now does D_PAGED flag the right way.
718 * ldsym.c: -MM flags does the right thing.
719
720 Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com)
721
722 * configure.in: Fixed typo. Also, a fix for hp300bsd.
723 * ldlang.c (init_os): Compensate for BFD change,
724 where bfd_make_section now returns NULL for a duplicate
725 section request, instead of the old section.
726
727 Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com)
728
729 * ldver.c: Bump to version 1.91 (consistent with binutils).
730
731 Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com)
732
733 * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h,
734 ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h,
735 ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h,
736 ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c:
737 Add or update copyright notices.
738
739 Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com)
740
741 * README: New file.
742 * Makefile.in: Changed installation directory name scheme
743 to be consistent with gcc. Also changed 'install'.
744
745 Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com)
746
747 * Makefile.in: new targets ld.mm, ld.me
748
749 Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com)
750
751 * Makefile.in, ldtemplate: Need to use separate scripts
752 for -n and -N options. Yet more complication.
753
754 Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com)
755
756 * Makefile.in: Avoid using $< in explicit Make rules (it doesn't
757 work). Add some lines to avoid Sun Make VPATH bugs.
758
759 Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com)
760
761 * news.sc: Add alignment for data segment.
762 * ldtemplate: Add (yet another) script to get for -n or -N
763 options. (These need different alignment than ZMAGIC files.)
764 * Makefile.in: Add stuff for new foo.xn scripts.
765 These are generated by replacing "ALIGN(0x...00)" by ".".
766
767 Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com)
768
769 * Makefile.in: new targets ld.ms, ld-index.ms
770 ld.texinfo: remove tabs, other cleanups for texi2roff
771
772 Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com)
773
774 * ldmain.c (main): Make config.magic_demand_paged be true
775 by default. Don't the WP_TEXT and D_PAGED flags of
776 output_bfd here; it's too late, so set it when output_bfd
777 is created (in ldlang.c). Also fix setting of EXEC_P flag
778 * ldlang.c (ldlang_open_output): Set output_bfd->flags here.
779 * ldlang.c: Remove some duplicate extern declarations.
780 * ldgram.y: Fixes to -N and -n options.
781 * Makefile.in: Recognize upper case letters in sed script
782 to remove assignments from script files.
783 * ldtemplate: Don't assukme that -N or -n options
784 imply use of -r script.
785 * mkscript.c: Tweaking to correctly handle \n and \\ in input.
786
787 Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com)
788
789 * ldtemplate: include bfd.h before sysdep.h.
790
791 Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com)
792
793 Restructure configuration scheme for bfd, binutils, ld.
794
795 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
796 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
797 Change some config names to match other dirs.
798 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
799 get defined first.
800 * config/: Rename some config files to match up h-*.h names.
801 Remove all the HOST_SYS definitions from the config files.
802
803 Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com)
804
805 * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
806 * ldtemplate: Remove ldfile_add_library_path calls;
807 just use the SEARCH_DIR commands in the script files.
808 * Makefile.in: Add LIB_PATH macro, which if set is used to replace
809 the SEARCH_DIR commands in the scripts (using ugly sed magic).
810 This is primarily intended for cross-linking, where you would
811 place libaries in a different place than native libraries.
812 Also, emulations made from ldtemplate now use $(srcdir).
813 * ldglda29k.sc: Change SEARCH_DIR commands to a conventional
814 form; people can use the Makefile's LIB_PATH to override.
815
816 Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com)
817
818 * Makefile.in: fix target ld.dvi, add target ld.info
819 ld.texinfo: make info filename ld.info
820
821 Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com)
822
823 * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun
824 Make).
825 * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
826 few BFD types & enums.
827
This page took 0.095184 seconds and 5 git commands to generate.