]>
Commit | Line | Data |
---|---|---|
d7b5386f ILT |
1 | Mon Jun 24 17:55:31 1996 Jouke Numan <[email protected]> |
2 | ||
3 | * ldlang.h (enum section_type): Define. | |
4 | (lang_output_section_statement_type): Remove loadable field. Add | |
5 | sectype field. | |
6 | (lang_enter_output_section_statement): Change flags parameter in | |
7 | prototype to sectype. | |
8 | * ldgram.y (typebits): Remove. | |
9 | (sectype): New static variable. | |
10 | (opt_at): Use sectype rather than typebits. | |
11 | (type): Set sectype rather than typebits. | |
12 | (atype): Likewise. | |
13 | * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in | |
14 | EXPRESSION mode. | |
15 | * ldlang.c (lang_output_section_statement_lookup): Set sectype | |
16 | field rather than loadable field. | |
17 | (wild_doit): Check sectype rather than loadable. | |
18 | (lang_record_phdrs): Likewise. | |
19 | (lang_enter_output_section_statement): Rename flags parameter to | |
20 | sectype. Set sectype field rather than loadable field. Set flags | |
21 | field based on sectype. | |
22 | ||
8530ae8e ILT |
23 | Mon Jun 24 12:00:32 1996 Ian Lance Taylor <[email protected]> |
24 | ||
d7b5386f ILT |
25 | * scripttempl/elf.sc: Force .stab* and .comment sections to start |
26 | at 0. | |
27 | ||
8530ae8e ILT |
28 | * configure.in: On alpha*-*-osf*, link against libbfd.a if not |
29 | using shared libraries. | |
30 | * configure: Rebuild with autoconf 2.10. | |
31 | ||
817ef338 ILT |
32 | Fri Jun 21 17:40:56 1996 Joel Sherrill <[email protected]> |
33 | ||
34 | * configure.tgt: Add support for *-*-rtems* configurations. | |
35 | ||
539ae61d ILT |
36 | Fri Jun 21 13:05:51 1996 Richard Henderson <[email protected]> |
37 | ||
38 | * configure.tgt (alpha-*-linuxecoff*): New target. | |
39 | (alpha-*-linux*): Use elf64alpha. | |
40 | * emulparams/elf64alpha.sh: New file. | |
41 | * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use | |
42 | ${ELFSIZE} rather than 32 when calling BFD routines. | |
43 | (hold_rodata): New static variable. | |
44 | (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a | |
45 | readonly section that is not code. | |
46 | (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use | |
47 | a .rel section unless its bfd_section field is not NULL. | |
48 | * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o. | |
49 | (eelf64alpha.c): New target. | |
50 | ||
a475297c ILT |
51 | Fri Jun 21 12:45:46 1996 Ian Lance Taylor <[email protected]> |
52 | ||
53 | * ldmisc.c (vfinfo): Correct handling of 0 in %W case. | |
54 | ||
55745b34 ILT |
55 | Thu Jun 20 13:55:28 1996 Ian Lance Taylor <[email protected]> |
56 | ||
57 | Add enough support to understand the gcc svr3.ifile script: | |
58 | * ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add | |
59 | BIND keyword. | |
60 | * ldgram.y: Add BIND token. | |
61 | (section): Recognize GROUP. | |
62 | (opt_ext_with_type): Recognize a couple of cases of BIND. | |
63 | * ldlang.c (init_os): Don't do anything if section is already | |
64 | initialized. Call exp_init_os on addr_tree field. | |
65 | (exp_init_os): New static function. | |
66 | (map_input_to_output_sections): Call exp_init_os on assignment | |
67 | expression. | |
68 | (lang_place_orphans): Check for common sections by name COMMON | |
69 | rather than by common_section field. Don't warn about absence of | |
70 | [COMMON] command. | |
71 | ||
72 | * ldlang.h (lang_input_statement_type): Remove useless fields | |
73 | common_section, common_output_section, and complained, as well as | |
74 | all references to them. | |
75 | ||
76 | * ldexp.c: Reindent a lot of code. | |
77 | (exp_fold_tree): Call FAIL rather than einfo in default case. | |
78 | ||
79 | Wed Jun 19 11:40:14 1996 Ian Lance Taylor <[email protected]> | |
80 | ||
81 | * configure.host (m88*-*-dgux*): Quote HOSTING_CRT0. From | |
82 | <[email protected]>. | |
83 | ||
84 | start-sanitize-h8s | |
85 | Tue Jun 18 15:53:09 1996 Jeffrey A. Law <[email protected]> | |
86 | ||
87 | * scripttempl/h8300s.sc: New file for H8/S. | |
88 | * emulpararms/h8300s.sh: New file for H8/S. | |
89 | * Makefile.in (ALL_EMULATIONS): Add H8/S. | |
90 | (e_h8300s.c): Add dependencies. | |
91 | * configure.tgt: Add H8/S to targ_extra_emuls. | |
92 | ||
93 | end-sanitize-h8s | |
2e71dfc0 ILT |
94 | Tue Jun 18 17:55:39 1996 Ian Lance Taylor <[email protected]> |
95 | ||
96 | * configure.tgt (i[345]86*-*-isc*): New target. From | |
97 | <[email protected]>. | |
98 | ||
99 | Wed Jun 12 12:46:21 1996 Ian Lance Taylor <[email protected]> | |
100 | ||
101 | * lexsup.c: Include "libiberty.h". | |
102 | (parse_args): Copy the -Y argument into memory. | |
103 | (set_default_dirlist): Don't put the ':' back into the directory | |
104 | list. | |
105 | ||
b72b1a0c ILT |
106 | Fri Jun 7 11:27:42 1996 Ian Lance Taylor <[email protected]> |
107 | ||
108 | * emultempl/sunos.em: Include libiberty.h. | |
109 | (gld${EMULATION_NAME}_set_symbols): New static function to add | |
110 | LD_LIBRARY_PATH to the list of search directories. | |
111 | (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine. | |
112 | ||
39e6bc33 ILT |
113 | Thu Jun 6 11:50:31 1996 Ian Lance Taylor <[email protected]> |
114 | ||
1760b4ae ILT |
115 | * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16) |
116 | rather than . when computing _gp value. From Per Fogelstrom. | |
117 | * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise. | |
118 | ||
39e6bc33 ILT |
119 | * ldmain.c (main): Don't close and unlink the file on error, since |
120 | remove_output will do it anyhow. | |
121 | * ldlang.c (open_output): Set boolean variable to true, not 1. | |
122 | ||
123 | Wed Jun 5 18:34:14 1996 James G. Smith <[email protected]> | |
124 | ||
125 | * emulparams/{elf32b4300.sh,elf32l4300.sh} (SCRIPT_NAME): Use | |
126 | elfmips instead of elf. | |
127 | ||
07acd23b ILT |
128 | Tue Jun 4 18:43:07 1996 Ian Lance Taylor <[email protected]> |
129 | ||
130 | * ldcref.c: New file. | |
131 | * ld.h (add_cref, output_cref): Declare. | |
132 | * ldmain.c (main): Initialize notice_all field. If it is set at | |
133 | end of link, call output_cref. | |
134 | (notice): Rename from notice_ysym. Check notice_all. | |
135 | * ldmisc.c (finfo): Make globally visible. | |
136 | * ldmisc.h (finfo): Declare. | |
137 | * lexsup.c (OPTION_CREF): Define. | |
138 | (ld_options): Add "cref". | |
139 | (parse_args): Handle OPTION_CREF. | |
140 | * Makefile.in: Rebuild dependencies. | |
141 | (CFILES): Add ldcref.c. | |
142 | (OFILES): Add ldcref.o. | |
143 | * ld.texinfo, ld.1: Document --cref. | |
144 | ||
2c7aeec6 TT |
145 | Tue Jun 4 12:12:25 1996 Tom Tromey <[email protected]> |
146 | ||
147 | * Makefile.in (install): Make $(tooldir) and $(tooldir)/bin. | |
148 | ||
e5ca07bf ILT |
149 | Fri May 31 12:40:55 1996 Ian Lance Taylor <[email protected]> |
150 | ||
151 | * emultempl/pe.em (sort_sections): Don't assume that a | |
152 | wild_statement has a section name. | |
153 | ||
a1d393cf ILT |
154 | Wed May 29 13:13:35 1996 Ian Lance Taylor <[email protected]> |
155 | ||
90557a6a ILT |
156 | * scripttempl/elfmips.sc: Quote test -z argument. |
157 | ||
a1d393cf ILT |
158 | * ld.texinfo: Clarify the CONSTRUCTORS command. |
159 | ||
64a37d3c ILT |
160 | Thu May 23 16:07:44 1996 Ian Lance Taylor <[email protected]> |
161 | ||
162 | * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize | |
163 | file, not impfile. | |
164 | ||
fe6e2957 DE |
165 | Wed May 22 11:31:30 1996 Doug Evans <[email protected]> |
166 | ||
167 | * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES} | |
168 | if final link. | |
169 | * emultempl/pe.em (sfunc): Renamed to sort_by_file_name. | |
170 | (sort_by_section_name, sort_sections_1): New functions. | |
171 | (sort_sections): Only sort by file name sections in .idata. | |
172 | Add "Grouped Sections" support. | |
173 | (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped | |
174 | Sections. | |
175 | (gld${EMULATION_NAME}_place_section): Delete. | |
176 | * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$). | |
177 | (.CRT,.rsrc): Rewrite to use Grouped Section support. | |
178 | ||
179 | Tue May 21 14:31:48 1996 Stan Shebs <[email protected]> | |
180 | ||
181 | * mpw-eppcmac.c: Update to reflect changes to aix.em. | |
182 | ||
4242ac27 DE |
183 | Sun May 19 16:59:44 1996 Doug Evans <[email protected]> |
184 | ||
185 | * ldlang.c (dprint_statement): Stop printing at end of list. | |
186 | ||
de7c7482 SC |
187 | Sat May 18 13:12:05 1996 Steve Chamberlain <[email protected]> |
188 | ||
189 | Support for --force-exe-suffix | |
190 | * ld.h (args_type): Add force_exe_suffix. | |
191 | * ld.texinfo: Add documentation. | |
192 | * ldmain.c (main): Add support for option. | |
193 | * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New. | |
194 | (ld_options, parse_args): Add support for option. | |
195 | ||
b3319029 JW |
196 | Wed May 15 12:50:25 1996 Jim Wilson <[email protected]> |
197 | ||
198 | * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call. | |
199 | ||
fb2a7661 MM |
200 | Fri May 10 16:28:44 1996 Michael Meissner <[email protected]> |
201 | ||
202 | * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was | |
203 | referenced but not defined. | |
204 | ||
01d8a359 RS |
205 | Thu May 9 08:52:23 1996 Rob Savoye <[email protected]> |
206 | ||
207 | * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}: | |
208 | Set a new variable to signify if the final target is an embedded | |
209 | system. | |
210 | * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to | |
211 | .text for an embedded system. | |
212 | ||
7248b4e2 DE |
213 | Tue May 7 10:56:11 1996 Doug Evans <[email protected]> |
214 | ||
215 | * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function. | |
216 | (gld${EMULATION_NAME}_place_section): New function. | |
217 | (hold_{section,use,text,rdata,data}): New static locals. | |
218 | (ld_${EMULATION_NAME}_emulation): Update orphan field. | |
219 | * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup. | |
220 | (INIT,FINI): Delete, unused. | |
221 | (.text): Document orphan .text.foo sections. | |
222 | (.rdata): Document orphan .rdata.foo sections. | |
223 | (.data): Document orphan .data.foo sections. | |
224 | ||
d38d6b7a JL |
225 | Tue May 7 11:35:46 1996 Jeffrey A Law ([email protected]) |
226 | ||
00e6a1b1 JL |
227 | * scripttempl/h8300.sc: Place ".tiny" sections right |
228 | after ".data" sections. | |
229 | * scripttempl/h8300h.sc: Place ".tiny" sections into | |
230 | the "tiny" memory region, 0xff8000 through 0xffff00. | |
231 | ||
12688490 JL |
232 | * scripttempl/h8300.sc: Set the entry point to the value of |
233 | "_start" rather than the start of the text segment. | |
234 | * scripttempl/h8300h.sc: Likewise. | |
235 | ||
236 | * scripttempl/h8300.sc: Place .rodata sections before .text | |
237 | sections in main ram. | |
238 | * scripttempl/h8300h.sc: Likewise. | |
d38d6b7a | 239 | |
4015337e JL |
240 | Mon May 6 23:32:30 1996 Jeffrey A Law ([email protected]) |
241 | ||
242 | * scripttempl/h8300h.sc: Use "eight", not "eightbit" for the | |
243 | 8-bit region and 8-bit sections. | |
244 | ||
0a0d1bdd DE |
245 | Wed May 1 17:50:06 1996 Doug Evans <[email protected]> |
246 | ||
247 | * ldlang.c (section_already_linked): Fix typos. | |
248 | ||
f2618f82 DE |
249 | Mon Apr 29 20:31:06 1996 Doug Evans <[email protected]> |
250 | ||
251 | * scripttempl/pe.sc (.endjunk): Define __end__. | |
252 | ||
0cacbcbe ILT |
253 | Mon Apr 29 17:05:13 1996 Ian Lance Taylor <[email protected]> |
254 | ||
255 | * ldlang.c (longest_section_name): Remove. | |
256 | (SECTION_NAME_MAP_LENGTH): Define. | |
257 | (print_size, print_alignment, print_fill, print_section): Remove. | |
258 | (print_flags): Remove. | |
259 | (lang_map): Rewrite. | |
260 | (print_output_section_statement): Rewrite. | |
261 | (print_assignment): Rewrite. | |
262 | (print_one_symbol): Rewrite. | |
263 | (print_input_section): Rewrite. | |
264 | (print_fill_statement): Rewrite. | |
265 | (print_data_statement): Rewrite. | |
266 | (print_address_statement): New static function. | |
267 | (print_reloc_statement): Rewrite. | |
268 | (print_padding_statement): Rewrite. | |
269 | (print_wild_statement): Rewrite. | |
270 | (print_statement_list): Clean up. | |
271 | (print_statement): Clean up. Some minor output changes. | |
272 | (print_statements): Clean up. | |
273 | (load_symbols): Put another - before -whole-archive. | |
274 | * ldexp.c (exp_print_tree): Change etree_value and etree_rel to | |
275 | print 0x and to omit leading zeroes. For etree_rel, use %B to | |
276 | print the BFD. For etree_assign, remove the space after the | |
277 | destination name. | |
278 | * ldwrite.c: Include "libiberty.h". | |
279 | (clone_section): Call xstrdup, not strdup. | |
280 | (ldwrite): Don't print any map information. | |
281 | (print_symbol_table, print_file_stuff, print_symbol): Remove. | |
282 | * ldmain.c (main): Call lang_map when appropriate. | |
283 | * ldmisc.c (vfinfo): Add support for %W. | |
284 | (print_address): Remove. | |
285 | * ldmisc.h (print_address): Don't declare. | |
286 | * Makefile.in: Rebuild dependencies. | |
287 | ||
df872c9e ILT |
288 | Mon Apr 29 10:29:07 1996 Andreas Schwab <[email protected]> |
289 | ||
290 | * configure.host (m68*-*-linux*): Add -dynamic-linker to | |
291 | HOSTING_CRT0. Search -lgcc both before and after -lc in | |
292 | HOSTING_LIBS. Look for crt{begin,end}.o in the compiler directory | |
293 | at first. | |
294 | (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler | |
295 | directory at first. | |
296 | ||
f0f80b13 ILT |
297 | Fri Apr 26 14:42:27 1996 Ian Lance Taylor <[email protected]> |
298 | ||
efa6c497 ILT |
299 | * ldmisc.h (demangle): Declare. |
300 | * ldmisc.c: Include "libiberty.h". Include demangle.h with "", | |
301 | not <>. | |
302 | (demangle): Make non-static. Remove remove_underscore paramter. | |
303 | Always return an allocated string. | |
304 | (vfinfo): Free result of demangle. Add case 'G'. Use %T to print | |
305 | functionname, rather than calling demangle. Print a colon between | |
306 | the BFD(section+offset) and the line number. | |
307 | * ldmain.c (add_archive_element): Improve format of archive | |
308 | information in map file. | |
309 | (constructor_callback): Don't print anything to the map file. | |
310 | * ldlang.c (lang_one_common): Improve format of common symbol | |
311 | information in map file. | |
312 | * ldctor.c (ldctor_build_sets): If producing a map file, print set | |
313 | information. | |
314 | * ldwrite.c (print_symbol_table): Print a newline before the | |
315 | header in the map file. | |
316 | * Makefile.in: Rebuild dependencies. | |
317 | ||
f0f80b13 ILT |
318 | * ldmisc.c (vfinfo): Reindent. |
319 | ||
14706a96 ILT |
320 | Mon Apr 22 12:07:32 1996 Ian Lance Taylor <[email protected]> |
321 | ||
6799c638 ILT |
322 | * ldlang.c (lang_size_sections): If _cooked_size is not 0, then |
323 | don't clobber it when not relaxing. | |
324 | ||
325 | * ld.h (ld_config_type): Remove traditional_format field. | |
326 | * ldmain.c (main): Use link_info.traditional_format rather than | |
327 | config.traditional_format. | |
328 | * ldlang.c (ldlang_open_output): Likewise. | |
329 | * lexsup.c (parse_args): Likewise. | |
330 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise. | |
331 | * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise. | |
332 | ||
6429ad7e ILT |
333 | * ldlang.c (wild_doit): Discard debugging sections if we are |
334 | stripping debugging information. | |
335 | ||
14706a96 ILT |
336 | * emulparams/z8002.sh (ARCH): Set to z8002, not z8k. |
337 | ||
e3e69b13 ILT |
338 | Tue Apr 16 16:38:32 1996 Ian Lance Taylor <[email protected]> |
339 | ||
340 | * ldexp.c (fold_binary): Correct handling of subtraction with | |
341 | absolute values. | |
342 | (fold_name): Permit symbols in lang_allocating_phase_enum. | |
343 | ||
344 | * scripttempl/aout.sc: Only PROVIDE __stack when RELOCATING. Undo | |
345 | accidental changes in last patch. | |
346 | ||
56074c55 MM |
347 | Tue Apr 16 10:25:42 1996 Michael Meissner <[email protected]> |
348 | ||
349 | * configure.tgt (powerpc*-*-{sysv,linux}): Add aliases. | |
350 | (powerpcle*-*-{sysv,solaris}): Ditto. | |
351 | ||
10533b5b RS |
352 | Mon Apr 15 14:50:56 1996 Rob Savoye <[email protected]> |
353 | ||
354 | * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it | |
355 | in m68k/crt0.S without things blowing up. | |
356 | ||
357 | Fri Apr 12 16:40:56 1996 Rob Savoye <[email protected]> | |
07f48792 RS |
358 | |
359 | * scripttempl/m68kcoff.sc: Remove default address for .data so | |
360 | .text, .data, and .bss are all sequential. | |
361 | ||
aa59d90e ILT |
362 | Thu Apr 11 12:05:35 1996 Ian Lance Taylor <[email protected]> |
363 | ||
364 | * scripttempl/m68kcoff.sc: Remove regions and simplify. | |
365 | ||
d26c498b JL |
366 | Wed Apr 10 14:41:53 1996 Jeffrey A Law ([email protected]) |
367 | ||
368 | * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256 | |
369 | bytes of the address space. Put data from the ".eight" sections | |
370 | into the 8-bit area. | |
371 | * scripttempl/h8300h.sc: Likewise. | |
372 | ||
b279f82e DE |
373 | Tue Apr 9 14:10:42 1996 Doug Evans <[email protected]> |
374 | ||
375 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): | |
376 | Pass $ARCH to ldfile_set_output_arch instead of setting | |
377 | ldfile_output_architecture directly. | |
378 | ||
28ad0357 MM |
379 | Tue Apr 9 14:22:15 1996 Michael Meissner <[email protected]> |
380 | ||
381 | * scripttempl/elfppc.sc (.init,.fini): Put .init, .fini section | |
382 | next to .text. Put _etext after .text, .init, .fini, and | |
383 | .rodata{,2} sections. | |
384 | ||
7ec9d825 ILT |
385 | Tue Apr 9 12:18:57 1996 Ian Lance Taylor <[email protected]> |
386 | ||
517a7caf ILT |
387 | * ld.texinfo: Rearrange option documentation. |
388 | ||
1ffec9e6 ILT |
389 | * lexsup.c (ld_options): New static array. |
390 | (parse_args): Build shortopts and longopts from ld_options array. | |
391 | (help): New static function. | |
392 | * ldver.h (help): Don't declare. | |
393 | * ldver.c (ldversion): Reindent. | |
394 | (help): Remove. | |
395 | ||
7ec9d825 ILT |
396 | * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic. |
397 | ||
90ba7e65 ILT |
398 | Mon Apr 8 11:56:23 1996 Ian Lance Taylor <[email protected]> |
399 | ||
0c4d3f6f ILT |
400 | * emultempl/elf32.em: When checking for a native emulation, check |
401 | that the current emulation is the default emulation. | |
402 | * emultempl/sunos.em: Likewise. | |
403 | ||
b4cb4ea2 ILT |
404 | * configure.in: Permit --enable-shared to specify a list of |
405 | directories. | |
406 | * configure: Rebuild. | |
407 | ||
90ba7e65 ILT |
408 | * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic, |
409 | for HP/UX compatibility. | |
410 | ||
8a42aa54 ILT |
411 | Fri Apr 5 14:30:14 1996 Ian Lance Taylor <[email protected]> |
412 | ||
6cc7365e ILT |
413 | * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New |
414 | static function, if ${host} = ${target}. | |
415 | (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a | |
416 | needed shared library if ${host} = $[target}. | |
417 | ||
418 | * configure.host (i[345]86-*-linux*): Add -dynamic-linker to | |
419 | HOSTING_CRT0. Search -lgcc both before and after -lc in | |
420 | HOSTING_LIBS. | |
421 | ||
8a42aa54 ILT |
422 | * configure.tgt: Add i[345]86-*-freebsdelf* target; from John |
423 | Polstra <[email protected]>. | |
424 | ||
4864a04f JSC |
425 | Fri Apr 5 18:11:25 1996 James G. Smith <[email protected]> |
426 | ||
427 | * emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit | |
428 | architecture number. | |
429 | * scripttempl/elf.sc: Use $MACHINE definition if present. | |
430 | * configure.tgt (targ_extra_emuls): Force 4100 build to use same | |
431 | template as 4300. | |
432 | ||
09328690 ILT |
433 | Mon Apr 1 17:35:40 1996 Ian Lance Taylor <[email protected]> |
434 | ||
435 | * ldlang.c (lang_size_sections): Change region check to handle | |
436 | regions which end at the highest possible address correctly. | |
437 | From Roland Weber <[email protected]>. | |
23595ba5 ILT |
438 | |
439 | * ldlang.c (section_already_linked): New static function. | |
440 | (wild_doit): Discard sections with SEC_EXCLUDE set if not doing a | |
441 | relocateable link. Don't worry about section being NULL, since it | |
442 | never should be. Don't call init_os unless the section is going | |
443 | to be added. | |
444 | (ldlang_add_file): Call section_already_linked for each section. | |
445 | * ldmain.c (multiple_definition): Don't warn about multiple | |
446 | definitions in sections which are being discarded. | |
447 | ||
ea461c67 SC |
448 | Sun Mar 31 00:30:47 1996 steve chamberlain <[email protected]> |
449 | ||
450 | * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/. | |
451 | * emultempl/pe.em (init): Remove special case PPC code. | |
452 | ||
0e88ffa2 JL |
453 | Fri Mar 29 00:01:29 1996 Jeffrey A Law ([email protected]) |
454 | ||
455 | * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long | |
456 | so as not to overwrite the magic syscall entry at 0xc4. | |
457 | * scripttempl/h8300h.sc: Likewise. | |
458 | ||
bacc1703 DE |
459 | Thu Mar 28 11:05:47 1996 Doug Evans <[email protected]> |
460 | ||
461 | * configure.tgt (sparc64-*-solaris2*): Delete. | |
462 | Stick with sparc-*-solaris2*. | |
463 | ||
64664e69 ILT |
464 | Wed Mar 27 12:33:24 1996 Ian Lance Taylor <[email protected]> |
465 | ||
cf2e4f5f ILT |
466 | * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/". |
467 | * ldlang.c (init_os): Fail on an attempt to initialize any section | |
468 | named DISCARD_SECTION_NAME. | |
469 | (wild_doit): Discard input sections assigned to an output section | |
470 | named DISCARD_SECTION_NAME. | |
471 | * ld.texinfo: Document use of /DISCARD/. | |
472 | ||
64664e69 ILT |
473 | * ldlang.c: Fix some indentation and comments. |
474 | ||
28113e82 ILT |
475 | Tue Mar 26 18:14:49 1996 Ian Lance Taylor <[email protected]> |
476 | ||
477 | * ldmain.c (main): Call bfd_set_error_program_name. | |
478 | ||
8ef401e2 ILT |
479 | Thu Mar 21 13:17:34 1996 Ian Lance Taylor <[email protected]> |
480 | ||
28113e82 ILT |
481 | * ld.texinfo: Fix a couple of indexing entries. Mention that |
482 | --verbose displays builtin linker scripts. | |
483 | ||
4bcc5d32 ILT |
484 | * ldmisc.c (vfinfo): case 'I': If the file is not in an archive, |
485 | and the local symbol name does not match the filename, print the | |
486 | filename as well. | |
487 | ||
8ef401e2 ILT |
488 | Patches from John Polstra <[email protected]> for FreeBSD ELF: |
489 | * lexsup.c (parse_args): -Bshareable is a synonym for -shared. | |
490 | * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same | |
491 | as TEXT_START_ADDR. | |
492 | ||
baaaf6f2 ILT |
493 | Wed Mar 20 18:18:25 1996 Andreas Schwab <[email protected]> |
494 | ||
495 | * ld.texinfo: Fix typos. Use @pxref only inside parentheses. | |
496 | ||
0f5898cc ILT |
497 | Wed Mar 20 16:56:15 1996 Ian Lance Taylor <[email protected]> |
498 | ||
499 | * ldmain.c (add_wrap): New function. | |
500 | * ldmain.h (add_wrap): Declare. | |
501 | * lexsup.c (parse_args): Call add_wrap. | |
502 | ||
60e42680 DE |
503 | Tue Mar 19 16:44:20 1996 Doug Evans <[email protected]> |
504 | ||
505 | * configure.host (sparc*-*-solaris2* host): Accept any sparc variant. | |
506 | ||
deddae66 JL |
507 | Wed Mar 13 17:47:31 1996 Jeffrey A Law ([email protected]) |
508 | ||
509 | * scripttempl/h8300.sc: Change name of page zero memory | |
510 | from "null" to "vectors". Create an output section for | |
511 | vectors. Add comments on how to explicitly place items | |
512 | in the vector table. | |
513 | * scripttempl/h8300h.sc: Likewise. | |
514 | ||
5cb57c2c ILT |
515 | Wed Mar 13 12:40:18 1996 Ian Lance Taylor <[email protected]> |
516 | ||
96704ebc ILT |
517 | * emultempl/lnk960.em (machine_table): Add jx and hx. |
518 | ||
5cb57c2c ILT |
519 | * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't |
520 | support it. | |
521 | ||
4b7d2399 ILT |
522 | Tue Mar 12 12:43:59 1996 David Mosberger-Tang <[email protected]> |
523 | ||
524 | * ld.h (ld_config_type): Add warn_multiple_gp field. | |
525 | * lexsup.c (parse_args): Handle --warn-multiple-gp. | |
526 | * ldmain.c (warning_callback): Suppress multiple gp values warning | |
527 | if --warn_multiple_gp was not used. | |
528 | * ld.texinfo, ld.1: Document --warn-multiple-gp. | |
529 | ||
02df835b ILT |
530 | Tue Mar 12 12:02:21 1996 Ian Lance Taylor <[email protected]> |
531 | ||
e3d73386 ILT |
532 | * lexsup.c (parse_args): Handle --wrap. |
533 | * ldmain.c (main): Initialize link_info.wrap_hash. | |
534 | * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED | |
535 | and NAME cases. | |
536 | * ld.texinfo, ld.1: Document --wrap. | |
537 | ||
ea2488ad ILT |
538 | * configure: Rebuild with autoconf 2.8. |
539 | ||
02df835b ILT |
540 | Don't do SunOS style dynamic linking for sparc-aout: |
541 | * configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4. | |
542 | (sparclite*-fujitsu-*, sparc*-*-aout): Likewise. | |
543 | (sparc*-wrs-vxworks*): Likewise. | |
544 | * emulparams/sparcaout.sh: New file. | |
545 | * Makefile.in (ALL_EMULATIONS): Add esparcaout.o. | |
546 | (esparcaout.c): New target. | |
547 | ||
548 | Wed Mar 6 16:06:52 1996 J.T. Conklin <[email protected]> | |
549 | ||
550 | * scripttempl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change | |
551 | in a different manner to work around differences in shell variable | |
552 | expansion. | |
553 | ||
6771b6e2 ILT |
554 | Wed Mar 6 18:08:18 1996 Ian Lance Taylor <[email protected]> |
555 | ||
556 | * ldemul.h (ldemul_unrecognized_file): Declare. | |
557 | (ldemulation_xfer_type): Add unrecognized_file field. | |
558 | * ldemul.c (ldemul_unrecognized_file): New function. | |
559 | * ldlang.c (load_symbols): If a file can not be recognized, call | |
560 | ldemul_unrecognized_file before trying it as a linker script. | |
561 | * aix.em (gld${EMULATION_NAME}_unrecognized_file): New static | |
562 | function. | |
563 | (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r". | |
564 | (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file. | |
565 | ||
3d0c8fa1 ILT |
566 | Mon Mar 4 14:11:17 1996 Ian Lance Taylor <[email protected]> |
567 | ||
568 | * ldlang.c (wild): Handle foo.a(.text) by mapping each included | |
569 | member of foo.a separately. From Jouke Numan <[email protected]>. | |
570 | ||
16385918 ILT |
571 | Fri Mar 1 10:24:59 1996 Andreas Schwab <[email protected]> |
572 | ||
573 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): | |
574 | Search trinary.cond rather than searching trinary.lhs twice. | |
575 | ||
e24b45a8 SS |
576 | Tue Feb 27 15:08:43 1996 Stan Shebs <[email protected]> |
577 | ||
578 | * mpw-make.sed: Edit out shared library support. | |
579 | (@TDIRS@): Edit out, can't use genscripts. | |
580 | ||
228b04d2 ILT |
581 | Tue Feb 27 15:09:21 1996 Andreas Schwab <[email protected]> |
582 | ||
583 | * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets. | |
584 | * emulparams/m68klinux.sh: New file. | |
585 | * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation): | |
586 | Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of | |
587 | bfd_linux_size_dynamic_sections. | |
588 | * Makefile.in (ALL_EMULATIONS): Add em68klinux.o. | |
589 | (em68klinux.c): New target. | |
590 | * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts. | |
591 | ||
3c8deccc ILT |
592 | Tue Feb 27 12:55:46 1996 Ian Lance Taylor <[email protected]> |
593 | ||
228b04d2 ILT |
594 | * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order. |
595 | Fill in missing entries. | |
596 | ||
3c8deccc ILT |
597 | * lexsup.c (parse_args): Recognize --no-whole-archive. |
598 | * ldlang.h (lang_input_statement_type): Add whole_archive field. | |
599 | * ldlang.c (new_afile): Set whole_archive field. | |
600 | (load_symbols): Check input file specific whole_archive field | |
601 | rather than global variable. | |
602 | * ld.texinfo, ld.1: Document --no-whole-archive. | |
603 | ||
fc7b6582 ILT |
604 | Tue Feb 20 16:07:00 1996 Ian Lance Taylor <[email protected]> |
605 | ||
606 | * configure.tgt: Correct gldi960 to gld960. | |
607 | ||
c653b370 ILT |
608 | Mon Feb 19 11:16:44 1996 Ian Lance Taylor <[email protected]> |
609 | ||
169df8d5 ILT |
610 | * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Check |
611 | the SONAME if it is available. | |
612 | (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the | |
613 | filename, when checking for conflicting library versions. Don't | |
614 | assume that the suffix is only numbers and dots. | |
615 | ||
c653b370 ILT |
616 | * ld.texinfo: Mention that -R can be used for -rpath. |
617 | ||
9e2ef098 ILT |
618 | Sun Feb 18 15:05:17 1996 Ian Lance Taylor <[email protected]> |
619 | ||
620 | * configure.host: Check for 'do not mix' from native linker before | |
621 | trying to use -rpath. | |
622 | ||
ad43e45b ILT |
623 | Thu Feb 15 13:58:06 1996 Ian Lance Taylor <[email protected]> |
624 | ||
c99fbc42 ILT |
625 | * configure.in: Remove explicit substitution of CFLAGS; autoconf |
626 | does it anyhow. | |
627 | * configure: Rebuild. | |
628 | * Makefile.in (LDFLAGS): Set to @LDFLAGS@. | |
629 | ||
7e19f60e ILT |
630 | * configure.in: Call AC_PROG_CC before configure.host. |
631 | * configure: Rebuild. | |
632 | * configure.host: Remove go32 host, since it should no longer be | |
633 | necessary. Don't set CC for romp host. | |
634 | ||
22aa1302 ILT |
635 | * scripttempl/elf.sc: Don't skip a page in virtual memory space if |
636 | the text segment ends exactly on a page boundary. | |
637 | ||
ad43e45b ILT |
638 | * configure.in: Substitute RPATH_ENVVAR. |
639 | * configure: Rebuild. | |
640 | * configure.host: Set RPATH_ENVVAR. | |
641 | * Makefile.in (RPATH_ENVVAR): New variable. | |
642 | (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. | |
643 | ||
95d31c3c ILT |
644 | Wed Feb 14 18:49:01 1996 Alan Modra <[email protected]> |
645 | ||
646 | * configure.in: Redo emulation handling so that each emulation | |
647 | searches the correct tool directory, based on the target alias. | |
648 | For example, "configure --enable-targets=m68k-coff i386-linux" | |
649 | will search /usr/local/i386-linux/lib for linux and | |
650 | /usr/local/m68k-coff/lib for m68k-coff. | |
651 | * configure: Rebuild. | |
652 | * configure.tgt: Add special tdir settings for Linux. | |
653 | * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS} | |
654 | for each eEMUL.c target. | |
655 | * genscripts.sh: Accept specific alias as 9th argument, and use it | |
656 | in LIB_PATH. | |
657 | ||
307585f1 ILT |
658 | Wed Feb 14 16:38:36 1996 Martin Anantharaman <[email protected]> |
659 | ||
660 | * ldlang.c (lang_set_startof): Don't do anything for a | |
661 | relocateable link. | |
662 | ||
663 | * ldgram.y (mri_script_file): Call mri_draw_tree. | |
664 | * mri.c (mri_draw_tree): Make globally visible. Don't bother to | |
665 | create memory regions. | |
666 | (mri_load): Don't call mri_draw_tree. | |
667 | * mri.h (mri_draw_tree): Declare. | |
668 | ||
669 | * configure.tgt (m68*-*-psos): New target. | |
670 | * emulparams/m68kpsos.sh: New file. | |
671 | * scripttempl/psos.sc: New file. | |
672 | * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o. | |
673 | (em68kpsos.c): New target. | |
674 | ||
db3bfcd6 ILT |
675 | Wed Feb 14 11:09:25 1996 Ian Lance Taylor <[email protected]> |
676 | ||
95d31c3c ILT |
677 | * configure.tgt (*-*-ieee*): New target; use vanilla. |
678 | ||
db3bfcd6 ILT |
679 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip |
680 | `:foo' from ${ARCH}. | |
681 | ||
9cb8a981 ILT |
682 | Tue Feb 13 15:58:58 1996 Bryan Ford <[email protected]> |
683 | ||
684 | * scripttempl/i386msdos.sc: Don't pad the .text section. Put | |
685 | .rodata in .data. | |
686 | ||
62548927 ILT |
687 | Tue Feb 13 14:04:19 1996 Ian Lance Taylor <[email protected]> |
688 | ||
b6acf084 ILT |
689 | * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared. |
690 | ||
62548927 ILT |
691 | * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if |
692 | it looks like we might be linking in two different versions of the | |
693 | same shared library. Based on a patch from H J Lu <[email protected]>. | |
694 | ||
708f7fbc ILT |
695 | Thu Feb 8 19:25:54 1996 Ian Lance Taylor <[email protected]> |
696 | ||
697 | * ldlang.c (lang_size_sections): Increment the section size when a | |
698 | padding statement is encountered. | |
699 | ||
2e598345 ILT |
700 | Wed Feb 7 14:01:33 1996 Ian Lance Taylor <[email protected]> |
701 | ||
702 | * configure.in: Look for --enable-shared. Change the value of | |
703 | BFDLIB when linking against a shared library on SunOS. | |
704 | * configure: Rebuild. | |
705 | * configure.host: If using a shared BFD library, try to pass a | |
706 | reasonable -rpath option when linking. | |
707 | * Makefile.in (BFDLIB): Set to @BFDLIB@. | |
708 | ||
709 | Tue Feb 6 12:29:14 1996 Doug Evans <[email protected]> | |
710 | ||
711 | * emulparams/elf64_sparc.sh (ARCH): Change to `sparc:v9'. | |
712 | * emultempl/generic.em: Strip `:foo' from ${ARCH}. | |
713 | ||
f8d48971 ILT |
714 | Mon Feb 5 16:25:30 1996 Ian Lance Taylor <[email protected]> |
715 | ||
716 | Support for building bfd and opcodes as shared libraries, based on | |
717 | patches from Alan Modra <[email protected]>: | |
718 | * configure.in (HLDFLAGS): New substitution. | |
719 | * configure: Rebuild. | |
720 | * configure.host: Set HLDFLAGS on SunOS. | |
721 | * Makefile.in (HLDFLAGS): New variable. | |
722 | (BFDDEP): New variable. | |
723 | (BFDLIB): Change to -L../bfd -lbfd. | |
724 | ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use | |
725 | $(HLDFLAGS) in link. | |
726 | (check): Set LD_LIBRARY_PATH in the environment. | |
727 | ||
728 | Fri Feb 2 19:26:25 1996 Michael Meissner <[email protected]> | |
729 | ||
730 | * scripttempl/elfppc.sc (.sdata2, .sbss2): Put .sdata2 and .sbss | |
731 | in the read-only section, not read/write unless we are making a | |
732 | shared library. | |
733 | (.debug*): Add dwarf debug sections. | |
734 | (.rela.{sdata*,sbss*}): Add sections. | |
735 | ||
ae9120f9 ILT |
736 | Fri Feb 2 16:50:21 1996 Ian Lance Taylor <[email protected]> |
737 | ||
738 | * configure: Regenerate. | |
739 | ||
48766668 ILT |
740 | Thu Feb 1 10:50:46 1996 Ian Lance Taylor <[email protected]> |
741 | ||
be54c2b6 ILT |
742 | * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000, |
743 | for SVR4 compatibility. | |
744 | ||
48766668 ILT |
745 | * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE. |
746 | ||
923b8e0c SC |
747 | Wed Jan 31 17:30:19 1996 Steve Chamberlain <[email protected]> |
748 | ||
749 | * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New. | |
750 | * emultempl/pe.em (definfo init): Make the default stack reserve | |
751 | of a PPC larger. | |
752 | ||
40ab9bb9 ILT |
753 | Wed Jan 31 14:34:23 1996 Richard Henderson <[email protected]> |
754 | ||
755 | * configure.tgt (m68*-apple-aux*): New target. | |
756 | * emulparams/m68kaux.sh: New file. | |
757 | * scripttempl/m68kaux.sc: New file. | |
758 | * Makefile.in (ALL_EMULATIONS): Add em68kaux.o. | |
759 | (em68kaux.c): New target. | |
760 | ||
bc60f924 ILT |
761 | Tue Jan 30 13:18:56 1996 Ian Lance Taylor <[email protected]> |
762 | ||
763 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore | |
764 | -bnoentry, since the right thing tends to happen anyhow. | |
765 | ||
4bdd9722 ILT |
766 | Mon Jan 29 12:29:26 1996 Ian Lance Taylor <[email protected]> |
767 | ||
768 | * ld.texinfo, ld.1: Document -export-dynamic. | |
769 | ||
770 | Fri Jan 26 11:11:55 1996 Andreas Schwab <[email protected]> | |
771 | ||
772 | * emultempl/sunos.em: Check for native compile by comparing | |
773 | ${target} and ${host}. | |
774 | ||
de8d1609 JSC |
775 | Thu Jan 25 16:46:58 1996 James G. Smith <[email protected]> |
776 | ||
777 | * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed | |
778 | TEXT_START_ADDR to allow use on IDT and PMON systems. | |
779 | ||
1759ad4d SC |
780 | Wed Jan 24 20:59:40 1996 Steve Chamberlain <[email protected]> |
781 | ||
782 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): | |
783 | correct spelling. | |
784 | ||
b0cc94a1 DE |
785 | Wed Jan 24 16:59:19 1996 Doug Evans <[email protected]> |
786 | ||
787 | * configure.tgt (sparc64-*-solaris2*): New configuration. | |
788 | (sparc64-*-aout*): Renamed from sparc64*. | |
789 | ||
7df4ba26 ILT |
790 | Mon Jan 22 13:01:35 1996 Andreas Schwab <[email protected]> |
791 | ||
792 | * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. | |
793 | * genscripts.sh: Set host, target and target_alias variables. | |
794 | Check for native compile by comparing ${target} and ${host}. | |
795 | * emultempl/elf32.em: Likewise. | |
796 | * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}. | |
797 | ||
4d99a950 MM |
798 | Mon Jan 22 11:03:23 1996 Michael Meissner <[email protected]> |
799 | ||
800 | * scripttempl/elfppc.sc: Refine eabi support to better support | |
801 | .sdata, .sdata2, .sbss, etc. sections. | |
802 | ||
a411bea0 ILT |
803 | Tue Jan 16 15:16:58 1996 Ian Lance Taylor <[email protected]> |
804 | ||
805 | * ldgram.y (%union): Add phdr field. | |
806 | (phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at. | |
807 | (phdr_qualifiers): New nonterminal. Add support for FLAGS. | |
808 | (opt_hdrs, hdr): Remove. | |
809 | (phdr_val): New nonterminal. | |
810 | * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr | |
811 | and phdrs parameters. Add flags parameter. | |
812 | (lang_record_phdrs): Update for changes to lang_phdr. Pass flags | |
813 | to bfd_record_phdr. | |
814 | * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and | |
815 | phdrs fields. Add flags field. | |
816 | (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove. | |
817 | (lang_new_phdr): Update declaration. | |
818 | * ld.texinfo: Document FLAGS. | |
819 | ||
fe1379d4 ILT |
820 | Mon Jan 15 15:07:19 1996 Ian Lance Taylor <[email protected]> |
821 | ||
0bc9a7d2 ILT |
822 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): |
823 | Don't make a shared library because of an undefined reference to | |
824 | __GLOBAL_OFFSET_TABLE_. | |
825 | ||
fe1379d4 ILT |
826 | Add some Irix 5 support, mostly from Kazumoto Kojima |
827 | <[email protected]>: | |
828 | * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips. | |
829 | (SHLIB_TEXT_START_ADDR): Define. | |
830 | (OTHER_GOT_SYMBOLS): Define. | |
831 | (OTHER_READWRITE_SECTIONS): Remove initialization of _gp. | |
832 | (EXECUTABLE_SYMBOLS): Don't define. | |
833 | (DYNAMIC_LINK): Don't define. | |
834 | * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh. | |
835 | * scripttempl/elfmips.sc: New file. | |
836 | * configure.host (mips*-dec-bsd*): Change mips to mips*. | |
837 | (mips*-sgi-irix4*): Likewise. | |
838 | (mips*-sgi-irix5*): New entry. | |
839 | * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than | |
840 | elf.sc. | |
841 | (eelf32lmip.c): Likewise. | |
842 | ||
be03dc3e MM |
843 | Sat Jan 13 09:41:43 1996 Michael Meissner <[email protected]> |
844 | ||
845 | * scripttempl/elfppc.sc: Remove support for .rel.* sections. Add | |
846 | .rela.got.neg section. | |
847 | ||
23cb3b65 ILT |
848 | Fri Jan 12 14:56:19 1996 Ian Lance Taylor <[email protected]> |
849 | ||
2afa4f21 ILT |
850 | * scripttempl/sh.sc: Only build constructors when CONSTRUCTING. |
851 | ||
23cb3b65 ILT |
852 | * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if |
853 | ANSI_PROTOTYPES is defined. Remove special handling of | |
854 | WINDOWS_NT. Various indendation fixes. | |
855 | (vfinfo): Change fmt parameter to const char *. | |
856 | (info_msg): Write <stdarg.h> version. | |
857 | (einfo, minfo, finfo): Likewise. | |
858 | (info_assert): Change file parameter to const char *. | |
859 | * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is | |
860 | defined, use a real prototype. | |
861 | (info_assert): Change first parameter to be const char *. | |
862 | ||
4fe13b2b MM |
863 | Fri Jan 12 13:29:55 1996 Michael Meissner <[email protected]> |
864 | ||
865 | * scripttempl/elfppc.sc: Add support for .sdata2/.sbss2, etc. Add | |
866 | in old support that 2.7.2 needs, but the current compiler does | |
867 | not. | |
868 | ||
869 | * Makefile.in (eelf32{,l}ppc.c): Fix up dependencies to use the | |
870 | correct Linker script template. | |
871 | ||
872 | * emulparams/elf32{,l}ppc.sh (TEXT_START_ADDR): Set to 0x40000, | |
873 | not 0x400000. | |
874 | (DATA_ADDR,NONPAGED_TEXT_START_ADDR): Delete. | |
875 | ||
37e46b8b ILT |
876 | Tue Jan 9 15:53:02 1996 Ian Lance Taylor <[email protected]> |
877 | ||
878 | * scripttempl/alpha.sc: Put .rconst right after .rdata. | |
879 | ||
d4279937 SC |
880 | Fri Jan 5 14:07:45 1996 Steve Chamberlain <[email protected]> |
881 | ||
882 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): | |
883 | sort using right pointer. | |
884 | ||
9dee2948 MM |
885 | Fri Jan 5 12:25:47 1996 Michael Meissner <[email protected]> |
886 | ||
887 | * scripttempl/elfppc.sc: Remove support for creating special | |
888 | labels for eabi section begin/end here. The compiler now uses | |
889 | crt{i,n}.o to create these symbols. | |
890 | ||
ed1f99e7 ILT |
891 | Thu Jan 4 17:08:58 1996 Ian Lance Taylor <[email protected]> |
892 | ||
893 | * configure.host: Change existing Linux HOSTING_CRT0 to be used | |
894 | for a.out only, and put in appropriate HOSTING_CRT0 and | |
895 | HOSTING_LIBS values for Linux ELF. | |
896 | ||
5c5e420c DE |
897 | Thu Jan 4 12:02:05 1996 Doug Evans <[email protected]> |
898 | ||
899 | * scripttempl/h8300.sc: Use all 64K for ram. | |
900 | * scripttempl/h8300h.sc: Define 256K ram size. | |
901 | ||
902 | Thu Dec 21 15:57:18 1995 Ian Lance Taylor <[email protected]> | |
903 | ||
904 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Pass | |
905 | export_defines as true to bfd_xcoff_size_dynamic_sections if -unix | |
906 | was used, regardless of whether -bE was used. | |
907 | ||
67cf6778 ILT |
908 | Tue Dec 19 17:35:38 1995 Ian Lance Taylor <[email protected]> |
909 | ||
910 | * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set | |
911 | relocateable before calling ldctor_build_sets if the output file | |
912 | is in an XCOFF format. | |
913 | ||
4fc151e9 ILT |
914 | Fri Dec 15 16:34:36 1995 Ian Lance Taylor <[email protected]> |
915 | ||
916 | * ldwrite.c (build_link_order): When handling a data statement, if | |
917 | the endianness of the output file is unknown, use the endianness | |
918 | of the input file. | |
919 | ||
d8d4a450 SS |
920 | Tue Dec 12 13:55:41 1995 Stan Shebs <[email protected]> |
921 | ||
922 | * mpw-config.in: Recognize mips-*-* as equivalent to | |
923 | mips-idt-ecoff. | |
924 | * mpw-eppcmacos.c: Rename to shorter mpw-eppcmac.c. | |
925 | * mpw-ld.r: Add version resources. | |
926 | (cfrg): Use symbolic instead of literal name for executable. | |
927 | ||
9499591f KK |
928 | Mon Dec 11 15:13:41 1995 Kim Knuttila <[email protected]> |
929 | ||
930 | * scripttempl/ppcpe.sc (FINI): Moved the .reloc section. | |
931 | ||
e8bb9a12 DE |
932 | Wed Dec 6 14:33:50 1995 Doug Evans <[email protected]> |
933 | ||
934 | * ldlang.c (print_statement{,s}): Delete duplicate prototype. | |
935 | (print_statement_list): Renamed from print_statement. All callers | |
936 | updated. | |
937 | (print_statement): New function to print just one statement. | |
938 | (print_{data,reloc,padding}_statement): Don't crash if | |
939 | output_section == NULL. | |
940 | (dprint_statement): New function. | |
941 | ||
95b3cb6b DE |
942 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix |
943 | call to sort_sections. | |
944 | ||
04215033 ILT |
945 | Wed Dec 6 14:59:06 1995 Ian Lance Taylor <[email protected]> |
946 | ||
9430b933 ILT |
947 | * emultempl/aix.em (unix_ld): New static variable. |
948 | (gld${EMULATION_NAME}_parse_args): Handle -unix. | |
949 | (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass | |
950 | gc as false and export_defineds as true to size_dynamic_sections. | |
951 | ||
04215033 ILT |
952 | * ldexp.c (exp_fold_tree): Permit assignments to dot in the final |
953 | phase if the current section is abs_output_section. | |
954 | ||
d4279937 SC |
955 | |
956 | Tue Dec 5 09:49:39 1995 Doug Evans <[email protected]> | |
957 | ||
958 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix call | |
959 | to sort_sections. | |
960 | ||
061e65f8 ILT |
961 | Fri Dec 1 16:48:36 1995 Ian Lance Taylor <[email protected]> |
962 | ||
963 | * ldgram.y (PHDRS): New token. | |
964 | (ifile_p1): Accept phdrs. | |
965 | (section): Accept phdr_opt at the end of the section definition. | |
966 | (phdr_op): New nonterminal. | |
967 | (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise. | |
968 | * ldlex.l: Accept PHDRS. | |
969 | * ldlang.h (struct lang_output_section_phdr_list): Define. | |
970 | (lang_output_section_statement_type): Add phdrs field. | |
971 | (struct lang_phdr): Define. | |
972 | (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define. | |
973 | (lang_new_phdr): Declare. | |
974 | * ldlang.c (lang_phdr_list): New static variable. | |
975 | (lang_output_section_statement_lookup): Initialize phdrs field. | |
976 | (lang_process): Call lang_record_phdrs. | |
977 | (lang_new_phdr): New function. | |
978 | (lang_section_in_phdr): New function. | |
979 | (lang_record_phdrs): New static function. | |
980 | * ld.texinfo: Document PHDRS. | |
981 | ||
d611a82e KK |
982 | Thu Nov 30 13:14:30 1995 Kim Knuttila <[email protected]> |
983 | ||
984 | * scripttempl/ppcpe.sc: Moved .edata into its own section to | |
985 | expose it. | |
986 | ||
e7f2e923 ILT |
987 | Thu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <[email protected]> |
988 | ||
989 | * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and | |
990 | HOSTING_LIBS for testing. | |
991 | (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for | |
992 | testing. | |
993 | ||
5aca4058 ILT |
994 | Tue Nov 28 12:14:53 1995 Ian Lance Taylor <[email protected]> |
995 | ||
996 | * lexsup.c (parse_args): Set config.dynamic_link to false for -N | |
997 | and -n. | |
998 | ||
6a4667f4 ILT |
999 | Mon Nov 27 13:12:09 1995 Ian Lance Taylor <[email protected]> |
1000 | ||
1001 | * configure: Rebuild with autoconf 2.7. | |
1002 | ||
d87e370b DE |
1003 | Fri Nov 24 18:35:35 1995 Doug Evans <[email protected]> |
1004 | ||
1005 | * scripttempl/pe.sc: Two .junk's is too much junk. | |
1006 | ||
13eb3290 ILT |
1007 | Tue Nov 21 16:14:32 1995 Ian Lance Taylor <[email protected]> |
1008 | ||
caf2a913 ILT |
1009 | * configure.in: Use BFD_NEED_DECLARATION. |
1010 | * acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section. | |
1011 | * configure, config.in: Rebuild with autoconf 2.6. | |
1012 | ||
13eb3290 | 1013 | * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR |
6a4667f4 | 1014 | being unsupported if this is not a relocateable link and the input |
13eb3290 ILT |
1015 | BFD supports it, since ldctor_build_sets can cope with that case. |
1016 | ||
1017 | Fri Nov 17 16:23:15 1995 Stan Shebs <[email protected]> | |
1018 | ||
1019 | * configure.tgt (powerpc-*-macos*): New target. | |
1020 | * emulparams/ppcmacos.sh: New file, PowerMac emulation. | |
1021 | * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o. | |
1022 | (eppcmacos.c): New target. | |
1023 | * mpw-eppcmacos.c: Update. | |
1024 | * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}. | |
1025 | ||
dfc84b08 ILT |
1026 | Fri Nov 17 10:37:27 1995 Ian Lance Taylor <[email protected]> |
1027 | ||
1028 | * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not | |
1029 | $(host_canonical) and $(target_canonical). | |
1030 | (CXX_FOR_TARGET): Likewise. | |
1031 | ||
c4a14eef DE |
1032 | Thu Nov 16 11:23:42 1995 Doug Evans <[email protected]> |
1033 | ||
1034 | * scripttempl/pe.sc (.endjunk): Move definition of `end' to here | |
1035 | so the malloc heap begins at a sane place. | |
1036 | ||
b218076e KR |
1037 | Thu Nov 16 03:09:32 1995 Ken Raeburn <[email protected]> |
1038 | ||
1039 | Version 2.6 released. | |
1040 | * ldver.c (ldversion): Update to 2.6. | |
1041 | ||
1042 | * Makefile.in (mostlyclean): Delete ldemul-list.h here, but not | |
1043 | $(GENERATED_*FILES), since they need to be retained by distclean. | |
1044 | (maintainer-clean, realclean): Delete them here. | |
1045 | ||
20406675 ILT |
1046 | Tue Nov 14 17:08:06 1995 Ian Lance Taylor <[email protected]> |
1047 | ||
b218076e KR |
1048 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Open the |
1049 | base file with FOPEN_WB, not "w". | |
1050 | ||
20406675 ILT |
1051 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the |
1052 | environment variable LD_RUN_PATH if neither -rpath nor -rpath-link | |
1053 | were used. | |
1054 | (gld${EMULATION_NAME}_before_allocation): Use the environment | |
1055 | variable LD_RUN_PATH if -rpath was not used. | |
1056 | * ld.texinfo, ld.1: Document LD_RUN_PATH. | |
1057 | ||
97121c41 ILT |
1058 | Thu Nov 9 13:09:29 1995 Ian Lance Taylor <[email protected]> |
1059 | ||
20406675 ILT |
1060 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize |
1061 | -bl and -bloadmap options. | |
1062 | ||
7eb5ccf5 ILT |
1063 | * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target, |
1064 | report a better error. | |
1065 | ||
97121c41 ILT |
1066 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add |
1067 | new local variable special_sections, and pass it to | |
1068 | size_dynamic_sections. Look through the results, and move the | |
1069 | sections around in the mapping so that they are defined correctly. | |
1070 | ||
9d3d323a ILT |
1071 | Wed Nov 8 11:40:59 1995 Ian Lance Taylor <[email protected]> |
1072 | ||
1073 | * ldemul.c (ldemul_default_target): Cast getenv return value. | |
1074 | ||
b2306582 KK |
1075 | Tue Nov 7 11:15:36 1995 Kim Knuttila <[email protected]> |
1076 | ||
9d3d323a ILT |
1077 | * emulparams/ppcpe.sh (ARCH): New file for PowerPC Portable |
1078 | Executable support. | |
1079 | * scripttempl/ppcpe.sc: New file for PowerPC Portable Executable | |
1080 | support. | |
b2306582 KK |
1081 | |
1082 | * configure.tgt (targ_extra_emuls): Added powerpcle-pe target. | |
1083 | * Makefile.in (ALL_EMULATIONS): Added eppcpe.o target. | |
1084 | ||
1085 | * emultempl/pe.em (TARGET_IS_ppcpe): file tailoring macro | |
9d3d323a ILT |
1086 | (gld_$_before_allocation): added hooks for toc construction based |
1087 | on the above macro. | |
b2306582 | 1088 | |
e2ce2da8 ILT |
1089 | Tue Nov 7 11:47:23 1995 Ian Lance Taylor <[email protected]> |
1090 | ||
1091 | * ld.texinfo: The linker does not use _main as an entry point. | |
1092 | ||
36b72df3 ILT |
1093 | Tue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <[email protected]> |
1094 | ||
1095 | * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo | |
1096 | 0x2000 not 0x200. | |
1097 | ||
7ae3065c ILT |
1098 | Mon Nov 6 10:59:21 1995 Ian Lance Taylor <[email protected]> |
1099 | ||
92c71a0b ILT |
1100 | * configure.in: Add test for whether free must be declared. |
1101 | * sysdep.h: Declare free if necessary. Include "ansidecl.h". | |
1102 | * acconfig.h: Explain NEED_DECLARATION_FREE. | |
1103 | * configure, config.in: Rebuild. | |
1104 | ||
7ae3065c ILT |
1105 | * lexsup.c (parse_args): Take B:: out of shortopts. |
1106 | ||
bd329d41 KR |
1107 | Sun Nov 5 03:08:28 1995 Ken Raeburn <[email protected]> |
1108 | ||
1109 | * emulparams/i386nbsd.sh (EXECUTABLE_SYMBOLS): Set __DYNAMIC to 0 | |
1110 | for now, as with m68k4kbsd, until shared library support gets | |
1111 | done. | |
1112 | ||
1113 | * configure.host: For i386 BSD variants, crt0.o lives in | |
1114 | /usr/lib. (True for NetBSD at least, unconfirmed for others.) | |
1115 | ||
63982998 ILT |
1116 | Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <[email protected]> |
1117 | ||
1118 | * Makefile.in (ALL_EMULATIONS): Add edelta68.o. | |
1119 | (edelta68.c): New target. | |
92188bd2 | 1120 | * configure.tgt (m68*-motorola-sysv*): New target. |
63982998 ILT |
1121 | * emulparams/delta68.sh: New file. |
1122 | * scripttempl/delta68.sc: New file. | |
1123 | ||
1124 | * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section | |
1125 | addresses. | |
1126 | ||
2a80ec10 ILT |
1127 | Wed Nov 1 11:41:56 1995 Ian Lance Taylor <[email protected]> |
1128 | ||
ef51e36a ILT |
1129 | * ldgram.y (mri_script_command): Accept ',' as well as '=' in |
1130 | ALIGN and ALIGNMOD statements. | |
1131 | ||
2a80ec10 ILT |
1132 | * emultempl/aix.em: Include ldgram.h. |
1133 | (gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on | |
1134 | AIX 4.1. | |
1135 | * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h. | |
1136 | ||
02a5d235 ILT |
1137 | Tue Oct 31 18:22:24 1995 David Mosberger-Tang <[email protected]> |
1138 | ||
1139 | * configure.host (alpha-*-linux*): New host. | |
1140 | * configure.tgt (alpha-*-linux*): New target. | |
1141 | ||
5666490b ILT |
1142 | Tue Oct 31 12:36:52 1995 Ian Lance Taylor <[email protected]> |
1143 | ||
1144 | * emultempl/aix.em (export_files): Remove. | |
1145 | (import_files): Make static. | |
1146 | (struct export_symbol_list): Define. | |
1147 | (export_symbols): New static variable. | |
1148 | (gld${EMULATION_NAME}_parse_args): Handle an initial -b option | |
1149 | correctly. Call read_file for an export file. | |
1150 | (gld${EMULATION_NAME}_before_allocation): Call | |
1151 | bfd_xcoff_export_symbol for each export symbol, rather than | |
1152 | calling read_file for each export file. | |
1153 | (gld${EMULATION_NAME}_read_file): For an export file, make the | |
1154 | exported symbols undefined, and store them on the export_symbols | |
1155 | list. | |
1156 | ||
2543860d SC |
1157 | Sat Oct 28 00:10:03 1995 steve chamberlain <[email protected]> |
1158 | ||
1159 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): | |
1160 | Don't hang if last option is unrecognised. | |
1161 | (gld_${EMULATION_NAME}_set_symbols): Insert created | |
1162 | symbols into ABS output section. | |
1163 | ||
d0ae7d95 NH |
1164 | Fri Oct 27 18:03:17 1995 Niklas Hallqvist <[email protected]> |
1165 | ||
1166 | * Makefile.in (ALL_EMULATIONS): Added support for the NetBSD | |
1167 | m68k4k arch. | |
1168 | (em68k4knbsd.c): New rule. | |
1169 | ||
1170 | * configure.tgt: Added support for the NetBSD m68k4k arch. | |
1171 | ||
1172 | * genscripts.sh, ldint.texinfo, | |
1173 | emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, | |
1174 | gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, | |
1175 | hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, | |
1176 | i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, | |
1177 | m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, | |
2e71dfc0 | 1178 | pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, |
d0ae7d95 NH |
1179 | st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed |
1180 | PAGE_SIZE to TARGET_PAGE_SIZE. | |
1181 | ||
1182 | * emulparams/m68knbsd.h: Ditto. | |
1183 | (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. | |
1184 | (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time | |
1185 | being. | |
1186 | ||
1187 | * emulparams/m68k4knbsd.sh: New file. | |
1188 | ||
1189 | * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating. | |
1190 | ||
cf79773c ILT |
1191 | Fri Oct 27 17:59:09 1995 Ian Lance Taylor <[email protected]> |
1192 | ||
1193 | * emultempl/aix.em: Include ldctor.h. | |
1194 | (gld${EMULATION_NAME}_after_open): New static function. | |
1195 | (gld${EMULATION_NAME}_before_allocation): Call find_relocs. | |
1196 | (gld${EMULATION_NAME}_find_relocs): New static function. | |
1197 | (gld${EMULATION_NAME}_find_exp_assignment): New static function. | |
1198 | (ld_${EMULATION_NAME}_emulation): Use new after_open function. | |
1199 | * scripttempl/aix.sc: Use CONSTRUCTORS in .data. | |
1200 | * ldctor.c (struct set_info): Move definition into ldctor.h. | |
1201 | (struct set_element): Likewise. | |
1202 | (sets): Make non-static. | |
1203 | (ldctor_add_set_entry): Add name parameter. Save it in the new | |
1204 | set element. | |
1205 | (ldctor_build_sets): Avoid being called twice. Pass set element | |
1206 | name to lang_add_reloc. | |
1207 | * ldctor.h (struct set_info): Move definition here from ldctor.c. | |
1208 | (struct set_element): Likewise. Add new field name. | |
1209 | (sets): Declare. | |
1210 | (ldctor_add_set_entry): Declare new name parameter. | |
1211 | * ldwrite.c (build_link_order): Don't insist that either name or | |
1212 | section be NULL in a lang_reloc_statement. | |
1213 | * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for | |
1214 | new name parameter. | |
1215 | (constructor_callback): Pass name to ldctor_add_new_set_entry for | |
1216 | new name parameter. | |
1217 | ||
1218 | * ldmisc.c (demangle): Fix indentation. Remove a leading period. | |
1219 | ||
49af8a4e SS |
1220 | Thu Oct 26 22:22:49 1995 Stan Shebs <[email protected]> |
1221 | ||
1222 | * mpw-config.in: Add PowerMac target support, generate config.h. | |
1223 | * mac-ld.r: New file, Mac resources. | |
1224 | * mpw-make.sed: New file, edits Makefile.in into MPW syntax. | |
1225 | * mpw-make.in: Remove. | |
1226 | * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script. | |
1227 | ||
328e5a48 ILT |
1228 | Thu Oct 26 14:11:26 1995 Ian Lance Taylor <[email protected]> |
1229 | ||
c7c8b500 ILT |
1230 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat |
1231 | -static as a synonym for -bnso. | |
1232 | ||
328e5a48 ILT |
1233 | * scripttempl/aix.sc: Move special symbols inside sections. |
1234 | Always start .data at 0. | |
1235 | ||
8a8965f1 PB |
1236 | Wed Oct 25 11:52:12 1995 Per Bothner <[email protected]> |
1237 | ||
1238 | * Makefile.in (diststuff): Also make info. | |
1239 | (maintainer-clean realclean): Also delete *.info*. | |
1240 | ||
e54bf1c1 ILT |
1241 | Wed Oct 25 11:27:25 1995 Ian Lance Taylor <[email protected]> |
1242 | ||
7d6439d9 ILT |
1243 | * emultempl/aix.em: Add support for various AIX linker options, |
1244 | for AIX import and export files, and for AIX shared objects. | |
1245 | * scripttempl/aix.sc: Add .pad. Put .ds just before the TOC. | |
1246 | ||
1247 | * ldmain.c (main): Initialize new field link_info.static_link. | |
1248 | ||
1249 | * ldmain.c (add_keepsyms_file): Add \n at end of einfo calls. | |
1250 | (constructor_callback): Likewise. | |
1251 | * ldmisc.c (vfinfo): Likewise. | |
1252 | * ldwrite.c (build_link_order): Likewise. | |
1253 | ||
e54bf1c1 ILT |
1254 | * ld.texinfo: The MRI ALIGN directive is supported. |
1255 | ||
1256 | Mon Oct 23 11:46:43 1995 James G. Smith <[email protected]> | |
1257 | ||
1258 | * emulparams/elf32vr4300.sh: Deleted. | |
1259 | * emulparams/elf32vr4300el.sh: Deleted. | |
1260 | * emulparams/elf32b4300.sh: Added. | |
1261 | * emulparams/elf32l4300.sh: Added. | |
1262 | * configure.tgt, Makefile.in: Updated the build to use the | |
1263 | new 8.3 unique names. | |
1264 | ||
5e8e7e66 ILT |
1265 | Thu Oct 19 17:41:46 1995 Ian Lance Taylor <[email protected]> |
1266 | ||
e54bf1c1 ILT |
1267 | * ldlang.c (entry_symbol): Make non-static. |
1268 | * ldlang.h (entry_symbol): Declare. | |
1269 | ||
5e8e7e66 ILT |
1270 | * ldlex.l: Treat PROVIDE as a keyword in expression state. |
1271 | ||
9c284f3f SC |
1272 | Wed Oct 18 17:34:06 1995 steve chamberlain <[email protected]> |
1273 | ||
1274 | * scripttempl/pe.sc (.bss): Move to be after .text | |
1275 | ||
03165292 ILT |
1276 | Tue Oct 17 12:22:05 1995 Ian Lance Taylor <[email protected]> |
1277 | ||
5df68a88 ILT |
1278 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment): |
1279 | Search trinary.cond rather than searching trinary.lhs twice. From | |
1280 | [email protected]. | |
1281 | ||
235c6a67 ILT |
1282 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move |
1283 | directory searching code into gld${EMULATION_NAME}_search_dir. | |
1284 | (gld${EMULATION_NAME}_search_dir): New static function, extracted | |
1285 | from gld${EMULATION_NAME}_find_so. | |
1286 | (global_needed, global_found): New static variables. | |
1287 | (gld${EMULATION_NAME}_after_open): New static function. | |
1288 | (gld${EMULATION_NAME}_search_needed): New static function. | |
1289 | (gld${EMULATION_NAME}_try_needed): New static function. | |
1290 | (gld${EMULATION_NAME}_check_needed): New static function. | |
1291 | (ld_${EMULATION_NAME}_emulation): Use new after_open function. | |
1292 | * ld.texinfo, ld.1: Mention -rpath-link on SunOS. | |
1293 | ||
03165292 ILT |
1294 | * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em. |
1295 | (eelf32lppc.c): Likewise. | |
1296 | * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32. | |
1297 | (GENERATE_SHLIB_SCRIPT): Define as yes. | |
1298 | ||
b5f076d4 ILT |
1299 | Mon Oct 16 19:11:13 1995 Ian Lance Taylor <[email protected]> |
1300 | ||
1301 | * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named | |
1302 | bfd_link_needed-list; make appropriate changes. | |
1303 | ||
1304 | * configure.tgt (powerpc-*-aix*): New target; use aixppc. | |
1305 | (rs6000-*-aix*): New target; use aixrs6. | |
1306 | * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. | |
1307 | * emultempl/aix.em: New file. | |
1308 | * scripttempl/aix.sc: New file. | |
1309 | * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. | |
1310 | (eaixppc.c, eaixrs6.c): New targets. | |
1311 | ||
1312 | Fri Oct 13 14:00:37 1995 steve chamberlain <[email protected]> | |
1313 | ||
1314 | * scripttemp/pe.sc (.reloc): Move to the end. | |
1315 | ||
091824eb ILT |
1316 | Tue Oct 10 17:53:22 1995 Ian Lance Taylor <[email protected]> |
1317 | ||
1318 | * ldlang.c (lang_finish): Don't try to use an entry_symbol from a | |
1319 | section which was not linked into the final output. | |
1320 | ||
ef1d2d2e SC |
1321 | Tue Oct 10 10:17:22 1995 steve chamberlain <[email protected]> |
1322 | ||
1323 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix | |
1324 | fatal typos. | |
1325 | ||
5caef232 ILT |
1326 | Tue Oct 10 01:01:51 1995 Ian Lance Taylor <[email protected]> |
1327 | ||
1328 | * ld.h (args_type): Add rpath_link field. | |
1329 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for | |
1330 | required dependencies in rpath_link path. Only search | |
1331 | LD_LIBRARY_PATH when configured native. | |
1332 | * lexsup.c (parse_args): Recognize -rpath-link. | |
1333 | * ld.1, ld.texinfo: Document -rpath-link. | |
1334 | ||
776f2590 ILT |
1335 | Sat Oct 7 17:07:17 1995 Ian Lance Taylor <[email protected]> |
1336 | ||
1337 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't | |
1338 | bother searching for needed libraries unless doing a final link. | |
1339 | ||
80165535 KR |
1340 | Fri Oct 6 16:26:16 1995 Ken Raeburn <[email protected]> |
1341 | ||
1342 | Mon Sep 25 22:49:32 1995 Andreas Schwab <[email protected]> | |
1343 | ||
1344 | * ld/ld.1: Fix formatting bugs. | |
1345 | ||
f054ce20 ILT |
1346 | Wed Oct 4 17:37:46 1995 Ian Lance Taylor <[email protected]> |
1347 | ||
1348 | * ldexp.c (exp_get_abs_int): Return bfd_vma, not int. | |
1349 | * ldexp.h (exp_get_abs_int): Update declaration. | |
1350 | * ldlang.c (print_output_section_statement): Use fprintf_vma to | |
1351 | print return value of exp_get_abs_int. | |
1352 | ||
8055e7a8 ILT |
1353 | Mon Oct 2 13:56:09 1995 Ian Lance Taylor <[email protected]> |
1354 | ||
1355 | * emultempl/elf32.em (global_stat): New file static variable. | |
1356 | (gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure | |
1357 | that the file has not already been included under another name. | |
1358 | (gld${EMULATION_NAME}_stat_needed): New static function. | |
1359 | ||
0b0642d6 ILT |
1360 | Fri Sep 29 12:00:18 1995 Doug Evans <[email protected]> |
1361 | ||
1362 | * scripttempl/armcoff.sc: Start .text at 0x8000. | |
1363 | Start .data at 0x40000. | |
1364 | ||
dd16b655 ILT |
1365 | Fri Sep 29 11:09:46 1995 Ian Lance Taylor <[email protected]> |
1366 | ||
0b0642d6 ILT |
1367 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If |
1368 | command_line.rpath is set, use it, rather than the -L options, to | |
1369 | build the rules section. | |
1370 | * ld.texinfo: Document this use of -rpath. | |
1371 | ||
dd16b655 ILT |
1372 | * lexsup.c (parse_args): Don't set link_info.shared for -assert |
1373 | pure-text. Pass true, not 1, to lang_add_entry. | |
1374 | * emultempl/sunos.em (find_assign): New static variable. | |
1375 | (found_assign): New static variable. | |
1376 | (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn. | |
1377 | If not a relocateable link, and no start symbol was specified on | |
1378 | the command line, and there are any undefined symbols, set | |
1379 | link_info.shared. If link_info.shared is set, set the address of | |
1380 | the .text section to 0x20. | |
1381 | (gld${EMULATION_NAME}_find_assignment): Rename from | |
1382 | gld${EMULATION_NAME}_find_statement_assignment. If find_assign is | |
1383 | set, then just set found_assign based on whether an assignment is | |
1384 | found to find_assign. | |
1385 | (gld${EMULATION_NAME}_get_script): Don't use a special script when | |
1386 | producing a shared library. | |
1387 | * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove. | |
1388 | * scripttempl/aout.sc: Remove CREATE_SHLIB tests. | |
1389 | * ldlang.c (entry_from_cmdline): New global variable. | |
1390 | (lang_add_entry): Change cmdline parameter from int to boolean. | |
1391 | Use global entry_from_cmdline rather than function static | |
1392 | from_cmdline. | |
1393 | * ldlang.h (entry_from_cmdline): Declare. | |
1394 | (lang_add_entry): Change declaration of second parameter from int | |
1395 | to boolean. | |
1396 | * ldgram.y: Pass false, not 0, to lang_add_entry. | |
1397 | ||
5753006b ILT |
1398 | Thu Sep 28 12:34:13 1995 Ian Lance Taylor <[email protected]> |
1399 | ||
630f4ac9 ILT |
1400 | * ld.h (parsing_defsym): Declare. |
1401 | * ldlex.h (lex_string): Declare. | |
1402 | * ldlex.l (lex_string): Define. | |
1403 | * lexsup.c (parsing_defsym): Define. | |
1404 | (parse_args): In OPTION_DEFSYM case, set lex_string before calling | |
1405 | lex_redirect, and clear it after calling yyparse. Set | |
1406 | parsing_defsym around call to yyparse. | |
1407 | * ldmain.c (main): Set lex_string before calling lex_redirect, and | |
1408 | clear it after calling yyparse. | |
1409 | * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built | |
1410 | in linker scripts correctly. | |
1411 | ||
a69bb1fa ILT |
1412 | * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like other |
1413 | COFF targets, allowing for the leading underscore used on SPARC | |
1414 | COFF. | |
1415 | ||
5753006b ILT |
1416 | * lexsup.c (parse_args): Handle -assert. |
1417 | * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define. | |
1418 | * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the | |
1419 | shared library script when appropriate. | |
1420 | * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text | |
1421 | section at SIZEOF_HEADERS. | |
1422 | ||
132dd910 DE |
1423 | Thu Sep 28 01:40:37 1995 Doug Evans <[email protected]> |
1424 | ||
1425 | * Makefile.in (earmcoff.c): Build. | |
1426 | * configure.tgt (arm-*-coff): New target | |
1427 | * emulparms/armcoff.sh: New file. | |
1428 | * scripttempl/armcoff.sc: New file. | |
1429 | ||
ef898239 ILT |
1430 | Tue Sep 26 10:59:32 1995 Ian Lance Taylor <[email protected]> |
1431 | ||
1432 | * scripttempl/i386coff.sc: Remove .data2; no longer needed. | |
1433 | ||
8dd03673 ILT |
1434 | Fri Sep 22 18:09:02 1995 Ian Lance Taylor <[email protected]> |
1435 | ||
1436 | * ldfile.c (ldfile_set_output_arch): Make arch const. | |
1437 | ||
7453a753 MM |
1438 | Thu Sep 21 17:55:24 1995 Michael Meissner <[email protected]> |
1439 | ||
1440 | * scripttempl/elfppc.sc: Correctly locate __bss_start at the | |
1441 | beginning of the .bss area, not at the end of data. Add | |
1442 | __sbss_{start,end} symbols. | |
1443 | ||
1444 | Wed Sep 20 12:29:36 1995 Ian Lance Taylor <[email protected]> | |
1445 | ||
1446 | * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name). | |
1447 | (CXX_FOR_TARGET, install): Likewise. | |
1448 | ||
208bc89e ILT |
1449 | Mon Sep 18 14:53:22 1995 Ian Lance Taylor <[email protected]> |
1450 | ||
1451 | Based on patches by Alan Modra <[email protected]>: | |
1452 | * Makefile.in (CC_FOR_TARGET): Remove brokensed stuff. | |
1453 | (CXX_FOR_TARGET): Likewise. | |
1454 | (install): Likewise. | |
1455 | (GENERATED_HFILES): Remove config.h. | |
1456 | (.dep): Depend upon config.h. | |
1457 | ||
08879cde ILT |
1458 | Mon Sep 18 14:39:38 1995 Arne H. Juul <[email protected]> |
1459 | ||
1460 | * configure.tgt (mips*-dec-netbsd*): New target. | |
1461 | ||
db8beef4 KR |
1462 | Fri Sep 15 20:01:52 1995 Ken Raeburn <[email protected]> |
1463 | ||
1464 | * configure.host (m88*-*-dgux*): Fix another shell syntax error. | |
1465 | ||
1466 | Fri Sep 15 23:28:05 1995 Andrew Cagney <[email protected]> | |
1467 | ||
208bc89e | 1468 | * configure.host (i[345]86-*-bsd*): Fix shell syntax error. |
db8beef4 | 1469 | |
cf7f2f71 | 1470 | Thu Sep 12 12:50:49 1995 steve chamberlain <[email protected]> |
20a753df SC |
1471 | |
1472 | * scripttemp/pe.sc: Allow both spellings of .ctors/.dtors. | |
1473 | Start .text section on the right boundary. Always align | |
1474 | stabs. | |
1475 | ||
b75d0928 ILT |
1476 | Tue Sep 12 12:24:17 1995 Ian Lance Taylor <[email protected]> |
1477 | ||
4977f3b4 ILT |
1478 | * Makefile.in (maintainer-clean): New target. |
1479 | ||
cf7f2f71 ILT |
1480 | * ldmain.c (struct warning_callback_info): Define. |
1481 | (warning_callback): Add new parameter symbol. Call | |
1482 | warning_find_reloc to try to find the section and VMA. | |
1483 | (warning_find_reloc): New static function. | |
1484 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
1485 | Pass NULL as symbol parameter to warning callback. | |
1486 | ||
cca520b5 ILT |
1487 | * ld.texinfo: Clarify -L option. |
1488 | ||
b75d0928 ILT |
1489 | * ldlang.c (lang_one_common): Add cast to avoid warning. |
1490 | (topower): Likewise. Also, reindent. | |
1491 | * ldwrite.c (clone_section): Change i to unsigned int. | |
1492 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add | |
1493 | cast to avoid warning. | |
1494 | ||
673f5b9f ILT |
1495 | Fri Sep 8 16:32:43 1995 Ian Lance Taylor <[email protected]> |
1496 | ||
ed753c20 ILT |
1497 | * Makefile.in (config.status): Depend upon configure.tgt. |
1498 | ||
62b4ac8b ILT |
1499 | * ldemul.h (ldemul_set_symbols): Declare. |
1500 | (ldemul_parse_args): Declare. | |
1501 | * ldemul.c (ldemul_parse_args): Fix indentation. | |
1502 | ||
b8345a37 ILT |
1503 | * configure.in: Call AC_HEADER_DIRENT. |
1504 | * configure, config.in: Rebuild. | |
1505 | * emultempl/sunos.em: Use autoconf recommend mechanism to define | |
1506 | DIR and struct dirent. | |
1507 | ||
d62ef165 ILT |
1508 | * configure.tgt (mips*-*-bsd*): New case. |
1509 | ||
673f5b9f ILT |
1510 | * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*) |
1511 | New case. | |
1512 | * configure.tgt (i[345]86-*-ptx*): New case. | |
1513 | ||
9d325543 ILT |
1514 | Thu Sep 7 10:48:26 1995 Ian Lance Taylor <[email protected]> |
1515 | ||
ef346f1a ILT |
1516 | * config.in: Rename from config.h.in. |
1517 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
1518 | Check for config.h:config.in when creating stamp-h. | |
1519 | * configure: Rebuild. | |
1520 | * Makefile.in (stamp-h): Depend upon config.in rather than | |
1521 | config.h.in. Set CONFIG_HEADERS to config.h:config.in when | |
1522 | calling config.status. | |
1523 | ||
f40d9bc2 ILT |
1524 | * Makefile.in (distclean): Remove config.h and stamp-h. |
1525 | ||
36ea6198 ILT |
1526 | * configure.host (sparc-*-sunos64*): Remove. |
1527 | * ldlang.c (lang_map): Check BFD64, not HOST_64_BIT. | |
1528 | ||
9d325543 ILT |
1529 | * ldexp.c (exp_fold_tree): Don't warn about moving the location |
1530 | counter backward in the absolute section. | |
1531 | ||
1532 | Wed Sep 6 14:42:11 1995 Ian Lance Taylor <[email protected]> | |
1533 | ||
1534 | * configure.in: Rewrite to use autoconf. | |
1535 | * configure.host: New file. | |
1536 | * configure.tgt: New file. | |
1537 | * aclocal.m4: New file. | |
1538 | * configure: New file, built by autoconf. | |
1539 | * acconfig.h: New file. | |
1540 | * config.h.in: New file, built by autoheader. | |
1541 | * sysdep.h: New file. | |
1542 | * ld.h: Incorporate old contents of config.h. | |
1543 | * config.h: Remove. | |
1544 | * Makefile.in: Various changes for new configure script. Also: | |
1545 | (CC_FOR_BUILD): Remove. | |
1546 | (ldmain.o): Don't bother to ensure that EMUL is non-empty. | |
1547 | (dep.sed): Use @SRCDIR@, not @srcdir@. | |
1548 | * dep-in.sed: Use @SRCDIR@, not @srcdir@. | |
1549 | * genscripts.sh: Create ldscripts if it does not exist. | |
1550 | * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h". | |
1551 | * mpw-esh.c, emultemp/*.em: Likewise. | |
1552 | * ldmain.c: Likewise. Include <ctype.h>. Don't try to set | |
1553 | HAVE_SBRK here. | |
1554 | * config/*.mt, config/*.mh: Remove. | |
1555 | ||
af0786b4 KR |
1556 | Tue Sep 5 14:55:24 1995 Ken Raeburn <[email protected]> |
1557 | ||
1558 | * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and | |
1559 | ns32k-pc532-lites* like ns32k-pc532-netbsd*. From Ian Dall. | |
1560 | ||
1561 | Fri Sep 1 22:29:52 1995 Doug Evans <[email protected]> | |
1562 | ||
1563 | * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors. | |
1564 | ||
f6feefe4 ILT |
1565 | Fri Sep 1 13:13:29 1995 Ian Lance Taylor <[email protected]> |
1566 | ||
1567 | * ldmain.c (warning_callback): Add abfd, section, and address | |
1568 | parameters. | |
1569 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
1570 | Change call to warning accordingly. | |
1571 | ||
1572 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not | |
1573 | relocateable and not shared, put .gnu.warning.SYMBOL sections into | |
1574 | the .text section. | |
1575 | ||
751b7dcc JSC |
1576 | Fri Sep 1 08:35:16 1995 James G. Smith <[email protected]> |
1577 | ||
1578 | * configure.in: Added mips*vr4300-idt-elf* and | |
1579 | mips*vr4300el-idt-elf* targets. | |
1580 | * Makefile.in: Added eelf32vr4300* targets. | |
1581 | * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added. | |
1582 | * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added. | |
1583 | ||
4dd284fa ILT |
1584 | Fri Sep 1 10:51:45 1995 Ian Lance Taylor <[email protected]> |
1585 | ||
1586 | * scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe | |
1587 | <[email protected]>. | |
1588 | ||
5f8ac7e7 SC |
1589 | Thu Aug 31 16:37:07 1995 steve chamberlain <[email protected]> |
1590 | ||
1591 | * ldemul.c (ldemul_parse_args): New. | |
1592 | * ldemul.h (ld_emulation_xfer_struct): Add parse_args. | |
1593 | * lexsup.c (all pe stuff): Moved into pe.em | |
1594 | (parse_args): Call emulation arg parser. | |
1595 | * emultempl/pe.em (parse_args): handle PE specfic args. | |
1596 | ||
0b4fc03b ILT |
1597 | Thu Aug 31 17:01:37 1995 Ian Lance Taylor <[email protected]> |
1598 | ||
1599 | * ldlang.c (lang_memory_region_lookup): Don't use the first region | |
1600 | as the default region. Create a new region instead. | |
1601 | ||
1602 | Tue Aug 29 14:21:41 1995 steve chamberlain <[email protected]> | |
1603 | ||
1604 | * ldemul.c (ldemul_set_symbols): New function. | |
1605 | * ldemul.h (ld_emulation_xfer_struct): Add set_symbols. | |
1606 | * ldmain.c (main): Add call to ldemul_set_symbols. | |
1607 | * lexsup.c (set_pe_value): New args. | |
1608 | (set_pe_name): New. | |
1609 | (parse_args): Cope with new set_pe_value args. | |
1610 | * emultempl/pe.em (set_symbols): New function. | |
1611 | (ld_emulation_xfer_struct): Add set_symbols. | |
1612 | * scripttempl/pe.sc: Use new symbols. | |
1613 | ||
1614 | Thu Aug 24 18:12:18 1995 Ian Lance Taylor ([email protected]) | |
1615 | ||
1616 | * lexsup.c (parse_args): Don't call set_default_dirlist for -O. | |
1617 | For -Y, ignore a leading `P,', and only call set_default_dirlist | |
1618 | after processing all the other arguments. | |
1619 | ||
6fd48357 SC |
1620 | Tue Aug 22 07:36:58 1995 steve chamberlain <[email protected]> |
1621 | ||
1622 | * scripttempl/pe.sc: Keep .edata, don't base stabs at 0. | |
1623 | * emulparams/armpe.sh: Run PE script. | |
1624 | ||
011d93b3 SC |
1625 | Mon Aug 21 18:30:42 1995 steve chamberlain <[email protected]> |
1626 | ||
1627 | * ldmain.c (main): Remove PE stuff. | |
1628 | * lexsup.c (options): Load more PE options. | |
6fd48357 | 1629 | (set_pe_value): New function. |
011d93b3 | 1630 | |
eb7f87c5 SC |
1631 | Thu Aug 17 13:35:49 1995 steve chamberlain <[email protected]> |
1632 | ||
1633 | ||
1634 | * emultempl/{armpe.sc, i386pe.sc}: Deleted. | |
1635 | * emultempl/pe.sc: New file performs generic PE support and sorts | |
1636 | archive members. | |
1637 | * emulparams/{armpe.sh,i386pe.sh}: Use new file. | |
1638 | * scripttempl/{armpe.sc, i386pe.sc}: Deleted | |
1639 | * scripttempl/pe.sc: New. | |
1640 | * Makefile.in: Use new files. | |
1641 | ||
ed67cfa2 DE |
1642 | Thu Aug 17 14:46:34 1995 Doug Evans <[email protected]> |
1643 | ||
1644 | * scripttempl/h8500s.sc (.rdata): All data must go in data segment. | |
1645 | (.strings,.ctors,.dtors): Likewise. | |
1646 | ||
22cd79c5 SC |
1647 | Wed Aug 16 11:38:59 1995 steve chamberlain <[email protected]> |
1648 | ||
1649 | * scripttempl/armpe.sc: Always start code at 0x401000, even | |
1650 | if -r. | |
1651 | * ldwrite.c (strdup): New extern declaration. | |
1652 | * ldgram.y (atype): New rule to clarify type parsing. | |
1653 | * ldlang.c (init_os): Remove commented out code. | |
1654 | (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits | |
1655 | unless told not to by the link script. | |
1656 | ||
80fd1f45 ILT |
1657 | Wed Aug 16 11:45:11 1995 Ian Lance Taylor <[email protected]> |
1658 | ||
1d169acc ILT |
1659 | * ldlang.c (lang_set_startof): New static function. |
1660 | (lang_process): Call it. | |
1661 | ||
9b222190 ILT |
1662 | * ldgram.y: Tweak casesymlist to avoid bison errors. |
1663 | ||
80fd1f45 ILT |
1664 | * lexsup.c (parse_args): Accept -h as a synonym for --soname, for |
1665 | Solaris compatibility. | |
1666 | ||
3a473096 ILT |
1667 | Tue Aug 15 17:31:16 1995 Ian Lance Taylor <[email protected]> |
1668 | ||
1669 | * ldgram.y (YYDEBUG): If not defined, define as 1. | |
1670 | (CASE, EXTERN, START): New tokens. | |
1671 | (mri_script_command): Handle CASE, EXTERN, INCLUDE, START. | |
1672 | (casesymlist): New nonterminal. | |
1673 | (extern_name_list): New nonterminal. | |
1674 | * ldlex.l: Accept lower case trailing base specifiers. Don't | |
1675 | ignore the first digit when the base is a suffix. Accept many | |
1676 | EXPRESSION state tokens in MRI state. Support MRI continuation | |
1677 | lines and MRI semicolon comments. Accept all MRI keywords in | |
1678 | lower case. Add CASE, EXTERN, and START MRI keywords. | |
1679 | ||
52a55937 KR |
1680 | Tue Aug 8 19:14:58 1995 Ken Raeburn <[email protected]> |
1681 | ||
1682 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc | |
1683 | instead of alloca. | |
1684 | ||
65d22248 C |
1685 | Tue Aug 8 15:24:05 1995 J.T. Conklin <[email protected]> |
1686 | ||
1687 | * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use | |
1688 | $r/../gcc/xgcc unless it is present. | |
1689 | ||
1690 | Thu Aug 3 11:56:22 1995 Ian Lance Taylor <[email protected]> | |
1691 | ||
1692 | * scripttempl/m68kcoff.sc: Only put .ctors and .dtors in .text | |
1693 | when CONSTRUCTING. | |
1694 | * scripttempl/m68klynx.sc: Likewise. | |
1695 | * scripttempl/nw.sc: Likewise. | |
1696 | * scripttempl/sa29200.sc: Likewise. | |
1697 | * scripttempl/sparclynx.sc: Likewise. | |
1698 | ||
1699 | Fri Jul 28 12:02:23 1995 steve chamberlain <[email protected]> | |
1700 | ||
1701 | * emulparams/{z8001.sh, z8002.sh}: Fix typo. | |
1702 | ||
cc298fb9 KR |
1703 | Thu Jul 27 21:06:21 1995 Ken Raeburn <[email protected]> |
1704 | ||
1705 | * configure.in (i[345]86-*-linuxoldld): Treat like linuxaout*. | |
1706 | ||
1707 | Thu Jul 27 15:26:28 1995 steve chamberlain <[email protected]> | |
1708 | ||
1709 | * scripttempl/i386pe.sc: Cope with constructors. | |
1710 | * scripttempl/z8ksim.sc: Deleted. | |
1711 | * scripttempl/z8000.sc: Resurrected as this, but | |
1712 | can handle z8001 and z8002 formats. | |
1713 | * emulparams/z8ksim.sh: Deleted. | |
1714 | * emulparams/{z8001.sh, z8002.sh}: New files. | |
1715 | * config/z8ksim.mt: Deleted | |
1716 | * config/z8k-coff.mt: New, generates both emulations. | |
1717 | ||
1718 | Tue Jul 25 14:53:02 1995 Ian Lance Taylor <[email protected]> | |
1719 | ||
1720 | * ldmisc.c (vfinfo): In %C and %D case, always print the BFD using | |
1721 | %B, in case it is in an archive. | |
1722 | ||
59a0866d ILT |
1723 | Mon Jul 24 15:23:39 1995 Ian Lance Taylor <[email protected]> |
1724 | ||
1725 | * ldlang.c (lang_process): Call reset_memory_regions for each | |
1726 | relaxation pass. | |
1727 | ||
1728 | Fri Jul 21 22:49:44 1995 Michael Meissner <[email protected]> | |
1729 | ||
1730 | * scripttempl/elfppc.sc: Add support for .sdata, .sbss, and | |
1731 | _SDA_BASE. | |
1732 | ||
d2c66084 KR |
1733 | Thu Jul 20 16:26:55 1995 Ken Raeburn <[email protected]> |
1734 | ||
1735 | * ldmain.c (constructor_callback): Allocate set_name in stack | |
1736 | frame, rather than always calling alloca with a fixed size. | |
1737 | ||
45bc7188 DE |
1738 | Wed Jul 19 16:21:43 1995 Doug Evans <[email protected]> |
1739 | ||
1740 | * emulparams/armpe.sh (OUTPUT_FORMAT): Change to pei-arm-little. | |
1741 | (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define. | |
1742 | ||
242eee7a ILT |
1743 | Mon Jul 17 13:57:00 1995 Ian Lance Taylor <[email protected]> |
1744 | ||
45bc7188 DE |
1745 | * ldwrite.c (clone_section): Set the alignment of the clone |
1746 | section to that of the section being cloned. | |
1747 | ||
242eee7a ILT |
1748 | * ldwrite.c (split_sections): Don't split the first input section |
1749 | into a new output section. | |
1750 | ||
c7950dcc MM |
1751 | Sat Jul 15 00:26:35 1995 Michael Meissner <[email protected]> |
1752 | ||
1753 | * emulparams/elf32ppc.sh (TEMPLATE_NAME): Define as elf32. | |
1754 | (GENERATE_SHLIB_SCRIPT): Define as yes. | |
1755 | ||
8a0683c1 ILT |
1756 | Fri Jul 14 12:11:46 1995 Ian Lance Taylor <[email protected]> |
1757 | ||
63e1380d ILT |
1758 | * emultempl/mipsecoff.em (check_sections): Use %P, not %F. |
1759 | ||
8a0683c1 ILT |
1760 | * ldver.c (help): Update list of options to match currently |
1761 | supported list. | |
1762 | ||
047e0fcd ILT |
1763 | Thu Jul 13 13:52:10 1995 Ian Lance Taylor <[email protected]> |
1764 | ||
1765 | * emultempl/lnk960.em (ld_lnk960_emulation): Initialize | |
1766 | after_open field. | |
1767 | ||
1768 | * ldexp.c (exp_intop): Don't cast stat_alloc arg to bfd_size_type; | |
1769 | it takes a size_t anyhow. | |
1770 | (exp_binop): Likewise. | |
1771 | (exp_trinop): Likewise. | |
1772 | (exp_unop): Likewise. | |
1773 | (exp_nameop): Likewise. | |
1774 | (exp_assop): Likewise. | |
1775 | * ldlang.c (lang_memory_region_lookup): Likewise. | |
1776 | (init_os): Likewise. | |
1777 | (ldlang_add_undef): Likewise. | |
1778 | (insert_pad): Likewise. | |
1779 | * ldfile.c (ldfile_add_arch): Don't cast xmalloc arg to | |
1780 | bfd_size_type. | |
1781 | ||
1782 | * Makefile.in (ALL_EMULATIONS): It's earmaoutb.o, not earmoutb.o. | |
1783 | ||
395ccfce ILT |
1784 | Wed Jul 12 11:32:22 1995 Ian Lance Taylor <[email protected]> |
1785 | ||
1786 | * ldemul.h (ldemul_open_dynamic_archive): Add search parameter to | |
1787 | declaration. | |
1788 | (ld_emulation_xfer_type): Add search parameter to | |
1789 | open_dynamic_archive entry point. | |
1790 | * ldemul.c (ldemul_open_dynamic_archive): Add search parameter. | |
1791 | * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and | |
1792 | make non-static. Change all callers to use new name. | |
1793 | (ldfile_open_file_search): Make static. If entry is dynamic, call | |
1794 | ldemul_open_dynamic_archive. | |
1795 | (ldfile_open_file): Don't call ldemul_open_dynamic_archive. | |
1796 | * ldfile.h (ldfile_open_file_search): Don't declare. | |
1797 | (ldfile_try_open_bfd): Declare. | |
1798 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
1799 | Accept search parameter. Don't search for a library, just look in | |
1800 | a single place. | |
1801 | * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
1802 | Likewise. | |
1803 | ||
1804 | Tue Jul 11 16:44:21 1995 Ian Lance Taylor <[email protected]> | |
1805 | ||
1806 | * ldmain.c (set_scripts_dir): Don't base script directory on | |
1807 | current directory. | |
1808 | ||
917199fe ILT |
1809 | Tue Jul 11 12:29:02 1995 Rick Sladkey <[email protected]> |
1810 | ||
1811 | * ldmisc.c (vfinfo): Don't print the line number if it isn't | |
1812 | meaningful. | |
1813 | ||
4551e108 ILT |
1814 | Mon Jul 10 13:38:28 1995 Ian Lance Taylor <[email protected]> |
1815 | ||
917199fe ILT |
1816 | * ld.h (ld_config_type): Add field warn_constructors. |
1817 | * ldmain.c (add_to_set): Warn if config.warn_constructors. | |
1818 | (constructor_callback): Likewise. | |
1819 | * lexsup.c (parse_args): Handle -warn-constructors. | |
1820 | * ld.texinfo, ld.1: Document -warn-constructors. | |
1821 | ||
c16b92d2 ILT |
1822 | * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don't |
1823 | get confused by directory names if we searched for the file. | |
1824 | ||
7213def7 ILT |
1825 | Based on patches from H.J. Lu <[email protected]>: |
1826 | * ldlang.h (lang_input_statement_type): Add new field dynamic. | |
1827 | * ldlang.c (new_afile): Set dynamic from config.dynamic_link. | |
1828 | * ldfile.c: Include bfdlink.h. | |
1829 | (ldfile_open_file): Check dynamic field of entry, not global | |
1830 | dynamic_link field. Don't do a dynamic search when doing a | |
1831 | relocateable link. | |
1832 | * ldmain.c (main): Don't warn about dynamic_link for a | |
1833 | relocateable link. | |
1834 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if | |
1835 | dynamic is false. | |
1836 | (gld${EMULATION_NAME}_create_output_section_statements): Always | |
1837 | loop over input files. | |
1838 | * Makefile.in: Rebuild dependencies. | |
1839 | ||
4551e108 ILT |
1840 | * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and |
1841 | -shared. | |
1842 | ||
1843 | Mon Jul 10 13:29:43 1995 Eric Youngdale <[email protected]> | |
1844 | ||
1845 | * ldmain.c (main): Set link_info.symbolic to false. | |
1846 | * lexsup.c (parse_args): Handle -Bsymbolic. | |
1847 | ||
eac6290c FF |
1848 | Wed Jul 5 00:12:11 1995 Fred Fish ([email protected]) |
1849 | ||
1850 | * ldmain.c (HAVE_SBRK): Define for everything except | |
1851 | specific systems that are known to not support sbrk. | |
1852 | (main): Use HAVE_SBRK to decide whether or not to use sbrk. | |
1853 | ||
7523be35 ILT |
1854 | Tue Jul 4 12:55:48 1995 Ian Lance Taylor <[email protected]> |
1855 | ||
7158d2b1 ILT |
1856 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): |
1857 | Handle etree_provide. | |
1858 | ||
7523be35 ILT |
1859 | * emultempl/elf32.em (global_needed): New static variable. |
1860 | (global_found): Likewise. | |
1861 | (gld${EMULATION_NAME}_after_open): New static function. | |
1862 | (gld${EMULATION_NAME}_search_needed): Likewise. | |
1863 | (gld${EMULATION_NAME}_try_needed): Likewise. | |
1864 | (gld${EMULATION_NAME}_check_needed): Likewise. | |
1865 | (ld_${EMULATION_NAME}_emulation): Replace after_open_default with | |
1866 | gld${EMULATION_NAME}_after_open. | |
1867 | ||
cb848d61 SC |
1868 | Mon Jul 3 14:26:37 1995 Steve Chamberlain <[email protected]> |
1869 | ||
1870 | * configure.in (i386-*-win32): New target. | |
cb848d61 | 1871 | |
22d3533c ILT |
1872 | Mon Jul 3 14:39:22 1995 Ian Lance Taylor <[email protected]> |
1873 | ||
1874 | * lexsup.c (parse_args): Let -G either set the small data size or | |
1875 | be equivalent to --shared, depending on the next argument. Accept | |
1876 | and ignore -z for Solaris compatibility. | |
1877 | ||
243e7698 ILT |
1878 | Sun Jul 2 17:52:34 1995 Ian Lance Taylor <[email protected]> |
1879 | ||
1880 | * lexsup.c (parse_args): Cast fopen result to PTR before storing | |
1881 | it in link_info.base_file. Fix indentation. | |
1882 | ||
de71eb77 SC |
1883 | Wed Jun 28 17:11:25 1995 Steve Chamberlain <[email protected]> |
1884 | ||
1885 | * ldmain.c (main): Always initialize PE info in link_info. | |
1886 | * lexsup.c (OPTION_BASE_FILE): New option. | |
1887 | (parse_args): Handle new option. | |
1888 | * emulparams/armpe.sh: Output pei. | |
1889 | * emultempl/i386pe.em: Add newline to end. | |
1890 | * scripttempl/armpe.sc: Change output and quote the $s. | |
1891 | * scripttempl/i386pe.sc: Change output and quote the $s. | |
1892 | ||
1893 | Thu Jun 22 19:55:41 1995 Ken Raeburn <[email protected]> | |
1894 | ||
1895 | Sun May 7 11:53:41 MDT 1995 Bryan Ford <[email protected]> | |
1896 | ||
1897 | * configure.in (i386-*-msdos*, i386-*-moss*): New targets. | |
1898 | * Makefile.in (ALL_EMULATIONS): Added i386msdos.o. | |
1899 | (i386msdos.o): New target. | |
1900 | * config/i386-msdos.mt: Created. | |
1901 | * emulparams/i386msdos.sh: Created. | |
1902 | * scripttempl/i386msdos.sc: Created. | |
1903 | ||
d5131191 MM |
1904 | Thu Jun 22 15:06:35 1995 Michael Meissner <[email protected]> |
1905 | ||
1906 | * scripttempl/elfppc.sc (.fixup): Add support for a .fixup section | |
1907 | that contains pointers to be relocated. | |
1908 | ||
0283d893 SS |
1909 | Tue Jun 20 17:47:20 1995 Stan Shebs <[email protected]> |
1910 | ||
1911 | * mpw-esh.c: New file, modified for MPW from esh.c. | |
1912 | * scripttempl/sh.sc: Reformatted to simplify MPWification, | |
1913 | use *() to concat stab sections instead of []. | |
1914 | ||
1915 | Thu Jun 15 08:48:16 1995 Steve Chamberlain <[email protected]> | |
1916 | ||
1917 | * scripttempl/armpe.sc: Add constructor support. | |
1918 | ||
935cd0dd SC |
1919 | Tue Jun 13 09:11:20 1995 Steve Chamberlain <[email protected]> |
1920 | ||
1921 | * ldlang.c (lang_size_sections): Any section with a DATA | |
1922 | statement has contents. | |
1923 | ||
74b3ead3 KR |
1924 | Sun Jun 11 15:20:46 1995 Ken Raeburn <[email protected]> |
1925 | ||
1926 | * emulparams/m68kelf.sh (NOP): Define. | |
1927 | (DYNAMIC_LINK): Don't define. | |
1928 | (TEXT_START_ADDR): Set to 0x80000000; the extra 0x100 for headers | |
1929 | will come from the linker script. | |
1930 | ||
ba0784fe SC |
1931 | Thu Jun 8 14:17:33 1995 Steve Chamberlain <[email protected]> |
1932 | ||
1933 | * emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack. | |
1934 | ||
1935 | Mon Jun 5 02:16:24 1995 Ken Raeburn <[email protected]> | |
1936 | ||
1937 | * configure.in (i[345]86-*-gnu*): Use GNU elf config. | |
1938 | ||
1939 | Thu May 25 11:49:28 1995 Michael Meissner <[email protected]> | |
1940 | ||
1941 | From Andrew Cagney <[email protected]> | |
1942 | * Makefile.in: Fixup more gotchas from renaming elf32ppcle to | |
1943 | elf32lppc. | |
1944 | ||
28d0c3ce SC |
1945 | Wed May 24 11:23:21 1995 Steve Chamberlain <[email protected]> |
1946 | ||
1947 | Add support for ARM-PE. | |
1948 | * Makefile.in (ALL_EMULATIONS): Add armpe.o | |
1949 | * configure.in: Recognize armpe. | |
1950 | * config/arm-pe.mt: New file. | |
1951 | * emulparams/armpe.sh: New file. | |
1952 | * scripttempl/armpe.sc: New file. | |
1953 | ||
1954 | ||
1955 | Mon May 22 15:19:26 1995 Doug Evans <[email protected]> | |
1956 | ||
1957 | * configure.in (h8300h-*-hms): Deleted | |
1958 | * config/cf-h8300h.mt: Deleted. | |
1959 | ||
1960 | Thu May 18 04:26:10 1995 Ken Raeburn <[email protected]> | |
1961 | ||
1962 | Wed May 10 14:28:16 1995 Richard Earnshaw ([email protected]) | |
1963 | ||
1964 | From David Taylor ([email protected]) | |
1965 | * Makefile.in (ALL_EMULATIONS): Add earmout[lb].o | |
1966 | * configure.in: Recognize arm{,e[lb]-*-aout. | |
1967 | * config/arm[lb]-aout.mt: New files. | |
1968 | * emulparams/armaout[lb].sh: New files. | |
1969 | * scripttempl/armaout.sc: New file. | |
1970 | ||
1971 | Tue May 16 18:27:11 1995 Michael Meissner <[email protected]> | |
1972 | ||
1973 | * config/ppcle-elf32.mt (EMUL): Use elf32lppc, not elf32ppcle, to | |
1974 | be unique in 8 characters for DOS. | |
1975 | ||
1976 | * emulparams/elf32lppc.sh: New file, renamed from elf32ppcle.sh. | |
1977 | * emulparams/elf32ppcle.sh: Deleted. | |
1978 | ||
1979 | Fri May 12 11:03:55 1995 Steve Chamberlain <[email protected]> | |
1980 | Tom Griest <[email protected]> | |
1981 | ||
1982 | Initial support for PE executables (eg NT, win32) | |
1983 | ||
1984 | * Makefile.in (configure.in, ei386pe): Add support. | |
1985 | * ldmain.c (main): Initialize PE argument info. | |
1986 | * ldwrite.c (print_file_stuff): Don't print out .drectve | |
1987 | and .debug section info. | |
1988 | * lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP, | |
1989 | OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap): | |
1990 | Handle new arguments. | |
1991 | * config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc: | |
1992 | New files | |
1993 | ||
dea16e4d SG |
1994 | Wed May 10 18:37:59 1995 Stu Grossman ([email protected]) |
1995 | ||
1996 | * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from text | |
1997 | segment. This allows ld -r to preserve unwind sections. | |
1998 | ||
417ced0d MM |
1999 | Tue May 9 17:19:57 1995 Michael Meissner <[email protected]> |
2000 | ||
2001 | * configure.in: Add little endian PowerPC support. | |
2002 | ||
2003 | * Makefile.in (ALL_EMULATIONS): Add eelf32ppcle.o. | |
2004 | (eelf32ppcle.c): Support for little endian PowerPC. | |
2005 | ||
2006 | * config/ppcle-elf32.mt: New file for little endian PowerPC. | |
2007 | * emulparams/elf32ppcle.sh: Ditto. | |
2008 | ||
fa9dea80 KR |
2009 | Wed May 3 12:56:32 1995 Ken Raeburn <[email protected]> |
2010 | ||
2011 | * ldlang.c (print_output_section_statement): Check | |
2012 | subsection_alignment, instead of checking section_alignment twice. | |
2013 | Noticed by Alan Modra <[email protected]>. | |
2014 | ||
55ac59da JL |
2015 | Tue May 2 16:36:07 1995 Jeff Law ([email protected]) |
2016 | ||
2017 | * configure.in (hppa*-*-lites*): Handle like hppa*-*-*elf*. | |
2018 | ||
2019 | Mon Apr 24 19:21:02 1995 Michael Meissner <[email protected]> | |
2020 | ||
2021 | * ldwrite.c (ldwrite): Before doing anything, reset the error | |
2022 | code. If bfd_final_link returns an error, but the error code is | |
2023 | unset, don't issue an extra message. Assume a correct error | |
2024 | message was already set. | |
2025 | ||
2026 | Fri Apr 14 16:31:24 1995 Ken Raeburn <[email protected]> | |
2027 | ||
2028 | * Makefile.in (ALL_EMULATIONS): Added em68kelf.o. | |
2029 | (em68kelf.o): New target. | |
2030 | * config/m68k-elf.mt, emulparams/m68kelf.sh: New files. | |
2031 | * configure.in: Use them for m68*-*-elf. | |
2032 | ||
2033 | Tue Apr 11 12:02:03 1995 Stan Shebs <[email protected]> | |
2034 | ||
2035 | Merge in support for Mac MPW as a host. | |
2036 | (Old change descriptions retained for informational value.) | |
2037 | ||
2038 | * mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32. | |
2039 | (i386-unknown-coff): Remove. | |
2040 | (sh-hitachi-hms): New target. | |
2041 | (emulation_ofiles): Set correctly for each target. | |
2042 | (version, TDEFINES): Add to makefile fragment. | |
2043 | * mpw-make.in (BISON): Use byacc instead of bison. | |
2044 | (em_*.c): Replace with e*.c everywhere. | |
2045 | (ldgram.h): Separate action from ldgram.c generation. | |
2046 | (LD_PROG): Depend on Version.r. | |
2047 | (Version.r): generate from version info. | |
2048 | * mpw-emipsidt.c: New file, modified for MPW from emipsidt.c. | |
2049 | ||
2050 | * mpw-config.in (m68k-apple-macos, ppc-apple-macos, | |
2051 | i386-unknown-aout, i386-unknown-coff): New targets. | |
2052 | (m68k-aout, m68k-coff): Remove targets. | |
2053 | (mk.tmp): Add definition of EMUL. | |
2054 | ||
2055 | * mpw-config.in (emulname): Set based on target. | |
2056 | (ldemul-list.h): Construct. | |
2057 | * mpw-make.in (install-only): New target. | |
2058 | (install): Depend on install-only. | |
2059 | ||
2060 | * mpw-make.in (bindir): Fix pathname. | |
2061 | (install): Move here from mpw-build.in. | |
2062 | ||
2063 | * mpw-config.in: New file, MPW configuration fragment. | |
2064 | * mpw-make.in: New file, MPW makefile fragment. | |
2065 | (This file is semi-automatically generated from Makefile.in.) | |
2066 | * ldfile.c (slash): If MPW, set to `:'. | |
2067 | * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to | |
2068 | prevent redefinition errors. | |
2069 | ||
7e87eb13 DE |
2070 | start-sanitize-arc |
2071 | Thu Apr 6 20:38:36 1995 Doug Evans <[email protected]> | |
2072 | ||
2073 | * emulparams/arcelf.sh (ENTRY): Define. | |
2074 | end-sanitize-arc | |
2075 | ||
2076 | Tue Apr 4 17:55:18 1995 Steve Chamberlain <[email protected]> | |
2077 | ||
2078 | * ldwrite.c (clone_section): Align clone sections on even | |
2079 | boundaries. | |
2080 | ||
59b4c199 ILT |
2081 | Thu Mar 30 14:32:26 1995 H.J. Lu ([email protected]) |
2082 | ||
2083 | * configure.in: Change linux to default to elf. Using | |
2084 | i[345]86-*-linuxaout will build a linker which defaults to a.out. | |
2085 | * config/i386-laout.mt: Rename from old config/i386-linux.mt. | |
2086 | * config/i386-linux.mt: Rename from old config/i386-lelf.mt. | |
2087 | * config/i386-lelf.mt: Remove. | |
2088 | ||
e920526d ILT |
2089 | Thu Mar 30 13:09:46 1995 Ian Lance Taylor <[email protected]> |
2090 | ||
7e87eb13 DE |
2091 | * ldmain.c (main): If opening the map file fails, call |
2092 | bfd_set_error before calling einfo. | |
2093 | ||
e920526d ILT |
2094 | * ld.texinfo, ld.1: Document the -no-keep-memory option. |
2095 | ||
a735edad ILT |
2096 | Mon Mar 27 11:10:08 1995 Ian Lance Taylor <[email protected]> |
2097 | ||
2098 | * ldmain.c (main): Revert patch of March 10, since the SVR4 linker | |
2099 | does mark shared libraries as executable. | |
2100 | ||
68233e44 ILT |
2101 | Tue Mar 21 15:15:38 1995 Ian Lance Taylor <[email protected]> |
2102 | ||
2103 | * ldlang.c (lang_common): Change power to int. Pass larger values | |
2104 | before smaller values. | |
2105 | (lang_one_common): Treat info as int *. Don't bother to check for | |
2106 | last value, since it is now zero. | |
2107 | ||
f400bbbb ILT |
2108 | Sat Mar 18 01:49:14 1995 Ian Lance Taylor <[email protected]> |
2109 | ||
4da1dcea | 2110 | * ldlang.c (load_symbols): An empty archive is OK. |
f400bbbb ILT |
2111 | |
2112 | Fri Mar 17 16:15:31 1995 Stan Shebs <[email protected]> | |
2113 | ||
2114 | * ldmain.c (progress.h): Include. | |
2115 | (main): Call START_PROGRESS and END_PROGRESS. | |
2116 | ||
86d0248d MM |
2117 | Thu Mar 16 17:17:33 1995 Michael Meissner <[email protected]> |
2118 | ||
2119 | * scripttempl/elfppc.sc: Move _GOT2_END_ after the .ctors and | |
2120 | .dtors sections, so that these pointers get relocated also. | |
2121 | Define the symbols __{C,D}TOR_{LIST,END}__ to mark the beginning | |
2122 | and end of the constructors/destructors. | |
2123 | ||
f2f55b16 ILT |
2124 | Thu Mar 16 13:59:14 1995 Roland McGrath <[email protected]> |
2125 | ||
2126 | * ldlang.c (load_symbols): If whole_archive is true and ENTRY | |
2127 | describes an archive, call bfd_link_add_symbols on each member. | |
2128 | * ldmain.c (whole_archive): New variable. | |
2129 | (main): Initialize it to false. | |
2130 | * ldmain.h: Declare whole_archive. | |
2131 | * lexsup.c (parse_args): Grok --whole-archive switch. | |
ee499d81 | 2132 | * ld.texinfo, ld.1: Document --whole-archive. |
f2f55b16 | 2133 | |
cb5362c5 ILT |
2134 | Thu Mar 16 11:38:48 1995 Ian Lance Taylor <[email protected]> |
2135 | ||
171eb2f2 ILT |
2136 | * genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when not |
2137 | using the default emulation. | |
2138 | ||
cb5362c5 ILT |
2139 | * config/dgux.mh (HOSTING_EMU): Use -m rather than trying to set |
2140 | LDEMULATION. | |
2141 | * config/hppaelf.mh (HOSTING_EMU): Likewise. | |
2142 | ||
e66fa842 ILT |
2143 | Tue Mar 14 12:28:03 1995 Ian Lance Taylor <[email protected]> |
2144 | ||
2145 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_maj | |
2146 | for -lc.N. From H.J. Lu <[email protected]>. | |
2147 | ||
01bc8f35 ILT |
2148 | Fri Mar 10 14:43:48 1995 Ian Lance Taylor <[email protected]> |
2149 | ||
22c41f00 ILT |
2150 | * ldmain.c (main): Don't set EXEC_P if link_info.shared is set. |
2151 | ||
01bc8f35 ILT |
2152 | * ldlex.l: Return -lFILENAME as the token LNAME. |
2153 | * ldgram.y: Add token LNAME. | |
2154 | (input_list): Treat LNAME like NAME, but pass it to | |
2155 | lang_add_input_file as lang_input_file_is_l_enum. | |
2156 | * ld.texinfo: Document using -lFILENAME in INPUT. | |
2157 | ||
2158 | Thu Mar 9 12:21:51 1995 Michael Meissner <[email protected]> | |
2159 | ||
2160 | * ldlang.c (lang_check): If the architectures are compatible call | |
2161 | bfd_merge_private_bfd_data to let the backend do additional | |
2162 | checks. | |
2163 | ||
17948aa1 DE |
2164 | start-sanitize-arc |
2165 | Tue Mar 7 21:10:28 1995 Doug Evans <[email protected]> | |
2166 | ||
2167 | * emulparams/arcelf.sh (OUTPUT_FORMAT): Change to elf32-littlearc. | |
2168 | (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define. | |
2169 | end-sanitize-arc | |
2170 | ||
b939d1f4 ILT |
2171 | Tue Mar 7 00:53:08 1995 Ian Lance Taylor <[email protected]> |
2172 | ||
2173 | * ldemul.c (ldemul_choose_mode): If emulation not recognized, list | |
2174 | all supported emulations. | |
2175 | ||
b73b4131 ILT |
2176 | Mon Mar 6 14:03:50 1995 Ian Lance Taylor <[email protected]> |
2177 | ||
2178 | * ldemul.c (ldemul_list_emulations): New function. | |
2179 | * ldemul.h (ldemul_list_emulations): Declare. | |
2180 | * ldver.c (help): List supported targets and emulations. | |
2181 | ||
2182 | Fri Mar 3 15:40:36 1995 Doug Evans <[email protected]> | |
2183 | ||
2184 | * scripttempl/elf.sc (.debug): Relocate to address 0. | |
2185 | (.debug_srcinfo, .debug_aranges, .debug_pubnames, | |
2186 | .debug_sfnames, .line): Likewise. | |
2187 | ||
30e12576 ILT |
2188 | Fri Mar 3 17:07:14 1995 Ian Lance Taylor <[email protected]> |
2189 | ||
2190 | * emultempl/elf32.em (hold_rel): New static variable. | |
2191 | (gld${EMULATION_NAME}_place_orphan): Place readonly sections with | |
2192 | contents whose names begin with ".rel" after hold_rel. Remove the | |
2193 | assertion which checked for unplaced .rel sections. Don't try to | |
2194 | sort the section into place if place->bfd_section is NULL. | |
2195 | (gld${EMULATION_NAME}_place_section): Set hold_rel to the first | |
2196 | section beginning with ".rel". | |
2197 | ||
2198 | Thu Mar 2 14:34:43 1995 Ian Lance Taylor <[email protected]> | |
2199 | ||
2200 | Doc note from [email protected] (Pierre Willard): | |
2201 | * ld.texinfo: -X and -x work even if -s or -S are not specified. | |
2202 | * ld.1: Similar change. | |
2203 | ||
0b153077 ILT |
2204 | Wed Mar 1 13:51:16 1995 Ian Lance Taylor <[email protected]> |
2205 | ||
2206 | * emulparams/gld960coff.sh (COFF_CTORS): Define. | |
2207 | * scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING. | |
2208 | ||
882c80a7 ILT |
2209 | Tue Feb 28 12:42:56 1995 Ian Lance Taylor <[email protected]> |
2210 | ||
2211 | * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf. | |
2212 | (i[345]86-*-gnuelf*): New target. Use i386-gelf. | |
2213 | * config/i386-lelf.mt: New file. | |
2214 | * config/i386-gelf.mt: New file. | |
2215 | ||
decc32b7 RS |
2216 | Tue Feb 28 10:27:54 1995 Rob Savoye <[email protected]> |
2217 | ||
2218 | * configure.in: Match on mips-ecoff, and default to the IDT | |
2219 | configuration. | |
2220 | ||
2221 | Fri Feb 17 13:06:47 1995 Michael Meissner <[email protected]> | |
2222 | ||
2223 | * scripttempl/elfppc.sc: Add support for .got1 and .got2 sections. | |
2224 | Offset _GLOBAL_OFFSET_TABLE_ 32768 from the start of the GOT area | |
2225 | to double the size of the table. | |
2226 | ||
2227 | start-sanitize-arc | |
2228 | Thu Feb 9 19:03:25 1995 Doug Evans <[email protected]> | |
2229 | ||
2230 | * emulparms/arcelf.sh (TEMPLATE_NAME): Comment out. | |
2231 | end-sanitize-arc | |
2232 | ||
4ad2d640 KR |
2233 | Thu Feb 9 18:29:43 1995 Ken Raeburn <[email protected]> |
2234 | ||
2235 | * Makefile.in (distclean): Do recursive deletion, since ldscripts | |
2236 | is a directory. | |
2237 | ||
1f59c7a7 ILT |
2238 | Thu Feb 9 11:38:22 1995 Ian Lance Taylor <[email protected]> |
2239 | ||
be2213eb ILT |
2240 | * ldmain.c (main): If trace_file_tries is true, and we are using |
2241 | an internal linker script, print out the script. | |
2242 | * ldfile.c (try_open): Reindent function. Make the messages about | |
2243 | opening script files more informative. | |
2244 | ||
1f59c7a7 ILT |
2245 | * lexsup.c (parse_args): For -V, call ldversion with 1, not 0. |
2246 | * ld.texinfo, ld.1: Update accordingly. | |
2247 | ||
3565dee4 ILT |
2248 | Wed Feb 8 17:34:45 1995 Ian Lance Taylor <[email protected]> |
2249 | ||
2250 | * ldlang.c (lang_one_common): Adjust references to common symbol | |
2251 | information for new structure. | |
2252 | ||
5039302a ILT |
2253 | Mon Feb 6 12:17:24 1995 Ian Lance Taylor <[email protected]> |
2254 | ||
23244cd6 ILT |
2255 | * ldmain.c (undefined_symbol): Handle section being NULL. |
2256 | ||
484a0896 | 2257 | * ldctor.c (ldctor_build_sets): Handle bfd_link_hash_defweak. |
8ed88239 ILT |
2258 | * ldexp.c (fold_name): Likewise. |
2259 | * ldlang.c (print_one_symbol): Likewise. | |
2260 | (lang_finish): Likewise. | |
2261 | * ldmain.c (multiple_common): Likewise. | |
2262 | * ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak | |
2263 | renamed to bfd_link_hash_undefweak. | |
2264 | ||
5039302a ILT |
2265 | * scripttempl/alpha.sc: Set address of .data section correctly |
2266 | when -n or -N is used. Patch from Chris G Demetriou | |
2267 | <[email protected]>. | |
2268 | * scripttempl/mips.sc: Similar change. | |
2269 | ||
e802f0be DE |
2270 | Tue Jan 31 16:20:52 1995 Doug Evans <[email protected]> |
2271 | ||
2272 | * ldlang.c (lang_size_sections): Clarify error message when user | |
2273 | specified start addr conflicts with region. Fix resetting of | |
2274 | region pointer. | |
2275 | ||
1abb243d ILT |
2276 | Tue Jan 31 12:37:09 1995 Ian Lance Taylor <[email protected]> |
2277 | ||
2278 | * ldexp.c (fold_name): In case NAME, permit an absolute symbol | |
2279 | in lang_allocating_phase_enum. | |
2280 | ||
2281 | Mon Jan 30 11:33:25 1995 Ian Lance Taylor <[email protected]> | |
2282 | ||
2283 | * Makefile.in (distclean): Depend upon clean. Don't bother to | |
2284 | remove files which will be removed by clean. From patch by | |
2285 | [email protected] (Alan Modra). | |
2286 | ||
50708d56 ILT |
2287 | Fri Jan 27 16:27:34 1995 Ian Lance Taylor <[email protected]> |
2288 | ||
2289 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For | |
2290 | a MIPS target, clobber the size of all but the first input | |
2291 | .reginfo section to be 0, so that lang_size_sections sets the | |
2292 | correct size for the output .reginfo section. | |
2293 | ||
ae02b41c ILT |
2294 | Thu Jan 26 19:53:37 1995 Ian Lance Taylor <[email protected]> |
2295 | ||
2296 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
2297 | Remove unused variable is. | |
2298 | ||
5f16938d MM |
2299 | Thu Jan 26 12:33:05 1995 Michael Meissner <[email protected]> |
2300 | ||
2301 | * configure.in: Add support for powerpc-*-eabi. | |
2302 | ||
2303 | * scripttempl/elfppc.sc: New file for PowerPC embedded ABI | |
2304 | support. | |
2305 | ||
2306 | * emulparams/elf32ppc.sh (SCRIPT_NAME): Use elfppc.sc instead of | |
2307 | elf.sc, which defines some new symbols PowerPC elf needs. | |
2308 | ||
6ade1673 ILT |
2309 | Tue Jan 24 10:32:15 1995 Ian Lance Taylor <[email protected]> |
2310 | ||
2311 | * ldctor.c (ldctor_add_set_entry): Don't dump core if a | |
2312 | constructor entry is in the absolute section. | |
2313 | ||
c1e128e5 ILT |
2314 | Mon Jan 23 13:58:13 1995 Ian Lance Taylor <[email protected]> |
2315 | ||
2316 | * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu. | |
2317 | * config/i386-gnu.mt: New file. Include ELF support. | |
2318 | ||
2319 | Thu Jan 19 16:22:11 1995 Ian Lance Taylor <[email protected]> | |
2320 | ||
2321 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If | |
2322 | there are any input sections named .gnu.warning, treat them as | |
2323 | containing a warning message to be printed by the linker, and | |
2324 | clobber the size so that the message is not copied into the output | |
2325 | file. | |
2326 | * scripttempl/elf.sc: Put .gnu.warning sections into the .text | |
2327 | section. | |
2328 | ||
506f4ede SC |
2329 | Sun Jan 15 16:45:00 1995 Steve Chamberlain <sac@splat> |
2330 | ||
2331 | * configure.in (w65-*-*): New target. | |
2332 | * Makefile.in: Update. | |
2333 | * scripttempl/w65.sc: New. | |
2334 | * config/coff-w65.mt: New. | |
2335 | ||
cc37d01d ILT |
2336 | Thu Jan 12 01:32:25 1995 Ian Lance Taylor <[email protected]> |
2337 | ||
2338 | * ldlang.c (lang_place_orphans): Don't ignore files with | |
2339 | just_syms_flag set. Instead, put all their sections in | |
2340 | bfd_abs_section_ptr, using the section VMA as the output_offset. | |
2341 | ||
cc38364d KR |
2342 | Wed Jan 11 22:59:09 1995 Ken Raeburn <[email protected]> |
2343 | ||
2344 | * ldctor.c (ldctor_build_sets): Don't use `const' with typedef | |
2345 | name `reloc_howto_type', since it's now defined to be const. | |
2346 | * ldlang.c (lang_add_reloc): Ditto. | |
2347 | * ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto. | |
2348 | ||
93a0630f ILT |
2349 | Wed Jan 11 11:24:45 1995 Ian Lance Taylor <[email protected]> |
2350 | ||
2351 | * ldexp.c (fold_binary): Adding or subtracting an absolute value | |
2352 | to a relative value does not require forcing the relative value to | |
2353 | be absolute. Also, reindent function. | |
2354 | ||
fa440b5a SC |
2355 | Wed Dec 28 22:05:52 1994 Steve Chamberlain ([email protected]) |
2356 | ||
2357 | * ldwrite.c (clone_section): Create a symbol with the | |
2358 | same name as the section. | |
2359 | ||
885ae6b9 SC |
2360 | Mon Dec 19 14:02:13 1994 Steve Chamberlain ([email protected]) |
2361 | ||
2362 | * ld.h (split_by_reloc, split_by_file): New flags. | |
2363 | * ldwrite.c (clone_section, split_sections): New functions. | |
2364 | * lexsup.c (parse_args): Understand new split options. | |
2365 | ||
2366 | start-sanitize-arc | |
2367 | Tue Dec 13 16:45:18 1994 Doug Evans <[email protected]> | |
2368 | ||
2369 | * configure.in (arc-elf): New target. | |
2370 | * Makefile.in (earcelf.c): New target. | |
2371 | * config/arc-elf.mt: New file. | |
2372 | * emulparms/arcelf.sh: New file. | |
2373 | end-sanitize-arc | |
2374 | ||
4e59f36d ILT |
2375 | Fri Dec 9 17:22:55 1994 Ian Lance Taylor <[email protected]> |
2376 | ||
2377 | * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to | |
2378 | .data segment. They must be writable when creating a shared | |
2379 | library. From H.J. Lu <[email protected]>. | |
2380 | ||
2381 | Fri Dec 2 14:09:00 1994 Ian Lance Taylor <[email protected]> | |
2382 | ||
2383 | * emultempl/miposecoff.em: New file. | |
2384 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff. | |
2385 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise. | |
2386 | * scripttempl/mips.sc: Put .rel.sdata sections in .text, and | |
2387 | provide __runtime_reloc_start and __runtime_reloc_stop if they are | |
2388 | used. Align _fdata to a 16 byte boundary. | |
2389 | * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than | |
2390 | generic.em. | |
2391 | (emipsidtl.c): Likewise. | |
2392 | (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest. | |
2393 | ||
2394 | * ld.h (args_type): Add new field embedded_relocs. | |
2395 | * ldemul.h (ldemul_after_open, after_open_default): Declare. | |
2396 | (ld_emulation_xfer_struct): Add new field after_open. | |
2397 | * ldemul.c (ldemul_after_open): New function. | |
2398 | (after_open_default): New function. | |
2399 | * ldlang.c (lang_process): Call ldemul_after_open. | |
2400 | * lexsup.c (parse_args): Handle --embedded-relocs. | |
2401 | * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize | |
2402 | new after_open field to after_open_default. | |
2403 | * emultempl/generic.em, emultempl/gld960.em: Likewise. | |
2404 | * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise. | |
2405 | * emultempl/linux.em, emultempl/m88kbcs.em: Likewise. | |
2406 | * emultempl/sunos.em, emultempl/vanilla.em: Likewise. | |
2407 | * ld.texinfo, ld.1: Mention -embedded-relocs. | |
2408 | ||
e93e87cb SC |
2409 | Wed Nov 23 22:04:47 1994 Steve Chamberlain ([email protected]) |
2410 | ||
2411 | * Makefile.in: Add eshl.o. | |
2412 | * config/coff-sh.mt: Add shl emulation. | |
2413 | ||
18368f46 ILT |
2414 | Tue Nov 22 11:55:37 1994 Ian Lance Taylor <[email protected]> |
2415 | ||
2416 | * scripttempl/elf.sc: Fill .text section with NOPS. From Eric | |
2417 | Youngdale <[email protected]>. | |
2418 | ||
60822a36 ILT |
2419 | Thu Nov 17 14:39:48 1994 Ian Lance Taylor <[email protected]> |
2420 | ||
2421 | Patches from [email protected] (Martin Pirker). | |
2422 | * config/i386linux.mh: New file; set HOSTING_CRT0. | |
2423 | * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is | |
2424 | /usr/lib, since that is already in LIB_PATH. | |
2425 | ||
831d7ac4 JL |
2426 | Wed Nov 16 10:03:03 1994 Jeff Law ([email protected]) |
2427 | ||
15ec1d5c JL |
2428 | * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start |
2429 | address. | |
2430 | (.data, .bss): If "-N", then place the data/bss just after the end | |
2431 | of the .text section rather than at the default 0x40000000. | |
2432 | ||
831d7ac4 JL |
2433 | * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the |
2434 | text segment. | |
2435 | ||
fd41732a ILT |
2436 | Sat Nov 12 15:55:56 1994 Ian Lance Taylor ([email protected]) |
2437 | ||
831d7ac4 JL |
2438 | Patches from Eric Youngdale <[email protected]>: |
2439 | * ldlang.c (lang_finish): Don't warn if entry symbol not found | |
2440 | when generating a shared library. | |
2441 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if | |
2442 | attempting to place an orphaned relocation section when generating | |
2443 | a dynamically linked object. | |
2444 | ||
fd41732a ILT |
2445 | * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to |
2446 | _start. | |
2447 | ||
5efddb2e ILT |
2448 | Fri Nov 11 14:27:23 1994 Ian Lance Taylor <[email protected]> |
2449 | ||
2450 | * ld.h (args_type): Add field export_dynamic. | |
2451 | * lexsup.c (parse_args): Recognize --export-dynamic. | |
2452 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
2453 | Pass export_dynamic argument to bfd_elf32_size_dynamic_sections. | |
2454 | ||
809391bd ILT |
2455 | Wed Nov 9 12:47:11 1994 Ian Lance Taylor <[email protected]> |
2456 | ||
2457 | * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where | |
2458 | we allocate common symbols. | |
2459 | ||
cd1d4f83 ILT |
2460 | Tue Nov 8 17:50:43 1994 Eric Youngdale ([email protected]) |
2461 | ||
2462 | * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and | |
2463 | .rela.fini to the list of .rel* sections. | |
2464 | ||
6a02a973 ILT |
2465 | Tue Nov 8 17:47:45 1994 Ian Lance Taylor <[email protected]> |
2466 | ||
2467 | * ldlang.c (load_symbols): Add new argument place. Only accept | |
2468 | linker scripts if place is not NULL. Put commands found in an | |
2469 | assumed linker script into place. | |
2470 | (lookup_name): Pass NULL as place argument to load_symbols. | |
2471 | (open_input_bfds): In lang_input_statement_enum case, pass a place | |
2472 | argument to load_symbols, and store any new statements after the | |
2473 | current one. | |
2474 | ||
2475 | Mon Nov 7 15:53:02 1994 Ken Raeburn <[email protected]> | |
2476 | ||
2477 | * ldver.c (ldversion): Bump to 2.5.3. | |
2478 | ||
ca8f2f0d KR |
2479 | Fri Nov 4 15:11:26 1994 Ken Raeburn <[email protected]> |
2480 | ||
2481 | * Makefile.in (e*nbsd.c): Fix typo in dependencies. | |
2482 | ||
0128cbae KR |
2483 | Thu Nov 3 19:35:44 1994 Ken Raeburn <[email protected]> |
2484 | ||
2485 | * Makefile.in (check): Add missing "else true" clause. | |
2486 | ||
2487 | * emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out". | |
2488 | ||
2489 | * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default | |
2490 | entry point to "start". Align at end of each section to 0x200. | |
2491 | Start .text section 0x1000 later. Add _etext, _edata, _end | |
2492 | symbols. | |
2493 | ||
52329a29 ILT |
2494 | Wed Nov 2 12:17:49 1994 Ian Lance Taylor <[email protected]> |
2495 | ||
2496 | * ldctor.c (ldctor_add_set_entry): Don't permit a set to be | |
2497 | composed of different object file formats. | |
2498 | (ldctor_build_sets): If the output format does not support the | |
2499 | reloc, and we are not generating a relocateable link, try getting | |
2500 | the reloc from the input format. | |
2501 | ||
e574ddd4 C |
2502 | Tue Nov 1 10:30:19 1994 J.T. Conklin ([email protected]) |
2503 | ||
2504 | * Makefile.in (ALL_EMULATIONS): Added em68knbsd.o. | |
2505 | (em68knbsd.c): New target. | |
2506 | ||
2507 | * config/m68k-nbsd.mt: New file. | |
2508 | * emulparams/m68knbsd.sh: New file. | |
2509 | * configure.in (m68*-*-netbsd*): Use above configs. | |
2510 | ||
fbf967b0 ILT |
2511 | Mon Oct 31 19:35:17 1994 Ian Lance Taylor <[email protected]> |
2512 | ||
2513 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find an | |
2514 | appropriately named static library, stop the search at that | |
2515 | directory. | |
2516 | ||
32286e08 C |
2517 | Wed Oct 26 13:59:12 1994 J.T. Conklin ([email protected]) |
2518 | ||
2519 | * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o | |
2520 | and esparcnbsd.o; sorted entries. | |
2521 | (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets. | |
2522 | ||
2523 | * config/netbsd532.mt: Removed. | |
2524 | * emulparams/netbsd532.sh: Removed. | |
2525 | ||
2526 | * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files. | |
2527 | * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files. | |
2528 | * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, | |
2529 | sparc*-*-netbsd*): Use above configs. | |
2530 | ||
fdfe873a ILT |
2531 | Tue Oct 25 11:47:10 1994 Ian Lance Taylor <[email protected]> |
2532 | ||
2533 | * ldmain.c (multiple_common): One of the types may now be | |
2534 | bfd_link_hash_indirect. The old BFD argument may be NULL. | |
2535 | ||
3286598f ILT |
2536 | Thu Oct 20 22:01:39 1994 Ian Lance Taylor ([email protected]) |
2537 | ||
2538 | * configure.in: Add * at the end of m68k-hp-hpux. | |
2539 | ||
81100e78 ILT |
2540 | Tue Oct 18 15:58:39 1994 Ian Lance Taylor <[email protected]> |
2541 | ||
2542 | * ldlex.l: Cast assignment to yy_ch_buf field to char *, not to | |
2543 | YY_CHAR *. | |
2544 | ||
51bdfd9b C |
2545 | Mon Oct 17 14:53:16 1994 J.T. Conklin ([email protected]) |
2546 | ||
2547 | * scripttempl/nw.sc: Gather constructors and destructors and | |
2548 | define __CTOR__LIST__ and __DTOR_LIST__ appropriately. | |
2549 | ||
54d64846 C |
2550 | Fri Oct 14 14:35:38 1994 J.T. Conklin ([email protected]) |
2551 | ||
0a1e63c4 KR |
2552 | * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o. |
2553 | (ei386nw.c, eppcnw.c): New targets. | |
2554 | ||
2555 | * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh, | |
51bdfd9b | 2556 | scripttempl/nw.sc: New files, for i386 and powerpc netware. |
0a1e63c4 KR |
2557 | |
2558 | * configure.in: Changed netware ld_target name to be {i386,ppc}-nw | |
2559 | instead of {i386,ppc}-elf. | |
2560 | ||
2561 | * configure.in (sparc*-*-netware): Removed. There is no such | |
2562 | thing anymore. | |
2563 | ||
54d64846 C |
2564 | * ldint.texinfo: Move misplaced `@end iftex'. |
2565 | ||
81d191be ILT |
2566 | Fri Oct 14 12:02:18 1994 Eric Youngdale ([email protected]) |
2567 | ||
2568 | * scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and | |
2569 | .rela.dtors to the list of .rel* sections. | |
2570 | ||
f608f62e KR |
2571 | Thu Oct 13 14:16:27 1994 Ken Raeburn <[email protected]> |
2572 | ||
0a1e63c4 KR |
2573 | * ldver.c (ldversion): Update to version 2.5. |
2574 | * Version 2.5 released. | |
2575 | ||
f608f62e KR |
2576 | * configure.in (all_targets): Handle i386-linux*. |
2577 | ||
243f6d0d ILT |
2578 | Thu Oct 13 11:24:33 1994 Ian Lance Taylor <[email protected]> |
2579 | ||
2580 | * scripttempl/aout.sc: Set _etext and __etext to ., not | |
2581 | ${DATA_ALIGNMENT}. This is compatible with SunOS, and, with luck, | |
2582 | will not break any other system. From Eric Valette | |
2583 | <[email protected]>. | |
2584 | ||
a82ae15d ILT |
2585 | Wed Oct 12 16:22:58 1994 Ian Lance Taylor <[email protected]> |
2586 | ||
2587 | * lexsup.c (parse_args): Change -V to be a synonym for -v. Add | |
2588 | --verbose to get the old -V behaviour. | |
2589 | * ld.1, ld.texinfo: Document this change. | |
2590 | ||
262c8763 ILT |
2591 | Tue Sep 27 14:56:20 1994 Ian Lance Taylor ([email protected]) |
2592 | ||
a82ae15d ILT |
2593 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove |
2594 | assertion, since it could fail with a user defined linker script. | |
2595 | ||
aa61b923 ILT |
2596 | * ldexp.c (fold_name): For DEFINED case, don't try to look up the |
2597 | name in the hash table during the first phase--the hash table does | |
2598 | not even exist at that point, much less have the right value. | |
2599 | ||
262c8763 ILT |
2600 | * Makefile.in (CC): Define. |
2601 | (CXX): Move definition, change from g++ to gcc. | |
2602 | (EXPECT, RUNTEST): Copy definitions from top level Makefile.in. | |
2603 | (RUNTEST_CC, RUNTEST_CFLAGS): Remove. | |
2604 | (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove. | |
2605 | (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in. | |
2606 | (.cc.o): Comment out. | |
2607 | (testdir): Remove. | |
2608 | (site.exp): Don't create testdir or set tmpdir. | |
2609 | (check): Run checks even if not running native. Use CC_FOR_TARGET | |
2610 | instead of RUNTEST_CC, and likewise for CXX. | |
2611 | (cdtest targets): Comment out. | |
2612 | * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once. | |
2613 | * cdtest-bar.cc, cdtest-foo.cc, cdtest-foo.h: Remove. | |
2614 | * cdtest-main.cc, cdtest.exp: Remove. | |
2615 | ||
2150c3ee ILT |
2616 | Mon Sep 26 11:40:30 1994 Ian Lance Taylor ([email protected]) |
2617 | ||
262c8763 ILT |
2618 | * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS |
2619 | file naming problems. | |
2620 | * emulparams/elf32lmip.sh: Rename from elf32mipl.sh. | |
2621 | * Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to | |
2622 | eelf32bmip.o and eelf32mipl.o to eelf32lmip.o. | |
2623 | (eelf32bmip.c): Rename from eelf32mipb.c. Use elf32bmip.sh. | |
2624 | (eelf32lmip.c): Rename from eelf32mipl.c. Use elf32lmip.sh. | |
2625 | * config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb. | |
2626 | * config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl. | |
2627 | ||
38189778 ILT |
2628 | * genscripts.sh: Always search /usr/local/TARGET/lib. |
2629 | ||
2150c3ee ILT |
2630 | * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".". |
2631 | ||
2632 | Fri Sep 23 15:05:49 1994 Ken Raeburn <[email protected]> | |
2633 | ||
2634 | * configure.in: Handle i386-bsdi* targets like i386-bsd. | |
2635 | ||
a2eea823 ILT |
2636 | Fri Sep 23 00:06:59 1994 Ian Lance Taylor ([email protected]) |
2637 | ||
2638 | * lexsup.c (parse_args): Add support for -a for HP/UX | |
2639 | compatibility. | |
2640 | ||
2641 | * lexsup.c (parse_args): -c takes an argument. | |
2642 | ||
f1781adc ILT |
2643 | Tue Sep 20 14:35:27 1994 Ian Lance Taylor ([email protected]) |
2644 | ||
86037281 ILT |
2645 | * ld.h (args_type): Add new field endian. |
2646 | * lexsup.c (parse_args): Handle -EB and -EL by setting | |
2647 | command_line.endian. | |
2648 | * ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments. | |
2649 | * ldlang.c (lang_add_output_format): Add arguments big and little. | |
2650 | If command_line.endian is set, use it to select big or little | |
2651 | rather than the default. Changed all callers. | |
2652 | * ldlang.h (lang_add_output_format): Update declaration. | |
2653 | * emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and | |
2654 | LITTLE_OUTPUT_FORMAT. | |
2655 | * emulparams/elf32mipl.sh: Likewise. | |
2656 | * emulparams/mipsbig.sh: Likewise. | |
2657 | * emulparams/mipsbsd.sh: Likewise. | |
2658 | * emulparams/mipsidt.sh: Likewise. | |
2659 | * emulparams/mipsidtl.sh: Likewise. | |
2660 | * emulparams/mipslit.sh: Likewise. | |
2661 | * scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and | |
2662 | LITTLE_OUTPUT_FORMAT if not already defined. Pass them to | |
2663 | OUTPUT_FORMAT. | |
2664 | * scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and | |
2665 | LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT. | |
2666 | * scripttempl/mipsbsd.sc: Likewise. | |
2667 | ||
2668 | * Makefile.in (ldgram.h): Make separate target from ldgram.c, | |
2669 | depending upon ldgram.c, so that a parallel make does not try to | |
2670 | build both at once. | |
2671 | ||
f1781adc | 2672 | * configure.in (mips*el-elf*): New target. |
5ccef180 ILT |
2673 | * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o. |
2674 | (eelf32mipl.c): New target. | |
86037281 | 2675 | |
f1781adc ILT |
2676 | * config/mipsl-elf32.mt: New file. |
2677 | * emulparams/elf32mipl.sh: New file. | |
2678 | ||
006ae0e4 ILT |
2679 | Fri Sep 16 12:16:20 1994 Ian Lance Taylor ([email protected]) |
2680 | ||
2681 | * ldmain.c (main): Rather than prohibiting ld -r -s, treat it as | |
2682 | ld -r -S -x. | |
2683 | ||
7aa8f496 ILT |
2684 | Thu Sep 15 13:05:44 1994 Ian Lance Taylor ([email protected]) |
2685 | ||
2686 | * ldmisc.c (vfinfo): Print BFD file name as well as file name | |
2687 | returned by find_nearest_line, in case the file name is something | |
2688 | unhelpful such as a .h file. Handle %u. | |
2689 | ||
467a0380 SC |
2690 | Wed Sep 14 12:49:12 1994 Steve Chamberlain ([email protected]) |
2691 | ||
2692 | * ldlang.c (lang_do_assignments): Make sure output statement | |
2693 | has an attached bfd_section before trying to dereference it. | |
2694 | ||
8bff41c1 ILT |
2695 | Wed Sep 14 12:48:09 1994 Ian Lance Taylor ([email protected]) |
2696 | ||
809ee7e0 ILT |
2697 | * ld.h (ld_config_type): Add new field warn_once. |
2698 | * ldmain.c (undefined_symbol): Handle -warn-once. | |
2699 | * lexsup.c (parse_args): Recognize -warn-once. | |
2700 | * ld.texinfo (Options): Document -warn-once. | |
2701 | * ld.1: Likewise. | |
2702 | ||
cc23cc69 ILT |
2703 | * ldmisc.c (vfinfo): Handle %D as %C, but never print the function |
2704 | name. For %C, print the function name on a separate line, to keep | |
2705 | the length of error messages under control. | |
2706 | * ldmain.c (multiple_definition): Use %D for ``first defined | |
2707 | here.'' | |
2708 | (undefined_symbol): Use %D for ``more undefined references | |
2709 | follow''. | |
2710 | ||
8bff41c1 ILT |
2711 | * ldmisc.c (multiple_warn): Remove; no longer used. |
2712 | * ldmisc.h (multiple_warn): Don't declare. | |
2713 | ||
3deb20fb SC |
2714 | Tue Sep 13 20:47:58 1994 Steve Chamberlain ([email protected]) |
2715 | ||
2716 | * ldlang.c (print_output_section_statement): Print all lines | |
2717 | to the map file. | |
2718 | ||
0b3499f6 ILT |
2719 | Tue Sep 13 16:30:11 1994 Ian Lance Taylor ([email protected]) |
2720 | ||
2721 | * ldlang.c (load_symbols): Check for archive before object. Use | |
2722 | bfd_check_format_matches, and, if ambiguous, print a list of | |
2723 | matching formats. If file format is not recognized, treat file as | |
2724 | a linker script. | |
2725 | * ldgram.y (yyerror): If assuming an object file is a script, | |
2726 | mention that. Tweak the format of the error messages. | |
2727 | * ldlex.l (lex_warn_invalid): If assuming an object is a script, | |
2728 | guess that this is not actually a script, and just report that the | |
2729 | file format was not recognized. | |
2730 | * ld.texinfo (Options): Admit that -( may be used more than once. | |
2731 | Add note that unrecognized object files are now treated as linker | |
2732 | scripts. | |
2733 | ||
2734 | * ldfile.c (ldfile_input_filename): Make const. | |
2735 | (ldfile_assumed_script): New variable. | |
2736 | (try_open): Change arguments types to const. | |
2737 | (ldfile_find_command_file): Likewise. | |
2738 | (ldfile_open_command_file): Likewise. Also, set lineno to 1. | |
2739 | * ldfile.h: Update declarations for ldfile.c changes. | |
2740 | * ldlex.l: Include <ctype.h>. | |
2741 | (file_name_stack): Change to be const char *. | |
2742 | (lineno_stack): New static variable. | |
2743 | (<<EOF>>): Set lineno as well as ldfile_input_filename. | |
2744 | (lex_push_file): Make name argument const. Initialize | |
2745 | lineno_stack entry. | |
2746 | (lex_redirect): Initialize lineno_stack entry. | |
2747 | (lex_warn_invalid): Handle non printable characters nicely. | |
2748 | * ldlex.h (lex_push_file): Declare second argument as const. | |
2749 | ||
2750 | * ldgram.y (ifile_p1): Recognize GROUP. | |
2751 | * ldlex.l: Recognize GROUP. | |
2752 | * ld.texinfo (Option Commands): Document GROUP. | |
2753 | ||
2fd87dbc ILT |
2754 | Mon Sep 12 17:04:27 1994 Ian Lance Taylor ([email protected]) |
2755 | ||
2756 | * config/m68klynx.mh: New file. | |
2757 | ||
cb2af5cf JL |
2758 | Mon Sep 12 01:50:03 1994 Jeff Law ([email protected]) |
2759 | ||
2760 | * emultempl/hppaelf.em: Add newlines to the error messages. | |
2761 | ||
7b63ff76 ILT |
2762 | Sat Sep 10 16:05:38 1994 Ian Lance Taylor ([email protected]) |
2763 | ||
2764 | * config/i386lynx.mh: New file. | |
2765 | * scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text | |
2766 | unless CONSTRUCTING. | |
2767 | ||
dd37f215 ILT |
2768 | Thu Sep 8 13:25:24 1994 Ian Lance Taylor ([email protected]) |
2769 | ||
2770 | * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32. | |
2771 | (GENERATE_SHLIB_SCRIPT): Define as yes. | |
2772 | (DYNAMIC_LINK): Define as false. | |
2773 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): | |
2774 | Initialize config.dynamic_link to DYNAMIC_LINK if it is defined. | |
2775 | (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end. | |
2776 | * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than | |
2777 | generic.em. | |
2778 | ||
fa3539fe SC |
2779 | Thu Sep 8 16:30:37 1994 Steve Chamberlain ([email protected]) |
2780 | ||
2781 | * scripttempl/h8500b.sc: Put rdata stuff into own segment. | |
2782 | ||
a864a26e ILT |
2783 | Thu Sep 8 13:25:24 1994 Ian Lance Taylor ([email protected]) |
2784 | ||
2785 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define; | |
2786 | .got section is now explicitly handled in elf.sc. | |
2787 | ||
2788 | Wed Sep 7 13:08:34 1994 Ian Lance Taylor ([email protected]) | |
2789 | ||
2790 | * scripttempl/alpha.sc: Redo script to set . outside of sections | |
2791 | and not bother to explicitly specify section addresses. | |
2792 | Explicitly place .sdata section. | |
2793 | ||
82950a80 ILT |
2794 | Tue Sep 6 23:51:45 1994 Ian Lance Taylor ([email protected]) |
2795 | ||
2796 | * scripttempl/m68kcoff.sc: Put .bss in data segment. | |
2797 | ||
2798 | * scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of | |
2799 | 0, and to only be marked as NOLOAD if relocating. | |
2800 | * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise. | |
2801 | * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise. | |
2802 | * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise. | |
2803 | * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise. | |
2804 | * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise. | |
2805 | * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise. | |
2806 | * scripttempl/sparclynx.sc: Likewise. | |
2807 | ||
2808 | Sun Sep 04 17:58:10 1994 Richard Earnshaw ([email protected]) | |
318b02b6 KR |
2809 | |
2810 | * Makefile.in, configure.in: Add support (disabled) the ARM/RISCiX. | |
2811 | * config/riscix.mt, emulparams/riscix.sh, scripttempl/riscix.sc: | |
2812 | New files. | |
2813 | ||
3b21918a ILT |
2814 | Tue Aug 30 11:48:08 1994 Eric Youngdale ([email protected]) |
2815 | ||
2816 | * ld.h (args_type): Add field soname. | |
2817 | * lexsup.c (parse_args): Handle -soname argument. | |
2818 | * emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections, | |
2819 | pass soname. | |
2820 | * ld.texinfo: Document -soname. | |
2821 | ||
69927008 ILT |
2822 | Mon Aug 29 15:21:50 1994 Ian Lance Taylor ([email protected]) |
2823 | ||
2824 | * ldlang.c (lang_check): Don't try to set the architecture if the | |
2825 | input and output files are incompatible. Just warn. | |
2826 | ||
6d445436 ILT |
2827 | Wed Aug 24 12:52:30 1994 Ian Lance Taylor ([email protected]) |
2828 | ||
2829 | * configure.in: Change i[34]86 to i[345]86. | |
2830 | ||
2831 | Sun Aug 21 16:17:19 1994 Ian Lance Taylor ([email protected]) | |
2832 | ||
2833 | * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0. | |
2834 | ||
b400f56d ILT |
2835 | Thu Aug 18 15:37:45 1994 Ian Lance Taylor ([email protected]) |
2836 | ||
2837 | Make the ELF linker handle orphaned sections reasonably. Also, | |
2838 | define __start_SECNAME and __stop_SECNAME around sections whose | |
2839 | names can be represented in C, for the benefit of symbol sets in | |
2840 | glibc. | |
2841 | * ldemul.h (ldemul_place_orphan): Declare. | |
2842 | (ld_emulation_xfer_type): Add place_orphan field. | |
2843 | * ldemul.c (ldemul_place_orphan): New function. | |
2844 | * ldlang.h (wild_doit): Declare. | |
2845 | * ldlang.c (wild_doit): Make nonstatic. | |
2846 | (lang_place_orphans): Call ldemul_place_orphan. | |
2847 | * emultempl/elf32.em: Include <ctype.h> and "ldgram.h". | |
2848 | (hold_section, hold_use, hold_text, hold_data, hold_bss): New | |
2849 | static variables. | |
2850 | (gld${EMULATION_NAME}_place_orphan): New static function. | |
2851 | (gld${EMULATION_NAME}_place_section): New static function. | |
2852 | (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field. | |
2853 | ||
9e5a036f ILT |
2854 | Tue Aug 16 00:17:20 1994 Eric Youngdale ([email protected]) |
2855 | ||
2856 | * scripttempl/aout.sc: Add .linux-dynamic after .data. | |
2857 | ||
c1a9aaa3 ILT |
2858 | Tue Aug 16 00:08:22 1994 Ian Lance Taylor ([email protected]) |
2859 | ||
9e5a036f ILT |
2860 | * lexsup.c (parse_args) Treat --dll-verbose as --version, for |
2861 | Linux compatibility. From [email protected] (H.J. Lu). | |
c1a9aaa3 | 2862 | |
1fee94ec ILT |
2863 | Mon Aug 15 17:17:33 1994 Ian Lance Taylor ([email protected]) |
2864 | ||
2865 | * ldexp.h (exp_get_abs_int): Declare. | |
2866 | ||
2867 | Sat Aug 6 01:45:39 1994 Steve Chamberlain ([email protected]) | |
2868 | ||
2869 | * ldlang.c (lang_do_assignments): Handle complex AT's better. | |
2870 | * ldexp.c (exp_get_abs_int): New function. | |
2871 | ||
28d1c6ec JM |
2872 | Fri Aug 5 20:55:55 1994 Jason Molenda ([email protected]) |
2873 | ||
2874 | * configure.in: add i960-nindy-coff support. | |
2875 | ||
63936abc JMD |
2876 | Thu Aug 4 14:45:50 1994 Ian Lance Taylor ([email protected]) |
2877 | ||
2878 | * ldlex.l (yy_create_string_buffer): Handle change to internal | |
2879 | interface in flex 2.4.7. | |
2880 | ||
bb329c20 JMD |
2881 | Tue Aug 2 11:52:06 1994 Eric Youngdale ([email protected]) |
2882 | ||
2883 | * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement): | |
2884 | New function; add 0x20 to any use of -Ttext. | |
2885 | (gld${EMULATION_NAME}_create_output_section_statements): New | |
2886 | function. | |
2887 | (ld_${EMULATION_NAME}_emulation): Use the new function | |
2888 | gld${EMULATION_NAME}_create_output_section_statements. | |
2889 | ||
a1ed2435 ILT |
2890 | Mon Aug 1 15:50:44 1994 Ian Lance Taylor ([email protected]) |
2891 | ||
2892 | * scripttempl/mips.sc: Redo script to set . outside of sections | |
2893 | and not bother to explicitly specify section addresses. | |
2894 | ||
b019d460 ILT |
2895 | Tue Jul 26 11:02:35 1994 Ian Lance Taylor ([email protected]) |
2896 | ||
2897 | * scripttempl/elf.sc: Copy several more relocation sections into | |
2898 | the output. Put .got.plt sections into .got. | |
2899 | ||
309c8153 ILT |
2900 | Fri Jul 22 12:15:36 1994 Ian Lance Taylor ([email protected]) |
2901 | ||
31ddb156 ILT |
2902 | * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end. |
2903 | ||
2904 | Add a new script operator, PROVIDE, to define a symbol only if it | |
2905 | is needed. | |
2906 | * ldgram.y (PROVIDE): New token. | |
2907 | (assignment): Accept PROVIDE. | |
2908 | * ldlex.l (PROVIDE): New token. | |
2909 | * ldexp.h (node_type): Add etree_provide to node_class enum. | |
2910 | (exp_provide): Declare. | |
2911 | * ldexp.c (exp_fold_tree): Handle etree_provide. | |
2912 | (exp_provide): New function. | |
2913 | (exp_print_tree): Handle etree_provide. | |
2914 | * ld.texinfo: Document PROVIDE. | |
2915 | ||
36c6e8c3 ILT |
2916 | * ldlang.c (lang_common): Pass desired alignment to |
2917 | lang_one_common as power of two. | |
2918 | (lang_one_common): Get common symbol alignment from linker hash | |
2919 | table entry. Treat desired alignment as a power of two. | |
2920 | ||
309c8153 ILT |
2921 | * ldlang.c (wild_section): Attach all section with the given name, |
2922 | not just the first one. If there is no name, attach all sections | |
2923 | even if the SEC_IS_COMMON flag is set. | |
2924 | ||
a1ad915d ILT |
2925 | Wed Jul 20 15:49:27 1994 Ian Lance Taylor ([email protected]) |
2926 | ||
2927 | * ld.h (args_type): Add field rpath. | |
2928 | * lexsup.c (S_ISDIR): Define if not already defined. | |
2929 | (parse_args): Add support for -rpath. If -R is used to name a | |
2930 | directory, treat it as -rpath for Solaris compatibility. | |
2931 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
2932 | Pass command_line.rpath to bfd_elf32_size_dynamic_sections. | |
2933 | * ldmain.c (main): Initialize command_line.rpath to NULL. | |
2934 | * ld.texinfo: Document -rpath option. | |
2935 | ||
cdf71377 KR |
2936 | Sun Jul 10 00:33:24 1994 Ian Dall ([email protected]) |
2937 | ||
2938 | * emulparams/pc532machaout.sh: New file. Pc532 mach script | |
2939 | parameters. | |
2940 | ||
2941 | * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters. | |
2942 | ||
2943 | * config/pc532mach.mt: New file. Pc532 mach target support. | |
2944 | ||
2945 | * config/pc532mach.mh: New file. Pc532 mach host support. | |
2946 | ||
2947 | * config/netbsd532.mt: New file. Netbsd 532 target support. | |
2948 | ||
2949 | * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support. | |
2950 | ||
2951 | * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c | |
2952 | dependency. | |
2953 | ||
db770dfa ILT |
2954 | Fri Jul 8 10:57:02 1994 Ian Lance Taylor ([email protected]) |
2955 | ||
2956 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use | |
2957 | bfd_abs_section_ptr, not &bfd_abs_section. | |
2958 | ||
2959 | * lexsup.c (parse_args): Changed "retain-symbols-file" from | |
2960 | no_argument to required_argument. From djm. | |
2961 | ||
2962 | Thu Jul 7 12:29:53 1994 Ian Lance Taylor ([email protected]) | |
2963 | ||
2964 | * scripttempl/elf.sc: Explicitly mention .stab and .stabstr | |
2965 | sections to force a VMA of 0; needed for ELF backends which have | |
2966 | not been converted to the new linker style. | |
2967 | ||
aee611f5 JL |
2968 | Mon Jul 4 19:35:45 1994 Jeff Law ([email protected]) |
2969 | ||
2970 | * scripttempl/hppaelf.sc (__stack_zero): Don't define this name, | |
2971 | it was for the HPUX dynamic loader's use and it creates problems | |
2972 | with ELF GDB. | |
2973 | ||
2974 | Fri Jul 1 12:53:47 1994 Jeff Law ([email protected]) | |
2975 | ||
2976 | * ldlang.c (lang_do_assignments): No longer static. Delete decl. | |
2977 | * ldlang.h (lang_do_assignments): Put external decl here. | |
2978 | * emultempl/hppaelf.em: Minor cleanups throughout file. | |
2979 | (hppa_elf_create_output_section_statements): Rewrite. | |
2980 | (hppaelf_finish): Rewrite. | |
2981 | ||
111b24d5 JMD |
2982 | Wed Jun 29 16:50:00 1994 Ian Lance Taylor ([email protected]) |
2983 | ||
03730624 JMD |
2984 | * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib. |
2985 | ||
111b24d5 JMD |
2986 | * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do not |
2987 | accept plain -B. | |
2988 | * ld.texinfo: -Bstatic is not ignored. | |
2989 | ||
1c883f34 SS |
2990 | Tue Jun 28 12:13:34 1994 Stan Shebs ([email protected]) |
2991 | ||
2992 | * ldlex.l: Recognize \r the same as \n. | |
2993 | ||
2994 | Thu Jun 23 17:53:04 1994 Ian Lance Taylor ([email protected]) | |
2995 | ||
2996 | Preliminary support for generating shared libraries, from Eric | |
2997 | Youngdale <[email protected]>. | |
2998 | * genscripts.sh: If the emulation parameter file sets | |
2999 | GENERATE_SHLIB_SCRIPT, generate a .xs script file with | |
3000 | CREATE_SHLIB defined. | |
3001 | * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): If | |
3002 | link_info.shared is set, use the .xs script file. | |
3003 | * scripttempl/elf.sc: If CREATE_SHLIB is set, don't create a | |
3004 | .interp section, and don't include TEXT_START_ADDR in the starting | |
3005 | address of the first section. | |
3006 | * emulparams/elf_i386.sh (GENERATE_SHLIB_SCRIPT): Likewise. | |
3007 | * emulparams/elf32_sparc.sh (GENERATE_SHLIB_SCRIPT): Define. | |
3008 | ||
1f8b3b57 DM |
3009 | Thu Jun 23 12:52:22 1994 David J. Mackenzie ([email protected]) |
3010 | ||
3011 | * configure.in: Change --with-targets to --enable-targets. | |
3012 | ||
3b7553e7 ILT |
3013 | Wed Jun 22 13:42:14 1994 Ian Lance Taylor ([email protected]) |
3014 | ||
cf4245af ILT |
3015 | * lexsup.c (parse_args): Add support for new options -( -) with |
3016 | synonyms --start-group --end-group. | |
3017 | * ldlang.h (enum statement_enum): Add lang_group_statement_enum. | |
3018 | (lang_group_statement_type): Define new struct. | |
3019 | (lang_statement_union_type): Add group_statement field. | |
3020 | (lang_enter_group, lang_leave_group): Declare. | |
3021 | * ldlang.c (lang_for_each_statement_worker): Handle | |
3022 | lang_group_statement_enum. | |
3023 | (map_input_to_output_sections, print_statement): Likewise. | |
3024 | (lang_size_sections, lang_do_assignments): Likewise. | |
3025 | (open_input_bfds): Completely rewrite. Now does its own looping, | |
3026 | rather than using lang_for_each_statement. Handle groups. | |
3027 | (lang_process): Update call to open_input_bfds. | |
3028 | (print_group): New static function. | |
3029 | (lang_enter_group, lang_leave_group): New static functions. | |
3030 | * ldfile.c (ldfile_open_file): If the file has already been | |
3031 | opened, just return rather than taking an assertion failure. | |
3032 | * ldver.c (help): Mention new options. | |
3033 | * ld.texinfo: Document new options. | |
3034 | ||
02b57980 ILT |
3035 | * ldlang.c (end_of_data_section_statement_list): Don't define. |
3036 | (lang_leave_output_section_statement): Don't set obsolete variable | |
3037 | end_of_data_section_statement_list. | |
3038 | ||
62a4b36c ILT |
3039 | * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an |
3040 | ALIGN. | |
3041 | ||
686739e2 ILT |
3042 | * ldlang.c (lang_size_sections): Adjust current region address |
3043 | even for sections with an explicit address. From | |
3044 | [email protected] (Ralph Campbell). | |
3045 | ||
7d56d4f1 ILT |
3046 | * emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0. |
3047 | From [email protected] (Rick Sladkey). | |
3048 | ||
3b7553e7 ILT |
3049 | * scripttempl/mipsbsd.sc: Let sections align to their natural |
3050 | boundaries. | |
3051 | ||
3052 | Tue Jun 21 11:27:04 1994 Ian Lance Taylor ([email protected]) | |
3053 | ||
3054 | * ldlang.c (lang_init): Use new bfd_abs_section_ptr, not | |
3055 | &bfd_abs_section. | |
3056 | (lang_abs_symbol_at_beginning_of): Likewise. | |
3057 | (lang_abs_symbol_at_end_of): Likewise. | |
3058 | (lang_size_sections): Use bfd_is_abs_section to check for the | |
3059 | absolute section. Don't try to set the VMA or output_offset or | |
3060 | size of the absolute section. | |
3061 | * ldmain.c (notice_ysym): Use bfd_is_und_section to check for the | |
3062 | undefined section. | |
3063 | ||
c4aa82c1 JL |
3064 | Thu Jun 16 22:48:41 1994 Jeff Law ([email protected]) |
3065 | ||
3066 | * scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000 | |
3067 | when generating relocatable objects. | |
3068 | ||
08f20f66 ILT |
3069 | Thu Jun 16 14:25:22 1994 Eric Youngdale ([email protected]) |
3070 | ||
3071 | * emultempl/linux.em: New file providing support for linking | |
3072 | against Linux shared libraries. | |
3073 | * config/i386-linux.mt (ei386linux.c): Depend upon linux.em. | |
3074 | * emulparams/i386linux.sh (TEMPLATE_NAME): Define as linux. | |
3075 | ||
952b6c2c ILT |
3076 | Thu Jun 16 12:22:01 1994 Ian Lance Taylor ([email protected]) |
3077 | ||
64887de2 ILT |
3078 | * lexsup.c (parse_args): Add -shared to longopts, and handle it. |
3079 | * ldmain.c (main): Initialize link_info.shared to false. Give | |
3080 | error if link_info.relocateable and link_info.shared are both set. | |
3081 | ||
5d1ffb2f ILT |
3082 | * configure.in: If EMUL_EXTRA* is defined in a config file, treat |
3083 | it as naming an emulation to be added to EMULATION_OFILES. | |
3084 | * config/i386-linux.mt (EMUL_EXTRA1): Define as elf_i386. | |
3085 | ||
bf82ab68 ILT |
3086 | * Makefile.in: Rebuilt dependencies. |
3087 | (ALL_EMULATIONS): Add ei386linux.o, eelf32_sparc.o, | |
3088 | eelf64_sparc.o. Remove $(OTHER_EMULATIONS). | |
3089 | (ei386linux.c, eelf32_sparc.c, eelf64_sparc.c): New targets. | |
3090 | * config/i386-linux.mt (OTHER_EMULATIONS): Don't define. | |
3091 | (ei386linux.c): Remove; now in Makefile.in. | |
3092 | * config/i386-lynx.mt (OTHER_EMULATIONS): Don't define. | |
3093 | * config/m68k-lynx.mt (OTHER_EMULATIONS): Don't define. | |
3094 | * config/sparc-lynx.mt (OTHER_EMULATIONS): Don't define. | |
3095 | * config/sparc64-elf.mt (OTHER_EMULATIONS): Don't define. | |
3096 | (eelf64_sparc.c): Remove; now in Makefile.in. | |
3097 | * config/sun4sol2.mt (OTHER_EMULATIONS): Don't define. | |
3098 | (eelf32_sparc.c): Remove; now in Makefile.in. | |
3099 | ||
641fe79b ILT |
3100 | * ldexp.c (exp_print_tree): Don't crash if etree_rel section has |
3101 | no owner--it might be bfd_abs_section. From Eric Youngdale | |
3102 | <[email protected]>. | |
3103 | ||
952b6c2c ILT |
3104 | * scripttempl/aout.sc: Let sections align to their natural |
3105 | boundaries. | |
3106 | ||
c96386c4 ILT |
3107 | Wed Jun 15 01:54:54 1994 Ian Lance Taylor ([email protected]) |
3108 | ||
33b90e52 ILT |
3109 | * ldemul.h (ldemul_open_dynamic_archive): Declare. |
3110 | (ld_emulation_xfer_type): Add new field open_dynamic_archive. | |
3111 | * ldemul.c: Include ldexp.h and ldlang.h. | |
3112 | (ldemul_open_dynamic_archive): New function. | |
3113 | * ldfile.h (ldfile_open_file_search): Declare. | |
3114 | * ldfile.c: Include ldemul.h. | |
3115 | (try_open_bfd): Rename from cache_bfd_openr. Return boolean | |
3116 | argument, not bfd *. Change all callers. | |
3117 | (ldfile_open_file_search): Rename from open_a. Return boolean | |
3118 | argument, not bfd *. Clean up. Change all callers. | |
3119 | (ldfile_open_file): If doing a dynamic link, call | |
3120 | ldemul_open_dynamic_archive rather than assuming the extension of | |
3121 | a dynamic object is ".so". | |
3122 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
3123 | New function. | |
3124 | (ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive | |
3125 | field. | |
3126 | * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
3127 | ||
cbbf9608 ILT |
3128 | * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility. |
3129 | * lexsup.c (parse_args): Ignore -qmagic for Linux compatibility. | |
42792411 | 3130 | Accept -static as a synonym for -non_shared. |
cbbf9608 | 3131 | |
7fb9ca5f ILT |
3132 | Let the user change the dynamic linker used by ELF code. |
3133 | * ld.h (args_type): Add new field interpreter. | |
3134 | * lexsup.c (parse_args): Add dynamic-linker to longopts, and | |
3135 | handle it. | |
3136 | * ldmain.c (main): Initialize command_line.interpreter to NULL. | |
3137 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get | |
3138 | the ELF backend to return the .interp section. If | |
3139 | command_line.interpreter is not NULL, set the contents of .interp | |
3140 | to it. | |
3141 | * ld.texinfo: Mention -dynamic-linker. | |
3142 | ||
3143 | * config/sun4sol2.mt (eelf32_sparc.c): Depend upon elf32.em, not | |
3144 | generic.em. | |
3145 | ||
bec7a138 ILT |
3146 | * lexsup.c (parse_args): Sort out the option macros and change the |
3147 | definitions to make it easier to add a new option. | |
3148 | ||
66da6c84 ILT |
3149 | * scripttempl/aout.sc: Define __etext and __edata to go along with |
3150 | _etext and _edata. | |
3151 | ||
c96386c4 | 3152 | * ld.h (ld_config_type): Add new field traditional_format. |
605da7e2 | 3153 | * lexsup.c (parse_args): Add traditional-format to longopts, and |
c96386c4 ILT |
3154 | handle it. |
3155 | * ldmain.c (main): Initialize config.traditional_format to false. | |
3156 | * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD | |
3157 | flags of output_bfd according to config.traditional_format. | |
605da7e2 | 3158 | * ldver.c (help): Mention -traditional-format. |
c96386c4 ILT |
3159 | * ld.texinfo: Document -traditional-format. |
3160 | ||
7fe331f1 ILT |
3161 | Tue Jun 14 23:10:07 1994 Ian Lance Taylor ([email protected]) |
3162 | ||
3163 | * ldctor.c (ldctor_add_entry): Add entries to a set in the order | |
3164 | they are encountered. | |
3165 | ||
39a00f7d ILT |
3166 | Tue Jun 14 18:05:09 1994 Eric Youngdale ([email protected]) |
3167 | ||
3168 | * emulparams/i386linux.sh (TEXT_START_ADDR): Define as 0x1000. | |
3169 | (NONPAGED_TEXT_START_ADDR): Define as 0x20. | |
3170 | ||
eb7edfa1 ILT |
3171 | Mon Jun 13 15:46:09 1994 Ian Lance Taylor ([email protected]) |
3172 | ||
23677217 ILT |
3173 | * scripttempl/alpha.sc: Define _ftext, _etext and _fdata insted of |
3174 | _FTEXT, _ETEXT and _FDATA. Dont define _END. | |
3175 | ||
e845d289 ILT |
3176 | * ldfile.c (open_a): If this is not an archive, try to open it in |
3177 | the current directory before searching for it. | |
3178 | ||
3e1fd33d ILT |
3179 | * lexsup.c (parse_args): Treat -i as a synonym for -r. |
3180 | ||
f24078fd ILT |
3181 | * ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so that |
3182 | BLOCK works in a section address as documented. | |
3183 | ||
eb7edfa1 ILT |
3184 | * ldgram.y (YYDEBUG): Don't define. |
3185 | ||
f8015b85 ILT |
3186 | Fri Jun 10 16:45:39 1994 Ian Lance Taylor ([email protected]) |
3187 | ||
3188 | * emultempl/gld960.em: Pass false for new argument to | |
3189 | ldfile_add_library_path. | |
3190 | * emultempl/gld960c.em, emultempl/lnk960.em: Likewise. | |
3191 | ||
3192 | * emultempl/sunos.em: Only look for .so files if doing a dynamic | |
3193 | link. | |
3194 | ||
9beeb5d9 ILT |
3195 | Thu Jun 9 08:35:17 1994 Ian Lance Taylor ([email protected]) |
3196 | ||
3197 | * scripttempl/i960.sc: Add CONSTRUCTORS to .data. | |
3198 | ||
64bb143c BC |
3199 | Thu Jun 9 06:52:29 1994 Bill Cox ([email protected]) |
3200 | ||
3201 | * Makefile.in (check): Delete ld.new dependency so that a regression | |
3202 | test doesn't trigger a rebuild of the linker. | |
3203 | ||
ef01a8a8 ILT |
3204 | Thu Jun 9 00:17:20 1994 Ian Lance Taylor ([email protected]) |
3205 | ||
3206 | * ldlang.c (map_input_to_output_sections): For lang_address, call | |
3207 | init_os if it hasn't already been called. | |
3208 | ||
ed601bea ILT |
3209 | Thu Jun 2 17:24:08 1994 Ian Lance Taylor ([email protected]) |
3210 | ||
3211 | Add support for SunOS shared libraries. | |
3212 | * aout.sc: Don't define __DYNAMIC here. Add new sections used by | |
3213 | shared library support code. | |
3214 | * emultempl/sunos.em: New file. | |
3215 | * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. | |
f7e66391 | 3216 | * emulparams/sun3.sh (TEMPLATE_NAME): Likewise. |
ed601bea | 3217 | * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em. |
f7e66391 | 3218 | (esun3.c): Likewise. |
ed601bea ILT |
3219 | |
3220 | * ldlang.c: Minor formatting cleanups. | |
3221 | (lang_for_each_input_file): New function. | |
3222 | * ldlang.h (lang_for_each_input_file): Declare. | |
3223 | ||
3224 | * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline | |
3225 | field. | |
3226 | (search_head): Declare. | |
3227 | (ldfile_add_library_path): Add new cmdline argument in prototype. | |
3228 | * ldfile.c (search_head): Make non-static. | |
3229 | (search_dirs_type): Move to ldfile.h. | |
3230 | (ldfile_add_library_path): Accept cmdline argument, and save it. | |
3231 | * lexsup.c (parse_args): Pass true for new cmdline argument of | |
3232 | ldfile_add_library_path. | |
3233 | (set_default_dirlist): Likewise. | |
3234 | * ldmain.c (check_for_scripts_dir): Pass false for new cmdline | |
3235 | argument of ldfile_add_library_path. | |
3236 | * ldgram.y (ifile_p1): Likewise. | |
3237 | ||
210c52ac ILT |
3238 | Wed Jun 1 14:24:08 1994 Ian Lance Taylor ([email protected]) |
3239 | ||
3240 | * ldlang.h (lang_input_statement_type): Remove fields subfiles, | |
3241 | total_size, superfile and chain. | |
3242 | * ldfile.c (open_a): Don't clear search_dirs_flag. | |
3243 | (ldfile_open_file): Don't try to open superfile. Assert that file | |
3244 | has not already been opened. | |
3245 | * ldlang.c (new_afile): Don't initialize superfile. | |
3246 | * ldmain.c (add_archive_element): Don't initialize subfiles or | |
3247 | chain or superfile. Initialize search_dirs_flag to false. | |
3248 | ||
c06e55d9 KR |
3249 | Fri May 27 12:25:33 1994 Ken Raeburn ([email protected]) |
3250 | ||
3251 | * ldver.c (ldversion): Changed version to "cygnus-2.4.1". | |
3252 | ||
3253 | Changes from binutils-2.4 release: | |
3254 | ||
3255 | * genscripts.sh (RELOCATING, CONSTRUCTING): When setting | |
3256 | variables, use whitespace, so scripts don't break. | |
3257 | ||
3258 | * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted. | |
3259 | ||
3260 | * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}. | |
3261 | ||
3262 | * cdtest-bar.cc: Renamed from cdtest-func.cc. | |
3263 | * Makefile.in: Noted change. | |
3264 | ||
3265 | * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I | |
3266 | don't know where that's supposed to come from, or why it's | |
3267 | necessary. | |
3268 | ||
3269 | Wed May 11 22:32:00 1994 DJ Delorie ([email protected]) | |
3270 | ||
3271 | * configure.bat: update to latest makefile.in | |
3272 | * emulpara/go32.sh: set to coff-go32 not aout | |
3273 | * emultemp/generic.em: strength-reduce the structure of | |
3274 | this shell script, since the only available shell for | |
3275 | DOS can't handle complex syntax. | |
3276 | * emultemp/stringify.sed: for "sed -f" instead of inline. | |
3277 | * makefile.in: depend on stringify.sed as well as genscripts.sh | |
3278 | * scripttemp/go32coff.sc: correct for djgpp 1.11's COFF format | |
3279 | * genscripts.sh: empty variables aren't always considered "set", | |
3280 | so set them to "y" instead. | |
3281 | ||
29371b1f ILT |
3282 | Fri May 27 01:08:14 1994 Ian Lance Taylor ([email protected]) |
3283 | ||
60e8a534 ILT |
3284 | * ldlang.c (entry_symbol): Make static. |
3285 | (lang_add_entry): Add cmdline argument. | |
3286 | * ldlang.h (lang_add_entry): Change prototype. | |
3287 | * ldgram.y (statement_anywhere): Change lang_add_entry call. | |
3288 | * lexsup.c (parse_args): Likewise. | |
29371b1f | 3289 | |
f49f58c6 ILT |
3290 | Tue May 24 16:13:43 1994 Ian Lance Taylor ([email protected]) |
3291 | ||
3292 | * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give | |
3293 | .reginfo an address. | |
3294 | (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address. | |
3295 | (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss. | |
3296 | * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script. | |
3297 | ||
2a9fa50c ILT |
3298 | Thu May 19 13:31:33 1994 Ian Lance Taylor ([email protected]) |
3299 | ||
3300 | Add support for ELF shared libraries. | |
3301 | * ld.h (ld_config_type): Add field dynamic_link. | |
3302 | * ldmain.c (main): Initialize config.dynamic_link to false. Warn | |
3303 | on attempts to use -r with -relax, -call_shared or -s. | |
3304 | * lexsup.c (longopts): Separate OPTION_CALL_SHARED from | |
3305 | OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values | |
3306 | accordingly. Add "dy" and "non_shared" options. Change "Qy" to | |
3307 | OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and | |
3308 | OPTION_NON_SHARED by setting dynamic_link field accordingly. | |
3309 | Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for | |
3310 | -r and -Ur. | |
3311 | * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try | |
3312 | opening a file with a .so extension first. | |
3313 | * emultempl/elf32.em: New file. | |
3314 | * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. | |
3315 | (NONPAGED_TEXT_START_ADDR): Likewise. | |
3316 | (TEMPLATE_NAME): Define as elf32. | |
3317 | (DATA_PLT): Define. | |
3318 | * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. | |
3319 | * scripttempl/elf.sc: Add placement for new dynamic sections. | |
3320 | Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end | |
3321 | outside of any section. Don't use ALIGN(8); just let one section | |
3322 | VMA follow another. Put .dynbss in .bss. Don't mention debugging | |
3323 | sections; they'll be handled correctly anyhow. | |
3324 | * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em. | |
3325 | ||
188ce705 ILT |
3326 | Wed May 18 10:15:39 1994 Ian Lance Taylor ([email protected]) |
3327 | ||
3328 | * Makefile.in (install): Redirect output of ln to /dev/null. | |
3329 | ||
4bd5c39f JL |
3330 | Mon May 16 13:35:08 1994 Jeff Law ([email protected]) |
3331 | ||
3332 | * emultempl/hppaelf.em: Change all references of | |
3333 | .hppa_linker_stubs to .PARISC.stubs. | |
3334 | * scripttempl/hppaelf.sc: Likewise. | |
3335 | ||
439a3604 ILT |
3336 | Fri May 13 13:00:38 1994 Ian Lance Taylor ([email protected]) |
3337 | ||
269773c1 ILT |
3338 | * ldlang.c (print_output_section_statement): Change ``no attached |
3339 | output section'' message slightly. | |
3340 | (lang_do_assignments): Don't recurse down if there is no real | |
3341 | section. | |
3342 | ||
439a3604 ILT |
3343 | * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to |
3344 | match corresponding change in emulation templates. | |
3345 | * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise. | |
3346 | * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise. | |
3347 | ||
82ebe9a2 KR |
3348 | Wed May 11 18:16:46 1994 Ken Raeburn ([email protected]) |
3349 | ||
3350 | * ldver.c (ldversion): Updated version number. | |
3351 | ||
3352 | * cdtest-foo.cc: Use explicit "#pragma implementation". | |
3353 | * cdtest-bar.cc: Renamed from cdtest-func.cc. | |
3354 | * Makefile.in: References to cdtest-func.o changed to | |
3355 | cdtest-bar.o. | |
3356 | ||
f9d3d71a ILT |
3357 | Wed May 11 16:24:19 1994 Ian Lance Taylor ([email protected]) |
3358 | ||
3359 | Don't create unnecessary output sections. | |
3360 | * ldlang.c (out_bfd_get_section_by_name): Remove. | |
3361 | (wild_section): Call bfd_get_section_by_name rather than | |
3362 | our_bfd_get_section_by_name. Don't call wild_doit if there is no | |
3363 | section. | |
3364 | (lang_create_output_section_statements): Remove. | |
3365 | (map_input_to_output_sections): For several cases, call init_os if | |
3366 | it has not already been called. | |
3367 | (lang_size_sections): If output section was not created, skip it. | |
3368 | (lang_process): Don't call lan_create_output_section_statements. | |
3369 | (lang_place_orphans): Skip files with just_syms_flags set to true. | |
3370 | * ld.texinfo: Document change. | |
3371 | ||
27f7237e ILT |
3372 | Tue May 10 14:31:16 1994 Ian Lance Taylor ([email protected]) |
3373 | ||
3374 | * ldlang.c (wild_doit): Don't bother initializing the vma and | |
3375 | section size. Don't special case SEC_SHARED_LIBRARY. | |
3376 | (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections | |
3377 | specially. | |
3378 | ||
c1124600 ILT |
3379 | Fri May 6 12:24:27 1994 Steve Chamberlain ([email protected]) |
3380 | ||
3381 | * config/go32.mh : New file for Xgo32X. | |
3382 | ||
f6671f28 ILT |
3383 | Fri May 6 15:15:35 1994 Ian Lance Taylor ([email protected]) |
3384 | ||
5acce559 ILT |
3385 | * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call |
3386 | before calling einfo, since we are reporting an fopen failure. | |
3387 | From [email protected] (Rick Sladkey). | |
3388 | ||
f6671f28 ILT |
3389 | * configure.in: Use "e" rather than "em_" as prefix for |
3390 | emulations. | |
3391 | ||
6e1e82a0 KR |
3392 | Fri May 6 01:08:14 1994 Ken Raeburn ([email protected]) |
3393 | ||
3394 | * emultempl/generic.em: Use "e" rather than "em_" as prefix for | |
3395 | filename. | |
3396 | * emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em, | |
3397 | emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: | |
3398 | Ditto. | |
3399 | * Makefile.in: Changed all generated file names. | |
3400 | (ldemul-list.h): Depend on Makefile, not config.status. Changed | |
3401 | sed patterns to handle new filenames. | |
3402 | ||
3403 | * config/mipsl-idt.mt: Renamed from mips-idtl.mt. | |
3404 | * configure.in: Adjusted. | |
3405 | ||
3406 | Thu May 5 15:07:32 1994 Ken Raeburn ([email protected]) | |
3407 | ||
3408 | * Makefile.in (install-info): Don't use "$<*", it doesn't always | |
3409 | work. Instead, check build dir and $srcdir explicitly, and use | |
3410 | `echo' to get all the filenames. | |
3411 | ||
3412 | * configure.in (h8300h-*-hms): Changed ld_target name to | |
3413 | cf-h8300h. | |
3414 | * config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it | |
3415 | unique in 8.3. | |
3416 | ||
3417 | * config/i960coff.mt: New file. | |
3418 | * emulparams/gld960coff.sh: New file. | |
3419 | * emultempl/gld960c.em: New file. | |
3420 | * configure.in (i960-*-vxworks5* except -vxworks5.0*): Use | |
3421 | i960coff configuration. | |
3422 | * Makefile.in (em_gld960coff.c): Added dependencies, build rule. | |
3423 | ||
3424 | * Makefile.in (ALL_EMULATIONS): Remove em_delta68.o, since the | |
3425 | code isn't included in FSF releases, and it can still be | |
3426 | explicitly selected. | |
3427 | (distclean): Remove site.bak and tmpdir. | |
3428 | (STAGESTUFF): Removed $(GENERATED_CFILES) $(GENERATED_HFILES). | |
3429 | (mostlyclean): Delete them explicitly here. Also remove tmpdir. | |
3430 | ||
3431 | Patches from Ralph Campbell: | |
3432 | * config/mipsbsd.mh: New file. | |
3433 | * Makefile.in (em_mipsbsd.c): Use mipsbsd.sc, not aout.sc. | |
3434 | * scripttempl/mipsbsd.sc: Don't define __DYNAMIC. | |
3435 | * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out' | |
3436 | instead of `aout'. | |
3437 | ||
3438 | * configure.in (i386-*-gnu*): Treat like i386-*-mach*. | |
3439 | ||
269ec825 ILT |
3440 | Wed May 4 11:59:40 1994 Ian Lance Taylor ([email protected]) |
3441 | ||
6e1e82a0 KR |
3442 | * config/m68k.mt (EMUL): Set to m68kaout. |
3443 | * emulparams/m68kaout.sh: New file. | |
3444 | * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o. | |
3445 | (em_m68kaout.c): New target. | |
3446 | ||
269ec825 ILT |
3447 | * ldlang.c (lang_size_sections): If dot moves because of an |
3448 | assignment, don't try to insert a pad into the absolute output | |
3449 | section, just change the address of the default memory region | |
3450 | instead. | |
3451 | ||
3452 | * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur, | |
3453 | cdtest-ur.out, and cdtest-ur.tmp. | |
3454 | ||
e6d84626 ILT |
3455 | Wed Apr 27 16:03:37 1994 Ian Lance Taylor ([email protected]) |
3456 | ||
3457 | * scripttempl/sa29200.sc: Align all sections to four byte | |
3458 | boundaries. | |
3459 | ||
6c86b9ff SC |
3460 | Wed Apr 27 10:48:03 1994 Steve Chamberlain ([email protected]) |
3461 | ||
3462 | * Makefile.in, configure.in: Support for go32 coff. | |
3463 | * config/i386-go32.mt: New file | |
3464 | * emulparams/i386go32.sh: New file | |
3465 | * scripttempl/i386go32.sc: New file | |
3466 | ||
028f8872 SS |
3467 | Tue Apr 26 17:20:03 1994 Stan Shebs ([email protected]) |
3468 | ||
3469 | * Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use | |
3470 | Lynx-specific script templates. | |
3471 | * configure.in (sparclite*-*-coff): Use coff-sparc. | |
3472 | * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx. | |
3473 | * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx. | |
3474 | (ENTRY): Set to __main. | |
3475 | * scripttempl/i386lynx.sc: New file, script for I386 Lynx. | |
3476 | * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections. | |
3477 | * scripttempl/sparclynx.sc: New file, script for uSparc Lynx. | |
3478 | ||
cde73501 ILT |
3479 | Tue Apr 26 12:41:03 1994 Ian Lance Taylor ([email protected]) |
3480 | ||
c435aba8 ILT |
3481 | * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16 |
3482 | byte boundary, in case the global constructors do not take up an | |
3483 | even 16 bytes. | |
3484 | ||
cde73501 ILT |
3485 | * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not |
3486 | exist, get crtbegin based on gcc -print-libgcc-file-name. | |
3487 | (HOSTING_LIBS): Similar change for ../gcc/crtend.o. | |
3488 | ||
feaa9c4b ILT |
3489 | Mon Apr 25 15:27:52 1994 Ian Lance Taylor ([email protected]) |
3490 | ||
3491 | * ldlang.c (lang_size_sections): When no address is given for a | |
3492 | section, align it according to its requirements. | |
3493 | ||
1e45c4c3 ILT |
3494 | Thu Apr 21 17:24:24 1994 Ian Lance Taylor ([email protected]) |
3495 | ||
3496 | * Makefile.in (clean, distclean): Remove configdoc.texi. | |
3497 | ||
9ad75873 BC |
3498 | Tue Apr 19 12:12:15 1994 Bill Cox ([email protected]) |
3499 | ||
3500 | * configure.in: Add i[34]86-*-bsd386 to the patterns recognized. | |
3501 | ||
9d87af56 ILT |
3502 | Fri Apr 15 14:35:42 1994 Ian Lance Taylor ([email protected]) |
3503 | ||
3504 | * ldlang.c (lang_size_sections): When relaxing, adjust the | |
3505 | position of a padding statement, and adjust dot accordingly. | |
3506 | ||
ea68d58d BC |
3507 | Mon Apr 11 17:37:09 1994 Bill Cox ([email protected]) |
3508 | ||
3509 | * Makefile.in (EXPECT, RUNTEST): Set these for the check goal. | |
3510 | ||
4f2ee958 ILT |
3511 | Mon Apr 11 12:32:57 1994 Ian Lance Taylor ([email protected]) |
3512 | ||
3513 | * scripttempl/i386coff.sc: If relocating, don't put .init and | |
3514 | .fini sections into .text; keep them separate. | |
3515 | * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not | |
3516 | exist, get crtbegin based on gcc -print-libgcc-file-name. | |
3517 | (HOSTING_LIBS): Similar change for ../gcc/crtend.o. | |
3518 | ||
099c286e BC |
3519 | Mon Apr 11 10:31:00 1994 Bill Cox ([email protected]) |
3520 | ||
3521 | * Makefile.in (check): Set TCL_LIBRARY for runtest. | |
3522 | ||
79f7de91 JL |
3523 | Wed Apr 6 00:09:37 1994 Jeffrey A. Law ([email protected]) |
3524 | ||
f39a73b1 JL |
3525 | * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the |
3526 | manufacturer. | |
3527 | ||
79f7de91 JL |
3528 | * emultempl/hppaelf.em (hppaelf_finish): Only resize sections |
3529 | if building a final executable. | |
3530 | ||
67d0e7ff ILT |
3531 | Tue Apr 5 12:17:30 1994 Ian Lance Taylor ([email protected]) |
3532 | ||
3533 | * ldmain.c (main): Check the return value of bfd_close. | |
3534 | ||
be9ffc1f ILT |
3535 | Thu Mar 31 18:07:06 1994 Ian Lance Taylor ([email protected]) |
3536 | ||
3537 | * scripttempl/alpha.sc: Clean up section alignment to ensure that | |
3538 | sections never overlap when using -r. | |
3539 | ||
6c00b04f ILT |
3540 | Wed Mar 30 15:51:15 1994 Ian Lance Taylor ([email protected]) |
3541 | ||
3542 | * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD | |
3543 | changes: get_symtab_upper_bound renamed and returns long, | |
3544 | bfd_canonicalize_symtab returns long, check for error indications. | |
3545 | ||
f078dc7c ILT |
3546 | Fri Mar 25 17:20:01 1994 Ian Lance Taylor ([email protected]) |
3547 | ||
3548 | * ldlang.c (print_input_section): For section size, use | |
3549 | _cooked_size if it is non-zero, size otherwise. | |
3550 | (size_input_section): Likewise. | |
3551 | (lang_do_assignments): Likewise (case lang_input_section_enum). | |
3552 | ||
193c5f93 ILT |
3553 | Thu Mar 24 15:20:47 1994 Ian Lance Taylor ([email protected]) |
3554 | ||
3555 | * ldlang.c (new_afile): Add new argument add_to_list. Don't set | |
3556 | real to true for lang_input_file_is_marker_enum. Clear the_bfd. | |
3557 | (lang_add_input_file): Pass true to new_afile for add_to_list. | |
3558 | (lookup_name): Remove force_load argument. Changed all callers. | |
3559 | Pass false to new_afile for add_to_list. Split loading of symbols | |
3560 | out into separate function. | |
3561 | (load_symbols): New function split out of lookup_name. Don't load | |
3562 | the symbols if they are already loaded. | |
3563 | (open_input_bfds): For lang_input_statement_enum call load_symbols | |
3564 | rather than lookup_name. | |
3565 | (lang_process): Pass abs_output_section rather than NULL to | |
3566 | lang_size_sections. | |
3567 | (lang_startup): Set real field of first_file to true. | |
3568 | ||
a2670c2f ILT |
3569 | Wed Mar 23 14:15:44 1994 Ian Lance Taylor ([email protected]) |
3570 | ||
193c5f93 ILT |
3571 | * ldlang.c (had_relax): Removed. |
3572 | (relax_again): New static variable. | |
3573 | (lang_size_sections): Change call to bfd_relax_section to | |
3574 | correspond to BFD changes. Set relax_again appropriately. | |
3575 | (lang_process): Remove #if 0 code. When relaxing, keep calling | |
3576 | lang_do_assignments and lang_size_sections until relax_again | |
3577 | becomes false. | |
3578 | ||
a2670c2f ILT |
3579 | * emultemp/gld960.em: Include libiberty.h |
3580 | (gld960_before_parse): Pass NULL as final argument to concat. | |
3581 | ||
f3bc3ac3 ILT |
3582 | Tue Mar 22 13:08:28 1994 Ian Lance Taylor ([email protected]) |
3583 | ||
f7a26f1b ILT |
3584 | * scripttempl/aout.sc: Force _end and __end to be aligned to a |
3585 | four byte boundary. | |
3586 | ||
f3bc3ac3 ILT |
3587 | * ldwrite.c (build_link_order): Handle lang_data_statement_enum by |
3588 | building a bfd_data_link_order, rather than by setting the section | |
3589 | contents immediately. | |
3590 | ||
4fdbafb2 ILT |
3591 | Mon Mar 21 18:28:37 1994 Ian Lance Taylor ([email protected]) |
3592 | ||
3593 | Changes to make -Ur work again. | |
3594 | * ldmain.c (add_to_set): Now takes reloc argument rather than | |
3595 | bitsize. Check config.build_constructors here. If an new hash | |
3596 | table entry is created, mark it as undefined. | |
3597 | (constructor_callback): No longer takes bitsize argument. Pass | |
3598 | BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the | |
3599 | BFD backend supports it. | |
3600 | (reloc_overflow): Handle a NULL abfd argument. | |
3601 | (reloc_dangerous, unattached_reloc): Likewise. | |
3602 | * ldctor.c: Include ldmain.h. | |
3603 | (struct set_info): Change bitsize field to reloc. | |
3604 | (ldctor_add_set_entry): Now takes reloc argument rather than | |
3605 | bitsize. Don't bother to check config.build_constructors here. | |
3606 | (ldctor_build_sets): Get the size from the reloc howto. If | |
3607 | generating relocateable output, call lang_add_reloc rather than | |
3608 | lang_add_data. | |
3609 | * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc | |
3610 | instead of bitsize. | |
3611 | * ldlang.h (statement_enum): Add lang_reloc_statement_enum. | |
3612 | (lang_reloc_statement_type): New structure. | |
3613 | (lang_statement_union_type): Add reloc_statement field. | |
3614 | (lang_add_reloc): Declare new function. | |
3615 | * ldlang.c (lang_for_each_statement_worker): Handle | |
3616 | lang_reloc_statement_enum. | |
3617 | (map_input_to_output_sections, print_statement): Likewise. | |
3618 | (lang_size_sections, lang_do_assignments): Likewise. | |
3619 | (print_reloc_statement): New function. | |
3620 | (lang_add_reloc): New function. | |
3621 | * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum. | |
3622 | ||
3623 | * Makefile.in (cdtest.out, cdtest-ur.o): New targets. | |
3624 | (cdtest-ur, cdtest-ur.out): New targets. | |
3625 | (check-cdtest): Now also check that -Ur works correctly. | |
3626 | ||
3627 | * scripttemp/alpha.sc: Align all sections to 16 byte boundaries. | |
3628 | ||
3629 | Thu Mar 17 12:45:41 1994 Ian Lance Taylor ([email protected]) | |
3630 | ||
3631 | * ldlang.c (lang_process): Move lang_common call before | |
3632 | map_input_to_output_sections, to ensure that any alignment | |
3633 | constraints set by common symbols are copied over to the output | |
3634 | sections. | |
3635 | ||
3636 | Fri Mar 11 22:17:34 1994 Ian Lance Taylor ([email protected]) | |
3637 | ||
3638 | * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define. | |
3639 | (OTHER_READWRITE_SECTIONS): Rename .toc to .got. | |
3640 | * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em. | |
3641 | * emultempl/ppc.em: Remove ugly stub code; turns out not to be | |
3642 | needed for ELF. | |
3643 | ||
0071a731 DM |
3644 | Tue Mar 8 04:22:27 1994 David J. Mackenzie ([email protected]) |
3645 | ||
3646 | * config/i386bsd.mh: New file. | |
3647 | ||
7f0638d5 ILT |
3648 | Mon Mar 7 15:23:24 1994 Ian Lance Taylor ([email protected]) |
3649 | ||
3650 | * elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to be | |
3651 | defined. | |
3652 | * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext. | |
3653 | (DATA_START_SYMBOLS): Define _fdata. | |
3654 | ||
b897ed67 SS |
3655 | Mon Feb 28 10:59:14 1994 Stan Shebs ([email protected]) |
3656 | ||
3657 | * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined. | |
3658 | ||
2e39abdb JL |
3659 | Sun Feb 27 16:29:38 1994 Jeffrey A. Law ([email protected]) |
3660 | ||
ff68559e JL |
3661 | * emultempl/hppaelf.em (hppaelf_finish): Update comments. This |
3662 | works again. Attach some output symbols to the stub file bfd. | |
3663 | ||
2e39abdb JL |
3664 | * emultempl/hppaelf.em: Include elf32-hppa.h. |
3665 | (file_chain): Add decl. | |
3666 | (hppa_look_for_stubs_in_section): Delete decl. | |
3667 | (hppaelf_finish): Reenable code. Do not pass symbols | |
3668 | down to hppa_look_for_stubs_in_section. | |
3669 | ||
b495c314 ILT |
3670 | Sat Feb 26 10:58:25 1994 Ian Lance Taylor ([email protected]) |
3671 | ||
3672 | * ldmain.c (write_map): Don't define. Removed all references. | |
3673 | Just use map_file or map_filename instead. | |
3674 | (add_archive_element): Use minfo to write map information, not | |
3675 | info_msg. | |
3676 | (constructor_callback): Use fprintf to write map information, not | |
3677 | info_msg. | |
3678 | * ldmain.h (write_map): Don't declare. | |
3679 | * ldgram.y (mri_script_command): Removed reference to write_map. | |
3680 | * ldlang.c (lang_one_common): Likewise. | |
3681 | * lexsup.c (parse_args): Likewise. | |
3682 | ||
4725fb48 ILT |
3683 | Fri Feb 25 19:12:03 1994 Ian Lance Taylor ([email protected]) |
3684 | ||
bff600cf ILT |
3685 | * scripttempl/elf.sc: Force all sections to be aligned. |
3686 | ||
27baca71 ILT |
3687 | * ldgram.y (section): Reverse the order of memspec_opt and |
3688 | fill_opt to avoid an ambiguity when both are used. | |
3689 | * ld.texinfo: Changed accordingly. | |
3690 | ||
6232b6c4 ILT |
3691 | * ldgram.y: Move include of ldlex.h back with other includes. |
3692 | * ldlex.h (input_type): Don't initialize enum constants to | |
3693 | particular values. | |
3694 | * ldlex.l: Use a switch to return the right token based on | |
3695 | input_type, rather than knowing that input_type has a value based | |
3696 | on a token type. | |
3697 | ||
4725fb48 ILT |
3698 | * ldgram.y (dirlist_ptr): Removed; not used. |
3699 | * lexsup.c: Include ldver.h. | |
3700 | * Makefile.in: Rebuilt dependencies. | |
3701 | ||
fc1dfb71 ILT |
3702 | Fri Feb 25 18:55:54 1994 Ted Lemon ([email protected]) |
3703 | ||
3704 | * ldlang.c (lookup_name): don't call bfd_set_gp_size. | |
3705 | (ldlang_add_file): call it here instead. | |
3706 | ||
ff33a8c1 DM |
3707 | Fri Feb 25 18:13:46 1994 David J. Mackenzie ([email protected]) |
3708 | ||
3709 | * ldgram.y: Include ldlex.h after %token decls, for byacc. | |
3710 | ||
a62494c4 JL |
3711 | Fri Feb 25 10:47:25 1994 Jeffrey A. Law ([email protected]) |
3712 | ||
531a5bd1 JL |
3713 | * emultempl/hppaelf.em: First attempt to clean this file up. |
3714 | Add comments in several functions as to their purpose and | |
3715 | how they function (or my current best guess). Clean up horrible | |
3716 | spacing and indention that never should have been accepted in the | |
3717 | first place. Add FIXMEs for issues which need to be resolved. | |
3718 | Disable linker-stub generation until it gets fixed. This allows | |
3719 | the linker to at least work on simple code for testing purposes. | |
3720 | ||
a62494c4 JL |
3721 | * ldlang.c (lang_size_sections): No longer static (PA ELF calls |
3722 | it via hppaelf_finish). Prototype moved into ldlang.h. | |
3723 | (lang_process): Move problematic extra call to lang_size_sections | |
3724 | into the PA ELF specific code. | |
3725 | * emultempl/hppaelf.em (hppaelf_finish): Extra call to | |
3726 | lang_size_sections moved here. | |
3727 | ||
c361ce46 ILT |
3728 | Thu Feb 24 16:47:33 1994 Ian Lance Taylor ([email protected]) |
3729 | ||
3730 | * configure.in (powerpc-*-elf*): New target; use ppc-elf32. | |
3731 | * config/ppc-elf32.mt: New file. | |
3732 | * emulparams/elf32ppc.sh: New file. | |
3733 | * emultempl/ppc.em: New file. | |
3734 | * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. | |
3735 | (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. | |
3736 | (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h. | |
3737 | ||
d4e5e3c3 DM |
3738 | Thu Feb 24 12:27:07 1994 David J. Mackenzie ([email protected]) |
3739 | ||
d5b79a89 DM |
3740 | * lexsup.c (parse_args): Use symbolic numbers for long options. |
3741 | Fix misunderstanding in -Y and -call_shared et al. | |
3742 | ||
d4e5e3c3 DM |
3743 | Use getopt instead of lex and yacc to parse the command line. |
3744 | ||
3745 | * ld.texinfo (Options): Document changes to option syntax. | |
3746 | * Makefile.in: Update dependencies. | |
3747 | * ldver.c (help): Tweak dashes in usage message. | |
3748 | * ldgram.y (%union): Remove unused members. | |
3749 | Remove %tokens for command line options; add ones for input types. | |
3750 | (command_line): Rules removed. | |
3751 | (file): Instead of command line, recognize an | |
3752 | input type indicator, then use the nonterminal for that type. | |
3753 | (defsym_expr): New nonterminal from code formerly in command_line. | |
3754 | * ldlex.h: Declare parser input type enum and variable. | |
3755 | Don't declare parse_line. | |
3756 | * ldlex.l: Remove unused variables. Make some used ones static | |
3757 | and comment them. | |
3758 | (COMMAND): Start state and its rules removed. | |
3759 | At start of yylex, return input state token if at start of input. | |
3760 | (lex_redirect): Don't need to set yyout. | |
3761 | (ldlex_command): Function removed. | |
3762 | * ldmain.c (main): Instead of calling parse_line, set up the | |
3763 | redirections and call yyparse directly. | |
3764 | * ldmisc.c (vfinfo): If there's no input filename, print nothing, not | |
3765 | "command line". | |
3766 | * lexsup.c: Remove #if 0'd code. | |
3767 | (parse_line): Function removed. | |
3768 | (parse_args): Rewrite to use getopt_long_only. | |
3769 | (set_default_dirlist): New function from code formerly in | |
3770 | ldgram.y:command_line. | |
3771 | (set_section_start): New function. | |
3772 | * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em, | |
3773 | emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose | |
3774 | compiled-in link scripts in "{" and "}", as the grammar no longer | |
3775 | wants them to be. | |
3776 | ||
3777 | Thu Feb 24 08:43:26 1994 Ken Raeburn ([email protected]) | |
3778 | ||
3779 | * Makefile.in (ld.dvi): Depend on configdoc.texi, but don't | |
3780 | require that it be in $(srcdir). | |
3781 | ||
6b8929a1 ILT |
3782 | Tue Feb 22 09:21:18 1994 Ian Lance Taylor ([email protected]) |
3783 | ||
a733e1d7 ILT |
3784 | * ldlang.c (lang_size_sections): Only align section to alignment |
3785 | required by linker script, not to maximum alignment of input | |
3786 | sections. | |
3787 | ||
6b8929a1 ILT |
3788 | * ldlang.h (largest_section): Don't declare. |
3789 | * ldlang.c (largest_section): Don't define. | |
3790 | (size_input_section): Don't set largest_section; not used. | |
3791 | ||
ef76742f ILT |
3792 | Mon Feb 21 15:15:29 1994 Ian Lance Taylor ([email protected]) |
3793 | ||
3794 | * ldlang.c (new_afile): Pass NULL as last argument to concat. | |
3795 | ||
42f62ead ILT |
3796 | Thu Feb 17 15:51:23 1994 Ian Lance Taylor ([email protected]) |
3797 | ||
3798 | * ldlang.c, ldmain.c: Include libiberty.h. | |
3799 | ||
3800 | * ldmisc.h (concat): Don't declare. | |
3801 | * ldmisc.c (concat): Don't define; just use the one in libiberty. | |
3802 | ||
3803 | * ld.h (as_output_section_statement): Removed; not used. | |
3804 | ||
5bcb7f28 DM |
3805 | Thu Feb 17 09:32:14 1994 David J. Mackenzie ([email protected]) |
3806 | ||
3807 | * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and | |
3808 | bfd_set_error and new error names. | |
3809 | ||
7ff6f2da KR |
3810 | Tue Feb 15 20:14:53 1994 Ken Raeburn ([email protected]) |
3811 | ||
3812 | * ldwrite.c (build_link_order): If the cooked size of the section | |
3813 | has been set, use it, for determining link_order size. | |
3814 | (ldwrite): In the error message displayed if bfd_final_link fails, | |
3815 | indicate that it was in fact the final link step that failed. | |
3816 | ||
3817 | * ldlang.c (lang_size_sections): Clear bfd_error before calling | |
3818 | bfd_relax_section, in case it returns false but doesn't flag an | |
3819 | error. If an error is returned, indicate which one it is in the | |
3820 | error message. | |
3821 | ||
3822 | * Makefile.in (install-info): Depend on ld.info, and use "$<*" so | |
3823 | it'll get picked up from $(srcdir) if appropriate. | |
3824 | ||
3825 | Tue Feb 15 16:32:04 1994 David J. Mackenzie ([email protected]) | |
3826 | ||
3827 | * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set. | |
3828 | * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT. | |
3829 | ||
09aaf97a DM |
3830 | Fri Feb 11 17:02:49 1994 David J. Mackenzie ([email protected]) |
3831 | ||
3832 | * ldlex.l (comment): Increment line number when newline is read. | |
3833 | ||
c4e48be3 ILT |
3834 | Fri Feb 11 17:36:20 1994 Ian Lance Taylor ([email protected]) |
3835 | ||
3836 | * ldlang.c (lookup_name): Take new argument, force_load. If true, | |
3837 | reload the file even if it is already loaded. | |
3838 | (wild): Call lookup_name with force_load argument of 0. | |
3839 | (open_input_bfds): Call lookup_name with force_load argument of 1. | |
3840 | (print_symbol): Remove declaration of non-existent function. | |
3841 | (print_one_symbol): Return true rather than falling off end. | |
3842 | ||
410945f1 ILT |
3843 | Thu Feb 10 11:52:38 1994 Ian Lance Taylor ([email protected]) |
3844 | ||
3845 | * ldmain.c (main): Use %ld when printing long values. | |
3846 | ||
3847 | * scripttempl/elf.sc: Move _edata after the .sdata section. | |
3848 | Permit OTHER_BSS_SYMBOLS to be defined. | |
3849 | * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss. | |
3850 | ||
f7d4f6f6 JL |
3851 | Mon Feb 7 16:31:15 1994 Jeffrey A. Law ([email protected]) |
3852 | ||
3853 | * Rename all "hppaosf" files to "hppaelf". | |
410945f1 ILT |
3854 | * Change all "osf" references to "elf" in hppaelf files. |
3855 | * Makefile.in: Likewise. | |
3856 | * configure.in: Likewise. | |
f7d4f6f6 | 3857 | |
f4972135 DM |
3858 | Sun Feb 6 20:31:56 1994 David J. Mackenzie ([email protected]) |
3859 | ||
6f671266 DM |
3860 | * ldmain.c (main): Call xatexit, not atexit. |
3861 | Call xmalloc_set_program_name. | |
3862 | ||
f4972135 DM |
3863 | * ldlang.c (lang_size_sections): Check if bfd_relax_section set |
3864 | bfd_errno. | |
3865 | ||
52a8ebfe DM |
3866 | Sat Feb 5 03:54:34 1994 David J. Mackenzie ([email protected]) |
3867 | ||
3868 | * emultempl/lnk960.em (append), emultempl/hppaosf.em | |
3869 | (hppaosf_finish): Call xmalloc, not ldmalloc. | |
3870 | * ldmain.c (preserve_output): Function removed. | |
3871 | (main): Do it here instead. | |
3872 | ||
9dd7d585 JL |
3873 | Fri Feb 4 23:02:19 1994 Jeffrey A. Law ([email protected]) |
3874 | ||
3875 | * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused) | |
3876 | GNU C specific macros. | |
3877 | ||
3878 | * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining | |
3879 | call to LANG_FOR_EACH_INPUT_SECTION. | |
3880 | ||
0b2f8d2e DM |
3881 | Fri Feb 4 16:26:08 1994 David J. Mackenzie ([email protected]) |
3882 | ||
3883 | * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions | |
3884 | deleted; will use libiberty versions instead. | |
3885 | * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c | |
3886 | mri.c Makefile.in: Change callers. | |
3887 | ||
3888 | * ldmisc.c (vfinfo): Remove cleanup code. | |
3889 | * ldmain.c (remove_output): Put it here (new function). | |
3890 | (preserve_output): New function. | |
3891 | (main): Register remove_output and preserve_output with atexit. | |
3892 | * ldmain.c ldgram.y: Call xexit instead of exit. | |
3893 | * ldmisc.h: Declare xexit. | |
3894 | ||
9e0f78c8 SC |
3895 | Fri Feb 4 15:19:01 1994 Steve Chamberlain ([email protected]) |
3896 | ||
3897 | * Makefile.in: Lots of new H8/500 memory models. | |
3898 | ||
836dcbcf KR |
3899 | Sun Jan 30 14:33:40 1994 Ken Raeburn ([email protected]) |
3900 | ||
3901 | * ldlex.l: Removed duplicate rules. | |
3902 | (yywrap): Provide default definition, needed with some versions of | |
3903 | flex. | |
3904 | ||
fb55f9b8 DM |
3905 | Fri Jan 28 09:12:56 1994 David J. Mackenzie ([email protected]) |
3906 | ||
288897f4 DM |
3907 | * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print |
3908 | the archive filename too. | |
3909 | ||
fb55f9b8 DM |
3910 | * ldlex.l: Add rule to catch invalid input characters instead of |
3911 | printing them. Include "ldmain.h" for program_name decl. | |
3912 | (lex_warn_invalid): New function. | |
3913 | * Makefile.in: Add dependency. | |
3914 | ||
f3c6455f KR |
3915 | Fri Jan 28 12:58:45 1994 Ken Raeburn ([email protected]) |
3916 | ||
3917 | * Makefile.in (check): Don't bother running any tests of | |
3918 | cross-linker until the test suite no longer assumes native mode. | |
3919 | ||
804c8601 SC |
3920 | Thu Jan 27 17:19:54 1994 Steve Chamberlain ([email protected]) |
3921 | ||
3922 | * ldlang.c (print_one_symbol, print_input_section): Print | |
3923 | global symbols in symbol table again. | |
3924 | ||
7b40f2b1 DM |
3925 | Thu Jan 27 12:35:01 1994 David J. Mackenzie ([email protected]) |
3926 | ||
3927 | * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given, | |
3928 | exit successfully instead of complaining if no input files are | |
3929 | given. | |
3930 | ||
8594f568 SS |
3931 | Tue Jan 25 13:19:41 1994 Stan Shebs ([email protected]) |
3932 | ||
74e6b793 SS |
3933 | * Makefile.in: Format variable definitions consistently. |
3934 | (LD_PROG): Remove unnecessary variables from link command, | |
3935 | change variable LOADLIBES to EXTRALIBS. | |
3936 | ||
8594f568 SS |
3937 | * ldmain.c (main): Compute and display total execution time. |
3938 | * ld.texinfo (-stats): Document the option. | |
3939 | ||
755f42fe ILT |
3940 | Mon Jan 24 12:56:37 1994 Ian Lance Taylor ([email protected]) |
3941 | ||
5dad4c97 ILT |
3942 | * ldmain.c (reloc_overflow): Added name, reloc_name and addend |
3943 | arguments. | |
3944 | ||
de08b0b1 ILT |
3945 | * ldlang.c (lookup_name): Set BFD GP size to -G argument value |
3946 | after opening BFD. | |
3947 | ||
755f42fe ILT |
3948 | * ldlang.c (relaxing): Removed global variable. |
3949 | (lang_size_sections): If the canonical symbols have not already | |
3950 | been read in, read them in before relaxing. | |
3951 | * ldlang.h (relaxing): Removed declaration. | |
3952 | ||
5e6cd559 ILT |
3953 | Fri Jan 21 00:44:44 1994 Ian Lance Taylor ([email protected]) |
3954 | ||
3955 | * ldlang.c (new_afile): Initialize loaded field to false. | |
3956 | (lookup_name): If file was already loaded, don't call the | |
3957 | add_symbols entry point again. | |
3958 | ||
8de26d62 DM |
3959 | Wed Jan 19 13:57:00 1994 David J. Mackenzie ([email protected]) |
3960 | ||
3961 | * ld.texinfo: Clarify what -T option does. | |
3962 | ||
a843c817 SC |
3963 | Tue Jan 18 16:18:15 1994 Steve Chamberlain ([email protected]) |
3964 | ||
3965 | * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's | |
3966 | for a.out. | |
3967 | ||
901f3538 ILT |
3968 | Tue Jan 11 13:22:04 1994 Ian Lance Taylor ([email protected]) |
3969 | ||
8a432746 ILT |
3970 | * ldmain.c (add_archive_element): If trace_files or |
3971 | trace_file_tries, print file name. | |
3972 | * ldlang.c (lookup_name): Likewise. | |
3973 | (ldlang_add_file): Don't put files on input_bfds list in reverse | |
3974 | order. | |
3975 | ||
901f3538 ILT |
3976 | * scripttempl/elf.sc: Correct typo. |
3977 | ||
c344d884 DM |
3978 | Mon Jan 10 19:49:05 1994 David J. Mackenzie ([email protected]) |
3979 | ||
3980 | * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and | |
3981 | their arguments optional, for compatibility with the old GNU ld. | |
3982 | ||
267a3ab3 ILT |
3983 | Fri Jan 7 20:00:24 1994 Ian Lance Taylor ([email protected]) |
3984 | ||
3985 | * scripttempl/elf.c: Define __bss_start before the .sbss section. | |
3986 | ||
3107eb5b ILT |
3987 | Thu Jan 6 00:13:10 1994 Ian Lance Taylor ([email protected]) |
3988 | ||
2f84ec0d ILT |
3989 | * ldmain.c (add_to_set): Add bitsize argument. |
3990 | (constructor_callback): New function. | |
3991 | (link_callbacks): Add constructor_callback. | |
3992 | * ldctor.c (struct set_info): Add bitsize field. | |
3993 | (ldctor_add_set_entry): Add bitsize argument. | |
3994 | (ldctor_build_sets): Base the size of the elements of the set on | |
3995 | the bitsize, rather than always using LONG. | |
3996 | * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration. | |
3997 | ||
3998 | * ld.h (QUAD_SIZE): Define. | |
3999 | * ldgram.y (QUAD): New token. | |
4000 | (length): Handle it. | |
4001 | * ldlex.l: Return QUAD. | |
4002 | * lexsup.c (keywords): Add QUAD. | |
4003 | * ldwrite.c (build_link_order): Handle QUAD. | |
4004 | * ldlang.c (print_data_statement): Handle QUAD. | |
4005 | (lang_size_sections): Likewise. | |
4006 | (lang_do_assignments): Likewise. | |
4007 | * ldexp.c (exp_print_token): Add QUAD to table. | |
4008 | * ld.texinfo: Describe QUAD. | |
4009 | ||
3107eb5b ILT |
4010 | * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections, |
4011 | since the Alpha doesn't use them. | |
4012 | ||
080d8af0 DM |
4013 | Wed Jan 5 17:42:16 1994 David J. Mackenzie ([email protected]) |
4014 | ||
4015 | * ldemul.h (ld_emulation_xfer_struct): Comment the members. | |
4016 | ||
4017 | Sat Jan 1 13:39:31 1994 Rob Savoye ([email protected]) | |
4018 | ||
4019 | * Makefile.in, configure.in: Add support for VSTa micro-kernel. | |
4020 | * config/vsta.mt, emulparams/vsta.sh: New files for VSTa. | |
4021 | ||
34f9bf4b DM |
4022 | Sat Jan 1 10:53:35 1994 David J. Mackenzie ([email protected]) |
4023 | ||
4024 | * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating; | |
23fdc6be | 4025 | needed for i386mach. (Should be a no-op on other systems.) |
34f9bf4b DM |
4026 | |
4027 | * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again. | |
4028 | (PAGE_SIZE): Don't define; not used. | |
4029 | ||
1d166443 ILT |
4030 | Fri Dec 31 16:12:06 1993 Ian Lance Taylor ([email protected]) |
4031 | ||
4032 | * ldgram.y (yyerror): Make argument const char *, and actually | |
4033 | print it out rather than assuming it is a syntax error. | |
4034 | * ldmisc.h: Change declaration of yyerror. | |
4035 | * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate. | |
4036 | ||
ae9c8007 DM |
4037 | Fri Dec 31 11:37:28 1993 David J. Mackenzie ([email protected]) |
4038 | ||
4039 | * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include | |
4040 | exec header offset, since the exec header isn't loaded. | |
4041 | (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c. | |
4042 | ||
4a6afc88 ILT |
4043 | Thu Dec 30 13:01:43 1993 Ian Lance Taylor ([email protected]) |
4044 | ||
4045 | A major rewrite to move the bulk of the linker into BFD so that | |
4046 | more efficient backend code can be written for specific object | |
4047 | files. | |
4048 | * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h, | |
4049 | ldwarn.c, ldwarn.h, relax.c, relax.h: Removed. | |
4050 | * ldctor.c, ldctor.h: Complete rewrite. | |
4051 | * ldwrite.c, ldwrite.h: Complete rewrite. | |
4052 | * ld.h (strip_symbols_type, strip_symbols): Removed. Use | |
4053 | link_info.strip instead. Changed all uses. | |
4054 | (discard_locals_type, discard_locals): Removed. Use | |
4055 | link_info.discard instead. Changed all uses. | |
4056 | (ld_config_type): Removed relocateable_output field; use | |
4057 | link_info.relocateable instead; changed all uses. Added stats | |
4058 | field. | |
4059 | (set_asymbol_chain, get_asymbol_chain, get_loader_symbol, | |
4060 | set_loader_symbol): Removed. | |
4061 | * ldexp.h (node_class): Added etree_rel. | |
4062 | (etree_type): Added rel field. | |
4063 | * ldexp.c (exp_print_token): Bracketed table initialization. | |
4064 | (exp_relop): New function. | |
4065 | (fold_name): Use linker hash table rather than ldsym functions. | |
4066 | (exp_fold_tree): Likewise. Also, handle etree_rel case. | |
4067 | (exp_print_tree): Handle etree_rel. | |
4068 | * ldgram.y (strip_symbols, discard_locals): Removed. | |
4069 | (OPTION_stats, OPTION_no_keep_memory): New tokens. Handle them. | |
4070 | (REL): New token. Does not appear in grammar, but needed for | |
4071 | expression code. | |
4072 | (file): Don't call lang_final; it's called by main anyhow. | |
4073 | * ldlex.l: Accept -stats and -no-keep-memory options. | |
4074 | * ldlang.h (fill_type): Make unsigned int, not unsigned short. | |
4075 | * ldlang.c: Consistently use fill_type for fill argument. | |
4076 | (lang_init_script_file, script_file): Removed. | |
4077 | (create_object_symbols): Removed. Use | |
4078 | link_info.create_object_symbols_section instead. Changed all | |
4079 | uses. | |
4080 | (lang_add_keepsyms_file): Removed. | |
4081 | (lookup_name): Call bfd_link_add_symbols instead of | |
4082 | ldmain_open_file_read_symbol. | |
4083 | (wild): Don't iterate over script_file. | |
4084 | (open_output): Create link hash table. | |
4085 | (lang_place_undefineds): Rewrote. | |
4086 | (lang_size_sections): Handle relaxing (doesn't work yet). | |
4087 | (lang_relocate_globals): Removed. | |
4088 | (lang_finish): Use link hash table rather than ldsym functions. | |
4089 | (lang_common): Rewrote. | |
4090 | (lang_one_common): New function. | |
4091 | (ldlang_add_file): Add file to link_info.input_bfds list. Set | |
4092 | usrdata. | |
4093 | (create_symbol): Removed. | |
4094 | (lang_process): Don't call lang_init_script_file. Call | |
4095 | ldctor_build_sets rather than find_constructors. Don't call | |
4096 | lang_relocate_globals. | |
4097 | (lang_abs_symbol_at_beginning_of): Rewrote. | |
4098 | (lang_abs_symbol_at_end_of): Rewrote. | |
4099 | * ldmain.c (had_y): Removed. | |
4100 | (lprefix, lprefix_len): Removed; use link_info fields instead. | |
4101 | Changed all uses. | |
4102 | (multiple_def_count, commons_pending, undefined_global_sym_count, | |
4103 | total_symbols_seen, total_files_seen): Removed. | |
4104 | (link_callbacks, link_info): New variables. | |
4105 | (main): Initialize link_info. Don't call init_bfd_error_vector or | |
4106 | ldsym_init. Don't set now unused variables. Handle -stats. | |
4107 | (get_emulation): Removed obsolete and nonfunctional GNU960 code. | |
4108 | (add_ysym): Rewrote. | |
4109 | (read_entry_symbols, refize, enter_global_ref, enter_file_symbols, | |
4110 | search_library, gnu960_check_format, decode_library_subfile, | |
4111 | linear_library, symdef_library, clear_syms, subfile_wanted_p): | |
4112 | Removed. | |
4113 | (add_keepsyms_file, add_archive_element, multiple_definition, | |
4114 | multiple_common, add_to_set, warning_callback, undefined_symbol, | |
4115 | reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym): | |
4116 | New functions. | |
4117 | * ldmisc.c (vfinfo): Accept a string for %T, not a symbol. Don't | |
4118 | require symbols for %C; look them up instead. | |
4119 | * emultempl/hppaosf.em: Pass link_info to | |
4120 | hppa_look_for_stubs_in_section. | |
4121 | * Makefile.in: Rebuilt dependencies. | |
4122 | (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and | |
4123 | relax.c. | |
4124 | (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and | |
4125 | relax.h. | |
4126 | (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h, | |
4127 | ldlang.h and ldctor.h. | |
4128 | ||
4129 | * Makefile.in (ldlex.c): Don't depend on ldgram.h. Remove | |
4130 | declarations of free and malloc from flex output. Change malloc | |
4131 | to ldmalloc in flex output. | |
4132 | ||
4133 | Thu Dec 16 21:19:57 1993 Jeffrey A. Law ([email protected]) | |
4134 | ||
4135 | * ldmain.c (lprefix): Change default from a char to a string | |
4136 | with only one character. | |
4137 | (lprefix_len): Set default to one. | |
4138 | ||
4139 | * ldmain.h (lprefix_len): Declare. | |
4140 | ||
4141 | * ldsym.c (write_file_locals): Use strncmp rather than a character | |
4142 | comparison for lprefix. | |
4143 | ||
4144 | * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len | |
4145 | correctly. | |
4146 | ||
4147 | * emultmpl/hppaosf.em: Include ldexp.h. | |
4148 | (before_parse): Set lprefix and lprefix_len correctly. | |
4149 | ||
498fbd3c ILT |
4150 | Tue Dec 14 17:19:03 1993 Ian Lance Taylor ([email protected]) |
4151 | ||
553b0021 ILT |
4152 | * ldlex.h: Don't declare yywrap if it is a macro. |
4153 | * ldlex.l: Include sysdep.h. | |
498fbd3c ILT |
4154 | * ldlang.c (lang_for_each_statement_worker, |
4155 | lang_for_each_statement): Forgot to use PARAMS. | |
4156 | ||
1400cdc5 ILT |
4157 | Mon Dec 13 14:30:03 1993 Ian Lance Taylor ([email protected]) |
4158 | ||
4159 | * Makefile.in: Added .PHONY targets where appropriate. Added some | |
4160 | comments. Also: | |
4161 | (gcclibdir, version): Removed unused variables. | |
4162 | (DEP): New variable, set to mkdep. | |
4163 | (ALL_CFLAGS): New variable. Used in .c.o target. | |
4164 | (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New | |
4165 | variables. | |
4166 | (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES, | |
4167 | GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed | |
4168 | mostly obsolete variables. Adjusted remaining uses. | |
4169 | (DEF_EMUL): Removed variable. | |
4170 | (ldmain.o): Handle undefined EMUL error correctly. | |
4171 | (ldemul-list.h): Depend on config.status rather than Makefile. | |
4172 | Create via temporary file. | |
4173 | (ver960.c, roll, make): Removed obsolete targets. | |
4174 | (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild | |
4175 | dependencies. | |
4176 | * dep-in.sed: New file, used when rebuilding dependencies. | |
4177 | ||
2c6635a4 ILT |
4178 | Sat Dec 11 14:43:44 1993 Ian Lance Taylor ([email protected]) |
4179 | ||
fcf276c4 ILT |
4180 | Made many changes to eliminate gcc warnings. Made various |
4181 | cosmetic changes, declared various things in header files, removed | |
4182 | various extern declarations from .c files. No substantive | |
4183 | changes. | |
4184 | ||
2c6635a4 ILT |
4185 | * ldlang.c (lang_process): Ifdef out final call to |
4186 | lang_size_sections again (reverting change of Nove 2), since it | |
4187 | breaks the Sun4 linker. | |
4188 | ||
4189 | Thu Dec 2 16:31:47 1993 Ian Lance Taylor ([email protected]) | |
4190 | ||
4191 | * configure.in (alpha-*-netware*): New target; use alpha. | |
4192 | ||
d05ac46b KR |
4193 | Wed Dec 1 14:04:20 1993 Ken Raeburn ([email protected]) |
4194 | ||
4195 | * configure.in: Group targets by CPU. Merge some m68k target | |
4196 | entries with different CPU specs that use the same ld_target | |
4197 | values. | |
4198 | ||
4199 | * configure.in: Add sparc*-*-coff. | |
4200 | * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files. | |
4201 | * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o. | |
4202 | (em_coff_sparc.c): Add dependencies and build rules. | |
4203 | ||
4204 | * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare. | |
4205 | ||
f651733a ILT |
4206 | Wed Dec 1 12:19:55 1993 Ian Lance Taylor ([email protected]) |
4207 | ||
8e964b07 ILT |
4208 | * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval): |
4209 | New tokens. | |
f651733a | 4210 | (command_line_option): Accept and ignore them (for now). |
8e964b07 ILT |
4211 | * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On |
4212 | where n is a number. | |
f651733a ILT |
4213 | |
4214 | Mon Nov 22 14:14:29 1993 Ian Lance Taylor ([email protected]) | |
4215 | ||
4216 | * ldmain.c (subfile_wanted_p): If merging a common symbol which is | |
4217 | not in bfd_com_section, create the section in the BFD so that it | |
4218 | can be placed in the right output section. | |
4219 | ||
2332114c ILT |
4220 | Fri Nov 19 14:12:39 1993 Ian Lance Taylor ([email protected]) |
4221 | ||
4222 | * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32. | |
4223 | * emulparams/elf32mipsb.sh (DATA_ADDR): Define. | |
4224 | (OTHER_READONLY_SECTIONS): Define for .reginfo. | |
4225 | (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK. | |
4226 | * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating. | |
4227 | Move OTHER_READONLY_SECTIONS after all the other readonly | |
4228 | sections. Don't use DATA_ADDR twice. | |
4229 | ||
4230 | * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If | |
4231 | p is in a common section, make sure the BFD has a section of that | |
4232 | name. | |
4233 | ||
4234 | * ldlang.c (lang_common): Add newline to error message. | |
4235 | ||
4236 | Thu Nov 11 15:54:41 1993 Stan Shebs ([email protected]) | |
4237 | ||
4238 | * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a | |
4239 | Lynx-specific script instead of m68kcoff. | |
4240 | (OUTPUT_FORMAT): Define as "coff-m68k-lynx". | |
4241 | (ENTRY): Define as __main. | |
4242 | (TEXT_START_ADDR): Define as 0. | |
4243 | (PAGE_SIZE): Define as 0x1000. | |
4244 | * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment. | |
4245 | * scripttempl/m68klynx.sc: New file. | |
4246 | ||
4247 | Mon Nov 8 12:00:16 1993 Ian Lance Taylor ([email protected]) | |
4248 | ||
4249 | * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3 | |
4250 | arguments rather than treating them as emulation names. | |
4251 | ||
b11b3ace DHW |
4252 | Fri Nov 5 09:02:52 1993 D. V. Henkel-Wallace ([email protected]) |
4253 | ||
4254 | * configure.in: Support x86 unixware and netware plus generic netware. | |
4255 | ||
2ccb88c0 DM |
4256 | Fri Nov 5 21:47:55 1993 David J. Mackenzie ([email protected]) |
4257 | ||
4258 | * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): | |
4259 | Correct values (?). | |
4260 | ||
3c1af24d KR |
4261 | Wed Nov 3 15:10:15 1993 Ken Raeburn ([email protected]) |
4262 | ||
4263 | * Makefile.in (distclean): Don't delete dvi or info files. | |
4ecfad79 | 4264 | (ld.info): Update dependency list. |
2ccb88c0 | 4265 | (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi. |
3c1af24d | 4266 | |
3c292c5a DM |
4267 | Wed Nov 3 12:07:39 1993 David J. Mackenzie ([email protected]) |
4268 | ||
4269 | * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT. | |
4270 | Set output_filename instead of creating a new node. | |
4271 | (open_output): Don't set output_filename. | |
4272 | (lang_final): Create the new node here. | |
4273 | * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT. | |
4274 | ||
97fbbaca JL |
4275 | Tue Nov 2 15:45:51 1993 Jeffrey A. Law ([email protected]) |
4276 | ||
f1f6b5e9 JL |
4277 | From Pete Hoogenboom ([email protected]): |
4278 | ||
4279 | * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext, | |
4280 | edata, _edata, end): Add definitions of these symbols. | |
4281 | (__end): Remove definition of this symbol. | |
4282 | (__data_start): Move definition of this symbol. | |
4283 | ||
5f62613e JL |
4284 | * emultempl/hppaosf.em: Various fixes and support for linker stub |
4285 | generation. | |
4286 | (hppaosf_finish, hppaosf_search_for_padding_statements, | |
4287 | hppaosf_create_output_section_statements): New functions in | |
4288 | support of linker stub generation. | |
4289 | (ld_hppaosf_emulation): Redefine to include new | |
4290 | emulation-specific routines. | |
4291 | ||
97fbbaca JL |
4292 | * ldlang.c (lang_process): Re-enable last call lang_size_sections. |
4293 | Pass abs_output_section rather than NULL to avoid invalidating | |
4294 | absolute symbols. | |
4295 | ||
4296 | Thu Oct 28 21:16:42 1993 David J. Mackenzie ([email protected]) | |
4297 | ||
4298 | * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o. | |
4299 | (em_i386mach.c): New rule. | |
4300 | * configure.in (i[34]86-*-mach*): New case. | |
4301 | * config/i386-mach.mt: New file. | |
4302 | * emulparams/i386mach.sh: New file. | |
4303 | ||
c3b34cfd ILT |
4304 | Fri Oct 29 14:55:05 1993 Ian Lance Taylor ([email protected]) |
4305 | ||
4306 | * ld.h (flag_is_*): Removed macros. | |
4307 | * ldmain.c (enter_global_ref), ldsym.c (write_file_locals): | |
4308 | Consistently check the BFD symbol flags directly, rather than | |
4309 | using file_is_* macros. | |
4310 | ||
7b95fe96 SS |
4311 | Thu Oct 28 19:08:42 1993 Stan Shebs ([email protected]) |
4312 | ||
4313 | * configure.in (sparc*-*-lynxos*): New target. | |
4314 | * Makefile.in: Add rule for em_sparclynx.c. | |
4315 | (ALL_EMULATIONS): Add Lynx emulations. | |
4316 | * config/sparc-lynx.mt: New file. | |
4317 | * emulparams/sparclynx.sh: New file. | |
4318 | * scripttempl/sparccoff.sc: New file. | |
4319 | ||
d17eb3db ILT |
4320 | Thu Oct 28 13:50:25 1993 Ian Lance Taylor ([email protected]) |
4321 | ||
4322 | * Makefile.in: Add dependency for $(EMULATION_OFILES). | |
4323 | ||
db4b5ad0 ILT |
4324 | Mon Oct 25 16:09:24 1993 Ian Lance Taylor ([email protected]) |
4325 | ||
4326 | * relax.c (write_relax): Check return value of bfd_seclet_link. | |
4327 | ||
2fe6619e KR |
4328 | Mon Oct 25 09:31:21 1993 Ken Raeburn ([email protected]) |
4329 | ||
4330 | * ldlang.c (delete_output_file_on_failure): New variable. | |
4331 | (open_output): Set it after bfd open succeeds. | |
4332 | * ldmisc.c (vfinfo): Test it. | |
4333 | ||
4334 | Changes from Peter Hoogenboom, [email protected]: | |
4335 | ||
4336 | * ldsym.c (write_file_locals): Set the BSF_FILE flag for object | |
4337 | symbols. | |
4338 | ||
4339 | * ldemul.c: Support was added to allow emulation-specific | |
4340 | processing to occur. This support was added primarily for linker | |
4341 | stub generation in the elf32-hppa gld. | |
4342 | (ldemul_finish, ldemul_create_output_section_statements): New | |
4343 | functions. | |
4344 | * ldemul.h: Support was added to allow emulation-specific | |
4345 | processing to occur. (As described above.) Added finish and | |
4346 | create_output_section_statements fields to | |
4347 | ld_emulation_xfer_struct structure. | |
4348 | * ldlang.c: Add calls to emulation-specific routines. | |
4349 | (lang_process): Add call to | |
4350 | ldemul_create_output_section_statements function. | |
4351 | (lang_process): Add call to a emulation-specific routine (and | |
4352 | some processing after the call). | |
4353 | ||
4354 | Fri Oct 22 20:54:13 1993 david d `zoo' zuhn ([email protected]) | |
4355 | ||
4356 | * configure.in: mips*- instead of mips-, mips*el changes | |
4357 | ||
1c4b3cda ILT |
4358 | Tue Oct 19 15:46:28 1993 Ian Lance Taylor ([email protected]) |
4359 | ||
4360 | * configure.in (alpha-*-osf*): New target; use alpha.mt. | |
4361 | * Makefile.in (ALL_EMULATIONS): Added em_alpha.o. | |
4362 | (em_alpha.c): New target; use alpha.sh and alpha.sc. | |
4363 | * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define. | |
4364 | * config/alpha.mt: New file. | |
4365 | * emulparams/alpha.sh: New file. | |
4366 | * scripttempl/alpha.sc: New file. | |
4367 | ||
4368 | Fri Oct 15 02:20:04 1993 Doug Evans ([email protected]) | |
4369 | ||
4370 | * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle | |
4371 | types of different sizes (eg: 64 and 32 bits), so coerce. | |
4372 | * ld.h (ALIGN_N): Add warning about usage. | |
4373 | ||
98b5caad ILT |
4374 | Wed Oct 13 16:02:39 1993 Ian Lance Taylor ([email protected]) |
4375 | ||
4376 | * ldmain.c (enter_global_ref): Just ignore any weak symbol for | |
4377 | which we already have a definition, rather than checking in | |
4378 | several different places whether the symbol is weak. | |
4379 | ||
a71da760 ILT |
4380 | Tue Oct 12 17:30:51 1993 Ian Lance Taylor ([email protected]) |
4381 | ||
4382 | * configure.in (mips-*-elf*): New target; use mipsb-elf32. | |
4383 | * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and | |
4384 | OTHER_READWRITE_SECTIONS if relocating. Shell variables are not | |
4385 | expanded within them. | |
4386 | * config/mipsb-elf32.mt: New file. | |
4387 | * emulparams/elf32mipb.sh: New file. | |
4388 | * Makefile.in (em_elf32mipb.c): New target. | |
4389 | ||
a4aeaacf RS |
4390 | Thu Sep 30 17:00:36 1993 Rob Savoye ([email protected]) |
4391 | ||
a4aeaacf RS |
4392 | * ldgram.y: In input_list, change lang_input_file_is_file_enum to |
4393 | lang_input_file_is_search_file_enum so objects brought in using | |
4394 | INPUT() do a path lookup. | |
4395 | ||
4396 | Tue Sep 28 13:31:23 1993 Stan Shebs ([email protected]) | |
4397 | ||
4398 | * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx | |
4399 | instead of {i386,m68k}-coff. | |
4400 | * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets. | |
4401 | * config/i386-lynx.mt: New file. | |
4402 | * config/m68k-lynx.mt: New file. | |
4403 | * emulparams/i386lynx.sh: New file. | |
4404 | * emulparams/m68klynx.sh: New file. | |
4405 | ||
4406 | * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY}, | |
4407 | but defaulting to _start. | |
4408 | ||
4409 | * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h, | |
4410 | ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with | |
4411 | LynxOS libc. | |
4412 | ||
4413 | Thu Sep 23 14:51:03 1993 Ian Lance Taylor ([email protected]) | |
4414 | ||
4415 | * config/solaris2.mh: New file. Define HOSTING_CRT0 and | |
4416 | HOSTING_LIBS for testing. | |
4417 | ||
9a467cb2 ILT |
4418 | Fri Sep 17 17:52:24 1993 Ian Lance Taylor ([email protected]) |
4419 | ||
4420 | Finish up support for i386-sysv4 (without shared libraries): | |
4421 | * ld.h (flag_is_weak): Define. | |
4422 | * ldlang.c (print_symbol): Mention whether symbol is weak. | |
4423 | (print_input_section): Print weak symbols as globals. | |
4424 | * ldmain.c (refize): Do not zero out BSF_WEAK flag. | |
4425 | (enter_global_ref): Do not warn if a weak symbol redefines a | |
4426 | global symbol. Do not let a weak symbol redefine a common symbol. | |
4427 | (enter_file_symbols): Treat weak symbols as global symbols. | |
4428 | (subfile_wanted_p): Do not pull in an object file from a archive | |
4429 | just to resolve an undefined weak symbol. | |
4430 | * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal | |
4431 | error; the error might be that malloc has run out of space. | |
4432 | * ldsym.c (write_file_locals): Treat weak symbols as global. | |
4433 | * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets; | |
4434 | use i386-elf. | |
4435 | * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib. | |
4436 | * config/i386-elf.mt: New file; set EMUL to elf_i386. | |
4437 | * emulparams/elf_i386.sh: New file. | |
4438 | * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0). | |
4439 | * Makefile.in (NATIVE_LIB_DIRS): Define to be empty. | |
4440 | (ALL_EMULATIONS): Add em_elf_i386.o. | |
4441 | (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument. | |
4442 | (em_elf_i386.c): New target, like other em_*.c targets. | |
4443 | ($(LD_PROG)): Pass $(CFLAGS) to $(CC). | |
4444 | * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If | |
4445 | nonempty, and configured for native, add it to LIB_PATH. | |
4446 | ||
4f6d6db9 SS |
4447 | Fri Sep 17 13:07:39 1993 Stan Shebs ([email protected]) |
4448 | ||
4449 | * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}: | |
4450 | Added statements to pass stab and stabstr sections through and | |
4451 | mark them as NOLOAD, which makes GDB happier. | |
4452 | ||
4453 | Wed Sep 15 16:02:29 1993 Stan Shebs ([email protected]) | |
4454 | ||
4455 | * configure.in: Accept m68k-lynx-lynxos config. | |
4456 | ||
4457 | * Makefile.in: Use $(SHELL) to run genscripts.sh. | |
4458 | ||
1bff7c38 DE |
4459 | Sun Sep 12 16:04:40 1993 Doug Evans ([email protected]) |
4460 | ||
4f6d6db9 SS |
4461 | * config/coff-h8300.mt: Add EMUL=h8300h. |
4462 | ||
1bff7c38 DE |
4463 | * ldmain.c (main): Call set_scripts_dir after argv has been processed. |
4464 | ||
8a6665ae JW |
4465 | Fri Sep 10 09:36:29 1993 Jeffrey Wheat ([email protected]) |
4466 | ||
4467 | * Makefile.in: Changed CXX back to g++. | |
4468 | ||
3a9149a7 JW |
4469 | Fri Sep 10 09:34:29 1993 Jeffrey Wheat ([email protected]) |
4470 | ||
4471 | * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule. | |
4472 | ||
cbb5c2d1 DM |
4473 | Fri Sep 10 07:26:57 1993 David J. Mackenzie ([email protected]) |
4474 | ||
4475 | * Makefile.in (TAGS): Use shell wildcards. | |
4476 | ||
959eba20 JO |
4477 | Tue Sep 7 18:04:54 1993 Jeffrey Osier ([email protected]) |
4478 | ||
4479 | * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target | |
4480 | ||
a0a55af6 | 4481 | Fri Sep 3 16:46:41 1993 Roland H. Pesch ([email protected]) |
c1074477 | 4482 | |
a0a55af6 RP |
4483 | * ld.texinfo: re-enable included config file; conditionalize doc |
4484 | for -oformat to interact properly with SingleFormat doc config | |
4485 | var; rename @up/@down to @raisesections/@lowersections. | |
c1074477 DE |
4486 | |
4487 | Wed Aug 25 16:29:56 1993 K. Richard Pixley ([email protected]) | |
4488 | ||
4489 | * configure.in: recognize m88110. | |
4490 | ||
4346166b KR |
4491 | Tue Aug 24 18:49:40 1993 Ken Raeburn ([email protected]) |
4492 | ||
4493 | From Peter Hoogenboom <[email protected]>: | |
4494 | * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA | |
4495 | ELF emulation is "elf32-hppa" not "elf-big". | |
4496 | (hppaosf_before_parse): Remove unneeded processing of environment | |
4497 | variables. | |
4498 | * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in | |
4499 | .text segment of output file. | |
4500 | * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa. | |
4501 | ||
b98bd3db RP |
4502 | Tue Aug 24 16:17:00 1993 K. Richard Pixley ([email protected]) |
4503 | ||
95a2b9d2 RP |
4504 | * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no |
4505 | longer in bfd.h. | |
4506 | ||
4507 | * ldlang.c, ld.h: updated copyright. | |
b98bd3db | 4508 | |
ddddcdf0 ILT |
4509 | Tue Aug 17 15:22:03 1993 Ian Lance Taylor ([email protected]) |
4510 | ||
4511 | * ldlang.c (open_output, lang_check): Check return value of | |
4512 | bfd_set_arch_mach. | |
4513 | ||
ea1c0ad2 SC |
4514 | Tue Aug 17 07:02:19 1993 Steve Chamberlain ([email protected]) |
4515 | ||
4516 | * scripttempl/h8500.sc: Start all sections in a different segment. | |
4517 | * scripttempl/z8ksim.sc: Handle constructors | |
4518 | ||
ea1c0ad2 SC |
4519 | Thu Aug 12 16:05:37 1993 Jeffrey Wheat ([email protected]) |
4520 | ||
4521 | * Makefile.in: revert earlier changes back to execute runtest | |
4522 | with make check. cdtest and bootstrap now function as they | |
4523 | did within the Makefile. | |
4524 | ||
4525 | Thu Aug 12 10:20:05 1993 David J. Mackenzie ([email protected]) | |
4526 | ||
4527 | * Makefile.in: Update dependencies. | |
4528 | ||
4529 | * configure.in: Set EMULATION_OFILES in Makefile based on | |
4530 | --with-targets option. | |
4531 | ||
d301e438 JW |
4532 | Thu Aug 12 08:52:29 1993 Jeffrey Wheat ([email protected]) |
4533 | ||
4534 | * Makefile.in: check targets reimplemented to old way. | |
4535 | ||
75fe5471 ILT |
4536 | Wed Aug 11 08:26:11 1993 Ian Lance Taylor ([email protected]) |
4537 | ||
d62026ad ILT |
4538 | * config/i386v.mh, config/irix4.mh: Use gcc |
4539 | -print-libgcc-file-name rather than $(libdir)/libgcc.a. | |
75fe5471 ILT |
4540 | * config/i386sco.mh: New file; copy of i386v.mh to correspond to |
4541 | bfd/configure.host change. | |
4542 | ||
4543 | Mon Aug 9 14:25:35 1993 Ken Raeburn ([email protected]) | |
4544 | ||
4545 | * scripttempl/elf.sc: Handle .line and .debug* sections. | |
4546 | ||
4547 | * ldlex.l: Use bfd_scan_vma, not strtoul. | |
4548 | ||
31f55aa5 DM |
4549 | Fri Aug 6 08:57:39 1993 David J. Mackenzie ([email protected]) |
4550 | ||
4551 | * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c: | |
4552 | Remove inital caps in some error messages, change "can't" to | |
4553 | "cannot", add missing colons. | |
4554 | * ldmisc.c (vfinfo): Print "%%" as a single %. | |
4555 | For '%' followed by unrecognized character, print them both | |
4556 | verbatim instead of expecting a char * arg. | |
4557 | For '%C', don't put the function name in parens. | |
4558 | ||
4559 | * ldexp.c (invalid): Pass "%%", not "% ". | |
4560 | ||
33536304 ILT |
4561 | Fri Aug 6 14:31:22 1993 Ian Lance Taylor ([email protected]) |
4562 | ||
4563 | * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss. | |
4564 | (BSS_VAR): Removed; now always define _fbss. | |
4565 | * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR): | |
4566 | Removed. | |
4567 | ||
4568 | Thu Aug 5 15:55:19 1993 david d `zoo' zuhn ([email protected]) | |
4569 | ||
4570 | * configure.in: z8k-coff is the same as z8k-sim | |
4571 | ||
7c6a9e79 JW |
4572 | Wed Aug 4 21:00:18 1993 Jeffrey Wheat ([email protected]) |
4573 | ||
4574 | * testsuite/lib/ld.exp: new file | |
4575 | * testsuite/config/unix-ld.exp: new file | |
4576 | * testsuite/ld.bootstrap/bootstrap.exp: new file | |
4577 | * Makefile.in: add dejagnu support for make check | |
4578 | ||
8bf66be8 DM |
4579 | Wed Aug 4 17:52:32 1993 David J. Mackenzie ([email protected]) |
4580 | ||
4581 | * ldlex.l (comment): Add missing newline in message. | |
4582 | * ldindr.c (add_indirect): Ditto. | |
4583 | * ldexp.c (exp_fold_tree): Ditto. | |
4584 | ||
2a28d8b0 DM |
4585 | Tue Aug 3 10:57:41 1993 David J. Mackenzie ([email protected]) |
4586 | ||
4587 | * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons | |
4588 | into externs. | |
4589 | ||
4590 | * ldmisc.c (multiple_warn): New function. | |
4591 | * ldmisc.h: Declare it. | |
4592 | * ldmain.c (enter_global_ref): Call it. | |
4593 | * ld.h (ld_config_type): Add warn_common. | |
4594 | * ldlex.l, ldgram.y: Set it with -warn-common option. | |
4595 | * ldver.c (help): Document it. | |
4596 | ||
94f9d427 KR |
4597 | Mon Aug 2 12:04:36 1993 Ken Raeburn ([email protected]) |
4598 | ||
4599 | * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and | |
4600 | target-specific sections, and for changing data section vma. | |
4601 | ||
6b93d764 KR |
4602 | Mon Jul 26 14:00:02 1993 Ken Raeburn ([email protected]) |
4603 | ||
4604 | * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New | |
4605 | terminals, for Solaris. | |
4606 | (dirlist_ptr): New static variable. | |
4607 | (command_line_option): Accept new options. | |
4608 | ||
4609 | * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and | |
4610 | "-YP,...". | |
4611 | ||
4612 | * config/sun4sol2.mt: Pass emulation name without ".sh". | |
4613 | ||
94f9d427 KR |
4614 | * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c. |
4615 | * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly. | |
4616 | ||
6b93d764 KR |
4617 | Fri Jul 23 13:51:09 1993 Ken Raeburn ([email protected]) |
4618 | ||
4619 | * scripttempl/elf.sc: Add support for .init, .fini, .ctors, | |
4620 | .dtors, .data1, .rodata1 sections, instead of combining them into | |
4621 | other sections. For `-r', set all section start addresses to | |
4622 | zero. | |
4623 | ||
4624 | * emulparams/elf32-sparc.sh (TEXT_START_ADDR, | |
4625 | NONPAGED_TEXT_START_ADDR): Value should be 0x10100. | |
4626 | (MAXPAGESIZE): Renamed from PAGE_SIZE. | |
4627 | ||
a6152e39 DM |
4628 | Wed Jul 21 14:28:42 1993 David J. Mackenzie ([email protected]) |
4629 | ||
d59e5a47 DM |
4630 | * genscripts.sh: If this is the default emulation, set |
4631 | COMPILE_IN. | |
4632 | * emultempl/*.em: Use it to determine whether to compile in the | |
4633 | scripts. | |
4634 | ||
a6152e39 DM |
4635 | * Makefile.in (GENSCRIPTS): Pass the default emulation name to |
4636 | genscripts.sh. Pass the current emulation name without ".sh" on | |
4637 | the end. | |
4638 | * genscripts.sh: Take an default emulation arg. | |
d59e5a47 | 4639 | Use the current emulation name as EMULATION_NAME. |
a6152e39 DM |
4640 | Make default lib path for cross-compiling ':', not null. |
4641 | * emulparams/*.sh: Don't set EMULATION_NAME. | |
4642 | * ldemul.c (ldemul_get_script): Take isfile arg. | |
4643 | Pass it to emulation's get_script function. | |
4644 | * ldemul.h: Adjust get_script prototypes. | |
4645 | * ldfile.c (ldfile_find_command_file): Renamed from find_a_name. | |
4646 | No longer static. | |
4647 | * ldfile.h: Declare it. | |
4648 | * ldgram.y: Accept a script on the command line again, | |
4649 | for parsing compiled-in scripts. | |
4650 | * ldmain.c (main): If ld script is a file, parse it as a -T | |
4651 | option, otherwise parse it directly. | |
4652 | * emultempl/*.em (*get_script): Return the scripts themselves if | |
4653 | this is the default emulation; otherwise return their file names. | |
18d9a9c5 | 4654 | * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of |
a6152e39 DM |
4655 | generic.em. |
4656 | * emulparams/m88kbcs.sh: Use it. | |
4657 | ||
18d9a9c5 | 4658 | * ld.h (ld_config_type::unix_relocate): Remove unused element. |
a6152e39 | 4659 | |
0750b974 KR |
4660 | Tue Jul 20 12:01:49 1993 Ken Raeburn ([email protected]) |
4661 | ||
4662 | * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which | |
4663 | there's no change log entry yet, tsk tsk) from the list of | |
4664 | emulations compiled in until Mark gets around to checking in | |
4665 | emulparams/i386linux.sh. | |
820c446c KR |
4666 | (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is |
4667 | changed, this file gets updated. | |
0750b974 | 4668 | |
fe619ced ILT |
4669 | Fri Jul 16 14:14:32 1993 Ian Lance Taylor ([email protected]) |
4670 | ||
4671 | * ldgram.y (OPTION_Lfile): New token. | |
4672 | (command_line_option): Accept OPTION_L NAME (whitespace after -L). | |
4673 | * ldlex.l (<COMMAND>): Accept -L without FILENAME. | |
4674 | ||
dd8ca662 DE |
4675 | Fri Jul 16 13:44:26 1993 Doug Evans ([email protected]) |
4676 | ||
4677 | * configure.in: h8/300h support needs own .mt file. | |
4678 | config/coff-h8300h.mt: New file. | |
4679 | ||
922018a1 DM |
4680 | Thu Jul 15 12:44:35 1993 David J. Mackenzie ([email protected]) |
4681 | ||
4682 | * ldmain.c: Don't include sys/stat.h; it already got included | |
4683 | somewhere along the way. | |
4684 | ||
4ab3a31f DE |
4685 | Thu Jul 15 14:43:34 1993 Doug Evans ([email protected]) |
4686 | ||
4687 | * Makefile.in: Add h8300h support. | |
dd8ca662 DE |
4688 | emulparams/h8300h.sh: New file. |
4689 | scripttempl/h8300h.sc: New file. | |
4ab3a31f | 4690 | |
bbd2521f DM |
4691 | Thu Jul 15 12:44:35 1993 David J. Mackenzie ([email protected]) |
4692 | ||
4693 | * ldfile.c (ldfile_open_file): In error message, use the name the | |
4694 | user gave (e.g., "-lc"), rather than the base file name. | |
4695 | ||
4696 | * ldexp.c (exp_fold_tree): Don't assign an int to an enum. | |
4697 | ||
4698 | * ldmain.[ch]: Remove initial Q_ from function names. | |
4699 | * ldexp.c, ldindr.c, ldlang.c: Change callers. | |
4700 | ||
4701 | * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries. | |
4702 | ||
4703 | * ldlang.c (lang_process): Move loading of default script from | |
4704 | here to main. Add a "/" to start of script name to prevent | |
4705 | finding it in "." first. | |
4706 | ||
4707 | * ldmain.c (set_scripts_dir): Don't look in "." first. | |
4708 | ||
4709 | * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var | |
4710 | option_longmap. | |
4711 | ||
9edc5b2e ILT |
4712 | Thu Jul 15 10:55:59 1993 Ian Lance Taylor ([email protected]) |
4713 | ||
4714 | * Makefile.in (em_m88kbcs.c): Correct dependency. | |
b0955bc9 ILT |
4715 | * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET |
4716 | statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}. | |
4717 | * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs. | |
9edc5b2e | 4718 | |
cffdcde9 DM |
4719 | Wed Jul 14 21:42:53 1993 David J. Mackenzie ([email protected]) |
4720 | ||
4721 | * ldfile.c (ldlang_open_file, ldfile_open_command_file), | |
4722 | main.c (main): Print the errno string in the error message. | |
4723 | ||
ac2c0ee7 DE |
4724 | Tue Jul 13 20:00:30 1993 Doug Evans ([email protected]) |
4725 | ||
4726 | * configure.in: Accept h8300h for target cpu. | |
4727 | ||
4728 | * ldmisc.c (vfinfo): Have demangle remove leading underscore if | |
4729 | present (demangle is smart enough to know whether to do it or not). | |
4730 | ||
d723cd17 DM |
4731 | Mon Jul 12 11:45:48 1993 David J. Mackenzie ([email protected]) |
4732 | ||
f4208462 DM |
4733 | * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for |
4734 | ldscripts, as well as <ld bin dir> and SCRIPTDIR. | |
4735 | ||
d723cd17 DM |
4736 | * ldlang.c (lang_process): Use sizeof instead of magic constant. |
4737 | ||
4738 | * ldmain.c (get_emulation, check_for_scripts_dir, | |
4739 | set_scripts_dir): New functions. | |
4740 | (main): Call them. | |
4741 | ||
e7affb09 KR |
4742 | Mon Jul 12 10:57:03 1993 Ken Raeburn ([email protected]) |
4743 | ||
4744 | * scripttempl/elf.sc: Include .init, .fini, .rodata sections. | |
4745 | Create symbol "end" instead of "__end". Comment out some parts | |
4746 | that may not be needed (yet) for elf. | |
4747 | ||
4748 | * configure.in: Accept sparc-elf and sparc-solaris2 configs. | |
4749 | ||
3cb61417 KR |
4750 | Thu Jul 8 15:33:32 1993 Ken Raeburn ([email protected]) |
4751 | ||
4752 | * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS). | |
4753 | ||
4754 | * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro | |
4755 | when no prototype is being supplied. | |
4756 | (ldmalloc, ldrealloc): Size argument is now size_t. | |
4757 | ||
4758 | * ldmisc.c (finfo): New function, accepts FILE* argument. | |
4759 | (vfinfo, case 'v'): New format character; displays bfd_vma in hex | |
4760 | without leading zeros. | |
4761 | (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a | |
4762 | bfd_vma value, instead of fprintf(%x) which won't hold a long long | |
4763 | value. | |
4764 | (concat, buystring): String lengths are size_t. | |
4765 | (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t. | |
4766 | ||
4767 | * ldlang.c (new_statement): Size argument is now size_t. Added | |
4768 | forward declaration with prototype. | |
4769 | ||
de87cdb4 DM |
4770 | Thu Jul 8 10:53:47 1993 David J. Mackenzie ([email protected]) |
4771 | ||
4772 | * ldgram.y (OPTION_v): Don't turn on verbose output. | |
4773 | ||
49bfda2c KR |
4774 | Wed Jul 7 17:10:45 1993 Ken Raeburn ([email protected]) |
4775 | ||
3cb61417 KR |
4776 | * ldlex.l: Get rid of local typedef for bfd_vma! Get it from |
4777 | bfd.h instead. | |
49bfda2c | 4778 | |
e357065c ILT |
4779 | Wed Jul 7 11:33:12 1993 Ian Lance Taylor ([email protected]) |
4780 | ||
4781 | * Makefile.in (install): Don't install as $(tooldir)/bin/gld; | |
4782 | collect2 doesn't look for gld any more anyhow. | |
4783 | ||
55636aa7 ILT |
4784 | Mon Jul 5 14:29:48 1993 Ian Lance Taylor ([email protected]) |
4785 | ||
4786 | * ldlang.c (lang_relocate_globals): Skip indirect symbols, which | |
4787 | now have a non NULL srefs_chain. | |
4788 | ||
4789 | * config/hp300hpux.mt: Use emulation hp3hpux rather than | |
4790 | hp300hpux, since the latter does not exist. | |
4791 | ||
ff76a7db DM |
4792 | Fri Jul 2 18:06:05 1993 David J. Mackenzie ([email protected]) |
4793 | ||
4794 | * genscripts.sh: Put the scripts in the ldscripts directory, not | |
4795 | emulations. | |
4796 | * configure.in (ldscripts): Make, instead of emulations. | |
4797 | * Makefile.in (scriptdir): Take off the "ld" part. | |
4798 | (install, clean, distclean): Use ldscripts, not emulations. | |
a04f1d00 | 4799 | In tests, don't pass -Lemulations. |
ff76a7db DM |
4800 | Don't pass tooldir/lib to genscripts.sh. |
4801 | * genscripts.sh: Don't take tooldir/lib arg. | |
4802 | * ldlang.c (lang_process): Add "ldscripts/" to the name of the | |
4803 | default script file. | |
4804 | ||
7434d4e5 DE |
4805 | Fri Jul 2 17:13:35 1993 Doug Evans ([email protected]) |
4806 | ||
4807 | * scripttempl/h8300.sc: Add .tors section for constructor/destructors. | |
4808 | ||
4809 | Thu Jul 1 16:38:45 1993 Doug Evans ([email protected]) | |
4810 | ||
4811 | * config/coff-h8300.mt: EMUL=h8300hms -> h8300. | |
4812 | ||
559d7baf RP |
4813 | Wed Jun 30 15:45:55 1993 K. Richard Pixley ([email protected]) |
4814 | ||
1e787898 RP |
4815 | * Makefile.in (.y.c): skip default .y.c rules. gnu make can now |
4816 | run in parallel without colliding on yacc's static file names. | |
4817 | Without the stub rule, make will try to start two yacc's | |
4818 | concurrently which fails because of yacc's static file names. | |
559d7baf RP |
4819 | |
4820 | Tue Jun 29 12:20:36 1993 Ian Lance Taylor ([email protected]) | |
4821 | ||
4822 | * ldmain.c (subfile_wanted_p): Don't dump core if there are no | |
4823 | symbols. | |
4824 | ||
59fb874e DM |
4825 | Mon Jun 28 12:22:11 1993 David J. Mackenzie ([email protected]) |
4826 | ||
559d7baf RP |
4827 | * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's |
4828 | different from libdir. | |
4829 | ||
59fb874e DM |
4830 | * Makefile.in (scriptdir): Base on tooldir, not datadir. |
4831 | ||
bf065bfd DM |
4832 | Sat Jun 26 12:03:57 1993 David J. Mackenzie ([email protected]) |
4833 | ||
4834 | * ldver.c (help): New function. | |
4835 | * ldver.h: Declare it. | |
4836 | * ldlex.l, ldgram.y: Recognize new options --help and --version. | |
4837 | ||
304b747a KR |
4838 | Mon Jun 21 20:39:48 1993 Ken Raeburn ([email protected]) |
4839 | ||
4840 | * Makefile.in (INCLUDES): Don't need ../include any more. | |
4841 | ||
2b63dbfe DM |
4842 | Mon Jun 21 16:38:35 1993 David J. Mackenzie ([email protected]) |
4843 | ||
bf065bfd DM |
4844 | * ldlex.l, ldgram.y: Support new -oformat option. |
4845 | Remove attempt at supporting script fragments on the command line. | |
4846 | * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT. | |
4847 | * mri.c (mri_format), ldgram.y: Change callers. | |
4848 | * ldlang.h: Change prototype. | |
2b63dbfe | 4849 | |
e9b991c6 DZ |
4850 | Thu Jun 17 16:53:56 1993 david d `zoo' zuhn ([email protected]) |
4851 | ||
4852 | * Makefile.in: canonicalize install.sh; for use within | |
4853 | this directory (and subdirs) | |
4854 | ||
565c93e9 DM |
4855 | Thu Jun 17 14:33:09 1993 David J. Mackenzie ([email protected]) |
4856 | ||
2de8edce DM |
4857 | * ldgram.y: Tweak grammar to make reporting of invalid options work. |
4858 | ||
565c93e9 DM |
4859 | * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc |
4860 | and .cc.o rule. | |
4861 | ||
8ddef552 DM |
4862 | Wed Jun 16 11:45:32 1993 David J. Mackenzie ([email protected]) |
4863 | ||
4864 | * ldfile.c (ldfile_open_command): Don't try .ld extension. | |
4865 | It wasn't documented (or likely used) and wastes time. | |
4866 | (try_open): If EXTEN is empty, don't try it. | |
4867 | ||
4868 | * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c, | |
4869 | ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c, | |
4870 | ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls | |
4871 | with normal function declarations. | |
4872 | ||
4873 | * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh. | |
4874 | Move *.sc-sh to scripttempl/*.sc. | |
4875 | * {emultempl,emulparams,scripttempl}/README: New files. | |
4876 | * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files | |
4877 | removed, replaced with generic.em. | |
4878 | * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from | |
4879 | h8[35]00hms.s[ch]. Change their contents to omit the "hms". | |
4880 | ||
4881 | * *.em (*_get_script): Return script name instead of script contents. | |
4882 | * ldlang.c (lang_process): Change caller. | |
4883 | ||
4884 | * ldlex.l, ldgram.y: Recognize -m option. | |
4885 | Check for input files after *all* options in grammar. | |
4886 | * ldmain.c (main): Check for -m options. Add default directory | |
4887 | for -m. | |
4888 | ||
4889 | * mkscript.c: File removed. | |
4890 | * genscripts.sh: Take two more parameters, tooldirlib and libdir, | |
4891 | to add to the default LIB_PATH. | |
4892 | Look for input files in the new subdirectories. | |
4893 | Create the scripts in emulations subdirectory and don't filter | |
4894 | them through mkscript. | |
4895 | * configure.in: Make the emulations subdirectory. | |
4896 | ||
4897 | * Makefile.in: Account for all of the above changes. | |
4898 | Remove unused .SUFFIXES. Get libgcc.a path with gcc | |
4899 | -print-libgcc-file-name instead of $(libdir)/libgcc.a. | |
4900 | Put CFLAGS last in the compilation rules. | |
4901 | Add -I../bfd to INCLUDES so sysdep.h is found. | |
4902 | ||
2a963f1a KR |
4903 | Tue Jun 15 23:04:46 1993 Ken Raeburn ([email protected]) |
4904 | ||
4905 | * Makefile.in (INCLUDES): Look in ../include, not ../bfd. | |
4906 | ||
4907 | * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO | |
4908 | dependent on RELOCATING, not RELOCATION. | |
4909 | * hp3hpux.sh (SHLIB_PATH): Define it. | |
4910 | ||
8ddef552 DM |
4911 | Mon Jun 14 19:06:15 1993 David J. Mackenzie ([email protected]) |
4912 | ||
4913 | * ldfile.c (try_open): If opening without the extension fails, | |
4914 | try with the extension even if -v or -V was given. | |
4915 | had_script is imported (from ldgram.y), not exported. | |
4916 | ||
c97b9003 DZ |
4917 | Mon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) |
4918 | ||
4919 | * Makefile.in: remove parentdir support, use INSTALL_XFORM | |
4920 | ||
4921 | Thu Jun 10 14:00:06 1993 Ian Lance Taylor ([email protected]) | |
4922 | ||
4923 | * ldexp.c (exp_fold_tree): Don't lose the old flag bits. | |
4924 | * ldgram.y (statement_list_opt): New nonterminal, either empty or | |
4925 | statement_list. | |
4926 | (section): Use statement_list_opt, not statement_list. | |
4927 | * m68kcoff.sc-sh: Gather constructors and destructors and define | |
4928 | __CTOR_LIST__ and __DTOR_LIST__ appropriately. | |
4929 | * sa29200.sc-sh: Gather constructors and destructors and define | |
4930 | ___CTOR_LIST__ and ___DTOR_LIST__ appropriately. | |
4931 | ||
7f2649bb PB |
4932 | Mon Jun 7 12:53:28 1993 Per Bothner ([email protected]) |
4933 | ||
4934 | * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. | |
4935 | * configure.in: No longer need to configure to get sysdep.h. | |
4936 | ||
91b3a2b6 DZ |
4937 | Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
4938 | ||
7f2649bb PB |
4939 | * Makefile.in: remove install:all and install-info:info |
4940 | dependencies (these cause some spurious rebuilds at 'make install' | |
4941 | time) | |
91b3a2b6 | 4942 | |
559d1cff ILT |
4943 | Fri Jun 4 08:50:14 1993 Ian Lance Taylor ([email protected]) |
4944 | ||
98f3d1af ILT |
4945 | * configure.in (mips-idt-ecoffl*): New target; use mips-idtl. |
4946 | (mips-idt-ecoff*): Added trailing '*'. | |
4947 | * config/mips-idtl.mt: New file; use EMUL of mipsidtl. | |
4948 | * mipsidtl.sh: New file; like mipsidt.sh, but little endian. | |
4949 | * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o. | |
4950 | ||
559d1cff ILT |
4951 | * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and |
4952 | incorrect definitions. | |
4953 | ||
1cf91c69 PB |
4954 | Tue Jun 1 14:56:10 1993 Per Bothner ([email protected]) |
4955 | ||
4956 | * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR | |
4957 | symbols, unless stripping. | |
4958 | ||
63545898 ILT |
4959 | Tue May 25 15:34:25 1993 Ian Lance Taylor ([email protected]) |
4960 | ||
4961 | * Makefile.in: configure looks for ####, so remove lines with many | |
4962 | '#' characters. | |
4963 | * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0 | |
4964 | and HOSTING_LIBS correctly so that ``make check'' will work. | |
4965 | ||
4966 | Thu May 20 13:56:16 1993 Per Bothner ([email protected]) | |
4967 | ||
4968 | * mips.sc-sh: Define _etext, _edata, and _end, in addition | |
4969 | to etext, edata, and end. Needed for IRIX 4.0.5F. | |
4970 | Patch from [email protected] (Michael Paddon). | |
4971 | ||
2a963f1a KR |
4972 | * Version 2.2.1 released. |
4973 | ||
5266c5ec KR |
4974 | Thu May 20 11:42:06 1993 Ken Raeburn ([email protected]) |
4975 | ||
4976 | * mipsbsd.sc-sh: Renamed from aout-mipsbsd.sc-sh. | |
4977 | * mipsbsd.sh (EMULATION_NAME): Use new file name. | |
4978 | ||
4979 | Tue May 18 17:10:24 1993 Ken Raeburn ([email protected]) | |
4980 | ||
4981 | * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it | |
4982 | properly right now. | |
4983 | ||
4984 | * Version 2.2 released. | |
4985 | ||
4986 | Mon May 17 15:37:28 1993 Ken Raeburn ([email protected]) | |
4987 | ||
4988 | * ldver.c (ldversion): Bump version number to 2.2. | |
4989 | ||
bc3b479c PB |
4990 | Mon May 17 12:44:31 1993 Per Bothner ([email protected]) |
4991 | ||
4992 | * NEWS: New file. | |
4993 | ||
4994 | Fri May 14 11:26:24 1993 Ian Lance Taylor ([email protected]) | |
4995 | ||
4996 | * mips.sc-sh: Don't define BSS_VAR unless relocating. | |
4997 | ||
4998 | Wed May 12 13:33:29 1993 Ian Lance Taylor ([email protected]) | |
4999 | ||
5000 | * Makefile.in (mkscript.o, mkscript): Build mkscript via | |
5001 | mkscript.o, rather than directly from mkscript.c. | |
5002 | ||
b8fc168d KR |
5003 | Tue May 4 21:58:56 1993 Ken Raeburn ([email protected]) |
5004 | ||
5005 | * configure.in: Look for ${target_makefile_frag} relative to | |
5006 | ${srcdir}, not relative to build directory. | |
5007 | ||
5008 | * hppaosf.em, hppaosf.sc-sh, hppaosf.sh: New files. | |
5009 | * configure.in: Recognize hppa*-hp-osf. | |
5010 | * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation. | |
5011 | (em_hppaosf.c): Build it. | |
bc3b479c | 5012 | * config/hppaosf.mh, hppaosf.mt: New files. |
b8fc168d KR |
5013 | |
5014 | * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with | |
5015 | some system header files. All uses changed. | |
5016 | ||
5017 | * configure.in: Recognize i386-aix configurations as i386-coff | |
5018 | targets. | |
5019 | ||
5020 | * configure.in: Recognize m68*-*-hpux. | |
5021 | * aout.sc-sh: If STACKZERO and RELOCATING are both defined, output | |
5022 | the value of STACKZERO. | |
5023 | * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation. | |
5024 | (em_hp3hpux.c): Build it. | |
5025 | * hp3hpux.sh, config/hp300hpux.mt: New files. | |
5026 | ||
ef868186 ILT |
5027 | Tue May 4 12:37:35 1993 Ian Lance Taylor ([email protected]) |
5028 | ||
5029 | * mips.sc-sh: Put constructors in the .data section. | |
5030 | * Makefile.in (cdtest): Added dependency on ld.new. | |
5031 | ||
034351e3 PB |
5032 | Mon May 3 19:43:39 1993 Per Bothner ([email protected]) |
5033 | ||
5034 | * Makefile.in: Change definition of $(tooldir) to match FSF. | |
5035 | * vax.sh, config/vax.mt, configure.in, Makefile.in: | |
5036 | Support VAX Ultrix and BSD. | |
5037 | ||
5038 | Mon Apr 26 18:35:47 1993 Steve Chamberlain ([email protected]) | |
5039 | ||
5040 | * sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH. | |
5041 | ||
5042 | Wed Apr 14 21:01:51 1993 John Gilmore ([email protected]) | |
5043 | ||
5044 | * ldlang.h (struct memory_region): Change `length' and | |
5045 | `old_length' fields to bfd_size_type. Eliminate use of bfd_offset. | |
5046 | * ldlang.c, mri.c: Corresponding changes, plus lint. | |
5047 | ||
5048 | Thu Apr 8 22:08:18 1993 Ian Lance Taylor ([email protected]) | |
5049 | ||
5050 | * configure.in: For all i386 targets, accept i486 as well. | |
5051 | ||
5052 | Mon Apr 5 17:33:39 1993 Ian Lance Taylor ([email protected]) | |
5053 | ||
5054 | * ldlang.c (wild_doit): Preserve all flags for a | |
5055 | SEC_SHARED_LIBRARY section. | |
5056 | (size_input_section): Consider any SEC_HAS_CONTENTS section when | |
5057 | computing largest_section. | |
5058 | ||
1b8a42f3 ILT |
5059 | Fri Apr 2 14:33:52 1993 Ian Lance Taylor ([email protected]) |
5060 | ||
5061 | * ldlang.c (lang_output_section_statement_lookup): Initialize all | |
5062 | fields of newly created structure. | |
5063 | ||
5064 | Wed Mar 31 18:19:15 1993 Ian Lance Taylor ([email protected]) | |
5065 | ||
5066 | * ldmain.c (g_switch_value): New variable. | |
5067 | * ldgram.y (OPTION_G, OPTION_Gval): New tokens. | |
5068 | (command_line_option): Accept -G and set g_switch_value. | |
5069 | * ldlex.l (COMMAND): Accept -G. | |
5070 | * ldlang.c (open_output): Call bfd_set_gp_size on new BFD. | |
5071 | ||
29f33467 SC |
5072 | Tue Mar 30 09:40:25 1993 Steve Chamberlain ([email protected]) |
5073 | ||
9fce28ed SC |
5074 | Support for linking and loading at different places: |
5075 | ||
5076 | * ldlex.l: Add "AT" keyword. | |
5077 | * ldgram.y: Cleanup, and parse AT. | |
5078 | * ldlang.c (print_output_section_statement): Print output address | |
5079 | of section in map. (lang_size_sections): Fill sections' lma with | |
5080 | load address. | |
5081 | * ldlang.h (lang_output_section_statement_type): Add load_base | |
5082 | information. | |
5083 | ||
29f33467 SC |
5084 | * ldindr.c (add_indirect): Keep more information in the alias |
5085 | symbol chain. | |
5086 | * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section | |
5087 | attribute from an input section. | |
5088 | * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by | |
5089 | default. (Q_enter_file_symbos): Indirect symbols now are known by | |
5090 | their section, not a special symbol flag. | |
5091 | * ldsym.c (write_file_locals): Indirect symbols aren't local. | |
5092 | (write_file_globals): Write the mapping for an indirect symbol. | |
5093 | * relax.c (build_it): When forced to write a NEVER_LOAD section, | |
5094 | fill it with zeros. | |
5095 | ||
5096 | Tue Mar 23 13:24:10 1993 Jeffrey Osier ([email protected]) | |
5097 | ||
5098 | * ld.texinfo: changes for q1 | |
5099 | ||
f20e9842 DZ |
5100 | Tue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
5101 | ||
5102 | * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck | |
5103 | ||
5104 | Mon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
5105 | ||
5106 | * Makefile.in: rename HOST_CC to CC_FOR_BUILD | |
5107 | ||
5108 | Thu Mar 4 12:44:33 1993 Ian Lance Taylor ([email protected]) | |
5109 | ||
5110 | * mips.sc-sh: Added variables which may be overridden by a | |
5111 | specific emulation. | |
5112 | * mipsidt.sh: New file; emulation for IDT MIPS board. | |
5113 | * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o. | |
5114 | (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh. | |
5115 | * config/mips-idt.mt: New file; sets EMUL to mipsidt. | |
5116 | * configure.in (mips-idt-ecoff): New target; uses mips-idt. | |
5117 | ||
e637dcf0 KR |
5118 | Sat Feb 27 00:00:14 1993 Ken Raeburn ([email protected]) |
5119 | ||
5120 | * aout-mipsbsd.sc-sh, mipsbsd.sh: New files from Ralph Campbell, | |
5121 | [email protected]. | |
5122 | * i386bsd.sh, config/i386bsd.mt: New files. | |
5123 | * configure.in, Makefile.in: Added support for mipsbsd and 386bsd. | |
5124 | ||
26483cc6 PB |
5125 | Thu Feb 25 15:33:10 1993 Per Bothner ([email protected]) |
5126 | ||
e637dcf0 | 5127 | * mri.c: Add extern declaration of strdup. |
26483cc6 PB |
5128 | * ldsym.c (KEEP macro): Add spaces around '=' for the |
5129 | sake of old (e.g. PCC) compilers. | |
5130 | ||
05985c77 PB |
5131 | Wed Feb 24 19:49:31 1993 Per Bothner ([email protected]) |
5132 | ||
5133 | * ldver.c: Bump to version 2.1. | |
5134 | ||
067e2baa SC |
5135 | Fri Feb 12 08:09:11 1993 Steve Chamberlain ([email protected]) |
5136 | ||
5137 | * ldgram.y: allow section types without address expressions. | |
5138 | * ldlang.c (lang_relocate_globals): avoid possible hang with | |
5139 | undefined but unreferenced symbols. | |
5140 | * relax.c (relax_section): don't complain if the script file isn't | |
5141 | relaxable but -relax is set | |
5142 | ||
fb8ecc3d DZ |
5143 | Thu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
5144 | ||
5145 | * configure.in: go32 is the 3rd part of the triple, not the 2nd | |
5146 | ||
067e2baa SC |
5147 | Wed Feb 3 09:05:56 1993 Ian Lance Taylor ([email protected]) |
5148 | ||
5149 | * mipsbig.sh: New file. Big endian MIPS emulation. | |
5150 | * config/mips-big.mt: New file. Use mipsbig emulation. | |
5151 | * configure.in (mips-sgi-irix*): Use target mips-big. | |
5152 | * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o. | |
5153 | (em_mipsbig.c): New target. Uses mipsbig.sh. | |
5154 | ||
e193c31b ILT |
5155 | Tue Feb 2 11:32:27 1993 Ian Lance Taylor ([email protected]) |
5156 | ||
5157 | * mips.sc-sh: Put .scommon sections into .sbss section. | |
5158 | ||
5159 | * ldmain.c (subfile_wanted_p): Preserve section of common symbols, | |
5160 | rather than always putting them in bfd_com_section. | |
5161 | * ldlang.c (lang_common): If a common symbol is not in | |
5162 | bfd_com_section, put in a section of the same name, rather than | |
5163 | always putting it in section COMMON. | |
5164 | ||
8a3efe67 ILT |
5165 | Fri Jan 29 09:57:58 1993 Ian Lance Taylor ([email protected]) |
5166 | ||
f31cb329 ILT |
5167 | * ldmain.c (subfile_wanted_p): If we already have a common |
5168 | definition of a symbol, don't necessarily pull in an object file | |
5169 | that provides a non-common definition. | |
5170 | ||
8a3efe67 ILT |
5171 | * ldlex.l (COMMAND): Accept -EB and -EL command line arguments, |
5172 | returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS | |
5173 | linker. | |
5174 | * ldgram.y (OPTION_EB, OPTION_EL): New tokens. | |
5175 | (command_line_option): Accept and ignore OPTION_EB and OPTION_EL. | |
5176 | ||
af6237a4 ILT |
5177 | Thu Jan 28 15:12:04 1993 Ian Lance Taylor ([email protected]) |
5178 | ||
5179 | * Makefile.in (install): Remove $(tooldir)/bin/gld before creating | |
5180 | the link to it. | |
5181 | ||
8a045e50 ILT |
5182 | Tue Jan 26 11:49:50 1993 Ian Lance Taylor ([email protected]) |
5183 | ||
5184 | * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than | |
5185 | checking for equality to bfd_com_section. | |
5186 | ||
42b5c739 ILT |
5187 | Fri Jan 22 14:22:44 1993 Ian Lance Taylor ([email protected]) |
5188 | ||
5189 | * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF | |
5190 | targets, linker script. | |
5191 | * mipslit.sh: New file. Little endian MIPS emulation. | |
5192 | * config/mips-lit.mt: New file. Use mipslit emulation. | |
5193 | * configure.in (mips-dec-ultrix*): Use target mips-lit. | |
5194 | * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o. | |
5195 | (em_mipslit.c): New target. Uses mipslit.sh. | |
5196 | ||
5197 | Thu Jan 14 15:30:27 1993 Ian Lance Taylor ([email protected]) | |
5198 | ||
5199 | * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and | |
5200 | $(tooldir)/bin/gld, so that gcc can find it with or without | |
5201 | collect2. | |
5202 | ||
ac496d4f ILT |
5203 | Mon Jan 11 18:50:07 1993 Ian Lance Taylor ([email protected]) |
5204 | ||
5205 | * ldwrite.c: Removed perform_relocation, copy_and_relocate, and | |
5206 | write_norel. All linking is now done via write_relax. Call | |
5207 | ldsym_write before calling write_relax. | |
5208 | * relax.c: Added copyright. | |
5209 | (write_relax): Renamed from write_relaxnorel. Added relocateable | |
5210 | argument. seclet_dump renamed to bfd_seclet_link. | |
5211 | * relax.h: Added copyright. | |
5212 | ||
0550e9f4 SC |
5213 | Mon Jan 11 15:41:56 1993 Steve Chamberlain ([email protected]) |
5214 | ||
5215 | * ldmain.c (decode_library_subfile): Patch from | |
5216 | [email protected], don't reread library symbol tables. | |
5217 | ||
5218 | Fri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
5219 | ||
5220 | * config/vxworks960.mt renamed to config/i960.mt | |
5221 | ||
5222 | * configure.in: sparc-aout emulates a sun4, as does | |
5223 | sparc*-vxworks, i960-nindy uses gld960 emulation | |
5224 | ||
dadd414a SC |
5225 | Fri Jan 8 14:39:07 1993 Steve Chamberlain ([email protected]) |
5226 | ||
5227 | Fix support for NOLOAD, add INCLUDE | |
5228 | * ldfile.c (ldfile_open_command_file): pass file name to | |
5229 | lex_push_file. | |
5230 | * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD | |
5231 | * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD | |
5232 | attribute. | |
5233 | ||
5234 | Thu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
5235 | ||
5236 | * Makefile.in, config.h: no more default emulation. Make the lack | |
5237 | of emulation a compile time error | |
5238 | ||
5239 | Wed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
5240 | ||
5241 | * configure.in: recognise all sparclite variants, not just 'sparclite' | |
5242 | ||
a70947c1 ILT |
5243 | Mon Dec 28 11:15:35 1992 Ian Lance Taylor ([email protected]) |
5244 | ||
5245 | * m68kcoff.sc-sh: define _end as well as end, for consistency with | |
5246 | aout.sc-sh. | |
5247 | ||
5248 | * configure.in: accept *-ericsson-ose for any m68k CPU. | |
5249 | ||
5250 | * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag | |
5251 | for each output section. | |
5252 | ||
086c5e37 PB |
5253 | Mon Dec 21 16:06:59 1992 Per Bothner ([email protected]) |
5254 | ||
5255 | * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new | |
5256 | macro bfd_asymbol_bfd as appropriate. | |
5257 | * Makefile.in: Un-duplicate ldlex.c dependency. | |
5258 | * condigure.in: Replace my_host case table by sourcing | |
5259 | ../bfd/configure.host. Allow std-host as the default. | |
5260 | * ldmisc.c: Change logic for C++ name demangling: There is | |
5261 | no initial '_' to remove from stab-derived function names. | |
5262 | ||
5263 | Sun Dec 13 16:31:26 1992 Steve Chamberlain ([email protected]) | |
5264 | ||
5265 | * ldlang.c (lang_init_script_file): don't attach the output file | |
5266 | sections to the script file. | |
5267 | ||
5268 | Wed Dec 9 08:38:05 1992 Steve Chamberlain ([email protected]) | |
5269 | * ldlang.c (wild): run expansion loop over command line bfd too. | |
5270 | (lang_ini_script_file): initialize more parts of the command line | |
5271 | bfd. | |
5272 | * ldlex.l: fix DEFINED start states. | |
8ddef552 | 5273 | |
85e38cfa SC |
5274 | Mon Dec 7 08:43:41 1992 Steve Chamberlain ([email protected]) |
5275 | -y support | |
5276 | * ld.texinfo: new doc. | |
5277 | * ldgram.y, ldlex.l: understand -y<symbol> | |
5278 | * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and | |
5279 | print info. (add_ysym): new function. | |
5280 | * ldsym.h: (ldsym_type): new define SYM_Y. | |
5281 | ||
e20873a7 JG |
5282 | Sat Nov 21 03:15:27 1992 John Gilmore ([email protected]) |
5283 | ||
5284 | * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, | |
5285 | ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h, | |
5286 | ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue | |
5287 | macros with PARAMS. Recreational cleanup. Update copyrights. | |
5288 | ||
5289 | Tue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
5290 | ||
5291 | * Makefile.in: pass down the bfd source directory for includes | |
5292 | ||
22292613 ILT |
5293 | Thu Nov 5 15:41:55 1992 Ian Lance Taylor ([email protected]) |
5294 | ||
5295 | * ldlang.c (lang_size_sections): don't change size and address for | |
5296 | SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD | |
5297 | sections. | |
5298 | ||
85c838d6 SC |
5299 | Thu Nov 5 11:33:57 1992 Steve Chamberlain ([email protected]) |
5300 | ||
5301 | * relax.c (build_it): re-enable the processing of data_statements | |
5302 | in scripts, makes counted contructor lists work again. | |
5303 | ||
6e94236a JG |
5304 | Thu Nov 5 05:43:01 1992 John Gilmore ([email protected]) |
5305 | ||
5306 | * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS). | |
5307 | ||
5308 | Tue Oct 20 10:56:06 1992 Ian Lance Taylor ([email protected]) | |
5309 | ||
5310 | * m68kcoff.sc-sh: don't use initial underscores for etext, edata | |
5311 | and end. | |
5312 | ||
e9b63852 ILT |
5313 | Mon Oct 19 09:45:38 1992 Ian Lance Taylor ([email protected]) |
5314 | ||
5315 | * Support for i386-sysv. | |
5316 | configure.in: check for i386-*-sysv* and i386-*-sco*. | |
5317 | i386coff.sc-sh: rewrote to support SVR3 by default. | |
5318 | ldctor.c (find_constructors): preserve stat_ptr. | |
5319 | ldlang.c (wild_doit): initialize vma and size of new output | |
5320 | section to corresponding input section. This is required for | |
5321 | shared library support. | |
5322 | (lang_size_sections): don't modify vma and size of sections which | |
5323 | are never loaded (for shared libraries). | |
5324 | ldwrite.c (copy_and_relocate): copy the contents of any section | |
5325 | which has contents, not just sections which are loaded (for shared | |
5326 | libraries). | |
5327 | ||
ba2c2b1c SC |
5328 | Thu Oct 15 15:20:26 1992 Steve Chamberlain ([email protected]) |
5329 | ||
5330 | * ldlang.c (size_input_section): count the sizes of all sections | |
5331 | we allocate. | |
5332 | ||
a385b38f SC |
5333 | Thu Oct 8 09:05:25 1992 Steve Chamberlain ([email protected]) |
5334 | ||
5335 | * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to | |
5336 | to demangle symbols better | |
5337 | ||
81150d34 ILT |
5338 | Tue Oct 6 13:08:54 1992 Ian Lance Taylor ([email protected]) |
5339 | ||
5340 | * ldlang.c (lang_finish): don't warn if -e start symbol does not | |
5341 | exist when linking with -r. | |
5342 | ||
b5ddf942 ILT |
5343 | Mon Oct 5 14:07:37 1992 Ian Lance Taylor ([email protected]) |
5344 | ||
5345 | * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the | |
5346 | .bss segment. | |
5347 | ||
f3739bc3 SC |
5348 | Mon Oct 5 08:55:14 1992 Steve Chamberlain ([email protected]) |
5349 | ||
5350 | * ldmain.c (linear_library): don't even think about processing | |
5351 | an object file if it's already been done | |
5352 | ||
5353 | Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
5354 | ||
5355 | * configure.in: the hp9000/300 config file is now hp300 | |
5356 | ||
ac0832f3 SC |
5357 | Wed Sep 30 07:34:09 1992 Steve Chamberlain ([email protected]) |
5358 | ||
5359 | * config/z8ksim.mt: new file | |
5360 | ||
f3b36ecb KR |
5361 | Fri Sep 25 13:49:52 1992 Ken Raeburn ([email protected]) |
5362 | ||
5363 | * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o, | |
5364 | lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h. | |
5365 | ||
5366 | * ld.h (strip_symbols_type): Add value STRIP_SOME. | |
5367 | * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token. | |
ac0832f3 | 5368 | * ldlang.c (lang_add_keepsyms_file): New function. |
f3b36ecb KR |
5369 | * ldlex.l: Handle "-retain-symbols-file". |
5370 | * ldsym.c (keepsyms_file, kept_syms): New vars. | |
5371 | (process_keepsyms): New functihon; reads file, marks symbols for | |
5372 | saving. | |
5373 | (write_file_locals): File symbols should always be kept. | |
5374 | (ldsym_write): Warn about "-retain-symbols-file" overriding "-S" | |
5375 | and "-s". Process retain-symbols file before setting symtab. | |
5376 | * ldsym.h (SYM_KEEP): New flag for ldsym_type flags. | |
5377 | (keepsyms_file, kept_syms): Declare them. | |
5378 | ||
5379 | * ldmain.c (main): Non-fatal errors should still cause non-zero | |
5380 | exit status even with -r. | |
5381 | ||
22a78f0d SC |
5382 | Fri Sep 25 11:08:01 1992 Steve Chamberlain ([email protected]) |
5383 | ||
5384 | Added initial support for the z8k | |
5385 | * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files | |
5386 | * configure.in, Makefile.in: modified to reflect above | |
5387 | ||
5388 | * ldlang.c (lang_check): when linking conflicting architectures, | |
5389 | make the output file reflect at least one of the bad inputs. | |
5390 | ||
56409445 ILT |
5391 | Tue Sep 15 15:35:38 1992 Ian Lance Taylor ([email protected]) |
5392 | ||
5393 | * Makefile.in (install): if $(tooldir) exists, install ld in | |
5394 | $(tooldir)/bin. | |
5395 | ||
99e6298a SC |
5396 | Fri Sep 11 10:24:22 1992 Steve Chamberlain ([email protected]) |
5397 | ||
5398 | * Makefile.in, configure.in: modified to support i386-coff | |
5399 | * i386coff.sh: new file | |
5400 | ||
ab57b174 ILT |
5401 | Wed Sep 9 11:52:58 1992 Ian Lance Taylor ([email protected]) |
5402 | ||
5403 | * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt: | |
5404 | added m68k-coff emulation mode, stolen from a29k emulation. | |
5405 | Almost certainly wrong, but perhaps better than sun3. | |
5406 | ||
8e71a984 PB |
5407 | Thu Sep 3 14:19:30 1992 Per Bothner ([email protected]) |
5408 | ||
ab57b174 ILT |
5409 | * Makefile.in, Makefile.dos, generic.em, genscripts.sh, |
5410 | gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em, | |
5411 | vanilla.em: Rename all (generated) ld__*.c files to em_.c. | |
5412 | This is one character shorter, and lets people build on | |
5413 | SVR3 system. (ld__h8300xray.[co] was the killer there; | |
5414 | h8300xray.sc-sh is also overlong, but seems harmless.) | |
5415 | Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>. | |
5416 | * Makefile.in (clean): Fix typo mostclean -> mostlyclean. | |
5417 | * configure.in: Add host isc. | |
5418 | ||
8e71a984 PB |
5419 | * ldver.c: Call it version 2.0. |
5420 | ||
5421 | Wed Sep 2 00:21:33 1992 Per Bothner ([email protected]) | |
5422 | ||
5423 | * ldver.c: Bump to version 0.98. | |
5424 | * TODO: New file. | |
5425 | ||
5426 | * Makefile.in: Added mostlyclean, distclean, realclean rules. | |
5427 | ||
c52bdfec PB |
5428 | Tue Sep 1 23:42:16 1992 Per Bothner ([email protected]) |
5429 | ||
5430 | * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c). | |
5431 | * ldlex.l: Moved comment() to end, since some compilers | |
5432 | otherwise have problems with input() used before it is defined. | |
5433 | ||
2df68136 DZ |
5434 | Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
5435 | ||
5436 | * configure.in: added Solaris 2 and Irix 4 host support. | |
5437 | ||
5438 | Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
5439 | ||
5440 | * Makefile.in: remove -S flag from the FLEX definition | |
5441 | ||
5442 | * configure.in: rewrote, using new style case statement. use | |
5443 | m68k.mt for m68k-aout systems | |
5444 | ||
0bb95ac8 ILT |
5445 | Sun Aug 30 21:38:53 1992 Ian Lance Taylor ([email protected]) |
5446 | ||
5447 | * Makefile.in: map "ld" through program_transform_name when | |
5448 | installing. | |
5449 | ||
fe2b6209 PB |
5450 | Sun Aug 30 18:12:13 1992 Per Bothner ([email protected]) |
5451 | ||
5452 | * cplus-dem.c: Removed. Use the version in libiberty now. | |
5453 | * ldmisc.c: Use new libiberty version of cplus_demangle(). | |
5454 | ||
94cc1ee7 ILT |
5455 | Thu Aug 27 16:38:42 1992 Ian Lance Taylor ([email protected]) |
5456 | ||
5f2d9799 ILT |
5457 | * gld960.em (gld960_choose_target): default to little endian, not |
5458 | big endian. | |
94cc1ee7 | 5459 | |
cd1d8c6d SC |
5460 | Wed Aug 26 17:28:51 1992 Steve Chamberlain ([email protected]) |
5461 | ||
5462 | * ldlang.c (lang_process): don't pass null pointers when | |
5463 | abs_output_section is what is required. | |
5464 | * ldwrite.c (ldwrite): use malloc to allocate the largest space | |
5465 | used, and pass that down. | |
5466 | * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather | |
5467 | than alloca. | |
5468 | ||
afba2b22 ILT |
5469 | Mon Aug 24 14:42:06 1992 Ian Lance Taylor ([email protected]) |
5470 | ||
5471 | * configure.in, config/ose68.mt: renamed OSE to ose. | |
5472 | ||
571c4c26 KR |
5473 | Thu Aug 20 19:55:22 1992 Ken Raeburn ([email protected]) |
5474 | ||
5475 | * ldsym.c (write_file_locals): Reorder check for common or | |
5476 | undefined symbols so that it works. | |
5477 | ||
b189e892 ILT |
5478 | Tue Aug 18 13:41:36 1992 Ian Lance Taylor ([email protected]) |
5479 | ||
5480 | * configure.in: accept all m68K family members. | |
5481 | ||
5482 | * Makefile.in: always create installation directories. | |
5483 | ||
6bf2e3a7 SC |
5484 | Thu Aug 13 11:49:34 1992 Steve Chamberlain ([email protected]) |
5485 | ||
5486 | * ldlex.l: now parses comment correctly, added ~ to acceptable | |
5487 | chars in filenames | |
5488 | ||
5489 | * ldexp.c (exp_unop): pass down abs_output_section - now can have | |
5490 | unary -ve constants. | |
5491 | ||
5492 | * ldlang.c (lang_finish): warn when an entry symbol supplied on | |
5493 | the command line can't be found. | |
5494 | ||
ae475b39 SC |
5495 | Fri Aug 7 12:31:10 1992 Steve Chamberlain ([email protected]) |
5496 | ||
5497 | * ldlang.h: add new field "loadable" to output_section_statement. | |
5498 | * ldlang.c (lang_output_section_statement_lookup): initilize new | |
5499 | field. (wild_doit): if new field is not set, then stop output | |
5500 | section from being loadable. | |
5501 | (lang_enter_output_section_statement): set the field from the | |
5502 | NOLOAD keyword | |
5503 | * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too. | |
5504 | * h8300hms.sc-sh, h8300hms.em: get -r right. | |
5505 | ||
4b91c519 PB |
5506 | Thu Aug 6 18:35:21 1992 Per Bothner ([email protected]) |
5507 | ||
5508 | * ldint.texinfo: New internals manual (beginnings thereof). | |
5509 | * PORTING: Removed, merged into ldint.texinfo. | |
5510 | ||
917bffa7 PB |
5511 | Tue Aug 4 21:12:29 1992 Per Bothner ([email protected]) |
5512 | ||
5513 | * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, | |
5514 | cdtest.exp: A test program (copied from libg++/test-install) | |
5515 | that tests that constructor and destructors are handled | |
5516 | corrrectly. | |
5517 | ||
b40f9c73 DZ |
5518 | Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
5519 | ||
5520 | * Makefile.in (install): install from ld.new, renaming during the | |
5521 | copy, or else the next 'make install' needs to re-link ld. | |
5522 | ||
5523 | Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace ([email protected]) | |
5524 | ||
5525 | * configure.in: generalise hp recognition (from sef). | |
5526 | ||
5527 | Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
5528 | ||
5529 | * configure.in: recognize bsd and hpux hppa configurations. | |
5530 | error messages echo to stderr, not stdout | |
5531 | ||
ec467c83 RP |
5532 | Fri Jul 17 22:06:11 1992 K. Richard Pixley ([email protected]) |
5533 | ||
5534 | * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c, | |
5535 | ldmisc.c: removed rcsid's. | |
5536 | ||
67cddd9f SC |
5537 | Tue Jul 14 08:34:34 1992 Steve Chamberlain ([email protected]) |
5538 | ||
5539 | * ldlang.c (lang_map): print changes in sizes due to relaxing | |
5540 | (size_input_section): maintain the delta information. | |
5541 | * ldlang.h: add new field to struct to contain delta info. | |
5542 | * relax.c (relax_section): complain if input not relaxable. | |
5543 | * ldlex.l : add '_', ',' and '$' to chars which can appear at the | |
5544 | start of a filename | |
5545 | ||
f7c76897 SC |
5546 | Mon Jul 13 17:33:00 1992 Steve Chamberlain ([email protected]) |
5547 | ||
5548 | * ldmain.c(main): prevent -r and -relax from being on at the same | |
5549 | time. | |
5550 | ||
28b6b1ab SC |
5551 | Wed Jul 1 17:51:19 1992 Steve Chamberlain ([email protected]) |
5552 | ||
5553 | * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for | |
5554 | aliasing problems | |
5555 | ||
5556 | ||
30d1a390 SC |
5557 | Thu Jun 18 09:38:56 1992 Steve Chamberlain ([email protected]) |
5558 | ||
5559 | * h8300hms.em, h8300hms.sc-sh: do the right thing for -r | |
5560 | * ldexp.c: lint | |
5561 | * ldlang.c(open_output): set the target arch and machine as soon | |
5562 | as we can. (lang_size_sections): use new macros for setting vma | |
5563 | * ldwrite.c: lint | |
5564 | ||
5bdf878e MT |
5565 | Mon Jun 15 08:47:43 1992 Michael Tiemann ([email protected]) |
5566 | ||
5567 | * configure.in (my_target): Accept m680?0 for wrs as vxworks68. | |
5568 | Also deleted an unreachable path to wrs. | |
5569 | ||
5570 | Wed May 27 23:24:19 1992 Michael Tiemann ([email protected]) | |
5571 | ||
5572 | * Makefile.in (install): use -d test for $tooldir before | |
5573 | installing ld there so that $tooldir can be inherited from | |
5574 | top-level Makefile. | |
5575 | ||
5576 | Wed May 27 16:56:48 1992 Per Bothner ([email protected]) | |
5577 | ||
5578 | * ldlang.c: Two non-substantial changes for the sake of | |
5579 | the old Portable C Compiler. | |
5580 | ||
5e81edb2 SC |
5581 | Wed May 27 15:15:58 1992 Steve Chamberlain ([email protected]) |
5582 | ||
5583 | * ldgram.y, ldlex.l: parse ABSOLUTE | |
5584 | * ldexp.c: add support for ABSOLUTE | |
5585 | ||
7aacc9cc PB |
5586 | Wed May 27 13:07:20 1992 Per Bothner ([email protected]) |
5587 | ||
5588 | * Makefile.in: Added default definitions for HOSTING_CRT0, | |
5589 | HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh. | |
5590 | * config/*.mh: Miscellaneous clean-up: Removed definitions | |
5591 | of YACC (since it is not longer used in the Makefile). | |
5592 | Remove HOSTING_* definitions that are subsumed by the | |
5593 | ones added to Makefile.in. Removed most definitions of CC. | |
5594 | * config/{sparc,news,hp300bsd,decstation}.mh: Removed; | |
5595 | These are no longer needed. | |
5596 | ||
91e25b4f PB |
5597 | Fri May 22 13:47:19 1992 Per Bothner ([email protected]) |
5598 | ||
5ff21fa5 PB |
5599 | * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex |
5600 | rules, since these are used when building a distribution. | |
5601 | * Makefile.in (ldlex.c): Don't re-direct output, since that | |
5602 | leaves a bogus output files if it fails. | |
5603 | ||
91e25b4f PB |
5604 | * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working. |
5605 | * ldlex.c: Fix some unnecessary flex-specific-isms. | |
5606 | ||
5607 | Fri May 8 11:49:43 1992 Steve Chamberlain ([email protected]) | |
5608 | ||
5609 | * ldgram.y: move spurious semicolon | |
5610 | * ldexp.h: fix prototype | |
5611 | ||
82d1666a RP |
5612 | Thu May 7 17:01:12 1992 Roland H. Pesch ([email protected]) |
5613 | ||
5614 | * ld.texinfo: references to linker now say "ld" not "gld". | |
5615 | ||
32846f9c SC |
5616 | Wed May 6 13:26:19 1992 Steve Chamberlain ([email protected]) |
5617 | ||
5618 | changed calling convention for Q_enter_global_ref | |
5619 | * ldexp.c, ldlang.c, ldmain.c: reflect this | |
5620 | * ldver.c: bump version to 1.97.1 | |
5621 | * ldindr.c (add_indirect): when an edict declaring an indirect | |
5622 | symbol is found, make sure that any ideas about the symbol being | |
5623 | common are changed if it now known to be defined. | |
5624 | * ldmain.c (linear_library): complain once if archive isn't | |
5625 | ranlibbed. | |
5626 | * ldlang.h, ldlang.c: make room for and initialize the complain | |
5627 | once field. | |
5628 | ||
bf3acf44 RP |
5629 | Wed May 6 11:07:35 1992 K. Richard Pixley ([email protected]) |
5630 | ||
5631 | * Makefile.in: use flex & bison from ../ if they exist. | |
5632 | ||
9c99a57e SC |
5633 | Tue May 5 17:47:33 1992 Steve Chamberlain ([email protected]) |
5634 | ||
5635 | * relax.c (build_it): don't allocate space in the output file for | |
5636 | stuff if -R flag applys to it. | |
7153b2ff SC |
5637 | * ldfile.c: merge in VMS filename support |
5638 | * ldmain.c (main): take out ./ from library path, and close file | |
5639 | before unlinking. Make multiple defs of a symbol create an | |
5640 | unexecable file. | |
5641 | * ldmisc.c: fatal errosrs delete output file | |
9c99a57e | 5642 | |
98377f31 PB |
5643 | Tue May 5 14:05:05 1992 Per Bothner ([email protected]) |
5644 | ||
5645 | * ldver.c: Increase version number to 1.97, for consistency | |
5646 | with ../binutils. | |
5647 | ||
3f350eda RP |
5648 | Tue May 5 12:12:24 1992 K. Richard Pixley ([email protected]) |
5649 | ||
813da1a5 RP |
5650 | * Makefile.in: FLEX -> LEX. |
5651 | ||
3f350eda RP |
5652 | * ld.texinfo: {} -> @{@}. |
5653 | ||
e0047d49 RP |
5654 | Mon May 4 17:52:41 1992 Roland H. Pesch ([email protected]) |
5655 | ||
5656 | * ld.texinfo: describe alternate, MRI-compatible linker scripts | |
5657 | (and associated change in -c option, now used for these scripts) | |
5658 | ||
bfbdc80f SC |
5659 | Mon May 4 16:10:10 1992 Steve Chamberlain ([email protected]) |
5660 | ||
5661 | * ldver.c: Bumped version to 1.96 - new release, resync with the | |
5662 | bfd too #. | |
5663 | * ldexp.c, ldlang.c: now build memory shape tree in obstacks | |
5664 | rather than with raw malloc, makes it easier to track where memory | |
5665 | is going. | |
5666 | * ldsym.h, ldsym.c: create obstack for all global symbols too. | |
5667 | * ldwrite.c (ldwrite): moved malloc so only used when needed. | |
5668 | * sa29200-sc.sh: added support for .lit, data1 and data2 sections. | |
5669 | ||
5670 | ||
d3451fe8 RP |
5671 | Fri May 1 18:17:52 1992 K. Richard Pixley ([email protected]) |
5672 | ||
5673 | * config/sparc.mh: use ../gcc/libgcc.a on check if it exists. | |
5674 | ||
5675 | * Makefile.in: use bootstrap for check. | |
5676 | ||
dc4726c2 SC |
5677 | Fri May 1 13:03:41 1992 Steve Chamberlain ([email protected]) |
5678 | ||
e14a43bf SC |
5679 | * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and |
5680 | PUBLIC. | |
5681 | * Makefile.in: now use flex, not lex | |
dc4726c2 SC |
5682 | * ldlex.l, ldlang.c, ldctor.c: lint |
5683 | ||
ee0c4cf7 SC |
5684 | Wed Apr 22 12:48:42 1992 Steve Chamberlain ([email protected]) |
5685 | ||
5686 | * ldlex.l: added CMDFILENAMECHAR state so that you can lex | |
5687 | different sorts of filenames on the command line than in a script. | |
5688 | ||
77b19d3d RP |
5689 | Mon Apr 20 22:37:04 1992 K. Richard Pixley ([email protected]) |
5690 | ||
5691 | * Makefile.in: rework CFLAGS so that they can be passed on the | |
5692 | make command line. Remove MINUS_G. Default CFLAGS to -g. | |
5693 | ||
119afd7b RP |
5694 | Fri Apr 17 08:57:17 1992 Steve Chamberlain ([email protected]) |
5695 | ||
5696 | * relax.c: added handling for new "padding" seclet type, used to | |
5697 | fill out gaps between section. | |
5698 | * ldgram.y, ldlex.l: now -defsym on the command line is done | |
5699 | properly. | |
5700 | ||
5701 | Wed Apr 15 21:20:07 1992 K. Richard Pixley ([email protected]) | |
5702 | ||
5703 | * Makefile.in: the tooldir copy of ld goes directly in tooldir. | |
5704 | ||
2e38b71d SC |
5705 | Wed Apr 15 16:09:33 1992 Steve Chamberlain ([email protected]) |
5706 | ||
5707 | * mri.c, ldgram.y, ldlex.l: added support for minimal strange link | |
5708 | scripts. | |
5709 | ||
1900f884 KR |
5710 | Thu Apr 9 05:52:02 1992 Ken Raeburn ([email protected]) |
5711 | ||
5712 | * Makefile.in (install): Install second copy in $(tooldir)/bin | |
5713 | without $(program_prefix), since that's what gcc expects. | |
5714 | ||
9d1fe8a4 SC |
5715 | Sat Apr 4 17:44:06 1992 Steve Chamberlain ([email protected]) |
5716 | ||
5717 | * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer. | |
5718 | * h8300*: fix bit rot and add support for h8300xray target | |
5719 | * go32.sh: target emulation for go32. | |
5720 | ||
9d1fe8a4 SC |
5721 | Mon Mar 16 14:53:29 1992 Steve Chamberlain ([email protected]) |
5722 | ||
5723 | * gld960.em, i960.sc-sh. Fix i960 bit rot | |
5724 | ||
f0280cd2 RP |
5725 | Fri Mar 13 19:47:22 1992 K. Richard Pixley ([email protected]) |
5726 | ||
5727 | * Makefile.in: install man page. | |
5728 | ||
12fa72d4 SC |
5729 | Fri Mar 13 08:23:59 1992 Steve Chamberlain ([email protected]) |
5730 | ||
5731 | * config/mt-<foo> renamed to <foo>.mt | |
5732 | * config/mh-<foo> renamed to <foo>.mt | |
5733 | * configure.in changed to reflect this | |
5734 | * genscripts.sh now make .xbn files rather than .xN files | |
5735 | ||
5736 | Sat Mar 7 03:40:40 1992 K. Richard Pixley ([email protected]) | |
5737 | ||
5738 | * ldver.h: fix decl of ldversion. | |
5739 | ||
5740 | Fri Mar 6 22:00:35 1992 K. Richard Pixley ([email protected]) | |
5741 | ||
5742 | * Makefile.in: added check target. | |
5743 | ||
fe563ffe SC |
5744 | Fri Mar 6 06:59:04 1992 Steve Chamberlain ([email protected]) |
5745 | ||
5746 | * ldmain.c (Q_enter_file_symbols): now aliases work again | |
5747 | ||
12fa72d4 SC |
5748 | Thu Mar 5 21:39:29 1992 K. Richard Pixley ([email protected]) |
5749 | ||
5750 | * Makefile.in: added clean-info target. | |
5751 | ||
fe563ffe SC |
5752 | Thu Mar 5 16:55:56 1992 Steve Chamberlain ([email protected]) |
5753 | ||
5754 | * ldexp.c (exp_print_tree): don't try and follow null pointers | |
5755 | around. | |
5756 | * ldgram.y: remove 11 shift reduce errors | |
d2861901 | 5757 | |
12fa72d4 SC |
5758 | Tue Mar 3 15:46:39 1992 K. Richard Pixley ([email protected]) |
5759 | ||
5760 | * Makefile.in: added tooldir and program_prefix. | |
5761 | ||
fe563ffe SC |
5762 | Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com) |
5763 | ||
5764 | * ldlang.c (size_input_section): don't move absolute sections | |
5765 | around! | |
5766 | ||
5767 | ||
5768 | Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com) | |
5769 | ||
d2861901 SC |
5770 | * cplus-dem.c: yet another copy of this - maybe it should go into |
5771 | libiberty ? | |
5772 | * ldgram.y: now -V and -v have different actions | |
5773 | * ldver.c: if -V, prints list of emulations compiled in | |
5774 | * ldmisc.c: support for cplus demangling | |
5775 | ||
5776 | ||
12fa72d4 SC |
5777 | Wed Feb 26 18:04:40 1992 K. Richard Pixley ([email protected]) |
5778 | ||
5779 | * Makefile.in, configure.in: removed traces of namesubdir, | |
5780 | -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced | |
5781 | copyrights to '92, changed some from Cygnus to FSF. | |
5782 | ||
d2861901 SC |
5783 | Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com) |
5784 | ||
5785 | * Makefile.in: Change mkscript rule into one for ./mkscript | |
5786 | (for the sake of makes that don't realize they're the same). | |
5787 | * PORTING: Add more details. | |
5788 | * genscripts.sh: Add more tailorability of DATA_ALIGNMENT. | |
5789 | ||
1584d069 PB |
5790 | Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com) |
5791 | ||
5792 | * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd, | |
5793 | config/mt-hp300bsd: New port to hp300 running BSD. | |
5794 | ||
7e5c1057 PB |
5795 | Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com) |
5796 | ||
5797 | Major rewrite of how ld is configured. The major idea | |
5798 | is to use shell scripts to generate everything. | |
5799 | * generic.em replaces ldtemplate. | |
5800 | * Other *.em files replace various *.c files. | |
5801 | A *.em file is a shell script that generates the corresponding | |
5802 | ld__*.c file that implements an emulation. This is usually | |
5803 | a straight 'cat' of a here-document, possibly with substitutions. | |
5804 | * Script files (*.sc) are places by *.sc-sh scripts. | |
5805 | Again, these are simple shell scripts that 'cat' | |
5806 | here-documents, usually with some substitutions. | |
5807 | The output a *.sc-sh is a script file. | |
5808 | * Each emulation is defined by a short shell script with | |
5809 | extension *.sh that specifies the emulation-specific | |
5810 | parameters (such as the name of the *.sh-sc and *.em | |
5811 | files to use). | |
5812 | * genscript.sh is the master shell script used to generate | |
5813 | an emulation. It is passed various argument, including | |
5814 | the name a the emulation-speciic *.sh file that it | |
5815 | "sources" to set variables to emulation-specifc parameters. | |
5816 | * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME | |
5817 | to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.) | |
5818 | * config/mh-foo: Rename LDEMULATION names as appropriate | |
5819 | (usually 'gldfoo' -> plain 'foo'). | |
5820 | * ldwrite.c: Fixed a typo in a comment. | |
5821 | * Makefile.in: Major changes. Removed some the sed | |
5822 | magic to converts scripts, since that is now handled | |
5823 | by genscripts.sh and the *.sc-sh scipt generators. | |
5824 | * config.h: Remove a bunch of macros defining emulations | |
5825 | and targets. This becomes one less file to edit when | |
5826 | adding emulations or targets. | |
5827 | * ldemul.h (struct ld_emulation_xfer_struct): Add | |
5828 | emulation_name and target_name fields. | |
5829 | * ldemul.c, ldemul.h: Define some default functions used | |
5830 | by most emulations (and remove from the *.em scripts). | |
5831 | * ldemul.c (ldemul_choose_target): Search the new | |
5832 | ld_emulations array using a loop (instead of a hardwired | |
5833 | nested if statement). | |
5834 | Define the ld_emulation from the automatically-geenrated | |
5835 | ldemul-list.h. This means you no longer have to edit ldemul.c | |
5836 | to add a new emulation. | |
5837 | * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by | |
5838 | their expansions, since the former no longer exist. | |
5839 | * PORTING: A very rough first draft of a porting guide. | |
5840 | ||
5841 | * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment | |
5842 | to be terminated by a new-line (instead of requiring a semicolon). | |
5843 | ||
5844 | Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
5845 | ||
5846 | * ldexp.c, ldlang.c: added new idea "abs_output_section", removes | |
5847 | tests for NULL pointers all over the place. | |
5848 | * ldlang.c (lang_process): remember to relocate global symbols | |
5849 | *after* relaxing has done it stuff. | |
5850 | ||
5851 | Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
5852 | ||
5853 | * config/mt-coff-h8300: use EMUL like everything else | |
5854 | * ldlang.c: (print_padding_statement): print the right address. | |
5855 | * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms | |
5856 | ||
5857 | ||
aa34a7c3 SC |
5858 | Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
5859 | ||
5860 | * ldlex.l: Put pack -noinhibit-exec and -sort-common | |
5861 | * ldlang.c (print_data_statement): print the right address. | |
5862 | ||
5863 | Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com) | |
5864 | ||
5865 | * Makefile.in: The rule for testing ld by re-linking itself | |
5866 | via an intermediate -r link was moved to the ld1 rule | |
5867 | instead of the ld2 rule. This allows ld2 and ld3 to be identical, | |
5868 | which allows the bootstrap rule to work. | |
5869 | * ldctor.c (find_constructors): Don't create a constructor | |
5870 | list if it is already defined (as would happen if ld is | |
5871 | invoked by collect). | |
5872 | ||
cbbdbb9f SC |
5873 | Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
5874 | ||
5875 | * config/mh-sparc.h: now uses libgcc.a | |
5876 | * ldmain.c: quit using exit | |
5877 | * *sc: use *(COMMON) rather than [COMMON] | |
5878 | * ldlex.l, lexsup.c: much thinking moved from .l and put into .c, | |
5879 | to allow preprocessing of .l file. | |
5880 | * Makefile.in: New ldlex.l mangling | |
5881 | * ldexp.c (fold_binary): perform expressions with % and / in | |
5882 | integer. | |
5883 | * ldfile.c (open_a): open archives on VMS in a special way | |
5884 | ||
5885 | ||
870f54b2 SC |
5886 | Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
5887 | ||
5888 | * ldgram.y: map -M behave in the same way as -Map (sets file name | |
5889 | to be "-". | |
5890 | * ldsym.c, ldlang.c: remember that size of a section is dependent on | |
5891 | whether or not relaxing has been done. | |
5892 | * ldmain.c: don't open a map file if it doesn't have a name | |
5893 | * relax.c: all the brains have moved into bfd. | |
5894 | * ldwrite.c: ammend comment | |
5895 | ||
2e2bf962 SC |
5896 | Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
5897 | ||
5898 | * Makefile.in: added relax, also made three stage go through a | |
5899 | partial link stage. | |
5900 | * relax.c : added | |
5901 | * config.h: if GNU960 defined, then default emulation mode is | |
5902 | GLD960 | |
5903 | * ldexp.h, ldexp.c: map to file hooks | |
5904 | * ldlang.c: map to file hooks | |
5905 | * ldgram.y: added -Map -relax | |
5906 | * ldlex.l: added -relax, -Map | |
5907 | * ldmain.c: open map file | |
5908 | * ldmisc.c: support for map file | |
5909 | * ldwrite.c: new relax magic | |
5910 | ||
5911 | Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com) | |
5912 | ||
5913 | * Makefile.in, config/tm-*.h: Clean up make output, only | |
5914 | pass DEFAULT_EMULATION to ldmain.c. | |
5915 | ||
5916 | Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com) | |
5917 | ||
5918 | * ldver.c: Bump to version 1.94. | |
5919 | ||
5920 | Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com) | |
5921 | ||
5922 | * Makefile.in: infodir belongs in datadir. | |
5923 | ||
e06ba18d PB |
5924 | Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com) |
5925 | ||
5926 | * Makefile.in: Pass -y to bison. (Again; | |
5927 | accidentally deleted by Rich.) | |
5928 | * news.sc, ldgld68k.sc: Define __end as well as _end. | |
5929 | ||
5930 | Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com) | |
5931 | ||
5932 | * ldindr.h: added to contain prototypes of ldindr.c | |
5933 | * ldfile.c: include ctype.h | |
5934 | * ldmain.c: include the requried prototype headers | |
5935 | * ldwrite.c: get_reloc_upper_bound has been renamed | |
5936 | bfd_get_reloc_upper_bound | |
5937 | ||
818a192a RP |
5938 | Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) |
5939 | ||
5940 | * Makefile.in: punt "fundamental" mode because it breaks my emacs | |
5941 | macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove | |
5942 | spaces following hyphens, bsd make can't cope. added | |
5943 | standards.text support and made it look like all the other | |
5944 | makefiles. | |
5945 | ||
5946 | * configure.in: configure now runs entirely in objdir so make file | |
5947 | existence checks against ${srcdir}. Mark this directory as | |
5948 | target dependent. | |
5949 | ||
5950 | Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com) | |
5951 | ||
5952 | * Makefile.in: idestdir and ddestdir go away. Added copyrights | |
5953 | and shift gpl to v2. Added ChangeLog if it didn't exist. docdir | |
5954 | and mandir now keyed off datadir by default. | |
5955 | ||
5956 | Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com) | |
5957 | ||
5958 | * ldver.c: Bumped version to 1.93. | |
5959 | * Makefile.in: Pass -y to bison. | |
5960 | ||
5961 | Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com) | |
5962 | ||
5963 | * config.h: h8 is now coff, not ieee | |
5964 | * h8300hds.sc: reflect the same | |
5965 | ||
5966 | Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com) | |
5967 | ||
5968 | * ldver.c (ldversion()): Update to 1.92. | |
5969 | * ldctor.c: There are two places constructor sets | |
5970 | can be defined. One of them checked for an existing | |
5971 | duplicate, the other didn't. Unfortunately, the latter | |
5972 | was called after the former ... | |
5973 | So, factor out code for inserting a new element into | |
5974 | constructor_name_list (after checking for a duplicate) | |
5975 | into a new function add_constructor_name, and call | |
5976 | it from both aforementioned places (ldlang_add_constructor | |
5977 | and ldlang_check_for_constructors). | |
5978 | ||
5979 | Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com) | |
5980 | ||
5981 | * Makefile.in: Rename .c files generated from ldtemplate | |
5982 | to have names starting with ld__. This helps 'make clean'. | |
5983 | ||
092df318 SC |
5984 | Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com) |
5985 | ||
5986 | * Makefile.in: Take out the version number for install | |
5987 | * m88kbcs.sc: put in contructor blocks. | |
5988 | ||
1c9e4b15 PB |
5989 | Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com) |
5990 | ||
5991 | * ldmisc.c, ldmisc.h: Re-write info() to take a filename | |
5992 | parameter, a format, and an arg pointer, and rename it to | |
5993 | vfinfo(). Write info() in terms of new vfinfo(). | |
5994 | New einfo() is the same as info(), except it writes to stderr. | |
5995 | * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c, | |
5996 | ldmisc.c: Replace "error" calls to info() by new einfo(). | |
5997 | ||
550e87b5 SC |
5998 | Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com) |
5999 | ||
6000 | * ldlex.l ldgram.y: made -V option do same as -v | |
6001 | * Makefile.in: Added $(MINUS_G) flag so debugging can be | |
6002 | turned off | |
6003 | ||
6004 | Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com) | |
6005 | i386 aout changes from Bob Kukura | |
6006 | * Makefile.in, config.h: added i386aout support | |
6007 | * configure.in: fixed /h-{myhost} typo | |
6008 | * ldgram.y: -MM now gives more boring map. | |
6009 | * ldlang.c: now does D_PAGED flag the right way. | |
6010 | * ldsym.c: -MM flags does the right thing. | |
6011 | ||
aeedc30e PB |
6012 | Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com) |
6013 | ||
6014 | * configure.in: Fixed typo. Also, a fix for hp300bsd. | |
6015 | * ldlang.c (init_os): Compensate for BFD change, | |
6016 | where bfd_make_section now returns NULL for a duplicate | |
6017 | section request, instead of the old section. | |
6018 | ||
6019 | Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com) | |
6020 | ||
6021 | * ldver.c: Bump to version 1.91 (consistent with binutils). | |
6022 | ||
2d1a2445 PB |
6023 | Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com) |
6024 | ||
6025 | * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h, | |
6026 | ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h, | |
6027 | ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h, | |
3410447c | 6028 | ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c: |
2d1a2445 PB |
6029 | Add or update copyright notices. |
6030 | ||
6031 | Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com) | |
6032 | ||
6033 | * README: New file. | |
6034 | * Makefile.in: Changed installation directory name scheme | |
6035 | to be consistent with gcc. Also changed 'install'. | |
6036 | ||
954ac2ea RP |
6037 | Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com) |
6038 | ||
6039 | * Makefile.in: new targets ld.mm, ld.me | |
6040 | ||
972e7b4b PB |
6041 | Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com) |
6042 | ||
6043 | * Makefile.in, ldtemplate: Need to use separate scripts | |
6044 | for -n and -N options. Yet more complication. | |
6045 | ||
33ce0085 JG |
6046 | Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com) |
6047 | ||
6048 | * Makefile.in: Avoid using $< in explicit Make rules (it doesn't | |
6049 | work). Add some lines to avoid Sun Make VPATH bugs. | |
6050 | ||
b7e24eef PB |
6051 | Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com) |
6052 | ||
6053 | * news.sc: Add alignment for data segment. | |
6054 | * ldtemplate: Add (yet another) script to get for -n or -N | |
6055 | options. (These need different alignment than ZMAGIC files.) | |
6056 | * Makefile.in: Add stuff for new foo.xn scripts. | |
6057 | These are generated by replacing "ALIGN(0x...00)" by ".". | |
6058 | ||
b55e0948 RP |
6059 | Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com) |
6060 | ||
6061 | * Makefile.in: new targets ld.ms, ld-index.ms | |
6062 | ld.texinfo: remove tabs, other cleanups for texi2roff | |
6063 | ||
6719c75b PB |
6064 | Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com) |
6065 | ||
6066 | * ldmain.c (main): Make config.magic_demand_paged be true | |
6067 | by default. Don't the WP_TEXT and D_PAGED flags of | |
6068 | output_bfd here; it's too late, so set it when output_bfd | |
6069 | is created (in ldlang.c). Also fix setting of EXEC_P flag | |
6070 | * ldlang.c (ldlang_open_output): Set output_bfd->flags here. | |
6071 | * ldlang.c: Remove some duplicate extern declarations. | |
6072 | * ldgram.y: Fixes to -N and -n options. | |
6073 | * Makefile.in: Recognize upper case letters in sed script | |
6074 | to remove assignments from script files. | |
6075 | * ldtemplate: Don't assukme that -N or -n options | |
6076 | imply use of -r script. | |
6077 | * mkscript.c: Tweaking to correctly handle \n and \\ in input. | |
6078 | ||
8e10cea1 SC |
6079 | Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com) |
6080 | ||
6081 | * ldtemplate: include bfd.h before sysdep.h. | |
6082 | ||
1f8fc34f JG |
6083 | Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com) |
6084 | ||
6085 | Restructure configuration scheme for bfd, binutils, ld. | |
6086 | ||
6087 | * include/sys/h-*.h: Move to bfd/hosts/h-*.h. | |
6088 | * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. | |
6089 | Change some config names to match other dirs. | |
6090 | * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() | |
6091 | get defined first. | |
6092 | * config/: Rename some config files to match up h-*.h names. | |
6093 | Remove all the HOST_SYS definitions from the config files. | |
6094 | ||
6095 | Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com) | |
6096 | ||
6097 | * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean. | |
6098 | * ldtemplate: Remove ldfile_add_library_path calls; | |
6099 | just use the SEARCH_DIR commands in the script files. | |
6100 | * Makefile.in: Add LIB_PATH macro, which if set is used to replace | |
6101 | the SEARCH_DIR commands in the scripts (using ugly sed magic). | |
6102 | This is primarily intended for cross-linking, where you would | |
6103 | place libaries in a different place than native libraries. | |
6104 | Also, emulations made from ldtemplate now use $(srcdir). | |
6105 | * ldglda29k.sc: Change SEARCH_DIR commands to a conventional | |
6106 | form; people can use the Makefile's LIB_PATH to override. | |
6107 | ||
8d317d2a RP |
6108 | Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com) |
6109 | ||
6110 | * Makefile.in: fix target ld.dvi, add target ld.info | |
6111 | ld.texinfo: make info filename ld.info | |
6112 | ||
558175fb JG |
6113 | Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com) |
6114 | ||
6115 | * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun | |
6116 | Make). | |
6117 | * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a | |
6118 | few BFD types & enums. | |
6119 | ||
de0abbfc ILT |
6120 | \f |
6121 | Local Variables: | |
bf82ab68 ILT |
6122 | mode: indented-text |
6123 | left-margin: 8 | |
6124 | fill-column: 74 | |
de0abbfc ILT |
6125 | version-control: never |
6126 | End: |