Commit | Line | Data |
---|---|---|
305c7206 AM |
1 | 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> |
2 | ||
3 | * ldcref.c (output_cref): Don't pass message strings to printf | |
4 | as format arg. | |
5 | Update copyright. | |
6 | ||
7 | * ldmisc.c (vfinfo): Same here. | |
8 | Update copyright. | |
9 | ||
e1c47aa4 AM |
10 | 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> |
11 | ||
12 | * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, | |
13 | generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, | |
14 | mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): | |
15 | Add missing NULL initialisers, and comments. | |
16 | ||
17 | * testsuite/ld-srec/sr3.cc (__rethrow): New. | |
18 | ||
13392b77 NC |
19 | 2000-01-21 Nick Clifton <nickc@cygnus.com> |
20 | ||
21 | * ldlang.c (lang_size_sections): Fix typo in comment. | |
22 | ||
cce4c4c5 NC |
23 | 2000-01-18 H.J. Lu <hjl@gnu.org> |
24 | ||
25 | * ldlang.c (lang_size_sections): Also update the current | |
26 | address of a region if the SEC_NEVER_LOAD bit is not set. | |
27 | ||
0decc840 NC |
28 | 2000-01-10 Philip Blundell <pb@futuretv.com> |
29 | ||
30 | * configure.tgt (arm*-*-conix*): New target. | |
31 | ||
4e53152f NC |
32 | 2000-01-07 Nick Clifton <nickc@cygnus.com> |
33 | ||
34 | * ld.texinfo (Options): Remind users to preceed linker command | |
fa19fce0 NC |
35 | line switches with -Wl, (or whatever is appropriate) if it is |
36 | being invoked by a comnpiler driver program. | |
37 | Fix description of the behaviour of the -n command line switch. | |
4e53152f | 38 | |
18625d54 CM |
39 | Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com> |
40 | ||
41 | * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. | |
42 | (name_list): New. | |
43 | * ld.texinfo (EXCLUDE_FILE): Update documentation. | |
44 | * ldgram.y (wildcard_spec): Support a list of excluded_files. | |
45 | (exclude_name_list): New. | |
46 | ldlang.c (walk_wild_section): Support list of excluded files. | |
47 | (print_wild_statement): Likewise. | |
48 | (lang_add_wild): Likewise. | |
49 | * ldlang.h (lang_wild_statement_type): Likewise. | |
50 | * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. | |
51 | ||
5aaace27 NC |
52 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> |
53 | ||
870df5dc NC |
54 | * pe-dll.c (pe_dll_warn_dup_exports): New variable. |
55 | (process_def_file): Use. | |
56 | (pe_dll_compat_implib): New variable. | |
57 | (make_one): Use. | |
58 | ||
59 | * pe-dll.h: Add exports of pe_dll_warn_dup_exports and | |
60 | pe_dll_compat_implib. | |
61 | ||
62 | * emultempl/pe.em (longopts): Add warn-duplicate-exports and | |
63 | compat-implib options. | |
64 | (gld_${EMULATION_NAME}_list_options): List new options. | |
65 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
66 | ||
5aaace27 NC |
67 | * pe-dll.c (pe_dll_generate_implib): Use the correct name for output |
68 | dll. | |
870df5dc | 69 | |
5aaace27 NC |
70 | * deffilep.y (opt_name): Allow "." in name. |
71 | ||
e6869249 NC |
72 | 1999-12-02 Nick Clifton <nickc@cygnus.com> |
73 | ||
74 | * Makefile.am: Fix arm-epoc-pe dependencies. | |
75 | * Makefile.in: Regenerate. | |
76 | ||
77 | * emulparams/arm_epoc_pe.sh (SCRIPT_NAME): Set to epocpe. | |
78 | ||
79 | * scripttempl/epocpe.sc: New file: copy of pe.sc, customised for | |
80 | EPOC by placing .rdata into .text. | |
81 | ||
e4dabd0e AS |
82 | 1999-11-26 Andreas Schwab <schwab@suse.de> |
83 | ||
84 | * configure.in: Put AC_MSG_CHECKING/AC_MSG_RESULT around check for | |
85 | STRINGIFY. Use yes/no instead of true/false as value for cache | |
86 | variable. | |
87 | * configure: Regenerate. | |
88 | ||
50e05050 NC |
89 | 1999-11-24 Nick Clifton <nickc@cygnus.com> |
90 | ||
91 | * ldlang.c (IGNORE_SECTION): Section must have both ALLOC and LOAD | |
92 | attributes in order to be checked. | |
93 | ||
33275c22 NC |
94 | 1999-11-22 Nick Clifton <nickc@cygnus.com> |
95 | ||
96 | * ldlang.c (lang_check_section_addresses): Fix test to determine | |
97 | if a section should be tested. | |
98 | (IGNORE_SECTION): New macro. | |
99 | ||
93a6d436 JL |
100 | Wed Nov 3 23:31:19 1999 Jeffrey A Law (law@cygnus.com) |
101 | ||
102 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
103 | Clean up code to use EXTRA_SHLIB_EXTENSION. | |
104 | ||
829ce307 NC |
105 | 1999-11-03 Nick Clifton <nickc@cygnus.com> |
106 | ||
107 | * emulparams/elf32mcore.sh (OUTPUT_FORMAT): Change to little endian. | |
108 | * emulparams/mcorepe.sh (OUTPUT_FORMAT): Change to little endian. | |
109 | ||
9503fd87 ILT |
110 | 1999-11-01 Steve Chamberlain <sac@pobox.com> |
111 | ||
112 | * ldlang.c (section_already_linked): Rework to use hash table. | |
113 | (already_linked_newfunc): New function. | |
114 | (already_linked_table_init): New function. | |
115 | (already_linked_table_free): New function. | |
116 | (lang_process): Initialize and free the already_linked hash table. | |
117 | ||
d7498c1e ILT |
118 | 1999-10-27 Andreas Jaeger <aj@suse.de> |
119 | ||
120 | * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for | |
121 | target "mips*-*-linux-gnu*". | |
122 | ||
29c4c6b5 NC |
123 | 1999-10-27 Scott Bambrough <scottb@netwinder.org> |
124 | ||
125 | * emultempl/armelf.em: Include ctype.h to prevent compile time | |
126 | warnings. | |
127 | ||
1ac6a752 NC |
128 | 1999-10-26 Nick Clifton <nickc@cygnus.com> |
129 | ||
130 | * emultempl/armcoff.em (gld{}_finish): Remove extraneous | |
131 | underscore from prototype. | |
132 | * emultempl/armelf.em (gld{}_finish): Remove extraneous | |
133 | underscore from prototype. | |
134 | ||
cfd0966c GK |
135 | 1999-10-07 Geoffrey Keating <geoffk@cygnus.com> |
136 | ||
137 | * scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs | |
138 | being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*. | |
139 | (.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*. | |
140 | (.rel.sbss): Make like .rel.bss. | |
141 | (.rela.sbss): Make like .rel.bss. | |
142 | (.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when | |
143 | ld -r. | |
144 | (.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS, | |
145 | .dynsbss. | |
146 | ||
6eec49fc DD |
147 | 1999-09-29 Andrew Haley <aph@cygnus.com> |
148 | ||
149 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer | |
150 | merging sections when not relocating. | |
151 | ||
8a5b676c DD |
152 | 1999-09-28 Mumit Khan <khan@xraylith.wisc.edu> |
153 | ||
154 | * pe-dll.c (process_def_file): Move the offset lookup from here to | |
155 | (fill_exported_offsets): here. New static function. | |
156 | (fill_edata): Use. | |
157 | ||
7c9e78f8 DD |
158 | 1999-09-28 Mumit Khan <khan@xraylith.wisc.edu> |
159 | ||
160 | * deffilep.y (tokens): Add upper and lower case versions of DATA, | |
161 | CONSTANT, NONAME and PRIVATE tokens. | |
162 | (command): Use DATAU. | |
163 | (expline): Allow for drectve syntax as well. | |
164 | (exp_opt_list): Likewise. | |
165 | (exp_opt): Likewise. | |
166 | * pe-dll.c (make_one): Only generate the idata entries for data | |
167 | symbols. | |
168 | ||
13d92f2c GK |
169 | 1999-09-28 Geoffrey Keating <geoffk@cygnus.com> |
170 | ||
171 | * scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections | |
172 | in .sdata too. | |
173 | ||
3c9cf3a3 NC |
174 | 1999-09-26 Nick Clifton <nickc@cygnus.com> |
175 | ||
176 | * scripttempl/elf.sc (.bss): Accept sections named .bss.* | |
177 | (.sbss): Accept sections names .sbss.* | |
178 | ||
be2153ad NC |
179 | 1999-09-22 Nick Clifton <nickc@cygnus.com> |
180 | ||
181 | * Makefile.am: Add earm_epoc_pe.c build target. | |
182 | ||
26040066 JL |
183 | Sat Sep 18 07:57:10 1999 Jeffrey A Law (law@cygnus.com) |
184 | ||
185 | * emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs", | |
186 | they've been renamed to ".stub", which is handled automatically | |
187 | by elf.sc. | |
188 | ||
189 | Fri Sep 17 11:00:33 1999 Jeffrey A Law (law@cygnus.com) | |
190 | ||
191 | * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely. | |
192 | (DATA_START_SYMBOLS): Kill __hp_load_map definition | |
193 | ||
42d106a8 JL |
194 | Thu Sep 16 10:59:56 1999 Jeffrey A Law (law@cygnus.com) |
195 | ||
d3cc5bd6 JL |
196 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): |
197 | Use the same filename extension for the bfd_elf_dt_needed_name call | |
198 | as we did for finding the library. | |
199 | ||
88e99a39 JL |
200 | * emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define. |
201 | (OTHER_READWRITE_SECTIONS): No longer define __hp_load_map. | |
202 | ||
42d106a8 JL |
203 | * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define. |
204 | ||
833be1c7 JL |
205 | Wed Sep 15 02:47:43 1999 Jeffrey A Law (law@cygnus.com) |
206 | ||
97444aea JL |
207 | * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define. |
208 | (SHLIB_DATA_ADDR): Likewise. | |
209 | ||
210 | * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define. | |
211 | ||
833be1c7 JL |
212 | * emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS): No longer combine |
213 | the .plt, .dlt, .opd into a single output section. Provide values | |
214 | for __gp and __hp_load_map. | |
215 | ||
a8100d5b MM |
216 | 1999-09-14 Michael Meissner <meissner@cygnus.com> |
217 | ||
218 | * configure.in (Canonicalization of target names): Remove adding | |
219 | ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 | |
220 | generates $ac_config_sub with a ${CONFIG_SHELL} already. | |
221 | * configure: Regenerate. | |
222 | ||
e4e24acb DD |
223 | 1999-09-14 Donn Terry <donn@interix.com> |
224 | ||
225 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for | |
226 | terminating null. | |
227 | ||
93a6d436 JL |
228 | 1999-09-14 Ulrich Drepper <drepper@cygnus.com> |
229 | ||
230 | * configure.in: Define EXTRA_SHLIB_EXTENSION to ".sl" for HP target. | |
231 | * config.in: Add EXTRA_SHLIB_EXTENSION. | |
232 | ||
233 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
234 | Search for second shared lib extension only if EXTRA_SHLIB_EXTENSION | |
235 | is defined. | |
236 | ||
cf865442 NC |
237 | 1999-09-14 Nick Clifton <nickc@cygnus.com> |
238 | ||
239 | * Makefile.in: Add earm_epoc_pe.c build target. | |
240 | ||
2491f110 JL |
241 | Tue Sep 14 05:26:34 1999 Jeffrey A Law (law@cygnus.com) |
242 | ||
243 | * emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt. | |
244 | ||
361d94e7 ILT |
245 | 1999-09-13 Donn Terry <donn@interix.com> |
246 | ||
247 | * emultempl/pe.em: Remove the output file at the start, in case it | |
248 | is not writable. | |
249 | ||
9169713a JL |
250 | Mon Sep 13 00:17:18 1999 Jeffrey A Law (law@cygnus.com) |
251 | ||
070f1aed JL |
252 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): |
253 | Search for file with .sl extension if no file with a .so extension | |
254 | is found. | |
255 | ||
9169713a JL |
256 | * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt |
257 | at the start of the .dlt output section. | |
258 | ||
1069dd8d ILT |
259 | 1999-09-12 Ian Lance Taylor <ian@zembu.com> |
260 | ||
45455cdd ILT |
261 | * pe.em: Don't include "../bfd/libbfd.h". |
262 | (gld_${EMULATION_NAME}_after_open): Use xmalloc rather than | |
263 | bfd_alloc. | |
264 | ||
1069dd8d ILT |
265 | * pe-dll.h: New file. |
266 | * pe-dll.c: Include "pe-dll.h". Mark unused arguments as needed | |
267 | to avoid warnings. | |
268 | (edata_sz, reloc_sz): Change from int to size_t. | |
269 | (pe_details_type): Change type of imagebase_reloc from int to | |
270 | unsigned int. | |
271 | (pe_detail_list): Fully initialize last entry. | |
272 | (pe_dll_id_target): Change parameter to const. | |
273 | (pe_dll_generate_def_file): Likewise. | |
274 | (pe_dll_generate_implib): Likewise. | |
275 | (pe_implied_import_dll): Likewise. Change dll_name to const. | |
276 | * emultempl/pe.em: Include "pe-dll.h". Remove declarations now in | |
277 | pe-dll.h. | |
278 | (init): Fully initialize __dll__ entry. | |
279 | (gld_${EMULATION_NAME}_after_open): Remove unused variables | |
280 | sequence, elt, and i. | |
281 | * deffile.h: Add preprocessor guard. | |
282 | * deffilep.y (def_debug): Remove. | |
283 | * Makefile.am: Rebuild dependencies. | |
284 | (HFILES): Add pe-dll.h. | |
285 | ||
2be9b2c7 ILT |
286 | 1999-09-12 Donn Terry <donn@interix.com> |
287 | ||
45455cdd ILT |
288 | * ld.h (ld_abort): Declare. |
289 | (abort): Define. | |
290 | * ldmisc.c (ld_abort): Define. | |
291 | ||
be4514d3 ILT |
292 | * scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup. |
293 | Move .bss section after .rdata. Move .reloc section after .rsrc. | |
294 | ||
d98dd8ba ILT |
295 | * lexsup.c (parse_args): Use strtoul for --split-by-reloc |
296 | argument. | |
297 | ||
03983865 ILT |
298 | * lexsup.c (parse_args): If we get an unrecognized argument, |
299 | mention --help. | |
300 | ||
bb8fe706 ILT |
301 | * ldlang.c (section_already_linked): Use comdat information if it |
302 | is available. | |
303 | ||
2be9b2c7 ILT |
304 | * emultempl/pe.em (PE_DEF_SECTION_ALIGNMENT): If |
305 | OVERRIDE_SECTION_ALIGNMENT is defined, change to that. | |
306 | (gld_${EMULATION_NAME}_before_parse): Use EXECUTABLE_NAME if it is | |
307 | defined, rather than a.exe. | |
308 | (init): Define __subsystem__ as ${SUBSYSTEM}. | |
309 | (set_pe_subsystem): Add ${INITIAL_SYMBOL_CHAR} before entry symbol | |
310 | name. | |
311 | ||
1b69a0bf ILT |
312 | 1999-09-12 Ian Lance Taylor <ian@zembu.com> |
313 | ||
314 | * ldlang.c (open_output): Change local variable desired_endian | |
315 | from int to enum bfd_endian. | |
316 | ||
be4514d3 | 317 | * emulparams/arm_epoc_pe.sh: Define ENTRY, SUBSYSTEM and |
1b69a0bf ILT |
318 | INITIAL_SYMBOL_CHAR. |
319 | * emulparams/armpe.sh: Likewise. | |
320 | * emulparams/morepe.sh: Likewise. | |
321 | * emulparams/ppcpe.sh: Likewise. | |
be4514d3 ILT |
322 | * emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup. |
323 | (SUBSYSTEM): Define as PE_DEF_SUBSYSTEM. | |
1b69a0bf | 324 | |
904ecb2d JL |
325 | Fri Sep 10 00:22:50 1999 Jeffrey A Law (law@cygnus.com) |
326 | ||
e5b08bf0 JL |
327 | * emulparms/elf64hppa.sh (LIB_PATH): Define. |
328 | ||
904ecb2d JL |
329 | * emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before |
330 | unwinders so that they are closer to the text section. | |
331 | (OTHER_BSS_SECTIONS): Define. | |
332 | (EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS. | |
333 | (INIT_START, INIT_END): Define. | |
334 | (FINI_START, FINI_END): Define. | |
335 | * scripttempl/elf.sc: Add support for INIT_START, INIT_END, | |
336 | FINI_START, FINI_END and OTHER_BSS_SECTIONS. | |
337 | ||
7e4d694e JL |
338 | Thu Sep 9 21:43:58 1999 Jeffrey A Law (law@cygnus.com) |
339 | ||
340 | * emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page. | |
341 | (DATA_ADDR): Define. | |
342 | ||
2f2bc1bb RH |
343 | 1999-09-09 Stan Shebs <shebs@andros.cygnus.com> |
344 | ||
345 | * emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004. | |
346 | ||
1d0a3c9c AS |
347 | 1999-09-09 Andreas Schwab <schwab@suse.de> |
348 | ||
349 | * ld.texinfo: Fix arguments of @var to not contain punctuation. | |
350 | ||
040266ab JL |
351 | Thu Sep 9 05:52:34 1999 Jeffrey A Law (law@cygnus.com) |
352 | ||
353 | * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define. | |
354 | ||
355 | 1999-09-08 Ulrich Drepper <drepper@cygnus.com> | |
356 | ||
357 | * emulparams/elf64hppa.sh (ELFSIZE): New. Set to 64. | |
358 | ||
359 | Wed Sep 8 00:07:39 1999 Jeffrey A Law (law@cygnus.com) | |
360 | ||
361 | * emulparms/elf64hppa.sh (ENTRY): Define to main. | |
362 | ||
1c56fb87 NC |
363 | 1999-09-03 Scott Bambrough <scottb@netwinder.org> |
364 | ||
365 | * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for | |
366 | target "arm*-*-linux-gnu*" | |
367 | ||
c6c8c6dc ILT |
368 | 1999-09-04 Steve Chamberlain <sac@pobox.com> |
369 | ||
370 | * configure.tgt (pjl-*-*, pj-*-*): New targets. | |
371 | * emulparams/pjelf.sh: New file. | |
372 | * emulparams/pjlelf.sh: New file. | |
373 | * scripttempl/pj.sc: New file. | |
374 | * Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o. | |
375 | (epjelf.o, epjlelf.o): New targets. | |
376 | * Makefile.in: Rebuild. | |
377 | ||
4b69d4ad JL |
378 | Fri Sep 3 20:17:08 1999 Jeffrey A Law (law@cygnus.com) |
379 | ||
380 | * emulparams/elf64hppa.sh (MAXPAGESIZE): Define. | |
381 | (OTHER_READONLY_SECTIONS, DATA_PLT): Likewise. | |
382 | ||
f6e143a1 JL |
383 | Thu Sep 2 14:32:03 1999 Jeffrey A Law (law@cygnus.com) |
384 | ||
385 | * emulparams/elf64hppa.sh: New file. | |
386 | * configure.tgt (hppa*w-*-*): Use elf64hppa emulation. | |
387 | * Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o | |
388 | (eelf64hppa.c): Add dependencies. | |
389 | * Makefile.in: Rebuilt. | |
390 | ||
0f1ee889 NC |
391 | 1999-08-25 Philip Blundell <pb@nexus.co.uk> |
392 | ||
393 | * emulparams/armelf.sh (OTHER_BSS_SYMBOLS): Add __end__. | |
394 | * emulparams/armelf_linux.sh: Likewise. | |
395 | * emulparams/armelf_linux26.sh: Likewise. | |
396 | ||
8959586a NC |
397 | 1999-08-24 Nick Clifton <nickc@cygnus.com> |
398 | ||
399 | From a patch submitted by Roland McGrath <roland@baalperazim.frob.com> | |
400 | ||
401 | * configure.tgt (arm-*-netbsd*): New target. | |
402 | * Makefile.am (ALL_EMULATIONS): Add earmnbsd.o. | |
403 | (earmnbsd.c): New rule with deps. | |
404 | * Makefile.on: Regenerate. | |
405 | * emulparams/armnbsd.sh: New file. | |
406 | ||
3b108066 NC |
407 | 1999-08-23 Nick Clifton <nickc@cygnus.com> |
408 | ||
093505ad NC |
409 | * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Define. |
410 | Implement --base-file command line switch. | |
411 | ||
3b108066 NC |
412 | * emultempl/elf32.em: Add ability for individual targets to have |
413 | their own command line switches by defining PARSE_AND_LIST_ARGS. | |
414 | ||
cd5d26f2 AS |
415 | 1999-08-19 Andreas Schwab <schwab@suse.de> |
416 | ||
417 | * configure.host: Use ${CC} instead of gcc for finding compiler | |
418 | related files. | |
419 | ||
0811443a NC |
420 | 1999-08-11 Nick Clifton <nickc@cygnus.com> |
421 | ||
422 | * scripttempl/mcorepe.sc (OUTPUT_FORMAT): Fix typo. | |
423 | ||
9c9ef45f ILT |
424 | 1999-08-09 Mark Elbrecht <snowball3@bigfoot.com> |
425 | ||
426 | * scripttempl/i386go32.sc: Handle g++ exception sections. | |
427 | ||
fe9edd22 ILT |
428 | 1999-08-09 Ian Lance Taylor <ian@zembu.com> |
429 | ||
430 | From Wally Iimura <iimura@microunity.com>: | |
431 | * ldlang.c (lang_size_sections): When checking whether an address | |
432 | is within a region, don't get confused by wrapping around at the | |
433 | end of the address space. | |
434 | ||
f4162f5c ILT |
435 | 1999-08-08 Ian Lance Taylor <ian@zembu.com> |
436 | ||
667f5177 ILT |
437 | * ldlang.c (wild_doit): Update for renaming of SEC_SHORT to |
438 | SEC_SMALL_DATA. | |
439 | ||
f4162f5c ILT |
440 | * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to |
441 | MKDEP. Rebuild dependencies. | |
442 | * Makefile.in: Rebuild. | |
443 | ||
ae97059c ILT |
444 | 1999-08-08 Jakub Jelinek <jj@ultra.linux.cz> |
445 | ||
446 | * configure.host (sparc-*-linux-gnu*): New host. | |
447 | (sparc64-*-linux-gnu*): New host. | |
448 | ||
597e2591 ILT |
449 | 1999-08-06 Ian Lance Taylor <ian@zembu.com> |
450 | ||
3d9f6277 ILT |
451 | * lexsup.c (is_num): Reindent. |
452 | (parse_args): Mention program name in error message. | |
453 | ||
597e2591 ILT |
454 | * emultempl/ostring.sed: Rename from stringify.sed. |
455 | * emultempl/astring.sed: New file. | |
456 | * Makefile.am (stringify.sed): New target. | |
457 | (GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to | |
458 | stringify.sed. | |
459 | * configure.in: Define and substitute STRINGIFY. | |
460 | * emultempl/*.em: Use stringify.sed from build directory rather | |
461 | than source directory. | |
462 | * emultempl/elf32.em: Use stringify.sed rather than inline sed | |
463 | script. | |
464 | * emultempl/gld960.em, emultempl/gld960c.em: Likewise. | |
465 | * emultempl/hppaelf.em, emultempl/linux.em: Likewise. | |
466 | * emultempl/lnk960.em, emultempl/sunos.em: Likewise. | |
467 | * configure, Makefile.in: Rebuild. | |
468 | ||
a7e78dae ILT |
469 | 1999-08-05 Donn Terry <donn@interix.com> |
470 | ||
471 | * emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and | |
3d9f6277 | 472 | INITIAL_SYMBOL_CHAR. |
a7e78dae ILT |
473 | * emulparams/i386pe_posix.sh: New file. |
474 | * Makefile.am (YACC): If bison is not in the source tree, use | |
475 | @YACC@ rather than bison -y. | |
476 | (LEX): If flex is not in the source tree, use @LEX@ rather than | |
477 | flex. | |
478 | (ALL_EMULATIONS): Add ei386pe_posix.o. | |
479 | (ei386pe_posix.c): New target. | |
480 | * configure.tgt (i[3456]86-*-interix*): New target. | |
481 | * configure.host (i[3456]86-pc-interix*): New host. | |
482 | * Makefile.in: Rebuild. | |
483 | ||
18069efc ILT |
484 | 1999-08-03 Ian Lance Taylor <ian@zembu.com> |
485 | ||
486 | * emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000. | |
487 | * emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise. | |
488 | ||
f7cc0a4d ILT |
489 | 1999-08-03 H.J. Lu <hjl@gnu.org> |
490 | ||
491 | * Makefile.am (ALL_EMULATIONS): Remove ego32.o. | |
492 | (ego32.c): Remove. | |
493 | * Makefile.in: Rebuild. | |
494 | ||
5fa803d3 NC |
495 | 1999-07-22 Philip Blundell <pb@nexus.co.uk> |
496 | ||
497 | * emulparams/armelf_linux26.sh (DATA_START_SYMBOLS): Define. | |
498 | (OTHER_BSS_SYMBOLS, OTHER_BSS_END_SYMBOLS): Likewise. | |
499 | * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Define. | |
500 | ||
501 | * configure.tgt (arm*-*-uclinux*, thumb-*-uclinux*, | |
502 | thumb-*-linux-gnu*): New targets. | |
503 | ||
b4089fdd | 504 | 1999-07-21 Mark Elbrecht <snowball3@bigfoot.com> |
8f36e47c | 505 | |
5a1bd109 ILT |
506 | * scripttempl/i386go32.sc: Add handling of linkonce sections. |
507 | ||
8f36e47c | 508 | * configure.bat: Remove; obsolete. |
b4089fdd ILT |
509 | * emulparams/go32.sh: Remove; obsolete. |
510 | * scripttempl/go32coff.sc: Remove; obsolete. | |
8f36e47c | 511 | |
41d390a7 ILT |
512 | 1999-07-21 H.J. Lu <hjl@gnu.org> |
513 | ||
514 | * configure.tgt (mips*el-*-vxworks*): New target. | |
515 | ||
516 | 1999-07-21 Brad M. Garcia <bgarcia@fore.com> | |
517 | ||
518 | * configure.tgt (i[3456]86-*-vxworks*): New target. | |
519 | ||
7c83b342 DE |
520 | Tue Jul 20 15:18:46 1999 Bob Manson <manson@charmed.cygnus.com> |
521 | ||
522 | * ldlang.c (lang_gc_sections): Only handle the start symbol | |
523 | specially if there is one. | |
524 | ||
0ca63823 MM |
525 | Mon Jul 19 14:19:14 1999 Mark P. Mitchell <mark@codesourcery.com> |
526 | ||
527 | * emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add | |
528 | .MIPS.events and .MIPS.content handling. | |
529 | * emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise. | |
530 | ||
e50d8076 NC |
531 | 1999-07-17 Nick Clifton <nickc@cygnus.com> |
532 | ||
533 | * ldlang.c (get_target): New function: Return true iff the | |
534 | given target is the target being sought. | |
535 | (stricpy): New function: Like strcpy but convert to lower | |
536 | case as well. | |
537 | (strcut): New function: Like strstr but remove the located | |
538 | substring as well. | |
539 | (name_compare): New function: Compute a compatability rating | |
540 | for two target names. | |
541 | (winner): New variable: Best target found by | |
542 | closest_target_match() so far. | |
543 | (closest_target_match): New function: Find the target which is | |
544 | the closest match to the original target. | |
545 | (get_first_input_target): New function: Find the target format | |
546 | of the first of the linker's input file. | |
547 | (open_output): Be more clever about deciding the output target | |
548 | format. | |
549 | ||
e76d716a RH |
550 | 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> |
551 | ||
552 | * emulparams/elf64_sparc.sh: Add 64-bit directories to native LIB_PATH. | |
553 | ||
88659ef5 MM |
554 | Thu Jul 15 15:55:15 1999 Mark P. Mitchell <mark@codesourcery.com> |
555 | ||
556 | * configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6. | |
557 | ||
2844ed43 ILT |
558 | 1999-07-15 Ian Lance Taylor <ian@zembu.com> |
559 | ||
560 | * configure.in: Bump version number to 2.9.5. | |
561 | * configure: Rebuild. | |
562 | ||
0eaf9820 RH |
563 | 1999-07-14 Richard Henderson <rth@cygnus.com> |
564 | ||
565 | * ldlang.c (wild_doit): Copy SEC_SHORT to output section. | |
566 | ||
567 | * scripttempl/elf.sc: Re-order .rel[a].foo outputs to the | |
568 | same order seen for the main sections. Add | |
569 | OTHER_READONLY_RELOC_SECTIONS and OTHER_GOT_RELOC_SECTIONS. | |
570 | ||
5d341b0e AS |
571 | 1999-07-12 Andreas Schwab <schwab@suse.de> |
572 | ||
49bdcdba AS |
573 | * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Fill in |
574 | structure initializations. | |
575 | ||
5d341b0e AS |
576 | * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Add missing |
577 | comma in initializer. | |
578 | ||
87f2a346 ILT |
579 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
580 | ||
581 | * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED | |
582 | as appropriate. Fill in structure initializations. | |
583 | ||
b90d1146 ILT |
584 | 1999-07-10 Ian Lance Taylor <ian@zembu.com> |
585 | ||
586 | * ldfile.c: Revert patch of 1999-07-08. | |
587 | (ldfile_try_open_bfd): If we are searching for the file, skip | |
588 | files with an incompatible architecture. | |
589 | ||
6da0974a NC |
590 | 1999-07-09 Nick Clifton <nickc@cygnus.com> |
591 | ||
592 | * scripttempl/armcoff.sc (OUTPUT_FORMAT): Include big endian and | |
593 | little endian formats. | |
594 | ||
7a274639 NC |
595 | 1999-07-08 Felix Lee <flee@cygnus.com> |
596 | ||
597 | * scripttempl/mcorepe.sc: fix quoting problem, for bash 2.x | |
598 | ||
99f8f232 RH |
599 | 1999-07-08 Jakub Jelinek <jj@ultra.linux.cz> |
600 | ||
601 | * ldfile.c (ldfile_open_file_search): Skip libraries made for | |
602 | incompatible architectures in the search path. Let the user know | |
603 | about any such skips. | |
604 | ||
5c61c5ab JL |
605 | Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca> |
606 | ||
607 | * configure.tgt (hppa*-linux-gnu*): New target. | |
608 | ||
22c675a7 MM |
609 | 1999-07-07 Mark Mitchell <mark@codesourcery.com> |
610 | ||
611 | * Makefile.am (ALL_64_EMULATIONS): Add eelf64bmip. | |
612 | (eelf64bmip): New target. | |
613 | * Makefile.in: Regenerated. | |
614 | * configure.tgt (mips-sgi-irix6*): Add 64-bit emulation. | |
615 | * emulparams/elf64bmip.sh: New file. | |
616 | ||
f11523b0 NC |
617 | 1999-07-05 Nick Clifton <nickc@cygnus.com> |
618 | ||
619 | * emultempl/pe.em (after_open): Abort if input format is ARM and | |
620 | output format is not. | |
621 | * emultempl/armcoff.em (after_open): Abort if input format is ARM | |
622 | and output format is not. | |
623 | * emultempl/armelf.em (after_open): Abort if input format is ARM | |
624 | and output format is not. | |
625 | ||
39e878bf ILT |
626 | 1999-07-02 Ian Lance Taylor <ian@zembu.com> |
627 | ||
628 | * ldlang.c: Revert change of 1999-06-23. | |
629 | ||
dc831978 MM |
630 | 1999-06-30 Mark Mitchell <mark@codesourcery.com> |
631 | ||
632 | * Makefile.am (ALL_EMULATIONS): Add eelf32bmipn32.o. | |
633 | (eelf32bmipn32.c): New target. | |
634 | * Makefile.in: Regenerated. | |
635 | * configure.tgt (mips-sgi-irix6*): Make n32 the default | |
636 | emulation. | |
637 | * emulparams/elf32bmipn32.sh: New file. | |
638 | ||
a0290afa NC |
639 | 1999-06-28 Jim Pick <jim@jimpick.com> |
640 | ||
641 | * emultempl/armelf.em: Added code so that .xs linker scripts are | |
642 | called so that ARM shared libraries are built correctly. | |
643 | ||
3dbf70a2 MM |
644 | 1999-06-22 Mark Mitchell <mark@codesourcery.com> |
645 | ||
646 | * ldmain.c (main): Initialize link_info.init_function and | |
647 | link_info.fini_function. | |
648 | * lexsup.c (OPTION_INIT): New macro. | |
649 | (OPTION_FINI): Likewise. | |
650 | (ld_options): Add descriptions for them. | |
651 | (parse_args): Handle them. | |
652 | ||
7b9eea34 ILT |
653 | 1999-06-23 Ian Lance Taylor <ian@zembu.com> |
654 | ||
655 | * ldlang.c (section_already_linked): Only discard link once | |
656 | sections if we are building constructors. | |
657 | ||
5c6bbab8 NC |
658 | 1999-06-22 Nick Clifton <nickc@cygnus.com> |
659 | ||
660 | * ld.texinfo (Location Counter): Describe behaviour of | |
661 | location counter inside section statements. | |
662 | ||
a8e53fb0 MM |
663 | 1999-06-20 Mark Mitchell <mark@codesourcery.com> |
664 | ||
665 | * scripttempl/elf.sc (WRITABLE_RODATA): New variable for | |
666 | controlling whether or not .rodata is in the data segment or the | |
667 | text segment. | |
668 | ||
6f798e5c NC |
669 | 1999-06-18 Nick Clifton <nickc@cygnus.com> |
670 | ||
671 | * emultempl/pe.em: Add new command line switch --thumb-entry. | |
672 | * emultempl/armelf.em: Add new command line switch --thumb-entry. | |
673 | * emultempl/armcoff.em: Add new command line switch --thumb-entry. | |
674 | * ld.texinfo: Document new ARM command line switch: --thumb-entry. | |
ba2be581 RH |
675 | 1999-06-20 H.J. Lu <hjl@gnu.org> |
676 | ||
677 | * configure.in (all_libpath): Accumulate across all enabled targets. | |
678 | ||
f97f7300 RH |
679 | Sun Jun 20 14:10:33 1999 Richard Henderson <rth@cygnus.com> |
680 | ||
681 | * emultempl/armelf.em: Watch EMULATION_LIBPATH instead of | |
682 | DEFAULT_EMULATION. | |
683 | * emultempl/elf32.em: Likewise. | |
684 | * emultempl/sunos.em: Likewise. | |
685 | ||
3336653a RH |
686 | Fri Jun 18 15:24:48 1999 Richard Henderson <rth@cygnus.com> |
687 | ||
688 | * Makefile.am (GENSCRIPTS): Pass EMULATION_LIBPATH, not EMUL. | |
689 | * configure.in (all_emuls): Add targ_extra_libpath. | |
690 | (all_libpath, EMULATION_LIBPATH): Define. | |
691 | * configure.tgt (powerpc-*-linux-gnu*): Define targ_extra_libpath. | |
692 | * genscripts.sh (LIB_PATH): Define if emulation in EMULATION_LIBPATH. | |
693 | ||
308b1ffd AS |
694 | Mon Jun 14 10:38:36 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
695 | ||
696 | * ld.texinfo: Fix use of @item vs. @itemx. | |
697 | ||
aa8804e4 ILT |
698 | 1999-06-13 Ian Lance Taylor <ian@zembu.com> |
699 | ||
700 | From Thomas Zenker <thz@lennartz-electronic.de>: | |
701 | * ldgram.y (attributes_opt): Use attributes_list instead of NAME. | |
702 | (attributes_list, attributes_string): New nonterminals. | |
703 | * ldlang.c (lang_set_flags): Add invert parameter. Don't handle | |
704 | '!'. | |
705 | * ldlang.c (lang_set_flags): Update declaration. | |
706 | ||
2a275620 ILT |
707 | 1999-06-12 Ian Lance Taylor <ian@zembu.com> |
708 | ||
709 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Don't add | |
710 | entry_symbol as an undefined symbol when doing a relocateable | |
711 | link. From <jeffdb@goodnet.com>. | |
712 | ||
2641b0c9 ILT |
713 | 1999-06-12 David O'Brien <obrien@freebsd.org> |
714 | ||
715 | * configure.tgt: (i[3456]86-*-freebsd*): Now defaults to ELF. | |
716 | ||
f75692fe NC |
717 | 1999-06-09 Nick Clifton <nickc@cygnus.com> |
718 | ||
719 | * lexsup.c (help): Restore previous format of output. | |
720 | ||
434d1125 NC |
721 | 1999-06-04 Nick Clifton <nickc@cygnus.com> |
722 | ||
723 | * emultempl/pe.em: If compiling for arm_epoc_pe rename | |
724 | interworking functions to avoid a name space clash. | |
725 | ||
4305932a RH |
726 | 1999-06-02 Jason Merrill <jason@yorick.cygnus.com> |
727 | ||
728 | * scripttempl/v850.sc: Add initp support. | |
729 | ||
46d23b7c NC |
730 | 1999-06-02 Nick Clifton <nickc@cygnus.com> |
731 | ||
732 | * emultempl/pe.em: Rename global arm interworking functions to | |
733 | avoid name collision when all targets BFD is built. | |
734 | ||
cd785be6 RH |
735 | 1999-05-30 Cort Dougan <cort@attis.cs.nmt.edu> |
736 | ||
737 | * Makefile.am (ALL_EMULATIONS): Add eelf32ppclinux.o. | |
738 | * configure.tgt (powerpc-*-linux-gnu): Use it. | |
739 | * emulparams/elf32ppclinux.sh: New file. | |
740 | ||
511ab9e9 ILT |
741 | 1999-05-29 Ian Lance Taylor <ian@zembu.com> |
742 | ||
743 | * ld.texinfo (Options): Clarify that options which refer to files | |
744 | must be properly ordered. | |
745 | ||
7ca69e9e NC |
746 | 1999-05-29 Nick Clifton <nickc@cygnus.com> |
747 | ||
748 | * emultempl/armelf.em (..._parse_args): New function: Parse | |
749 | command line option. Accept arm-elf specific command line option | |
750 | '-p' or '--no-pipeline-knowledge'. | |
751 | (..._list_options): New function: Describe the new command line | |
752 | option. | |
753 | (..._before_allocation): Pass the value of the new variable | |
754 | no_pipeline_knowledge to bfd_elf32_arm_process_before_allocation. | |
755 | ||
756 | * emultemp/armelf_oabi.em (..._before_allocation): Pass zero as | |
757 | the third parameter to bfd_elf32_arm_process_before_allocation. | |
758 | ||
b3043ee4 NC |
759 | 1999-05-28 Nick Clifton <nickc@cygnus.com> |
760 | ||
761 | * lexsup.c (help): Minor formatting changes. | |
762 | ||
0ccf812a ILT |
763 | 1999-05-28 Martin Dorey <mdorey@madge.com> |
764 | ||
765 | * configure.tgt (i960-*-elf*): New target. | |
766 | * emulparams/elf32_i960.sh: New file. | |
767 | * Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o. | |
768 | (eelf32_i960.c): New target. | |
769 | * Makefile.in: Rebuild. | |
770 | ||
a13cba0d NC |
771 | 1999-05-26 Nick Clifton <nickc@cygnus.com> |
772 | ||
773 | * emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi. | |
774 | ||
31ce0628 NC |
775 | 1999-05-24 Philip Blundell <philb@gnu.org> |
776 | ||
777 | * emultempl/armelf.em (before_parse): Set config.dynamic_link and | |
778 | config.has_shared. | |
779 | * emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define. | |
780 | * emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise. | |
781 | ||
1220a729 NC |
782 | 1999-04-13 Philip Blundell <philb@gnu.org> |
783 | ||
784 | * emultempl/armelf.em: Add definitions related to shared objects | |
785 | (copied from elf32.em). | |
786 | ||
3699964a AS |
787 | Wed May 19 12:44:26 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
788 | ||
789 | * Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and | |
790 | earm26linux.o, add earmelf_linux.o and earmelf_linux26.o. | |
791 | * Makefile.in: Regenerated. | |
792 | ||
06f2f02a NC |
793 | 1999-05-16 Nick Clifton <nickc@cygnus.com> |
794 | ||
795 | * emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Define. | |
796 | (TEMPLATE_NAME): Define. | |
797 | ||
de24ad21 RH |
798 | Thu May 13 09:48:09 1999 Joel Sherrill (joel@OARcorp.com) |
799 | ||
800 | * configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets. | |
801 | (mips*el-*-rtems*, powerpcle-*-rtems*): New targets. | |
802 | ||
c6c37250 DD |
803 | 1999-05-10 DJ Delorie <dj@cygnus.com> |
804 | ||
805 | * scripttempl/pe.sc: Specify the output arch, which Ian says is | |
806 | the Right Thing to do. | |
807 | ||
808 | * emultempl/pe.em: various changes to parameterize the | |
809 | target-specific information. | |
810 | (gld_i386pe_after_open): Detect and fix MS import libraries | |
811 | by renaming the member objects (which are all named the same). | |
812 | ||
813 | * pe-dll.c: various changes to parameterize the target-specific | |
814 | information. | |
815 | (generate_reloc): support relocs more generically to allow for | |
816 | expansion. | |
817 | (pe_exe_build_sections): new; used to add .relocs to .exes | |
818 | (pe_exe_fill_sections): ditto | |
819 | ||
626e0105 CM |
820 | 1999-05-10 Catherine Moore <clm@cygnus.com> |
821 | ||
822 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): | |
823 | Check for TARGET_IS_arm_epoc_pe. | |
824 | (gld_${EMULATION_NAME}_before_allocation): Likewise. | |
825 | ||
4dec4d4e RH |
826 | 1999-05-12 Anthony Green <green@cygnus.com> |
827 | ||
828 | * ldlang.c (walk_wild, walk_wild_file, walk_wild_section, | |
829 | output_section_callback, gc_section_callback): New functions for | |
830 | generic section walks. | |
831 | (wild, lang_gc_wild): Use walk_wild. | |
832 | (wild_file, lang_gc_wild_file): Deleted. Common logic moved to | |
833 | walk_wild_file. | |
834 | (wild_section, lang_gc_wild_section): Deleted. Common logic moved | |
835 | to walk_fild_section. Unique logic moved into callbacks | |
836 | output_section_callback and gc_section_callback. | |
837 | ||
252b5132 RH |
838 | 1999-04-26 Tom Tromey <tromey@cygnus.com> |
839 | ||
840 | * aclocal.m4, configure: Updated for new version of libtool. | |
841 | ||
252b5132 RH |
842 | 1999-04-12 Philip Blundell <pb@nexus.co.uk> |
843 | ||
844 | * emulparams/armelf_linux.sh: New file. Support for ARM | |
845 | GNU/Linux ELF ABI. | |
846 | * emulparams/armelf_linux26.sh: New file. APCS-26 version of above. | |
847 | * configure.tgt: For arm*-*-linux-gnu*, set default emulation to | |
848 | `armelf_linux', and also include `armelf_linux26' and `armelf'. | |
849 | * Makefile.am: Add rules to make earmlinux.c and earmlinux26.c. | |
850 | (ALL_EMULATIONS): Add earmlinux.o and earmlinux26.o. | |
851 | * Makefile.in: Regenerate. | |
852 | ||
853 | 1999-04-11 Richard Henderson <rth@cygnus.com> | |
854 | ||
855 | * Makefile.am (ALL_EMULATIONS): Add elf_i386_be.o. | |
856 | * configure.tgt (i[3456]86-*-beos*): Use it. | |
857 | * emulparams/elf_i386_be.sh: New file. | |
858 | * Makefile.in: Rebuild. | |
859 | ||
860 | * configure.in (environ): Detect declaration. | |
861 | * ldmain.c (main): Don't declare environ. | |
862 | * sysdep.h (environ): Declare if needed. | |
863 | * configure, config.in: Rebuild. | |
864 | ||
865 | 1999-04-11 Richard Henderson <rth@cygnus.com> | |
866 | ||
867 | * ldgram.y (ldgram_vers_current_lang): New. | |
868 | (vers_defns): Accept `extern "lang" { }' syntax. | |
869 | * ldlex.l (vers_node_nesting): New. | |
870 | (V_IDENTIFIER): Accept . and $ in symbols. | |
871 | (VERS_NODE): Accept `extern "lang" { }' tokens. Nest VERS_NODE states. | |
872 | * ldlang.c (lang_new_vers_regex): New `lang' argument. Update callers. | |
873 | (lang_vers_match_lang_c): New function. | |
874 | (lang_vers_match_lang_cplusplus): New function. | |
875 | (lang_vers_match_lang_java): New function. | |
876 | (lang_do_version_exports_section): Fix iteration. Don't free | |
877 | section contents, as it is still in use by the patterns. | |
878 | ||
879 | 1999-04-10 Richard Henderson <rth@cygnus.com> | |
880 | ||
881 | * ldmain.c (main): Init link_info.no_undefined. | |
882 | * lexsup.c: Add command-line option --no-undefined. | |
883 | ||
252b5132 RH |
884 | 1999-04-06 Ian Lance Taylor <ian@zembu.com> |
885 | ||
886 | * ld.h (LC_MESSAGES): Never define. | |
887 | * ldmain.c (main): Don't pass LC_MESSAGES to setlocale if the | |
888 | system does not define it. | |
889 | ||
890 | 1999-04-06 H.J. Lu <hjl@gnu.org> | |
891 | ||
892 | * ldmain.h (demangling): Declare. | |
893 | * ldmain.c (demangling): New global variable. | |
894 | (main): Initialize demangling. | |
895 | * ldmisc.c (vfinfo): Don't demangle symbol if ! demangling. | |
896 | * lexsup.c (ld_options, parse_args): Handle --demangle and | |
897 | --no-demangle. | |
898 | * ld.texinfo, ld.1: Document --demangle/--no-demangle. | |
899 | ||
900 | * ldlex.l (V_IDENTIFIER): Allow '.' in symbol. | |
901 | ||
902 | 1999-04-05 Chris Torek <torek@BSDI.COM> | |
903 | ||
904 | * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Check that | |
905 | a shared library really exists, avoiding broken symlinks. | |
906 | ||
907 | * ldfile.c (ldfile_open_file): Generate a better error message if | |
908 | we can't find a -l file. | |
909 | ||
910 | 1999-04-05 DJ Delorie <dj@cygnus.com> | |
911 | ||
912 | * configure.tgt (i386-*-pe): add targ_extra_ofiles for other PE | |
913 | targets (i386-pe and i386-winnt) | |
914 | ||
915 | 1999-04-04 Ian Lance Taylor <ian@zembu.com> | |
916 | ||
917 | * deffilep.y: Include "sysdep.h" and "ldmisc.h". | |
918 | (def_file_add_directive): Change return type to void. Remove | |
919 | unused locals sh_reserve, sh_commit, and j. | |
920 | (def_ungetc): Always return a value. | |
921 | (def_lex): Correct parenthesization of || within &&. | |
922 | * deffile.h (def_file_add_directive): Update declaration. | |
923 | * pe-dll.c: Include <time.h>, <ctype.h>, and "ldemul.h". | |
924 | (generate_edata): Remove unused local i. | |
925 | (quoteput): Add cast to avoid warning. | |
926 | (pe_dll_generate_def_file): Fix type in format string. | |
927 | (quick_symbol): Remove unused local blhe. | |
928 | (pe_dll_generate_implib): Add cast to avoid warning. | |
929 | (pe_process_import_defs): Remove unused locals ar_head, ar_tail, | |
930 | and n. | |
931 | (pe_as16): Comment out. | |
932 | ||
933 | 1999-04-04 Don Bowman <don@pixsci.com> | |
934 | ||
935 | * configure.tgt: Add mips*-*-vxworks* target. | |
936 | ||
937 | 1999-03-31 Nick Clifton <nickc@cygnus.com> | |
938 | ||
939 | * Makefile.in (ALL_EMULATIONS): Add earm_epoc_pe.o | |
940 | Add build rule and dependencies for earm_epoc_pe.c. | |
941 | ||
942 | * emulparams/arm_epoc_pe.sh: New file. | |
943 | ||
944 | * configure.tgt: Add 'targ_extra_ofiles' for ARM based PE | |
945 | targets. | |
946 | ||
947 | 1999-03-31 Philip Blundell <pb@nexus.co.uk> | |
948 | ||
949 | * configure.tgt: Match `arm*-*-linux-gnu*' not | |
950 | `armv*-*-linux-gnu'. | |
951 | ||
952 | 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
953 | ||
954 | * scripttempl/elf.sc: Put the .eh_frame and .gcc_except_table | |
955 | sections in the data segment. | |
956 | ||
957 | Fri Mar 26 12:05:51 1999 Catherine Moore <clm@cygnus.com> | |
958 | ||
959 | * ld.h (wildcard_spec): Add exclude_name. | |
960 | * ldgram.y (EXCLUDE_FILE): New token. | |
961 | (wildcard_spec): Set exclude_name. | |
962 | (file_NAME_list): Recognize EXCLUDE_FILE. | |
963 | * ldlang.c (wild_section): Check for excluded files. | |
964 | (print_wild_statement): Print excluded files. | |
965 | (lang_add_wild): New argument exclude_filename. | |
966 | Set exclude_filename. | |
967 | * ldlang.h (lang_wild_statement_type): Add exclude_filename. | |
968 | * ldlex.l: New token EXCLUDE_FILE. | |
969 | * mri.c (mri_draw_tree): Add argument to lang_add_wild. | |
970 | * scripttempl/elf.sc (CTOR, DTOR): Exclude crtend.o from ctor wildcard. | |
971 | Reorder sorted and unsorted ctors. | |
972 | * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. | |
973 | * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. | |
974 | * scripttempl/elfppc.sc (CTOR, DTOR): Likewise. | |
975 | ||
976 | 1999-03-26 Nick Clifton <nickc@cygnus.com> | |
977 | ||
978 | * ldlang.c (lang_gc_sections): If entry_symbol is not defined, | |
979 | default to "start". | |
980 | ||
981 | 1999-03-03 Nick Clifton <nickc@cygnus.com> | |
982 | ||
983 | * scripttempl/elf.sc: Add explicit placements for the .eh_frame | |
984 | and .gcc_except_table sections. | |
985 | ||
986 | Wed Mar 3 09:13:34 1999 Catherine Moore <clm@cygnus.clm> | |
987 | ||
988 | * scripttempl/elf.sc: Remove .end.ctors and .end.dtors | |
989 | sections. Reorder .ctors section entries. | |
990 | * scripttempl/elfd10v.sc: Likewise. | |
991 | * scripttempl/elfd30v.sc: Likewise. | |
992 | * scripttempl/elfppc.sc: Likewise. | |
993 | ||
994 | 1999-02-26 Jim Lemke <jlemke@cygnus.com> | |
995 | ||
996 | * ldmain.c (main): Wrong error msg for -r and --mpc860c0. | |
997 | ||
998 | 1999-02-25 Nick Clifton <nickc@cygnus.com> | |
999 | ||
1000 | * ldlang.c (lang_check_section_addresses): Remove extraneous | |
1001 | backslash. | |
1002 | ||
1003 | Thu Feb 25 15:07:24 1999 Catherine Moore <clm@cygnus.com> | |
1004 | ||
1005 | * scripttempl/elf.sc: Don't gather .ctor and .dtor sections | |
1006 | for relocateable links. | |
1007 | * scripttempl/elfd10v.sc: Likewise. | |
1008 | * scripttempl/elfd30v.sc: Likewise. | |
1009 | * scripttempl/elfppc.sc: Likewise. | |
1010 | ||
1011 | 1999-02-22 Jim Lemke <jlemke@cygnus.com> | |
1012 | ||
1013 | * ldint.texinfo: remove extraneous right brace. | |
1014 | * ldmain.c (main): initialize and check option "mpc860c0". | |
1015 | * lexsup.c (ld_options, parse_args): add option "mpc860c0". | |
1016 | ||
1017 | Wed Feb 17 12:10:06 1999 Stan Cox <scox@cygnus.com> | |
1018 | ||
1019 | * mpw-elfmips.c (gldelf32ebmip_before_allocation): Remove special | |
1020 | .reginfo section handling. | |
1021 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Likewise. | |
1022 | * emulparams/elf32elmip.sh (INITIAL_READONLY_SECTIONS): Removed | |
1023 | * emulparams/elf32ebmip.sh (INITIAL_READONLY_SECTIONS): Removed | |
1024 | ||
1025 | 1999-02-17 Nick Clifton <nickc@cygnus.com> | |
1026 | ||
1027 | Patch from: Scott Bambrough <scottb@corelcomputer.com> | |
1028 | ||
1029 | * configure.tgt: Added armv*-*-linux-gnu to $targ_emul | |
1030 | recognition. | |
1031 | ||
1032 | Wed Feb 17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
1033 | ||
1034 | * emultempl/armelf_oabi.em | |
1035 | (bfd_elf32_arm_allocate_interworking_sections, | |
1036 | bfd_elf32_arm_get_bfd_for_interworking, | |
1037 | bfd_elf32_arm_process_before_allocation): Define them to use the | |
1038 | old ABI versions of the functions. | |
1039 | ||
1040 | Tue Feb 16 16:48:19 1999 Ian Lance Taylor <ian@cygnus.com> | |
1041 | ||
1042 | * configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL | |
1043 | to AC_PROG_INSTALL. Change AM_EXEEXT to AC_EXEEXT. | |
1044 | * Makefile.am (earmelf_oabi.c): Changes spaces to tab. | |
1045 | * acconfig.h: Remove. | |
1046 | * aclocal.m4: Rebuild. | |
1047 | * configure: Rebuild. | |
1048 | * Makefile.in: Rebuild. | |
1049 | ||
1050 | Mon Feb 15 18:21:48 1999 Vladimir N. Makarov <vmakarov@cygnus.com> | |
1051 | ||
1052 | * ldexp.h (struct etree_value_type): Change valid onto valid_p. | |
1053 | ||
1054 | * ldexp.c (new_abs): Ditto. | |
1055 | (new_rel, new_rel_from_section, fold_binary, invalid, fold_name, | |
1056 | exp_fold_tree, exp_binop, exp_trinop, stat_alloc, | |
1057 | exp_get_abs_int): Ditto | |
1058 | ||
1059 | * ldlang.c (print_assignment, lang_size_sections, | |
1060 | lang_do_assignments): Ditto. | |
1061 | ||
1062 | 1999-02-11 Nick Clifton <nickc@cygnus.com> | |
1063 | ||
1064 | * ldlang.c (lang_check_section_addresses): New function: Check | |
1065 | addresses assigned to section for overlaps. | |
1066 | (lang_process): Call lang_check_section_addresses if suitable. | |
1067 | ||
1068 | * ld.h: Add new boolean field to args_type structure: | |
1069 | 'check_section_addresses'. | |
1070 | ||
1071 | * ldmain.c: Initialise check_section_addresses field to true. | |
1072 | ||
1073 | * lexsup.c: Add new command line options '--no-check-sections' and | |
1074 | '--check-sections'. | |
1075 | ||
1076 | * ld.texinfo: Document new command line options '--check-sections' | |
1077 | and '--no-check-sections'. | |
1078 | ||
1079 | 1999-02-08 Nick Clifton <nickc@cygnus.com> | |
1080 | ||
1081 | * configure.tgt: Add support for StrongARM target. | |
1082 | ||
1083 | Wed Feb 3 19:41:01 1999 Ian Lance Taylor <ian@cygnus.com> | |
1084 | ||
1085 | * ldctor.c (ldctor_build_sets): Just set SEC_KEEP once. Check for | |
1086 | an owner of a section before using it to look up a reloc type. | |
1087 | Don't set SEC_KEEP for the absolute section. | |
1088 | ||
1089 | Mon Feb 1 11:39:46 1999 Catherine Moore <clm@cygnus.com> | |
1090 | ||
1091 | * Makefile.am (earmelf_oabi.o): New. | |
1092 | * Makefile.in: Regenerate. | |
1093 | * configure.tgt (arm-*-oabi): New. | |
1094 | (thumb-*-oabi): New. | |
1095 | * emulparams/armelf_oabi.sh: New. | |
1096 | * emultempl/armelf_oabi.em: New. | |
1097 | ||
1098 | 1999-01-31 17:57:31 1998 Michael Meissner <meissner@cygnus.com> | |
1099 | ||
1100 | * scripttempl/elfppc.sc: Add support for -fleading-underscores | |
1101 | switch in all linker generated symbols. | |
1102 | ||
1103 | * configure.tgt (powerpc{,le}*-*-vxworks): Add as aliases for | |
1104 | powerpc{,le}-*-eabi. | |
1105 | ||
1106 | Wed Jan 20 17:01:48 1999 Ian Lance Taylor <ian@cygnus.com> | |
1107 | ||
1108 | * configure.tgt (i[3456]86-*-solaris2*): New target. From Pavel | |
1109 | Roskin <pavel_roskin@geocities.com>. | |
1110 | ||
1111 | 1999-01-19 Nick Clifton <nickc@cygnus.com> | |
1112 | ||
1113 | * ldlang.c (lang_size_sections): Count loadable sections as | |
1114 | contributing to the size of the current segment. | |
1115 | ||
1116 | 1999-01-15 Nick Clifton <nickc@cygnus.com> | |
1117 | ||
1118 | * ldlang.c (lang_size_sections): Only update the current | |
1119 | address of a region if the section just placed into it is an | |
1120 | allocated section. | |
1121 | ||
1122 | 1999-01-12 Nick Clifton <nickc@cygnus.com> | |
1123 | ||
1124 | * Makefile.am: Replace efr30.o with eelf32fr30.o. | |
1125 | * Makefile.in: Regenerate. | |
1126 | ||
1127 | * configure.tgt: Replace fr30 with elf32fr30. | |
1128 | ||
1129 | * emulparams/elf32fr30.sh: New file: Replaces fr30.sh, and uses | |
1130 | generic elf.sc script. Also replaces the .stack section with a | |
1131 | user definable symbol __stack. | |
1132 | ||
1133 | 1999-01-11 Nick Clifton <nickc@cygnus.com> | |
1134 | ||
1135 | * scripttempl/fr30.sc: Fill .init and .fini sections with NOP | |
1136 | pattern. | |
1137 | ||
1138 | 1999-01-03 Ken Raeburn <raeburn@cygnus.com> | |
1139 | ||
1140 | * Makefile.am (check-DEJAGNU): No longer provide HOSTING_EMU, | |
1141 | HOSTING_CRT0, HOSTING_LIBS; the test suite can extract them from | |
1142 | configure.host and configure.tgt now. | |
1143 | * Makefile.in: Rebuild. | |
1144 | ||
1145 | 1998-12-27 Ulrich Drepper <drepper@cygnus.com> | |
1146 | ||
1147 | * lexsup.c (parse_args, case OPTION_RPATH): Avoid adding duplicate | |
1148 | elements to rpath. | |
1149 | ||
1150 | Thu Dec 10 11:12:28 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
1151 | ||
1152 | * Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o. | |
1153 | (ALL_EMUL_EXTRA_OFILES): New variable. Put them here instead. | |
1154 | * configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES) | |
1155 | if configuring with all targets. | |
1156 | * configure, Makefile.in, aclocal.m4: Rebuild. | |
1157 | ||
1158 | * emultempl/pe.em (pe_enable_stdcall_fixup): Make static. | |
1159 | (pe_dll_do_default_excludes): Removed, unused. | |
1160 | (pe_def_file, pe_dll_export_everything, pe_dll_kill_ats, | |
1161 | pe_dll_stdcall_aliases): Don't initialize them, this file may be | |
1162 | compiled more than once. | |
1163 | * pe-dll.c (pe_def_file, pe_dll_export_everything, | |
1164 | pe_dll_do_default_excludes, pe_dll_kill_ats, | |
1165 | pe_dll_stdcall_aliases): Define and initialize them here instead. | |
1166 | (generate_reloc): Fix allocation of reloc_addresses array to use | |
1167 | bfd_vma instead of unsigned long. Fix element size in qsort call. | |
1168 | (reloc_sort): Compare pointers to bfd_vma instead of unsigned | |
1169 | long. | |
1170 | ||
1171 | Mon Dec 7 21:10:09 1998 J.J. van der Heijden <j.j.vanderheijden@student.utwente.nl> | |
1172 | ||
1173 | * configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific | |
1174 | files. | |
1175 | ||
1176 | Sun Dec 6 16:33:33 1998 Ian Lance Taylor <ian@cygnus.com> | |
1177 | ||
1178 | * configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent | |
1179 | <aymeric.vincent@emi.u-bordeaux.fr>. | |
1180 | ||
1181 | 1998-12-04 Nick Clifton <nickc@cygnus.com> | |
1182 | ||
1183 | * emulparams/fr30.sh (TEXT_START_ADDR): Change TEXT_START_ADDR | |
1184 | from 0x100000 to 0x10000 so that it fits in 20 bits. | |
1185 | ||
1186 | Sat Nov 28 22:32:20 1998 Ian Lance Taylor <ian@cygnus.com> | |
1187 | ||
1188 | * ldemul.h (ldemul_recognized_file): Declare. | |
1189 | ||
1190 | Sat Nov 28 22:30:55 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
1191 | ||
1192 | * ldlang.c (lang_add_wild): Don't pretend that there is an input | |
1193 | file if the filename is a wildcard pattern. | |
1194 | ||
1195 | 1998-11-25 DJ Delorie <dj@cygnus.com> | |
1196 | ||
1197 | * ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file" | |
1198 | * ldemul.c (ldemul_recognized_file): new function, new hook | |
1199 | * ldint.texinfo: document new hook. | |
1200 | * ldlang.c (load_symbols): call recognized_hook for all objects we | |
1201 | do recognize, in case the emulation needs to handle them | |
1202 | specially. PE DLLs use this. | |
1203 | * pe-dll.c (pe_dll_generate_def_file): take out hack and debug | |
1204 | printfs | |
1205 | * emultempl/pe.em (gld_i386_recognized_file): new function | |
1206 | (gld_i486_unrecognized_file): take out hack | |
1207 | ||
1208 | 1998-11-23 DJ Delorie <dj@cygnus.com> | |
1209 | ||
1210 | * pe-dll.c (fill_edata): fill in timestamp | |
1211 | (make_head): name object files sequentially to ensure | |
1212 | they link in the right order. | |
1213 | (make_tail): same here | |
1214 | (pe_process_import_defs): use sequential names for bfds to ensure | |
1215 | proper link order. | |
1216 | (pe_implied_import_dll): new function; handles linking directly | |
1217 | against DLLs by simulating IMPORTS directives. * emultempl/pe.em | |
1218 | (gld_i386pe_before_parse): hack bfd to not recognize .dll files | |
1219 | via bfd_pe_dll_not_recognized_hack | |
1220 | ||
1221 | 1998-11-23 DJ Delorie <dj@cygnus.com> | |
1222 | ||
1223 | * emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to | |
1224 | pe_dll_add_excludes | |
1225 | ||
1226 | Mon Nov 23 14:36:18 1998 Nick Clifton <nickc@cygnus.com> | |
1227 | ||
1228 | * emultempl/pe.em (after_parse): Only create an undefined entry | |
1229 | symbol if one has been specified. | |
1230 | ||
1231 | 1998-11-23 DJ Delorie <dj@cygnus.com> | |
1232 | ||
1233 | * emultempl/pe.em (gld_i386pe_after_open): call | |
1234 | pe_process_import_defs | |
1235 | * pe-dll.c (pe_dll_generate_def_file): calculate BASE from | |
1236 | pe_data, only print if actually set. Print version only if | |
1237 | set. | |
1238 | (save_relocs): save relocs for both input and output. | |
1239 | (make_one): support internal/external different names. | |
1240 | (pe_dll_generate_implib): support new make_one | |
1241 | (pe_process_import_defs): new function; handles IMPORT | |
1242 | directives in .def files. | |
1243 | ||
1244 | Fri Nov 20 13:06:49 1998 Nick Clifton <nickc@cygnus.com> | |
1245 | ||
1246 | * ldmisc.c (vfinfo): Cope with empty symbol names. | |
1247 | ||
1248 | Thu Nov 19 13:31:15 1998 Nick Clifton <nickc@cygnus.com> | |
1249 | ||
1250 | * scripttempl/pe.sc: Add provision of '_end' symbol. | |
1251 | ||
1252 | Wed Nov 18 18:18:43 1998 Geoffrey Noer <noer@cygnus.com> | |
1253 | ||
1254 | * configure.tgt: change refs from cygwin32* to cygwin*. | |
1255 | * aclocal.m4: regenerate | |
1256 | * configure.in: don't need to call AM_CYGWIN32. | |
1257 | * configure: regenerate | |
1258 | ||
1259 | Mon Nov 16 22:14:07 1998 DJ Delorie <dj@cygnus.com> | |
1260 | ||
1261 | * emultempl/pe.em (gld_i386_finish): generate import library | |
1262 | * deffile.h: add hint member. | |
1263 | * pe-dll.c (pe_dll_generate_implib): New function with helpers; | |
1264 | generates the import library directly from the export table. | |
1265 | (fill_edata): remember the actual hint for the import library. | |
1266 | ||
1267 | Sat Nov 14 14:36:24 1998 Ian Lance Taylor <ian@cygnus.com> | |
1268 | ||
1269 | * ld.1: Some cleanups from NOKUBI Hirotaka <hnokubi@yyy.or.jp>. | |
1270 | ||
1271 | Thu Nov 12 19:21:57 1998 Dave Brolley <brolley@cygnus.com> | |
1272 | ||
1273 | * po/ld.pot: Regenerated. | |
1274 | * po/POTFILES.in: Regenerated. | |
1275 | * configure: Regenerated. | |
1276 | * aclocal.m4: Regenerated. | |
1277 | * Makefile.in: Regenerated. | |
1278 | ||
1279 | Wed Nov 11 18:10:15 1998 DJ Delorie <dj@cygnus.com> | |
1280 | ||
1281 | * pe-dll.c (generate_reloc): don't output PE relocs for sections | |
1282 | that won't be loaded. | |
1283 | ||
1284 | Wed Nov 11 13:44:54 1998 DJ Delorie <dj@cygnus.com> | |
1285 | ||
1286 | * pe-dll.c (fill_edata): don't strip underscores | |
1287 | ||
1288 | Tue Nov 10 21:28:19 1998 DJ Delorie <dj@cygnus.com> | |
1289 | ||
1290 | * ld.texinfo: added i386pe option summary | |
1291 | ||
1292 | Tue Nov 10 17:53:17 1998 DJ Delorie <dj@cygnus.com> | |
1293 | ||
1294 | * pe-dll.c (process_def_file): properly note undefined exported | |
1295 | symbols, clean up old code. | |
1296 | (pe_dll_generate_def_file): don't crash if pe_def_file is NULL | |
1297 | * emultempl/pe.em (gld_i386_parse_args): add | |
1298 | (en/dis)able-stdcall-fixups | |
1299 | (pe_fixup_stdcalls): warn about stdcall fixups | |
1300 | (gld_i386_unrecognized_file): make exported symbols undefs so that | |
1301 | archive members get pulled in | |
1302 | ||
1303 | Tue Nov 10 14:50:51 1998 Catherine Moore <clm@cygnus.com> | |
1304 | ||
1305 | * scripttempl/elfd10v.sc: Add KEEP attribute to .init, | |
1306 | .fini, .dtors and .ctors. Add .data and .text | |
1307 | wildcards to support section garbage collection. | |
1308 | ||
1309 | Mon Nov 9 22:52:50 1998 DJ Delorie <dj@indy.delorie.com> | |
1310 | ||
1311 | * deffilep.y: properly handle relocs with multiple def_files, | |
1312 | cache import module names | |
1313 | ||
1314 | Mon Nov 9 22:44:58 1998 DJ Delorie <dj@cygnus.com> | |
1315 | ||
1316 | * pe-dll.c (process_def_file): don't assume exports won't move | |
1317 | during a realloc | |
1318 | ||
1319 | Mon Nov 9 16:41:30 1998 DJ Delorie <dj@cygnus.com> | |
1320 | ||
1321 | * pe-dll.c: New file; direct support for PE DLLs | |
1322 | * deffile.h: New file; direct support for PE DLLs | |
1323 | * deffilep.y: New file; direct support for PE DLLs | |
1324 | * emultempl/pe.em: add direct support for PE DLLs | |
1325 | * configure.tgt: allow target-specific extra files | |
1326 | * configure.in: allow target-specific extra files | |
1327 | * ldlang.c (lang_add_assignment): return the assignment so that | |
1328 | one can change the value later based on the object files (pe-dll | |
1329 | DEF files do this) | |
1330 | * ldint.texinfo: add section for emulation walkthrough | |
1331 | * Makefile.am: add new files and target-specific extra files | |
1332 | * emultempl/pe.em (gld_i386_list_options): list dll-specific | |
1333 | options. | |
1334 | * pe-dll.c (process_def_file): auto-export everything if | |
1335 | nothing is otherwise exported. | |
1336 | ||
1337 | Wed Nov 4 16:39:18 1998 Nick Clifton <nickc@cygnus.com> | |
1338 | ||
1339 | * Makefile.am: Add support for FR30 target. | |
1340 | * configure.tgt: Add support for FR30 target. | |
1341 | * Makefile.in: Regenerate. | |
1342 | * emulparams/fr30.sh: New file. | |
1343 | * scripttemp/fr30.sc: New file. | |
1344 | ||
1345 | Mon Nov 2 14:47:15 1998 Catherine Moore <clm@cygnus.com> | |
1346 | ||
1347 | * ldmain.c (main): Don't report error for dynamic links and | |
1348 | --gc-sections. | |
1349 | ||
1350 | 1998-10-26 16:05 Ulrich Drepper <drepper@cygnus.com> | |
1351 | ||
1352 | * lexsup.c (ld_options): Change text of -O to Optimize output file". | |
1353 | (parse_args): Set link_info.optimize based on -O argument. | |
1354 | * ldmain.c (main): Initialize link_info.optimze to false. | |
1355 | * ld.texinfo: Describe -O option. | |
1356 | * ld.1: Likewise. | |
1357 | ||
1358 | Mon Oct 12 14:29:56 1998 Nick Clifton <nickc@cygnus.com> | |
1359 | ||
1360 | * scripttempl/v850.sc: Move .sbss and .scommon sections into their | |
1361 | own segment, so that they can be next to the .bss section and so | |
1362 | initialised by the same piece of code. | |
1363 | ||
1364 | Fri Oct 9 15:59:52 1998 Catherine Moore <clm@cygnus.com> | |
1365 | ||
1366 | * scripttempl/elf.sc: Merge .sdata.* etc sections. | |
1367 | * ldctor.c (ldctor_build_sets): Set SEC_KEEP for | |
1368 | ctor sections. | |
1369 | ||
1370 | Mon Oct 5 09:40:43 1998 Catherine Moore <clm@cygnus.com> | |
1371 | ||
1372 | * ldmain.c (main): Error if --gc-sections and | |
1373 | dyanmic linking. | |
1374 | * scripttempl/v850.sc: Add KEEP attribute to .init, | |
1375 | .fini, .dtors and .ctors. Add .data and .text | |
1376 | wildcards to support section garbage collection. | |
1377 | ||
1378 | Wed Sep 30 11:19:15 1998 Nick Clifton <nickc@cygnus.com> | |
1379 | ||
1380 | * scripttempl/v850.sc: Rename .call_table section to | |
1381 | .call_table_data and create a new section called | |
1382 | .call_table_text. | |
1383 | ||
1384 | Sun Sep 20 00:43:26 1998 Ian Lance Taylor <ian@cygnus.com> | |
1385 | ||
1386 | * scripttempl/elf.sc: Add alignment at the end of the .bss | |
1387 | section, so that it is included in the memsize of the segment. | |
1388 | ||
1389 | Fri Sep 18 13:42:42 1998 Catherine Moore <clm@cygnus.com> | |
1390 | ||
1391 | * emultempl/elf32.em (gld_place_orphan): Don't process for | |
1392 | sections with SEC_EXCLUDE flag. | |
1393 | ||
1394 | Fri Sep 4 09:24:02 1998 Nick Clifton <nickc@cygnus.com> | |
1395 | ||
1396 | * emulparams/d30velf.sh (TEXT_SIZE): Increased to 2000K. | |
1397 | (DATA_SIZE): Increased to 2000K. | |
1398 | ||
1399 | Thu Sep 3 17:30:58 1998 Richard Henderson <rth@cygnus.com> | |
1400 | ||
1401 | * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32. | |
1402 | ||
1403 | Mon Aug 31 01:06:00 1998 Catherine Moore <clm@cygnus.com> | |
1404 | ||
1405 | * Makefile.am: Change armelf.sc to elf.sc | |
1406 | * Makefile.in: Regenerate. | |
1407 | ||
1408 | Mon Aug 31 11:12:04 1998 Catherine Moore <clm@cygnus.com> | |
1409 | ||
1410 | * emulparams/armelf.sh: Change SCRIPT_NAME to | |
1411 | elf. Change TEXT_START_ADDR to 0x8000. Define | |
1412 | OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and | |
1413 | OTHER_BSS_END_SYMBOLS. | |
1414 | * scripttempl/elf.sc: Modify to use | |
1415 | OTHER_BSS_END_SYMBOLS. | |
1416 | * scripttempl/elfarm.sc: Remove file. | |
1417 | ||
1418 | Tue Aug 18 12:05:34 1998 Catherine Moore <clm@cygnus.com> | |
1419 | ||
1420 | * emultempl/armelf.em (gld_armelf_before_allocation): | |
1421 | Add bfd_ prefix to elf32_arm_process_before_allocation | |
1422 | and elf32_arm_allocate_interworking_sections. | |
1423 | (gld_armelf_after_open): Add bfd_ prefix to | |
1424 | elf32_arm_get_bfd_for_interworking. | |
1425 | ||
1426 | Fri Aug 14 15:34:29 1998 Ian Lance Taylor <ian@cygnus.com> | |
1427 | ||
1428 | * Makefile.am: Rebuild dependencies. | |
1429 | * Makefile.in: Rebuild. | |
1430 | ||
1431 | * ldgram.y: Include "ldctor.h". | |
1432 | (statement): Accept SORT around CONSTRUCTORS. | |
1433 | * ldctor.c: Include <ctype.h>. | |
1434 | (constructors_sorted): New global variable. | |
1435 | (ctor_prio, ctor_cmp): New static functions. | |
1436 | (ldctor_build_sets): Sort constructors if requested. | |
1437 | * ldctor.h (constructors_sorted): Declare. | |
1438 | * ldlang.c (print_statement): Print sorted CONSTRUCTORS | |
1439 | correctly. | |
1440 | * scripttempl/elf.sc: Add sort around CONSTRUCTORS. | |
1441 | * ld.texinfo (Output Section Keywords): Document SORT | |
1442 | (CONSTRUCTORS). | |
1443 | ||
1444 | Thu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com> | |
1445 | ||
1446 | * emulparams/armelf.sh: Define TEMPLATE_NAME to armelf. | |
1447 | * scripttempl/elfarm.sc: Include .glue_7t and .glue7 | |
1448 | sections. | |
1449 | * emultempl/armelf.em: New file. | |
1450 | ||
1451 | Thu Aug 13 12:52:45 1998 H.J. Lu <hjl@gnu.org> | |
1452 | ||
1453 | * Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO. | |
1454 | * Makefile.in: Rebuild. | |
1455 | ||
1456 | Tue Aug 11 16:17:01 1998 Catherine Moore <clm@cygnus.com> | |
1457 | ||
1458 | * scripttempl/elfarm.sc: Change text start address | |
1459 | back to zero. | |
1460 | ||
1461 | Tue Aug 11 10:01:12 1998 Jeffrey A Law (law@cygnus.com) | |
1462 | ||
1463 | * emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1. | |
1464 | * emulparms/mn10300.sh (MAX_PAGESIZE): Define to 1. | |
1465 | ||
1466 | Sun Aug 9 20:31:27 1998 Catherine Moore <clm@cygnus.com> | |
1467 | ||
1468 | * scripttempl/elfarm.sc: Set text start address to | |
1469 | 0x8000. Add __bss_end definition. | |
1470 | ||
1471 | Sat Aug 1 11:47:37 1998 Catherine Moore <clm@cygnus.com> | |
1472 | ||
1473 | * scripttempl/elfarm.sc: New file. | |
1474 | * emulparams/armelf.sh: Set SCRIPT_NAME to elfarm. | |
1475 | ||
1476 | Fri Jul 31 15:56:16 1998 Catherine Moore <clm@cygnus.com> | |
1477 | ||
1478 | * emulparams/armelf.sh: New file. | |
1479 | * configure.tgt: Recognize thumb-elf and arm-elf. | |
1480 | * Makefile.am (earmelf.o): New. | |
1481 | * Makefile.in: Rebuild. | |
1482 | ||
1483 | Fri Jul 24 12:00:57 1998 Ian Lance Taylor <ian@cygnus.com> | |
1484 | ||
1485 | * Makefile.am (install-exec-local): Don't remove the file before | |
1486 | checking whether $(bindir) == $(tooldir)/bin. From Maciej | |
1487 | W. Rozycki <macro@ds2.pg.gda.pl>. | |
1488 | * Makefile.in: Rebuild. | |
1489 | ||
1490 | * configure.tgt: Recognize h8[35]00*-coff* as well as -hms*. | |
1491 | ||
1492 | Thu Jul 23 11:15:12 1998 Ian Lance Taylor <ian@cygnus.com> | |
1493 | ||
1494 | * scripttempl/aout.sc: If ALIGNMENT is defined, use it to set | |
1495 | alignment of end symbol. | |
1496 | * scripttempl/elf.sc: Likewise. | |
1497 | * emulparams/sun4.sh (ALIGNMENT): Define. | |
1498 | * emulparams/elf32_sparc.sh (ALIGNMENT): Define. | |
1499 | * ldint.texinfo (emulation parameters): Document ALIGNMENT. | |
1500 | ||
1501 | * lexsup.c (parse_args): Add missing break statement. | |
1502 | ||
1503 | * ldlang.c (lang_gc_sections_1): Add default case to switch to | |
1504 | avoid warnings. | |
1505 | ||
1506 | Tue Jul 14 15:42:17 1998 Richard Henderson <rth@cygnus.com> | |
1507 | ||
1508 | * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize. | |
1509 | * Makefile.am (ei386beos.o): New. | |
1510 | * emulparams/i386beos.sh: New file. | |
1511 | * emultempl/beos.em, scripttempl/i386beos.sc: New file. | |
1512 | ||
1513 | Tue Jul 14 15:35:42 1998 Richard Henderson <rth@cygnus.com> | |
1514 | ||
1515 | * lexsup.c: New option --version-exports-section. | |
1516 | * ld.h (struct args_type): Add version_exports_section. | |
1517 | * ldlang.c (lang_do_version_exports_section): New function. | |
1518 | (lang_process): Call it. | |
1519 | ||
1520 | Mon Jul 13 13:20:23 1998 Steve Chamberlain <sac@transmeta.com> | |
1521 | ||
1522 | * ldlex.l: Accept ASSERT. | |
1523 | * ldgram.y (exp): Add ASSERT_K case. | |
1524 | * ldexp.h (node_type): Add etree_assert to node_class enum. | |
1525 | (etree_type): Add assert_s field. | |
1526 | (exp_assert): Declare. | |
1527 | * ldexp.c (exp_fold_tree): Handle etree_assert. | |
1528 | (exp_assert): New function. | |
1529 | (exp_print_tree): Handle etree_assert. | |
1530 | * ld.texinfo (Miscellaneous Commands): Document ASSERT. | |
1531 | ||
1532 | Wed Jul 8 14:03:12 1998 Ian Lance Taylor <ian@cygnus.com> | |
1533 | ||
1534 | * ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoid | |
1535 | conflicts with system header files. Change all uses. | |
1536 | ||
1537 | * Makefile.am (MAINTAINERCLEANFILES): Define. | |
1538 | * Makefile.in: Rebuild. | |
1539 | ||
1540 | Tue Jul 7 18:03:22 1998 Ian Lance Taylor <ian@cygnus.com> | |
1541 | ||
1542 | * Makefile.am (ldver.texi): New target. | |
1543 | (ld.info, ld.dvi): Depend upon ldver.texi. | |
1544 | * ld.texinfo: Include ldver.texi. Mention version number on title | |
1545 | page and in top node. | |
1546 | * Makefile.in: Rebuild. | |
1547 | ||
1548 | Mon Jul 6 14:55:13 1998 Ian Lance Taylor <ian@cygnus.com> | |
1549 | ||
1550 | * configure.tgt (i[3456]86-*-solaris*): New target. | |
1551 | ||
1552 | Fri Jul 3 14:19:06 1998 Ian Lance Taylor <ian@cygnus.com> | |
1553 | ||
1554 | * ldlang.c (wild_section): Don't get an assertion failure if the | |
1555 | section is discarded. | |
1556 | ||
1557 | * scripttempl/pe.sc: Use SORT to sort sections appropriately. | |
1558 | * emultempl/pe.em (sort_by_file_name): Remove. | |
1559 | (sort_by_section_name): Remove. | |
1560 | (sort_sections_1, sort_sections): Remove. | |
1561 | (gld_${EMULATION_NAME}_before_allocation): Don't call | |
1562 | sort_sections. | |
1563 | (hold_section, hold_section_name): New static variables. | |
1564 | (hold_use, hold_text, hold_rdata, hold_data, hold_bss): Likewise. | |
1565 | (gld_${EMULATION_NAME}_place_orphan): Rewrite. Look for a good | |
1566 | place to put the section. Align the section. Sort the input | |
1567 | sections by name. | |
1568 | (gld_${EMULATION_NAME}_place_section): New static function. | |
1569 | ||
1570 | * ldlang.c (wild_sort): When sorting by file name, sort by archive | |
1571 | name first. | |
1572 | ||
1573 | * emultempl/pe.em (set_pe_subsystem): Don't call | |
1574 | ldlang_add_undef. | |
1575 | (gld_${EMULATION_NAME}_after_parse): New static function. | |
1576 | (ld_${EMULATION_NAME}_emulation): Use new after_parse function | |
1577 | rather than after_parse_default. | |
1578 | ||
1579 | * ldgram.y (extern_name_list): Do not require symbols to be | |
1580 | separated by commas. | |
1581 | (ifile_p1): Add EXTERN. | |
1582 | * ldlex.l: Accept EXTERN in BOTH and SCRIPT mode as well as MRI | |
1583 | mode. | |
1584 | * ld.texinfo (Options): Mention that EXTERN is equivalent to -u. | |
1585 | (Miscellaneous Commands): Document EXTERN. | |
1586 | ||
1587 | Wed Jul 1 19:40:34 1998 Richard Henderson <rth@cygnus.com> | |
1588 | ||
1589 | * ld.h (args_type): Add gc_sections. | |
1590 | * ldgram.y (ldgram_had_keep, KEEP): New. | |
1591 | (input_section_spec_no_keep): Rename from old input_section_spec. | |
1592 | (input_section_spec): New. Recognize KEEP. | |
1593 | * ldlang.c (wild_section): Handle keep sections. | |
1594 | (lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New. | |
1595 | (lang_gc_sections_1, lang_gc_sections): New. | |
1596 | (lang_process): Invoke lang_gc_sections. | |
1597 | (lang_add_wild): Add keep argument. Update all callers. | |
1598 | * ldlang.h (lang_wild_statement_struct): Add keep_sections. | |
1599 | * ldlex.l (KEEP): Match it. | |
1600 | * ldmain.c (main): Error on -r and --gc-sections. | |
1601 | * lexsup.c: Add --gc-sections. | |
1602 | ||
1603 | * scripttempl/elf.sc: Merge .text.* etc sections appropriately. | |
1604 | Mark startup sections with KEEP. | |
1605 | * scripttempl/elfppc.sc: Likewise. | |
1606 | ||
1607 | * ld.texinfo: Update for --gc-sections and KEEP. | |
1608 | ||
1609 | Wed Jul 1 15:21:20 1998 Ian Lance Taylor <ian@cygnus.com> | |
1610 | ||
1611 | From Peter Jordan <pjordan@chla.usc.edu>: | |
1612 | * scripttempl/i386go32.sc: Correct constructor handling for -u. | |
1613 | ||
1614 | Tue Jun 23 15:17:27 1998 Ian Lance Taylor <ian@cygnus.com> | |
1615 | ||
1616 | * Makefile.am (install-data-local): Make ldscripts subdirectory. | |
1617 | * Makefile.in: Rebuild. | |
1618 | ||
1619 | Tue Jun 23 15:17:04 1998 Mike Stump <mrs@wrs.com> | |
1620 | ||
1621 | * Makefile.am (install-exec-local): Don't let EXEEXT interfere | |
1622 | with the program transform name. | |
1623 | * Makefile.in: Rebuild. | |
1624 | ||
1625 | Sun Jun 21 23:55:16 1998 Jeffrey A Law (law@cygnus.com) | |
1626 | ||
1627 | * ld.texinfo: Note that -relax may make symbolic debugging | |
1628 | impossible on some platforms. | |
1629 | ||
1630 | Tue Jun 16 12:51:13 1998 Geoff Keating <geoffk@ozemail.com.au> | |
1631 | ||
1632 | * Makefile.am (Makefile): Remove target. | |
1633 | (config.status): New target. | |
1634 | * Makefile.in: Rebuild. | |
1635 | ||
1636 | * configure.host (powerpc*-*-linux-gnu*): New host. | |
1637 | ||
1638 | Fri Jun 12 17:38:07 1998 Doug Evans <devans@seba.cygnus.com> | |
1639 | ||
1640 | * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec. | |
1641 | ||
1642 | * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Change top of | |
1643 | stack to 8MB. | |
1644 | ||
1645 | Fri Jun 12 19:33:17 1998 Ian Lance Taylor <ian@cygnus.com> | |
1646 | ||
1647 | * Makefile.am (HFILES): Remove config.h. | |
1648 | (EMULATION_OFILES, POTFILES): Move patch of May 14 from | |
1649 | Makefile.in to Makefile.am. | |
1650 | (earmcoff.c): Depend upon armcoff.em, not generic.em. | |
1651 | * po/Make-in (all-yes): Correct misspelling in $(PACKAGE). | |
1652 | ($(srcdir)/$(PACKAGE).pot): Pass -C to $(XGETTEXT). | |
1653 | * Makefile.in, po/POTFILES.in, po/ld.pot: Rebuild. | |
1654 | ||
1655 | Fri Jun 12 13:43:17 1998 Tom Tromey <tromey@cygnus.com> | |
1656 | ||
1657 | * po/Make-in (all-yes): If maintainer mode, depend on .pot file. | |
1658 | ($(PACKAGE).pot): Unconditionally depend on POTFILES. | |
1659 | ||
1660 | Tue Jun 9 09:36:48 1998 Nick Clifton <nickc@cygnus.com> | |
1661 | ||
1662 | * ldlang.c (lang_finish): Add CONST type modifier to declaration | |
1663 | of 'send'. | |
1664 | ||
1665 | Fri Jun 5 18:19:59 1998 Ian Lance Taylor <ian@cygnus.com> | |
1666 | ||
1667 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set | |
1668 | config.has_shared to true. | |
1669 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): | |
1670 | Likewise. | |
1671 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): | |
1672 | Likewise. | |
1673 | ||
1674 | Tue Jun 2 12:55:03 1998 Ian Lance Taylor <ian@cygnus.com> | |
1675 | ||
1676 | * ldlang.c (lang_finish): If the entry symbol is not found, try | |
1677 | parsing it as a number. | |
1678 | * ld.texinfo (Options): Document this. | |
1679 | ||
1680 | Mon Jun 1 14:01:20 1998 Ian Lance Taylor <ian@cygnus.com> | |
1681 | ||
1682 | * ld.texinfo (Input Section Wildcards): Document SORT keyword. | |
1683 | ||
1684 | Mon May 18 12:42:53 1998 Doug Evans <devans@canuck.cygnus.com> | |
1685 | ||
1686 | * ld.h (ld_config_type): New member has_shared. | |
1687 | * ldmain.c (main): Initialize it. | |
1688 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set it. | |
1689 | * lexsup.c (parse_args): Treat -shared as error if not supported. | |
1690 | ||
1691 | Mon May 18 13:14:43 1998 Ian Lance Taylor <ian@cygnus.com> | |
1692 | ||
1693 | From Jason Merrill <jason@cygnus.com>: | |
1694 | * ldlang.c (wild_sort): Correct order of sort. | |
1695 | * scripttempl/elf.sc: Put *crtbegin.o before other .ctors and | |
1696 | .dtors. | |
1697 | * scripttempl/elfd10v.sc: Likewise. | |
1698 | * scripttempl/elfd30v.sc: Likewise. | |
1699 | * scripttempl/elfppc.sc: Likewise. | |
1700 | ||
1701 | Fri May 15 00:22:35 1998 Ian Lance Taylor <ian@cygnus.com> | |
1702 | ||
1703 | * ldlex.l: Recognize keyword SORT. | |
1704 | * ldgram.y (current_file): Change to struct wildcard_spec. | |
1705 | (%union): Add new fields cname and wildcard. | |
1706 | (wildcard_name, wildcard_spec): New nonterminals. | |
1707 | (file_NAME_list): Use wildcard_spec. | |
1708 | (input_section_spec): Change current_file usage. | |
1709 | * ld.h (struct wildcard_spec): Define. | |
1710 | * ldlang.h (lang_wild_statement_struct): Add new fields | |
1711 | sections_sorted and filenames_sorted. | |
1712 | (lang_add_wild): Update declaration. | |
1713 | * ldlang.c (wild_sort): New static function. | |
1714 | (wild_section): Use wild_sort. | |
1715 | (print_wild_statement): Print sorting information. | |
1716 | (lang_add_wild): Add new parameters sections_sorted and | |
1717 | filenames_sorted. Change all callers. | |
1718 | * mri.c (mri_draw_tree): Update calls to lang_add_wild. | |
1719 | * scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name. | |
1720 | * scripttempl/elfd10v.sc: Likewise. | |
1721 | * scripttempl/elfd30v.sc: Likewise. | |
1722 | * scripttempl/elfppc.sc: Likewise. | |
1723 | ||
1724 | Thu May 14 18:39:16 1998 Richard Henderson <rth@cygnus.com> | |
1725 | ||
1726 | * emulparams/m32relf.sh (TEMPLATE_NAME): Define. | |
1727 | ||
1728 | Thu May 14 14:51:24 1998 Nick Clifton <nickc@cygnus.com> | |
1729 | ||
1730 | * ldemul.h: Add new prototype: ldemul_list_emulation_options. | |
1731 | (ld_emulation_xfer_struct): Add new field: list_options. | |
1732 | * ldemul.c (ldemul_list_options): New function. Call the | |
1733 | list_options field of the ld_emulation_xfer_struct for each | |
1734 | supported emulation, if such a function is present. | |
1735 | * lexsup.c (help): Call ldemul_list_emulation_options. | |
1736 | * emultempl/pe.em (gld_<>_list_options): New function. Describe | |
1737 | the pe emulation specific command line options. | |
1738 | * emultempl/armcoff.em (gld<>_list_options): New function. | |
1739 | Describe the armcoff emulation specific command line options. | |
1740 | ||
1741 | * emultempl/pe.em: Add a new command line option: | |
1742 | --support-old-code. | |
1743 | * emultempl/armcoff.em: Ditto. | |
1744 | * ld.texinfo: Document the --support-old-code option. | |
1745 | ||
1746 | * Makefile.in: Add emulation files for POTFILES.in target. | |
1747 | * emultempl/pe.em: Internationalise suitable strings. | |
1748 | * emultempl/armcoff.em: Internationalise suitable strings. | |
1749 | * po/POTFILES.in: Rebuilt. | |
1750 | ||
1751 | Sun May 10 22:36:30 1998 Jeffrey A Law (law@cygnus.com) | |
1752 | ||
1753 | * po/Make-in (install-info): New target. | |
1754 | ||
1755 | Tue Apr 28 19:18:30 1998 Tom Tromey <tromey@cygnus.com> | |
1756 | ||
1757 | * ldmain.c (main): Conditionally call setlocale. | |
1758 | * ld.h: Include <locale.h> if HAVE_LOCALE_H. | |
1759 | (LC_MESSAGES): Now can be defined even when ENABLE_NLS. | |
1760 | ||
1761 | Mon Apr 27 11:56:21 1998 Ian Lance Taylor <ian@cygnus.com> | |
1762 | ||
1763 | * configure.in: Change version number to 2.9.4 | |
1764 | * configure: Rebuild. | |
1765 | ||
1766 | * ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf. | |
1767 | ||
1768 | Based on patch from H.J. Lu <hjl@gnu.org>: | |
1769 | * emultempl/elf32.em (global_vercheck_needed): New file static | |
1770 | variable. | |
1771 | (global_vercheck_failed): New file static variable. | |
1772 | (gld${EMULATION_NAME}_after_open): Check for shared libraries | |
1773 | twice, once with force set to 0 and once with it set to 1. | |
1774 | (gld${EMULATION_NAME}_check_ld_so_conf): Add force parameter. | |
1775 | Change all callers. | |
1776 | (gld${EMULATION_NAME}_search_needed): Likewise. | |
1777 | (gld${EMULATION_NAME}_try_needed): Likewise. If not force, check | |
1778 | whether the libraries needs any incompatible versions. | |
1779 | (gld${EMULATION_NAME}_vercheck): New static function. | |
1780 | ||
1781 | Wed Apr 22 16:01:35 1998 Tom Tromey <tromey@cygnus.com> | |
1782 | ||
1783 | * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). | |
1784 | ||
1785 | Wed Apr 22 12:40:56 1998 Ian Lance Taylor <ian@cygnus.com> | |
1786 | ||
1787 | * Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when | |
1788 | invoking runtest. | |
1789 | * Makefile.in: Rebuild. | |
1790 | ||
1791 | * lexsup.c (parse_args): Change -l options into --library options | |
1792 | to avoid confusion between -li and -library. | |
1793 | ||
1794 | * ld.texinfo (MEMORY): Clarify use of >REGION. | |
1795 | ||
1796 | Tue Apr 21 23:12:40 1998 Tom Tromey <tromey@scribbles.cygnus.com> | |
1797 | ||
1798 | * Many files: Added gettext invocations around user-visible | |
1799 | strings. | |
1800 | * ld.h: Added gettext-related includes and defines. | |
1801 | * ldmain.c: Call setlocale, bindtextdomain, textdomain. | |
1802 | * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, | |
1803 | HAVE_LC_MESSAGES): Define. | |
1804 | * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and | |
1805 | po/Makefile. Use AM_PROG_LEX. | |
1806 | (TDIRS): AC_SUBST early on, to avoid having value split when it | |
1807 | happens to cross line 90 of the generated sed script. | |
1808 | * Makefile.am (SUBDIRS): New macro. | |
1809 | (POTFILES): Likewise. | |
1810 | (po/POTFILES.in): New target. | |
1811 | (ld_new_LDADD): Added INTLLIBS. | |
1812 | (ld_new_DEPENDENCIES): Added INTLDEPS. | |
1813 | * po/Make-in, po/POTFILES.in, po/gas.pot: New files. | |
1814 | ||
1815 | Tue Apr 21 23:07:07 1998 Ian Lance Taylor <ian@cygnus.com> | |
1816 | ||
1817 | * ld.texinfo (Simple Example): Rewrite a few things as suggested | |
1818 | by Nick Clifton <nickc@cygnus.com>. | |
1819 | (PROVIDE): Likewise. | |
1820 | ||
1821 | Tue Apr 21 09:55:06 1998 Nick Clifton <nickc@cygnus.com> | |
1822 | ||
1823 | * emultempl/pe.em: Rename external arm interworking functions | |
1824 | to conform to BFD naming conventions. Add code to _after_open() | |
1825 | function to obtain a bfd for use by the interworking code. | |
1826 | ||
1827 | * emultempl/armcoff.em: Rename external arm interworking functions | |
1828 | to conform to BFD naming conventions. Add new _after_open() | |
1829 | function to obtain a bfd for use by the interworking code. | |
1830 | ||
1831 | Sun Apr 19 19:23:09 1998 Richard Henderson <rth@cygnus.com> | |
1832 | ||
1833 | * ldlang.c (lang_size_sections) [case lang_assignment_statement_enum]: | |
1834 | Update dot and the default memory section even when relaxing. | |
1835 | ||
1836 | Sat Apr 18 18:41:12 1998 Richard Henderson <rth@cygnus.com> | |
1837 | ||
1838 | * ldlang.c (lang_one_common): Manipulate the section's cooked size | |
1839 | rather than its raw size. | |
1840 | ||
1841 | Tue Apr 7 13:35:29 1998 H.J. Lu <hjl@gnu.org> | |
1842 | ||
1843 | * configure.in (TESTBFDLIB): New. Defined and substituted. | |
1844 | * Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@. | |
1845 | * configure, Makefile.in: Rebuild. | |
1846 | ||
1847 | Mon Apr 6 15:33:39 1998 Ian Lance Taylor <ian@cygnus.com> | |
1848 | ||
1849 | * Makefile.am (ld.info): Invoke makeinfo with -I options directly | |
1850 | rather than relying on default rule. Don't depend upon | |
1851 | bfdsumm.texi. | |
1852 | (ld.dvi): Likewise. | |
1853 | (bfdsumm.texi): Remove target. | |
1854 | (CLEANFILES): Take bfdsumm.texi out of value. | |
1855 | * Makefile.in: Rebuild. | |
1856 | ||
1857 | Sun Apr 5 13:07:57 1998 Ian Lance Taylor <ian@cygnus.com> | |
1858 | ||
1859 | * scripttempl/pe.sc: Use shell variables to avoid depending upon | |
1860 | how $ is handled when expanding a shell substitution. | |
1861 | ||
1862 | Fri Apr 3 00:56:50 1998 Ian Lance Taylor <ian@cygnus.com> | |
1863 | ||
1864 | * Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum. | |
1865 | (DISTCLEANFILES): Add site.exp and site.bak. | |
1866 | * Makefile.in: Rebuild. | |
1867 | ||
1868 | * configure.in: Put the tdirs in a file and use AC_SUBST_FILE, | |
1869 | rather than in a shell variable and using AC_SUBST. | |
1870 | * Makefile.am (DISTCLEANFILES): Remove ldscripts. Add tdirs. | |
1871 | (distclean-local): New target. | |
1872 | * configure, Makefile.in: Rebuild. | |
1873 | ||
1874 | * ld.texinfo: Completely rewrite linker script documentation. | |
1875 | ||
1876 | Mon Mar 30 12:47:33 1998 Ian Lance Taylor <ian@cygnus.com> | |
1877 | ||
1878 | * configure.in: Set version to 2.9.1. | |
1879 | * configure: Rebuild. | |
1880 | ||
1881 | * Branched binutils 2.9. | |
1882 | ||
1883 | Sat Mar 28 16:48:19 1998 Ian Lance Taylor <ian@cygnus.com> | |
1884 | ||
1885 | * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir. | |
1886 | (mostlyclean-local): New target to remove tmpdir. | |
1887 | * Makefile.in: Rebuild. | |
1888 | ||
1889 | Fix some gcc -Wall warnings: | |
1890 | * ldcref.c (output_cref): Add casts to avoid warnings. | |
1891 | * ldfile.c (ldfile_add_arch): Likewise. | |
1892 | * ldlang.c (lang_leave_overlay_section): Likewise. | |
1893 | * lexsup.c (OPTION_COUNT): Likewise. | |
1894 | (parse_args): Likewise. | |
1895 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): | |
1896 | Likewise. | |
1897 | * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise. | |
1898 | * ldlang.c (lang_check): Initialize variables to avoid warnings. | |
1899 | * ldwrite.c (build_link_order): Likewise. | |
1900 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise. | |
1901 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation): | |
1902 | Remove unused variables. | |
1903 | ||
1904 | * Makefile.am (MOSTLYCLEANFILES): Correct name (was | |
1905 | MOSTCLEANFILES). | |
1906 | * Makefile.in: Rebuild. | |
1907 | ||
1908 | Fri Mar 27 16:39:25 1998 Ian Lance Taylor <ian@cygnus.com> | |
1909 | ||
1910 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put | |
1911 | ARM code inside ifdef TARGET_IS_armpe. | |
1912 | ||
1913 | Wed Mar 25 11:34:13 1998 Ian Lance Taylor <ian@cygnus.com> | |
1914 | ||
1915 | Based on patch from H.J. Lu <hjl@gnu.org>: | |
1916 | * Makefile.am (LDDISTSTUFF): New variable. | |
1917 | (diststuff): New target. | |
1918 | * Makefile.in: Rebuild. | |
1919 | ||
1920 | * scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when | |
1921 | relocating. | |
1922 | ||
1923 | Tue Mar 24 15:59:29 1998 Nick Clifton <nickc@cygnus.com> | |
1924 | ||
1925 | * scripttempl/pe.sc (.text): Add .glue_7 and .glue_7t sections to | |
1926 | hold Arm/Thumb stubs. | |
1927 | ||
1928 | * emultempl/pe.em (gld_pe_before_allocation): Call | |
1929 | arm_process_before_allocation (for ARM/Thumb targets) in order to | |
1930 | gather interworking stb information. | |
1931 | ||
1932 | Mon Mar 23 18:54:15 1998 Joel Sherrill <joel@OARcorp.com> | |
1933 | ||
1934 | * configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF. | |
1935 | ||
1936 | Fri Mar 20 19:17:13 1998 Ian Lance Taylor <ian@cygnus.com> | |
1937 | ||
1938 | * aclocal.m4, configure: Rebuild with libtool 1.2. | |
1939 | ||
1940 | Thu Mar 19 14:54:45 1998 Geoffrey Noer <noer@cygnus.com> | |
1941 | ||
1942 | * scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy | |
1943 | section to avoid copying certain data on fork. The linker used to | |
1944 | include this between __data_start__ and __data_end__, but that | |
1945 | breaks building the cygwin32 dll. The fix is to rename the | |
1946 | section ".data_cygwin_nocopy" and explictly include it after | |
1947 | __data_end__. | |
1948 | ||
1949 | Wed Mar 18 09:42:24 1998 Nick Clifton <nickc@cygnus.com> | |
1950 | ||
1951 | * configure.tgt (targ_extra_emuls): Add thumb-pe target. | |
1952 | ||
1953 | Sun Mar 8 23:34:14 1998 Stan Cox <scox@equinox.cygnus.com> | |
1954 | ||
1955 | * configure.tgt (sparclite*-*-elf): Added. | |
1956 | ||
1957 | Mon Mar 2 19:24:08 1998 Michael Meissner <meissner@cygnus.com> | |
1958 | ||
1959 | * ldlang.c (lang_size_sections): If the default memory region is | |
1960 | *default*, see if there is a memory region that could be used. | |
1961 | ||
1962 | Thu Feb 26 17:09:53 1998 Michael Meissner <meissner@cygnus.com> | |
1963 | ||
1964 | * scripttempl/elfd30v.sc: Add support for .eit_v section and put | |
1965 | it at 0xfffff020. | |
1966 | * emulparams/d30v{elf,_o,_e}.sh: Ditto. | |
1967 | ||
1968 | Mon Feb 23 17:46:51 1998 Ian Lance Taylor <ian@cygnus.com> | |
1969 | ||
1970 | * emultempl/pe.em (sort_sections): Permit the wildcard to include | |
1971 | a trailing '*' when sorting grouped sections. | |
1972 | * scripttempl/pe.sc: Include grouped sections using NAME\$*. Only | |
1973 | include them when relocating. | |
1974 | ||
1975 | Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com> | |
1976 | ||
1977 | * Makefile.am (install-exec-local): Install properly when ln | |
1978 | fails or tooldir == prefix. | |
1979 | ||
1980 | Fri Feb 13 15:24:06 1998 Ian Lance Taylor <ian@cygnus.com> | |
1981 | ||
1982 | * Makefile.am (AUTOMAKE_OPTIONS): Define. | |
1983 | * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. | |
1984 | ||
1985 | Thu Feb 12 14:10:44 1998 Ian Lance Taylor <ian@cygnus.com> | |
1986 | ||
1987 | * scripttempl/elf.sc: Align the _end symbol according to the ELF | |
1988 | format size. From Gordon W. Ross <gwr@mc.com>. | |
1989 | ||
1990 | NetBSD patches from Gordon W. Ross <gwr@mc.com>: | |
1991 | * configure.host (alpha*-*-netbsd*): New host. | |
1992 | * configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New | |
1993 | targets. | |
1994 | ||
1995 | * lexsup.c (help): Update bug-gnu-utils address. | |
1996 | * ld.texinfo (Bug Reporting): Likewise. | |
1997 | ||
1998 | Tue Feb 10 18:05:56 1998 Ian Lance Taylor <ian@cygnus.com> | |
1999 | ||
2000 | * ldlang.c (lang_size_sections): Warn if some memory regions were | |
2001 | defined, but a loadable section is going into the default memory | |
2002 | region. | |
2003 | ||
2004 | Tue Feb 10 16:17:20 1998 H.J. Lu <hjl@gnu.org> | |
2005 | ||
2006 | * ldlex.l (V_IDENTIFIER): Allow '.' as symbol prefix. | |
2007 | ||
2008 | Tue Feb 10 15:09:45 1998 Ian Lance Taylor <ian@cygnus.com> | |
2009 | ||
2010 | * Makefile.am (Makefile): Add target, for dependencies on | |
2011 | configure.host and configure.tgt. | |
2012 | * configure.host, configure.tgt: Change -linux* to -linux-gnu*. | |
2013 | * Makefile.in: Rebuild. | |
2014 | ||
2015 | Mon Feb 9 13:44:40 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
2016 | ||
2017 | * scripttempl/elfd10v.sc (.stack): Move stack to 0x00..7FFE. | |
2018 | ||
2019 | * emulparams/d10velf.sh (READONLY_START_ADDR): Read only section | |
2020 | moved to 0x00.....4. | |
2021 | ||
2022 | Sat Feb 7 15:41:26 1998 Ian Lance Taylor <ian@cygnus.com> | |
2023 | ||
2024 | * configure, aclocal.m4: Rebuild with new libtool. | |
2025 | ||
2026 | Thu Feb 5 12:16:11 1998 Ian Lance Taylor <ian@cygnus.com> | |
2027 | ||
2028 | * scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections. | |
2029 | From Thomas de Lellis <tdel@wrs.com>. | |
2030 | ||
2031 | * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. | |
2032 | ||
2033 | Wed Feb 4 13:02:32 1998 Ian Lance Taylor <ian@cygnus.com> | |
2034 | ||
2035 | * Makefile.am (ld_new_LDADD): Remove @LEXLIB@. | |
2036 | * Makefile.in: Rebuild. | |
2037 | ||
2038 | Mon Feb 2 19:34:54 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> | |
2039 | ||
2040 | Add tms320c30 support: | |
2041 | * configure.tgt (tic30-*-*aout*, tic30-*-*coff*): New targets. | |
2042 | * emulparams/tic30aout.sh: New file. | |
2043 | * emulparams/tic30coff.sh: New file. | |
2044 | * scripttempl/tic30aout.sc: New file. | |
2045 | * scripttempl/tic30coff.sc: New file. | |
2046 | * Makefile.am (ALL_EMULATIONS): Add etic30aout.o and | |
2047 | etic30coff.o. | |
2048 | (etic30aout.c, etic30coff.c): New targets. | |
2049 | * Makefile.in: Rebuild. | |
2050 | ||
2051 | Mon Feb 2 14:10:59 1998 Ian Lance Taylor <ian@cygnus.com> | |
2052 | ||
2053 | * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to | |
2054 | accept either ld.so or ld-linux.so. | |
2055 | ||
2056 | Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com> | |
2057 | ||
2058 | * Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name | |
2059 | to transform. | |
2060 | * Makefile.in: Regenerate. | |
2061 | ||
2062 | Fri Jan 30 19:15:17 1998 Geoff Keating <geoffk@ozemail.com.au> | |
2063 | ||
2064 | * scripttempl/elfppc.sc: Put .dynsbss in .sbss. | |
2065 | ||
2066 | Fri Jan 30 11:43:49 1998 H.J. Lu <hjl@gnu.ai.mit.edu> | |
2067 | ||
2068 | * Makefile.am (eelf32bsmip.c, eelf32lsmip.c): New targets. | |
2069 | * Makefile.in: Rebuild. | |
2070 | ||
2071 | Thu Jan 29 16:04:21 1998 Mumit Khan <khan@xraylith.wisc.edu> | |
2072 | ||
2073 | * ldfile.c (slash): Set to backslash if _WIN32 but not | |
2074 | __CYGWIN32__. | |
2075 | (ldfile_open_file_search): If __MSDOS__ or _WIN32, accept a | |
2076 | leading backslash or a leading x: as an absolute path. | |
2077 | (ldfile_find_command_file): Use slash rather than / when | |
2078 | generating name to try. | |
2079 | * lexsup.c (PATH_SEPARATOR): Define. | |
2080 | (set_default_dirlist): Use PATH_SEPARATOR rather than ':'. | |
2081 | ||
2082 | Wed Jan 28 14:06:30 1998 Richard Henderson <rth@cygnus.com> | |
2083 | ||
2084 | * emulparams/elf64_sparc.sh (ELFSIZE): 64 | |
2085 | (TEXT_START_ADDR): Round off, since SIZEOF_HEADERS is added later. | |
2086 | (DATA_PLT): Needed by v9 abi. | |
2087 | ||
2088 | Wed Jan 28 16:37:27 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> | |
2089 | ||
2090 | * configure.tgt (i[3456]86-*-mingw32*): New entry. | |
2091 | ||
2092 | Wed Jan 28 15:51:58 1998 Ian Lance Taylor <ian@cygnus.com> | |
2093 | ||
2094 | * scripttempl/elf.sc: Only include linkonce sections in final | |
2095 | sections when relocating. | |
2096 | ||
2097 | Wed Jan 28 14:10:01 1998 Ian Lance Taylor <ian@cygnus.com> | |
2098 | ||
2099 | * ld.texinfo (Options): Add a brief description of the types of | |
2100 | information included in a link map. | |
2101 | ||
2102 | * ld.texinfo (Options): Mention LDEMULATION in description of -m. | |
2103 | (Environment): Mention LDEMULATION. | |
2104 | ||
2105 | * ld.texinfo (Options): Clarify --export-dynamic a bit. | |
2106 | ||
2107 | Thu Jan 22 16:07:23 1998 Richard Henderson <rth@cygnus.com> | |
2108 | ||
2109 | * ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this | |
2110 | pattern could match. | |
2111 | ||
2112 | Wed Jan 21 22:26:46 1998 Ian Lance Taylor <ian@cygnus.com> | |
2113 | ||
2114 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing | |
2115 | a relocateable link, set the image base to 0, and don't define the | |
2116 | various symbols. | |
2117 | * emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. | |
2118 | * scripttempl/pe.sc: Swap the .data and .bss sections so that | |
2119 | .data comes first. If doing a relocateable link, use | |
2120 | RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the | |
2121 | sections at 0, and don't define any symbols. | |
2122 | ||
2123 | * ldlang.c (lang_memory_default): Correct parenthisization of | |
2124 | expression. | |
2125 | ||
2126 | Wed Jan 21 21:20:32 1998 Manfred Hollstein <manfred@s-direktnet.de> | |
2127 | ||
2128 | * emultempl/sunos.em: Don't include sys/types.h and sys/stat.h | |
2129 | here; they are included already via sysdep.h. | |
2130 | ||
2131 | Tue Jan 6 13:40:02 1998 Richard Henderson <rth@cygnus.com> | |
2132 | ||
2133 | * scripttempl/i960.sc: Don't explicitly set .data and .bss start. | |
2134 | ||
2135 | Fri Jan 2 20:15:37 1998 Michael Meissner <meissner@cygnus.com> | |
2136 | ||
2137 | * ldgram.y (attributes_opt): Pass region pointer to | |
2138 | lang_set_flags, not ®ion->flags. | |
2139 | ||
2140 | * ldlang.c (lang_memory_default): New function to figure out a | |
2141 | default memory region for a section if it was not specified. | |
2142 | (lang_memory_region_lookup): Zero flags, not_flags field. | |
2143 | (lang_map{,_flags}): Print attribute flags in memory map. | |
2144 | (lang_size_sections): Call lang_memory_default to get default | |
2145 | memory region. | |
2146 | (lang_set_flags): Implement attribute flags for real. Take new | |
2147 | argument to give the flags we are to skip for this region. | |
2148 | ||
2149 | * ldlang.h (memory_region_struct): Add not_flags field, make both | |
2150 | flags fields flagword type. | |
2151 | (lang_output_section_state): Make flags field flagword type. | |
2152 | (lang_set_flags): Update prototype to match new calling sequence. | |
2153 | (lang_memory_region_default): Add prototype. | |
2154 | ||
2155 | * emulparams/d30v{_e,_o,elf}.sh ({TEXT,DATA,EMEM}_DEF_SECTION): | |
2156 | Define whether or not the region gets default sections, and if so, | |
2157 | what sections. | |
2158 | ||
2159 | * scripttempl/elfd30v.sc (MEMORY): Set up which of the regions get | |
2160 | default sections. | |
2161 | ||
2162 | Thu Jan 1 22:58:04 1998 Michael Meissner <meissner@cygnus.com> | |
2163 | ||
2164 | * scripttempl/elfd30v.sc (.eh_frame): Link into the data section. | |
2165 | ||
2166 | Thu Jan 1 18:04:51 1998 Jeffrey A Law (law@cygnus.com) | |
2167 | ||
2168 | * scripttempl/h8300h.sc: Fix typo. | |
2169 | * scripttempl/h8300s.sc: Likewise. | |
2170 | ||
2171 | Sun Dec 21 12:51:49 1997 Ian Lance Taylor <ian@cygnus.com> | |
2172 | ||
2173 | * ldexp.c (fold_name): Don't crash if the symbol is defined in a | |
2174 | section with no output section, such as a shared library section. | |
2175 | ||
2176 | Wed Dec 17 12:14:11 1997 Ian Lance Taylor <ian@cygnus.com> | |
2177 | ||
2178 | * lexsup.c (parse_args): Keep track of where we are in the option | |
2179 | parsing before calling ldemul_parse_args, so that we don't call it | |
2180 | multiple times on the same argument and confuse the getopt | |
2181 | internals. | |
2182 | ||
2183 | Thu Dec 11 09:00:15 1997 Michael Meissner <meissner@cygnus.com> | |
2184 | ||
2185 | * configure.tgt (d30v-elf-*): Rename d30velf_e to d30v_e and | |
2186 | d30velf_o to d30v_o to work in DOS environments. | |
2187 | * Makefile.{am,in}: Ditto. | |
2188 | ||
2189 | * emulparams/d30v_{o,e}: Rename from d30velf_{o,e}. | |
2190 | * emulparams/d30velf_{o,e}: Deleted. | |
2191 | ||
2192 | Wed Dec 10 17:40:08 1997 Nick Clifton <nickc@cygnus.com> | |
2193 | ||
2194 | * scripttempl/armcoff.sc: Add glue sections (code taken from Arm | |
2195 | branch). | |
2196 | ||
2197 | * emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff. | |
2198 | ||
2199 | * emultempl/armcoff.em: New file, imported from Arm branch. | |
2200 | ||
2201 | Wed Dec 10 14:10:44 1997 Michael Meissner <meissner@cygnus.com> | |
2202 | ||
2203 | * scripttempl/elfd30v.sc: Add .rel and .rela sections for all | |
2204 | defined sections. Set up __{D,C}TOR_{LIST,END}__. Add onchip and | |
2205 | external memory sections for rodata. Delete .string, .rodata1, | |
2206 | and .data1 sections. | |
2207 | ||
2208 | Tue Dec 9 15:28:17 1997 Michael Meissner <meissner@cygnus.com> | |
2209 | ||
2210 | * Makefile.am: Add Oct 23 changes to Makefile.in here. | |
2211 | ||
2212 | * Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o. | |
2213 | ||
2214 | * Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o. | |
2215 | ||
2216 | * Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o. | |
2217 | (ed30velf_e.c): Like d30velf, except .text/.data/etc always go in | |
2218 | external memory. | |
2219 | (ed30velf_o.c): Like d30velf, except .text/.data/etc always go in | |
2220 | onchip memory. | |
2221 | ||
2222 | * emulparams/d30velf.sh (STACK_START_ADDR): Top of default | |
2223 | stack. | |
2224 | ({TEXT,DATA,EMEM}_SIZE): Sizes of the 3 memory areas. | |
2225 | ({TEXT,DATA,BSS}_MEMORY): Which memory region .text, .data, and | |
2226 | .bss should go in. | |
2227 | ||
2228 | * emulparams/d30velf_{e,o}.sh: New files to be explicit whether | |
2229 | .text, .data, etc go in external memory or onchip memory. | |
2230 | ||
2231 | * configure.tgt (d30v-*-*ext*): New configuration to default | |
2232 | .text, .data, etc. in external memory. | |
2233 | (d30v-*-*onchip*): New configuration to default .text, .data, | |
2234 | etc. in onchip memory. | |
2235 | (d30v-*-*): Add d30velf_{e,o} emulations. | |
2236 | ||
2237 | * scripttempl/elfd30v.sc: Allow .text, .data, .bss to be put in | |
2238 | either the onchip text/data areas or the external memory area. | |
2239 | (MEMORY): Get sizes from d30velf.sh. | |
2240 | (.e{data,text,bss}): Put sections in the external memory region. | |
2241 | (.stext): Put section in the onchip text region. | |
2242 | (.s{data,bss}): Put sections in the onchip data region. | |
2243 | (__stack): Assign from ${STACK_START_ADDR}. | |
2244 | (.text): Put in ${TEXT_MEMORY} memory region. | |
2245 | (.data{,1}/.strings/.rodata{,1}): Put in ${DATA_MEMORY} memory | |
2246 | region. | |
2247 | (.bss): Put in ${BSS_MEMORY} memory region. | |
2248 | ||
2249 | Tue Dec 2 10:14:47 1997 Nick Clifton <nickc@cygnus.com> | |
2250 | ||
2251 | * configure.tgt (targ_extra_emuls): Add support for Thumb target. | |
2252 | ||
2253 | Sat Nov 22 15:23:19 1997 Ian Lance Taylor <ian@cygnus.com> | |
2254 | ||
2255 | * ldlex.l: Don't define hex_mode. Correct number regexp to not | |
2256 | accept hex digits without a leading $ or 0x. Handle leading $ | |
2257 | correctly. Pass 0 rather than hex_mode to bfd_scan_vma. | |
2258 | * ldlex.h (hex_mode): Don't declare. | |
2259 | ||
2260 | Sun Nov 16 20:16:45 1997 Michael Meissner <meissner@cygnus.com> | |
2261 | ||
2262 | * emulparams/d30velf.sh ({DATA,EMEM}_START_ADDR): Define as start | |
2263 | of internal data area and external memory on chip. | |
2264 | ||
2265 | * scripttempl/elfd30v.sc: Define a MEMORY region that describes | |
2266 | the 3 regions of memory on the chip. Put .text/.init/.fini into | |
2267 | the text memory region, put other segments into the data memory | |
2268 | region. Add more of the standard elf sections. Default __stack | |
2269 | to be 0x20008000, which is 1 byte beyond end of the internal data | |
2270 | region. | |
2271 | ||
2272 | Thu Nov 13 13:45:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
2273 | ||
2274 | * configure.tgt (targ_extra_emuls): Make FreeBSD a i386bsd | |
2275 | variant. | |
2276 | ||
2277 | Sun Nov 2 14:51:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> | |
2278 | ||
2279 | * configure.host (alpha*-*-linux*): Correct HOSTING_CRT0. Set | |
2280 | HOSTING_LIBS. | |
2281 | ||
2282 | Thu Oct 30 12:25:55 1997 Ian Lance Taylor <ian@cygnus.com> | |
2283 | ||
2284 | * ld.h (args_type): Add warn_mismatch field. | |
2285 | * ldmain.c (main): Initialize warn_mismatch field. | |
2286 | * lexsup.c (parse_args): Handle --no-warn-mismatch option. | |
2287 | * ldlang.c (ignore_bfd_error): New static function. | |
2288 | (lang_check): If warn_mismatch is false, don't warn about | |
2289 | mismatched input files. | |
2290 | * ld.texinfo, ld.1: Document new option. | |
2291 | ||
2292 | Thu Oct 23 14:38:18 1997 Nick Clifton <nickc@cygnus.com> | |
2293 | ||
2294 | * scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack' | |
2295 | to avoid conflicts with C code which is defining a variable called | |
2296 | 'stack'. | |
2297 | ||
2298 | Thu Oct 23 00:57:45 1997 Richard Henderson <rth@dot.cygnus.com> | |
2299 | ||
2300 | * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ... | |
2301 | (ALL_64_EMULATIONS): ... here. | |
2302 | (eelf64_sparc.c): Template should be elf32 not generic. | |
2303 | * emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition. | |
2304 | ||
2305 | Thu Oct 23 00:44:20 1997 Richard Henderson <rth@dot.cygnus.com> | |
2306 | ||
2307 | * configure.tgt: Add sparc64-*-linux*. | |
2308 | * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New. | |
2309 | ||
2310 | Wed Oct 22 11:29:25 1997 Ian Lance Taylor <ian@cygnus.com> | |
2311 | ||
2312 | * scripttempl/pe.sc: Put .eh_frame in .rdata. | |
2313 | ||
2314 | Fri Oct 17 00:00:13 1997 Richard Henderson <rth@cygnus.com> | |
2315 | ||
2316 | * ldlang.c (lang_register_vers_node): Only check globals<=>locals, | |
2317 | since we need to be able to export different versions of the same | |
2318 | symbol. | |
2319 | ||
2320 | Wed Oct 15 14:52:36 1997 Ian Lance Taylor <ian@cygnus.com> | |
2321 | ||
2322 | * scripttempl/pe.sc: Put .stab and .stabstr sections at end. | |
2323 | ||
2324 | Wed Oct 8 12:37:05 1997 Richard Henderson <rth@cygnus.com> | |
2325 | ||
2326 | * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*; | |
2327 | config.guess now recognizes alphaev5 etc. | |
2328 | ||
2329 | Fri Oct 3 14:23:02 1997 Ian Lance Taylor <ian@cygnus.com> | |
2330 | ||
2331 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Don't treat | |
2332 | -s and -u as -static and -unix. | |
2333 | ||
2334 | Thu Oct 2 18:40:28 1997 Ian Lance Taylor <ian@cygnus.com> | |
2335 | ||
2336 | * ldlang.c (wild_doit): Rewrite flag handling for clarity. If we | |
2337 | are not adding the first input section, and SEC_READONLY is clear | |
2338 | on the output section, then don't copy it from the input section. | |
2339 | If SEC_READONLY is not set on the input section, then clear it on | |
2340 | the output section. | |
2341 | ||
2342 | * configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than | |
2343 | elf32bmip. | |
2344 | (mips*el-*-linux*): Change elf32lmip to elf32lsmip and elf32bmip | |
2345 | to elf32bsmip. | |
2346 | (mips*-*-linux*): Likewise. | |
2347 | * emulparams/elf32bsmip.sh: New file; just like elf32bmip.sh, but | |
2348 | setting ENTRY to __start. | |
2349 | * emulparams/elf32lsmip.sh: New file; just like elf32lmip.sh, but | |
2350 | setting ENTRY to __start. | |
2351 | * scripttempl/elf.sc: Always set ENTRY to _start if it was not | |
2352 | already set. | |
2353 | ||
2354 | Wed Oct 1 16:41:00 1997 Nick Clifton <nickc@cygnus.com> | |
2355 | ||
2356 | * emulparams/v850.sh (ROZDATA_START_ADDR, ROSDATA_START_ADDR): New | |
2357 | Variables. | |
2358 | ||
2359 | * scripttempl/v850.sc: Move read only areas out of zero and small | |
2360 | data sections and into their own sections. | |
2361 | ||
2362 | Wed Sep 24 16:59:15 1997 Joel Sherrill <joel@oarcorp.com> | |
2363 | ||
2364 | * configure.tgt (sh*-*-rtems*): New target, like sh-*-elf*. | |
2365 | ||
2366 | Wed Sep 24 11:33:14 1997 Ian Lance Taylor <ian@cygnus.com> | |
2367 | ||
2368 | * ld.texinfo (Section Options): Improve documentation of NOLOAD | |
2369 | directive. | |
2370 | ||
2371 | * aclocal.m4: Rebuild with new libtool. | |
2372 | * configure: Rebuild. | |
2373 | ||
2374 | Mon Sep 22 17:24:06 1997 Ian Lance Taylor <ian@cygnus.com> | |
2375 | ||
2376 | * ldlang.c (wild_doit): Revert patch of September 3. | |
2377 | ||
2378 | Wed Sep 17 16:45:34 1997 Nick Clifton <nickc@cygnus.com> | |
2379 | ||
2380 | * Makefile.am, Makefile.in: Add rule for ev850.c | |
2381 | * configure.tgt (targ_extra_emuls): Add v850 target. | |
2382 | ||
2383 | Wed Sep 17 16:43:39 1997 Nick Clifton <nickc@cygnus.com> | |
2384 | ||
2385 | * emulparams/v850.sh (CALL_TABLE_START_ADDR): New entry. | |
2386 | * scripttempl/v850.sc: Add call table data area | |
2387 | ||
2388 | Mon Sep 15 11:29:13 1997 Ken Raeburn <raeburn@cygnus.com> | |
2389 | ||
2390 | Merge change from Martin Hunt: | |
2391 | ||
2392 | * scripttempl/elfd30v.sc: Put .rodata in the .text section. | |
2393 | ||
2394 | Tue Sep 9 07:49:56 1997 Fred Fish <fnf@ninemoons.com> | |
2395 | ||
2396 | * ldlang.c (lang_memory_region_lookup): Remove extraneous | |
2397 | initialization of p. | |
2398 | ||
2399 | Thu Sep 4 09:03:33 1997 Ian Lance Taylor <ian@cygnus.com> | |
2400 | ||
2401 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): In | |
2402 | expression produced for -bpT and -bpD options, align to a 32 byte | |
2403 | boundary rather than an 8 byte boundary. | |
2404 | * scripttempl/aix.sc: Put .tocbss at start of .bss section. | |
2405 | ||
2406 | * ldmisc.h, ldmisc.c, ldcref.c: Rename finfo to lfinfo, to avoid | |
2407 | function name conflict with AIX 4.2 unistd.h header file. | |
2408 | ||
2409 | Wed Sep 3 15:12:32 1997 Ian Lance Taylor <ian@cygnus.com> | |
2410 | ||
2411 | * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a | |
2412 | noload_section. | |
2413 | ||
2414 | Fri Aug 29 00:32:31 1997 Ian Lance Taylor <ian@cygnus.com> | |
2415 | ||
2416 | * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@. | |
2417 | * Makefile.in: Rebuild. | |
2418 | ||
2419 | Thu Aug 28 10:12:10 1997 Doug Evans <dje@canuck.cygnus.com> | |
2420 | ||
2421 | * configure.tgt (arc-*-elf*): Recognize. | |
2422 | * Makefile.am (ALL_EMULATIONS): Add earcelf.o. | |
2423 | * Makefile.in: Regenerate. | |
2424 | * emulparams/arcelf.sh: New file. | |
2425 | ||
2426 | Wed Aug 20 11:14:13 1997 Ian Lance Taylor <ian@cygnus.com> | |
2427 | ||
2428 | * ldlang.c (wildcardp): Don't let a backslash by itself cause a | |
2429 | pattern to be treated as a wildcard pattern. | |
2430 | ||
2431 | * ldgram.y (atype): Accept parentheses with no type. | |
2432 | ||
2433 | * ld.texinfo (Section Definition): Clarify use of whitespace. | |
2434 | (Section Placement): Likewise. | |
2435 | ||
2436 | Mon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> | |
2437 | ||
2438 | * configure.tgt (targ_extra_emuls): Add support for v850e target. | |
2439 | ||
2440 | Mon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> | |
2441 | ||
2442 | * configure.tgt (targ_extra_emuls): Add support for v850e target. | |
2443 | ||
2444 | Sat Aug 9 00:42:27 1997 Ian Lance Taylor <ian@cygnus.com> | |
2445 | ||
2446 | * Makefile.am (ld.info): Change dependency from | |
2447 | $(BFDDIR)/doc/bfdsumm.texi to bfdsumm.texi. | |
2448 | (ld.dvi): Likewise. | |
2449 | (bfdsumm.texi): New target. | |
2450 | (CLEANFILES): Add bfdsumm.texi. | |
2451 | * Makefile.in: Rebuild. | |
2452 | ||
2453 | * Makefile.am: New file, based on old Makefile.in. | |
2454 | * acinclude.m4: New file, from old aclocal.m4. | |
2455 | * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove | |
2456 | shared library handling; now handled by libtool. Replace | |
2457 | AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, | |
2458 | AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE, | |
2459 | AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT. | |
2460 | * configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR. | |
2461 | * acconfig.h: Mention PACKAGE and VERSION. | |
2462 | * stamp-h.in: New file. | |
2463 | * ldver.c (ld_program_version): Set ld_program_version from | |
2464 | VERSION. | |
2465 | * ldgram.y, ldlex.l: Replace VERSION with VERSIONK. | |
2466 | * Makefile.in: Now built with automake. | |
2467 | * aclocal.m4: Now built with aclocal. | |
2468 | * configure, config.in: Rebuild. | |
2469 | ||
2470 | Mon Jul 28 19:04:50 1997 Rob Savoye <rob@chinadoll.cygnus.com> | |
2471 | ||
2472 | * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for | |
2473 | win32 dependencies. | |
2474 | * configure: Regenerated with autoconf 2.12. | |
2475 | * Makefile.in: Add $(EXEEXT) to executable. | |
2476 | ||
2477 | Tue Jul 22 18:50:38 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> | |
2478 | ||
2479 | * emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32". | |
2480 | (SEGMENT_SIZE): Set to 0x200. | |
2481 | * scripttempl/i386go32.sc: Rewrite. | |
2482 | * configure.tgt (i[3456]86-*-msdosdjgpp*): New target. | |
2483 | ||
2484 | Mon Jul 7 12:39:42 1997 Ian Lance Taylor <ian@cygnus.com> | |
2485 | ||
2486 | From Manfred Hollstein <manfred@s-direktnet.de>: | |
2487 | * configure.host (i[3456]86-*-linux*libc1*): Renamed from | |
2488 | i[3456]86-*-linux*. | |
2489 | (i[3456]86-*-linux*): New host. | |
2490 | ||
2491 | Thu Jun 26 13:54:03 1997 Ian Lance Taylor <ian@cygnus.com> | |
2492 | ||
2493 | * scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc | |
2494 | sections in the output .rsrc section. | |
2495 | ||
2496 | Wed Jun 25 12:48:41 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
2497 | ||
2498 | * configure.host (m68*-*-linux*libc1*): Renamed from | |
2499 | `m68*-*-linux*'. | |
2500 | (m68*-*-linux*): New configuration for use with GNU libc 2. | |
2501 | ||
2502 | Mon Jun 16 19:18:21 1997 Geoff Keating <geoffk@ozemail.com.au> | |
2503 | ||
2504 | * scripttempl/elfppc.sc: Correct .rela.sdata entries. | |
2505 | ||
2506 | * scripttempl/elfppc.sc: Put the PLT between the small and large | |
2507 | BSS segments. | |
2508 | * emulparams/elf32ppc.sh (TEXT_START_ADDR): The ABI says `A | |
2509 | program base of 0x02000000 is recommended...' because otherwise | |
2510 | shared libraries are less efficient. We use 0x01800000 because | |
2511 | otherwise it's impossible to branch to location 0, for instance if | |
2512 | you have an undefined weak symbol. | |
2513 | ||
2514 | Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> | |
2515 | ||
2516 | * ldlang.c (lang_place_undefineds): Add \n in einfo call. | |
2517 | (lang_size_sections): Likewise. | |
2518 | * ldlex.l: Likewise. | |
2519 | * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise. | |
2520 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open): | |
2521 | Likewise. | |
2522 | (check_sections): Likewise. | |
2523 | (gld${EMULATION_NAME}_after_allocation): Likewise. | |
2524 | * emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation): | |
2525 | Likewise. | |
2526 | * mpw-eppcmac.c (gldppcmacos_read_file): Likewise. | |
2527 | * mpw-idtmips.c (gldmipsidt_after_open): Likewise. | |
2528 | (check_sections): Likewise. | |
2529 | (gldmipsidt_after_allocation): Likewise. | |
2530 | ||
2531 | * ldemul.c (ldemul_choose_mode): Remove unused einfo argument. | |
2532 | ||
2533 | Fri Jun 6 23:47:42 1997 Ian Lance Taylor <ian@cygnus.com> | |
2534 | ||
2535 | * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of | |
2536 | the import list. | |
2537 | ||
2538 | Thu May 29 13:13:22 1997 Ian Lance Taylor <ian@cygnus.com> | |
2539 | ||
2540 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Don't | |
2541 | crash if an output section has no BFD section. | |
2542 | ||
2543 | Fri May 23 15:23:25 1997 Fred Fish <fnf@cygnus.com> | |
2544 | ||
2545 | * lexsup.c (ld_options): Add entry for the new "task-link" option. | |
2546 | (parse_args): Handle the "task-link" option. | |
2547 | (OPTION_TASK_LINK): Add define. | |
2548 | ||
2549 | Wed May 21 17:44:15 1997 Ian Lance Taylor <ian@cygnus.com> | |
2550 | ||
2551 | * ldmain.c (main): Correct check of fclose return value when | |
2552 | handling --force-exe-suffix. | |
2553 | ||
2554 | Thu May 15 11:35:29 1997 Nick Clifton <nickc@cygnus.com> | |
2555 | ||
2556 | * ldlang.c (lang_check): Add test of the return value from the | |
2557 | call to bfd_merge_private_bfd_data(). | |
2558 | ||
2559 | Mon May 12 23:22:58 1997 Ian Lance Taylor <ian@cygnus.com> | |
2560 | ||
2561 | * scripttempl/elfmips.sc: Remove. | |
2562 | * scripttempl/elf.sc: Set ENTRY based on target. Permit | |
2563 | TEXT_DYNAMIC to control .dynamic segment. Permit | |
2564 | SHLIB_TEXT_START_ADDR to set start of shared object. Support | |
2565 | INITIAL_READONLY_SECTIONS. Put .stub in .text. Only put | |
2566 | .gnu.linkonce.t* in .text when relocating. Support | |
2567 | OTHER_TEXT_SECTIONS. Support SHLIB_DATA_ADDR as well as | |
2568 | DATA_ADDR. Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS. | |
2569 | * emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf. | |
2570 | (DATA_ADDR): Don't set. | |
2571 | (INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS. | |
2572 | (OTHER_TEXT_SECTIONS): Set. | |
2573 | (OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS. | |
2574 | (MACHINE): Set to empty string. | |
2575 | * emulparams/elf32l4300.sh: Likewise. | |
2576 | * emulparams/elf32ebmip.sh: Likewise. | |
2577 | * emulparams/elf32elmip.sh: Likewise. | |
2578 | * emulparams/elf32bmip.sh: Likewise. Also: | |
2579 | (TEXT_DYNAMIC): Set. | |
2580 | * emulparams/elf32lmips.sh: Likewise. | |
2581 | * Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than | |
2582 | elfmips.sc. | |
2583 | (eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise. | |
2584 | ||
2585 | Mon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
2586 | ||
2587 | * scripttempl/elf.sc: Don't align the data segment on the next 8 | |
2588 | byte boundary, instead let the linker use whatever the individual | |
2589 | sections require. | |
2590 | ||
2591 | Fri May 9 17:45:46 1997 Ian Lance Taylor <ian@cygnus.com> | |
2592 | ||
2593 | * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support. | |
2594 | ||
2595 | Tue May 6 13:21:19 1997 Ian Lance Taylor <ian@cygnus.com> | |
2596 | ||
2597 | From Sean McNeil <sean@mcneil.com>: | |
2598 | * emultempl/pe.em (sort_by_file_name): Sort by archive name | |
2599 | first. | |
2600 | (sort_sections): Sort all sections, not just sections in the same | |
2601 | archive. | |
2602 | ||
2603 | Mon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk> | |
2604 | ||
2605 | * configure.tgt, configure.host: cope with '*-*-linux-gnuaout' | |
2606 | targets. | |
2607 | ||
2608 | Fri May 2 15:54:28 1997 Mike Meissner <meissner@cygnus.com> | |
2609 | ||
2610 | * scripttempl/tic80coff.sc (.text): Add a leading underscore to | |
2611 | __{D,C}TOR_{LIST,END}__ definations. Rearrange the order of items | |
2612 | in the .text section. Move .const, .ctors, .dtors into separate | |
2613 | sections. | |
2614 | ||
2615 | Wed Apr 30 12:23:21 1997 Manfred Hollstein <manfred@s-direktnet.de> | |
2616 | ||
2617 | * scripttempl/m88kbcs.sc (__.initp.end, _etext): Added whitespace | |
2618 | around assignment of current location pointer. | |
2619 | ||
2620 | Thu Apr 17 13:07:18 1997 Ian Lance Taylor <ian@cygnus.com> | |
2621 | ||
2622 | * ldctor.c (ldctor_build_sets): Make sure the set is aligned | |
2623 | appropriately. | |
2624 | ||
2625 | Tue Apr 15 13:19:26 1997 Ian Lance Taylor <ian@cygnus.com> | |
2626 | ||
2627 | * Makefile.in (INSTALL): Set to @INSTALL@. | |
2628 | (INSTALL_XFORM, INSTALL_XFORM1): Remove. | |
2629 | (install): Depend upon ld.new and installdirs. Use | |
2630 | $(program_transform_name) directly, rather than using | |
2631 | $(INSTALL_XFORM) and $(INSTALL_XFORM1). | |
2632 | (installdirs): New target. | |
2633 | (install-info): Run mkinstalldirs. | |
2634 | ||
2635 | Mon Apr 14 12:06:15 1997 Ian Lance Taylor <ian@cygnus.com> | |
2636 | ||
2637 | * Makefile.in (INSTALL): Change install.sh to install-sh. | |
2638 | ||
2639 | From Thomas Graichen <graichen@rzpd.de>: | |
2640 | * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. | |
2641 | * configure: Rebuild. | |
2642 | ||
2643 | Fri Apr 4 11:42:41 1997 Ian Lance Taylor <ian@cygnus.com> | |
2644 | ||
2645 | * emultempl/pe.em: Include "libiberty.h". | |
2646 | (sort_sections_1): Use xmalloc rather than alloca. | |
2647 | ||
2648 | * ldlex.l: Recognize SQUAD. | |
2649 | * ldgram.y (length): Add SQUAD. | |
2650 | * ldctor.c (ldctor_build_sets): Use SQUAD for a signed 8 byte | |
2651 | reloc. | |
2652 | * ldlang.c (print_data_statement): Handle SQUAD. | |
2653 | (lang_size_sections, lang_do_assignments): Likewise. | |
2654 | * ldexp.c (exp_print_token): Add SQUAD to table. | |
2655 | * ldwrite.c (build_link_order): Handle SQUAD. | |
2656 | * ld.texinfo (Section Data Expressions): Document SQUAD. | |
2657 | ||
2658 | Thu Apr 3 13:19:40 1997 Ian Lance Taylor <ian@cygnus.com> | |
2659 | ||
2660 | * ldver.c (ld_program_version): Set to 2.8.1. | |
2661 | ||
2662 | * Branched binutils 2.8. | |
2663 | ||
2664 | Wed Apr 2 11:55:27 1997 Ian Lance Taylor <ian@cygnus.com> | |
2665 | ||
2666 | * mpw-idtmips.c: Rename from mpw-emipsidt.c. | |
2667 | * mpw-elfmips.c: Rename from mpw-emipself.c. | |
2668 | * mpw-config.in: Update accordingly. | |
2669 | ||
2670 | * ldlang.c (lang_process): Call lang_check immediately after | |
2671 | opening the input files, rather than at the end of the link. | |
2672 | ||
2673 | Mon Mar 31 23:44:00 1997 Ian Lance Taylor <ian@cygnus.com> | |
2674 | ||
2675 | * emultempl/pe.em (init): Fully bracket initializer. | |
2676 | (set_pe_stack_heap): Remove locals begin_commit and end. | |
2677 | (gld_${EMULATION_NAME}_after_open): Remove unused local i. | |
2678 | (gld${EMULATION_NAME}_place_orphan): Remove unused local ptr. | |
2679 | ||
2680 | Mon Mar 31 16:35:51 1997 Joel Sherrill <joel@oarcorp.com> | |
2681 | ||
2682 | * configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*. | |
2683 | ||
2684 | Fri Mar 28 15:29:23 1997 H.J. Lu <hjl@gnu.ai.mit.edu> | |
2685 | ||
2686 | Contributed by David S. Miller <davem@caip.rutgers.edu>: | |
2687 | * configure.tgt (sparc*-*-linuxaout*): New target. | |
2688 | (sparc*-*-linux*): New target. | |
2689 | * emulparams/sparclinux.sh: New file. | |
2690 | * Makefile.in (ALL_EMULATIONS): Add esparclinux.o. | |
2691 | (esparclinux.c): New target. | |
2692 | ||
2693 | Fri Mar 28 14:30:12 1997 Ian Lance Taylor <ian@cygnus.com> | |
2694 | ||
2695 | From Ralf Baechle <ralf@gnu.ai.mit.edu>: | |
2696 | * configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and | |
2697 | mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and | |
2698 | elf32elmip. | |
2699 | ||
2700 | Thu Mar 27 17:14:32 1997 Ian Lance Taylor <ian@cygnus.com> | |
2701 | ||
2702 | * lexsup.c (parse_args): Update copyright date in version | |
2703 | message. | |
2704 | ||
2705 | Fri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be> | |
2706 | ||
2707 | * emulparams/delta68.sh (OUTPUT_FORMAT): Set to "coff-m68k-sysv". | |
2708 | ||
2709 | Tue Mar 18 11:16:23 1997 Ian Lance Taylor <ian@cygnus.com> | |
2710 | ||
2711 | * Makefile.in: Rebuild dependencies. | |
2712 | ||
2713 | * emultempl/aix.em: Include "obstack.h". | |
2714 | ||
2715 | Mon Mar 17 19:26:06 1997 Ian Lance Taylor <ian@cygnus.com> | |
2716 | ||
2717 | * ldlang.c: Include "obstack.h". | |
2718 | ||
2719 | Sat Mar 15 23:23:46 1997 Fred Fish <fnf@cygnus.com> | |
2720 | ||
2721 | * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul. | |
2722 | ||
2723 | Sat Mar 15 18:10:38 1997 H.J. Lu <hjl@lucon.org> | |
2724 | ||
2725 | * ldemul.h (ldemul_list_emulations): Use full prototype. | |
2726 | * ldlang.c (print_one_symbol): Add declaration. | |
2727 | * ldlang.h (dprint_statements): Declare. | |
2728 | * ldmain.c (remove_output): Declare. | |
2729 | * ldmisc.c (vfinfo): Declare. | |
2730 | * ldwrite.c (clone_section): Declare. | |
2731 | (split_sections): Make static. Declare. | |
2732 | * mri.c: Include libiberty.h. | |
2733 | (strdup): Don't declare. | |
2734 | (mri_alias): Use xstrdup rather than strdup. | |
2735 | ||
2736 | Fri Mar 14 21:30:06 1997 Ian Lance Taylor <ian@cygnus.com> | |
2737 | ||
2738 | * scripttempl/elfmips.sc: Change handling of data area when | |
2739 | generating a shared library to not skip a large block of memory. | |
2740 | From Per Fogelstrom <pefo@cvs.openbsd.org>. | |
2741 | ||
2742 | Wed Mar 12 21:33:09 1997 Ian Lance Taylor <ian@cygnus.com> | |
2743 | ||
2744 | * ldmain.c (multiple_definition): Only skip the warning if the | |
2745 | output section is absolute when the input section is not | |
2746 | absolute. | |
2747 | ||
2748 | * ldlex.l: Accept whitespace in VERS_START state. Warn about | |
2749 | invalid characters in VERS_* states. | |
2750 | ||
2751 | Tue Mar 11 13:51:31 1997 Ian Lance Taylor <ian@cygnus.com> | |
2752 | ||
2753 | * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Don't let a | |
2754 | trailing space lead us to think that there is a zero address. | |
2755 | ||
2756 | Sun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com> | |
2757 | ||
2758 | * ldgram.y (vers_node): Correct typo of '(' for '{'. | |
2759 | ||
2760 | Fri Mar 7 18:40:12 1997 Fred Fish <fnf@cygnus.com> | |
2761 | ||
2762 | * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start | |
2763 | rather than _start. | |
2764 | (__edata): Define this rather than "edata". | |
2765 | (__end): Define this rather than "end". | |
2766 | ||
2767 | Tue Mar 4 17:18:35 1997 Michael Meissner <meissner@cygnus.com> | |
2768 | ||
2769 | * configure.tgt (tic80-*-*): Allow dropping of -coff. | |
2770 | ||
2771 | Sun Mar 2 22:59:49 1997 Fred Fish <fnf@cygnus.com> | |
2772 | ||
2773 | * Makefile.in (ld.dvi): Set MAKEINFO environment variable as well | |
2774 | as TEXINPUTS. Needed for building in separate build dir. | |
2775 | * ldint.texinfo (SCRIPT_NAME): Fix typo. | |
2776 | * emulparams/tic80coff.sh: Rewrite to include internal documentation | |
2777 | about each shell variable that is set (or not set). | |
2778 | * scripttempl/tic80coff.sc: Complete rewrite. | |
2779 | ||
2780 | Fri Feb 28 17:42:27 1997 Ian Lance Taylor <ian@cygnus.com> | |
2781 | ||
2782 | * ldmain.c (main): Call bfd_set_default_target. | |
2783 | * Makefile.in (ldmain.o): Define TARGET when compiling. | |
2784 | ||
2785 | Thu Feb 27 11:41:03 1997 Ian Lance Taylor <ian@cygnus.com> | |
2786 | ||
2787 | * ldmain.c (main): Don't initialize link_info.lprefix or | |
2788 | link_info.lprefix_len. | |
2789 | * emultempl/hppaelf.em (hppaelf_before_parse): Likewise. | |
2790 | ||
2791 | * emultempl/m88kbcs.em: Remove. | |
2792 | * emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set. | |
2793 | * Makefile.in (em88kbcs.c): Depend upon generic.em rather than | |
2794 | m88kbcs.em. | |
2795 | ||
2796 | * mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD, | |
2797 | to lang_enter_output_section_statement. From Mark Rasin | |
2798 | <mark.rasin@telrad.co.il>. | |
2799 | ||
2800 | Wed Feb 26 11:51:44 1997 Ian Lance Taylor <ian@cygnus.com> | |
2801 | ||
2802 | * ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common | |
2803 | section. | |
2804 | ||
2805 | Tue Feb 25 20:38:11 1997 Stan Shebs <shebs@andros.cygnus.com> | |
2806 | ||
2807 | * configure.tgt (mips*-*-lnews*): New target. | |
2808 | * Makefile.in (emipslnews.c): New target. | |
2809 | * emulparams/mipslnews.sh: New file. | |
2810 | ||
2811 | Tue Feb 25 16:04:09 1997 Ian Lance Taylor <ian@cygnus.com> | |
2812 | ||
2813 | * emultempl/elf32.em (hold_interp): New static variable. | |
2814 | (gld${EMULATION_NAME}_place_orphan): Put loadable .note sections | |
2815 | after hold_interp. Choose a unique output section name. | |
2816 | (gld${EMULATION_NAME}_place_section): Don't set hold_use if the | |
2817 | SEC_LOAD or SEC_ALLOC flags differ. Set hold_interp. | |
2818 | ||
2819 | Mon Feb 24 18:16:09 1997 Ian Lance Taylor <ian@cygnus.com> | |
2820 | ||
2821 | From Eric Youngdale <eric@andante.jic.com>: | |
2822 | * ldlex.l (V_TAG, V_IDENTIFIER): New macros. | |
2823 | (VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version | |
2824 | information. | |
2825 | (ldlex_version_script, ldlex_version_file): New functions. | |
2826 | * ldlex.h (enum input_enum): Add input_version_script. | |
2827 | (ldlex_version_script): Declare. | |
2828 | (ldlex_version_file): Declare. | |
2829 | * ldgram.y (%union): Add deflist, versyms, and versnode. | |
2830 | (VERS_TAG, VERS_IDENTIFIER): New terminals. | |
2831 | (GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals. | |
2832 | (file): Accept INPUT_VERSION_SCRIPT. | |
2833 | (ifile_p1): Accept version. | |
2834 | (version_script_file): New nonterminal. | |
2835 | (version, vers_nodes, vers_node): Likewise. | |
2836 | (verdep, vers_tag, ver_defns): Likewise. | |
2837 | * ldlang.c (lang_elf_version_info): New global variable. | |
2838 | (lang_new_vers_regex): New function. | |
2839 | (lang_new_vers_node): New function. | |
2840 | (version_index): New static variable. | |
2841 | (lang_register_vers_node): New function. | |
2842 | (lang_add_vers_depend): New function. | |
2843 | * ldlang.h (lang_elf_version_info): Declare. | |
2844 | (lang_new_vers_regex, lang_new_vers_node): Declare. | |
2845 | (lang_add_vers_depend, lang_register_vers_node): Declare. | |
2846 | * lexsup.c (OPTION_VERSION_SCRIPT): Define. | |
2847 | (ld_options): Add "version-script". | |
2848 | (parse_args): Handle OPTION_VERSION_SCRIPT. | |
2849 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
2850 | Pass lang_elf_version_info to size_dynamic_sections. | |
2851 | * scripttempl/elf.sc: Add .gnu.version sections. | |
2852 | * ld.texinfo: Document symbol versioning. | |
2853 | ||
2854 | Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com> | |
2855 | ||
2856 | * Makefile.in (ed30velf.c): New target. | |
2857 | * configure.tgt (d30v-*-*): New target. | |
2858 | * emulparams/d30velf.sh: New file. | |
2859 | * scripttempl/elfd30v.sc: New file. | |
2860 | ||
2861 | Fri Feb 14 18:28:31 1997 Ian Lance Taylor <ian@cygnus.com> | |
2862 | ||
2863 | * ld.texinfo (Option Commands): Document the INCLUDE command. | |
2864 | ||
2865 | Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be> | |
2866 | ||
2867 | * configure.in: Call BFD_NEED_DECLARATION on getenv. | |
2868 | * acconfig.h (NEED_DECLARATION_GETENV): New macro. | |
2869 | * sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV. | |
2870 | * ldemul.c (ld_emul_default_target): Do not cast getenv return | |
2871 | value. | |
2872 | * ldmain.c (get_emulation): Likewise. | |
2873 | * configure, config.in: Rebuild. | |
2874 | ||
2875 | Tue Feb 11 15:34:26 1997 Ian Lance Taylor <ian@cygnus.com> | |
2876 | ||
2877 | * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and | |
2878 | .mips16.call.* in .text. | |
2879 | ||
2880 | Sun Feb 9 18:09:13 1997 Fred Fish <fnf@cygnus.com> | |
2881 | ||
2882 | * emulparams/tic80coff.sh: New (dummy) file for TIc80. | |
2883 | * scripttempl/tic80coff.sc: New (dummy) file for TIc80. | |
2884 | * Makefile.in (etic80coff.c): Add target and rule to build it. | |
2885 | * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff. | |
2886 | ||
2887 | Fri Jan 31 13:16:53 1997 Ian Lance Taylor <ian@cygnus.com> | |
2888 | ||
2889 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for | |
2890 | ".so" in the name, not ".so.". | |
2891 | (gld${EMULATION_NAME}_search_dir): Accept a plain .so file. | |
2892 | ||
2893 | * Makefile.in (ld.info): Add -I$(srcdir). From Alan Modra | |
2894 | <alan@spri.levels.unisa.edu.au>. | |
2895 | ||
2896 | Thu Jan 30 11:31:52 1997 Ian Lance Taylor <ian@cygnus.com> | |
2897 | ||
2898 | * emultempl/sunos.em: Include <ctype.h>. | |
2899 | (gld${EMULATION_NAME}_find_so): Skip the directory name when | |
2900 | searching for ".so.". | |
2901 | (gld${EMULATION_NAME}_search_dir): Make sure that the library name | |
2902 | has a version number, and that only version numbers follow .so. | |
2903 | ||
2904 | Wed Jan 29 18:15:00 1997 Geoffrey Noer <noer@cygnus.com> | |
2905 | ||
2906 | * scripttempl/pe.sc: | |
2907 | * scripttempl/ppcpe.sc: add *(.gcc_except_table) to the text | |
2908 | section so Win32 executables are valid. | |
2909 | ||
2910 | Mon Jan 27 12:28:43 1997 Ian Lance Taylor <ian@cygnus.com> | |
2911 | ||
2912 | * scripttempl/elf.sc: Put linkonce reloc section in other | |
2913 | appropriate reloc sections. | |
2914 | * scripttempl/elfmips.sc: Add linkonce support. | |
2915 | * scripttempl/elfppc.sc: Likewise. | |
2916 | ||
2917 | Fri Jan 24 10:44:09 1997 Jeffrey A Law (law@cygnus.com) | |
2918 | ||
2919 | * emulparms/mn10200.sh (OTHER_RELOCATING_SECTIONS): Move the | |
2920 | stack up to 0x80000. | |
2921 | * emulparms/mn10300.sh (OTHER_RELOCATING_SECTIONS): Likewise. | |
2922 | ||
2923 | Tue Jan 21 12:11:10 1997 Doug Evans <dje@seba.cygnus.com> | |
2924 | ||
2925 | * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Use PROVIDE | |
2926 | to define `_stack'. | |
2927 | ||
2928 | Thu Jan 16 17:07:52 1997 Ian Lance Taylor <ian@cygnus.com> | |
2929 | ||
2930 | * ld.h (args_type): Rename auxiliary_filter_shlib to | |
2931 | auxiliary_filters, and make it char **. | |
2932 | * lexsup.c (parse_args): Handle -f by setting up an array. | |
2933 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use | |
2934 | new name of auxiliary_filters. | |
2935 | ||
2936 | * ld.texinfo (Options): Improve documentation of --filter and | |
2937 | --auxiliary. | |
2938 | ||
2939 | Tue Jan 14 15:44:28 1997 Ian Lance Taylor <ian@cygnus.com> | |
2940 | ||
2941 | * ld.texinfo (Options): Clarify that the normal usage is -T. | |
2942 | (Commands): Likewise. | |
2943 | ||
2944 | Thu Jan 9 11:26:27 1997 Ian Lance Taylor <ian@cygnus.com> | |
2945 | ||
2946 | * scripttempl/armcoff.sc: Correct mask used for .data address. | |
2947 | ||
2948 | Wed Jan 8 15:14:59 1997 Geoffrey Noer <noer@cygnus.com> | |
2949 | ||
2950 | * emultempl/pe.em: make default executable a.exe instead of | |
2951 | a.out | |
2952 | ||
2953 | Fri Jan 3 17:33:34 1997 Richard Henderson <rth@tamu.edu> | |
2954 | ||
2955 | * scripttempl/elf.sc: Move .got closer to .sdata and .sbss by | |
2956 | shifting .plt back. Rumour has it that the NetBSD ld.so depends | |
2957 | on .dynamic being after .got, so we leave that. | |
2958 | ||
2959 | Fri Jan 3 14:04:40 1997 Ian Lance Taylor <ian@cygnus.com> | |
2960 | ||
2961 | * Makefile.in (clean): Don't remove configdoc.texi. | |
2962 | (maintainer-clean): Do remove configdoc.texi. | |
2963 | ||
2964 | * ld.texinfo (Operators): Remove '@' from @smallexmple in comment | |
2965 | to avoid confusing texi2roff. | |
2966 | ||
2967 | Fri Jan 3 11:27:02 1997 Michael Meissner <meissner@tiktok.cygnus.com> | |
2968 | ||
2969 | * scripttempl/v850.sc (.zdata): Add .zcommon section. | |
2970 | (.tdata): Add .tcommon and .tcommon_byte sections. | |
2971 | ||
2972 | Thu Jan 2 18:14:32 1997 Ian Lance Taylor <ian@cygnus.com> | |
2973 | ||
2974 | * configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets. | |
2975 | * scripttempl/elfmips.sc: Use __start as the entry address for | |
2976 | mips*-*-linux*. | |
2977 | ||
2978 | Tue Dec 31 14:48:30 1996 Ian Lance Taylor <ian@cygnus.com> | |
2979 | ||
2980 | * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. | |
2981 | ||
2982 | * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib | |
2983 | fields. | |
2984 | * lexsup.c (parse_args): Recognize --auxiliary/-f and | |
2985 | --filter/-F. | |
2986 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
2987 | Pass filter_shlib and auxiliary_filter_shlib to | |
2988 | size_dynamic_sections. | |
2989 | * ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f. | |
2990 | ||
2991 | Mon Dec 30 13:55:57 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
2992 | ||
2993 | * scripttempl/v850.sc (.tdata) Add .tbss and .tbyte sections. | |
2994 | ||
2995 | Wed Dec 18 22:57:35 1996 Stan Shebs <shebs@andros.cygnus.com> | |
2996 | ||
2997 | * mpw-make.sed: Use NewFolderRecursive for installation. | |
2998 | ||
2999 | Fri Dec 13 14:08:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3000 | ||
3001 | * scripttempl/v850.sc: Make sure __{e,g}p start relative to the | |
3002 | {s,t}data sections. Do not emit any linker generated symbols if | |
3003 | -r. Use {TEXT,{Z,S,T}DATA}_START_ADDR variables to initialize | |
3004 | where the different sections go. Change some whitespace. | |
3005 | ||
3006 | * emulparams/v850.sh ({TEXT,{Z,S,T}DATA}_START_ADDR): Define | |
3007 | appropriately. Remove crud not used anymore. | |
3008 | ||
3009 | Fri Dec 13 10:19:57 1996 Jeffrey A Law (law@cygnus.com) | |
3010 | ||
3011 | * Makefile.in (emn10200.c): Add dependencies. | |
3012 | * configure.tgt: Handle mn10200. | |
3013 | * emulparms/mn10200.sh: New file. | |
3014 | ||
3015 | Thu Dec 12 17:04:55 1996 Ian Lance Taylor <ian@cygnus.com> | |
3016 | ||
3017 | * emultempl/gld960c.em: Include <ctype.h>. | |
3018 | (gld960_set_output_arch): Get the machine type from the -A option | |
3019 | if there is one, rather than always using core. | |
3020 | ||
3021 | Sat Dec 7 10:07:51 1996 Jeffrey A Law (law@cygnus.com) | |
3022 | ||
3023 | * emulparms/mn10300.sh: Handle leading underscores. | |
3024 | ||
3025 | Thu Dec 5 13:45:58 1996 Ian Lance Taylor <ian@cygnus.com> | |
3026 | ||
3027 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Only | |
3028 | set hold_rel if SEC_ALLOC is set. | |
3029 | ||
3030 | Tue Dec 3 11:29:20 1996 Ian Lance Taylor <ian@cygnus.com> | |
3031 | ||
3032 | * ldlang.c (section_already_linked): Set the output_offset as well | |
3033 | as the output_section when only reading symbols from a file. | |
3034 | ||
3035 | Mon Dec 2 11:43:50 1996 Ian Lance Taylor <ian@cygnus.com> | |
3036 | ||
3037 | * emulparams/*.sh: Make sure that each set of parameters which | |
3038 | uses the elf.sc script sets MACHINE. | |
3039 | ||
3040 | Wed Nov 27 03:22:05 1996 Jason Merrill <jason@yorick.cygnus.com> | |
3041 | ||
3042 | * scripttempl/elf{,mips,ppc}.sc: Add the remaining DWARF sections. | |
3043 | * scripttempl/elfd10v.sc: Likewise. | |
3044 | * scripttempl/v850.sc: Likewise. | |
3045 | ||
3046 | Tue Nov 26 16:58:33 1996 Ian Lance Taylor <ian@cygnus.com> | |
3047 | ||
3048 | * configure: Rebuild with autoconf 2.12. | |
3049 | ||
3050 | Mon Nov 25 12:17:55 1996 Jim Wilson <wilson@cygnus.com> | |
3051 | ||
3052 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Add case | |
3053 | for bfd_vma to init loop. | |
3054 | ||
3055 | Mon Nov 25 09:55:07 1996 Jeffrey A Law (law@cygnus.com) | |
3056 | ||
3057 | * emulparms/mn10300.sh: Remove bogus '_' prefix for | |
3058 | entry symbol and ctor/dtor stuff. | |
3059 | ||
3060 | Fri Nov 15 13:00:18 1996 Jeffrey A Law (law@cygnus.com) | |
3061 | ||
3062 | * Makefile.in (emn10300.c): Add dependencies. | |
3063 | * configure.tgt: Handle mn10300. | |
3064 | * emulparms/mn10300.sh: New file. | |
3065 | ||
3066 | Tue Nov 5 10:57:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
3067 | ||
3068 | * emulparams/d10velf.sh (READONLY_START_ADDR): Changed to 0x2000004. | |
3069 | (EMBEDDED): Define. | |
3070 | ||
3071 | Fri Nov 1 10:01:27 1996 Ian Lance Taylor <ian@cygnus.com> | |
3072 | ||
3073 | * ld.texinfo: Add section on reporting bugs. | |
3074 | ||
3075 | * scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__ | |
3076 | symbols are correctly aligned. | |
3077 | ||
3078 | Thu Oct 31 09:28:59 1996 Jeffrey A Law (law@cygnus.com) | |
3079 | ||
3080 | * scriptempl/v850.sc (zdata): Handle reszdata, romzdata and | |
3081 | romzbss too. | |
3082 | ||
3083 | Tue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
3084 | ||
3085 | * emulparams/d10velf.sh: Changes needed for D10V-EVA board. | |
3086 | Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to | |
3087 | 0x2000000. | |
3088 | ||
3089 | * scripttempl/elfd10v.sc: Fix calculation of .text. Change | |
3090 | .stack to start at 0x2007ffe. | |
3091 | ||
3092 | Mon Oct 28 15:37:00 1996 Doug Evans <dje@canuck.cygnus.com> | |
3093 | ||
3094 | * configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*. | |
3095 | ||
3096 | Wed Oct 23 16:17:22 1996 Jeffrey A Law (law@cygnus.com) | |
3097 | ||
3098 | * scriptempl/v850.sc (zdata): Fix typo "zrodata" -> "rozdata". | |
3099 | ||
3100 | * scriptempl/v850.sc (zdata): Make sure this stays | |
3101 | in lo-memory. | |
3102 | ||
3103 | Tue Oct 22 11:36:47 1996 Jeffrey A Law (law@cygnus.com) | |
3104 | ||
3105 | * scripttempl/v850.sc (__ep): Put it at the start | |
3106 | of the tda section. | |
3107 | ||
3108 | * scriptempl/v850.sc: Move all "normal" sections into | |
3109 | the external memory region (0x100000 - 0x200000). | |
3110 | ||
3111 | Mon Oct 21 17:16:59 1996 Michael Meissner <meissner@wogglebug.tiac.net> | |
3112 | ||
3113 | * scripttempl/elfd10v.sc: Clone from elf.sc, move .text to | |
3114 | 0x10000, so that is more room for data. | |
3115 | ||
3116 | * emulparams/d10velf.sh (TEXT_START_ADDR): Now 0x100000. | |
3117 | (READONLY_START_ADDR): Now 0x0. | |
3118 | (SCRIPT_NAME): Now elfd10v. | |
3119 | ||
3120 | * Makefile.in (ed10velf.c): Depend on elfd10v.sc, not elf.sc. | |
3121 | ||
3122 | Fri Oct 18 22:12:49 1996 Doug Evans <dje@canuck.cygnus.com> | |
3123 | ||
3124 | * emulparams/m32relf.sh (TEXT_START_ADDR): Change from 0 to 0x100. | |
3125 | ||
3126 | Fri Oct 18 15:43:38 1996 Ian Lance Taylor <ian@cygnus.com> | |
3127 | ||
3128 | * Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o. | |
3129 | (ALL_64_EMULATIONS): New variable. | |
3130 | * configure.in: Accept --enable-64-bit-bfd option. If it is set | |
3131 | with --enable-targets=all, include ALL_64_EMULATIONS in | |
3132 | EMULATION_OFILES. | |
3133 | * configure: Rebuild. | |
3134 | ||
3135 | Fri Oct 18 12:58:35 1996 Jeffrey A Law (law@cygnus.com) | |
3136 | ||
3137 | * scripttempl/v850.sc (__gp, __ep): Define. | |
3138 | ||
3139 | Thu Oct 17 18:14:07 1996 Ian Lance Taylor <ian@cygnus.com> | |
3140 | ||
3141 | * ld.texinfo: Try to consistently use a single or a double dash | |
3142 | for each option. | |
3143 | ||
3144 | Thu Oct 17 10:17:20 1996 Doug Evans <dje@canuck.cygnus.com> | |
3145 | ||
3146 | * emulparams/m32relf.sh (EMBEDDED): Define. | |
3147 | ||
3148 | Thu Oct 17 10:56:49 1996 Jeffrey A Law (law@cygnus.com) | |
3149 | ||
3150 | * scripttempl/v850.sc (.zdata): Add this before .text. | |
3151 | (.sdata): Also include .rosdata as part of the .sdata. | |
3152 | (.tdata): Include this just before .sdata. | |
3153 | ||
3154 | * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf". | |
3155 | * scripttempl/v850.sc: Wrap script with a "cat << EOF". | |
3156 | ||
3157 | Wed Oct 16 23:10:01 1996 Jeffrey A Law (law@cygnus.com) | |
3158 | ||
3159 | * scripttempl/v850.sc: New linker script for the V850. | |
3160 | * Makefile.in: Use it. | |
3161 | ||
3162 | Thu Oct 10 17:57:00 1996 Ian Lance Taylor <ian@cygnus.com> | |
3163 | ||
3164 | * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not | |
3165 | OTHER_READWRITE_SECTIONS. | |
3166 | * emulparams/elf32l4300.sh: Likewise. | |
3167 | ||
3168 | Wed Oct 9 14:36:18 1996 Ian Lance Taylor <ian@cygnus.com> | |
3169 | ||
3170 | * ld.h (ld_config_type): Add warn_section_align field. | |
3171 | * lexsup.c (OPTION_WARN_SECTION_ALIGN): Define. | |
3172 | (ld_options): Add --warn-section-align. | |
3173 | (parse_args): Handle --warn-section-align. | |
3174 | * ldlang.c (lang_size_sections): If warn_section_align, warn if | |
3175 | the start of a section changes due to alignment. | |
3176 | * ld.texinfo, ld.1: Document --warn-section-align. | |
3177 | * ld.texinfo: Change some single dashes to double dashes. | |
3178 | ||
3179 | * emultempl/pe.em (set_pe_subsystem): Record entry symbol for each | |
3180 | subsystem type. Ifdef out os2 type. Recognize a version number. | |
3181 | ||
3182 | Tue Oct 8 12:07:13 1996 Ian Lance Taylor <ian@cygnus.com> | |
3183 | ||
3184 | * emultempl/pe.em (set_pe_subsystem): When setting the subsystem | |
3185 | to windows, set the entry point. | |
3186 | ||
3187 | * Makefile.in (ldlex.c): Don't pass any options to $(LEX). | |
3188 | ||
3189 | Mon Oct 7 17:29:05 1996 Ian Lance Taylor <ian@cygnus.com> | |
3190 | ||
3191 | * ld.texinfo (Options): Mention .so extensions for shared | |
3192 | libraries. | |
3193 | ||
3194 | Sun Oct 6 22:35:36 1996 Jason Merrill <jason@yorick.cygnus.com> | |
3195 | ||
3196 | * scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections. | |
3197 | ||
3198 | Fri Oct 4 18:49:31 1996 Ian Lance Taylor <ian@cygnus.com> | |
3199 | ||
3200 | * scripttempl/m68kcoff.sc: Only set the address of .text if | |
3201 | RELOCATING. | |
3202 | ||
3203 | Fri Oct 4 10:59:52 1996 Doug Evans <dje@canuck.cygnus.com> | |
3204 | ||
3205 | * emulparams/sparcaout.sh ({BIG,LITTLE}_OUTPUT_FORMAT): Define. | |
3206 | * scripttempl/aout.sc ({BIG,LITTLE}_OUTPUT_FORMAT): Provide default. | |
3207 | (OUTPUT_FORMAT): Support bi-endian targets. | |
3208 | ||
3209 | Thu Oct 3 13:52:03 1996 Ian Lance Taylor <ian@cygnus.com> | |
3210 | ||
3211 | * fnmatch.h, fnmatch.c: Remove (now in libiberty). | |
3212 | * Makefile.in: Rebuild dependencies. | |
3213 | (CFILES): Remove fnmatch.c. | |
3214 | (HFILES): Remove fnmatch.h. | |
3215 | (OFILES): Remove fnmatch.o. | |
3216 | ||
3217 | Thu Oct 3 15:41:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
3218 | ||
3219 | * Makefile.in (mostlyclean): Move config.log to distclean. | |
3220 | ||
3221 | Wed Oct 2 23:45:25 1996 Geoffrey Noer <noer@cygnus.com> | |
3222 | ||
3223 | * emultmpl/pe.em: increase size of stack reserve to 0x2000000 | |
3224 | (necessary in order to compile parse.c in gcc sources under NT) | |
3225 | ||
3226 | Wed Oct 2 14:49:10 1996 Ian Lance Taylor <ian@cygnus.com> | |
3227 | ||
3228 | * lexsup.c (ld_options): Fix typo in --rpath-link description. | |
3229 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Suggest | |
3230 | --rpath if a needed library is not found. | |
3231 | ||
3232 | Tue Oct 1 16:17:33 1996 Joel Sherrill <joel@oarcorp.com> | |
3233 | ||
3234 | * configure.tgt (mips*-*-rtems*): New target, like mips*-*-elf*. | |
3235 | ||
3236 | Tue Oct 1 15:50:34 1996 Ian Lance Taylor <ian@cygnus.com> | |
3237 | ||
3238 | * ld.texinfo (Options): Give more detail on -l option. | |
3239 | ||
3240 | * scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that | |
3241 | elf.sc does, so that glibc works better. | |
3242 | ||
3243 | * ldver.c (ld_program_version): New variable. | |
3244 | (ldversion): Use it. | |
3245 | * ldver.h (ld_program_version): Declare. | |
3246 | * lexsup.c (ld_options): Handle --dll-verbose like --verbose, not | |
3247 | --version. Change --version handling to match current GNU | |
3248 | standards. | |
3249 | (help): Print bug report address. | |
3250 | ||
3251 | Mon Sep 30 12:14:43 1996 Doug Evans <dje@canuck.cygnus.com> | |
3252 | ||
3253 | * Makefile.in (em32relf.c): Add rule for. | |
3254 | * configure.tgt (m32r-*-*): Recognize. | |
3255 | * emulparams/m32relf.sh: New file. | |
3256 | ||
3257 | Thu Sep 26 13:58:47 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3258 | ||
3259 | * mpw-make.sed: Add symbolic doublequoting to ldmain compile edit. | |
3260 | * mpw-config.in: Add mips-*-* case as mips-elf, and use more | |
3261 | wildcards in matching. | |
3262 | * mpw-emipself.c: New file, pregenerated mips elf emulation. | |
3263 | ||
3264 | Tue Sep 17 12:18:21 1996 Ian Lance Taylor <ian@cygnus.com> | |
3265 | ||
3266 | * ldint.texinfo: Rewrote. | |
3267 | ||
3268 | * configure.tgt: Add cases for MIPS 5000 like MIPS 4300. | |
3269 | ||
3270 | Mon Sep 16 17:55:21 1996 Ian Lance Taylor <ian@cygnus.com> | |
3271 | ||
3272 | * scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix | |
3273 | syntax error on __end__ line. | |
3274 | ||
3275 | * scripttempl/armcoff.sc: For -N or -n, don't align .data. From | |
3276 | Chris Hadley <Christopher.Hadley@cl.cam.ac.uk> | |
3277 | ||
3278 | Sun Sep 15 22:09:56 1996 Jeffrey A Law (law@cygnus.com) | |
3279 | ||
3280 | * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS. | |
3281 | ||
3282 | Sun Sep 15 10:38:16 1996 Mark Alexander <marka@cygnus.com> | |
3283 | ||
3284 | * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put | |
3285 | stack at top of simulator memory. | |
3286 | ||
3287 | Fri Sep 13 15:49:45 1996 Ian Lance Taylor <ian@cygnus.com> | |
3288 | ||
3289 | * ldlex.l (SYMBOLCHARN): Add $, _, and ~. | |
3290 | ||
3291 | Wed Sep 11 23:30:42 1996 Ian Lance Taylor <ian@cygnus.com> | |
3292 | ||
3293 | * ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al. | |
3294 | ||
3295 | Thu Sep 5 15:24:12 1996 Ian Lance Taylor <ian@cygnus.com> | |
3296 | ||
3297 | * ldlang.c (section_already_linked): Accept a lang_input_statement | |
3298 | as the PTR argument. If the file is symbols only, discard all | |
3299 | input sections. | |
3300 | (ldlang_add_file): Pass entry to bfd_map_over_sections. | |
3301 | ||
3302 | Wed Sep 4 15:53:43 1996 Ian Lance Taylor <ian@cygnus.com> | |
3303 | ||
3304 | * configure.tgt (alpha-*-gnu*): New target. From Fila Kolodny | |
3305 | <fila@ibi.com>. | |
3306 | ||
3307 | Tue Sep 3 00:52:54 1996 Jeffrey A Law (law@cygnus.com) | |
3308 | ||
3309 | * emulparms/v850.sh: Set OTHER_RELOCATING_SECTIONS | |
3310 | ||
3311 | Sun Sep 1 21:48:58 1996 Jeffrey A Law (law@cygnus.com) | |
3312 | ||
3313 | * emulparms/v850.sh: Set EMBEDDED. | |
3314 | ||
3315 | Fri Aug 30 22:30:30 1996 Jeffrey A Law (law@cygnus.com) | |
3316 | ||
3317 | * emulparms/v850.sh: Entry symbol is "_start", tweak | |
3318 | ctor/dtor support. | |
3319 | ||
3320 | Fri Aug 30 18:32:31 1996 Ian Lance Taylor <ian@cygnus.com> | |
3321 | ||
3322 | * configure.tgt (sh-*-elf*): New target. | |
3323 | * emulparams/shelf.sh: New file. | |
3324 | * emulparams/shlelf.sh: New file. | |
3325 | * Makefile.in (ALL_EMULATIONS): Add eshelf.o and eshlelf.o. | |
3326 | (eshelf.c, eshlelf.c): New targets. | |
3327 | * scripttempl/elf.sc: If EMBEDDED is defined, then don't add | |
3328 | SIZEOF_HEADERS to TEXT_START_ADDR. Expand CTOR_START and CTOR_END | |
3329 | around .ctors, and DTOR_START and DTOR_END around .dtors. Expand | |
3330 | OTHER_RELOCATING_SECTIONS if RELOCATING. | |
3331 | ||
3332 | Thu Aug 29 16:57:46 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3333 | ||
3334 | * configure.{host,tgt} (i[345]86-*-*): Recognize i686 for pentium | |
3335 | pro. | |
3336 | ||
3337 | Mon Aug 26 12:58:11 1996 Ian Lance Taylor <ian@cygnus.com> | |
3338 | ||
3339 | * ldgram.y (section): Add opt_nocrossrefs; pass value to | |
3340 | lang_enter_overlay. | |
3341 | (opt_nocrossrefs): New nonterminal. | |
3342 | * ldlex.l: Recognize NOCROSSREFS keyword in EXPRESSION mode. | |
3343 | * ldlang.c (overlay_nocrossrefs): New static variable. | |
3344 | (lang_enter_overlay): Add nocrossrefs parameter. | |
3345 | (lang_leave_overlay): Only add nocrossrefs if overlay_nocrossrefs | |
3346 | is set. Initialize overlay_nocrossrefs. | |
3347 | * ldlang.h (lang_enter_overlay): Update declaration. | |
3348 | * ld.texinfo (Overlays): Update documentation. | |
3349 | ||
3350 | * ldver.c (ldversion): Print GNU ld in the version message. | |
3351 | ||
3352 | Thu Aug 22 17:10:40 1996 Ian Lance Taylor <ian@cygnus.com> | |
3353 | ||
3354 | * configure.host: Set HLDENV. | |
3355 | * configure.in: Substitute HLDENV. | |
3356 | * configure: Rebuild. | |
3357 | * Makefile.in (HLDENV): New variable. | |
3358 | ($(LD_PROG)): Use $(HLDENV). | |
3359 | ||
3360 | Thu Aug 22 16:29:28 1996 Jeffrey A Law (law@cygnus.com) | |
3361 | ||
3362 | * Makefile.in (ev850.c): New target. | |
3363 | * configure.tgt (v850-*-*): New target. | |
3364 | * emulparams/v850.sh: New file. | |
3365 | ||
3366 | Thu Aug 22 11:16:02 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3367 | ||
3368 | * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit. | |
3369 | ||
3370 | Wed Aug 21 11:26:37 1996 Ian Lance Taylor <ian@cygnus.com> | |
3371 | ||
3372 | * scripttempl/elf.sc: Put .gnu.linkonce* sections in appropriate | |
3373 | containing sections. | |
3374 | ||
3375 | Mon Aug 19 13:01:42 1996 Ian Lance Taylor <ian@cygnus.com> | |
3376 | ||
3377 | * fnmatch.c: Include sysdep.h. | |
3378 | ||
3379 | Mon Aug 19 11:28:29 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3380 | ||
3381 | * genscripts.sh: Undo 8/16 change. | |
3382 | ||
3383 | * emulparams/d10velf.sh (MACHINE): Explicitly set to nothing. | |
3384 | ||
3385 | Fri Aug 16 19:18:08 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3386 | ||
3387 | * genscripts.sh: Explicitly reset any shell variables set or used | |
3388 | by the various .sc scripts to allow inadvertant use of these | |
3389 | names as normal environment variables by the person running | |
3390 | configure. | |
3391 | ||
3392 | * Makefile.in (ed10velf.c): Use tdir_d10v, not tdir_arcelf. | |
3393 | ||
3394 | Fri Aug 16 14:15:41 1996 James G. Smith <jsmith@cygnus.co.uk> | |
3395 | ||
3396 | * scripttempl/armcoff.sc (__bss_start__, __bss_end__, | |
3397 | __data_start__, __data_end__): Added to keep in sync. with the | |
3398 | default ARM crt0.s. Added __CTOR_LIST__ and __DTOR_LIST__ support. | |
3399 | ||
3400 | Thu Aug 8 14:24:56 1996 Ian Lance Taylor <ian@cygnus.com> | |
3401 | ||
3402 | * ldcref.c (check_reloc_refs): If info->same, look for any symbol | |
3403 | defined in info->defsec, not just the section symbol. | |
3404 | ||
3405 | Wed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be> | |
3406 | ||
3407 | * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. | |
3408 | * acconfig.h (NEED_DECLARATION_STRSTR): New macro. | |
3409 | (NEED_DECLARATION_SBRK): New macro. | |
3410 | * configure, config.in: Rebuild. | |
3411 | * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. | |
3412 | * ldmain.c (sbrk): Declare if HAVE_SBRK and | |
3413 | NEED_DECLARATION_SBRK. | |
3414 | ||
3415 | * ldlang.c (lang_record_phdrs): Cast xmalloc and xrealloc return. | |
3416 | ||
3417 | Mon Aug 5 16:26:14 1996 Ian Lance Taylor <ian@cygnus.com> | |
3418 | ||
3419 | * ldlex.l: Recognize OVERLAY. | |
3420 | * ldgram.y: Add section_phdr field to %union. | |
3421 | (section): Handle phdr_opt result. Add OVERLAY case. | |
3422 | (opt_exp_without_type): New nonterminal. | |
3423 | (phdr_opt): Return list of phdrs. | |
3424 | (overlay_section): New nonterminal. | |
3425 | * ldlang.c: Include <ctype.h>. | |
3426 | (lang_leave_output_section_statement): Add phdrs parameter. | |
3427 | Change all callers. | |
3428 | (lang_section_in_phdr): Remove. | |
3429 | (overlay_vma, overlay_lmn, overlay_max): New static variables. | |
3430 | (struct overlay_list): Define. | |
3431 | (overlay_list): New static variable. | |
3432 | (lang_enter_overlay, lang_enter_overlay_section): New functions. | |
3433 | (lang_leave_overlay_section, lang_leave_overlay): New functions. | |
3434 | * ldlang.h (lang_leave_output_section_statement): Update | |
3435 | declaration for new parameter. | |
3436 | (lang_section_in_phdr): Don't declare. | |
3437 | (lang_enter_overlay, lang_enter_overlay_section): Declare. | |
3438 | (lang_leave_overlay_section, lang_leave_overlay): Declare. | |
3439 | * ld.texinfo (Overlays): New node under SECTIONS, documenting | |
3440 | overlays. | |
3441 | ||
3442 | * ldlex.l: Recognize MAX and MIN. | |
3443 | * ldgram.y (MAX, MIN): New terminals. | |
3444 | (exp): Recognize MAX and MIN. | |
3445 | * ldexp.c (fold_binary): Handle MAX and MIN. | |
3446 | * ld.texinfo (Arithmetic Functions): Document MAX and MIN. | |
3447 | ||
3448 | * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header | |
3449 | index entries. | |
3450 | ||
3451 | * ldgram.y (SIZEOF, ADDR): Do not specify type. | |
3452 | ||
3453 | * ldcref.c (check_nocrossref): Skip symbols with no output | |
3454 | sections. | |
3455 | ||
3456 | Fri Aug 2 14:57:49 1996 Ian Lance Taylor <ian@cygnus.com> | |
3457 | ||
3458 | * ldgram.y (LOADADDR): New terminal. | |
3459 | (exp): Handle LOADADDR. | |
3460 | * ldlex.l: Recognize LOADADDR. | |
3461 | * ldexp.c (exp_print_token): Add LOADADDR. | |
3462 | (fold_name): Implement LOADADDR. | |
3463 | * ldlang.c (exp_init_os): Treat LOADADDR like ADDR. | |
3464 | * ld.texinfo (Arithmetic Functions): Document LOADADDR. | |
3465 | ||
3466 | Thu Aug 1 12:52:19 1996 Ian Lance Taylor <ian@cygnus.com> | |
3467 | ||
3468 | * ld.h (check_nocrossrefs): Declare. | |
3469 | * ldlang.h (struct lang_nocrossref): Define. | |
3470 | (struct lang_nocrossrefs): Define. | |
3471 | (nocrossref_list): Declare. | |
3472 | (lang_add_nocrossref): Declare. | |
3473 | * ldlex.l: Recognize NOCROSSREFS keyword. | |
3474 | * ldgram.y (%union): Add nocrossref field. | |
3475 | (NOCROSSREFS): New terminal. | |
3476 | (ifile_p1): Recognize NOCROSSREFS. | |
3477 | (nocrossref_list): New nonterminal. | |
3478 | * ldlang.c (nocrossref_list): Define. | |
3479 | (lang_add_nocrossref): New function. | |
3480 | * ldmain.c (main): If nocrossref_list is not NULL, call | |
3481 | check_nocrossrefs. | |
3482 | (warning_callback): Free symbols if there is no place to store | |
3483 | them. | |
3484 | (notice): Call add_cref if nocrossref_list is not NULL. | |
3485 | * ldcref.c: Include "ldexp.h" and "ldlang.h". | |
3486 | (check_nocrossrefs): New function. | |
3487 | (check_nocrossref): New static function. | |
3488 | (struct check_refs_info): Define. | |
3489 | (check_refs, check_reloc_refs): New static functions. | |
3490 | * Makefile.in: Rebuild dependencies. | |
3491 | * ld.texinfo (Option Commands): Document NOCROSSREFS. | |
3492 | ||
3493 | * ld.texinfo (Section Placement): Improve the wording of the | |
3494 | wildcard documentation. Mention that wildcards are only searched | |
3495 | for on the command line, not in the file system. | |
3496 | ||
3497 | * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Move | |
3498 | definition of lib_path inside condition where it is used. | |
3499 | ||
3500 | Wed Jul 31 13:17:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
3501 | ||
3502 | * emulparams/d10velf.sh: Now works with elf.sc. | |
3503 | ||
3504 | Wed Jul 31 11:52:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
3505 | ||
3506 | * emulparams/d10velf.sh (SCRIPT_NAME): Change to vanilla. | |
3507 | ||
3508 | Tue Jul 30 14:46:42 1996 Ian Lance Taylor <ian@cygnus.com> | |
3509 | ||
3510 | * ldlang.c (lang_size_sections): Add the section VMA to the result | |
3511 | value when computing the address of a section. | |
3512 | ||
3513 | * ld.h (args_type): Add cref field. | |
3514 | * lexsup.c (parse_args): Set command_line.cref. | |
3515 | * ldmain.c (main): Check command_line.cref rather than | |
3516 | link_info.notice_all. | |
3517 | (notice): Likewise. | |
3518 | ||
3519 | * ldcref.c (output_one_cref): Don't crash if a symbol is defined | |
3520 | in a section without an owner. | |
3521 | ||
3522 | Mon Jul 29 17:23:33 1996 Ian Lance Taylor <ian@cygnus.com> | |
3523 | ||
3524 | * fnmatch.h, fnmatch.c: New files. | |
3525 | * ldlex.l: Remove unused definition of FILENAME. Add definition | |
3526 | of WILDCHAR. In SCRIPT mode, accept any sequence of WILDCHAR as a | |
3527 | NAME. | |
3528 | * ldgram.y (file_NAME_list): Accept '*' and '?' specially. | |
3529 | (input_section_spec): Accept '?' specially. | |
3530 | (statement): Change exp to mustbe_exp in length and FILL cases. | |
3531 | (section): Call ldlex_script before section statements, and call | |
3532 | ldlex_popstate after them. | |
3533 | * ldlang.c: Include "fnmatch.h". | |
3534 | (wildcardp): New static function. | |
3535 | (wild_section): Permit the section name to be a wildcard. | |
3536 | (wild_file): New static function, broken out of wild. | |
3537 | (wild): Call wild_file. Permit the file name to be a wildcard. | |
3538 | (open_input_bfds): Don't call lookup_name for a wildcard pattern. | |
3539 | * Makefile.in: Rebuild dependencies. | |
3540 | (CFILES): Add fnmatch.c. | |
3541 | (HFILES): Add fnmatch.h. | |
3542 | (OFILES): Add fnmatch.o. | |
3543 | * ld.texinfo: Document that file and section names can now be | |
3544 | wildcard patterns. | |
3545 | ||
3546 | * ldlang.c (lang_place_orphans): Correct condition: place a common | |
3547 | section if not relocateable or if common definitions are forced. | |
3548 | ||
3549 | Wed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
3550 | ||
3551 | * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf. | |
3552 | ||
3553 | Wed Jul 24 13:38:22 1996 Michael Meissner <meissner@wogglebug.tiac.net> | |
3554 | ||
3555 | * configure.tgt (d10v-*-*): Don't require the -elf, allow plain d10v. | |
3556 | ||
3557 | Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
3558 | ||
3559 | * Makefile.in (ed10velf.c): New target. | |
3560 | * configure.tgt (d10v-*-elf*): New target. | |
3561 | * emulparams/d10velf.sh: New file. | |
3562 | ||
3563 | Thu Jul 18 16:25:39 1996 Ian Lance Taylor <ian@cygnus.com> | |
3564 | ||
3565 | * configure.tgt (sparc*-*-sysv4*): New target. From Andrew Gierth | |
3566 | <ANDREWG@microlise.co.uk>. | |
3567 | ||
3568 | * configure.host: Change irix5 to irix[56]*. | |
3569 | * configure.tgt: Likewise. | |
3570 | ||
3571 | Wed Jul 17 10:52:46 1996 Kim Knuttila <krk@cygnus.com> | |
3572 | ||
3573 | * emultempl/pe.em (sort_sections): Pay attention to return code. | |
3574 | ||
3575 | * ldmisc.c (demangle): Remove all prefix '.'s from a name. | |
3576 | ||
3577 | Mon Jul 15 11:49:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
3578 | ||
3579 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round | |
3580 | the value of __start_SECNAME to the alignment required by the | |
3581 | section to be placed. | |
3582 | ||
3583 | Tue Jul 9 12:09:02 1996 Ian Lance Taylor <ian@cygnus.com> | |
3584 | ||
3585 | * configure.tgt (mips*el-*-elf*): Use elf32elmip. | |
3586 | (mips*-*-elf*): Use elf32ebmip. | |
3587 | * emulparams/elf32bmip.sh (EMBEDDED): Don't define. | |
3588 | * emulparams/elf32lmip.sh (EMBEDDED): Don't define. | |
3589 | * emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with | |
3590 | EMBEDDED defined. | |
3591 | * emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with | |
3592 | EMBEDDED defined. | |
3593 | * emulparams/elf32b4300.sh (EMBEDDED): Define. | |
3594 | * emulparams/elf32l4300.sh (EMBEDDED): Define. | |
3595 | * Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o. | |
3596 | (eelf32ebmip.c, eelf32elmip.c): New targets. | |
3597 | ||
3598 | Thu Jul 4 12:01:03 1996 Ian Lance Taylor <ian@cygnus.com> | |
3599 | ||
3600 | * ldver.c (ldversion): Set version to cygnus-2.7.1. | |
3601 | ||
3602 | * Released binutils 2.7. | |
3603 | ||
3604 | * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid | |
3605 | System V file name limitations. | |
3606 | * configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use | |
3607 | pc532macha rather than pc532machaout. | |
3608 | * Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to | |
3609 | epc532macha.o. | |
3610 | (epc532macha.c): Rename target from epc532machaout.c. | |
3611 | ||
3612 | Wed Jul 3 11:40:10 1996 Ian Lance Taylor <ian@cygnus.com> | |
3613 | ||
3614 | * ldlang.c (print_padding_statement): Use %u, not %x, to print | |
3615 | fill value. | |
3616 | ||
3617 | Sun Jun 30 11:16:43 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3618 | ||
3619 | * mpw-eppcmac.c: Update to reflect May 23 change to aix.em. | |
3620 | ||
3621 | Thu Jun 27 14:03:42 1996 Ian Lance Taylor <ian@cygnus.com> | |
3622 | ||
3623 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Put the .sa | |
3624 | file just before the .so file, rather than just after. | |
3625 | ||
3626 | * configure.host: Use -print-file-name=FILE rather than piping | |
3627 | -print-libgcc-file-name through sed. | |
3628 | (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and | |
3629 | crtend.o files, in case gcc doesn't use them. | |
3630 | * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o. | |
3631 | ||
3632 | Wed Jun 26 15:57:21 1996 Ian Lance Taylor <ian@cygnus.com> | |
3633 | ||
3634 | * configure.tgt (mips*-dec-osf*): New target. | |
3635 | ||
3636 | Tue Jun 25 22:15:29 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
3637 | ||
3638 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, | |
3639 | INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. | |
3640 | (docdir): Removed. | |
3641 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
3642 | (AC_PROG_INSTALL): Added. | |
3643 | * configure: Rebuilt. | |
3644 | ||
3645 | Mon Jun 24 18:48:16 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3646 | ||
3647 | * scripttempl/elfppc.sc (_GLOBAL_OFFSET_TABLE_): Don't do a | |
3648 | PROVIDE of _GLOBAL_OFFSET_TABLE_, since it needs to be at a | |
3649 | non-fixed location. | |
3650 | ||
3651 | Mon Jun 24 17:55:31 1996 Jouke Numan <jnuman@bazis.nl> | |
3652 | ||
3653 | * ldlang.h (enum section_type): Define. | |
3654 | (lang_output_section_statement_type): Remove loadable field. Add | |
3655 | sectype field. | |
3656 | (lang_enter_output_section_statement): Change flags parameter in | |
3657 | prototype to sectype. | |
3658 | * ldgram.y (typebits): Remove. | |
3659 | (sectype): New static variable. | |
3660 | (opt_at): Use sectype rather than typebits. | |
3661 | (type): Set sectype rather than typebits. | |
3662 | (atype): Likewise. | |
3663 | * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in | |
3664 | EXPRESSION mode. | |
3665 | * ldlang.c (lang_output_section_statement_lookup): Set sectype | |
3666 | field rather than loadable field. | |
3667 | (wild_doit): Check sectype rather than loadable. | |
3668 | (lang_record_phdrs): Likewise. | |
3669 | (lang_enter_output_section_statement): Rename flags parameter to | |
3670 | sectype. Set sectype field rather than loadable field. Set flags | |
3671 | field based on sectype. | |
3672 | ||
3673 | Mon Jun 24 12:00:32 1996 Ian Lance Taylor <ian@cygnus.com> | |
3674 | ||
3675 | * scripttempl/elf.sc: Force .stab* and .comment sections to start | |
3676 | at 0. | |
3677 | ||
3678 | * configure.in: On alpha*-*-osf*, link against libbfd.a if not | |
3679 | using shared libraries. | |
3680 | * configure: Rebuild with autoconf 2.10. | |
3681 | ||
3682 | Fri Jun 21 17:40:56 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil> | |
3683 | ||
3684 | * configure.tgt: Add support for *-*-rtems* configurations. | |
3685 | ||
3686 | Fri Jun 21 13:05:51 1996 Richard Henderson <rth@tamu.edu> | |
3687 | ||
3688 | * configure.tgt (alpha-*-linuxecoff*): New target. | |
3689 | (alpha-*-linux*): Use elf64alpha. | |
3690 | * emulparams/elf64alpha.sh: New file. | |
3691 | * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use | |
3692 | ${ELFSIZE} rather than 32 when calling BFD routines. | |
3693 | (hold_rodata): New static variable. | |
3694 | (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a | |
3695 | readonly section that is not code. | |
3696 | (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use | |
3697 | a .rel section unless its bfd_section field is not NULL. | |
3698 | * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o. | |
3699 | (eelf64alpha.c): New target. | |
3700 | ||
3701 | Fri Jun 21 12:45:46 1996 Ian Lance Taylor <ian@cygnus.com> | |
3702 | ||
3703 | * ldmisc.c (vfinfo): Correct handling of 0 in %W case. | |
3704 | ||
3705 | Thu Jun 20 13:55:28 1996 Ian Lance Taylor <ian@cygnus.com> | |
3706 | ||
3707 | Add enough support to understand the gcc svr3.ifile script: | |
3708 | * ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add | |
3709 | BIND keyword. | |
3710 | * ldgram.y: Add BIND token. | |
3711 | (section): Recognize GROUP. | |
3712 | (opt_ext_with_type): Recognize a couple of cases of BIND. | |
3713 | * ldlang.c (init_os): Don't do anything if section is already | |
3714 | initialized. Call exp_init_os on addr_tree field. | |
3715 | (exp_init_os): New static function. | |
3716 | (map_input_to_output_sections): Call exp_init_os on assignment | |
3717 | expression. | |
3718 | (lang_place_orphans): Check for common sections by name COMMON | |
3719 | rather than by common_section field. Don't warn about absence of | |
3720 | [COMMON] command. | |
3721 | ||
3722 | * ldlang.h (lang_input_statement_type): Remove useless fields | |
3723 | common_section, common_output_section, and complained, as well as | |
3724 | all references to them. | |
3725 | ||
3726 | * ldexp.c: Reindent a lot of code. | |
3727 | (exp_fold_tree): Call FAIL rather than einfo in default case. | |
3728 | ||
3729 | Wed Jun 19 11:40:14 1996 Ian Lance Taylor <ian@cygnus.com> | |
3730 | ||
3731 | * configure.host (m88*-*-dgux*): Quote HOSTING_CRT0. From | |
3732 | <randall.hron@medaphis.com>. | |
3733 | ||
3734 | Tue Jun 18 15:53:09 1996 Jeffrey A. Law <law@rtl.cygnus.com> | |
3735 | ||
3736 | * scripttempl/h8300s.sc: New file for H8/S. | |
3737 | * emulpararms/h8300s.sh: New file for H8/S. | |
3738 | * Makefile.in (ALL_EMULATIONS): Add H8/S. | |
3739 | (e_h8300s.c): Add dependencies. | |
3740 | * configure.tgt: Add H8/S to targ_extra_emuls. | |
3741 | ||
3742 | Tue Jun 18 17:55:39 1996 Ian Lance Taylor <ian@cygnus.com> | |
3743 | ||
3744 | * configure.tgt (i[345]86*-*-isc*): New target. From | |
3745 | <uddeborg@carmen.se>. | |
3746 | ||
3747 | Wed Jun 12 12:46:21 1996 Ian Lance Taylor <ian@cygnus.com> | |
3748 | ||
3749 | * lexsup.c: Include "libiberty.h". | |
3750 | (parse_args): Copy the -Y argument into memory. | |
3751 | (set_default_dirlist): Don't put the ':' back into the directory | |
3752 | list. | |
3753 | ||
3754 | Fri Jun 7 11:27:42 1996 Ian Lance Taylor <ian@cygnus.com> | |
3755 | ||
3756 | * emultempl/sunos.em: Include libiberty.h. | |
3757 | (gld${EMULATION_NAME}_set_symbols): New static function to add | |
3758 | LD_LIBRARY_PATH to the list of search directories. | |
3759 | (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine. | |
3760 | ||
3761 | Thu Jun 6 11:50:31 1996 Ian Lance Taylor <ian@cygnus.com> | |
3762 | ||
3763 | * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16) | |
3764 | rather than . when computing _gp value. From Per Fogelstrom. | |
3765 | * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise. | |
3766 | ||
3767 | * ldmain.c (main): Don't close and unlink the file on error, since | |
3768 | remove_output will do it anyhow. | |
3769 | * ldlang.c (open_output): Set boolean variable to true, not 1. | |
3770 | ||
3771 | Wed Jun 5 18:34:14 1996 James G. Smith <jsmith@cygnus.co.uk> | |
3772 | ||
3773 | * emulparams/{elf32b4300.sh,elf32l4300.sh} (SCRIPT_NAME): Use | |
3774 | elfmips instead of elf. | |
3775 | ||
3776 | Tue Jun 4 18:43:07 1996 Ian Lance Taylor <ian@cygnus.com> | |
3777 | ||
3778 | * ldcref.c: New file. | |
3779 | * ld.h (add_cref, output_cref): Declare. | |
3780 | * ldmain.c (main): Initialize notice_all field. If it is set at | |
3781 | end of link, call output_cref. | |
3782 | (notice): Rename from notice_ysym. Check notice_all. | |
3783 | * ldmisc.c (finfo): Make globally visible. | |
3784 | * ldmisc.h (finfo): Declare. | |
3785 | * lexsup.c (OPTION_CREF): Define. | |
3786 | (ld_options): Add "cref". | |
3787 | (parse_args): Handle OPTION_CREF. | |
3788 | * Makefile.in: Rebuild dependencies. | |
3789 | (CFILES): Add ldcref.c. | |
3790 | (OFILES): Add ldcref.o. | |
3791 | * ld.texinfo, ld.1: Document --cref. | |
3792 | ||
3793 | Tue Jun 4 12:12:25 1996 Tom Tromey <tromey@csk3.cygnus.com> | |
3794 | ||
3795 | * Makefile.in (install): Make $(tooldir) and $(tooldir)/bin. | |
3796 | ||
3797 | Fri May 31 12:40:55 1996 Ian Lance Taylor <ian@cygnus.com> | |
3798 | ||
3799 | * emultempl/pe.em (sort_sections): Don't assume that a | |
3800 | wild_statement has a section name. | |
3801 | ||
3802 | Wed May 29 13:13:35 1996 Ian Lance Taylor <ian@cygnus.com> | |
3803 | ||
3804 | * scripttempl/elfmips.sc: Quote test -z argument. | |
3805 | ||
3806 | * ld.texinfo: Clarify the CONSTRUCTORS command. | |
3807 | ||
3808 | Thu May 23 16:07:44 1996 Ian Lance Taylor <ian@cygnus.com> | |
3809 | ||
3810 | * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize | |
3811 | file, not impfile. | |
3812 | ||
3813 | Wed May 22 11:31:30 1996 Doug Evans <dje@seba.cygnus.com> | |
3814 | ||
3815 | * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES} | |
3816 | if final link. | |
3817 | * emultempl/pe.em (sfunc): Renamed to sort_by_file_name. | |
3818 | (sort_by_section_name, sort_sections_1): New functions. | |
3819 | (sort_sections): Only sort by file name sections in .idata. | |
3820 | Add "Grouped Sections" support. | |
3821 | (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped | |
3822 | Sections. | |
3823 | (gld${EMULATION_NAME}_place_section): Delete. | |
3824 | * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$). | |
3825 | (.CRT,.rsrc): Rewrite to use Grouped Section support. | |
3826 | ||
3827 | Tue May 21 14:31:48 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3828 | ||
3829 | * mpw-eppcmac.c: Update to reflect changes to aix.em. | |
3830 | ||
3831 | Sun May 19 16:59:44 1996 Doug Evans <dje@seba.cygnus.com> | |
3832 | ||
3833 | * ldlang.c (dprint_statement): Stop printing at end of list. | |
3834 | ||
3835 | Sat May 18 13:12:05 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
3836 | ||
3837 | Support for --force-exe-suffix | |
3838 | * ld.h (args_type): Add force_exe_suffix. | |
3839 | * ld.texinfo: Add documentation. | |
3840 | * ldmain.c (main): Add support for option. | |
3841 | * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New. | |
3842 | (ld_options, parse_args): Add support for option. | |
3843 | ||
3844 | Wed May 15 12:50:25 1996 Jim Wilson <wilson@chestnut.cygnus.com> | |
3845 | ||
3846 | * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call. | |
3847 | ||
3848 | Fri May 10 16:28:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3849 | ||
3850 | * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was | |
3851 | referenced but not defined. | |
3852 | ||
3853 | Thu May 9 08:52:23 1996 Rob Savoye <rob@chinadoll.cygnus.com> | |
3854 | ||
3855 | * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}: | |
3856 | Set a new variable to signify if the final target is an embedded | |
3857 | system. | |
3858 | * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to | |
3859 | .text for an embedded system. | |
3860 | ||
3861 | Tue May 7 10:56:11 1996 Doug Evans <dje@canuck.cygnus.com> | |
3862 | ||
3863 | * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function. | |
3864 | (gld${EMULATION_NAME}_place_section): New function. | |
3865 | (hold_{section,use,text,rdata,data}): New static locals. | |
3866 | (ld_${EMULATION_NAME}_emulation): Update orphan field. | |
3867 | * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup. | |
3868 | (INIT,FINI): Delete, unused. | |
3869 | (.text): Document orphan .text.foo sections. | |
3870 | (.rdata): Document orphan .rdata.foo sections. | |
3871 | (.data): Document orphan .data.foo sections. | |
3872 | ||
3873 | Tue May 7 11:35:46 1996 Jeffrey A Law (law@cygnus.com) | |
3874 | ||
3875 | * scripttempl/h8300.sc: Place ".tiny" sections right | |
3876 | after ".data" sections. | |
3877 | * scripttempl/h8300h.sc: Place ".tiny" sections into | |
3878 | the "tiny" memory region, 0xff8000 through 0xffff00. | |
3879 | ||
3880 | * scripttempl/h8300.sc: Set the entry point to the value of | |
3881 | "_start" rather than the start of the text segment. | |
3882 | * scripttempl/h8300h.sc: Likewise. | |
3883 | ||
3884 | * scripttempl/h8300.sc: Place .rodata sections before .text | |
3885 | sections in main ram. | |
3886 | * scripttempl/h8300h.sc: Likewise. | |
3887 | ||
3888 | Mon May 6 23:32:30 1996 Jeffrey A Law (law@cygnus.com) | |
3889 | ||
3890 | * scripttempl/h8300h.sc: Use "eight", not "eightbit" for the | |
3891 | 8-bit region and 8-bit sections. | |
3892 | ||
3893 | Wed May 1 17:50:06 1996 Doug Evans <dje@canuck.cygnus.com> | |
3894 | ||
3895 | * ldlang.c (section_already_linked): Fix typos. | |
3896 | ||
3897 | Mon Apr 29 20:31:06 1996 Doug Evans <dje@canuck.cygnus.com> | |
3898 | ||
3899 | * scripttempl/pe.sc (.endjunk): Define __end__. | |
3900 | ||
3901 | Mon Apr 29 17:05:13 1996 Ian Lance Taylor <ian@cygnus.com> | |
3902 | ||
3903 | * ldlang.c (longest_section_name): Remove. | |
3904 | (SECTION_NAME_MAP_LENGTH): Define. | |
3905 | (print_size, print_alignment, print_fill, print_section): Remove. | |
3906 | (print_flags): Remove. | |
3907 | (lang_map): Rewrite. | |
3908 | (print_output_section_statement): Rewrite. | |
3909 | (print_assignment): Rewrite. | |
3910 | (print_one_symbol): Rewrite. | |
3911 | (print_input_section): Rewrite. | |
3912 | (print_fill_statement): Rewrite. | |
3913 | (print_data_statement): Rewrite. | |
3914 | (print_address_statement): New static function. | |
3915 | (print_reloc_statement): Rewrite. | |
3916 | (print_padding_statement): Rewrite. | |
3917 | (print_wild_statement): Rewrite. | |
3918 | (print_statement_list): Clean up. | |
3919 | (print_statement): Clean up. Some minor output changes. | |
3920 | (print_statements): Clean up. | |
3921 | (load_symbols): Put another - before -whole-archive. | |
3922 | * ldexp.c (exp_print_tree): Change etree_value and etree_rel to | |
3923 | print 0x and to omit leading zeroes. For etree_rel, use %B to | |
3924 | print the BFD. For etree_assign, remove the space after the | |
3925 | destination name. | |
3926 | * ldwrite.c: Include "libiberty.h". | |
3927 | (clone_section): Call xstrdup, not strdup. | |
3928 | (ldwrite): Don't print any map information. | |
3929 | (print_symbol_table, print_file_stuff, print_symbol): Remove. | |
3930 | * ldmain.c (main): Call lang_map when appropriate. | |
3931 | * ldmisc.c (vfinfo): Add support for %W. | |
3932 | (print_address): Remove. | |
3933 | * ldmisc.h (print_address): Don't declare. | |
3934 | * Makefile.in: Rebuild dependencies. | |
3935 | ||
3936 | Mon Apr 29 10:29:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
3937 | ||
3938 | * configure.host (m68*-*-linux*): Add -dynamic-linker to | |
3939 | HOSTING_CRT0. Search -lgcc both before and after -lc in | |
3940 | HOSTING_LIBS. Look for crt{begin,end}.o in the compiler directory | |
3941 | at first. | |
3942 | (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler | |
3943 | directory at first. | |
3944 | ||
3945 | Fri Apr 26 14:42:27 1996 Ian Lance Taylor <ian@cygnus.com> | |
3946 | ||
3947 | * ldmisc.h (demangle): Declare. | |
3948 | * ldmisc.c: Include "libiberty.h". Include demangle.h with "", | |
3949 | not <>. | |
3950 | (demangle): Make non-static. Remove remove_underscore paramter. | |
3951 | Always return an allocated string. | |
3952 | (vfinfo): Free result of demangle. Add case 'G'. Use %T to print | |
3953 | functionname, rather than calling demangle. Print a colon between | |
3954 | the BFD(section+offset) and the line number. | |
3955 | * ldmain.c (add_archive_element): Improve format of archive | |
3956 | information in map file. | |
3957 | (constructor_callback): Don't print anything to the map file. | |
3958 | * ldlang.c (lang_one_common): Improve format of common symbol | |
3959 | information in map file. | |
3960 | * ldctor.c (ldctor_build_sets): If producing a map file, print set | |
3961 | information. | |
3962 | * ldwrite.c (print_symbol_table): Print a newline before the | |
3963 | header in the map file. | |
3964 | * Makefile.in: Rebuild dependencies. | |
3965 | ||
3966 | * ldmisc.c (vfinfo): Reindent. | |
3967 | ||
3968 | Mon Apr 22 12:07:32 1996 Ian Lance Taylor <ian@cygnus.com> | |
3969 | ||
3970 | * ldlang.c (lang_size_sections): If _cooked_size is not 0, then | |
3971 | don't clobber it when not relaxing. | |
3972 | ||
3973 | * ld.h (ld_config_type): Remove traditional_format field. | |
3974 | * ldmain.c (main): Use link_info.traditional_format rather than | |
3975 | config.traditional_format. | |
3976 | * ldlang.c (ldlang_open_output): Likewise. | |
3977 | * lexsup.c (parse_args): Likewise. | |
3978 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise. | |
3979 | * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise. | |
3980 | ||
3981 | * ldlang.c (wild_doit): Discard debugging sections if we are | |
3982 | stripping debugging information. | |
3983 | ||
3984 | * emulparams/z8002.sh (ARCH): Set to z8002, not z8k. | |
3985 | ||
3986 | Tue Apr 16 16:38:32 1996 Ian Lance Taylor <ian@cygnus.com> | |
3987 | ||
3988 | * ldexp.c (fold_binary): Correct handling of subtraction with | |
3989 | absolute values. | |
3990 | (fold_name): Permit symbols in lang_allocating_phase_enum. | |
3991 | ||
3992 | * scripttempl/aout.sc: Only PROVIDE __stack when RELOCATING. Undo | |
3993 | accidental changes in last patch. | |
3994 | ||
3995 | Tue Apr 16 10:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3996 | ||
3997 | * configure.tgt (powerpc*-*-{sysv,linux}): Add aliases. | |
3998 | (powerpcle*-*-{sysv,solaris}): Ditto. | |
3999 | ||
4000 | Mon Apr 15 14:50:56 1996 Rob Savoye <rob@chinadoll.cygnus.com> | |
4001 | ||
4002 | * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it | |
4003 | in m68k/crt0.S without things blowing up. | |
4004 | ||
4005 | Fri Apr 12 16:40:56 1996 Rob Savoye <rob@chinadoll.cygnus.com> | |
4006 | ||
4007 | * scripttempl/m68kcoff.sc: Remove default address for .data so | |
4008 | .text, .data, and .bss are all sequential. | |
4009 | ||
4010 | Thu Apr 11 12:05:35 1996 Ian Lance Taylor <ian@cygnus.com> | |
4011 | ||
4012 | * scripttempl/m68kcoff.sc: Remove regions and simplify. | |
4013 | ||
4014 | Wed Apr 10 14:41:53 1996 Jeffrey A Law (law@cygnus.com) | |
4015 | ||
4016 | * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256 | |
4017 | bytes of the address space. Put data from the ".eight" sections | |
4018 | into the 8-bit area. | |
4019 | * scripttempl/h8300h.sc: Likewise. | |
4020 | ||
4021 | Tue Apr 9 14:10:42 1996 Doug Evans <dje@canuck.cygnus.com> | |
4022 | ||
4023 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): | |
4024 | Pass $ARCH to ldfile_set_output_arch instead of setting | |
4025 | ldfile_output_architecture directly. | |
4026 | ||
4027 | Tue Apr 9 14:22:15 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
4028 | ||
4029 | * scripttempl/elfppc.sc (.init,.fini): Put .init, .fini section | |
4030 | next to .text. Put _etext after .text, .init, .fini, and | |
4031 | .rodata{,2} sections. | |
4032 | ||
4033 | Tue Apr 9 12:18:57 1996 Ian Lance Taylor <ian@cygnus.com> | |
4034 | ||
4035 | * ld.texinfo: Rearrange option documentation. | |
4036 | ||
4037 | * lexsup.c (ld_options): New static array. | |
4038 | (parse_args): Build shortopts and longopts from ld_options array. | |
4039 | (help): New static function. | |
4040 | * ldver.h (help): Don't declare. | |
4041 | * ldver.c (ldversion): Reindent. | |
4042 | (help): Remove. | |
4043 | ||
4044 | * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic. | |
4045 | ||
4046 | Mon Apr 8 11:56:23 1996 Ian Lance Taylor <ian@cygnus.com> | |
4047 | ||
4048 | * emultempl/elf32.em: When checking for a native emulation, check | |
4049 | that the current emulation is the default emulation. | |
4050 | * emultempl/sunos.em: Likewise. | |
4051 | ||
4052 | * configure.in: Permit --enable-shared to specify a list of | |
4053 | directories. | |
4054 | * configure: Rebuild. | |
4055 | ||
4056 | * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic, | |
4057 | for HP/UX compatibility. | |
4058 | ||
4059 | Fri Apr 5 14:30:14 1996 Ian Lance Taylor <ian@cygnus.com> | |
4060 | ||
4061 | * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New | |
4062 | static function, if ${host} = ${target}. | |
4063 | (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a | |
4064 | needed shared library if ${host} = $[target}. | |
4065 | ||
4066 | * configure.host (i[345]86-*-linux*): Add -dynamic-linker to | |
4067 | HOSTING_CRT0. Search -lgcc both before and after -lc in | |
4068 | HOSTING_LIBS. | |
4069 | ||
4070 | * configure.tgt: Add i[345]86-*-freebsdelf* target; from John | |
4071 | Polstra <jdp@polstra.com>. | |
4072 | ||
4073 | Fri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk> | |
4074 | ||
4075 | * emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit | |
4076 | architecture number. | |
4077 | * scripttempl/elf.sc: Use $MACHINE definition if present. | |
4078 | * configure.tgt (targ_extra_emuls): Force 4100 build to use same | |
4079 | template as 4300. | |
4080 | ||
4081 | Mon Apr 1 17:35:40 1996 Ian Lance Taylor <ian@cygnus.com> | |
4082 | ||
4083 | * ldlang.c (lang_size_sections): Change region check to handle | |
4084 | regions which end at the highest possible address correctly. | |
4085 | From Roland Weber <roweber@ira.uka.de>. | |
4086 | ||
4087 | * ldlang.c (section_already_linked): New static function. | |
4088 | (wild_doit): Discard sections with SEC_EXCLUDE set if not doing a | |
4089 | relocateable link. Don't worry about section being NULL, since it | |
4090 | never should be. Don't call init_os unless the section is going | |
4091 | to be added. | |
4092 | (ldlang_add_file): Call section_already_linked for each section. | |
4093 | * ldmain.c (multiple_definition): Don't warn about multiple | |
4094 | definitions in sections which are being discarded. | |
4095 | ||
4096 | Sun Mar 31 00:30:47 1996 steve chamberlain <sac@slash.cygnus.com> | |
4097 | ||
4098 | * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/. | |
4099 | * emultempl/pe.em (init): Remove special case PPC code. | |
4100 | ||
4101 | Fri Mar 29 00:01:29 1996 Jeffrey A Law (law@cygnus.com) | |
4102 | ||
4103 | * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long | |
4104 | so as not to overwrite the magic syscall entry at 0xc4. | |
4105 | * scripttempl/h8300h.sc: Likewise. | |
4106 | ||
4107 | Thu Mar 28 11:05:47 1996 Doug Evans <dje@canuck.cygnus.com> | |
4108 | ||
4109 | * configure.tgt (sparc64-*-solaris2*): Delete. | |
4110 | Stick with sparc-*-solaris2*. | |
4111 | ||
4112 | Wed Mar 27 12:33:24 1996 Ian Lance Taylor <ian@cygnus.com> | |
4113 | ||
4114 | * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/". | |
4115 | * ldlang.c (init_os): Fail on an attempt to initialize any section | |
4116 | named DISCARD_SECTION_NAME. | |
4117 | (wild_doit): Discard input sections assigned to an output section | |
4118 | named DISCARD_SECTION_NAME. | |
4119 | * ld.texinfo: Document use of /DISCARD/. | |
4120 | ||
4121 | * ldlang.c: Fix some indentation and comments. | |
4122 | ||
4123 | Tue Mar 26 18:14:49 1996 Ian Lance Taylor <ian@cygnus.com> | |
4124 | ||
4125 | * ldmain.c (main): Call bfd_set_error_program_name. | |
4126 | ||
4127 | Thu Mar 21 13:17:34 1996 Ian Lance Taylor <ian@cygnus.com> | |
4128 | ||
4129 | * ld.texinfo: Fix a couple of indexing entries. Mention that | |
4130 | --verbose displays builtin linker scripts. | |
4131 | ||
4132 | * ldmisc.c (vfinfo): case 'I': If the file is not in an archive, | |
4133 | and the local symbol name does not match the filename, print the | |
4134 | filename as well. | |
4135 | ||
4136 | Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF: | |
4137 | * lexsup.c (parse_args): -Bshareable is a synonym for -shared. | |
4138 | * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same | |
4139 | as TEXT_START_ADDR. | |
4140 | ||
4141 | Wed Mar 20 18:18:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4142 | ||
4143 | * ld.texinfo: Fix typos. Use @pxref only inside parentheses. | |
4144 | ||
4145 | Wed Mar 20 16:56:15 1996 Ian Lance Taylor <ian@cygnus.com> | |
4146 | ||
4147 | * ldmain.c (add_wrap): New function. | |
4148 | * ldmain.h (add_wrap): Declare. | |
4149 | * lexsup.c (parse_args): Call add_wrap. | |
4150 | ||
4151 | Tue Mar 19 16:44:20 1996 Doug Evans <dje@canuck.cygnus.com> | |
4152 | ||
4153 | * configure.host (sparc*-*-solaris2* host): Accept any sparc variant. | |
4154 | ||
4155 | Wed Mar 13 17:47:31 1996 Jeffrey A Law (law@cygnus.com) | |
4156 | ||
4157 | * scripttempl/h8300.sc: Change name of page zero memory | |
4158 | from "null" to "vectors". Create an output section for | |
4159 | vectors. Add comments on how to explicitly place items | |
4160 | in the vector table. | |
4161 | * scripttempl/h8300h.sc: Likewise. | |
4162 | ||
4163 | Wed Mar 13 12:40:18 1996 Ian Lance Taylor <ian@cygnus.com> | |
4164 | ||
4165 | * emultempl/lnk960.em (machine_table): Add jx and hx. | |
4166 | ||
4167 | * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't | |
4168 | support it. | |
4169 | ||
4170 | Tue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com> | |
4171 | ||
4172 | * ld.h (ld_config_type): Add warn_multiple_gp field. | |
4173 | * lexsup.c (parse_args): Handle --warn-multiple-gp. | |
4174 | * ldmain.c (warning_callback): Suppress multiple gp values warning | |
4175 | if --warn_multiple_gp was not used. | |
4176 | * ld.texinfo, ld.1: Document --warn-multiple-gp. | |
4177 | ||
4178 | Tue Mar 12 12:02:21 1996 Ian Lance Taylor <ian@cygnus.com> | |
4179 | ||
4180 | * lexsup.c (parse_args): Handle --wrap. | |
4181 | * ldmain.c (main): Initialize link_info.wrap_hash. | |
4182 | * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED | |
4183 | and NAME cases. | |
4184 | * ld.texinfo, ld.1: Document --wrap. | |
4185 | ||
4186 | * configure: Rebuild with autoconf 2.8. | |
4187 | ||
4188 | Don't do SunOS style dynamic linking for sparc-aout: | |
4189 | * configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4. | |
4190 | (sparclite*-fujitsu-*, sparc*-*-aout): Likewise. | |
4191 | (sparc*-wrs-vxworks*): Likewise. | |
4192 | * emulparams/sparcaout.sh: New file. | |
4193 | * Makefile.in (ALL_EMULATIONS): Add esparcaout.o. | |
4194 | (esparcaout.c): New target. | |
4195 | ||
4196 | Wed Mar 6 16:06:52 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
4197 | ||
4198 | * scripttempl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change | |
4199 | in a different manner to work around differences in shell variable | |
4200 | expansion. | |
4201 | ||
4202 | Wed Mar 6 18:08:18 1996 Ian Lance Taylor <ian@cygnus.com> | |
4203 | ||
4204 | * ldemul.h (ldemul_unrecognized_file): Declare. | |
4205 | (ldemulation_xfer_type): Add unrecognized_file field. | |
4206 | * ldemul.c (ldemul_unrecognized_file): New function. | |
4207 | * ldlang.c (load_symbols): If a file can not be recognized, call | |
4208 | ldemul_unrecognized_file before trying it as a linker script. | |
4209 | * aix.em (gld${EMULATION_NAME}_unrecognized_file): New static | |
4210 | function. | |
4211 | (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r". | |
4212 | (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file. | |
4213 | ||
4214 | Mon Mar 4 14:11:17 1996 Ian Lance Taylor <ian@cygnus.com> | |
4215 | ||
4216 | * ldlang.c (wild): Handle foo.a(.text) by mapping each included | |
4217 | member of foo.a separately. From Jouke Numan <jnuman@bazis.nl>. | |
4218 | ||
4219 | Fri Mar 1 10:24:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4220 | ||
4221 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): | |
4222 | Search trinary.cond rather than searching trinary.lhs twice. | |
4223 | ||
4224 | Tue Feb 27 15:08:43 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4225 | ||
4226 | * mpw-make.sed: Edit out shared library support. | |
4227 | (@TDIRS@): Edit out, can't use genscripts. | |
4228 | ||
4229 | Tue Feb 27 15:09:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4230 | ||
4231 | * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets. | |
4232 | * emulparams/m68klinux.sh: New file. | |
4233 | * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation): | |
4234 | Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of | |
4235 | bfd_linux_size_dynamic_sections. | |
4236 | * Makefile.in (ALL_EMULATIONS): Add em68klinux.o. | |
4237 | (em68klinux.c): New target. | |
4238 | * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts. | |
4239 | ||
4240 | Tue Feb 27 12:55:46 1996 Ian Lance Taylor <ian@cygnus.com> | |
4241 | ||
4242 | * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order. | |
4243 | Fill in missing entries. | |
4244 | ||
4245 | * lexsup.c (parse_args): Recognize --no-whole-archive. | |
4246 | * ldlang.h (lang_input_statement_type): Add whole_archive field. | |
4247 | * ldlang.c (new_afile): Set whole_archive field. | |
4248 | (load_symbols): Check input file specific whole_archive field | |
4249 | rather than global variable. | |
4250 | * ld.texinfo, ld.1: Document --no-whole-archive. | |
4251 | ||
4252 | Tue Feb 20 16:07:00 1996 Ian Lance Taylor <ian@cygnus.com> | |
4253 | ||
4254 | * configure.tgt: Correct gldi960 to gld960. | |
4255 | ||
4256 | Mon Feb 19 11:16:44 1996 Ian Lance Taylor <ian@cygnus.com> | |
4257 | ||
4258 | * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Check | |
4259 | the SONAME if it is available. | |
4260 | (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the | |
4261 | filename, when checking for conflicting library versions. Don't | |
4262 | assume that the suffix is only numbers and dots. | |
4263 | ||
4264 | * ld.texinfo: Mention that -R can be used for -rpath. | |
4265 | ||
4266 | Sun Feb 18 15:05:17 1996 Ian Lance Taylor <ian@cygnus.com> | |
4267 | ||
4268 | * configure.host: Check for 'do not mix' from native linker before | |
4269 | trying to use -rpath. | |
4270 | ||
4271 | Thu Feb 15 13:58:06 1996 Ian Lance Taylor <ian@cygnus.com> | |
4272 | ||
4273 | * configure.in: Remove explicit substitution of CFLAGS; autoconf | |
4274 | does it anyhow. | |
4275 | * configure: Rebuild. | |
4276 | * Makefile.in (LDFLAGS): Set to @LDFLAGS@. | |
4277 | ||
4278 | * configure.in: Call AC_PROG_CC before configure.host. | |
4279 | * configure: Rebuild. | |
4280 | * configure.host: Remove go32 host, since it should no longer be | |
4281 | necessary. Don't set CC for romp host. | |
4282 | ||
4283 | * scripttempl/elf.sc: Don't skip a page in virtual memory space if | |
4284 | the text segment ends exactly on a page boundary. | |
4285 | ||
4286 | * configure.in: Substitute RPATH_ENVVAR. | |
4287 | * configure: Rebuild. | |
4288 | * configure.host: Set RPATH_ENVVAR. | |
4289 | * Makefile.in (RPATH_ENVVAR): New variable. | |
4290 | (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. | |
4291 | ||
4292 | Wed Feb 14 18:49:01 1996 Alan Modra <alan@spri.levels.unisa.edu.au> | |
4293 | ||
4294 | * configure.in: Redo emulation handling so that each emulation | |
4295 | searches the correct tool directory, based on the target alias. | |
4296 | For example, "configure --enable-targets=m68k-coff i386-linux" | |
4297 | will search /usr/local/i386-linux/lib for linux and | |
4298 | /usr/local/m68k-coff/lib for m68k-coff. | |
4299 | * configure: Rebuild. | |
4300 | * configure.tgt: Add special tdir settings for Linux. | |
4301 | * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS} | |
4302 | for each eEMUL.c target. | |
4303 | * genscripts.sh: Accept specific alias as 9th argument, and use it | |
4304 | in LIB_PATH. | |
4305 | ||
4306 | Wed Feb 14 16:38:36 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> | |
4307 | ||
4308 | * ldlang.c (lang_set_startof): Don't do anything for a | |
4309 | relocateable link. | |
4310 | ||
4311 | * ldgram.y (mri_script_file): Call mri_draw_tree. | |
4312 | * mri.c (mri_draw_tree): Make globally visible. Don't bother to | |
4313 | create memory regions. | |
4314 | (mri_load): Don't call mri_draw_tree. | |
4315 | * mri.h (mri_draw_tree): Declare. | |
4316 | ||
4317 | * configure.tgt (m68*-*-psos): New target. | |
4318 | * emulparams/m68kpsos.sh: New file. | |
4319 | * scripttempl/psos.sc: New file. | |
4320 | * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o. | |
4321 | (em68kpsos.c): New target. | |
4322 | ||
4323 | Wed Feb 14 11:09:25 1996 Ian Lance Taylor <ian@cygnus.com> | |
4324 | ||
4325 | * configure.tgt (*-*-ieee*): New target; use vanilla. | |
4326 | ||
4327 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip | |
4328 | `:foo' from ${ARCH}. | |
4329 | ||
4330 | Tue Feb 13 15:58:58 1996 Bryan Ford <baford@snake.cs.utah.edu> | |
4331 | ||
4332 | * scripttempl/i386msdos.sc: Don't pad the .text section. Put | |
4333 | .rodata in .data. | |
4334 | ||
4335 | Tue Feb 13 14:04:19 1996 Ian Lance Taylor <ian@cygnus.com> | |
4336 | ||
4337 | * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared. | |
4338 | ||
4339 | * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if | |
4340 | it looks like we might be linking in two different versions of the | |
4341 | same shared library. Based on a patch from H J Lu <hjl@zoom.com>. | |
4342 | ||
4343 | Thu Feb 8 19:25:54 1996 Ian Lance Taylor <ian@cygnus.com> | |
4344 | ||
4345 | * ldlang.c (lang_size_sections): Increment the section size when a | |
4346 | padding statement is encountered. | |
4347 | ||
4348 | Wed Feb 7 14:01:33 1996 Ian Lance Taylor <ian@cygnus.com> | |
4349 | ||
4350 | * configure.in: Look for --enable-shared. Change the value of | |
4351 | BFDLIB when linking against a shared library on SunOS. | |
4352 | * configure: Rebuild. | |
4353 | * configure.host: If using a shared BFD library, try to pass a | |
4354 | reasonable -rpath option when linking. | |
4355 | * Makefile.in (BFDLIB): Set to @BFDLIB@. | |
4356 | ||
4357 | Tue Feb 6 12:29:14 1996 Doug Evans <dje@charmed.cygnus.com> | |
4358 | ||
4359 | * emulparams/elf64_sparc.sh (ARCH): Change to `sparc:v9'. | |
4360 | * emultempl/generic.em: Strip `:foo' from ${ARCH}. | |
4361 | ||
4362 | Mon Feb 5 16:25:30 1996 Ian Lance Taylor <ian@cygnus.com> | |
4363 | ||
4364 | Support for building bfd and opcodes as shared libraries, based on | |
4365 | patches from Alan Modra <alan@spri.levels.unisa.edu.au>: | |
4366 | * configure.in (HLDFLAGS): New substitution. | |
4367 | * configure: Rebuild. | |
4368 | * configure.host: Set HLDFLAGS on SunOS. | |
4369 | * Makefile.in (HLDFLAGS): New variable. | |
4370 | (BFDDEP): New variable. | |
4371 | (BFDLIB): Change to -L../bfd -lbfd. | |
4372 | ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use | |
4373 | $(HLDFLAGS) in link. | |
4374 | (check): Set LD_LIBRARY_PATH in the environment. | |
4375 | ||
4376 | Fri Feb 2 19:26:25 1996 Michael Meissner <meissner@wogglebug.tiac.net> | |
4377 | ||
4378 | * scripttempl/elfppc.sc (.sdata2, .sbss2): Put .sdata2 and .sbss | |
4379 | in the read-only section, not read/write unless we are making a | |
4380 | shared library. | |
4381 | (.debug*): Add dwarf debug sections. | |
4382 | (.rela.{sdata*,sbss*}): Add sections. | |
4383 | ||
4384 | Fri Feb 2 16:50:21 1996 Ian Lance Taylor <ian@cygnus.com> | |
4385 | ||
4386 | * configure: Regenerate. | |
4387 | ||
4388 | Thu Feb 1 10:50:46 1996 Ian Lance Taylor <ian@cygnus.com> | |
4389 | ||
4390 | * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000, | |
4391 | for SVR4 compatibility. | |
4392 | ||
4393 | * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE. | |
4394 | ||
4395 | Wed Jan 31 17:30:19 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
4396 | ||
4397 | * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New. | |
4398 | * emultempl/pe.em (definfo init): Make the default stack reserve | |
4399 | of a PPC larger. | |
4400 | ||
4401 | Wed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu> | |
4402 | ||
4403 | * configure.tgt (m68*-apple-aux*): New target. | |
4404 | * emulparams/m68kaux.sh: New file. | |
4405 | * scripttempl/m68kaux.sc: New file. | |
4406 | * Makefile.in (ALL_EMULATIONS): Add em68kaux.o. | |
4407 | (em68kaux.c): New target. | |
4408 | ||
4409 | Tue Jan 30 13:18:56 1996 Ian Lance Taylor <ian@cygnus.com> | |
4410 | ||
4411 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore | |
4412 | -bnoentry, since the right thing tends to happen anyhow. | |
4413 | ||
4414 | Mon Jan 29 12:29:26 1996 Ian Lance Taylor <ian@cygnus.com> | |
4415 | ||
4416 | * ld.texinfo, ld.1: Document -export-dynamic. | |
4417 | ||
4418 | Fri Jan 26 11:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4419 | ||
4420 | * emultempl/sunos.em: Check for native compile by comparing | |
4421 | ${target} and ${host}. | |
4422 | ||
4423 | Thu Jan 25 16:46:58 1996 James G. Smith <jsmith@cygnus.co.uk> | |
4424 | ||
4425 | * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed | |
4426 | TEXT_START_ADDR to allow use on IDT and PMON systems. | |
4427 | ||
4428 | Wed Jan 24 20:59:40 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
4429 | ||
4430 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): | |
4431 | correct spelling. | |
4432 | ||
4433 | Wed Jan 24 16:59:19 1996 Doug Evans <dje@charmed.cygnus.com> | |
4434 | ||
4435 | * configure.tgt (sparc64-*-solaris2*): New configuration. | |
4436 | (sparc64-*-aout*): Renamed from sparc64*. | |
4437 | ||
4438 | Mon Jan 22 13:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4439 | ||
4440 | * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. | |
4441 | * genscripts.sh: Set host, target and target_alias variables. | |
4442 | Check for native compile by comparing ${target} and ${host}. | |
4443 | * emultempl/elf32.em: Likewise. | |
4444 | * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}. | |
4445 | ||
4446 | Mon Jan 22 11:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
4447 | ||
4448 | * scripttempl/elfppc.sc: Refine eabi support to better support | |
4449 | .sdata, .sdata2, .sbss, etc. sections. | |
4450 | ||
4451 | Tue Jan 16 15:16:58 1996 Ian Lance Taylor <ian@cygnus.com> | |
4452 | ||
4453 | * ldgram.y (%union): Add phdr field. | |
4454 | (phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at. | |
4455 | (phdr_qualifiers): New nonterminal. Add support for FLAGS. | |
4456 | (opt_hdrs, hdr): Remove. | |
4457 | (phdr_val): New nonterminal. | |
4458 | * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr | |
4459 | and phdrs parameters. Add flags parameter. | |
4460 | (lang_record_phdrs): Update for changes to lang_phdr. Pass flags | |
4461 | to bfd_record_phdr. | |
4462 | * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and | |
4463 | phdrs fields. Add flags field. | |
4464 | (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove. | |
4465 | (lang_new_phdr): Update declaration. | |
4466 | * ld.texinfo: Document FLAGS. | |
4467 | ||
4468 | Mon Jan 15 15:07:19 1996 Ian Lance Taylor <ian@cygnus.com> | |
4469 | ||
4470 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): | |
4471 | Don't make a shared library because of an undefined reference to | |
4472 | __GLOBAL_OFFSET_TABLE_. | |
4473 | ||
4474 | Add some Irix 5 support, mostly from Kazumoto Kojima | |
4475 | <kkojima@info.kanagawa-u.ac.jp>: | |
4476 | * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips. | |
4477 | (SHLIB_TEXT_START_ADDR): Define. | |
4478 | (OTHER_GOT_SYMBOLS): Define. | |
4479 | (OTHER_READWRITE_SECTIONS): Remove initialization of _gp. | |
4480 | (EXECUTABLE_SYMBOLS): Don't define. | |
4481 | (DYNAMIC_LINK): Don't define. | |
4482 | * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh. | |
4483 | * scripttempl/elfmips.sc: New file. | |
4484 | * configure.host (mips*-dec-bsd*): Change mips to mips*. | |
4485 | (mips*-sgi-irix4*): Likewise. | |
4486 | (mips*-sgi-irix5*): New entry. | |
4487 | * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than | |
4488 | elf.sc. | |
4489 | (eelf32lmip.c): Likewise. | |
4490 | ||
4491 | Sat Jan 13 09:41:43 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
4492 | ||
4493 | * scripttempl/elfppc.sc: Remove support for .rel.* sections. Add | |
4494 | .rela.got.neg section. | |
4495 | ||
4496 | Fri Jan 12 14:56:19 1996 Ian Lance Taylor <ian@cygnus.com> | |
4497 | ||
4498 | * scripttempl/sh.sc: Only build constructors when CONSTRUCTING. | |
4499 | ||
4500 | * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if | |
4501 | ANSI_PROTOTYPES is defined. Remove special handling of | |
4502 | WINDOWS_NT. Various indendation fixes. | |
4503 | (vfinfo): Change fmt parameter to const char *. | |
4504 | (info_msg): Write <stdarg.h> version. | |
4505 | (einfo, minfo, finfo): Likewise. | |
4506 | (info_assert): Change file parameter to const char *. | |
4507 | * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is | |
4508 | defined, use a real prototype. | |
4509 | (info_assert): Change first parameter to be const char *. | |
4510 | ||
4511 | Fri Jan 12 13:29:55 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
4512 | ||
4513 | * scripttempl/elfppc.sc: Add support for .sdata2/.sbss2, etc. Add | |
4514 | in old support that 2.7.2 needs, but the current compiler does | |
4515 | not. | |
4516 | ||
4517 | * Makefile.in (eelf32{,l}ppc.c): Fix up dependencies to use the | |
4518 | correct Linker script template. | |
4519 | ||
4520 | * emulparams/elf32{,l}ppc.sh (TEXT_START_ADDR): Set to 0x40000, | |
4521 | not 0x400000. | |
4522 | (DATA_ADDR,NONPAGED_TEXT_START_ADDR): Delete. | |
4523 | ||
4524 | Tue Jan 9 15:53:02 1996 Ian Lance Taylor <ian@cygnus.com> | |
4525 | ||
4526 | * scripttempl/alpha.sc: Put .rconst right after .rdata. | |
4527 | ||
4528 | Fri Jan 5 14:07:45 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
4529 | ||
4530 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): | |
4531 | sort using right pointer. | |
4532 | ||
4533 | Fri Jan 5 12:25:47 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
4534 | ||
4535 | * scripttempl/elfppc.sc: Remove support for creating special | |
4536 | labels for eabi section begin/end here. The compiler now uses | |
4537 | crt{i,n}.o to create these symbols. | |
4538 | ||
4539 | Thu Jan 4 17:08:58 1996 Ian Lance Taylor <ian@cygnus.com> | |
4540 | ||
4541 | * configure.host: Change existing Linux HOSTING_CRT0 to be used | |
4542 | for a.out only, and put in appropriate HOSTING_CRT0 and | |
4543 | HOSTING_LIBS values for Linux ELF. | |
4544 | ||
4545 | Thu Jan 4 12:02:05 1996 Doug Evans <dje@canuck.cygnus.com> | |
4546 | ||
4547 | * scripttempl/h8300.sc: Use all 64K for ram. | |
4548 | * scripttempl/h8300h.sc: Define 256K ram size. | |
4549 | ||
4550 | Thu Dec 21 15:57:18 1995 Ian Lance Taylor <ian@cygnus.com> | |
4551 | ||
4552 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Pass | |
4553 | export_defines as true to bfd_xcoff_size_dynamic_sections if -unix | |
4554 | was used, regardless of whether -bE was used. | |
4555 | ||
4556 | Tue Dec 19 17:35:38 1995 Ian Lance Taylor <ian@cygnus.com> | |
4557 | ||
4558 | * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set | |
4559 | relocateable before calling ldctor_build_sets if the output file | |
4560 | is in an XCOFF format. | |
4561 | ||
4562 | Fri Dec 15 16:34:36 1995 Ian Lance Taylor <ian@cygnus.com> | |
4563 | ||
4564 | * ldwrite.c (build_link_order): When handling a data statement, if | |
4565 | the endianness of the output file is unknown, use the endianness | |
4566 | of the input file. | |
4567 | ||
4568 | Tue Dec 12 13:55:41 1995 Stan Shebs <shebs@andros.cygnus.com> | |
4569 | ||
4570 | * mpw-config.in: Recognize mips-*-* as equivalent to | |
4571 | mips-idt-ecoff. | |
4572 | * mpw-eppcmacos.c: Rename to shorter mpw-eppcmac.c. | |
4573 | * mpw-ld.r: Add version resources. | |
4574 | (cfrg): Use symbolic instead of literal name for executable. | |
4575 | ||
4576 | Mon Dec 11 15:13:41 1995 Kim Knuttila <krk@cygnus.com> | |
4577 | ||
4578 | * scripttempl/ppcpe.sc (FINI): Moved the .reloc section. | |
4579 | ||
4580 | Wed Dec 6 14:33:50 1995 Doug Evans <dje@canuck.cygnus.com> | |
4581 | ||
4582 | * ldlang.c (print_statement{,s}): Delete duplicate prototype. | |
4583 | (print_statement_list): Renamed from print_statement. All callers | |
4584 | updated. | |
4585 | (print_statement): New function to print just one statement. | |
4586 | (print_{data,reloc,padding}_statement): Don't crash if | |
4587 | output_section == NULL. | |
4588 | (dprint_statement): New function. | |
4589 | ||
4590 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix | |
4591 | call to sort_sections. | |
4592 | ||
4593 | Wed Dec 6 14:59:06 1995 Ian Lance Taylor <ian@cygnus.com> | |
4594 | ||
4595 | * emultempl/aix.em (unix_ld): New static variable. | |
4596 | (gld${EMULATION_NAME}_parse_args): Handle -unix. | |
4597 | (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass | |
4598 | gc as false and export_defineds as true to size_dynamic_sections. | |
4599 | ||
4600 | * ldexp.c (exp_fold_tree): Permit assignments to dot in the final | |
4601 | phase if the current section is abs_output_section. | |
4602 | ||
4603 | ||
4604 | Tue Dec 5 09:49:39 1995 Doug Evans <dje@canuck.cygnus.com> | |
4605 | ||
4606 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix call | |
4607 | to sort_sections. | |
4608 | ||
4609 | Fri Dec 1 16:48:36 1995 Ian Lance Taylor <ian@cygnus.com> | |
4610 | ||
4611 | * ldgram.y (PHDRS): New token. | |
4612 | (ifile_p1): Accept phdrs. | |
4613 | (section): Accept phdr_opt at the end of the section definition. | |
4614 | (phdr_op): New nonterminal. | |
4615 | (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise. | |
4616 | * ldlex.l: Accept PHDRS. | |
4617 | * ldlang.h (struct lang_output_section_phdr_list): Define. | |
4618 | (lang_output_section_statement_type): Add phdrs field. | |
4619 | (struct lang_phdr): Define. | |
4620 | (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define. | |
4621 | (lang_new_phdr): Declare. | |
4622 | * ldlang.c (lang_phdr_list): New static variable. | |
4623 | (lang_output_section_statement_lookup): Initialize phdrs field. | |
4624 | (lang_process): Call lang_record_phdrs. | |
4625 | (lang_new_phdr): New function. | |
4626 | (lang_section_in_phdr): New function. | |
4627 | (lang_record_phdrs): New static function. | |
4628 | * ld.texinfo: Document PHDRS. | |
4629 | ||
4630 | Thu Nov 30 13:14:30 1995 Kim Knuttila <krk@cygnus.com> | |
4631 | ||
4632 | * scripttempl/ppcpe.sc: Moved .edata into its own section to | |
4633 | expose it. | |
4634 | ||
4635 | Thu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> | |
4636 | ||
4637 | * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and | |
4638 | HOSTING_LIBS for testing. | |
4639 | (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for | |
4640 | testing. | |
4641 | ||
4642 | Tue Nov 28 12:14:53 1995 Ian Lance Taylor <ian@cygnus.com> | |
4643 | ||
4644 | * lexsup.c (parse_args): Set config.dynamic_link to false for -N | |
4645 | and -n. | |
4646 | ||
4647 | Mon Nov 27 13:12:09 1995 Ian Lance Taylor <ian@cygnus.com> | |
4648 | ||
4649 | * configure: Rebuild with autoconf 2.7. | |
4650 | ||
4651 | Fri Nov 24 18:35:35 1995 Doug Evans <dje@canuck.cygnus.com> | |
4652 | ||
4653 | * scripttempl/pe.sc: Two .junk's is too much junk. | |
4654 | ||
4655 | Tue Nov 21 16:14:32 1995 Ian Lance Taylor <ian@cygnus.com> | |
4656 | ||
4657 | * configure.in: Use BFD_NEED_DECLARATION. | |
4658 | * acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section. | |
4659 | * configure, config.in: Rebuild with autoconf 2.6. | |
4660 | ||
4661 | * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR | |
4662 | being unsupported if this is not a relocateable link and the input | |
4663 | BFD supports it, since ldctor_build_sets can cope with that case. | |
4664 | ||
4665 | Fri Nov 17 16:23:15 1995 Stan Shebs <shebs@andros.cygnus.com> | |
4666 | ||
4667 | * configure.tgt (powerpc-*-macos*): New target. | |
4668 | * emulparams/ppcmacos.sh: New file, PowerMac emulation. | |
4669 | * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o. | |
4670 | (eppcmacos.c): New target. | |
4671 | * mpw-eppcmacos.c: Update. | |
4672 | * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}. | |
4673 | ||
4674 | Fri Nov 17 10:37:27 1995 Ian Lance Taylor <ian@cygnus.com> | |
4675 | ||
4676 | * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not | |
4677 | $(host_canonical) and $(target_canonical). | |
4678 | (CXX_FOR_TARGET): Likewise. | |
4679 | ||
4680 | Thu Nov 16 11:23:42 1995 Doug Evans <dje@canuck.cygnus.com> | |
4681 | ||
4682 | * scripttempl/pe.sc (.endjunk): Move definition of `end' to here | |
4683 | so the malloc heap begins at a sane place. | |
4684 | ||
4685 | Thu Nov 16 03:09:32 1995 Ken Raeburn <raeburn@cygnus.com> | |
4686 | ||
4687 | Version 2.6 released. | |
4688 | * ldver.c (ldversion): Update to 2.6. | |
4689 | ||
4690 | * Makefile.in (mostlyclean): Delete ldemul-list.h here, but not | |
4691 | $(GENERATED_*FILES), since they need to be retained by distclean. | |
4692 | (maintainer-clean, realclean): Delete them here. | |
4693 | ||
4694 | Tue Nov 14 17:08:06 1995 Ian Lance Taylor <ian@cygnus.com> | |
4695 | ||
4696 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Open the | |
4697 | base file with FOPEN_WB, not "w". | |
4698 | ||
4699 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the | |
4700 | environment variable LD_RUN_PATH if neither -rpath nor -rpath-link | |
4701 | were used. | |
4702 | (gld${EMULATION_NAME}_before_allocation): Use the environment | |
4703 | variable LD_RUN_PATH if -rpath was not used. | |
4704 | * ld.texinfo, ld.1: Document LD_RUN_PATH. | |
4705 | ||
4706 | Thu Nov 9 13:09:29 1995 Ian Lance Taylor <ian@cygnus.com> | |
4707 | ||
4708 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize | |
4709 | -bl and -bloadmap options. | |
4710 | ||
4711 | * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target, | |
4712 | report a better error. | |
4713 | ||
4714 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add | |
4715 | new local variable special_sections, and pass it to | |
4716 | size_dynamic_sections. Look through the results, and move the | |
4717 | sections around in the mapping so that they are defined correctly. | |
4718 | ||
4719 | Wed Nov 8 11:40:59 1995 Ian Lance Taylor <ian@cygnus.com> | |
4720 | ||
4721 | * ldemul.c (ldemul_default_target): Cast getenv return value. | |
4722 | ||
4723 | Tue Nov 7 11:15:36 1995 Kim Knuttila <krk@cygnus.com> | |
4724 | ||
4725 | * emulparams/ppcpe.sh (ARCH): New file for PowerPC Portable | |
4726 | Executable support. | |
4727 | * scripttempl/ppcpe.sc: New file for PowerPC Portable Executable | |
4728 | support. | |
4729 | ||
4730 | * configure.tgt (targ_extra_emuls): Added powerpcle-pe target. | |
4731 | * Makefile.in (ALL_EMULATIONS): Added eppcpe.o target. | |
4732 | ||
4733 | * emultempl/pe.em (TARGET_IS_ppcpe): file tailoring macro | |
4734 | (gld_$_before_allocation): added hooks for toc construction based | |
4735 | on the above macro. | |
4736 | ||
4737 | Tue Nov 7 11:47:23 1995 Ian Lance Taylor <ian@cygnus.com> | |
4738 | ||
4739 | * ld.texinfo: The linker does not use _main as an entry point. | |
4740 | ||
4741 | Tue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> | |
4742 | ||
4743 | * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo | |
4744 | 0x2000 not 0x200. | |
4745 | ||
4746 | Mon Nov 6 10:59:21 1995 Ian Lance Taylor <ian@cygnus.com> | |
4747 | ||
4748 | * configure.in: Add test for whether free must be declared. | |
4749 | * sysdep.h: Declare free if necessary. Include "ansidecl.h". | |
4750 | * acconfig.h: Explain NEED_DECLARATION_FREE. | |
4751 | * configure, config.in: Rebuild. | |
4752 | ||
4753 | * lexsup.c (parse_args): Take B:: out of shortopts. | |
4754 | ||
4755 | Sun Nov 5 03:08:28 1995 Ken Raeburn <raeburn@cygnus.com> | |
4756 | ||
4757 | * emulparams/i386nbsd.sh (EXECUTABLE_SYMBOLS): Set __DYNAMIC to 0 | |
4758 | for now, as with m68k4kbsd, until shared library support gets | |
4759 | done. | |
4760 | ||
4761 | * configure.host: For i386 BSD variants, crt0.o lives in | |
4762 | /usr/lib. (True for NetBSD at least, unconfirmed for others.) | |
4763 | ||
4764 | Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> | |
4765 | ||
4766 | * Makefile.in (ALL_EMULATIONS): Add edelta68.o. | |
4767 | (edelta68.c): New target. | |
4768 | * configure.tgt (m68*-motorola-sysv*): New target. | |
4769 | * emulparams/delta68.sh: New file. | |
4770 | * scripttempl/delta68.sc: New file. | |
4771 | ||
4772 | * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section | |
4773 | addresses. | |
4774 | ||
4775 | Wed Nov 1 11:41:56 1995 Ian Lance Taylor <ian@cygnus.com> | |
4776 | ||
4777 | * ldgram.y (mri_script_command): Accept ',' as well as '=' in | |
4778 | ALIGN and ALIGNMOD statements. | |
4779 | ||
4780 | * emultempl/aix.em: Include ldgram.h. | |
4781 | (gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on | |
4782 | AIX 4.1. | |
4783 | * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h. | |
4784 | ||
4785 | Tue Oct 31 18:22:24 1995 David Mosberger-Tang <davidm@azstarnet.com> | |
4786 | ||
4787 | * configure.host (alpha-*-linux*): New host. | |
4788 | * configure.tgt (alpha-*-linux*): New target. | |
4789 | ||
4790 | Tue Oct 31 12:36:52 1995 Ian Lance Taylor <ian@cygnus.com> | |
4791 | ||
4792 | * emultempl/aix.em (export_files): Remove. | |
4793 | (import_files): Make static. | |
4794 | (struct export_symbol_list): Define. | |
4795 | (export_symbols): New static variable. | |
4796 | (gld${EMULATION_NAME}_parse_args): Handle an initial -b option | |
4797 | correctly. Call read_file for an export file. | |
4798 | (gld${EMULATION_NAME}_before_allocation): Call | |
4799 | bfd_xcoff_export_symbol for each export symbol, rather than | |
4800 | calling read_file for each export file. | |
4801 | (gld${EMULATION_NAME}_read_file): For an export file, make the | |
4802 | exported symbols undefined, and store them on the export_symbols | |
4803 | list. | |
4804 | ||
4805 | Sat Oct 28 00:10:03 1995 steve chamberlain <sac@slash.cygnus.com> | |
4806 | ||
4807 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): | |
4808 | Don't hang if last option is unrecognised. | |
4809 | (gld_${EMULATION_NAME}_set_symbols): Insert created | |
4810 | symbols into ABS output section. | |
4811 | ||
4812 | Fri Oct 27 18:03:17 1995 Niklas Hallqvist <niklas@appli.se> | |
4813 | ||
4814 | * Makefile.in (ALL_EMULATIONS): Added support for the NetBSD | |
4815 | m68k4k arch. | |
4816 | (em68k4knbsd.c): New rule. | |
4817 | ||
4818 | * configure.tgt: Added support for the NetBSD m68k4k arch. | |
4819 | ||
4820 | * genscripts.sh, ldint.texinfo, | |
4821 | emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, | |
4822 | gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, | |
4823 | hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, | |
4824 | i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, | |
4825 | m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, | |
4826 | pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, | |
4827 | st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed | |
4828 | PAGE_SIZE to TARGET_PAGE_SIZE. | |
4829 | ||
4830 | * emulparams/m68knbsd.h: Ditto. | |
4831 | (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. | |
4832 | (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time | |
4833 | being. | |
4834 | ||
4835 | * emulparams/m68k4knbsd.sh: New file. | |
4836 | ||
4837 | * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating. | |
4838 | ||
4839 | Fri Oct 27 17:59:09 1995 Ian Lance Taylor <ian@cygnus.com> | |
4840 | ||
4841 | * emultempl/aix.em: Include ldctor.h. | |
4842 | (gld${EMULATION_NAME}_after_open): New static function. | |
4843 | (gld${EMULATION_NAME}_before_allocation): Call find_relocs. | |
4844 | (gld${EMULATION_NAME}_find_relocs): New static function. | |
4845 | (gld${EMULATION_NAME}_find_exp_assignment): New static function. | |
4846 | (ld_${EMULATION_NAME}_emulation): Use new after_open function. | |
4847 | * scripttempl/aix.sc: Use CONSTRUCTORS in .data. | |
4848 | * ldctor.c (struct set_info): Move definition into ldctor.h. | |
4849 | (struct set_element): Likewise. | |
4850 | (sets): Make non-static. | |
4851 | (ldctor_add_set_entry): Add name parameter. Save it in the new | |
4852 | set element. | |
4853 | (ldctor_build_sets): Avoid being called twice. Pass set element | |
4854 | name to lang_add_reloc. | |
4855 | * ldctor.h (struct set_info): Move definition here from ldctor.c. | |
4856 | (struct set_element): Likewise. Add new field name. | |
4857 | (sets): Declare. | |
4858 | (ldctor_add_set_entry): Declare new name parameter. | |
4859 | * ldwrite.c (build_link_order): Don't insist that either name or | |
4860 | section be NULL in a lang_reloc_statement. | |
4861 | * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for | |
4862 | new name parameter. | |
4863 | (constructor_callback): Pass name to ldctor_add_new_set_entry for | |
4864 | new name parameter. | |
4865 | ||
4866 | * ldmisc.c (demangle): Fix indentation. Remove a leading period. | |
4867 | ||
4868 | Thu Oct 26 22:22:49 1995 Stan Shebs <shebs@andros.cygnus.com> | |
4869 | ||
4870 | * mpw-config.in: Add PowerMac target support, generate config.h. | |
4871 | * mac-ld.r: New file, Mac resources. | |
4872 | * mpw-make.sed: New file, edits Makefile.in into MPW syntax. | |
4873 | * mpw-make.in: Remove. | |
4874 | * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script. | |
4875 | ||
4876 | Thu Oct 26 14:11:26 1995 Ian Lance Taylor <ian@cygnus.com> | |
4877 | ||
4878 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat | |
4879 | -static as a synonym for -bnso. | |
4880 | ||
4881 | * scripttempl/aix.sc: Move special symbols inside sections. | |
4882 | Always start .data at 0. | |
4883 | ||
4884 | Wed Oct 25 11:52:12 1995 Per Bothner <bothner@kalessin.cygnus.com> | |
4885 | ||
4886 | * Makefile.in (diststuff): Also make info. | |
4887 | (maintainer-clean realclean): Also delete *.info*. | |
4888 | ||
4889 | Wed Oct 25 11:27:25 1995 Ian Lance Taylor <ian@cygnus.com> | |
4890 | ||
4891 | * emultempl/aix.em: Add support for various AIX linker options, | |
4892 | for AIX import and export files, and for AIX shared objects. | |
4893 | * scripttempl/aix.sc: Add .pad. Put .ds just before the TOC. | |
4894 | ||
4895 | * ldmain.c (main): Initialize new field link_info.static_link. | |
4896 | ||
4897 | * ldmain.c (add_keepsyms_file): Add \n at end of einfo calls. | |
4898 | (constructor_callback): Likewise. | |
4899 | * ldmisc.c (vfinfo): Likewise. | |
4900 | * ldwrite.c (build_link_order): Likewise. | |
4901 | ||
4902 | * ld.texinfo: The MRI ALIGN directive is supported. | |
4903 | ||
4904 | Mon Oct 23 11:46:43 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> | |
4905 | ||
4906 | * emulparams/elf32vr4300.sh: Deleted. | |
4907 | * emulparams/elf32vr4300el.sh: Deleted. | |
4908 | * emulparams/elf32b4300.sh: Added. | |
4909 | * emulparams/elf32l4300.sh: Added. | |
4910 | * configure.tgt, Makefile.in: Updated the build to use the | |
4911 | new 8.3 unique names. | |
4912 | ||
4913 | Thu Oct 19 17:41:46 1995 Ian Lance Taylor <ian@cygnus.com> | |
4914 | ||
4915 | * ldlang.c (entry_symbol): Make non-static. | |
4916 | * ldlang.h (entry_symbol): Declare. | |
4917 | ||
4918 | * ldlex.l: Treat PROVIDE as a keyword in expression state. | |
4919 | ||
4920 | Wed Oct 18 17:34:06 1995 steve chamberlain <sac@slash.cygnus.com> | |
4921 | ||
4922 | * scripttempl/pe.sc (.bss): Move to be after .text | |
4923 | ||
4924 | Tue Oct 17 12:22:05 1995 Ian Lance Taylor <ian@cygnus.com> | |
4925 | ||
4926 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment): | |
4927 | Search trinary.cond rather than searching trinary.lhs twice. From | |
4928 | linli@ihp.PHys.ethz.CH. | |
4929 | ||
4930 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move | |
4931 | directory searching code into gld${EMULATION_NAME}_search_dir. | |
4932 | (gld${EMULATION_NAME}_search_dir): New static function, extracted | |
4933 | from gld${EMULATION_NAME}_find_so. | |
4934 | (global_needed, global_found): New static variables. | |
4935 | (gld${EMULATION_NAME}_after_open): New static function. | |
4936 | (gld${EMULATION_NAME}_search_needed): New static function. | |
4937 | (gld${EMULATION_NAME}_try_needed): New static function. | |
4938 | (gld${EMULATION_NAME}_check_needed): New static function. | |
4939 | (ld_${EMULATION_NAME}_emulation): Use new after_open function. | |
4940 | * ld.texinfo, ld.1: Mention -rpath-link on SunOS. | |
4941 | ||
4942 | * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em. | |
4943 | (eelf32lppc.c): Likewise. | |
4944 | * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32. | |
4945 | (GENERATE_SHLIB_SCRIPT): Define as yes. | |
4946 | ||
4947 | Mon Oct 16 19:11:13 1995 Ian Lance Taylor <ian@cygnus.com> | |
4948 | ||
4949 | * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named | |
4950 | bfd_link_needed-list; make appropriate changes. | |
4951 | ||
4952 | * configure.tgt (powerpc-*-aix*): New target; use aixppc. | |
4953 | (rs6000-*-aix*): New target; use aixrs6. | |
4954 | * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. | |
4955 | * emultempl/aix.em: New file. | |
4956 | * scripttempl/aix.sc: New file. | |
4957 | * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. | |
4958 | (eaixppc.c, eaixrs6.c): New targets. | |
4959 | ||
4960 | Fri Oct 13 14:00:37 1995 steve chamberlain <sac@slash.cygnus.com> | |
4961 | ||
4962 | * scripttemp/pe.sc (.reloc): Move to the end. | |
4963 | ||
4964 | Tue Oct 10 17:53:22 1995 Ian Lance Taylor <ian@cygnus.com> | |
4965 | ||
4966 | * ldlang.c (lang_finish): Don't try to use an entry_symbol from a | |
4967 | section which was not linked into the final output. | |
4968 | ||
4969 | Tue Oct 10 10:17:22 1995 steve chamberlain <sac@slash.cygnus.com> | |
4970 | ||
4971 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix | |
4972 | fatal typos. | |
4973 | ||
4974 | Tue Oct 10 01:01:51 1995 Ian Lance Taylor <ian@cygnus.com> | |
4975 | ||
4976 | * ld.h (args_type): Add rpath_link field. | |
4977 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for | |
4978 | required dependencies in rpath_link path. Only search | |
4979 | LD_LIBRARY_PATH when configured native. | |
4980 | * lexsup.c (parse_args): Recognize -rpath-link. | |
4981 | * ld.1, ld.texinfo: Document -rpath-link. | |
4982 | ||
4983 | Sat Oct 7 17:07:17 1995 Ian Lance Taylor <ian@cygnus.com> | |
4984 | ||
4985 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't | |
4986 | bother searching for needed libraries unless doing a final link. | |
4987 | ||
4988 | Fri Oct 6 16:26:16 1995 Ken Raeburn <raeburn@cygnus.com> | |
4989 | ||
4990 | Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4991 | ||
4992 | * ld/ld.1: Fix formatting bugs. | |
4993 | ||
4994 | Wed Oct 4 17:37:46 1995 Ian Lance Taylor <ian@cygnus.com> | |
4995 | ||
4996 | * ldexp.c (exp_get_abs_int): Return bfd_vma, not int. | |
4997 | * ldexp.h (exp_get_abs_int): Update declaration. | |
4998 | * ldlang.c (print_output_section_statement): Use fprintf_vma to | |
4999 | print return value of exp_get_abs_int. | |
5000 | ||
5001 | Mon Oct 2 13:56:09 1995 Ian Lance Taylor <ian@cygnus.com> | |
5002 | ||
5003 | * emultempl/elf32.em (global_stat): New file static variable. | |
5004 | (gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure | |
5005 | that the file has not already been included under another name. | |
5006 | (gld${EMULATION_NAME}_stat_needed): New static function. | |
5007 | ||
5008 | Fri Sep 29 12:00:18 1995 Doug Evans <dje@deneb.cygnus.com> | |
5009 | ||
5010 | * scripttempl/armcoff.sc: Start .text at 0x8000. | |
5011 | Start .data at 0x40000. | |
5012 | ||
5013 | Fri Sep 29 11:09:46 1995 Ian Lance Taylor <ian@cygnus.com> | |
5014 | ||
5015 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If | |
5016 | command_line.rpath is set, use it, rather than the -L options, to | |
5017 | build the rules section. | |
5018 | * ld.texinfo: Document this use of -rpath. | |
5019 | ||
5020 | * lexsup.c (parse_args): Don't set link_info.shared for -assert | |
5021 | pure-text. Pass true, not 1, to lang_add_entry. | |
5022 | * emultempl/sunos.em (find_assign): New static variable. | |
5023 | (found_assign): New static variable. | |
5024 | (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn. | |
5025 | If not a relocateable link, and no start symbol was specified on | |
5026 | the command line, and there are any undefined symbols, set | |
5027 | link_info.shared. If link_info.shared is set, set the address of | |
5028 | the .text section to 0x20. | |
5029 | (gld${EMULATION_NAME}_find_assignment): Rename from | |
5030 | gld${EMULATION_NAME}_find_statement_assignment. If find_assign is | |
5031 | set, then just set found_assign based on whether an assignment is | |
5032 | found to find_assign. | |
5033 | (gld${EMULATION_NAME}_get_script): Don't use a special script when | |
5034 | producing a shared library. | |
5035 | * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove. | |
5036 | * scripttempl/aout.sc: Remove CREATE_SHLIB tests. | |
5037 | * ldlang.c (entry_from_cmdline): New global variable. | |
5038 | (lang_add_entry): Change cmdline parameter from int to boolean. | |
5039 | Use global entry_from_cmdline rather than function static | |
5040 | from_cmdline. | |
5041 | * ldlang.h (entry_from_cmdline): Declare. | |
5042 | (lang_add_entry): Change declaration of second parameter from int | |
5043 | to boolean. | |
5044 | * ldgram.y: Pass false, not 0, to lang_add_entry. | |
5045 | ||
5046 | Thu Sep 28 12:34:13 1995 Ian Lance Taylor <ian@cygnus.com> | |
5047 | ||
5048 | * ld.h (parsing_defsym): Declare. | |
5049 | * ldlex.h (lex_string): Declare. | |
5050 | * ldlex.l (lex_string): Define. | |
5051 | * lexsup.c (parsing_defsym): Define. | |
5052 | (parse_args): In OPTION_DEFSYM case, set lex_string before calling | |
5053 | lex_redirect, and clear it after calling yyparse. Set | |
5054 | parsing_defsym around call to yyparse. | |
5055 | * ldmain.c (main): Set lex_string before calling lex_redirect, and | |
5056 | clear it after calling yyparse. | |
5057 | * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built | |
5058 | in linker scripts correctly. | |
5059 | ||
5060 | * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like other | |
5061 | COFF targets, allowing for the leading underscore used on SPARC | |
5062 | COFF. | |
5063 | ||
5064 | * lexsup.c (parse_args): Handle -assert. | |
5065 | * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define. | |
5066 | * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the | |
5067 | shared library script when appropriate. | |
5068 | * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text | |
5069 | section at SIZEOF_HEADERS. | |
5070 | ||
5071 | Thu Sep 28 01:40:37 1995 Doug Evans <dje@deneb.cygnus.com> | |
5072 | ||
5073 | * Makefile.in (earmcoff.c): Build. | |
5074 | * configure.tgt (arm-*-coff): New target | |
5075 | * emulparms/armcoff.sh: New file. | |
5076 | * scripttempl/armcoff.sc: New file. | |
5077 | ||
5078 | Tue Sep 26 10:59:32 1995 Ian Lance Taylor <ian@cygnus.com> | |
5079 | ||
5080 | * scripttempl/i386coff.sc: Remove .data2; no longer needed. | |
5081 | ||
5082 | Fri Sep 22 18:09:02 1995 Ian Lance Taylor <ian@cygnus.com> | |
5083 | ||
5084 | * ldfile.c (ldfile_set_output_arch): Make arch const. | |
5085 | ||
5086 | Thu Sep 21 17:55:24 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
5087 | ||
5088 | * scripttempl/elfppc.sc: Correctly locate __bss_start at the | |
5089 | beginning of the .bss area, not at the end of data. Add | |
5090 | __sbss_{start,end} symbols. | |
5091 | ||
5092 | Wed Sep 20 12:29:36 1995 Ian Lance Taylor <ian@cygnus.com> | |
5093 | ||
5094 | * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name). | |
5095 | (CXX_FOR_TARGET, install): Likewise. | |
5096 | ||
5097 | Mon Sep 18 14:53:22 1995 Ian Lance Taylor <ian@cygnus.com> | |
5098 | ||
5099 | Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>: | |
5100 | * Makefile.in (CC_FOR_TARGET): Remove brokensed stuff. | |
5101 | (CXX_FOR_TARGET): Likewise. | |
5102 | (install): Likewise. | |
5103 | (GENERATED_HFILES): Remove config.h. | |
5104 | (.dep): Depend upon config.h. | |
5105 | ||
5106 | Mon Sep 18 14:39:38 1995 Arne H. Juul <arnej@pvv.unit.no> | |
5107 | ||
5108 | * configure.tgt (mips*-dec-netbsd*): New target. | |
5109 | ||
5110 | Fri Sep 15 20:01:52 1995 Ken Raeburn <raeburn@cygnus.com> | |
5111 | ||
5112 | * configure.host (m88*-*-dgux*): Fix another shell syntax error. | |
5113 | ||
5114 | Fri Sep 15 23:28:05 1995 Andrew Cagney <cagney@highland.com.au> | |
5115 | ||
5116 | * configure.host (i[345]86-*-bsd*): Fix shell syntax error. | |
5117 | ||
5118 | Thu Sep 12 12:50:49 1995 steve chamberlain <sac@slash.cygnus.com> | |
5119 | ||
5120 | * scripttemp/pe.sc: Allow both spellings of .ctors/.dtors. | |
5121 | Start .text section on the right boundary. Always align | |
5122 | stabs. | |
5123 | ||
5124 | Tue Sep 12 12:24:17 1995 Ian Lance Taylor <ian@cygnus.com> | |
5125 | ||
5126 | * Makefile.in (maintainer-clean): New target. | |
5127 | ||
5128 | * ldmain.c (struct warning_callback_info): Define. | |
5129 | (warning_callback): Add new parameter symbol. Call | |
5130 | warning_find_reloc to try to find the section and VMA. | |
5131 | (warning_find_reloc): New static function. | |
5132 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
5133 | Pass NULL as symbol parameter to warning callback. | |
5134 | ||
5135 | * ld.texinfo: Clarify -L option. | |
5136 | ||
5137 | * ldlang.c (lang_one_common): Add cast to avoid warning. | |
5138 | (topower): Likewise. Also, reindent. | |
5139 | * ldwrite.c (clone_section): Change i to unsigned int. | |
5140 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add | |
5141 | cast to avoid warning. | |
5142 | ||
5143 | Fri Sep 8 16:32:43 1995 Ian Lance Taylor <ian@cygnus.com> | |
5144 | ||
5145 | * Makefile.in (config.status): Depend upon configure.tgt. | |
5146 | ||
5147 | * ldemul.h (ldemul_set_symbols): Declare. | |
5148 | (ldemul_parse_args): Declare. | |
5149 | * ldemul.c (ldemul_parse_args): Fix indentation. | |
5150 | ||
5151 | * configure.in: Call AC_HEADER_DIRENT. | |
5152 | * configure, config.in: Rebuild. | |
5153 | * emultempl/sunos.em: Use autoconf recommend mechanism to define | |
5154 | DIR and struct dirent. | |
5155 | ||
5156 | * configure.tgt (mips*-*-bsd*): New case. | |
5157 | ||
5158 | * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*) | |
5159 | New case. | |
5160 | * configure.tgt (i[345]86-*-ptx*): New case. | |
5161 | ||
5162 | Thu Sep 7 10:48:26 1995 Ian Lance Taylor <ian@cygnus.com> | |
5163 | ||
5164 | * config.in: Rename from config.h.in. | |
5165 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
5166 | Check for config.h:config.in when creating stamp-h. | |
5167 | * configure: Rebuild. | |
5168 | * Makefile.in (stamp-h): Depend upon config.in rather than | |
5169 | config.h.in. Set CONFIG_HEADERS to config.h:config.in when | |
5170 | calling config.status. | |
5171 | ||
5172 | * Makefile.in (distclean): Remove config.h and stamp-h. | |
5173 | ||
5174 | * configure.host (sparc-*-sunos64*): Remove. | |
5175 | * ldlang.c (lang_map): Check BFD64, not HOST_64_BIT. | |
5176 | ||
5177 | * ldexp.c (exp_fold_tree): Don't warn about moving the location | |
5178 | counter backward in the absolute section. | |
5179 | ||
5180 | Wed Sep 6 14:42:11 1995 Ian Lance Taylor <ian@cygnus.com> | |
5181 | ||
5182 | * configure.in: Rewrite to use autoconf. | |
5183 | * configure.host: New file. | |
5184 | * configure.tgt: New file. | |
5185 | * aclocal.m4: New file. | |
5186 | * configure: New file, built by autoconf. | |
5187 | * acconfig.h: New file. | |
5188 | * config.h.in: New file, built by autoheader. | |
5189 | * sysdep.h: New file. | |
5190 | * ld.h: Incorporate old contents of config.h. | |
5191 | * config.h: Remove. | |
5192 | * Makefile.in: Various changes for new configure script. Also: | |
5193 | (CC_FOR_BUILD): Remove. | |
5194 | (ldmain.o): Don't bother to ensure that EMUL is non-empty. | |
5195 | (dep.sed): Use @SRCDIR@, not @srcdir@. | |
5196 | * dep-in.sed: Use @SRCDIR@, not @srcdir@. | |
5197 | * genscripts.sh: Create ldscripts if it does not exist. | |
5198 | * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h". | |
5199 | * mpw-esh.c, emultemp/*.em: Likewise. | |
5200 | * ldmain.c: Likewise. Include <ctype.h>. Don't try to set | |
5201 | HAVE_SBRK here. | |
5202 | * config/*.mt, config/*.mh: Remove. | |
5203 | ||
5204 | Tue Sep 5 14:55:24 1995 Ken Raeburn <raeburn@cygnus.com> | |
5205 | ||
5206 | * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and | |
5207 | ns32k-pc532-lites* like ns32k-pc532-netbsd*. From Ian Dall. | |
5208 | ||
5209 | Fri Sep 1 22:29:52 1995 Doug Evans <dje@canuck.cygnus.com> | |
5210 | ||
5211 | * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors. | |
5212 | ||
5213 | Fri Sep 1 13:13:29 1995 Ian Lance Taylor <ian@cygnus.com> | |
5214 | ||
5215 | * ldmain.c (warning_callback): Add abfd, section, and address | |
5216 | parameters. | |
5217 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
5218 | Change call to warning accordingly. | |
5219 | ||
5220 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not | |
5221 | relocateable and not shared, put .gnu.warning.SYMBOL sections into | |
5222 | the .text section. | |
5223 | ||
5224 | Fri Sep 1 08:35:16 1995 James G. Smith <jsmith@beauty.cygnus.com> | |
5225 | ||
5226 | * configure.in: Added mips*vr4300-idt-elf* and | |
5227 | mips*vr4300el-idt-elf* targets. | |
5228 | * Makefile.in: Added eelf32vr4300* targets. | |
5229 | * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added. | |
5230 | * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added. | |
5231 | ||
5232 | Fri Sep 1 10:51:45 1995 Ian Lance Taylor <ian@cygnus.com> | |
5233 | ||
5234 | * scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe | |
5235 | <brendan@cygnus.com>. | |
5236 | ||
5237 | Thu Aug 31 16:37:07 1995 steve chamberlain <sac@slash.cygnus.com> | |
5238 | ||
5239 | * ldemul.c (ldemul_parse_args): New. | |
5240 | * ldemul.h (ld_emulation_xfer_struct): Add parse_args. | |
5241 | * lexsup.c (all pe stuff): Moved into pe.em | |
5242 | (parse_args): Call emulation arg parser. | |
5243 | * emultempl/pe.em (parse_args): handle PE specfic args. | |
5244 | ||
5245 | Thu Aug 31 17:01:37 1995 Ian Lance Taylor <ian@cygnus.com> | |
5246 | ||
5247 | * ldlang.c (lang_memory_region_lookup): Don't use the first region | |
5248 | as the default region. Create a new region instead. | |
5249 | ||
5250 | Tue Aug 29 14:21:41 1995 steve chamberlain <sac@slash.cygnus.com> | |
5251 | ||
5252 | * ldemul.c (ldemul_set_symbols): New function. | |
5253 | * ldemul.h (ld_emulation_xfer_struct): Add set_symbols. | |
5254 | * ldmain.c (main): Add call to ldemul_set_symbols. | |
5255 | * lexsup.c (set_pe_value): New args. | |
5256 | (set_pe_name): New. | |
5257 | (parse_args): Cope with new set_pe_value args. | |
5258 | * emultempl/pe.em (set_symbols): New function. | |
5259 | (ld_emulation_xfer_struct): Add set_symbols. | |
5260 | * scripttempl/pe.sc: Use new symbols. | |
5261 | ||
5262 | Thu Aug 24 18:12:18 1995 Ian Lance Taylor (ian@cygnus.com) | |
5263 | ||
5264 | * lexsup.c (parse_args): Don't call set_default_dirlist for -O. | |
5265 | For -Y, ignore a leading `P,', and only call set_default_dirlist | |
5266 | after processing all the other arguments. | |
5267 | ||
5268 | Tue Aug 22 07:36:58 1995 steve chamberlain <sac@slash.cygnus.com> | |
5269 | ||
5270 | * scripttempl/pe.sc: Keep .edata, don't base stabs at 0. | |
5271 | * emulparams/armpe.sh: Run PE script. | |
5272 | ||
5273 | Mon Aug 21 18:30:42 1995 steve chamberlain <sac@slash.cygnus.com> | |
5274 | ||
5275 | * ldmain.c (main): Remove PE stuff. | |
5276 | * lexsup.c (options): Load more PE options. | |
5277 | (set_pe_value): New function. | |
5278 | ||
5279 | Thu Aug 17 13:35:49 1995 steve chamberlain <sac@slash.cygnus.com> | |
5280 | ||
5281 | ||
5282 | * emultempl/{armpe.sc, i386pe.sc}: Deleted. | |
5283 | * emultempl/pe.sc: New file performs generic PE support and sorts | |
5284 | archive members. | |
5285 | * emulparams/{armpe.sh,i386pe.sh}: Use new file. | |
5286 | * scripttempl/{armpe.sc, i386pe.sc}: Deleted | |
5287 | * scripttempl/pe.sc: New. | |
5288 | * Makefile.in: Use new files. | |
5289 | ||
5290 | Thu Aug 17 14:46:34 1995 Doug Evans <dje@canuck.cygnus.com> | |
5291 | ||
5292 | * scripttempl/h8500s.sc (.rdata): All data must go in data segment. | |
5293 | (.strings,.ctors,.dtors): Likewise. | |
5294 | ||
5295 | Wed Aug 16 11:38:59 1995 steve chamberlain <sac@slash.cygnus.com> | |
5296 | ||
5297 | * scripttempl/armpe.sc: Always start code at 0x401000, even | |
5298 | if -r. | |
5299 | * ldwrite.c (strdup): New extern declaration. | |
5300 | * ldgram.y (atype): New rule to clarify type parsing. | |
5301 | * ldlang.c (init_os): Remove commented out code. | |
5302 | (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits | |
5303 | unless told not to by the link script. | |
5304 | ||
5305 | Wed Aug 16 11:45:11 1995 Ian Lance Taylor <ian@cygnus.com> | |
5306 | ||
5307 | * ldlang.c (lang_set_startof): New static function. | |
5308 | (lang_process): Call it. | |
5309 | ||
5310 | * ldgram.y: Tweak casesymlist to avoid bison errors. | |
5311 | ||
5312 | * lexsup.c (parse_args): Accept -h as a synonym for --soname, for | |
5313 | Solaris compatibility. | |
5314 | ||
5315 | Tue Aug 15 17:31:16 1995 Ian Lance Taylor <ian@cygnus.com> | |
5316 | ||
5317 | * ldgram.y (YYDEBUG): If not defined, define as 1. | |
5318 | (CASE, EXTERN, START): New tokens. | |
5319 | (mri_script_command): Handle CASE, EXTERN, INCLUDE, START. | |
5320 | (casesymlist): New nonterminal. | |
5321 | (extern_name_list): New nonterminal. | |
5322 | * ldlex.l: Accept lower case trailing base specifiers. Don't | |
5323 | ignore the first digit when the base is a suffix. Accept many | |
5324 | EXPRESSION state tokens in MRI state. Support MRI continuation | |
5325 | lines and MRI semicolon comments. Accept all MRI keywords in | |
5326 | lower case. Add CASE, EXTERN, and START MRI keywords. | |
5327 | ||
5328 | Tue Aug 8 19:14:58 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> | |
5329 | ||
5330 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc | |
5331 | instead of alloca. | |
5332 | ||
5333 | Tue Aug 8 15:24:05 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
5334 | ||
5335 | * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use | |
5336 | $r/../gcc/xgcc unless it is present. | |
5337 | ||
5338 | Thu Aug 3 11:56:22 1995 Ian Lance Taylor <ian@cygnus.com> | |
5339 | ||
5340 | * scripttempl/m68kcoff.sc: Only put .ctors and .dtors in .text | |
5341 | when CONSTRUCTING. | |
5342 | * scripttempl/m68klynx.sc: Likewise. | |
5343 | * scripttempl/nw.sc: Likewise. | |
5344 | * scripttempl/sa29200.sc: Likewise. | |
5345 | * scripttempl/sparclynx.sc: Likewise. | |
5346 | ||
5347 | Fri Jul 28 12:02:23 1995 steve chamberlain <sac@slash.cygnus.com> | |
5348 | ||
5349 | * emulparams/{z8001.sh, z8002.sh}: Fix typo. | |
5350 | ||
5351 | Thu Jul 27 21:06:21 1995 Ken Raeburn <raeburn@cygnus.com> | |
5352 | ||
5353 | * configure.in (i[345]86-*-linuxoldld): Treat like linuxaout*. | |
5354 | ||
5355 | Thu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com> | |
5356 | ||
5357 | * scripttempl/i386pe.sc: Cope with constructors. | |
5358 | * scripttempl/z8ksim.sc: Deleted. | |
5359 | * scripttempl/z8000.sc: Resurrected as this, but | |
5360 | can handle z8001 and z8002 formats. | |
5361 | * emulparams/z8ksim.sh: Deleted. | |
5362 | * emulparams/{z8001.sh, z8002.sh}: New files. | |
5363 | * config/z8ksim.mt: Deleted | |
5364 | * config/z8k-coff.mt: New, generates both emulations. | |
5365 | ||
5366 | Tue Jul 25 14:53:02 1995 Ian Lance Taylor <ian@cygnus.com> | |
5367 | ||
5368 | * ldmisc.c (vfinfo): In %C and %D case, always print the BFD using | |
5369 | %B, in case it is in an archive. | |
5370 | ||
5371 | Mon Jul 24 15:23:39 1995 Ian Lance Taylor <ian@cygnus.com> | |
5372 | ||
5373 | * ldlang.c (lang_process): Call reset_memory_regions for each | |
5374 | relaxation pass. | |
5375 | ||
5376 | Fri Jul 21 22:49:44 1995 Michael Meissner <meissner@cygnus.com> | |
5377 | ||
5378 | * scripttempl/elfppc.sc: Add support for .sdata, .sbss, and | |
5379 | _SDA_BASE. | |
5380 | ||
5381 | Thu Jul 20 16:26:55 1995 Ken Raeburn <raeburn@cygnus.com> | |
5382 | ||
5383 | * ldmain.c (constructor_callback): Allocate set_name in stack | |
5384 | frame, rather than always calling alloca with a fixed size. | |
5385 | ||
5386 | Wed Jul 19 16:21:43 1995 Doug Evans <dje@canuck.cygnus.com> | |
5387 | ||
5388 | * emulparams/armpe.sh (OUTPUT_FORMAT): Change to pei-arm-little. | |
5389 | (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define. | |
5390 | ||
5391 | Mon Jul 17 13:57:00 1995 Ian Lance Taylor <ian@cygnus.com> | |
5392 | ||
5393 | * ldwrite.c (clone_section): Set the alignment of the clone | |
5394 | section to that of the section being cloned. | |
5395 | ||
5396 | * ldwrite.c (split_sections): Don't split the first input section | |
5397 | into a new output section. | |
5398 | ||
5399 | Sat Jul 15 00:26:35 1995 Michael Meissner <meissner@cygnus.com> | |
5400 | ||
5401 | * emulparams/elf32ppc.sh (TEMPLATE_NAME): Define as elf32. | |
5402 | (GENERATE_SHLIB_SCRIPT): Define as yes. | |
5403 | ||
5404 | Fri Jul 14 12:11:46 1995 Ian Lance Taylor <ian@cygnus.com> | |
5405 | ||
5406 | * emultempl/mipsecoff.em (check_sections): Use %P, not %F. | |
5407 | ||
5408 | * ldver.c (help): Update list of options to match currently | |
5409 | supported list. | |
5410 | ||
5411 | Thu Jul 13 13:52:10 1995 Ian Lance Taylor <ian@cygnus.com> | |
5412 | ||
5413 | * emultempl/lnk960.em (ld_lnk960_emulation): Initialize | |
5414 | after_open field. | |
5415 | ||
5416 | * ldexp.c (exp_intop): Don't cast stat_alloc arg to bfd_size_type; | |
5417 | it takes a size_t anyhow. | |
5418 | (exp_binop): Likewise. | |
5419 | (exp_trinop): Likewise. | |
5420 | (exp_unop): Likewise. | |
5421 | (exp_nameop): Likewise. | |
5422 | (exp_assop): Likewise. | |
5423 | * ldlang.c (lang_memory_region_lookup): Likewise. | |
5424 | (init_os): Likewise. | |
5425 | (ldlang_add_undef): Likewise. | |
5426 | (insert_pad): Likewise. | |
5427 | * ldfile.c (ldfile_add_arch): Don't cast xmalloc arg to | |
5428 | bfd_size_type. | |
5429 | ||
5430 | * Makefile.in (ALL_EMULATIONS): It's earmaoutb.o, not earmoutb.o. | |
5431 | ||
5432 | Wed Jul 12 11:32:22 1995 Ian Lance Taylor <ian@cygnus.com> | |
5433 | ||
5434 | * ldemul.h (ldemul_open_dynamic_archive): Add search parameter to | |
5435 | declaration. | |
5436 | (ld_emulation_xfer_type): Add search parameter to | |
5437 | open_dynamic_archive entry point. | |
5438 | * ldemul.c (ldemul_open_dynamic_archive): Add search parameter. | |
5439 | * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and | |
5440 | make non-static. Change all callers to use new name. | |
5441 | (ldfile_open_file_search): Make static. If entry is dynamic, call | |
5442 | ldemul_open_dynamic_archive. | |
5443 | (ldfile_open_file): Don't call ldemul_open_dynamic_archive. | |
5444 | * ldfile.h (ldfile_open_file_search): Don't declare. | |
5445 | (ldfile_try_open_bfd): Declare. | |
5446 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
5447 | Accept search parameter. Don't search for a library, just look in | |
5448 | a single place. | |
5449 | * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
5450 | Likewise. | |
5451 | ||
5452 | Tue Jul 11 16:44:21 1995 Ian Lance Taylor <ian@cygnus.com> | |
5453 | ||
5454 | * ldmain.c (set_scripts_dir): Don't base script directory on | |
5455 | current directory. | |
5456 | ||
5457 | Tue Jul 11 12:29:02 1995 Rick Sladkey <jrs@world.std.com> | |
5458 | ||
5459 | * ldmisc.c (vfinfo): Don't print the line number if it isn't | |
5460 | meaningful. | |
5461 | ||
5462 | Mon Jul 10 13:38:28 1995 Ian Lance Taylor <ian@cygnus.com> | |
5463 | ||
5464 | * ld.h (ld_config_type): Add field warn_constructors. | |
5465 | * ldmain.c (add_to_set): Warn if config.warn_constructors. | |
5466 | (constructor_callback): Likewise. | |
5467 | * lexsup.c (parse_args): Handle -warn-constructors. | |
5468 | * ld.texinfo, ld.1: Document -warn-constructors. | |
5469 | ||
5470 | * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don't | |
5471 | get confused by directory names if we searched for the file. | |
5472 | ||
5473 | Based on patches from H.J. Lu <hjl@nynexst.com>: | |
5474 | * ldlang.h (lang_input_statement_type): Add new field dynamic. | |
5475 | * ldlang.c (new_afile): Set dynamic from config.dynamic_link. | |
5476 | * ldfile.c: Include bfdlink.h. | |
5477 | (ldfile_open_file): Check dynamic field of entry, not global | |
5478 | dynamic_link field. Don't do a dynamic search when doing a | |
5479 | relocateable link. | |
5480 | * ldmain.c (main): Don't warn about dynamic_link for a | |
5481 | relocateable link. | |
5482 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if | |
5483 | dynamic is false. | |
5484 | (gld${EMULATION_NAME}_create_output_section_statements): Always | |
5485 | loop over input files. | |
5486 | * Makefile.in: Rebuild dependencies. | |
5487 | ||
5488 | * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and | |
5489 | -shared. | |
5490 | ||
5491 | Mon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com> | |
5492 | ||
5493 | * ldmain.c (main): Set link_info.symbolic to false. | |
5494 | * lexsup.c (parse_args): Handle -Bsymbolic. | |
5495 | ||
5496 | Wed Jul 5 00:12:11 1995 Fred Fish (fnf@cygnus.com) | |
5497 | ||
5498 | * ldmain.c (HAVE_SBRK): Define for everything except | |
5499 | specific systems that are known to not support sbrk. | |
5500 | (main): Use HAVE_SBRK to decide whether or not to use sbrk. | |
5501 | ||
5502 | Tue Jul 4 12:55:48 1995 Ian Lance Taylor <ian@cygnus.com> | |
5503 | ||
5504 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): | |
5505 | Handle etree_provide. | |
5506 | ||
5507 | * emultempl/elf32.em (global_needed): New static variable. | |
5508 | (global_found): Likewise. | |
5509 | (gld${EMULATION_NAME}_after_open): New static function. | |
5510 | (gld${EMULATION_NAME}_search_needed): Likewise. | |
5511 | (gld${EMULATION_NAME}_try_needed): Likewise. | |
5512 | (gld${EMULATION_NAME}_check_needed): Likewise. | |
5513 | (ld_${EMULATION_NAME}_emulation): Replace after_open_default with | |
5514 | gld${EMULATION_NAME}_after_open. | |
5515 | ||
5516 | Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5517 | ||
5518 | * configure.in (i386-*-win32): New target. | |
5519 | ||
5520 | Mon Jul 3 14:39:22 1995 Ian Lance Taylor <ian@cygnus.com> | |
5521 | ||
5522 | * lexsup.c (parse_args): Let -G either set the small data size or | |
5523 | be equivalent to --shared, depending on the next argument. Accept | |
5524 | and ignore -z for Solaris compatibility. | |
5525 | ||
5526 | Sun Jul 2 17:52:34 1995 Ian Lance Taylor <ian@cygnus.com> | |
5527 | ||
5528 | * lexsup.c (parse_args): Cast fopen result to PTR before storing | |
5529 | it in link_info.base_file. Fix indentation. | |
5530 | ||
5531 | Wed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5532 | ||
5533 | * ldmain.c (main): Always initialize PE info in link_info. | |
5534 | * lexsup.c (OPTION_BASE_FILE): New option. | |
5535 | (parse_args): Handle new option. | |
5536 | * emulparams/armpe.sh: Output pei. | |
5537 | * emultempl/i386pe.em: Add newline to end. | |
5538 | * scripttempl/armpe.sc: Change output and quote the $s. | |
5539 | * scripttempl/i386pe.sc: Change output and quote the $s. | |
5540 | ||
5541 | Thu Jun 22 19:55:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5542 | ||
5543 | Sun May 7 11:53:41 MDT 1995 Bryan Ford <baford@cs.utah.edu> | |
5544 | ||
5545 | * configure.in (i386-*-msdos*, i386-*-moss*): New targets. | |
5546 | * Makefile.in (ALL_EMULATIONS): Added i386msdos.o. | |
5547 | (i386msdos.o): New target. | |
5548 | * config/i386-msdos.mt: Created. | |
5549 | * emulparams/i386msdos.sh: Created. | |
5550 | * scripttempl/i386msdos.sc: Created. | |
5551 | ||
5552 | Thu Jun 22 15:06:35 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
5553 | ||
5554 | * scripttempl/elfppc.sc (.fixup): Add support for a .fixup section | |
5555 | that contains pointers to be relocated. | |
5556 | ||
5557 | Tue Jun 20 17:47:20 1995 Stan Shebs <shebs@andros.cygnus.com> | |
5558 | ||
5559 | * mpw-esh.c: New file, modified for MPW from esh.c. | |
5560 | * scripttempl/sh.sc: Reformatted to simplify MPWification, | |
5561 | use *() to concat stab sections instead of []. | |
5562 | ||
5563 | Thu Jun 15 08:48:16 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5564 | ||
5565 | * scripttempl/armpe.sc: Add constructor support. | |
5566 | ||
5567 | Tue Jun 13 09:11:20 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5568 | ||
5569 | * ldlang.c (lang_size_sections): Any section with a DATA | |
5570 | statement has contents. | |
5571 | ||
5572 | Sun Jun 11 15:20:46 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5573 | ||
5574 | * emulparams/m68kelf.sh (NOP): Define. | |
5575 | (DYNAMIC_LINK): Don't define. | |
5576 | (TEXT_START_ADDR): Set to 0x80000000; the extra 0x100 for headers | |
5577 | will come from the linker script. | |
5578 | ||
5579 | Thu Jun 8 14:17:33 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5580 | ||
5581 | * emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack. | |
5582 | ||
5583 | Mon Jun 5 02:16:24 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> | |
5584 | ||
5585 | * configure.in (i[345]86-*-gnu*): Use GNU elf config. | |
5586 | ||
5587 | Thu May 25 11:49:28 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
5588 | ||
5589 | From Andrew Cagney <cagney@highland.com.au> | |
5590 | * Makefile.in: Fixup more gotchas from renaming elf32ppcle to | |
5591 | elf32lppc. | |
5592 | ||
5593 | Wed May 24 11:23:21 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5594 | ||
5595 | Add support for ARM-PE. | |
5596 | * Makefile.in (ALL_EMULATIONS): Add armpe.o | |
5597 | * configure.in: Recognize armpe. | |
5598 | * config/arm-pe.mt: New file. | |
5599 | * emulparams/armpe.sh: New file. | |
5600 | * scripttempl/armpe.sc: New file. | |
5601 | ||
5602 | ||
5603 | Mon May 22 15:19:26 1995 Doug Evans <dje@chestnut.cygnus.com> | |
5604 | ||
5605 | * configure.in (h8300h-*-hms): Deleted | |
5606 | * config/cf-h8300h.mt: Deleted. | |
5607 | ||
5608 | Thu May 18 04:26:10 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> | |
5609 | ||
5610 | Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) | |
5611 | ||
5612 | From David Taylor (dtaylor@armltd.co.uk) | |
5613 | * Makefile.in (ALL_EMULATIONS): Add earmout[lb].o | |
5614 | * configure.in: Recognize arm{,e[lb]-*-aout. | |
5615 | * config/arm[lb]-aout.mt: New files. | |
5616 | * emulparams/armaout[lb].sh: New files. | |
5617 | * scripttempl/armaout.sc: New file. | |
5618 | ||
5619 | Tue May 16 18:27:11 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
5620 | ||
5621 | * config/ppcle-elf32.mt (EMUL): Use elf32lppc, not elf32ppcle, to | |
5622 | be unique in 8 characters for DOS. | |
5623 | ||
5624 | * emulparams/elf32lppc.sh: New file, renamed from elf32ppcle.sh. | |
5625 | * emulparams/elf32ppcle.sh: Deleted. | |
5626 | ||
5627 | Fri May 12 11:03:55 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5628 | Tom Griest <griest@cs.yale.edu> | |
5629 | ||
5630 | Initial support for PE executables (eg NT, win32) | |
5631 | ||
5632 | * Makefile.in (configure.in, ei386pe): Add support. | |
5633 | * ldmain.c (main): Initialize PE argument info. | |
5634 | * ldwrite.c (print_file_stuff): Don't print out .drectve | |
5635 | and .debug section info. | |
5636 | * lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP, | |
5637 | OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap): | |
5638 | Handle new arguments. | |
5639 | * config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc: | |
5640 | New files | |
5641 | ||
5642 | Wed May 10 18:37:59 1995 Stu Grossman (grossman@andros.cygnus.com) | |
5643 | ||
5644 | * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from text | |
5645 | segment. This allows ld -r to preserve unwind sections. | |
5646 | ||
5647 | Tue May 9 17:19:57 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
5648 | ||
5649 | * configure.in: Add little endian PowerPC support. | |
5650 | ||
5651 | * Makefile.in (ALL_EMULATIONS): Add eelf32ppcle.o. | |
5652 | (eelf32ppcle.c): Support for little endian PowerPC. | |
5653 | ||
5654 | * config/ppcle-elf32.mt: New file for little endian PowerPC. | |
5655 | * emulparams/elf32ppcle.sh: Ditto. | |
5656 | ||
5657 | Wed May 3 12:56:32 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5658 | ||
5659 | * ldlang.c (print_output_section_statement): Check | |
5660 | subsection_alignment, instead of checking section_alignment twice. | |
5661 | Noticed by Alan Modra <alan@spri.levels.unisa.edu.au>. | |
5662 | ||
5663 | Tue May 2 16:36:07 1995 Jeff Law (law@snake.cs.utah.edu) | |
5664 | ||
5665 | * configure.in (hppa*-*-lites*): Handle like hppa*-*-*elf*. | |
5666 | ||
5667 | Mon Apr 24 19:21:02 1995 Michael Meissner <meissner@cygnus.com> | |
5668 | ||
5669 | * ldwrite.c (ldwrite): Before doing anything, reset the error | |
5670 | code. If bfd_final_link returns an error, but the error code is | |
5671 | unset, don't issue an extra message. Assume a correct error | |
5672 | message was already set. | |
5673 | ||
5674 | Fri Apr 14 16:31:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5675 | ||
5676 | * Makefile.in (ALL_EMULATIONS): Added em68kelf.o. | |
5677 | (em68kelf.o): New target. | |
5678 | * config/m68k-elf.mt, emulparams/m68kelf.sh: New files. | |
5679 | * configure.in: Use them for m68*-*-elf. | |
5680 | ||
5681 | Tue Apr 11 12:02:03 1995 Stan Shebs <shebs@andros.cygnus.com> | |
5682 | ||
5683 | Merge in support for Mac MPW as a host. | |
5684 | (Old change descriptions retained for informational value.) | |
5685 | ||
5686 | * mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32. | |
5687 | (i386-unknown-coff): Remove. | |
5688 | (sh-hitachi-hms): New target. | |
5689 | (emulation_ofiles): Set correctly for each target. | |
5690 | (version, TDEFINES): Add to makefile fragment. | |
5691 | * mpw-make.in (BISON): Use byacc instead of bison. | |
5692 | (em_*.c): Replace with e*.c everywhere. | |
5693 | (ldgram.h): Separate action from ldgram.c generation. | |
5694 | (LD_PROG): Depend on Version.r. | |
5695 | (Version.r): generate from version info. | |
5696 | * mpw-emipsidt.c: New file, modified for MPW from emipsidt.c. | |
5697 | ||
5698 | * mpw-config.in (m68k-apple-macos, ppc-apple-macos, | |
5699 | i386-unknown-aout, i386-unknown-coff): New targets. | |
5700 | (m68k-aout, m68k-coff): Remove targets. | |
5701 | (mk.tmp): Add definition of EMUL. | |
5702 | ||
5703 | * mpw-config.in (emulname): Set based on target. | |
5704 | (ldemul-list.h): Construct. | |
5705 | * mpw-make.in (install-only): New target. | |
5706 | (install): Depend on install-only. | |
5707 | ||
5708 | * mpw-make.in (bindir): Fix pathname. | |
5709 | (install): Move here from mpw-build.in. | |
5710 | ||
5711 | * mpw-config.in: New file, MPW configuration fragment. | |
5712 | * mpw-make.in: New file, MPW makefile fragment. | |
5713 | (This file is semi-automatically generated from Makefile.in.) | |
5714 | * ldfile.c (slash): If MPW, set to `:'. | |
5715 | * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to | |
5716 | prevent redefinition errors. | |
5717 | ||
5718 | Tue Apr 4 17:55:18 1995 Steve Chamberlain <sac@bang.hack.com> | |
5719 | ||
5720 | * ldwrite.c (clone_section): Align clone sections on even | |
5721 | boundaries. | |
5722 | ||
5723 | Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com) | |
5724 | ||
5725 | * configure.in: Change linux to default to elf. Using | |
5726 | i[345]86-*-linuxaout will build a linker which defaults to a.out. | |
5727 | * config/i386-laout.mt: Rename from old config/i386-linux.mt. | |
5728 | * config/i386-linux.mt: Rename from old config/i386-lelf.mt. | |
5729 | * config/i386-lelf.mt: Remove. | |
5730 | ||
5731 | Thu Mar 30 13:09:46 1995 Ian Lance Taylor <ian@cygnus.com> | |
5732 | ||
5733 | * ldmain.c (main): If opening the map file fails, call | |
5734 | bfd_set_error before calling einfo. | |
5735 | ||
5736 | * ld.texinfo, ld.1: Document the -no-keep-memory option. | |
5737 | ||
5738 | Mon Mar 27 11:10:08 1995 Ian Lance Taylor <ian@cygnus.com> | |
5739 | ||
5740 | * ldmain.c (main): Revert patch of March 10, since the SVR4 linker | |
5741 | does mark shared libraries as executable. | |
5742 | ||
5743 | Tue Mar 21 15:15:38 1995 Ian Lance Taylor <ian@cygnus.com> | |
5744 | ||
5745 | * ldlang.c (lang_common): Change power to int. Pass larger values | |
5746 | before smaller values. | |
5747 | (lang_one_common): Treat info as int *. Don't bother to check for | |
5748 | last value, since it is now zero. | |
5749 | ||
5750 | Sat Mar 18 01:49:14 1995 Ian Lance Taylor <ian@cygnus.com> | |
5751 | ||
5752 | * ldlang.c (load_symbols): An empty archive is OK. | |
5753 | ||
5754 | Fri Mar 17 16:15:31 1995 Stan Shebs <shebs@andros.cygnus.com> | |
5755 | ||
5756 | * ldmain.c (progress.h): Include. | |
5757 | (main): Call START_PROGRESS and END_PROGRESS. | |
5758 | ||
5759 | Thu Mar 16 17:17:33 1995 Michael Meissner <meissner@cygnus.com> | |
5760 | ||
5761 | * scripttempl/elfppc.sc: Move _GOT2_END_ after the .ctors and | |
5762 | .dtors sections, so that these pointers get relocated also. | |
5763 | Define the symbols __{C,D}TOR_{LIST,END}__ to mark the beginning | |
5764 | and end of the constructors/destructors. | |
5765 | ||
5766 | Thu Mar 16 13:59:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> | |
5767 | ||
5768 | * ldlang.c (load_symbols): If whole_archive is true and ENTRY | |
5769 | describes an archive, call bfd_link_add_symbols on each member. | |
5770 | * ldmain.c (whole_archive): New variable. | |
5771 | (main): Initialize it to false. | |
5772 | * ldmain.h: Declare whole_archive. | |
5773 | * lexsup.c (parse_args): Grok --whole-archive switch. | |
5774 | * ld.texinfo, ld.1: Document --whole-archive. | |
5775 | ||
5776 | Thu Mar 16 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com> | |
5777 | ||
5778 | * genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when not | |
5779 | using the default emulation. | |
5780 | ||
5781 | * config/dgux.mh (HOSTING_EMU): Use -m rather than trying to set | |
5782 | LDEMULATION. | |
5783 | * config/hppaelf.mh (HOSTING_EMU): Likewise. | |
5784 | ||
5785 | Tue Mar 14 12:28:03 1995 Ian Lance Taylor <ian@cygnus.com> | |
5786 | ||
5787 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_maj | |
5788 | for -lc.N. From H.J. Lu <hjl@nynexst.com>. | |
5789 | ||
5790 | Fri Mar 10 14:43:48 1995 Ian Lance Taylor <ian@cygnus.com> | |
5791 | ||
5792 | * ldmain.c (main): Don't set EXEC_P if link_info.shared is set. | |
5793 | ||
5794 | * ldlex.l: Return -lFILENAME as the token LNAME. | |
5795 | * ldgram.y: Add token LNAME. | |
5796 | (input_list): Treat LNAME like NAME, but pass it to | |
5797 | lang_add_input_file as lang_input_file_is_l_enum. | |
5798 | * ld.texinfo: Document using -lFILENAME in INPUT. | |
5799 | ||
5800 | Thu Mar 9 12:21:51 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
5801 | ||
5802 | * ldlang.c (lang_check): If the architectures are compatible call | |
5803 | bfd_merge_private_bfd_data to let the backend do additional | |
5804 | checks. | |
5805 | ||
5806 | Tue Mar 7 00:53:08 1995 Ian Lance Taylor <ian@cygnus.com> | |
5807 | ||
5808 | * ldemul.c (ldemul_choose_mode): If emulation not recognized, list | |
5809 | all supported emulations. | |
5810 | ||
5811 | Mon Mar 6 14:03:50 1995 Ian Lance Taylor <ian@cygnus.com> | |
5812 | ||
5813 | * ldemul.c (ldemul_list_emulations): New function. | |
5814 | * ldemul.h (ldemul_list_emulations): Declare. | |
5815 | * ldver.c (help): List supported targets and emulations. | |
5816 | ||
5817 | Fri Mar 3 15:40:36 1995 Doug Evans <dje@canuck.cygnus.com> | |
5818 | ||
5819 | * scripttempl/elf.sc (.debug): Relocate to address 0. | |
5820 | (.debug_srcinfo, .debug_aranges, .debug_pubnames, | |
5821 | .debug_sfnames, .line): Likewise. | |
5822 | ||
5823 | Fri Mar 3 17:07:14 1995 Ian Lance Taylor <ian@cygnus.com> | |
5824 | ||
5825 | * emultempl/elf32.em (hold_rel): New static variable. | |
5826 | (gld${EMULATION_NAME}_place_orphan): Place readonly sections with | |
5827 | contents whose names begin with ".rel" after hold_rel. Remove the | |
5828 | assertion which checked for unplaced .rel sections. Don't try to | |
5829 | sort the section into place if place->bfd_section is NULL. | |
5830 | (gld${EMULATION_NAME}_place_section): Set hold_rel to the first | |
5831 | section beginning with ".rel". | |
5832 | ||
5833 | Thu Mar 2 14:34:43 1995 Ian Lance Taylor <ian@cygnus.com> | |
5834 | ||
5835 | Doc note from pierre@phi.la.tce.com (Pierre Willard): | |
5836 | * ld.texinfo: -X and -x work even if -s or -S are not specified. | |
5837 | * ld.1: Similar change. | |
5838 | ||
5839 | Wed Mar 1 13:51:16 1995 Ian Lance Taylor <ian@cygnus.com> | |
5840 | ||
5841 | * emulparams/gld960coff.sh (COFF_CTORS): Define. | |
5842 | * scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING. | |
5843 | ||
5844 | Tue Feb 28 12:42:56 1995 Ian Lance Taylor <ian@cygnus.com> | |
5845 | ||
5846 | * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf. | |
5847 | (i[345]86-*-gnuelf*): New target. Use i386-gelf. | |
5848 | * config/i386-lelf.mt: New file. | |
5849 | * config/i386-gelf.mt: New file. | |
5850 | ||
5851 | Tue Feb 28 10:27:54 1995 Rob Savoye <rob@darkstar.cygnus.com> | |
5852 | ||
5853 | * configure.in: Match on mips-ecoff, and default to the IDT | |
5854 | configuration. | |
5855 | ||
5856 | Fri Feb 17 13:06:47 1995 Michael Meissner <meissner@cygnus.com> | |
5857 | ||
5858 | * scripttempl/elfppc.sc: Add support for .got1 and .got2 sections. | |
5859 | Offset _GLOBAL_OFFSET_TABLE_ 32768 from the start of the GOT area | |
5860 | to double the size of the table. | |
5861 | ||
5862 | Thu Feb 9 18:29:43 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5863 | ||
5864 | * Makefile.in (distclean): Do recursive deletion, since ldscripts | |
5865 | is a directory. | |
5866 | ||
5867 | Thu Feb 9 11:38:22 1995 Ian Lance Taylor <ian@cygnus.com> | |
5868 | ||
5869 | * ldmain.c (main): If trace_file_tries is true, and we are using | |
5870 | an internal linker script, print out the script. | |
5871 | * ldfile.c (try_open): Reindent function. Make the messages about | |
5872 | opening script files more informative. | |
5873 | ||
5874 | * lexsup.c (parse_args): For -V, call ldversion with 1, not 0. | |
5875 | * ld.texinfo, ld.1: Update accordingly. | |
5876 | ||
5877 | Wed Feb 8 17:34:45 1995 Ian Lance Taylor <ian@cygnus.com> | |
5878 | ||
5879 | * ldlang.c (lang_one_common): Adjust references to common symbol | |
5880 | information for new structure. | |
5881 | ||
5882 | Mon Feb 6 12:17:24 1995 Ian Lance Taylor <ian@cygnus.com> | |
5883 | ||
5884 | * ldmain.c (undefined_symbol): Handle section being NULL. | |
5885 | ||
5886 | * ldctor.c (ldctor_build_sets): Handle bfd_link_hash_defweak. | |
5887 | * ldexp.c (fold_name): Likewise. | |
5888 | * ldlang.c (print_one_symbol): Likewise. | |
5889 | (lang_finish): Likewise. | |
5890 | * ldmain.c (multiple_common): Likewise. | |
5891 | * ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak | |
5892 | renamed to bfd_link_hash_undefweak. | |
5893 | ||
5894 | * scripttempl/alpha.sc: Set address of .data section correctly | |
5895 | when -n or -N is used. Patch from Chris G Demetriou | |
5896 | <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>. | |
5897 | * scripttempl/mips.sc: Similar change. | |
5898 | ||
5899 | Tue Jan 31 16:20:52 1995 Doug Evans <dje@canuck.cygnus.com> | |
5900 | ||
5901 | * ldlang.c (lang_size_sections): Clarify error message when user | |
5902 | specified start addr conflicts with region. Fix resetting of | |
5903 | region pointer. | |
5904 | ||
5905 | Tue Jan 31 12:37:09 1995 Ian Lance Taylor <ian@cygnus.com> | |
5906 | ||
5907 | * ldexp.c (fold_name): In case NAME, permit an absolute symbol | |
5908 | in lang_allocating_phase_enum. | |
5909 | ||
5910 | Mon Jan 30 11:33:25 1995 Ian Lance Taylor <ian@cygnus.com> | |
5911 | ||
5912 | * Makefile.in (distclean): Depend upon clean. Don't bother to | |
5913 | remove files which will be removed by clean. From patch by | |
5914 | alan@SPRI.Levels.UniSA.Edu.Au (Alan Modra). | |
5915 | ||
5916 | Fri Jan 27 16:27:34 1995 Ian Lance Taylor <ian@cygnus.com> | |
5917 | ||
5918 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For | |
5919 | a MIPS target, clobber the size of all but the first input | |
5920 | .reginfo section to be 0, so that lang_size_sections sets the | |
5921 | correct size for the output .reginfo section. | |
5922 | ||
5923 | Thu Jan 26 19:53:37 1995 Ian Lance Taylor <ian@cygnus.com> | |
5924 | ||
5925 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
5926 | Remove unused variable is. | |
5927 | ||
5928 | Thu Jan 26 12:33:05 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
5929 | ||
5930 | * configure.in: Add support for powerpc-*-eabi. | |
5931 | ||
5932 | * scripttempl/elfppc.sc: New file for PowerPC embedded ABI | |
5933 | support. | |
5934 | ||
5935 | * emulparams/elf32ppc.sh (SCRIPT_NAME): Use elfppc.sc instead of | |
5936 | elf.sc, which defines some new symbols PowerPC elf needs. | |
5937 | ||
5938 | Tue Jan 24 10:32:15 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5939 | ||
5940 | * ldctor.c (ldctor_add_set_entry): Don't dump core if a | |
5941 | constructor entry is in the absolute section. | |
5942 | ||
5943 | Mon Jan 23 13:58:13 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5944 | ||
5945 | * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu. | |
5946 | * config/i386-gnu.mt: New file. Include ELF support. | |
5947 | ||
5948 | Thu Jan 19 16:22:11 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5949 | ||
5950 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If | |
5951 | there are any input sections named .gnu.warning, treat them as | |
5952 | containing a warning message to be printed by the linker, and | |
5953 | clobber the size so that the message is not copied into the output | |
5954 | file. | |
5955 | * scripttempl/elf.sc: Put .gnu.warning sections into the .text | |
5956 | section. | |
5957 | ||
5958 | Sun Jan 15 16:45:00 1995 Steve Chamberlain <sac@splat> | |
5959 | ||
5960 | * configure.in (w65-*-*): New target. | |
5961 | * Makefile.in: Update. | |
5962 | * scripttempl/w65.sc: New. | |
5963 | * config/coff-w65.mt: New. | |
5964 | ||
5965 | Thu Jan 12 01:32:25 1995 Ian Lance Taylor <ian@tweedledumb.cygnus.com> | |
5966 | ||
5967 | * ldlang.c (lang_place_orphans): Don't ignore files with | |
5968 | just_syms_flag set. Instead, put all their sections in | |
5969 | bfd_abs_section_ptr, using the section VMA as the output_offset. | |
5970 | ||
5971 | Wed Jan 11 22:59:09 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5972 | ||
5973 | * ldctor.c (ldctor_build_sets): Don't use `const' with typedef | |
5974 | name `reloc_howto_type', since it's now defined to be const. | |
5975 | * ldlang.c (lang_add_reloc): Ditto. | |
5976 | * ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto. | |
5977 | ||
5978 | Wed Jan 11 11:24:45 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5979 | ||
5980 | * ldexp.c (fold_binary): Adding or subtracting an absolute value | |
5981 | to a relative value does not require forcing the relative value to | |
5982 | be absolute. Also, reindent function. | |
5983 | ||
5984 | Wed Dec 28 22:05:52 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
5985 | ||
5986 | * ldwrite.c (clone_section): Create a symbol with the | |
5987 | same name as the section. | |
5988 | ||
5989 | Mon Dec 19 14:02:13 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
5990 | ||
5991 | * ld.h (split_by_reloc, split_by_file): New flags. | |
5992 | * ldwrite.c (clone_section, split_sections): New functions. | |
5993 | * lexsup.c (parse_args): Understand new split options. | |
5994 | ||
5995 | Fri Dec 9 17:22:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5996 | ||
5997 | * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to | |
5998 | .data segment. They must be writable when creating a shared | |
5999 | library. From H.J. Lu <hjl@nynexst.com>. | |
6000 | ||
6001 | Fri Dec 2 14:09:00 1994 Ian Lance Taylor <ian@rtl.cygnus.com> | |
6002 | ||
6003 | * emultempl/miposecoff.em: New file. | |
6004 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff. | |
6005 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise. | |
6006 | * scripttempl/mips.sc: Put .rel.sdata sections in .text, and | |
6007 | provide __runtime_reloc_start and __runtime_reloc_stop if they are | |
6008 | used. Align _fdata to a 16 byte boundary. | |
6009 | * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than | |
6010 | generic.em. | |
6011 | (emipsidtl.c): Likewise. | |
6012 | (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest. | |
6013 | ||
6014 | * ld.h (args_type): Add new field embedded_relocs. | |
6015 | * ldemul.h (ldemul_after_open, after_open_default): Declare. | |
6016 | (ld_emulation_xfer_struct): Add new field after_open. | |
6017 | * ldemul.c (ldemul_after_open): New function. | |
6018 | (after_open_default): New function. | |
6019 | * ldlang.c (lang_process): Call ldemul_after_open. | |
6020 | * lexsup.c (parse_args): Handle --embedded-relocs. | |
6021 | * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize | |
6022 | new after_open field to after_open_default. | |
6023 | * emultempl/generic.em, emultempl/gld960.em: Likewise. | |
6024 | * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise. | |
6025 | * emultempl/linux.em, emultempl/m88kbcs.em: Likewise. | |
6026 | * emultempl/sunos.em, emultempl/vanilla.em: Likewise. | |
6027 | * ld.texinfo, ld.1: Mention -embedded-relocs. | |
6028 | ||
6029 | Wed Nov 23 22:04:47 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
6030 | ||
6031 | * Makefile.in: Add eshl.o. | |
6032 | * config/coff-sh.mt: Add shl emulation. | |
6033 | ||
6034 | Tue Nov 22 11:55:37 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6035 | ||
6036 | * scripttempl/elf.sc: Fill .text section with NOPS. From Eric | |
6037 | Youngdale <eric@aib.com>. | |
6038 | ||
6039 | Thu Nov 17 14:39:48 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6040 | ||
6041 | Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker). | |
6042 | * config/i386linux.mh: New file; set HOSTING_CRT0. | |
6043 | * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is | |
6044 | /usr/lib, since that is already in LIB_PATH. | |
6045 | ||
6046 | Wed Nov 16 10:03:03 1994 Jeff Law (law@snake.cs.utah.edu) | |
6047 | ||
6048 | * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start | |
6049 | address. | |
6050 | (.data, .bss): If "-N", then place the data/bss just after the end | |
6051 | of the .text section rather than at the default 0x40000000. | |
6052 | ||
6053 | * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the | |
6054 | text segment. | |
6055 | ||
6056 | Sat Nov 12 15:55:56 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6057 | ||
6058 | Patches from Eric Youngdale <eric@aib.com>: | |
6059 | * ldlang.c (lang_finish): Don't warn if entry symbol not found | |
6060 | when generating a shared library. | |
6061 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if | |
6062 | attempting to place an orphaned relocation section when generating | |
6063 | a dynamically linked object. | |
6064 | ||
6065 | * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to | |
6066 | _start. | |
6067 | ||
6068 | Fri Nov 11 14:27:23 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6069 | ||
6070 | * ld.h (args_type): Add field export_dynamic. | |
6071 | * lexsup.c (parse_args): Recognize --export-dynamic. | |
6072 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
6073 | Pass export_dynamic argument to bfd_elf32_size_dynamic_sections. | |
6074 | ||
6075 | Wed Nov 9 12:47:11 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6076 | ||
6077 | * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where | |
6078 | we allocate common symbols. | |
6079 | ||
6080 | Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com) | |
6081 | ||
6082 | * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and | |
6083 | .rela.fini to the list of .rel* sections. | |
6084 | ||
6085 | Tue Nov 8 17:47:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6086 | ||
6087 | * ldlang.c (load_symbols): Add new argument place. Only accept | |
6088 | linker scripts if place is not NULL. Put commands found in an | |
6089 | assumed linker script into place. | |
6090 | (lookup_name): Pass NULL as place argument to load_symbols. | |
6091 | (open_input_bfds): In lang_input_statement_enum case, pass a place | |
6092 | argument to load_symbols, and store any new statements after the | |
6093 | current one. | |
6094 | ||
6095 | Mon Nov 7 15:53:02 1994 Ken Raeburn <raeburn@cujo.cygnus.com> | |
6096 | ||
6097 | * ldver.c (ldversion): Bump to 2.5.3. | |
6098 | ||
6099 | Fri Nov 4 15:11:26 1994 Ken Raeburn <raeburn@cujo.cygnus.com> | |
6100 | ||
6101 | * Makefile.in (e*nbsd.c): Fix typo in dependencies. | |
6102 | ||
6103 | Thu Nov 3 19:35:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com> | |
6104 | ||
6105 | * Makefile.in (check): Add missing "else true" clause. | |
6106 | ||
6107 | * emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out". | |
6108 | ||
6109 | * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default | |
6110 | entry point to "start". Align at end of each section to 0x200. | |
6111 | Start .text section 0x1000 later. Add _etext, _edata, _end | |
6112 | symbols. | |
6113 | ||
6114 | Wed Nov 2 12:17:49 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6115 | ||
6116 | * ldctor.c (ldctor_add_set_entry): Don't permit a set to be | |
6117 | composed of different object file formats. | |
6118 | (ldctor_build_sets): If the output format does not support the | |
6119 | reloc, and we are not generating a relocateable link, try getting | |
6120 | the reloc from the input format. | |
6121 | ||
6122 | Tue Nov 1 10:30:19 1994 J.T. Conklin (jtc@rtl.cygnus.com) | |
6123 | ||
6124 | * Makefile.in (ALL_EMULATIONS): Added em68knbsd.o. | |
6125 | (em68knbsd.c): New target. | |
6126 | ||
6127 | * config/m68k-nbsd.mt: New file. | |
6128 | * emulparams/m68knbsd.sh: New file. | |
6129 | * configure.in (m68*-*-netbsd*): Use above configs. | |
6130 | ||
6131 | Mon Oct 31 19:35:17 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6132 | ||
6133 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find an | |
6134 | appropriately named static library, stop the search at that | |
6135 | directory. | |
6136 | ||
6137 | Wed Oct 26 13:59:12 1994 J.T. Conklin (jtc@phishhead.cygnus.com) | |
6138 | ||
6139 | * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o | |
6140 | and esparcnbsd.o; sorted entries. | |
6141 | (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets. | |
6142 | ||
6143 | * config/netbsd532.mt: Removed. | |
6144 | * emulparams/netbsd532.sh: Removed. | |
6145 | ||
6146 | * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files. | |
6147 | * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files. | |
6148 | * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, | |
6149 | sparc*-*-netbsd*): Use above configs. | |
6150 | ||
6151 | Tue Oct 25 11:47:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6152 | ||
6153 | * ldmain.c (multiple_common): One of the types may now be | |
6154 | bfd_link_hash_indirect. The old BFD argument may be NULL. | |
6155 | ||
6156 | Thu Oct 20 22:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6157 | ||
6158 | * configure.in: Add * at the end of m68k-hp-hpux. | |
6159 | ||
6160 | Tue Oct 18 15:58:39 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6161 | ||
6162 | * ldlex.l: Cast assignment to yy_ch_buf field to char *, not to | |
6163 | YY_CHAR *. | |
6164 | ||
6165 | Mon Oct 17 14:53:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com) | |
6166 | ||
6167 | * scripttempl/nw.sc: Gather constructors and destructors and | |
6168 | define __CTOR__LIST__ and __DTOR_LIST__ appropriately. | |
6169 | ||
6170 | Fri Oct 14 14:35:38 1994 J.T. Conklin (jtc@rtl.cygnus.com) | |
6171 | ||
6172 | * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o. | |
6173 | (ei386nw.c, eppcnw.c): New targets. | |
6174 | ||
6175 | * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh, | |
6176 | scripttempl/nw.sc: New files, for i386 and powerpc netware. | |
6177 | ||
6178 | * configure.in: Changed netware ld_target name to be {i386,ppc}-nw | |
6179 | instead of {i386,ppc}-elf. | |
6180 | ||
6181 | * configure.in (sparc*-*-netware): Removed. There is no such | |
6182 | thing anymore. | |
6183 | ||
6184 | * ldint.texinfo: Move misplaced `@end iftex'. | |
6185 | ||
6186 | Fri Oct 14 12:02:18 1994 Eric Youngdale (eric@aib.com) | |
6187 | ||
6188 | * scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and | |
6189 | .rela.dtors to the list of .rel* sections. | |
6190 | ||
6191 | Thu Oct 13 14:16:27 1994 Ken Raeburn <raeburn@cujo.cygnus.com> | |
6192 | ||
6193 | * ldver.c (ldversion): Update to version 2.5. | |
6194 | * Version 2.5 released. | |
6195 | ||
6196 | * configure.in (all_targets): Handle i386-linux*. | |
6197 | ||
6198 | Thu Oct 13 11:24:33 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6199 | ||
6200 | * scripttempl/aout.sc: Set _etext and __etext to ., not | |
6201 | ${DATA_ALIGNMENT}. This is compatible with SunOS, and, with luck, | |
6202 | will not break any other system. From Eric Valette | |
6203 | <ev@chorus.fr>. | |
6204 | ||
6205 | Wed Oct 12 16:22:58 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
6206 | ||
6207 | * lexsup.c (parse_args): Change -V to be a synonym for -v. Add | |
6208 | --verbose to get the old -V behaviour. | |
6209 | * ld.1, ld.texinfo: Document this change. | |
6210 | ||
6211 | Tue Sep 27 14:56:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6212 | ||
6213 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove | |
6214 | assertion, since it could fail with a user defined linker script. | |
6215 | ||
6216 | * ldexp.c (fold_name): For DEFINED case, don't try to look up the | |
6217 | name in the hash table during the first phase--the hash table does | |
6218 | not even exist at that point, much less have the right value. | |
6219 | ||
6220 | * Makefile.in (CC): Define. | |
6221 | (CXX): Move definition, change from g++ to gcc. | |
6222 | (EXPECT, RUNTEST): Copy definitions from top level Makefile.in. | |
6223 | (RUNTEST_CC, RUNTEST_CFLAGS): Remove. | |
6224 | (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove. | |
6225 | (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in. | |
6226 | (.cc.o): Comment out. | |
6227 | (testdir): Remove. | |
6228 | (site.exp): Don't create testdir or set tmpdir. | |
6229 | (check): Run checks even if not running native. Use CC_FOR_TARGET | |
6230 | instead of RUNTEST_CC, and likewise for CXX. | |
6231 | (cdtest targets): Comment out. | |
6232 | * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once. | |
6233 | * cdtest-bar.cc, cdtest-foo.cc, cdtest-foo.h: Remove. | |
6234 | * cdtest-main.cc, cdtest.exp: Remove. | |
6235 | ||
6236 | Mon Sep 26 11:40:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6237 | ||
6238 | * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS | |
6239 | file naming problems. | |
6240 | * emulparams/elf32lmip.sh: Rename from elf32mipl.sh. | |
6241 | * Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to | |
6242 | eelf32bmip.o and eelf32mipl.o to eelf32lmip.o. | |
6243 | (eelf32bmip.c): Rename from eelf32mipb.c. Use elf32bmip.sh. | |
6244 | (eelf32lmip.c): Rename from eelf32mipl.c. Use elf32lmip.sh. | |
6245 | * config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb. | |
6246 | * config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl. | |
6247 | ||
6248 | * genscripts.sh: Always search /usr/local/TARGET/lib. | |
6249 | ||
6250 | * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".". | |
6251 | ||
6252 | Fri Sep 23 15:05:49 1994 Ken Raeburn <raeburn@cujo.cygnus.com> | |
6253 | ||
6254 | * configure.in: Handle i386-bsdi* targets like i386-bsd. | |
6255 | ||
6256 | Fri Sep 23 00:06:59 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6257 | ||
6258 | * lexsup.c (parse_args): Add support for -a for HP/UX | |
6259 | compatibility. | |
6260 | ||
6261 | * lexsup.c (parse_args): -c takes an argument. | |
6262 | ||
6263 | Tue Sep 20 14:35:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6264 | ||
6265 | * ld.h (args_type): Add new field endian. | |
6266 | * lexsup.c (parse_args): Handle -EB and -EL by setting | |
6267 | command_line.endian. | |
6268 | * ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments. | |
6269 | * ldlang.c (lang_add_output_format): Add arguments big and little. | |
6270 | If command_line.endian is set, use it to select big or little | |
6271 | rather than the default. Changed all callers. | |
6272 | * ldlang.h (lang_add_output_format): Update declaration. | |
6273 | * emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and | |
6274 | LITTLE_OUTPUT_FORMAT. | |
6275 | * emulparams/elf32mipl.sh: Likewise. | |
6276 | * emulparams/mipsbig.sh: Likewise. | |
6277 | * emulparams/mipsbsd.sh: Likewise. | |
6278 | * emulparams/mipsidt.sh: Likewise. | |
6279 | * emulparams/mipsidtl.sh: Likewise. | |
6280 | * emulparams/mipslit.sh: Likewise. | |
6281 | * scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and | |
6282 | LITTLE_OUTPUT_FORMAT if not already defined. Pass them to | |
6283 | OUTPUT_FORMAT. | |
6284 | * scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and | |
6285 | LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT. | |
6286 | * scripttempl/mipsbsd.sc: Likewise. | |
6287 | ||
6288 | * Makefile.in (ldgram.h): Make separate target from ldgram.c, | |
6289 | depending upon ldgram.c, so that a parallel make does not try to | |
6290 | build both at once. | |
6291 | ||
6292 | * configure.in (mips*el-elf*): New target. | |
6293 | * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o. | |
6294 | (eelf32mipl.c): New target. | |
6295 | ||
6296 | * config/mipsl-elf32.mt: New file. | |
6297 | * emulparams/elf32mipl.sh: New file. | |
6298 | ||
6299 | Fri Sep 16 12:16:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6300 | ||
6301 | * ldmain.c (main): Rather than prohibiting ld -r -s, treat it as | |
6302 | ld -r -S -x. | |
6303 | ||
6304 | Thu Sep 15 13:05:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6305 | ||
6306 | * ldmisc.c (vfinfo): Print BFD file name as well as file name | |
6307 | returned by find_nearest_line, in case the file name is something | |
6308 | unhelpful such as a .h file. Handle %u. | |
6309 | ||
6310 | Wed Sep 14 12:49:12 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
6311 | ||
6312 | * ldlang.c (lang_do_assignments): Make sure output statement | |
6313 | has an attached bfd_section before trying to dereference it. | |
6314 | ||
6315 | Wed Sep 14 12:48:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6316 | ||
6317 | * ld.h (ld_config_type): Add new field warn_once. | |
6318 | * ldmain.c (undefined_symbol): Handle -warn-once. | |
6319 | * lexsup.c (parse_args): Recognize -warn-once. | |
6320 | * ld.texinfo (Options): Document -warn-once. | |
6321 | * ld.1: Likewise. | |
6322 | ||
6323 | * ldmisc.c (vfinfo): Handle %D as %C, but never print the function | |
6324 | name. For %C, print the function name on a separate line, to keep | |
6325 | the length of error messages under control. | |
6326 | * ldmain.c (multiple_definition): Use %D for ``first defined | |
6327 | here.'' | |
6328 | (undefined_symbol): Use %D for ``more undefined references | |
6329 | follow''. | |
6330 | ||
6331 | * ldmisc.c (multiple_warn): Remove; no longer used. | |
6332 | * ldmisc.h (multiple_warn): Don't declare. | |
6333 | ||
6334 | Tue Sep 13 20:47:58 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
6335 | ||
6336 | * ldlang.c (print_output_section_statement): Print all lines | |
6337 | to the map file. | |
6338 | ||
6339 | Tue Sep 13 16:30:11 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6340 | ||
6341 | * ldlang.c (load_symbols): Check for archive before object. Use | |
6342 | bfd_check_format_matches, and, if ambiguous, print a list of | |
6343 | matching formats. If file format is not recognized, treat file as | |
6344 | a linker script. | |
6345 | * ldgram.y (yyerror): If assuming an object file is a script, | |
6346 | mention that. Tweak the format of the error messages. | |
6347 | * ldlex.l (lex_warn_invalid): If assuming an object is a script, | |
6348 | guess that this is not actually a script, and just report that the | |
6349 | file format was not recognized. | |
6350 | * ld.texinfo (Options): Admit that -( may be used more than once. | |
6351 | Add note that unrecognized object files are now treated as linker | |
6352 | scripts. | |
6353 | ||
6354 | * ldfile.c (ldfile_input_filename): Make const. | |
6355 | (ldfile_assumed_script): New variable. | |
6356 | (try_open): Change arguments types to const. | |
6357 | (ldfile_find_command_file): Likewise. | |
6358 | (ldfile_open_command_file): Likewise. Also, set lineno to 1. | |
6359 | * ldfile.h: Update declarations for ldfile.c changes. | |
6360 | * ldlex.l: Include <ctype.h>. | |
6361 | (file_name_stack): Change to be const char *. | |
6362 | (lineno_stack): New static variable. | |
6363 | (<<EOF>>): Set lineno as well as ldfile_input_filename. | |
6364 | (lex_push_file): Make name argument const. Initialize | |
6365 | lineno_stack entry. | |
6366 | (lex_redirect): Initialize lineno_stack entry. | |
6367 | (lex_warn_invalid): Handle non printable characters nicely. | |
6368 | * ldlex.h (lex_push_file): Declare second argument as const. | |
6369 | ||
6370 | * ldgram.y (ifile_p1): Recognize GROUP. | |
6371 | * ldlex.l: Recognize GROUP. | |
6372 | * ld.texinfo (Option Commands): Document GROUP. | |
6373 | ||
6374 | Mon Sep 12 17:04:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6375 | ||
6376 | * config/m68klynx.mh: New file. | |
6377 | ||
6378 | Mon Sep 12 01:50:03 1994 Jeff Law (law@snake.cs.utah.edu) | |
6379 | ||
6380 | * emultempl/hppaelf.em: Add newlines to the error messages. | |
6381 | ||
6382 | Sat Sep 10 16:05:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6383 | ||
6384 | * config/i386lynx.mh: New file. | |
6385 | * scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text | |
6386 | unless CONSTRUCTING. | |
6387 | ||
6388 | Thu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6389 | ||
6390 | * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32. | |
6391 | (GENERATE_SHLIB_SCRIPT): Define as yes. | |
6392 | (DYNAMIC_LINK): Define as false. | |
6393 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): | |
6394 | Initialize config.dynamic_link to DYNAMIC_LINK if it is defined. | |
6395 | (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end. | |
6396 | * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than | |
6397 | generic.em. | |
6398 | ||
6399 | Thu Sep 8 16:30:37 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
6400 | ||
6401 | * scripttempl/h8500b.sc: Put rdata stuff into own segment. | |
6402 | ||
6403 | Thu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6404 | ||
6405 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define; | |
6406 | .got section is now explicitly handled in elf.sc. | |
6407 | ||
6408 | Wed Sep 7 13:08:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6409 | ||
6410 | * scripttempl/alpha.sc: Redo script to set . outside of sections | |
6411 | and not bother to explicitly specify section addresses. | |
6412 | Explicitly place .sdata section. | |
6413 | ||
6414 | Tue Sep 6 23:51:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6415 | ||
6416 | * scripttempl/m68kcoff.sc: Put .bss in data segment. | |
6417 | ||
6418 | * scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of | |
6419 | 0, and to only be marked as NOLOAD if relocating. | |
6420 | * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise. | |
6421 | * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise. | |
6422 | * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise. | |
6423 | * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise. | |
6424 | * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise. | |
6425 | * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise. | |
6426 | * scripttempl/sparclynx.sc: Likewise. | |
6427 | ||
6428 | Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) | |
6429 | ||
6430 | * Makefile.in, configure.in: Add support (disabled) the ARM/RISCiX. | |
6431 | * config/riscix.mt, emulparams/riscix.sh, scripttempl/riscix.sc: | |
6432 | New files. | |
6433 | ||
6434 | Tue Aug 30 11:48:08 1994 Eric Youngdale (ericy@cais.cais.com) | |
6435 | ||
6436 | * ld.h (args_type): Add field soname. | |
6437 | * lexsup.c (parse_args): Handle -soname argument. | |
6438 | * emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections, | |
6439 | pass soname. | |
6440 | * ld.texinfo: Document -soname. | |
6441 | ||
6442 | Mon Aug 29 15:21:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6443 | ||
6444 | * ldlang.c (lang_check): Don't try to set the architecture if the | |
6445 | input and output files are incompatible. Just warn. | |
6446 | ||
6447 | Wed Aug 24 12:52:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6448 | ||
6449 | * configure.in: Change i[34]86 to i[345]86. | |
6450 | ||
6451 | Sun Aug 21 16:17:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6452 | ||
6453 | * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0. | |
6454 | ||
6455 | Thu Aug 18 15:37:45 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6456 | ||
6457 | Make the ELF linker handle orphaned sections reasonably. Also, | |
6458 | define __start_SECNAME and __stop_SECNAME around sections whose | |
6459 | names can be represented in C, for the benefit of symbol sets in | |
6460 | glibc. | |
6461 | * ldemul.h (ldemul_place_orphan): Declare. | |
6462 | (ld_emulation_xfer_type): Add place_orphan field. | |
6463 | * ldemul.c (ldemul_place_orphan): New function. | |
6464 | * ldlang.h (wild_doit): Declare. | |
6465 | * ldlang.c (wild_doit): Make nonstatic. | |
6466 | (lang_place_orphans): Call ldemul_place_orphan. | |
6467 | * emultempl/elf32.em: Include <ctype.h> and "ldgram.h". | |
6468 | (hold_section, hold_use, hold_text, hold_data, hold_bss): New | |
6469 | static variables. | |
6470 | (gld${EMULATION_NAME}_place_orphan): New static function. | |
6471 | (gld${EMULATION_NAME}_place_section): New static function. | |
6472 | (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field. | |
6473 | ||
6474 | Tue Aug 16 00:17:20 1994 Eric Youngdale (ericy@cais.cais.com) | |
6475 | ||
6476 | * scripttempl/aout.sc: Add .linux-dynamic after .data. | |
6477 | ||
6478 | Tue Aug 16 00:08:22 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6479 | ||
6480 | * lexsup.c (parse_args) Treat --dll-verbose as --version, for | |
6481 | Linux compatibility. From hjl@nynexst.com (H.J. Lu). | |
6482 | ||
6483 | Mon Aug 15 17:17:33 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6484 | ||
6485 | * ldexp.h (exp_get_abs_int): Declare. | |
6486 | ||
6487 | Sat Aug 6 01:45:39 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
6488 | ||
6489 | * ldlang.c (lang_do_assignments): Handle complex AT's better. | |
6490 | * ldexp.c (exp_get_abs_int): New function. | |
6491 | ||
6492 | Fri Aug 5 20:55:55 1994 Jason Molenda (crash@phydeaux.cygnus.com) | |
6493 | ||
6494 | * configure.in: add i960-nindy-coff support. | |
6495 | ||
6496 | Thu Aug 4 14:45:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6497 | ||
6498 | * ldlex.l (yy_create_string_buffer): Handle change to internal | |
6499 | interface in flex 2.4.7. | |
6500 | ||
6501 | Tue Aug 2 11:52:06 1994 Eric Youngdale (ericy@cais.cais.com) | |
6502 | ||
6503 | * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement): | |
6504 | New function; add 0x20 to any use of -Ttext. | |
6505 | (gld${EMULATION_NAME}_create_output_section_statements): New | |
6506 | function. | |
6507 | (ld_${EMULATION_NAME}_emulation): Use the new function | |
6508 | gld${EMULATION_NAME}_create_output_section_statements. | |
6509 | ||
6510 | Mon Aug 1 15:50:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6511 | ||
6512 | * scripttempl/mips.sc: Redo script to set . outside of sections | |
6513 | and not bother to explicitly specify section addresses. | |
6514 | ||
6515 | Tue Jul 26 11:02:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6516 | ||
6517 | * scripttempl/elf.sc: Copy several more relocation sections into | |
6518 | the output. Put .got.plt sections into .got. | |
6519 | ||
6520 | Fri Jul 22 12:15:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6521 | ||
6522 | * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end. | |
6523 | ||
6524 | Add a new script operator, PROVIDE, to define a symbol only if it | |
6525 | is needed. | |
6526 | * ldgram.y (PROVIDE): New token. | |
6527 | (assignment): Accept PROVIDE. | |
6528 | * ldlex.l (PROVIDE): New token. | |
6529 | * ldexp.h (node_type): Add etree_provide to node_class enum. | |
6530 | (exp_provide): Declare. | |
6531 | * ldexp.c (exp_fold_tree): Handle etree_provide. | |
6532 | (exp_provide): New function. | |
6533 | (exp_print_tree): Handle etree_provide. | |
6534 | * ld.texinfo: Document PROVIDE. | |
6535 | ||
6536 | * ldlang.c (lang_common): Pass desired alignment to | |
6537 | lang_one_common as power of two. | |
6538 | (lang_one_common): Get common symbol alignment from linker hash | |
6539 | table entry. Treat desired alignment as a power of two. | |
6540 | ||
6541 | * ldlang.c (wild_section): Attach all section with the given name, | |
6542 | not just the first one. If there is no name, attach all sections | |
6543 | even if the SEC_IS_COMMON flag is set. | |
6544 | ||
6545 | Wed Jul 20 15:49:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6546 | ||
6547 | * ld.h (args_type): Add field rpath. | |
6548 | * lexsup.c (S_ISDIR): Define if not already defined. | |
6549 | (parse_args): Add support for -rpath. If -R is used to name a | |
6550 | directory, treat it as -rpath for Solaris compatibility. | |
6551 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
6552 | Pass command_line.rpath to bfd_elf32_size_dynamic_sections. | |
6553 | * ldmain.c (main): Initialize command_line.rpath to NULL. | |
6554 | * ld.texinfo: Document -rpath option. | |
6555 | ||
6556 | Sun Jul 10 00:33:24 1994 Ian Dall (dall@hfrd.dsto.gov.au) | |
6557 | ||
6558 | * emulparams/pc532machaout.sh: New file. Pc532 mach script | |
6559 | parameters. | |
6560 | ||
6561 | * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters. | |
6562 | ||
6563 | * config/pc532mach.mt: New file. Pc532 mach target support. | |
6564 | ||
6565 | * config/pc532mach.mh: New file. Pc532 mach host support. | |
6566 | ||
6567 | * config/netbsd532.mt: New file. Netbsd 532 target support. | |
6568 | ||
6569 | * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support. | |
6570 | ||
6571 | * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c | |
6572 | dependency. | |
6573 | ||
6574 | Fri Jul 8 10:57:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6575 | ||
6576 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use | |
6577 | bfd_abs_section_ptr, not &bfd_abs_section. | |
6578 | ||
6579 | * lexsup.c (parse_args): Changed "retain-symbols-file" from | |
6580 | no_argument to required_argument. From djm. | |
6581 | ||
6582 | Thu Jul 7 12:29:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6583 | ||
6584 | * scripttempl/elf.sc: Explicitly mention .stab and .stabstr | |
6585 | sections to force a VMA of 0; needed for ELF backends which have | |
6586 | not been converted to the new linker style. | |
6587 | ||
6588 | Mon Jul 4 19:35:45 1994 Jeff Law (law@snake.cs.utah.edu) | |
6589 | ||
6590 | * scripttempl/hppaelf.sc (__stack_zero): Don't define this name, | |
6591 | it was for the HPUX dynamic loader's use and it creates problems | |
6592 | with ELF GDB. | |
6593 | ||
6594 | Fri Jul 1 12:53:47 1994 Jeff Law (law@snake.cs.utah.edu) | |
6595 | ||
6596 | * ldlang.c (lang_do_assignments): No longer static. Delete decl. | |
6597 | * ldlang.h (lang_do_assignments): Put external decl here. | |
6598 | * emultempl/hppaelf.em: Minor cleanups throughout file. | |
6599 | (hppa_elf_create_output_section_statements): Rewrite. | |
6600 | (hppaelf_finish): Rewrite. | |
6601 | ||
6602 | Wed Jun 29 16:50:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6603 | ||
6604 | * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib. | |
6605 | ||
6606 | * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do not | |
6607 | accept plain -B. | |
6608 | * ld.texinfo: -Bstatic is not ignored. | |
6609 | ||
6610 | Tue Jun 28 12:13:34 1994 Stan Shebs (shebs@andros.cygnus.com) | |
6611 | ||
6612 | * ldlex.l: Recognize \r the same as \n. | |
6613 | ||
6614 | Thu Jun 23 17:53:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6615 | ||
6616 | Preliminary support for generating shared libraries, from Eric | |
6617 | Youngdale <ericy@cais.cais.com>. | |
6618 | * genscripts.sh: If the emulation parameter file sets | |
6619 | GENERATE_SHLIB_SCRIPT, generate a .xs script file with | |
6620 | CREATE_SHLIB defined. | |
6621 | * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): If | |
6622 | link_info.shared is set, use the .xs script file. | |
6623 | * scripttempl/elf.sc: If CREATE_SHLIB is set, don't create a | |
6624 | .interp section, and don't include TEXT_START_ADDR in the starting | |
6625 | address of the first section. | |
6626 | * emulparams/elf_i386.sh (GENERATE_SHLIB_SCRIPT): Likewise. | |
6627 | * emulparams/elf32_sparc.sh (GENERATE_SHLIB_SCRIPT): Define. | |
6628 | ||
6629 | Thu Jun 23 12:52:22 1994 David J. Mackenzie (djm@rtl.cygnus.com) | |
6630 | ||
6631 | * configure.in: Change --with-targets to --enable-targets. | |
6632 | ||
6633 | Wed Jun 22 13:42:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6634 | ||
6635 | * lexsup.c (parse_args): Add support for new options -( -) with | |
6636 | synonyms --start-group --end-group. | |
6637 | * ldlang.h (enum statement_enum): Add lang_group_statement_enum. | |
6638 | (lang_group_statement_type): Define new struct. | |
6639 | (lang_statement_union_type): Add group_statement field. | |
6640 | (lang_enter_group, lang_leave_group): Declare. | |
6641 | * ldlang.c (lang_for_each_statement_worker): Handle | |
6642 | lang_group_statement_enum. | |
6643 | (map_input_to_output_sections, print_statement): Likewise. | |
6644 | (lang_size_sections, lang_do_assignments): Likewise. | |
6645 | (open_input_bfds): Completely rewrite. Now does its own looping, | |
6646 | rather than using lang_for_each_statement. Handle groups. | |
6647 | (lang_process): Update call to open_input_bfds. | |
6648 | (print_group): New static function. | |
6649 | (lang_enter_group, lang_leave_group): New static functions. | |
6650 | * ldfile.c (ldfile_open_file): If the file has already been | |
6651 | opened, just return rather than taking an assertion failure. | |
6652 | * ldver.c (help): Mention new options. | |
6653 | * ld.texinfo: Document new options. | |
6654 | ||
6655 | * ldlang.c (end_of_data_section_statement_list): Don't define. | |
6656 | (lang_leave_output_section_statement): Don't set obsolete variable | |
6657 | end_of_data_section_statement_list. | |
6658 | ||
6659 | * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an | |
6660 | ALIGN. | |
6661 | ||
6662 | * ldlang.c (lang_size_sections): Adjust current region address | |
6663 | even for sections with an explicit address. From | |
6664 | ralphc@pyramid.com (Ralph Campbell). | |
6665 | ||
6666 | * emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0. | |
6667 | From jrs@world.std.com (Rick Sladkey). | |
6668 | ||
6669 | * scripttempl/mipsbsd.sc: Let sections align to their natural | |
6670 | boundaries. | |
6671 | ||
6672 | Tue Jun 21 11:27:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
6673 | ||
6674 | * ldlang.c (lang_init): Use new bfd_abs_section_ptr, not | |
6675 | &bfd_abs_section. | |
6676 | (lang_abs_symbol_at_beginning_of): Likewise. | |
6677 | (lang_abs_symbol_at_end_of): Likewise. | |
6678 | (lang_size_sections): Use bfd_is_abs_section to check for the | |
6679 | absolute section. Don't try to set the VMA or output_offset or | |
6680 | size of the absolute section. | |
6681 | * ldmain.c (notice_ysym): Use bfd_is_und_section to check for the | |
6682 | undefined section. | |
6683 | ||
6684 | Thu Jun 16 22:48:41 1994 Jeff Law (law@snake.cs.utah.edu) | |
6685 | ||
6686 | * scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000 | |
6687 | when generating relocatable objects. | |
6688 | ||
6689 | Thu Jun 16 14:25:22 1994 Eric Youngdale (ericy@cais.cais.com) | |
6690 | ||
6691 | * emultempl/linux.em: New file providing support for linking | |
6692 | against Linux shared libraries. | |
6693 | * config/i386-linux.mt (ei386linux.c): Depend upon linux.em. | |
6694 | * emulparams/i386linux.sh (TEMPLATE_NAME): Define as linux. | |
6695 | ||
6696 | Thu Jun 16 12:22:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6697 | ||
6698 | * lexsup.c (parse_args): Add -shared to longopts, and handle it. | |
6699 | * ldmain.c (main): Initialize link_info.shared to false. Give | |
6700 | error if link_info.relocateable and link_info.shared are both set. | |
6701 | ||
6702 | * configure.in: If EMUL_EXTRA* is defined in a config file, treat | |
6703 | it as naming an emulation to be added to EMULATION_OFILES. | |
6704 | * config/i386-linux.mt (EMUL_EXTRA1): Define as elf_i386. | |
6705 | ||
6706 | * Makefile.in: Rebuilt dependencies. | |
6707 | (ALL_EMULATIONS): Add ei386linux.o, eelf32_sparc.o, | |
6708 | eelf64_sparc.o. Remove $(OTHER_EMULATIONS). | |
6709 | (ei386linux.c, eelf32_sparc.c, eelf64_sparc.c): New targets. | |
6710 | * config/i386-linux.mt (OTHER_EMULATIONS): Don't define. | |
6711 | (ei386linux.c): Remove; now in Makefile.in. | |
6712 | * config/i386-lynx.mt (OTHER_EMULATIONS): Don't define. | |
6713 | * config/m68k-lynx.mt (OTHER_EMULATIONS): Don't define. | |
6714 | * config/sparc-lynx.mt (OTHER_EMULATIONS): Don't define. | |
6715 | * config/sparc64-elf.mt (OTHER_EMULATIONS): Don't define. | |
6716 | (eelf64_sparc.c): Remove; now in Makefile.in. | |
6717 | * config/sun4sol2.mt (OTHER_EMULATIONS): Don't define. | |
6718 | (eelf32_sparc.c): Remove; now in Makefile.in. | |
6719 | ||
6720 | * ldexp.c (exp_print_tree): Don't crash if etree_rel section has | |
6721 | no owner--it might be bfd_abs_section. From Eric Youngdale | |
6722 | <ericy@cais.cais.com>. | |
6723 | ||
6724 | * scripttempl/aout.sc: Let sections align to their natural | |
6725 | boundaries. | |
6726 | ||
6727 | Wed Jun 15 01:54:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6728 | ||
6729 | * ldemul.h (ldemul_open_dynamic_archive): Declare. | |
6730 | (ld_emulation_xfer_type): Add new field open_dynamic_archive. | |
6731 | * ldemul.c: Include ldexp.h and ldlang.h. | |
6732 | (ldemul_open_dynamic_archive): New function. | |
6733 | * ldfile.h (ldfile_open_file_search): Declare. | |
6734 | * ldfile.c: Include ldemul.h. | |
6735 | (try_open_bfd): Rename from cache_bfd_openr. Return boolean | |
6736 | argument, not bfd *. Change all callers. | |
6737 | (ldfile_open_file_search): Rename from open_a. Return boolean | |
6738 | argument, not bfd *. Clean up. Change all callers. | |
6739 | (ldfile_open_file): If doing a dynamic link, call | |
6740 | ldemul_open_dynamic_archive rather than assuming the extension of | |
6741 | a dynamic object is ".so". | |
6742 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
6743 | New function. | |
6744 | (ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive | |
6745 | field. | |
6746 | * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
6747 | ||
6748 | * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility. | |
6749 | * lexsup.c (parse_args): Ignore -qmagic for Linux compatibility. | |
6750 | Accept -static as a synonym for -non_shared. | |
6751 | ||
6752 | Let the user change the dynamic linker used by ELF code. | |
6753 | * ld.h (args_type): Add new field interpreter. | |
6754 | * lexsup.c (parse_args): Add dynamic-linker to longopts, and | |
6755 | handle it. | |
6756 | * ldmain.c (main): Initialize command_line.interpreter to NULL. | |
6757 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get | |
6758 | the ELF backend to return the .interp section. If | |
6759 | command_line.interpreter is not NULL, set the contents of .interp | |
6760 | to it. | |
6761 | * ld.texinfo: Mention -dynamic-linker. | |
6762 | ||
6763 | * config/sun4sol2.mt (eelf32_sparc.c): Depend upon elf32.em, not | |
6764 | generic.em. | |
6765 | ||
6766 | * lexsup.c (parse_args): Sort out the option macros and change the | |
6767 | definitions to make it easier to add a new option. | |
6768 | ||
6769 | * scripttempl/aout.sc: Define __etext and __edata to go along with | |
6770 | _etext and _edata. | |
6771 | ||
6772 | * ld.h (ld_config_type): Add new field traditional_format. | |
6773 | * lexsup.c (parse_args): Add traditional-format to longopts, and | |
6774 | handle it. | |
6775 | * ldmain.c (main): Initialize config.traditional_format to false. | |
6776 | * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD | |
6777 | flags of output_bfd according to config.traditional_format. | |
6778 | * ldver.c (help): Mention -traditional-format. | |
6779 | * ld.texinfo: Document -traditional-format. | |
6780 | ||
6781 | Tue Jun 14 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6782 | ||
6783 | * ldctor.c (ldctor_add_entry): Add entries to a set in the order | |
6784 | they are encountered. | |
6785 | ||
6786 | Tue Jun 14 18:05:09 1994 Eric Youngdale (ericy@cais.cais.com) | |
6787 | ||
6788 | * emulparams/i386linux.sh (TEXT_START_ADDR): Define as 0x1000. | |
6789 | (NONPAGED_TEXT_START_ADDR): Define as 0x20. | |
6790 | ||
6791 | Mon Jun 13 15:46:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6792 | ||
6793 | * scripttempl/alpha.sc: Define _ftext, _etext and _fdata insted of | |
6794 | _FTEXT, _ETEXT and _FDATA. Dont define _END. | |
6795 | ||
6796 | * ldfile.c (open_a): If this is not an archive, try to open it in | |
6797 | the current directory before searching for it. | |
6798 | ||
6799 | * lexsup.c (parse_args): Treat -i as a synonym for -r. | |
6800 | ||
6801 | * ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so that | |
6802 | BLOCK works in a section address as documented. | |
6803 | ||
6804 | * ldgram.y (YYDEBUG): Don't define. | |
6805 | ||
6806 | Fri Jun 10 16:45:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6807 | ||
6808 | * emultempl/gld960.em: Pass false for new argument to | |
6809 | ldfile_add_library_path. | |
6810 | * emultempl/gld960c.em, emultempl/lnk960.em: Likewise. | |
6811 | ||
6812 | * emultempl/sunos.em: Only look for .so files if doing a dynamic | |
6813 | link. | |
6814 | ||
6815 | Thu Jun 9 08:35:17 1994 Ian Lance Taylor (ian@cygnus.com) | |
6816 | ||
6817 | * scripttempl/i960.sc: Add CONSTRUCTORS to .data. | |
6818 | ||
6819 | Thu Jun 9 06:52:29 1994 Bill Cox (bill@rtl.cygnus.com) | |
6820 | ||
6821 | * Makefile.in (check): Delete ld.new dependency so that a regression | |
6822 | test doesn't trigger a rebuild of the linker. | |
6823 | ||
6824 | Thu Jun 9 00:17:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6825 | ||
6826 | * ldlang.c (map_input_to_output_sections): For lang_address, call | |
6827 | init_os if it hasn't already been called. | |
6828 | ||
6829 | Thu Jun 2 17:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6830 | ||
6831 | Add support for SunOS shared libraries. | |
6832 | * aout.sc: Don't define __DYNAMIC here. Add new sections used by | |
6833 | shared library support code. | |
6834 | * emultempl/sunos.em: New file. | |
6835 | * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. | |
6836 | * emulparams/sun3.sh (TEMPLATE_NAME): Likewise. | |
6837 | * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em. | |
6838 | (esun3.c): Likewise. | |
6839 | ||
6840 | * ldlang.c: Minor formatting cleanups. | |
6841 | (lang_for_each_input_file): New function. | |
6842 | * ldlang.h (lang_for_each_input_file): Declare. | |
6843 | ||
6844 | * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline | |
6845 | field. | |
6846 | (search_head): Declare. | |
6847 | (ldfile_add_library_path): Add new cmdline argument in prototype. | |
6848 | * ldfile.c (search_head): Make non-static. | |
6849 | (search_dirs_type): Move to ldfile.h. | |
6850 | (ldfile_add_library_path): Accept cmdline argument, and save it. | |
6851 | * lexsup.c (parse_args): Pass true for new cmdline argument of | |
6852 | ldfile_add_library_path. | |
6853 | (set_default_dirlist): Likewise. | |
6854 | * ldmain.c (check_for_scripts_dir): Pass false for new cmdline | |
6855 | argument of ldfile_add_library_path. | |
6856 | * ldgram.y (ifile_p1): Likewise. | |
6857 | ||
6858 | Wed Jun 1 14:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6859 | ||
6860 | * ldlang.h (lang_input_statement_type): Remove fields subfiles, | |
6861 | total_size, superfile and chain. | |
6862 | * ldfile.c (open_a): Don't clear search_dirs_flag. | |
6863 | (ldfile_open_file): Don't try to open superfile. Assert that file | |
6864 | has not already been opened. | |
6865 | * ldlang.c (new_afile): Don't initialize superfile. | |
6866 | * ldmain.c (add_archive_element): Don't initialize subfiles or | |
6867 | chain or superfile. Initialize search_dirs_flag to false. | |
6868 | ||
6869 | Fri May 27 12:25:33 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
6870 | ||
6871 | * ldver.c (ldversion): Changed version to "cygnus-2.4.1". | |
6872 | ||
6873 | Changes from binutils-2.4 release: | |
6874 | ||
6875 | * genscripts.sh (RELOCATING, CONSTRUCTING): When setting | |
6876 | variables, use whitespace, so scripts don't break. | |
6877 | ||
6878 | * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted. | |
6879 | ||
6880 | * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}. | |
6881 | ||
6882 | * cdtest-bar.cc: Renamed from cdtest-func.cc. | |
6883 | * Makefile.in: Noted change. | |
6884 | ||
6885 | * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I | |
6886 | don't know where that's supposed to come from, or why it's | |
6887 | necessary. | |
6888 | ||
6889 | Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) | |
6890 | ||
6891 | * configure.bat: update to latest makefile.in | |
6892 | * emulpara/go32.sh: set to coff-go32 not aout | |
6893 | * emultemp/generic.em: strength-reduce the structure of | |
6894 | this shell script, since the only available shell for | |
6895 | DOS can't handle complex syntax. | |
6896 | * emultemp/stringify.sed: for "sed -f" instead of inline. | |
6897 | * makefile.in: depend on stringify.sed as well as genscripts.sh | |
6898 | * scripttemp/go32coff.sc: correct for djgpp 1.11's COFF format | |
6899 | * genscripts.sh: empty variables aren't always considered "set", | |
6900 | so set them to "y" instead. | |
6901 | ||
6902 | Fri May 27 01:08:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6903 | ||
6904 | * ldlang.c (entry_symbol): Make static. | |
6905 | (lang_add_entry): Add cmdline argument. | |
6906 | * ldlang.h (lang_add_entry): Change prototype. | |
6907 | * ldgram.y (statement_anywhere): Change lang_add_entry call. | |
6908 | * lexsup.c (parse_args): Likewise. | |
6909 | ||
6910 | Tue May 24 16:13:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6911 | ||
6912 | * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give | |
6913 | .reginfo an address. | |
6914 | (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address. | |
6915 | (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss. | |
6916 | * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script. | |
6917 | ||
6918 | Thu May 19 13:31:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6919 | ||
6920 | Add support for ELF shared libraries. | |
6921 | * ld.h (ld_config_type): Add field dynamic_link. | |
6922 | * ldmain.c (main): Initialize config.dynamic_link to false. Warn | |
6923 | on attempts to use -r with -relax, -call_shared or -s. | |
6924 | * lexsup.c (longopts): Separate OPTION_CALL_SHARED from | |
6925 | OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values | |
6926 | accordingly. Add "dy" and "non_shared" options. Change "Qy" to | |
6927 | OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and | |
6928 | OPTION_NON_SHARED by setting dynamic_link field accordingly. | |
6929 | Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for | |
6930 | -r and -Ur. | |
6931 | * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try | |
6932 | opening a file with a .so extension first. | |
6933 | * emultempl/elf32.em: New file. | |
6934 | * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. | |
6935 | (NONPAGED_TEXT_START_ADDR): Likewise. | |
6936 | (TEMPLATE_NAME): Define as elf32. | |
6937 | (DATA_PLT): Define. | |
6938 | * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. | |
6939 | * scripttempl/elf.sc: Add placement for new dynamic sections. | |
6940 | Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end | |
6941 | outside of any section. Don't use ALIGN(8); just let one section | |
6942 | VMA follow another. Put .dynbss in .bss. Don't mention debugging | |
6943 | sections; they'll be handled correctly anyhow. | |
6944 | * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em. | |
6945 | ||
6946 | Wed May 18 10:15:39 1994 Ian Lance Taylor (ian@cygnus.com) | |
6947 | ||
6948 | * Makefile.in (install): Redirect output of ln to /dev/null. | |
6949 | ||
6950 | Mon May 16 13:35:08 1994 Jeff Law (law@snake.cs.utah.edu) | |
6951 | ||
6952 | * emultempl/hppaelf.em: Change all references of | |
6953 | .hppa_linker_stubs to .PARISC.stubs. | |
6954 | * scripttempl/hppaelf.sc: Likewise. | |
6955 | ||
6956 | Fri May 13 13:00:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6957 | ||
6958 | * ldlang.c (print_output_section_statement): Change ``no attached | |
6959 | output section'' message slightly. | |
6960 | (lang_do_assignments): Don't recurse down if there is no real | |
6961 | section. | |
6962 | ||
6963 | * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to | |
6964 | match corresponding change in emulation templates. | |
6965 | * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise. | |
6966 | * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise. | |
6967 | ||
6968 | Wed May 11 18:16:46 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
6969 | ||
6970 | * ldver.c (ldversion): Updated version number. | |
6971 | ||
6972 | * cdtest-foo.cc: Use explicit "#pragma implementation". | |
6973 | * cdtest-bar.cc: Renamed from cdtest-func.cc. | |
6974 | * Makefile.in: References to cdtest-func.o changed to | |
6975 | cdtest-bar.o. | |
6976 | ||
6977 | Wed May 11 16:24:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6978 | ||
6979 | Don't create unnecessary output sections. | |
6980 | * ldlang.c (out_bfd_get_section_by_name): Remove. | |
6981 | (wild_section): Call bfd_get_section_by_name rather than | |
6982 | our_bfd_get_section_by_name. Don't call wild_doit if there is no | |
6983 | section. | |
6984 | (lang_create_output_section_statements): Remove. | |
6985 | (map_input_to_output_sections): For several cases, call init_os if | |
6986 | it has not already been called. | |
6987 | (lang_size_sections): If output section was not created, skip it. | |
6988 | (lang_process): Don't call lan_create_output_section_statements. | |
6989 | (lang_place_orphans): Skip files with just_syms_flags set to true. | |
6990 | * ld.texinfo: Document change. | |
6991 | ||
6992 | Tue May 10 14:31:16 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6993 | ||
6994 | * ldlang.c (wild_doit): Don't bother initializing the vma and | |
6995 | section size. Don't special case SEC_SHARED_LIBRARY. | |
6996 | (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections | |
6997 | specially. | |
6998 | ||
6999 | Fri May 6 12:24:27 1994 Steve Chamberlain (sac@cygnus.com) | |
7000 | ||
7001 | * config/go32.mh : New file for Xgo32X. | |
7002 | ||
7003 | Fri May 6 15:15:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7004 | ||
7005 | * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call | |
7006 | before calling einfo, since we are reporting an fopen failure. | |
7007 | From jrs@world.std.com (Rick Sladkey). | |
7008 | ||
7009 | * configure.in: Use "e" rather than "em_" as prefix for | |
7010 | emulations. | |
7011 | ||
7012 | Fri May 6 01:08:14 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) | |
7013 | ||
7014 | * emultempl/generic.em: Use "e" rather than "em_" as prefix for | |
7015 | filename. | |
7016 | * emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em, | |
7017 | emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: | |
7018 | Ditto. | |
7019 | * Makefile.in: Changed all generated file names. | |
7020 | (ldemul-list.h): Depend on Makefile, not config.status. Changed | |
7021 | sed patterns to handle new filenames. | |
7022 | ||
7023 | * config/mipsl-idt.mt: Renamed from mips-idtl.mt. | |
7024 | * configure.in: Adjusted. | |
7025 | ||
7026 | Thu May 5 15:07:32 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
7027 | ||
7028 | * Makefile.in (install-info): Don't use "$<*", it doesn't always | |
7029 | work. Instead, check build dir and $srcdir explicitly, and use | |
7030 | `echo' to get all the filenames. | |
7031 | ||
7032 | * configure.in (h8300h-*-hms): Changed ld_target name to | |
7033 | cf-h8300h. | |
7034 | * config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it | |
7035 | unique in 8.3. | |
7036 | ||
7037 | * config/i960coff.mt: New file. | |
7038 | * emulparams/gld960coff.sh: New file. | |
7039 | * emultempl/gld960c.em: New file. | |
7040 | * configure.in (i960-*-vxworks5* except -vxworks5.0*): Use | |
7041 | i960coff configuration. | |
7042 | * Makefile.in (em_gld960coff.c): Added dependencies, build rule. | |
7043 | ||
7044 | * Makefile.in (ALL_EMULATIONS): Remove em_delta68.o, since the | |
7045 | code isn't included in FSF releases, and it can still be | |
7046 | explicitly selected. | |
7047 | (distclean): Remove site.bak and tmpdir. | |
7048 | (STAGESTUFF): Removed $(GENERATED_CFILES) $(GENERATED_HFILES). | |
7049 | (mostlyclean): Delete them explicitly here. Also remove tmpdir. | |
7050 | ||
7051 | Patches from Ralph Campbell: | |
7052 | * config/mipsbsd.mh: New file. | |
7053 | * Makefile.in (em_mipsbsd.c): Use mipsbsd.sc, not aout.sc. | |
7054 | * scripttempl/mipsbsd.sc: Don't define __DYNAMIC. | |
7055 | * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out' | |
7056 | instead of `aout'. | |
7057 | ||
7058 | * configure.in (i386-*-gnu*): Treat like i386-*-mach*. | |
7059 | ||
7060 | Wed May 4 11:59:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7061 | ||
7062 | * config/m68k.mt (EMUL): Set to m68kaout. | |
7063 | * emulparams/m68kaout.sh: New file. | |
7064 | * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o. | |
7065 | (em_m68kaout.c): New target. | |
7066 | ||
7067 | * ldlang.c (lang_size_sections): If dot moves because of an | |
7068 | assignment, don't try to insert a pad into the absolute output | |
7069 | section, just change the address of the default memory region | |
7070 | instead. | |
7071 | ||
7072 | * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur, | |
7073 | cdtest-ur.out, and cdtest-ur.tmp. | |
7074 | ||
7075 | Wed Apr 27 16:03:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7076 | ||
7077 | * scripttempl/sa29200.sc: Align all sections to four byte | |
7078 | boundaries. | |
7079 | ||
7080 | Wed Apr 27 10:48:03 1994 Steve Chamberlain (sac@cygnus.com) | |
7081 | ||
7082 | * Makefile.in, configure.in: Support for go32 coff. | |
7083 | * config/i386-go32.mt: New file | |
7084 | * emulparams/i386go32.sh: New file | |
7085 | * scripttempl/i386go32.sc: New file | |
7086 | ||
7087 | Tue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com) | |
7088 | ||
7089 | * Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use | |
7090 | Lynx-specific script templates. | |
7091 | * configure.in (sparclite*-*-coff): Use coff-sparc. | |
7092 | * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx. | |
7093 | * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx. | |
7094 | (ENTRY): Set to __main. | |
7095 | * scripttempl/i386lynx.sc: New file, script for I386 Lynx. | |
7096 | * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections. | |
7097 | * scripttempl/sparclynx.sc: New file, script for uSparc Lynx. | |
7098 | ||
7099 | Tue Apr 26 12:41:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7100 | ||
7101 | * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16 | |
7102 | byte boundary, in case the global constructors do not take up an | |
7103 | even 16 bytes. | |
7104 | ||
7105 | * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not | |
7106 | exist, get crtbegin based on gcc -print-libgcc-file-name. | |
7107 | (HOSTING_LIBS): Similar change for ../gcc/crtend.o. | |
7108 | ||
7109 | Mon Apr 25 15:27:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7110 | ||
7111 | * ldlang.c (lang_size_sections): When no address is given for a | |
7112 | section, align it according to its requirements. | |
7113 | ||
7114 | Thu Apr 21 17:24:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7115 | ||
7116 | * Makefile.in (clean, distclean): Remove configdoc.texi. | |
7117 | ||
7118 | Tue Apr 19 12:12:15 1994 Bill Cox (bill@rtl.cygnus.com) | |
7119 | ||
7120 | * configure.in: Add i[34]86-*-bsd386 to the patterns recognized. | |
7121 | ||
7122 | Fri Apr 15 14:35:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7123 | ||
7124 | * ldlang.c (lang_size_sections): When relaxing, adjust the | |
7125 | position of a padding statement, and adjust dot accordingly. | |
7126 | ||
7127 | Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com) | |
7128 | ||
7129 | * Makefile.in (EXPECT, RUNTEST): Set these for the check goal. | |
7130 | ||
7131 | Mon Apr 11 12:32:57 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7132 | ||
7133 | * scripttempl/i386coff.sc: If relocating, don't put .init and | |
7134 | .fini sections into .text; keep them separate. | |
7135 | * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not | |
7136 | exist, get crtbegin based on gcc -print-libgcc-file-name. | |
7137 | (HOSTING_LIBS): Similar change for ../gcc/crtend.o. | |
7138 | ||
7139 | Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com) | |
7140 | ||
7141 | * Makefile.in (check): Set TCL_LIBRARY for runtest. | |
7142 | ||
7143 | Wed Apr 6 00:09:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) | |
7144 | ||
7145 | * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the | |
7146 | manufacturer. | |
7147 | ||
7148 | * emultempl/hppaelf.em (hppaelf_finish): Only resize sections | |
7149 | if building a final executable. | |
7150 | ||
7151 | Tue Apr 5 12:17:30 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7152 | ||
7153 | * ldmain.c (main): Check the return value of bfd_close. | |
7154 | ||
7155 | Thu Mar 31 18:07:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7156 | ||
7157 | * scripttempl/alpha.sc: Clean up section alignment to ensure that | |
7158 | sections never overlap when using -r. | |
7159 | ||
7160 | Wed Mar 30 15:51:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7161 | ||
7162 | * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD | |
7163 | changes: get_symtab_upper_bound renamed and returns long, | |
7164 | bfd_canonicalize_symtab returns long, check for error indications. | |
7165 | ||
7166 | Fri Mar 25 17:20:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7167 | ||
7168 | * ldlang.c (print_input_section): For section size, use | |
7169 | _cooked_size if it is non-zero, size otherwise. | |
7170 | (size_input_section): Likewise. | |
7171 | (lang_do_assignments): Likewise (case lang_input_section_enum). | |
7172 | ||
7173 | Thu Mar 24 15:20:47 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7174 | ||
7175 | * ldlang.c (new_afile): Add new argument add_to_list. Don't set | |
7176 | real to true for lang_input_file_is_marker_enum. Clear the_bfd. | |
7177 | (lang_add_input_file): Pass true to new_afile for add_to_list. | |
7178 | (lookup_name): Remove force_load argument. Changed all callers. | |
7179 | Pass false to new_afile for add_to_list. Split loading of symbols | |
7180 | out into separate function. | |
7181 | (load_symbols): New function split out of lookup_name. Don't load | |
7182 | the symbols if they are already loaded. | |
7183 | (open_input_bfds): For lang_input_statement_enum call load_symbols | |
7184 | rather than lookup_name. | |
7185 | (lang_process): Pass abs_output_section rather than NULL to | |
7186 | lang_size_sections. | |
7187 | (lang_startup): Set real field of first_file to true. | |
7188 | ||
7189 | Wed Mar 23 14:15:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7190 | ||
7191 | * ldlang.c (had_relax): Removed. | |
7192 | (relax_again): New static variable. | |
7193 | (lang_size_sections): Change call to bfd_relax_section to | |
7194 | correspond to BFD changes. Set relax_again appropriately. | |
7195 | (lang_process): Remove #if 0 code. When relaxing, keep calling | |
7196 | lang_do_assignments and lang_size_sections until relax_again | |
7197 | becomes false. | |
7198 | ||
7199 | * emultemp/gld960.em: Include libiberty.h | |
7200 | (gld960_before_parse): Pass NULL as final argument to concat. | |
7201 | ||
7202 | Tue Mar 22 13:08:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7203 | ||
7204 | * scripttempl/aout.sc: Force _end and __end to be aligned to a | |
7205 | four byte boundary. | |
7206 | ||
7207 | * ldwrite.c (build_link_order): Handle lang_data_statement_enum by | |
7208 | building a bfd_data_link_order, rather than by setting the section | |
7209 | contents immediately. | |
7210 | ||
7211 | Mon Mar 21 18:28:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7212 | ||
7213 | Changes to make -Ur work again. | |
7214 | * ldmain.c (add_to_set): Now takes reloc argument rather than | |
7215 | bitsize. Check config.build_constructors here. If an new hash | |
7216 | table entry is created, mark it as undefined. | |
7217 | (constructor_callback): No longer takes bitsize argument. Pass | |
7218 | BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the | |
7219 | BFD backend supports it. | |
7220 | (reloc_overflow): Handle a NULL abfd argument. | |
7221 | (reloc_dangerous, unattached_reloc): Likewise. | |
7222 | * ldctor.c: Include ldmain.h. | |
7223 | (struct set_info): Change bitsize field to reloc. | |
7224 | (ldctor_add_set_entry): Now takes reloc argument rather than | |
7225 | bitsize. Don't bother to check config.build_constructors here. | |
7226 | (ldctor_build_sets): Get the size from the reloc howto. If | |
7227 | generating relocateable output, call lang_add_reloc rather than | |
7228 | lang_add_data. | |
7229 | * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc | |
7230 | instead of bitsize. | |
7231 | * ldlang.h (statement_enum): Add lang_reloc_statement_enum. | |
7232 | (lang_reloc_statement_type): New structure. | |
7233 | (lang_statement_union_type): Add reloc_statement field. | |
7234 | (lang_add_reloc): Declare new function. | |
7235 | * ldlang.c (lang_for_each_statement_worker): Handle | |
7236 | lang_reloc_statement_enum. | |
7237 | (map_input_to_output_sections, print_statement): Likewise. | |
7238 | (lang_size_sections, lang_do_assignments): Likewise. | |
7239 | (print_reloc_statement): New function. | |
7240 | (lang_add_reloc): New function. | |
7241 | * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum. | |
7242 | ||
7243 | * Makefile.in (cdtest.out, cdtest-ur.o): New targets. | |
7244 | (cdtest-ur, cdtest-ur.out): New targets. | |
7245 | (check-cdtest): Now also check that -Ur works correctly. | |
7246 | ||
7247 | * scripttemp/alpha.sc: Align all sections to 16 byte boundaries. | |
7248 | ||
7249 | Thu Mar 17 12:45:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7250 | ||
7251 | * ldlang.c (lang_process): Move lang_common call before | |
7252 | map_input_to_output_sections, to ensure that any alignment | |
7253 | constraints set by common symbols are copied over to the output | |
7254 | sections. | |
7255 | ||
7256 | Fri Mar 11 22:17:34 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7257 | ||
7258 | * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define. | |
7259 | (OTHER_READWRITE_SECTIONS): Rename .toc to .got. | |
7260 | * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em. | |
7261 | * emultempl/ppc.em: Remove ugly stub code; turns out not to be | |
7262 | needed for ELF. | |
7263 | ||
7264 | Tue Mar 8 04:22:27 1994 David J. Mackenzie (djm@rtl.cygnus.com) | |
7265 | ||
7266 | * config/i386bsd.mh: New file. | |
7267 | ||
7268 | Mon Mar 7 15:23:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7269 | ||
7270 | * elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to be | |
7271 | defined. | |
7272 | * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext. | |
7273 | (DATA_START_SYMBOLS): Define _fdata. | |
7274 | ||
7275 | Mon Feb 28 10:59:14 1994 Stan Shebs (shebs@andros.cygnus.com) | |
7276 | ||
7277 | * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined. | |
7278 | ||
7279 | Sun Feb 27 16:29:38 1994 Jeffrey A. Law (law@snake.cs.utah.edu) | |
7280 | ||
7281 | * emultempl/hppaelf.em (hppaelf_finish): Update comments. This | |
7282 | works again. Attach some output symbols to the stub file bfd. | |
7283 | ||
7284 | * emultempl/hppaelf.em: Include elf32-hppa.h. | |
7285 | (file_chain): Add decl. | |
7286 | (hppa_look_for_stubs_in_section): Delete decl. | |
7287 | (hppaelf_finish): Reenable code. Do not pass symbols | |
7288 | down to hppa_look_for_stubs_in_section. | |
7289 | ||
7290 | Sat Feb 26 10:58:25 1994 Ian Lance Taylor (ian@cygnus.com) | |
7291 | ||
7292 | * ldmain.c (write_map): Don't define. Removed all references. | |
7293 | Just use map_file or map_filename instead. | |
7294 | (add_archive_element): Use minfo to write map information, not | |
7295 | info_msg. | |
7296 | (constructor_callback): Use fprintf to write map information, not | |
7297 | info_msg. | |
7298 | * ldmain.h (write_map): Don't declare. | |
7299 | * ldgram.y (mri_script_command): Removed reference to write_map. | |
7300 | * ldlang.c (lang_one_common): Likewise. | |
7301 | * lexsup.c (parse_args): Likewise. | |
7302 | ||
7303 | Fri Feb 25 19:12:03 1994 Ian Lance Taylor (ian@cygnus.com) | |
7304 | ||
7305 | * scripttempl/elf.sc: Force all sections to be aligned. | |
7306 | ||
7307 | * ldgram.y (section): Reverse the order of memspec_opt and | |
7308 | fill_opt to avoid an ambiguity when both are used. | |
7309 | * ld.texinfo: Changed accordingly. | |
7310 | ||
7311 | * ldgram.y: Move include of ldlex.h back with other includes. | |
7312 | * ldlex.h (input_type): Don't initialize enum constants to | |
7313 | particular values. | |
7314 | * ldlex.l: Use a switch to return the right token based on | |
7315 | input_type, rather than knowing that input_type has a value based | |
7316 | on a token type. | |
7317 | ||
7318 | * ldgram.y (dirlist_ptr): Removed; not used. | |
7319 | * lexsup.c: Include ldver.h. | |
7320 | * Makefile.in: Rebuilt dependencies. | |
7321 | ||
7322 | Fri Feb 25 18:55:54 1994 Ted Lemon (mellon@pepper.ncd.com) | |
7323 | ||
7324 | * ldlang.c (lookup_name): don't call bfd_set_gp_size. | |
7325 | (ldlang_add_file): call it here instead. | |
7326 | ||
7327 | Fri Feb 25 18:13:46 1994 David J. Mackenzie (djm@rtl.cygnus.com) | |
7328 | ||
7329 | * ldgram.y: Include ldlex.h after %token decls, for byacc. | |
7330 | ||
7331 | Fri Feb 25 10:47:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu) | |
7332 | ||
7333 | * emultempl/hppaelf.em: First attempt to clean this file up. | |
7334 | Add comments in several functions as to their purpose and | |
7335 | how they function (or my current best guess). Clean up horrible | |
7336 | spacing and indention that never should have been accepted in the | |
7337 | first place. Add FIXMEs for issues which need to be resolved. | |
7338 | Disable linker-stub generation until it gets fixed. This allows | |
7339 | the linker to at least work on simple code for testing purposes. | |
7340 | ||
7341 | * ldlang.c (lang_size_sections): No longer static (PA ELF calls | |
7342 | it via hppaelf_finish). Prototype moved into ldlang.h. | |
7343 | (lang_process): Move problematic extra call to lang_size_sections | |
7344 | into the PA ELF specific code. | |
7345 | * emultempl/hppaelf.em (hppaelf_finish): Extra call to | |
7346 | lang_size_sections moved here. | |
7347 | ||
7348 | Thu Feb 24 16:47:33 1994 Ian Lance Taylor (ian@cygnus.com) | |
7349 | ||
7350 | * configure.in (powerpc-*-elf*): New target; use ppc-elf32. | |
7351 | * config/ppc-elf32.mt: New file. | |
7352 | * emulparams/elf32ppc.sh: New file. | |
7353 | * emultempl/ppc.em: New file. | |
7354 | * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. | |
7355 | (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. | |
7356 | (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h. | |
7357 | ||
7358 | Thu Feb 24 12:27:07 1994 David J. Mackenzie (djm@rtl.cygnus.com) | |
7359 | ||
7360 | * lexsup.c (parse_args): Use symbolic numbers for long options. | |
7361 | Fix misunderstanding in -Y and -call_shared et al. | |
7362 | ||
7363 | Use getopt instead of lex and yacc to parse the command line. | |
7364 | ||
7365 | * ld.texinfo (Options): Document changes to option syntax. | |
7366 | * Makefile.in: Update dependencies. | |
7367 | * ldver.c (help): Tweak dashes in usage message. | |
7368 | * ldgram.y (%union): Remove unused members. | |
7369 | Remove %tokens for command line options; add ones for input types. | |
7370 | (command_line): Rules removed. | |
7371 | (file): Instead of command line, recognize an | |
7372 | input type indicator, then use the nonterminal for that type. | |
7373 | (defsym_expr): New nonterminal from code formerly in command_line. | |
7374 | * ldlex.h: Declare parser input type enum and variable. | |
7375 | Don't declare parse_line. | |
7376 | * ldlex.l: Remove unused variables. Make some used ones static | |
7377 | and comment them. | |
7378 | (COMMAND): Start state and its rules removed. | |
7379 | At start of yylex, return input state token if at start of input. | |
7380 | (lex_redirect): Don't need to set yyout. | |
7381 | (ldlex_command): Function removed. | |
7382 | * ldmain.c (main): Instead of calling parse_line, set up the | |
7383 | redirections and call yyparse directly. | |
7384 | * ldmisc.c (vfinfo): If there's no input filename, print nothing, not | |
7385 | "command line". | |
7386 | * lexsup.c: Remove #if 0'd code. | |
7387 | (parse_line): Function removed. | |
7388 | (parse_args): Rewrite to use getopt_long_only. | |
7389 | (set_default_dirlist): New function from code formerly in | |
7390 | ldgram.y:command_line. | |
7391 | (set_section_start): New function. | |
7392 | * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em, | |
7393 | emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose | |
7394 | compiled-in link scripts in "{" and "}", as the grammar no longer | |
7395 | wants them to be. | |
7396 | ||
7397 | Thu Feb 24 08:43:26 1994 Ken Raeburn (raeburn@rtl.cygnus.com) | |
7398 | ||
7399 | * Makefile.in (ld.dvi): Depend on configdoc.texi, but don't | |
7400 | require that it be in $(srcdir). | |
7401 | ||
7402 | Tue Feb 22 09:21:18 1994 Ian Lance Taylor (ian@cygnus.com) | |
7403 | ||
7404 | * ldlang.c (lang_size_sections): Only align section to alignment | |
7405 | required by linker script, not to maximum alignment of input | |
7406 | sections. | |
7407 | ||
7408 | * ldlang.h (largest_section): Don't declare. | |
7409 | * ldlang.c (largest_section): Don't define. | |
7410 | (size_input_section): Don't set largest_section; not used. | |
7411 | ||
7412 | Mon Feb 21 15:15:29 1994 Ian Lance Taylor (ian@cygnus.com) | |
7413 | ||
7414 | * ldlang.c (new_afile): Pass NULL as last argument to concat. | |
7415 | ||
7416 | Thu Feb 17 15:51:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7417 | ||
7418 | * ldlang.c, ldmain.c: Include libiberty.h. | |
7419 | ||
7420 | * ldmisc.h (concat): Don't declare. | |
7421 | * ldmisc.c (concat): Don't define; just use the one in libiberty. | |
7422 | ||
7423 | * ld.h (as_output_section_statement): Removed; not used. | |
7424 | ||
7425 | Thu Feb 17 09:32:14 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7426 | ||
7427 | * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and | |
7428 | bfd_set_error and new error names. | |
7429 | ||
7430 | Tue Feb 15 20:14:53 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
7431 | ||
7432 | * ldwrite.c (build_link_order): If the cooked size of the section | |
7433 | has been set, use it, for determining link_order size. | |
7434 | (ldwrite): In the error message displayed if bfd_final_link fails, | |
7435 | indicate that it was in fact the final link step that failed. | |
7436 | ||
7437 | * ldlang.c (lang_size_sections): Clear bfd_error before calling | |
7438 | bfd_relax_section, in case it returns false but doesn't flag an | |
7439 | error. If an error is returned, indicate which one it is in the | |
7440 | error message. | |
7441 | ||
7442 | * Makefile.in (install-info): Depend on ld.info, and use "$<*" so | |
7443 | it'll get picked up from $(srcdir) if appropriate. | |
7444 | ||
7445 | Tue Feb 15 16:32:04 1994 David J. Mackenzie (djm@rtl.cygnus.com) | |
7446 | ||
7447 | * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set. | |
7448 | * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT. | |
7449 | ||
7450 | Fri Feb 11 17:02:49 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7451 | ||
7452 | * ldlex.l (comment): Increment line number when newline is read. | |
7453 | ||
7454 | Fri Feb 11 17:36:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7455 | ||
7456 | * ldlang.c (lookup_name): Take new argument, force_load. If true, | |
7457 | reload the file even if it is already loaded. | |
7458 | (wild): Call lookup_name with force_load argument of 0. | |
7459 | (open_input_bfds): Call lookup_name with force_load argument of 1. | |
7460 | (print_symbol): Remove declaration of non-existent function. | |
7461 | (print_one_symbol): Return true rather than falling off end. | |
7462 | ||
7463 | Thu Feb 10 11:52:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7464 | ||
7465 | * ldmain.c (main): Use %ld when printing long values. | |
7466 | ||
7467 | * scripttempl/elf.sc: Move _edata after the .sdata section. | |
7468 | Permit OTHER_BSS_SYMBOLS to be defined. | |
7469 | * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss. | |
7470 | ||
7471 | Mon Feb 7 16:31:15 1994 Jeffrey A. Law (law@snake.cs.utah.edu) | |
7472 | ||
7473 | * Rename all "hppaosf" files to "hppaelf". | |
7474 | * Change all "osf" references to "elf" in hppaelf files. | |
7475 | * Makefile.in: Likewise. | |
7476 | * configure.in: Likewise. | |
7477 | ||
7478 | Sun Feb 6 20:31:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7479 | ||
7480 | * ldmain.c (main): Call xatexit, not atexit. | |
7481 | Call xmalloc_set_program_name. | |
7482 | ||
7483 | * ldlang.c (lang_size_sections): Check if bfd_relax_section set | |
7484 | bfd_errno. | |
7485 | ||
7486 | Sat Feb 5 03:54:34 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7487 | ||
7488 | * emultempl/lnk960.em (append), emultempl/hppaosf.em | |
7489 | (hppaosf_finish): Call xmalloc, not ldmalloc. | |
7490 | * ldmain.c (preserve_output): Function removed. | |
7491 | (main): Do it here instead. | |
7492 | ||
7493 | Fri Feb 4 23:02:19 1994 Jeffrey A. Law (law@snake.cs.utah.edu) | |
7494 | ||
7495 | * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused) | |
7496 | GNU C specific macros. | |
7497 | ||
7498 | * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining | |
7499 | call to LANG_FOR_EACH_INPUT_SECTION. | |
7500 | ||
7501 | Fri Feb 4 16:26:08 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7502 | ||
7503 | * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions | |
7504 | deleted; will use libiberty versions instead. | |
7505 | * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c | |
7506 | mri.c Makefile.in: Change callers. | |
7507 | ||
7508 | * ldmisc.c (vfinfo): Remove cleanup code. | |
7509 | * ldmain.c (remove_output): Put it here (new function). | |
7510 | (preserve_output): New function. | |
7511 | (main): Register remove_output and preserve_output with atexit. | |
7512 | * ldmain.c ldgram.y: Call xexit instead of exit. | |
7513 | * ldmisc.h: Declare xexit. | |
7514 | ||
7515 | Fri Feb 4 15:19:01 1994 Steve Chamberlain (sac@cygnus.com) | |
7516 | ||
7517 | * Makefile.in: Lots of new H8/500 memory models. | |
7518 | ||
7519 | Sun Jan 30 14:33:40 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
7520 | ||
7521 | * ldlex.l: Removed duplicate rules. | |
7522 | (yywrap): Provide default definition, needed with some versions of | |
7523 | flex. | |
7524 | ||
7525 | Fri Jan 28 09:12:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7526 | ||
7527 | * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print | |
7528 | the archive filename too. | |
7529 | ||
7530 | * ldlex.l: Add rule to catch invalid input characters instead of | |
7531 | printing them. Include "ldmain.h" for program_name decl. | |
7532 | (lex_warn_invalid): New function. | |
7533 | * Makefile.in: Add dependency. | |
7534 | ||
7535 | Fri Jan 28 12:58:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
7536 | ||
7537 | * Makefile.in (check): Don't bother running any tests of | |
7538 | cross-linker until the test suite no longer assumes native mode. | |
7539 | ||
7540 | Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
7541 | ||
7542 | * ldlang.c (print_one_symbol, print_input_section): Print | |
7543 | global symbols in symbol table again. | |
7544 | ||
7545 | Thu Jan 27 12:35:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7546 | ||
7547 | * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given, | |
7548 | exit successfully instead of complaining if no input files are | |
7549 | given. | |
7550 | ||
7551 | Tue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com) | |
7552 | ||
7553 | * Makefile.in: Format variable definitions consistently. | |
7554 | (LD_PROG): Remove unnecessary variables from link command, | |
7555 | change variable LOADLIBES to EXTRALIBS. | |
7556 | ||
7557 | * ldmain.c (main): Compute and display total execution time. | |
7558 | * ld.texinfo (-stats): Document the option. | |
7559 | ||
7560 | Mon Jan 24 12:56:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7561 | ||
7562 | * ldmain.c (reloc_overflow): Added name, reloc_name and addend | |
7563 | arguments. | |
7564 | ||
7565 | * ldlang.c (lookup_name): Set BFD GP size to -G argument value | |
7566 | after opening BFD. | |
7567 | ||
7568 | * ldlang.c (relaxing): Removed global variable. | |
7569 | (lang_size_sections): If the canonical symbols have not already | |
7570 | been read in, read them in before relaxing. | |
7571 | * ldlang.h (relaxing): Removed declaration. | |
7572 | ||
7573 | Fri Jan 21 00:44:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7574 | ||
7575 | * ldlang.c (new_afile): Initialize loaded field to false. | |
7576 | (lookup_name): If file was already loaded, don't call the | |
7577 | add_symbols entry point again. | |
7578 | ||
7579 | Wed Jan 19 13:57:00 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7580 | ||
7581 | * ld.texinfo: Clarify what -T option does. | |
7582 | ||
7583 | Tue Jan 18 16:18:15 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
7584 | ||
7585 | * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's | |
7586 | for a.out. | |
7587 | ||
7588 | Tue Jan 11 13:22:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7589 | ||
7590 | * ldmain.c (add_archive_element): If trace_files or | |
7591 | trace_file_tries, print file name. | |
7592 | * ldlang.c (lookup_name): Likewise. | |
7593 | (ldlang_add_file): Don't put files on input_bfds list in reverse | |
7594 | order. | |
7595 | ||
7596 | * scripttempl/elf.sc: Correct typo. | |
7597 | ||
7598 | Mon Jan 10 19:49:05 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7599 | ||
7600 | * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and | |
7601 | their arguments optional, for compatibility with the old GNU ld. | |
7602 | ||
7603 | Fri Jan 7 20:00:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7604 | ||
7605 | * scripttempl/elf.c: Define __bss_start before the .sbss section. | |
7606 | ||
7607 | Thu Jan 6 00:13:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7608 | ||
7609 | * ldmain.c (add_to_set): Add bitsize argument. | |
7610 | (constructor_callback): New function. | |
7611 | (link_callbacks): Add constructor_callback. | |
7612 | * ldctor.c (struct set_info): Add bitsize field. | |
7613 | (ldctor_add_set_entry): Add bitsize argument. | |
7614 | (ldctor_build_sets): Base the size of the elements of the set on | |
7615 | the bitsize, rather than always using LONG. | |
7616 | * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration. | |
7617 | ||
7618 | * ld.h (QUAD_SIZE): Define. | |
7619 | * ldgram.y (QUAD): New token. | |
7620 | (length): Handle it. | |
7621 | * ldlex.l: Return QUAD. | |
7622 | * lexsup.c (keywords): Add QUAD. | |
7623 | * ldwrite.c (build_link_order): Handle QUAD. | |
7624 | * ldlang.c (print_data_statement): Handle QUAD. | |
7625 | (lang_size_sections): Likewise. | |
7626 | (lang_do_assignments): Likewise. | |
7627 | * ldexp.c (exp_print_token): Add QUAD to table. | |
7628 | * ld.texinfo: Describe QUAD. | |
7629 | ||
7630 | * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections, | |
7631 | since the Alpha doesn't use them. | |
7632 | ||
7633 | Wed Jan 5 17:42:16 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7634 | ||
7635 | * ldemul.h (ld_emulation_xfer_struct): Comment the members. | |
7636 | ||
7637 | Sat Jan 1 13:39:31 1994 Rob Savoye (rob@darkstar.cygnus.com) | |
7638 | ||
7639 | * Makefile.in, configure.in: Add support for VSTa micro-kernel. | |
7640 | * config/vsta.mt, emulparams/vsta.sh: New files for VSTa. | |
7641 | ||
7642 | Sat Jan 1 10:53:35 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
7643 | ||
7644 | * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating; | |
7645 | needed for i386mach. (Should be a no-op on other systems.) | |
7646 | ||
7647 | * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again. | |
7648 | (PAGE_SIZE): Don't define; not used. | |
7649 | ||
7650 | Fri Dec 31 16:12:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7651 | ||
7652 | * ldgram.y (yyerror): Make argument const char *, and actually | |
7653 | print it out rather than assuming it is a syntax error. | |
7654 | * ldmisc.h: Change declaration of yyerror. | |
7655 | * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate. | |
7656 | ||
7657 | Fri Dec 31 11:37:28 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
7658 | ||
7659 | * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include | |
7660 | exec header offset, since the exec header isn't loaded. | |
7661 | (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c. | |
7662 | ||
7663 | Thu Dec 30 13:01:43 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7664 | ||
7665 | A major rewrite to move the bulk of the linker into BFD so that | |
7666 | more efficient backend code can be written for specific object | |
7667 | files. | |
7668 | * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h, | |
7669 | ldwarn.c, ldwarn.h, relax.c, relax.h: Removed. | |
7670 | * ldctor.c, ldctor.h: Complete rewrite. | |
7671 | * ldwrite.c, ldwrite.h: Complete rewrite. | |
7672 | * ld.h (strip_symbols_type, strip_symbols): Removed. Use | |
7673 | link_info.strip instead. Changed all uses. | |
7674 | (discard_locals_type, discard_locals): Removed. Use | |
7675 | link_info.discard instead. Changed all uses. | |
7676 | (ld_config_type): Removed relocateable_output field; use | |
7677 | link_info.relocateable instead; changed all uses. Added stats | |
7678 | field. | |
7679 | (set_asymbol_chain, get_asymbol_chain, get_loader_symbol, | |
7680 | set_loader_symbol): Removed. | |
7681 | * ldexp.h (node_class): Added etree_rel. | |
7682 | (etree_type): Added rel field. | |
7683 | * ldexp.c (exp_print_token): Bracketed table initialization. | |
7684 | (exp_relop): New function. | |
7685 | (fold_name): Use linker hash table rather than ldsym functions. | |
7686 | (exp_fold_tree): Likewise. Also, handle etree_rel case. | |
7687 | (exp_print_tree): Handle etree_rel. | |
7688 | * ldgram.y (strip_symbols, discard_locals): Removed. | |
7689 | (OPTION_stats, OPTION_no_keep_memory): New tokens. Handle them. | |
7690 | (REL): New token. Does not appear in grammar, but needed for | |
7691 | expression code. | |
7692 | (file): Don't call lang_final; it's called by main anyhow. | |
7693 | * ldlex.l: Accept -stats and -no-keep-memory options. | |
7694 | * ldlang.h (fill_type): Make unsigned int, not unsigned short. | |
7695 | * ldlang.c: Consistently use fill_type for fill argument. | |
7696 | (lang_init_script_file, script_file): Removed. | |
7697 | (create_object_symbols): Removed. Use | |
7698 | link_info.create_object_symbols_section instead. Changed all | |
7699 | uses. | |
7700 | (lang_add_keepsyms_file): Removed. | |
7701 | (lookup_name): Call bfd_link_add_symbols instead of | |
7702 | ldmain_open_file_read_symbol. | |
7703 | (wild): Don't iterate over script_file. | |
7704 | (open_output): Create link hash table. | |
7705 | (lang_place_undefineds): Rewrote. | |
7706 | (lang_size_sections): Handle relaxing (doesn't work yet). | |
7707 | (lang_relocate_globals): Removed. | |
7708 | (lang_finish): Use link hash table rather than ldsym functions. | |
7709 | (lang_common): Rewrote. | |
7710 | (lang_one_common): New function. | |
7711 | (ldlang_add_file): Add file to link_info.input_bfds list. Set | |
7712 | usrdata. | |
7713 | (create_symbol): Removed. | |
7714 | (lang_process): Don't call lang_init_script_file. Call | |
7715 | ldctor_build_sets rather than find_constructors. Don't call | |
7716 | lang_relocate_globals. | |
7717 | (lang_abs_symbol_at_beginning_of): Rewrote. | |
7718 | (lang_abs_symbol_at_end_of): Rewrote. | |
7719 | * ldmain.c (had_y): Removed. | |
7720 | (lprefix, lprefix_len): Removed; use link_info fields instead. | |
7721 | Changed all uses. | |
7722 | (multiple_def_count, commons_pending, undefined_global_sym_count, | |
7723 | total_symbols_seen, total_files_seen): Removed. | |
7724 | (link_callbacks, link_info): New variables. | |
7725 | (main): Initialize link_info. Don't call init_bfd_error_vector or | |
7726 | ldsym_init. Don't set now unused variables. Handle -stats. | |
7727 | (get_emulation): Removed obsolete and nonfunctional GNU960 code. | |
7728 | (add_ysym): Rewrote. | |
7729 | (read_entry_symbols, refize, enter_global_ref, enter_file_symbols, | |
7730 | search_library, gnu960_check_format, decode_library_subfile, | |
7731 | linear_library, symdef_library, clear_syms, subfile_wanted_p): | |
7732 | Removed. | |
7733 | (add_keepsyms_file, add_archive_element, multiple_definition, | |
7734 | multiple_common, add_to_set, warning_callback, undefined_symbol, | |
7735 | reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym): | |
7736 | New functions. | |
7737 | * ldmisc.c (vfinfo): Accept a string for %T, not a symbol. Don't | |
7738 | require symbols for %C; look them up instead. | |
7739 | * emultempl/hppaosf.em: Pass link_info to | |
7740 | hppa_look_for_stubs_in_section. | |
7741 | * Makefile.in: Rebuilt dependencies. | |
7742 | (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and | |
7743 | relax.c. | |
7744 | (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and | |
7745 | relax.h. | |
7746 | (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h, | |
7747 | ldlang.h and ldctor.h. | |
7748 | ||
7749 | * Makefile.in (ldlex.c): Don't depend on ldgram.h. Remove | |
7750 | declarations of free and malloc from flex output. Change malloc | |
7751 | to ldmalloc in flex output. | |
7752 | ||
7753 | Thu Dec 16 21:19:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) | |
7754 | ||
7755 | * ldmain.c (lprefix): Change default from a char to a string | |
7756 | with only one character. | |
7757 | (lprefix_len): Set default to one. | |
7758 | ||
7759 | * ldmain.h (lprefix_len): Declare. | |
7760 | ||
7761 | * ldsym.c (write_file_locals): Use strncmp rather than a character | |
7762 | comparison for lprefix. | |
7763 | ||
7764 | * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len | |
7765 | correctly. | |
7766 | ||
7767 | * emultmpl/hppaosf.em: Include ldexp.h. | |
7768 | (before_parse): Set lprefix and lprefix_len correctly. | |
7769 | ||
7770 | Tue Dec 14 17:19:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7771 | ||
7772 | * ldlex.h: Don't declare yywrap if it is a macro. | |
7773 | * ldlex.l: Include sysdep.h. | |
7774 | * ldlang.c (lang_for_each_statement_worker, | |
7775 | lang_for_each_statement): Forgot to use PARAMS. | |
7776 | ||
7777 | Mon Dec 13 14:30:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7778 | ||
7779 | * Makefile.in: Added .PHONY targets where appropriate. Added some | |
7780 | comments. Also: | |
7781 | (gcclibdir, version): Removed unused variables. | |
7782 | (DEP): New variable, set to mkdep. | |
7783 | (ALL_CFLAGS): New variable. Used in .c.o target. | |
7784 | (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New | |
7785 | variables. | |
7786 | (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES, | |
7787 | GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed | |
7788 | mostly obsolete variables. Adjusted remaining uses. | |
7789 | (DEF_EMUL): Removed variable. | |
7790 | (ldmain.o): Handle undefined EMUL error correctly. | |
7791 | (ldemul-list.h): Depend on config.status rather than Makefile. | |
7792 | Create via temporary file. | |
7793 | (ver960.c, roll, make): Removed obsolete targets. | |
7794 | (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild | |
7795 | dependencies. | |
7796 | * dep-in.sed: New file, used when rebuilding dependencies. | |
7797 | ||
7798 | Sat Dec 11 14:43:44 1993 Ian Lance Taylor (ian@deneb.cygnus.com) | |
7799 | ||
7800 | Made many changes to eliminate gcc warnings. Made various | |
7801 | cosmetic changes, declared various things in header files, removed | |
7802 | various extern declarations from .c files. No substantive | |
7803 | changes. | |
7804 | ||
7805 | * ldlang.c (lang_process): Ifdef out final call to | |
7806 | lang_size_sections again (reverting change of Nove 2), since it | |
7807 | breaks the Sun4 linker. | |
7808 | ||
7809 | Thu Dec 2 16:31:47 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7810 | ||
7811 | * configure.in (alpha-*-netware*): New target; use alpha. | |
7812 | ||
7813 | Wed Dec 1 14:04:20 1993 Ken Raeburn (raeburn@cygnus.com) | |
7814 | ||
7815 | * configure.in: Group targets by CPU. Merge some m68k target | |
7816 | entries with different CPU specs that use the same ld_target | |
7817 | values. | |
7818 | ||
7819 | * configure.in: Add sparc*-*-coff. | |
7820 | * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files. | |
7821 | * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o. | |
7822 | (em_coff_sparc.c): Add dependencies and build rules. | |
7823 | ||
7824 | * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare. | |
7825 | ||
7826 | Wed Dec 1 12:19:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7827 | ||
7828 | * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval): | |
7829 | New tokens. | |
7830 | (command_line_option): Accept and ignore them (for now). | |
7831 | * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On | |
7832 | where n is a number. | |
7833 | ||
7834 | Mon Nov 22 14:14:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7835 | ||
7836 | * ldmain.c (subfile_wanted_p): If merging a common symbol which is | |
7837 | not in bfd_com_section, create the section in the BFD so that it | |
7838 | can be placed in the right output section. | |
7839 | ||
7840 | Fri Nov 19 14:12:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7841 | ||
7842 | * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32. | |
7843 | * emulparams/elf32mipsb.sh (DATA_ADDR): Define. | |
7844 | (OTHER_READONLY_SECTIONS): Define for .reginfo. | |
7845 | (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK. | |
7846 | * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating. | |
7847 | Move OTHER_READONLY_SECTIONS after all the other readonly | |
7848 | sections. Don't use DATA_ADDR twice. | |
7849 | ||
7850 | * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If | |
7851 | p is in a common section, make sure the BFD has a section of that | |
7852 | name. | |
7853 | ||
7854 | * ldlang.c (lang_common): Add newline to error message. | |
7855 | ||
7856 | Thu Nov 11 15:54:41 1993 Stan Shebs (shebs@rtl.cygnus.com) | |
7857 | ||
7858 | * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a | |
7859 | Lynx-specific script instead of m68kcoff. | |
7860 | (OUTPUT_FORMAT): Define as "coff-m68k-lynx". | |
7861 | (ENTRY): Define as __main. | |
7862 | (TEXT_START_ADDR): Define as 0. | |
7863 | (PAGE_SIZE): Define as 0x1000. | |
7864 | * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment. | |
7865 | * scripttempl/m68klynx.sc: New file. | |
7866 | ||
7867 | Mon Nov 8 12:00:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7868 | ||
7869 | * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3 | |
7870 | arguments rather than treating them as emulation names. | |
7871 | ||
7872 | Fri Nov 5 09:02:52 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com) | |
7873 | ||
7874 | * configure.in: Support x86 unixware and netware plus generic netware. | |
7875 | ||
7876 | Fri Nov 5 21:47:55 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
7877 | ||
7878 | * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): | |
7879 | Correct values (?). | |
7880 | ||
7881 | Wed Nov 3 15:10:15 1993 Ken Raeburn (raeburn@rover.cygnus.com) | |
7882 | ||
7883 | * Makefile.in (distclean): Don't delete dvi or info files. | |
7884 | (ld.info): Update dependency list. | |
7885 | (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi. | |
7886 | ||
7887 | Wed Nov 3 12:07:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
7888 | ||
7889 | * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT. | |
7890 | Set output_filename instead of creating a new node. | |
7891 | (open_output): Don't set output_filename. | |
7892 | (lang_final): Create the new node here. | |
7893 | * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT. | |
7894 | ||
7895 | Tue Nov 2 15:45:51 1993 Jeffrey A. Law (law@snake.cs.utah.edu) | |
7896 | ||
7897 | From Pete Hoogenboom (hoogen@cs.utah.edu): | |
7898 | ||
7899 | * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext, | |
7900 | edata, _edata, end): Add definitions of these symbols. | |
7901 | (__end): Remove definition of this symbol. | |
7902 | (__data_start): Move definition of this symbol. | |
7903 | ||
7904 | * emultempl/hppaosf.em: Various fixes and support for linker stub | |
7905 | generation. | |
7906 | (hppaosf_finish, hppaosf_search_for_padding_statements, | |
7907 | hppaosf_create_output_section_statements): New functions in | |
7908 | support of linker stub generation. | |
7909 | (ld_hppaosf_emulation): Redefine to include new | |
7910 | emulation-specific routines. | |
7911 | ||
7912 | * ldlang.c (lang_process): Re-enable last call lang_size_sections. | |
7913 | Pass abs_output_section rather than NULL to avoid invalidating | |
7914 | absolute symbols. | |
7915 | ||
7916 | Thu Oct 28 21:16:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
7917 | ||
7918 | * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o. | |
7919 | (em_i386mach.c): New rule. | |
7920 | * configure.in (i[34]86-*-mach*): New case. | |
7921 | * config/i386-mach.mt: New file. | |
7922 | * emulparams/i386mach.sh: New file. | |
7923 | ||
7924 | Fri Oct 29 14:55:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7925 | ||
7926 | * ld.h (flag_is_*): Removed macros. | |
7927 | * ldmain.c (enter_global_ref), ldsym.c (write_file_locals): | |
7928 | Consistently check the BFD symbol flags directly, rather than | |
7929 | using file_is_* macros. | |
7930 | ||
7931 | Thu Oct 28 19:08:42 1993 Stan Shebs (shebs@rtl.cygnus.com) | |
7932 | ||
7933 | * configure.in (sparc*-*-lynxos*): New target. | |
7934 | * Makefile.in: Add rule for em_sparclynx.c. | |
7935 | (ALL_EMULATIONS): Add Lynx emulations. | |
7936 | * config/sparc-lynx.mt: New file. | |
7937 | * emulparams/sparclynx.sh: New file. | |
7938 | * scripttempl/sparccoff.sc: New file. | |
7939 | ||
7940 | Thu Oct 28 13:50:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7941 | ||
7942 | * Makefile.in: Add dependency for $(EMULATION_OFILES). | |
7943 | ||
7944 | Mon Oct 25 16:09:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7945 | ||
7946 | * relax.c (write_relax): Check return value of bfd_seclet_link. | |
7947 | ||
7948 | Mon Oct 25 09:31:21 1993 Ken Raeburn (raeburn@cygnus.com) | |
7949 | ||
7950 | * ldlang.c (delete_output_file_on_failure): New variable. | |
7951 | (open_output): Set it after bfd open succeeds. | |
7952 | * ldmisc.c (vfinfo): Test it. | |
7953 | ||
7954 | Changes from Peter Hoogenboom, hoogen@cs.utah.edu: | |
7955 | ||
7956 | * ldsym.c (write_file_locals): Set the BSF_FILE flag for object | |
7957 | symbols. | |
7958 | ||
7959 | * ldemul.c: Support was added to allow emulation-specific | |
7960 | processing to occur. This support was added primarily for linker | |
7961 | stub generation in the elf32-hppa gld. | |
7962 | (ldemul_finish, ldemul_create_output_section_statements): New | |
7963 | functions. | |
7964 | * ldemul.h: Support was added to allow emulation-specific | |
7965 | processing to occur. (As described above.) Added finish and | |
7966 | create_output_section_statements fields to | |
7967 | ld_emulation_xfer_struct structure. | |
7968 | * ldlang.c: Add calls to emulation-specific routines. | |
7969 | (lang_process): Add call to | |
7970 | ldemul_create_output_section_statements function. | |
7971 | (lang_process): Add call to a emulation-specific routine (and | |
7972 | some processing after the call). | |
7973 | ||
7974 | Fri Oct 22 20:54:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) | |
7975 | ||
7976 | * configure.in: mips*- instead of mips-, mips*el changes | |
7977 | ||
7978 | Tue Oct 19 15:46:28 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7979 | ||
7980 | * configure.in (alpha-*-osf*): New target; use alpha.mt. | |
7981 | * Makefile.in (ALL_EMULATIONS): Added em_alpha.o. | |
7982 | (em_alpha.c): New target; use alpha.sh and alpha.sc. | |
7983 | * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define. | |
7984 | * config/alpha.mt: New file. | |
7985 | * emulparams/alpha.sh: New file. | |
7986 | * scripttempl/alpha.sc: New file. | |
7987 | ||
7988 | Fri Oct 15 02:20:04 1993 Doug Evans (dje@canuck.cygnus.com) | |
7989 | ||
7990 | * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle | |
7991 | types of different sizes (eg: 64 and 32 bits), so coerce. | |
7992 | * ld.h (ALIGN_N): Add warning about usage. | |
7993 | ||
7994 | Wed Oct 13 16:02:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7995 | ||
7996 | * ldmain.c (enter_global_ref): Just ignore any weak symbol for | |
7997 | which we already have a definition, rather than checking in | |
7998 | several different places whether the symbol is weak. | |
7999 | ||
8000 | Tue Oct 12 17:30:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8001 | ||
8002 | * configure.in (mips-*-elf*): New target; use mipsb-elf32. | |
8003 | * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and | |
8004 | OTHER_READWRITE_SECTIONS if relocating. Shell variables are not | |
8005 | expanded within them. | |
8006 | * config/mipsb-elf32.mt: New file. | |
8007 | * emulparams/elf32mipb.sh: New file. | |
8008 | * Makefile.in (em_elf32mipb.c): New target. | |
8009 | ||
8010 | Thu Sep 30 17:00:36 1993 Rob Savoye (rob@darkstar.cygnus.com) | |
8011 | ||
8012 | * ldgram.y: In input_list, change lang_input_file_is_file_enum to | |
8013 | lang_input_file_is_search_file_enum so objects brought in using | |
8014 | INPUT() do a path lookup. | |
8015 | ||
8016 | Tue Sep 28 13:31:23 1993 Stan Shebs (shebs@rtl.cygnus.com) | |
8017 | ||
8018 | * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx | |
8019 | instead of {i386,m68k}-coff. | |
8020 | * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets. | |
8021 | * config/i386-lynx.mt: New file. | |
8022 | * config/m68k-lynx.mt: New file. | |
8023 | * emulparams/i386lynx.sh: New file. | |
8024 | * emulparams/m68klynx.sh: New file. | |
8025 | ||
8026 | * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY}, | |
8027 | but defaulting to _start. | |
8028 | ||
8029 | * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h, | |
8030 | ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with | |
8031 | LynxOS libc. | |
8032 | ||
8033 | Thu Sep 23 14:51:03 1993 Ian Lance Taylor (ian@cygnus.com) | |
8034 | ||
8035 | * config/solaris2.mh: New file. Define HOSTING_CRT0 and | |
8036 | HOSTING_LIBS for testing. | |
8037 | ||
8038 | Fri Sep 17 17:52:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8039 | ||
8040 | Finish up support for i386-sysv4 (without shared libraries): | |
8041 | * ld.h (flag_is_weak): Define. | |
8042 | * ldlang.c (print_symbol): Mention whether symbol is weak. | |
8043 | (print_input_section): Print weak symbols as globals. | |
8044 | * ldmain.c (refize): Do not zero out BSF_WEAK flag. | |
8045 | (enter_global_ref): Do not warn if a weak symbol redefines a | |
8046 | global symbol. Do not let a weak symbol redefine a common symbol. | |
8047 | (enter_file_symbols): Treat weak symbols as global symbols. | |
8048 | (subfile_wanted_p): Do not pull in an object file from a archive | |
8049 | just to resolve an undefined weak symbol. | |
8050 | * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal | |
8051 | error; the error might be that malloc has run out of space. | |
8052 | * ldsym.c (write_file_locals): Treat weak symbols as global. | |
8053 | * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets; | |
8054 | use i386-elf. | |
8055 | * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib. | |
8056 | * config/i386-elf.mt: New file; set EMUL to elf_i386. | |
8057 | * emulparams/elf_i386.sh: New file. | |
8058 | * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0). | |
8059 | * Makefile.in (NATIVE_LIB_DIRS): Define to be empty. | |
8060 | (ALL_EMULATIONS): Add em_elf_i386.o. | |
8061 | (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument. | |
8062 | (em_elf_i386.c): New target, like other em_*.c targets. | |
8063 | ($(LD_PROG)): Pass $(CFLAGS) to $(CC). | |
8064 | * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If | |
8065 | nonempty, and configured for native, add it to LIB_PATH. | |
8066 | ||
8067 | Fri Sep 17 13:07:39 1993 Stan Shebs (shebs@rtl.cygnus.com) | |
8068 | ||
8069 | * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}: | |
8070 | Added statements to pass stab and stabstr sections through and | |
8071 | mark them as NOLOAD, which makes GDB happier. | |
8072 | ||
8073 | Wed Sep 15 16:02:29 1993 Stan Shebs (shebs@rtl.cygnus.com) | |
8074 | ||
8075 | * configure.in: Accept m68k-lynx-lynxos config. | |
8076 | ||
8077 | * Makefile.in: Use $(SHELL) to run genscripts.sh. | |
8078 | ||
8079 | Sun Sep 12 16:04:40 1993 Doug Evans (dje@cygnus.com) | |
8080 | ||
8081 | * config/coff-h8300.mt: Add EMUL=h8300h. | |
8082 | ||
8083 | * ldmain.c (main): Call set_scripts_dir after argv has been processed. | |
8084 | ||
8085 | Fri Sep 10 09:36:29 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
8086 | ||
8087 | * Makefile.in: Changed CXX back to g++. | |
8088 | ||
8089 | Fri Sep 10 09:34:29 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
8090 | ||
8091 | * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule. | |
8092 | ||
8093 | Fri Sep 10 07:26:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8094 | ||
8095 | * Makefile.in (TAGS): Use shell wildcards. | |
8096 | ||
8097 | Tue Sep 7 18:04:54 1993 Jeffrey Osier (jeffrey@cygnus.com) | |
8098 | ||
8099 | * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target | |
8100 | ||
8101 | Fri Sep 3 16:46:41 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
8102 | ||
8103 | * ld.texinfo: re-enable included config file; conditionalize doc | |
8104 | for -oformat to interact properly with SingleFormat doc config | |
8105 | var; rename @up/@down to @raisesections/@lowersections. | |
8106 | ||
8107 | Wed Aug 25 16:29:56 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8108 | ||
8109 | * configure.in: recognize m88110. | |
8110 | ||
8111 | Tue Aug 24 18:49:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8112 | ||
8113 | From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>: | |
8114 | * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA | |
8115 | ELF emulation is "elf32-hppa" not "elf-big". | |
8116 | (hppaosf_before_parse): Remove unneeded processing of environment | |
8117 | variables. | |
8118 | * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in | |
8119 | .text segment of output file. | |
8120 | * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa. | |
8121 | ||
8122 | Tue Aug 24 16:17:00 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8123 | ||
8124 | * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no | |
8125 | longer in bfd.h. | |
8126 | ||
8127 | * ldlang.c, ld.h: updated copyright. | |
8128 | ||
8129 | Tue Aug 17 15:22:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8130 | ||
8131 | * ldlang.c (open_output, lang_check): Check return value of | |
8132 | bfd_set_arch_mach. | |
8133 | ||
8134 | Tue Aug 17 07:02:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
8135 | ||
8136 | * scripttempl/h8500.sc: Start all sections in a different segment. | |
8137 | * scripttempl/z8ksim.sc: Handle constructors | |
8138 | ||
8139 | Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
8140 | ||
8141 | * Makefile.in: revert earlier changes back to execute runtest | |
8142 | with make check. cdtest and bootstrap now function as they | |
8143 | did within the Makefile. | |
8144 | ||
8145 | Thu Aug 12 10:20:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8146 | ||
8147 | * Makefile.in: Update dependencies. | |
8148 | ||
8149 | * configure.in: Set EMULATION_OFILES in Makefile based on | |
8150 | --with-targets option. | |
8151 | ||
8152 | Thu Aug 12 08:52:29 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
8153 | ||
8154 | * Makefile.in: check targets reimplemented to old way. | |
8155 | ||
8156 | Wed Aug 11 08:26:11 1993 Ian Lance Taylor (ian@cygnus.com) | |
8157 | ||
8158 | * config/i386v.mh, config/irix4.mh: Use gcc | |
8159 | -print-libgcc-file-name rather than $(libdir)/libgcc.a. | |
8160 | * config/i386sco.mh: New file; copy of i386v.mh to correspond to | |
8161 | bfd/configure.host change. | |
8162 | ||
8163 | Mon Aug 9 14:25:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8164 | ||
8165 | * scripttempl/elf.sc: Handle .line and .debug* sections. | |
8166 | ||
8167 | * ldlex.l: Use bfd_scan_vma, not strtoul. | |
8168 | ||
8169 | Fri Aug 6 08:57:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8170 | ||
8171 | * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c: | |
8172 | Remove inital caps in some error messages, change "can't" to | |
8173 | "cannot", add missing colons. | |
8174 | * ldmisc.c (vfinfo): Print "%%" as a single %. | |
8175 | For '%' followed by unrecognized character, print them both | |
8176 | verbatim instead of expecting a char * arg. | |
8177 | For '%C', don't put the function name in parens. | |
8178 | ||
8179 | * ldexp.c (invalid): Pass "%%", not "% ". | |
8180 | ||
8181 | Fri Aug 6 14:31:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8182 | ||
8183 | * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss. | |
8184 | (BSS_VAR): Removed; now always define _fbss. | |
8185 | * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR): | |
8186 | Removed. | |
8187 | ||
8188 | Thu Aug 5 15:55:19 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) | |
8189 | ||
8190 | * configure.in: z8k-coff is the same as z8k-sim | |
8191 | ||
8192 | Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
8193 | ||
8194 | * testsuite/lib/ld.exp: new file | |
8195 | * testsuite/config/unix-ld.exp: new file | |
8196 | * testsuite/ld.bootstrap/bootstrap.exp: new file | |
8197 | * Makefile.in: add dejagnu support for make check | |
8198 | ||
8199 | Wed Aug 4 17:52:32 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8200 | ||
8201 | * ldlex.l (comment): Add missing newline in message. | |
8202 | * ldindr.c (add_indirect): Ditto. | |
8203 | * ldexp.c (exp_fold_tree): Ditto. | |
8204 | ||
8205 | Tue Aug 3 10:57:41 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8206 | ||
8207 | * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons | |
8208 | into externs. | |
8209 | ||
8210 | * ldmisc.c (multiple_warn): New function. | |
8211 | * ldmisc.h: Declare it. | |
8212 | * ldmain.c (enter_global_ref): Call it. | |
8213 | * ld.h (ld_config_type): Add warn_common. | |
8214 | * ldlex.l, ldgram.y: Set it with -warn-common option. | |
8215 | * ldver.c (help): Document it. | |
8216 | ||
8217 | Mon Aug 2 12:04:36 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8218 | ||
8219 | * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and | |
8220 | target-specific sections, and for changing data section vma. | |
8221 | ||
8222 | Mon Jul 26 14:00:02 1993 Ken Raeburn (raeburn@deneb.cygnus.com) | |
8223 | ||
8224 | * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New | |
8225 | terminals, for Solaris. | |
8226 | (dirlist_ptr): New static variable. | |
8227 | (command_line_option): Accept new options. | |
8228 | ||
8229 | * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and | |
8230 | "-YP,...". | |
8231 | ||
8232 | * config/sun4sol2.mt: Pass emulation name without ".sh". | |
8233 | ||
8234 | * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c. | |
8235 | * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly. | |
8236 | ||
8237 | Fri Jul 23 13:51:09 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8238 | ||
8239 | * scripttempl/elf.sc: Add support for .init, .fini, .ctors, | |
8240 | .dtors, .data1, .rodata1 sections, instead of combining them into | |
8241 | other sections. For `-r', set all section start addresses to | |
8242 | zero. | |
8243 | ||
8244 | * emulparams/elf32-sparc.sh (TEXT_START_ADDR, | |
8245 | NONPAGED_TEXT_START_ADDR): Value should be 0x10100. | |
8246 | (MAXPAGESIZE): Renamed from PAGE_SIZE. | |
8247 | ||
8248 | Wed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8249 | ||
8250 | * genscripts.sh: If this is the default emulation, set | |
8251 | COMPILE_IN. | |
8252 | * emultempl/*.em: Use it to determine whether to compile in the | |
8253 | scripts. | |
8254 | ||
8255 | * Makefile.in (GENSCRIPTS): Pass the default emulation name to | |
8256 | genscripts.sh. Pass the current emulation name without ".sh" on | |
8257 | the end. | |
8258 | * genscripts.sh: Take an default emulation arg. | |
8259 | Use the current emulation name as EMULATION_NAME. | |
8260 | Make default lib path for cross-compiling ':', not null. | |
8261 | * emulparams/*.sh: Don't set EMULATION_NAME. | |
8262 | * ldemul.c (ldemul_get_script): Take isfile arg. | |
8263 | Pass it to emulation's get_script function. | |
8264 | * ldemul.h: Adjust get_script prototypes. | |
8265 | * ldfile.c (ldfile_find_command_file): Renamed from find_a_name. | |
8266 | No longer static. | |
8267 | * ldfile.h: Declare it. | |
8268 | * ldgram.y: Accept a script on the command line again, | |
8269 | for parsing compiled-in scripts. | |
8270 | * ldmain.c (main): If ld script is a file, parse it as a -T | |
8271 | option, otherwise parse it directly. | |
8272 | * emultempl/*.em (*get_script): Return the scripts themselves if | |
8273 | this is the default emulation; otherwise return their file names. | |
8274 | * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of | |
8275 | generic.em. | |
8276 | * emulparams/m88kbcs.sh: Use it. | |
8277 | ||
8278 | * ld.h (ld_config_type::unix_relocate): Remove unused element. | |
8279 | ||
8280 | Tue Jul 20 12:01:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8281 | ||
8282 | * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which | |
8283 | there's no change log entry yet, tsk tsk) from the list of | |
8284 | emulations compiled in until Mark gets around to checking in | |
8285 | emulparams/i386linux.sh. | |
8286 | (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is | |
8287 | changed, this file gets updated. | |
8288 | ||
8289 | Fri Jul 16 14:14:32 1993 Ian Lance Taylor (ian@cygnus.com) | |
8290 | ||
8291 | * ldgram.y (OPTION_Lfile): New token. | |
8292 | (command_line_option): Accept OPTION_L NAME (whitespace after -L). | |
8293 | * ldlex.l (<COMMAND>): Accept -L without FILENAME. | |
8294 | ||
8295 | Fri Jul 16 13:44:26 1993 Doug Evans (dje@canuck.cygnus.com) | |
8296 | ||
8297 | * configure.in: h8/300h support needs own .mt file. | |
8298 | config/coff-h8300h.mt: New file. | |
8299 | ||
8300 | Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8301 | ||
8302 | * ldmain.c: Don't include sys/stat.h; it already got included | |
8303 | somewhere along the way. | |
8304 | ||
8305 | Thu Jul 15 14:43:34 1993 Doug Evans (dje@canuck.cygnus.com) | |
8306 | ||
8307 | * Makefile.in: Add h8300h support. | |
8308 | emulparams/h8300h.sh: New file. | |
8309 | scripttempl/h8300h.sc: New file. | |
8310 | ||
8311 | Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8312 | ||
8313 | * ldfile.c (ldfile_open_file): In error message, use the name the | |
8314 | user gave (e.g., "-lc"), rather than the base file name. | |
8315 | ||
8316 | * ldexp.c (exp_fold_tree): Don't assign an int to an enum. | |
8317 | ||
8318 | * ldmain.[ch]: Remove initial Q_ from function names. | |
8319 | * ldexp.c, ldindr.c, ldlang.c: Change callers. | |
8320 | ||
8321 | * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries. | |
8322 | ||
8323 | * ldlang.c (lang_process): Move loading of default script from | |
8324 | here to main. Add a "/" to start of script name to prevent | |
8325 | finding it in "." first. | |
8326 | ||
8327 | * ldmain.c (set_scripts_dir): Don't look in "." first. | |
8328 | ||
8329 | * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var | |
8330 | option_longmap. | |
8331 | ||
8332 | Thu Jul 15 10:55:59 1993 Ian Lance Taylor (ian@cygnus.com) | |
8333 | ||
8334 | * Makefile.in (em_m88kbcs.c): Correct dependency. | |
8335 | * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET | |
8336 | statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}. | |
8337 | * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs. | |
8338 | ||
8339 | Wed Jul 14 21:42:53 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8340 | ||
8341 | * ldfile.c (ldlang_open_file, ldfile_open_command_file), | |
8342 | main.c (main): Print the errno string in the error message. | |
8343 | ||
8344 | Tue Jul 13 20:00:30 1993 Doug Evans (dje@canuck.cygnus.com) | |
8345 | ||
8346 | * configure.in: Accept h8300h for target cpu. | |
8347 | ||
8348 | * ldmisc.c (vfinfo): Have demangle remove leading underscore if | |
8349 | present (demangle is smart enough to know whether to do it or not). | |
8350 | ||
8351 | Mon Jul 12 11:45:48 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8352 | ||
8353 | * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for | |
8354 | ldscripts, as well as <ld bin dir> and SCRIPTDIR. | |
8355 | ||
8356 | * ldlang.c (lang_process): Use sizeof instead of magic constant. | |
8357 | ||
8358 | * ldmain.c (get_emulation, check_for_scripts_dir, | |
8359 | set_scripts_dir): New functions. | |
8360 | (main): Call them. | |
8361 | ||
8362 | Mon Jul 12 10:57:03 1993 Ken Raeburn (raeburn@deneb.cygnus.com) | |
8363 | ||
8364 | * scripttempl/elf.sc: Include .init, .fini, .rodata sections. | |
8365 | Create symbol "end" instead of "__end". Comment out some parts | |
8366 | that may not be needed (yet) for elf. | |
8367 | ||
8368 | * configure.in: Accept sparc-elf and sparc-solaris2 configs. | |
8369 | ||
8370 | Thu Jul 8 15:33:32 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8371 | ||
8372 | * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS). | |
8373 | ||
8374 | * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro | |
8375 | when no prototype is being supplied. | |
8376 | (ldmalloc, ldrealloc): Size argument is now size_t. | |
8377 | ||
8378 | * ldmisc.c (finfo): New function, accepts FILE* argument. | |
8379 | (vfinfo, case 'v'): New format character; displays bfd_vma in hex | |
8380 | without leading zeros. | |
8381 | (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a | |
8382 | bfd_vma value, instead of fprintf(%x) which won't hold a long long | |
8383 | value. | |
8384 | (concat, buystring): String lengths are size_t. | |
8385 | (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t. | |
8386 | ||
8387 | * ldlang.c (new_statement): Size argument is now size_t. Added | |
8388 | forward declaration with prototype. | |
8389 | ||
8390 | Thu Jul 8 10:53:47 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8391 | ||
8392 | * ldgram.y (OPTION_v): Don't turn on verbose output. | |
8393 | ||
8394 | Wed Jul 7 17:10:45 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8395 | ||
8396 | * ldlex.l: Get rid of local typedef for bfd_vma! Get it from | |
8397 | bfd.h instead. | |
8398 | ||
8399 | Wed Jul 7 11:33:12 1993 Ian Lance Taylor (ian@cygnus.com) | |
8400 | ||
8401 | * Makefile.in (install): Don't install as $(tooldir)/bin/gld; | |
8402 | collect2 doesn't look for gld any more anyhow. | |
8403 | ||
8404 | Mon Jul 5 14:29:48 1993 Ian Lance Taylor (ian@cygnus.com) | |
8405 | ||
8406 | * ldlang.c (lang_relocate_globals): Skip indirect symbols, which | |
8407 | now have a non NULL srefs_chain. | |
8408 | ||
8409 | * config/hp300hpux.mt: Use emulation hp3hpux rather than | |
8410 | hp300hpux, since the latter does not exist. | |
8411 | ||
8412 | Fri Jul 2 18:06:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8413 | ||
8414 | * genscripts.sh: Put the scripts in the ldscripts directory, not | |
8415 | emulations. | |
8416 | * configure.in (ldscripts): Make, instead of emulations. | |
8417 | * Makefile.in (scriptdir): Take off the "ld" part. | |
8418 | (install, clean, distclean): Use ldscripts, not emulations. | |
8419 | In tests, don't pass -Lemulations. | |
8420 | Don't pass tooldir/lib to genscripts.sh. | |
8421 | * genscripts.sh: Don't take tooldir/lib arg. | |
8422 | * ldlang.c (lang_process): Add "ldscripts/" to the name of the | |
8423 | default script file. | |
8424 | ||
8425 | Fri Jul 2 17:13:35 1993 Doug Evans (dje@canuck.cygnus.com) | |
8426 | ||
8427 | * scripttempl/h8300.sc: Add .tors section for constructor/destructors. | |
8428 | ||
8429 | Thu Jul 1 16:38:45 1993 Doug Evans (dje@canuck.cygnus.com) | |
8430 | ||
8431 | * config/coff-h8300.mt: EMUL=h8300hms -> h8300. | |
8432 | ||
8433 | Wed Jun 30 15:45:55 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8434 | ||
8435 | * Makefile.in (.y.c): skip default .y.c rules. gnu make can now | |
8436 | run in parallel without colliding on yacc's static file names. | |
8437 | Without the stub rule, make will try to start two yacc's | |
8438 | concurrently which fails because of yacc's static file names. | |
8439 | ||
8440 | Tue Jun 29 12:20:36 1993 Ian Lance Taylor (ian@cygnus.com) | |
8441 | ||
8442 | * ldmain.c (subfile_wanted_p): Don't dump core if there are no | |
8443 | symbols. | |
8444 | ||
8445 | Mon Jun 28 12:22:11 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8446 | ||
8447 | * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's | |
8448 | different from libdir. | |
8449 | ||
8450 | * Makefile.in (scriptdir): Base on tooldir, not datadir. | |
8451 | ||
8452 | Sat Jun 26 12:03:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8453 | ||
8454 | * ldver.c (help): New function. | |
8455 | * ldver.h: Declare it. | |
8456 | * ldlex.l, ldgram.y: Recognize new options --help and --version. | |
8457 | ||
8458 | Mon Jun 21 20:39:48 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) | |
8459 | ||
8460 | * Makefile.in (INCLUDES): Don't need ../include any more. | |
8461 | ||
8462 | Mon Jun 21 16:38:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8463 | ||
8464 | * ldlex.l, ldgram.y: Support new -oformat option. | |
8465 | Remove attempt at supporting script fragments on the command line. | |
8466 | * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT. | |
8467 | * mri.c (mri_format), ldgram.y: Change callers. | |
8468 | * ldlang.h: Change prototype. | |
8469 | ||
8470 | Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com) | |
8471 | ||
8472 | * Makefile.in: canonicalize install.sh; for use within | |
8473 | this directory (and subdirs) | |
8474 | ||
8475 | Thu Jun 17 14:33:09 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8476 | ||
8477 | * ldgram.y: Tweak grammar to make reporting of invalid options work. | |
8478 | ||
8479 | * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc | |
8480 | and .cc.o rule. | |
8481 | ||
8482 | Wed Jun 16 11:45:32 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8483 | ||
8484 | * ldfile.c (ldfile_open_command): Don't try .ld extension. | |
8485 | It wasn't documented (or likely used) and wastes time. | |
8486 | (try_open): If EXTEN is empty, don't try it. | |
8487 | ||
8488 | * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c, | |
8489 | ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c, | |
8490 | ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls | |
8491 | with normal function declarations. | |
8492 | ||
8493 | * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh. | |
8494 | Move *.sc-sh to scripttempl/*.sc. | |
8495 | * {emultempl,emulparams,scripttempl}/README: New files. | |
8496 | * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files | |
8497 | removed, replaced with generic.em. | |
8498 | * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from | |
8499 | h8[35]00hms.s[ch]. Change their contents to omit the "hms". | |
8500 | ||
8501 | * *.em (*_get_script): Return script name instead of script contents. | |
8502 | * ldlang.c (lang_process): Change caller. | |
8503 | ||
8504 | * ldlex.l, ldgram.y: Recognize -m option. | |
8505 | Check for input files after *all* options in grammar. | |
8506 | * ldmain.c (main): Check for -m options. Add default directory | |
8507 | for -m. | |
8508 | ||
8509 | * mkscript.c: File removed. | |
8510 | * genscripts.sh: Take two more parameters, tooldirlib and libdir, | |
8511 | to add to the default LIB_PATH. | |
8512 | Look for input files in the new subdirectories. | |
8513 | Create the scripts in emulations subdirectory and don't filter | |
8514 | them through mkscript. | |
8515 | * configure.in: Make the emulations subdirectory. | |
8516 | ||
8517 | * Makefile.in: Account for all of the above changes. | |
8518 | Remove unused .SUFFIXES. Get libgcc.a path with gcc | |
8519 | -print-libgcc-file-name instead of $(libdir)/libgcc.a. | |
8520 | Put CFLAGS last in the compilation rules. | |
8521 | Add -I../bfd to INCLUDES so sysdep.h is found. | |
8522 | ||
8523 | Tue Jun 15 23:04:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8524 | ||
8525 | * Makefile.in (INCLUDES): Look in ../include, not ../bfd. | |
8526 | ||
8527 | * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO | |
8528 | dependent on RELOCATING, not RELOCATION. | |
8529 | * hp3hpux.sh (SHLIB_PATH): Define it. | |
8530 | ||
8531 | Mon Jun 14 19:06:15 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
8532 | ||
8533 | * ldfile.c (try_open): If opening without the extension fails, | |
8534 | try with the extension even if -v or -V was given. | |
8535 | had_script is imported (from ldgram.y), not exported. | |
8536 | ||
8537 | Mon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) | |
8538 | ||
8539 | * Makefile.in: remove parentdir support, use INSTALL_XFORM | |
8540 | ||
8541 | Thu Jun 10 14:00:06 1993 Ian Lance Taylor (ian@cygnus.com) | |
8542 | ||
8543 | * ldexp.c (exp_fold_tree): Don't lose the old flag bits. | |
8544 | * ldgram.y (statement_list_opt): New nonterminal, either empty or | |
8545 | statement_list. | |
8546 | (section): Use statement_list_opt, not statement_list. | |
8547 | * m68kcoff.sc-sh: Gather constructors and destructors and define | |
8548 | __CTOR_LIST__ and __DTOR_LIST__ appropriately. | |
8549 | * sa29200.sc-sh: Gather constructors and destructors and define | |
8550 | ___CTOR_LIST__ and ___DTOR_LIST__ appropriately. | |
8551 | ||
8552 | Mon Jun 7 12:53:28 1993 Per Bothner (bothner@rtl.cygnus.com) | |
8553 | ||
8554 | * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. | |
8555 | * configure.in: No longer need to configure to get sysdep.h. | |
8556 | ||
8557 | Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
8558 | ||
8559 | * Makefile.in: remove install:all and install-info:info | |
8560 | dependencies (these cause some spurious rebuilds at 'make install' | |
8561 | time) | |
8562 | ||
8563 | Fri Jun 4 08:50:14 1993 Ian Lance Taylor (ian@cygnus.com) | |
8564 | ||
8565 | * configure.in (mips-idt-ecoffl*): New target; use mips-idtl. | |
8566 | (mips-idt-ecoff*): Added trailing '*'. | |
8567 | * config/mips-idtl.mt: New file; use EMUL of mipsidtl. | |
8568 | * mipsidtl.sh: New file; like mipsidt.sh, but little endian. | |
8569 | * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o. | |
8570 | ||
8571 | * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and | |
8572 | incorrect definitions. | |
8573 | ||
8574 | Tue Jun 1 14:56:10 1993 Per Bothner (bothner@rtl.cygnus.com) | |
8575 | ||
8576 | * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR | |
8577 | symbols, unless stripping. | |
8578 | ||
8579 | Tue May 25 15:34:25 1993 Ian Lance Taylor (ian@cygnus.com) | |
8580 | ||
8581 | * Makefile.in: configure looks for ####, so remove lines with many | |
8582 | '#' characters. | |
8583 | * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0 | |
8584 | and HOSTING_LIBS correctly so that ``make check'' will work. | |
8585 | ||
8586 | Thu May 20 13:56:16 1993 Per Bothner (bothner@deneb.cygnus.com) | |
8587 | ||
8588 | * mips.sc-sh: Define _etext, _edata, and _end, in addition | |
8589 | to etext, edata, and end. Needed for IRIX 4.0.5F. | |
8590 | Patch from mwp@iconix.oz.au (Michael Paddon). | |
8591 | ||
8592 | * Version 2.2.1 released. | |
8593 | ||
8594 | Thu May 20 11:42:06 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8595 | ||
8596 | * mipsbsd.sc-sh: Renamed from aout-mipsbsd.sc-sh. | |
8597 | * mipsbsd.sh (EMULATION_NAME): Use new file name. | |
8598 | ||
8599 | Tue May 18 17:10:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8600 | ||
8601 | * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it | |
8602 | properly right now. | |
8603 | ||
8604 | * Version 2.2 released. | |
8605 | ||
8606 | Mon May 17 15:37:28 1993 Ken Raeburn (raeburn@deneb.cygnus.com) | |
8607 | ||
8608 | * ldver.c (ldversion): Bump version number to 2.2. | |
8609 | ||
8610 | Mon May 17 12:44:31 1993 Per Bothner (bothner@cygnus.com) | |
8611 | ||
8612 | * NEWS: New file. | |
8613 | ||
8614 | Fri May 14 11:26:24 1993 Ian Lance Taylor (ian@cygnus.com) | |
8615 | ||
8616 | * mips.sc-sh: Don't define BSS_VAR unless relocating. | |
8617 | ||
8618 | Wed May 12 13:33:29 1993 Ian Lance Taylor (ian@cygnus.com) | |
8619 | ||
8620 | * Makefile.in (mkscript.o, mkscript): Build mkscript via | |
8621 | mkscript.o, rather than directly from mkscript.c. | |
8622 | ||
8623 | Tue May 4 21:58:56 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8624 | ||
8625 | * configure.in: Look for ${target_makefile_frag} relative to | |
8626 | ${srcdir}, not relative to build directory. | |
8627 | ||
8628 | * hppaosf.em, hppaosf.sc-sh, hppaosf.sh: New files. | |
8629 | * configure.in: Recognize hppa*-hp-osf. | |
8630 | * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation. | |
8631 | (em_hppaosf.c): Build it. | |
8632 | * config/hppaosf.mh, hppaosf.mt: New files. | |
8633 | ||
8634 | * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with | |
8635 | some system header files. All uses changed. | |
8636 | ||
8637 | * configure.in: Recognize i386-aix configurations as i386-coff | |
8638 | targets. | |
8639 | ||
8640 | * configure.in: Recognize m68*-*-hpux. | |
8641 | * aout.sc-sh: If STACKZERO and RELOCATING are both defined, output | |
8642 | the value of STACKZERO. | |
8643 | * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation. | |
8644 | (em_hp3hpux.c): Build it. | |
8645 | * hp3hpux.sh, config/hp300hpux.mt: New files. | |
8646 | ||
8647 | Tue May 4 12:37:35 1993 Ian Lance Taylor (ian@cygnus.com) | |
8648 | ||
8649 | * mips.sc-sh: Put constructors in the .data section. | |
8650 | * Makefile.in (cdtest): Added dependency on ld.new. | |
8651 | ||
8652 | Mon May 3 19:43:39 1993 Per Bothner (bothner@cygnus.com) | |
8653 | ||
8654 | * Makefile.in: Change definition of $(tooldir) to match FSF. | |
8655 | * vax.sh, config/vax.mt, configure.in, Makefile.in: | |
8656 | Support VAX Ultrix and BSD. | |
8657 | ||
8658 | Mon Apr 26 18:35:47 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
8659 | ||
8660 | * sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH. | |
8661 | ||
8662 | Wed Apr 14 21:01:51 1993 John Gilmore (gnu@cygnus.com) | |
8663 | ||
8664 | * ldlang.h (struct memory_region): Change `length' and | |
8665 | `old_length' fields to bfd_size_type. Eliminate use of bfd_offset. | |
8666 | * ldlang.c, mri.c: Corresponding changes, plus lint. | |
8667 | ||
8668 | Thu Apr 8 22:08:18 1993 Ian Lance Taylor (ian@cygnus.com) | |
8669 | ||
8670 | * configure.in: For all i386 targets, accept i486 as well. | |
8671 | ||
8672 | Mon Apr 5 17:33:39 1993 Ian Lance Taylor (ian@cygnus.com) | |
8673 | ||
8674 | * ldlang.c (wild_doit): Preserve all flags for a | |
8675 | SEC_SHARED_LIBRARY section. | |
8676 | (size_input_section): Consider any SEC_HAS_CONTENTS section when | |
8677 | computing largest_section. | |
8678 | ||
8679 | Fri Apr 2 14:33:52 1993 Ian Lance Taylor (ian@cygnus.com) | |
8680 | ||
8681 | * ldlang.c (lang_output_section_statement_lookup): Initialize all | |
8682 | fields of newly created structure. | |
8683 | ||
8684 | Wed Mar 31 18:19:15 1993 Ian Lance Taylor (ian@cygnus.com) | |
8685 | ||
8686 | * ldmain.c (g_switch_value): New variable. | |
8687 | * ldgram.y (OPTION_G, OPTION_Gval): New tokens. | |
8688 | (command_line_option): Accept -G and set g_switch_value. | |
8689 | * ldlex.l (COMMAND): Accept -G. | |
8690 | * ldlang.c (open_output): Call bfd_set_gp_size on new BFD. | |
8691 | ||
8692 | Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
8693 | ||
8694 | Support for linking and loading at different places: | |
8695 | ||
8696 | * ldlex.l: Add "AT" keyword. | |
8697 | * ldgram.y: Cleanup, and parse AT. | |
8698 | * ldlang.c (print_output_section_statement): Print output address | |
8699 | of section in map. (lang_size_sections): Fill sections' lma with | |
8700 | load address. | |
8701 | * ldlang.h (lang_output_section_statement_type): Add load_base | |
8702 | information. | |
8703 | ||
8704 | * ldindr.c (add_indirect): Keep more information in the alias | |
8705 | symbol chain. | |
8706 | * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section | |
8707 | attribute from an input section. | |
8708 | * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by | |
8709 | default. (Q_enter_file_symbos): Indirect symbols now are known by | |
8710 | their section, not a special symbol flag. | |
8711 | * ldsym.c (write_file_locals): Indirect symbols aren't local. | |
8712 | (write_file_globals): Write the mapping for an indirect symbol. | |
8713 | * relax.c (build_it): When forced to write a NEVER_LOAD section, | |
8714 | fill it with zeros. | |
8715 | ||
8716 | Tue Mar 23 13:24:10 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) | |
8717 | ||
8718 | * ld.texinfo: changes for q1 | |
8719 | ||
8720 | Tue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
8721 | ||
8722 | * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck | |
8723 | ||
8724 | Mon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
8725 | ||
8726 | * Makefile.in: rename HOST_CC to CC_FOR_BUILD | |
8727 | ||
8728 | Thu Mar 4 12:44:33 1993 Ian Lance Taylor (ian@cygnus.com) | |
8729 | ||
8730 | * mips.sc-sh: Added variables which may be overridden by a | |
8731 | specific emulation. | |
8732 | * mipsidt.sh: New file; emulation for IDT MIPS board. | |
8733 | * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o. | |
8734 | (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh. | |
8735 | * config/mips-idt.mt: New file; sets EMUL to mipsidt. | |
8736 | * configure.in (mips-idt-ecoff): New target; uses mips-idt. | |
8737 | ||
8738 | Sat Feb 27 00:00:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
8739 | ||
8740 | * aout-mipsbsd.sc-sh, mipsbsd.sh: New files from Ralph Campbell, | |
8741 | ralphc@pyramid.com. | |
8742 | * i386bsd.sh, config/i386bsd.mt: New files. | |
8743 | * configure.in, Makefile.in: Added support for mipsbsd and 386bsd. | |
8744 | ||
8745 | Thu Feb 25 15:33:10 1993 Per Bothner (bothner@rtl.cygnus.com) | |
8746 | ||
8747 | * mri.c: Add extern declaration of strdup. | |
8748 | * ldsym.c (KEEP macro): Add spaces around '=' for the | |
8749 | sake of old (e.g. PCC) compilers. | |
8750 | ||
8751 | Wed Feb 24 19:49:31 1993 Per Bothner (bothner@rtl.cygnus.com) | |
8752 | ||
8753 | * ldver.c: Bump to version 2.1. | |
8754 | ||
8755 | Fri Feb 12 08:09:11 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
8756 | ||
8757 | * ldgram.y: allow section types without address expressions. | |
8758 | * ldlang.c (lang_relocate_globals): avoid possible hang with | |
8759 | undefined but unreferenced symbols. | |
8760 | * relax.c (relax_section): don't complain if the script file isn't | |
8761 | relaxable but -relax is set | |
8762 | ||
8763 | Thu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
8764 | ||
8765 | * configure.in: go32 is the 3rd part of the triple, not the 2nd | |
8766 | ||
8767 | Wed Feb 3 09:05:56 1993 Ian Lance Taylor (ian@cygnus.com) | |
8768 | ||
8769 | * mipsbig.sh: New file. Big endian MIPS emulation. | |
8770 | * config/mips-big.mt: New file. Use mipsbig emulation. | |
8771 | * configure.in (mips-sgi-irix*): Use target mips-big. | |
8772 | * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o. | |
8773 | (em_mipsbig.c): New target. Uses mipsbig.sh. | |
8774 | ||
8775 | Tue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com) | |
8776 | ||
8777 | * mips.sc-sh: Put .scommon sections into .sbss section. | |
8778 | ||
8779 | * ldmain.c (subfile_wanted_p): Preserve section of common symbols, | |
8780 | rather than always putting them in bfd_com_section. | |
8781 | * ldlang.c (lang_common): If a common symbol is not in | |
8782 | bfd_com_section, put in a section of the same name, rather than | |
8783 | always putting it in section COMMON. | |
8784 | ||
8785 | Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com) | |
8786 | ||
8787 | * ldmain.c (subfile_wanted_p): If we already have a common | |
8788 | definition of a symbol, don't necessarily pull in an object file | |
8789 | that provides a non-common definition. | |
8790 | ||
8791 | * ldlex.l (COMMAND): Accept -EB and -EL command line arguments, | |
8792 | returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS | |
8793 | linker. | |
8794 | * ldgram.y (OPTION_EB, OPTION_EL): New tokens. | |
8795 | (command_line_option): Accept and ignore OPTION_EB and OPTION_EL. | |
8796 | ||
8797 | Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com) | |
8798 | ||
8799 | * Makefile.in (install): Remove $(tooldir)/bin/gld before creating | |
8800 | the link to it. | |
8801 | ||
8802 | Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com) | |
8803 | ||
8804 | * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than | |
8805 | checking for equality to bfd_com_section. | |
8806 | ||
8807 | Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com) | |
8808 | ||
8809 | * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF | |
8810 | targets, linker script. | |
8811 | * mipslit.sh: New file. Little endian MIPS emulation. | |
8812 | * config/mips-lit.mt: New file. Use mipslit emulation. | |
8813 | * configure.in (mips-dec-ultrix*): Use target mips-lit. | |
8814 | * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o. | |
8815 | (em_mipslit.c): New target. Uses mipslit.sh. | |
8816 | ||
8817 | Thu Jan 14 15:30:27 1993 Ian Lance Taylor (ian@cygnus.com) | |
8818 | ||
8819 | * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and | |
8820 | $(tooldir)/bin/gld, so that gcc can find it with or without | |
8821 | collect2. | |
8822 | ||
8823 | Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8824 | ||
8825 | * ldwrite.c: Removed perform_relocation, copy_and_relocate, and | |
8826 | write_norel. All linking is now done via write_relax. Call | |
8827 | ldsym_write before calling write_relax. | |
8828 | * relax.c: Added copyright. | |
8829 | (write_relax): Renamed from write_relaxnorel. Added relocateable | |
8830 | argument. seclet_dump renamed to bfd_seclet_link. | |
8831 | * relax.h: Added copyright. | |
8832 | ||
8833 | Mon Jan 11 15:41:56 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
8834 | ||
8835 | * ldmain.c (decode_library_subfile): Patch from | |
8836 | hoogen@shafer.cs.utah.edu, don't reread library symbol tables. | |
8837 | ||
8838 | Fri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
8839 | ||
8840 | * config/vxworks960.mt renamed to config/i960.mt | |
8841 | ||
8842 | * configure.in: sparc-aout emulates a sun4, as does | |
8843 | sparc*-vxworks, i960-nindy uses gld960 emulation | |
8844 | ||
8845 | Fri Jan 8 14:39:07 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
8846 | ||
8847 | Fix support for NOLOAD, add INCLUDE | |
8848 | * ldfile.c (ldfile_open_command_file): pass file name to | |
8849 | lex_push_file. | |
8850 | * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD | |
8851 | * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD | |
8852 | attribute. | |
8853 | ||
8854 | Thu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
8855 | ||
8856 | * Makefile.in, config.h: no more default emulation. Make the lack | |
8857 | of emulation a compile time error | |
8858 | ||
8859 | Wed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
8860 | ||
8861 | * configure.in: recognise all sparclite variants, not just 'sparclite' | |
8862 | ||
8863 | Mon Dec 28 11:15:35 1992 Ian Lance Taylor (ian@cygnus.com) | |
8864 | ||
8865 | * m68kcoff.sc-sh: define _end as well as end, for consistency with | |
8866 | aout.sc-sh. | |
8867 | ||
8868 | * configure.in: accept *-ericsson-ose for any m68k CPU. | |
8869 | ||
8870 | * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag | |
8871 | for each output section. | |
8872 | ||
8873 | Mon Dec 21 16:06:59 1992 Per Bothner (bothner@rtl.cygnus.com) | |
8874 | ||
8875 | * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new | |
8876 | macro bfd_asymbol_bfd as appropriate. | |
8877 | * Makefile.in: Un-duplicate ldlex.c dependency. | |
8878 | * condigure.in: Replace my_host case table by sourcing | |
8879 | ../bfd/configure.host. Allow std-host as the default. | |
8880 | * ldmisc.c: Change logic for C++ name demangling: There is | |
8881 | no initial '_' to remove from stab-derived function names. | |
8882 | ||
8883 | Sun Dec 13 16:31:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
8884 | ||
8885 | * ldlang.c (lang_init_script_file): don't attach the output file | |
8886 | sections to the script file. | |
8887 | ||
8888 | Wed Dec 9 08:38:05 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
8889 | * ldlang.c (wild): run expansion loop over command line bfd too. | |
8890 | (lang_ini_script_file): initialize more parts of the command line | |
8891 | bfd. | |
8892 | * ldlex.l: fix DEFINED start states. | |
8893 | ||
8894 | Mon Dec 7 08:43:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
8895 | -y support | |
8896 | * ld.texinfo: new doc. | |
8897 | * ldgram.y, ldlex.l: understand -y<symbol> | |
8898 | * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and | |
8899 | print info. (add_ysym): new function. | |
8900 | * ldsym.h: (ldsym_type): new define SYM_Y. | |
8901 | ||
8902 | Sat Nov 21 03:15:27 1992 John Gilmore (gnu@cygnus.com) | |
8903 | ||
8904 | * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, | |
8905 | ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h, | |
8906 | ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue | |
8907 | macros with PARAMS. Recreational cleanup. Update copyrights. | |
8908 | ||
8909 | Tue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
8910 | ||
8911 | * Makefile.in: pass down the bfd source directory for includes | |
8912 | ||
8913 | Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com) | |
8914 | ||
8915 | * ldlang.c (lang_size_sections): don't change size and address for | |
8916 | SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD | |
8917 | sections. | |
8918 | ||
8919 | Thu Nov 5 11:33:57 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
8920 | ||
8921 | * relax.c (build_it): re-enable the processing of data_statements | |
8922 | in scripts, makes counted contructor lists work again. | |
8923 | ||
8924 | Thu Nov 5 05:43:01 1992 John Gilmore (gnu@cygnus.com) | |
8925 | ||
8926 | * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS). | |
8927 | ||
8928 | Tue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com) | |
8929 | ||
8930 | * m68kcoff.sc-sh: don't use initial underscores for etext, edata | |
8931 | and end. | |
8932 | ||
8933 | Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com) | |
8934 | ||
8935 | * Support for i386-sysv. | |
8936 | configure.in: check for i386-*-sysv* and i386-*-sco*. | |
8937 | i386coff.sc-sh: rewrote to support SVR3 by default. | |
8938 | ldctor.c (find_constructors): preserve stat_ptr. | |
8939 | ldlang.c (wild_doit): initialize vma and size of new output | |
8940 | section to corresponding input section. This is required for | |
8941 | shared library support. | |
8942 | (lang_size_sections): don't modify vma and size of sections which | |
8943 | are never loaded (for shared libraries). | |
8944 | ldwrite.c (copy_and_relocate): copy the contents of any section | |
8945 | which has contents, not just sections which are loaded (for shared | |
8946 | libraries). | |
8947 | ||
8948 | Thu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
8949 | ||
8950 | * ldlang.c (size_input_section): count the sizes of all sections | |
8951 | we allocate. | |
8952 | ||
8953 | Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
8954 | ||
8955 | * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to | |
8956 | to demangle symbols better | |
8957 | ||
8958 | Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com) | |
8959 | ||
8960 | * ldlang.c (lang_finish): don't warn if -e start symbol does not | |
8961 | exist when linking with -r. | |
8962 | ||
8963 | Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com) | |
8964 | ||
8965 | * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the | |
8966 | .bss segment. | |
8967 | ||
8968 | Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
8969 | ||
8970 | * ldmain.c (linear_library): don't even think about processing | |
8971 | an object file if it's already been done | |
8972 | ||
8973 | Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
8974 | ||
8975 | * configure.in: the hp9000/300 config file is now hp300 | |
8976 | ||
8977 | Wed Sep 30 07:34:09 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
8978 | ||
8979 | * config/z8ksim.mt: new file | |
8980 | ||
8981 | Fri Sep 25 13:49:52 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) | |
8982 | ||
8983 | * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o, | |
8984 | lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h. | |
8985 | ||
8986 | * ld.h (strip_symbols_type): Add value STRIP_SOME. | |
8987 | * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token. | |
8988 | * ldlang.c (lang_add_keepsyms_file): New function. | |
8989 | * ldlex.l: Handle "-retain-symbols-file". | |
8990 | * ldsym.c (keepsyms_file, kept_syms): New vars. | |
8991 | (process_keepsyms): New functihon; reads file, marks symbols for | |
8992 | saving. | |
8993 | (write_file_locals): File symbols should always be kept. | |
8994 | (ldsym_write): Warn about "-retain-symbols-file" overriding "-S" | |
8995 | and "-s". Process retain-symbols file before setting symtab. | |
8996 | * ldsym.h (SYM_KEEP): New flag for ldsym_type flags. | |
8997 | (keepsyms_file, kept_syms): Declare them. | |
8998 | ||
8999 | * ldmain.c (main): Non-fatal errors should still cause non-zero | |
9000 | exit status even with -r. | |
9001 | ||
9002 | Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9003 | ||
9004 | Added initial support for the z8k | |
9005 | * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files | |
9006 | * configure.in, Makefile.in: modified to reflect above | |
9007 | ||
9008 | * ldlang.c (lang_check): when linking conflicting architectures, | |
9009 | make the output file reflect at least one of the bad inputs. | |
9010 | ||
9011 | Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com) | |
9012 | ||
9013 | * Makefile.in (install): if $(tooldir) exists, install ld in | |
9014 | $(tooldir)/bin. | |
9015 | ||
9016 | Fri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9017 | ||
9018 | * Makefile.in, configure.in: modified to support i386-coff | |
9019 | * i386coff.sh: new file | |
9020 | ||
9021 | Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com) | |
9022 | ||
9023 | * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt: | |
9024 | added m68k-coff emulation mode, stolen from a29k emulation. | |
9025 | Almost certainly wrong, but perhaps better than sun3. | |
9026 | ||
9027 | Thu Sep 3 14:19:30 1992 Per Bothner (bothner@rtl.cygnus.com) | |
9028 | ||
9029 | * Makefile.in, Makefile.dos, generic.em, genscripts.sh, | |
9030 | gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em, | |
9031 | vanilla.em: Rename all (generated) ld__*.c files to em_.c. | |
9032 | This is one character shorter, and lets people build on | |
9033 | SVR3 system. (ld__h8300xray.[co] was the killer there; | |
9034 | h8300xray.sc-sh is also overlong, but seems harmless.) | |
9035 | Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>. | |
9036 | * Makefile.in (clean): Fix typo mostclean -> mostlyclean. | |
9037 | * configure.in: Add host isc. | |
9038 | ||
9039 | * ldver.c: Call it version 2.0. | |
9040 | ||
9041 | Wed Sep 2 00:21:33 1992 Per Bothner (bothner@rtl.cygnus.com) | |
9042 | ||
9043 | * ldver.c: Bump to version 0.98. | |
9044 | * TODO: New file. | |
9045 | ||
9046 | * Makefile.in: Added mostlyclean, distclean, realclean rules. | |
9047 | ||
9048 | Tue Sep 1 23:42:16 1992 Per Bothner (bothner@rtl.cygnus.com) | |
9049 | ||
9050 | * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c). | |
9051 | * ldlex.l: Moved comment() to end, since some compilers | |
9052 | otherwise have problems with input() used before it is defined. | |
9053 | ||
9054 | Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
9055 | ||
9056 | * configure.in: added Solaris 2 and Irix 4 host support. | |
9057 | ||
9058 | Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
9059 | ||
9060 | * Makefile.in: remove -S flag from the FLEX definition | |
9061 | ||
9062 | * configure.in: rewrote, using new style case statement. use | |
9063 | m68k.mt for m68k-aout systems | |
9064 | ||
9065 | Sun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com) | |
9066 | ||
9067 | * Makefile.in: map "ld" through program_transform_name when | |
9068 | installing. | |
9069 | ||
9070 | Sun Aug 30 18:12:13 1992 Per Bothner (bothner@rtl.cygnus.com) | |
9071 | ||
9072 | * cplus-dem.c: Removed. Use the version in libiberty now. | |
9073 | * ldmisc.c: Use new libiberty version of cplus_demangle(). | |
9074 | ||
9075 | Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com) | |
9076 | ||
9077 | * gld960.em (gld960_choose_target): default to little endian, not | |
9078 | big endian. | |
9079 | ||
9080 | Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9081 | ||
9082 | * ldlang.c (lang_process): don't pass null pointers when | |
9083 | abs_output_section is what is required. | |
9084 | * ldwrite.c (ldwrite): use malloc to allocate the largest space | |
9085 | used, and pass that down. | |
9086 | * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather | |
9087 | than alloca. | |
9088 | ||
9089 | Mon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com) | |
9090 | ||
9091 | * configure.in, config/ose68.mt: renamed OSE to ose. | |
9092 | ||
9093 | Thu Aug 20 19:55:22 1992 Ken Raeburn (raeburn@cygnus.com) | |
9094 | ||
9095 | * ldsym.c (write_file_locals): Reorder check for common or | |
9096 | undefined symbols so that it works. | |
9097 | ||
9098 | Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com) | |
9099 | ||
9100 | * configure.in: accept all m68K family members. | |
9101 | ||
9102 | * Makefile.in: always create installation directories. | |
9103 | ||
9104 | Thu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9105 | ||
9106 | * ldlex.l: now parses comment correctly, added ~ to acceptable | |
9107 | chars in filenames | |
9108 | ||
9109 | * ldexp.c (exp_unop): pass down abs_output_section - now can have | |
9110 | unary -ve constants. | |
9111 | ||
9112 | * ldlang.c (lang_finish): warn when an entry symbol supplied on | |
9113 | the command line can't be found. | |
9114 | ||
9115 | Fri Aug 7 12:31:10 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9116 | ||
9117 | * ldlang.h: add new field "loadable" to output_section_statement. | |
9118 | * ldlang.c (lang_output_section_statement_lookup): initilize new | |
9119 | field. (wild_doit): if new field is not set, then stop output | |
9120 | section from being loadable. | |
9121 | (lang_enter_output_section_statement): set the field from the | |
9122 | NOLOAD keyword | |
9123 | * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too. | |
9124 | * h8300hms.sc-sh, h8300hms.em: get -r right. | |
9125 | ||
9126 | Thu Aug 6 18:35:21 1992 Per Bothner (bothner@rtl.cygnus.com) | |
9127 | ||
9128 | * ldint.texinfo: New internals manual (beginnings thereof). | |
9129 | * PORTING: Removed, merged into ldint.texinfo. | |
9130 | ||
9131 | Tue Aug 4 21:12:29 1992 Per Bothner (bothner@rtl.cygnus.com) | |
9132 | ||
9133 | * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, | |
9134 | cdtest.exp: A test program (copied from libg++/test-install) | |
9135 | that tests that constructor and destructors are handled | |
9136 | corrrectly. | |
9137 | ||
9138 | Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
9139 | ||
9140 | * Makefile.in (install): install from ld.new, renaming during the | |
9141 | copy, or else the next 'make install' needs to re-link ld. | |
9142 | ||
9143 | Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com) | |
9144 | ||
9145 | * configure.in: generalise hp recognition (from sef). | |
9146 | ||
9147 | Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
9148 | ||
9149 | * configure.in: recognize bsd and hpux hppa configurations. | |
9150 | error messages echo to stderr, not stdout | |
9151 | ||
9152 | Fri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
9153 | ||
9154 | * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c, | |
9155 | ldmisc.c: removed rcsid's. | |
9156 | ||
9157 | Tue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9158 | ||
9159 | * ldlang.c (lang_map): print changes in sizes due to relaxing | |
9160 | (size_input_section): maintain the delta information. | |
9161 | * ldlang.h: add new field to struct to contain delta info. | |
9162 | * relax.c (relax_section): complain if input not relaxable. | |
9163 | * ldlex.l : add '_', ',' and '$' to chars which can appear at the | |
9164 | start of a filename | |
9165 | ||
9166 | Mon Jul 13 17:33:00 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9167 | ||
9168 | * ldmain.c(main): prevent -r and -relax from being on at the same | |
9169 | time. | |
9170 | ||
9171 | Wed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9172 | ||
9173 | * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for | |
9174 | aliasing problems | |
9175 | ||
9176 | ||
9177 | Thu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9178 | ||
9179 | * h8300hms.em, h8300hms.sc-sh: do the right thing for -r | |
9180 | * ldexp.c: lint | |
9181 | * ldlang.c(open_output): set the target arch and machine as soon | |
9182 | as we can. (lang_size_sections): use new macros for setting vma | |
9183 | * ldwrite.c: lint | |
9184 | ||
9185 | Mon Jun 15 08:47:43 1992 Michael Tiemann (tiemann@rtl.cygnus.com) | |
9186 | ||
9187 | * configure.in (my_target): Accept m680?0 for wrs as vxworks68. | |
9188 | Also deleted an unreachable path to wrs. | |
9189 | ||
9190 | Wed May 27 23:24:19 1992 Michael Tiemann (tiemann@rtl.cygnus.com) | |
9191 | ||
9192 | * Makefile.in (install): use -d test for $tooldir before | |
9193 | installing ld there so that $tooldir can be inherited from | |
9194 | top-level Makefile. | |
9195 | ||
9196 | Wed May 27 16:56:48 1992 Per Bothner (bothner@rtl.cygnus.com) | |
9197 | ||
9198 | * ldlang.c: Two non-substantial changes for the sake of | |
9199 | the old Portable C Compiler. | |
9200 | ||
9201 | Wed May 27 15:15:58 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9202 | ||
9203 | * ldgram.y, ldlex.l: parse ABSOLUTE | |
9204 | * ldexp.c: add support for ABSOLUTE | |
9205 | ||
9206 | Wed May 27 13:07:20 1992 Per Bothner (bothner@rtl.cygnus.com) | |
9207 | ||
9208 | * Makefile.in: Added default definitions for HOSTING_CRT0, | |
9209 | HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh. | |
9210 | * config/*.mh: Miscellaneous clean-up: Removed definitions | |
9211 | of YACC (since it is not longer used in the Makefile). | |
9212 | Remove HOSTING_* definitions that are subsumed by the | |
9213 | ones added to Makefile.in. Removed most definitions of CC. | |
9214 | * config/{sparc,news,hp300bsd,decstation}.mh: Removed; | |
9215 | These are no longer needed. | |
9216 | ||
9217 | Fri May 22 13:47:19 1992 Per Bothner (bothner@cygnus.com) | |
9218 | ||
9219 | * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex | |
9220 | rules, since these are used when building a distribution. | |
9221 | * Makefile.in (ldlex.c): Don't re-direct output, since that | |
9222 | leaves a bogus output files if it fails. | |
9223 | ||
9224 | * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working. | |
9225 | * ldlex.c: Fix some unnecessary flex-specific-isms. | |
9226 | ||
9227 | Fri May 8 11:49:43 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9228 | ||
9229 | * ldgram.y: move spurious semicolon | |
9230 | * ldexp.h: fix prototype | |
9231 | ||
9232 | Thu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
9233 | ||
9234 | * ld.texinfo: references to linker now say "ld" not "gld". | |
9235 | ||
9236 | Wed May 6 13:26:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9237 | ||
9238 | changed calling convention for Q_enter_global_ref | |
9239 | * ldexp.c, ldlang.c, ldmain.c: reflect this | |
9240 | * ldver.c: bump version to 1.97.1 | |
9241 | * ldindr.c (add_indirect): when an edict declaring an indirect | |
9242 | symbol is found, make sure that any ideas about the symbol being | |
9243 | common are changed if it now known to be defined. | |
9244 | * ldmain.c (linear_library): complain once if archive isn't | |
9245 | ranlibbed. | |
9246 | * ldlang.h, ldlang.c: make room for and initialize the complain | |
9247 | once field. | |
9248 | ||
9249 | Wed May 6 11:07:35 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
9250 | ||
9251 | * Makefile.in: use flex & bison from ../ if they exist. | |
9252 | ||
9253 | Tue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9254 | ||
9255 | * relax.c (build_it): don't allocate space in the output file for | |
9256 | stuff if -R flag applys to it. | |
9257 | * ldfile.c: merge in VMS filename support | |
9258 | * ldmain.c (main): take out ./ from library path, and close file | |
9259 | before unlinking. Make multiple defs of a symbol create an | |
9260 | unexecable file. | |
9261 | * ldmisc.c: fatal errosrs delete output file | |
9262 | ||
9263 | Tue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com) | |
9264 | ||
9265 | * ldver.c: Increase version number to 1.97, for consistency | |
9266 | with ../binutils. | |
9267 | ||
9268 | Tue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com) | |
9269 | ||
9270 | * Makefile.in: FLEX -> LEX. | |
9271 | ||
9272 | * ld.texinfo: {} -> @{@}. | |
9273 | ||
9274 | Mon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
9275 | ||
9276 | * ld.texinfo: describe alternate, MRI-compatible linker scripts | |
9277 | (and associated change in -c option, now used for these scripts) | |
9278 | ||
9279 | Mon May 4 16:10:10 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9280 | ||
9281 | * ldver.c: Bumped version to 1.96 - new release, resync with the | |
9282 | bfd too #. | |
9283 | * ldexp.c, ldlang.c: now build memory shape tree in obstacks | |
9284 | rather than with raw malloc, makes it easier to track where memory | |
9285 | is going. | |
9286 | * ldsym.h, ldsym.c: create obstack for all global symbols too. | |
9287 | * ldwrite.c (ldwrite): moved malloc so only used when needed. | |
9288 | * sa29200-sc.sh: added support for .lit, data1 and data2 sections. | |
9289 | ||
9290 | ||
9291 | Fri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com) | |
9292 | ||
9293 | * config/sparc.mh: use ../gcc/libgcc.a on check if it exists. | |
9294 | ||
9295 | * Makefile.in: use bootstrap for check. | |
9296 | ||
9297 | Fri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9298 | ||
9299 | * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and | |
9300 | PUBLIC. | |
9301 | * Makefile.in: now use flex, not lex | |
9302 | * ldlex.l, ldlang.c, ldctor.c: lint | |
9303 | ||
9304 | Wed Apr 22 12:48:42 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9305 | ||
9306 | * ldlex.l: added CMDFILENAMECHAR state so that you can lex | |
9307 | different sorts of filenames on the command line than in a script. | |
9308 | ||
9309 | Mon Apr 20 22:37:04 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
9310 | ||
9311 | * Makefile.in: rework CFLAGS so that they can be passed on the | |
9312 | make command line. Remove MINUS_G. Default CFLAGS to -g. | |
9313 | ||
9314 | Fri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9315 | ||
9316 | * relax.c: added handling for new "padding" seclet type, used to | |
9317 | fill out gaps between section. | |
9318 | * ldgram.y, ldlex.l: now -defsym on the command line is done | |
9319 | properly. | |
9320 | ||
9321 | Wed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
9322 | ||
9323 | * Makefile.in: the tooldir copy of ld goes directly in tooldir. | |
9324 | ||
9325 | Wed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9326 | ||
9327 | * mri.c, ldgram.y, ldlex.l: added support for minimal strange link | |
9328 | scripts. | |
9329 | ||
9330 | Thu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM) | |
9331 | ||
9332 | * Makefile.in (install): Install second copy in $(tooldir)/bin | |
9333 | without $(program_prefix), since that's what gcc expects. | |
9334 | ||
9335 | Sat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9336 | ||
9337 | * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer. | |
9338 | * h8300*: fix bit rot and add support for h8300xray target | |
9339 | * go32.sh: target emulation for go32. | |
9340 | ||
9341 | Mon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com) | |
9342 | ||
9343 | * gld960.em, i960.sc-sh. Fix i960 bit rot | |
9344 | ||
9345 | Fri Mar 13 19:47:22 1992 K. Richard Pixley (rich@cygnus.com) | |
9346 | ||
9347 | * Makefile.in: install man page. | |
9348 | ||
9349 | Fri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9350 | ||
9351 | * config/mt-<foo> renamed to <foo>.mt | |
9352 | * config/mh-<foo> renamed to <foo>.mt | |
9353 | * configure.in changed to reflect this | |
9354 | * genscripts.sh now make .xbn files rather than .xN files | |
9355 | ||
9356 | Sat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com) | |
9357 | ||
9358 | * ldver.h: fix decl of ldversion. | |
9359 | ||
9360 | Fri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com) | |
9361 | ||
9362 | * Makefile.in: added check target. | |
9363 | ||
9364 | Fri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9365 | ||
9366 | * ldmain.c (Q_enter_file_symbols): now aliases work again | |
9367 | ||
9368 | Thu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com) | |
9369 | ||
9370 | * Makefile.in: added clean-info target. | |
9371 | ||
9372 | Thu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9373 | ||
9374 | * ldexp.c (exp_print_tree): don't try and follow null pointers | |
9375 | around. | |
9376 | * ldgram.y: remove 11 shift reduce errors | |
9377 | ||
9378 | Tue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
9379 | ||
9380 | * Makefile.in: added tooldir and program_prefix. | |
9381 | ||
9382 | Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com) | |
9383 | ||
9384 | * ldlang.c (size_input_section): don't move absolute sections | |
9385 | around! | |
9386 | ||
9387 | ||
9388 | Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com) | |
9389 | ||
9390 | * cplus-dem.c: yet another copy of this - maybe it should go into | |
9391 | libiberty ? | |
9392 | * ldgram.y: now -V and -v have different actions | |
9393 | * ldver.c: if -V, prints list of emulations compiled in | |
9394 | * ldmisc.c: support for cplus demangling | |
9395 | ||
9396 | ||
9397 | Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) | |
9398 | ||
9399 | * Makefile.in, configure.in: removed traces of namesubdir, | |
9400 | -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced | |
9401 | copyrights to '92, changed some from Cygnus to FSF. | |
9402 | ||
9403 | Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com) | |
9404 | ||
9405 | * Makefile.in: Change mkscript rule into one for ./mkscript | |
9406 | (for the sake of makes that don't realize they're the same). | |
9407 | * PORTING: Add more details. | |
9408 | * genscripts.sh: Add more tailorability of DATA_ALIGNMENT. | |
9409 | ||
9410 | Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com) | |
9411 | ||
9412 | * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd, | |
9413 | config/mt-hp300bsd: New port to hp300 running BSD. | |
9414 | ||
9415 | Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com) | |
9416 | ||
9417 | Major rewrite of how ld is configured. The major idea | |
9418 | is to use shell scripts to generate everything. | |
9419 | * generic.em replaces ldtemplate. | |
9420 | * Other *.em files replace various *.c files. | |
9421 | A *.em file is a shell script that generates the corresponding | |
9422 | ld__*.c file that implements an emulation. This is usually | |
9423 | a straight 'cat' of a here-document, possibly with substitutions. | |
9424 | * Script files (*.sc) are places by *.sc-sh scripts. | |
9425 | Again, these are simple shell scripts that 'cat' | |
9426 | here-documents, usually with some substitutions. | |
9427 | The output a *.sc-sh is a script file. | |
9428 | * Each emulation is defined by a short shell script with | |
9429 | extension *.sh that specifies the emulation-specific | |
9430 | parameters (such as the name of the *.sh-sc and *.em | |
9431 | files to use). | |
9432 | * genscript.sh is the master shell script used to generate | |
9433 | an emulation. It is passed various argument, including | |
9434 | the name a the emulation-speciic *.sh file that it | |
9435 | "sources" to set variables to emulation-specifc parameters. | |
9436 | * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME | |
9437 | to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.) | |
9438 | * config/mh-foo: Rename LDEMULATION names as appropriate | |
9439 | (usually 'gldfoo' -> plain 'foo'). | |
9440 | * ldwrite.c: Fixed a typo in a comment. | |
9441 | * Makefile.in: Major changes. Removed some the sed | |
9442 | magic to converts scripts, since that is now handled | |
9443 | by genscripts.sh and the *.sc-sh scipt generators. | |
9444 | * config.h: Remove a bunch of macros defining emulations | |
9445 | and targets. This becomes one less file to edit when | |
9446 | adding emulations or targets. | |
9447 | * ldemul.h (struct ld_emulation_xfer_struct): Add | |
9448 | emulation_name and target_name fields. | |
9449 | * ldemul.c, ldemul.h: Define some default functions used | |
9450 | by most emulations (and remove from the *.em scripts). | |
9451 | * ldemul.c (ldemul_choose_target): Search the new | |
9452 | ld_emulations array using a loop (instead of a hardwired | |
9453 | nested if statement). | |
9454 | Define the ld_emulation from the automatically-geenrated | |
9455 | ldemul-list.h. This means you no longer have to edit ldemul.c | |
9456 | to add a new emulation. | |
9457 | * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by | |
9458 | their expansions, since the former no longer exist. | |
9459 | * PORTING: A very rough first draft of a porting guide. | |
9460 | ||
9461 | * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment | |
9462 | to be terminated by a new-line (instead of requiring a semicolon). | |
9463 | ||
9464 | Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
9465 | ||
9466 | * ldexp.c, ldlang.c: added new idea "abs_output_section", removes | |
9467 | tests for NULL pointers all over the place. | |
9468 | * ldlang.c (lang_process): remember to relocate global symbols | |
9469 | *after* relaxing has done it stuff. | |
9470 | ||
9471 | Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
9472 | ||
9473 | * config/mt-coff-h8300: use EMUL like everything else | |
9474 | * ldlang.c: (print_padding_statement): print the right address. | |
9475 | * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms | |
9476 | ||
9477 | ||
9478 | Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
9479 | ||
9480 | * ldlex.l: Put pack -noinhibit-exec and -sort-common | |
9481 | * ldlang.c (print_data_statement): print the right address. | |
9482 | ||
9483 | Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com) | |
9484 | ||
9485 | * Makefile.in: The rule for testing ld by re-linking itself | |
9486 | via an intermediate -r link was moved to the ld1 rule | |
9487 | instead of the ld2 rule. This allows ld2 and ld3 to be identical, | |
9488 | which allows the bootstrap rule to work. | |
9489 | * ldctor.c (find_constructors): Don't create a constructor | |
9490 | list if it is already defined (as would happen if ld is | |
9491 | invoked by collect). | |
9492 | ||
9493 | Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
9494 | ||
9495 | * config/mh-sparc.h: now uses libgcc.a | |
9496 | * ldmain.c: quit using exit | |
9497 | * *sc: use *(COMMON) rather than [COMMON] | |
9498 | * ldlex.l, lexsup.c: much thinking moved from .l and put into .c, | |
9499 | to allow preprocessing of .l file. | |
9500 | * Makefile.in: New ldlex.l mangling | |
9501 | * ldexp.c (fold_binary): perform expressions with % and / in | |
9502 | integer. | |
9503 | * ldfile.c (open_a): open archives on VMS in a special way | |
9504 | ||
9505 | ||
9506 | Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
9507 | ||
9508 | * ldgram.y: map -M behave in the same way as -Map (sets file name | |
9509 | to be "-". | |
9510 | * ldsym.c, ldlang.c: remember that size of a section is dependent on | |
9511 | whether or not relaxing has been done. | |
9512 | * ldmain.c: don't open a map file if it doesn't have a name | |
9513 | * relax.c: all the brains have moved into bfd. | |
9514 | * ldwrite.c: ammend comment | |
9515 | ||
9516 | Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
9517 | ||
9518 | * Makefile.in: added relax, also made three stage go through a | |
9519 | partial link stage. | |
9520 | * relax.c : added | |
9521 | * config.h: if GNU960 defined, then default emulation mode is | |
9522 | GLD960 | |
9523 | * ldexp.h, ldexp.c: map to file hooks | |
9524 | * ldlang.c: map to file hooks | |
9525 | * ldgram.y: added -Map -relax | |
9526 | * ldlex.l: added -relax, -Map | |
9527 | * ldmain.c: open map file | |
9528 | * ldmisc.c: support for map file | |
9529 | * ldwrite.c: new relax magic | |
9530 | ||
9531 | Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com) | |
9532 | ||
9533 | * Makefile.in, config/tm-*.h: Clean up make output, only | |
9534 | pass DEFAULT_EMULATION to ldmain.c. | |
9535 | ||
9536 | Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com) | |
9537 | ||
9538 | * ldver.c: Bump to version 1.94. | |
9539 | ||
9540 | Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com) | |
9541 | ||
9542 | * Makefile.in: infodir belongs in datadir. | |
9543 | ||
9544 | Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com) | |
9545 | ||
9546 | * Makefile.in: Pass -y to bison. (Again; | |
9547 | accidentally deleted by Rich.) | |
9548 | * news.sc, ldgld68k.sc: Define __end as well as _end. | |
9549 | ||
9550 | Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com) | |
9551 | ||
9552 | * ldindr.h: added to contain prototypes of ldindr.c | |
9553 | * ldfile.c: include ctype.h | |
9554 | * ldmain.c: include the requried prototype headers | |
9555 | * ldwrite.c: get_reloc_upper_bound has been renamed | |
9556 | bfd_get_reloc_upper_bound | |
9557 | ||
9558 | Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) | |
9559 | ||
9560 | * Makefile.in: punt "fundamental" mode because it breaks my emacs | |
9561 | macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove | |
9562 | spaces following hyphens, bsd make can't cope. added | |
9563 | standards.text support and made it look like all the other | |
9564 | makefiles. | |
9565 | ||
9566 | * configure.in: configure now runs entirely in objdir so make file | |
9567 | existence checks against ${srcdir}. Mark this directory as | |
9568 | target dependent. | |
9569 | ||
9570 | Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com) | |
9571 | ||
9572 | * Makefile.in: idestdir and ddestdir go away. Added copyrights | |
9573 | and shift gpl to v2. Added ChangeLog if it didn't exist. docdir | |
9574 | and mandir now keyed off datadir by default. | |
9575 | ||
9576 | Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com) | |
9577 | ||
9578 | * ldver.c: Bumped version to 1.93. | |
9579 | * Makefile.in: Pass -y to bison. | |
9580 | ||
9581 | Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com) | |
9582 | ||
9583 | * config.h: h8 is now coff, not ieee | |
9584 | * h8300hds.sc: reflect the same | |
9585 | ||
9586 | Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com) | |
9587 | ||
9588 | * ldver.c (ldversion()): Update to 1.92. | |
9589 | * ldctor.c: There are two places constructor sets | |
9590 | can be defined. One of them checked for an existing | |
9591 | duplicate, the other didn't. Unfortunately, the latter | |
9592 | was called after the former ... | |
9593 | So, factor out code for inserting a new element into | |
9594 | constructor_name_list (after checking for a duplicate) | |
9595 | into a new function add_constructor_name, and call | |
9596 | it from both aforementioned places (ldlang_add_constructor | |
9597 | and ldlang_check_for_constructors). | |
9598 | ||
9599 | Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com) | |
9600 | ||
9601 | * Makefile.in: Rename .c files generated from ldtemplate | |
9602 | to have names starting with ld__. This helps 'make clean'. | |
9603 | ||
9604 | Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com) | |
9605 | ||
9606 | * Makefile.in: Take out the version number for install | |
9607 | * m88kbcs.sc: put in contructor blocks. | |
9608 | ||
9609 | Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com) | |
9610 | ||
9611 | * ldmisc.c, ldmisc.h: Re-write info() to take a filename | |
9612 | parameter, a format, and an arg pointer, and rename it to | |
9613 | vfinfo(). Write info() in terms of new vfinfo(). | |
9614 | New einfo() is the same as info(), except it writes to stderr. | |
9615 | * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c, | |
9616 | ldmisc.c: Replace "error" calls to info() by new einfo(). | |
9617 | ||
9618 | Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com) | |
9619 | ||
9620 | * ldlex.l ldgram.y: made -V option do same as -v | |
9621 | * Makefile.in: Added $(MINUS_G) flag so debugging can be | |
9622 | turned off | |
9623 | ||
9624 | Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com) | |
9625 | i386 aout changes from Bob Kukura | |
9626 | * Makefile.in, config.h: added i386aout support | |
9627 | * configure.in: fixed /h-{myhost} typo | |
9628 | * ldgram.y: -MM now gives more boring map. | |
9629 | * ldlang.c: now does D_PAGED flag the right way. | |
9630 | * ldsym.c: -MM flags does the right thing. | |
9631 | ||
9632 | Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com) | |
9633 | ||
9634 | * configure.in: Fixed typo. Also, a fix for hp300bsd. | |
9635 | * ldlang.c (init_os): Compensate for BFD change, | |
9636 | where bfd_make_section now returns NULL for a duplicate | |
9637 | section request, instead of the old section. | |
9638 | ||
9639 | Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com) | |
9640 | ||
9641 | * ldver.c: Bump to version 1.91 (consistent with binutils). | |
9642 | ||
9643 | Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com) | |
9644 | ||
9645 | * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h, | |
9646 | ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h, | |
9647 | ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h, | |
9648 | ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c: | |
9649 | Add or update copyright notices. | |
9650 | ||
9651 | Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com) | |
9652 | ||
9653 | * README: New file. | |
9654 | * Makefile.in: Changed installation directory name scheme | |
9655 | to be consistent with gcc. Also changed 'install'. | |
9656 | ||
9657 | Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com) | |
9658 | ||
9659 | * Makefile.in: new targets ld.mm, ld.me | |
9660 | ||
9661 | Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com) | |
9662 | ||
9663 | * Makefile.in, ldtemplate: Need to use separate scripts | |
9664 | for -n and -N options. Yet more complication. | |
9665 | ||
9666 | Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com) | |
9667 | ||
9668 | * Makefile.in: Avoid using $< in explicit Make rules (it doesn't | |
9669 | work). Add some lines to avoid Sun Make VPATH bugs. | |
9670 | ||
9671 | Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com) | |
9672 | ||
9673 | * news.sc: Add alignment for data segment. | |
9674 | * ldtemplate: Add (yet another) script to get for -n or -N | |
9675 | options. (These need different alignment than ZMAGIC files.) | |
9676 | * Makefile.in: Add stuff for new foo.xn scripts. | |
9677 | These are generated by replacing "ALIGN(0x...00)" by ".". | |
9678 | ||
9679 | Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com) | |
9680 | ||
9681 | * Makefile.in: new targets ld.ms, ld-index.ms | |
9682 | ld.texinfo: remove tabs, other cleanups for texi2roff | |
9683 | ||
9684 | Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com) | |
9685 | ||
9686 | * ldmain.c (main): Make config.magic_demand_paged be true | |
9687 | by default. Don't the WP_TEXT and D_PAGED flags of | |
9688 | output_bfd here; it's too late, so set it when output_bfd | |
9689 | is created (in ldlang.c). Also fix setting of EXEC_P flag | |
9690 | * ldlang.c (ldlang_open_output): Set output_bfd->flags here. | |
9691 | * ldlang.c: Remove some duplicate extern declarations. | |
9692 | * ldgram.y: Fixes to -N and -n options. | |
9693 | * Makefile.in: Recognize upper case letters in sed script | |
9694 | to remove assignments from script files. | |
9695 | * ldtemplate: Don't assukme that -N or -n options | |
9696 | imply use of -r script. | |
9697 | * mkscript.c: Tweaking to correctly handle \n and \\ in input. | |
9698 | ||
9699 | Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com) | |
9700 | ||
9701 | * ldtemplate: include bfd.h before sysdep.h. | |
9702 | ||
9703 | Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com) | |
9704 | ||
9705 | Restructure configuration scheme for bfd, binutils, ld. | |
9706 | ||
9707 | * include/sys/h-*.h: Move to bfd/hosts/h-*.h. | |
9708 | * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. | |
9709 | Change some config names to match other dirs. | |
9710 | * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() | |
9711 | get defined first. | |
9712 | * config/: Rename some config files to match up h-*.h names. | |
9713 | Remove all the HOST_SYS definitions from the config files. | |
9714 | ||
9715 | Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com) | |
9716 | ||
9717 | * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean. | |
9718 | * ldtemplate: Remove ldfile_add_library_path calls; | |
9719 | just use the SEARCH_DIR commands in the script files. | |
9720 | * Makefile.in: Add LIB_PATH macro, which if set is used to replace | |
9721 | the SEARCH_DIR commands in the scripts (using ugly sed magic). | |
9722 | This is primarily intended for cross-linking, where you would | |
9723 | place libaries in a different place than native libraries. | |
9724 | Also, emulations made from ldtemplate now use $(srcdir). | |
9725 | * ldglda29k.sc: Change SEARCH_DIR commands to a conventional | |
9726 | form; people can use the Makefile's LIB_PATH to override. | |
9727 | ||
9728 | Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com) | |
9729 | ||
9730 | * Makefile.in: fix target ld.dvi, add target ld.info | |
9731 | ld.texinfo: make info filename ld.info | |
9732 | ||
9733 | Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com) | |
9734 | ||
9735 | * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun | |
9736 | Make). | |
9737 | * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a | |
9738 | few BFD types & enums. | |
9739 | ||
9740 | \f | |
9741 | Local Variables: | |
9742 | mode: change-log | |
9743 | left-margin: 8 | |
9744 | fill-column: 74 | |
9745 | version-control: never | |
9746 | End: |