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