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