Commit | Line | Data |
---|---|---|
60c6797e KH |
1 | 2001-01-10 Kazu Hirata <kazu@hxi.com> |
2 | ||
3 | * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. | |
4 | * scripttempl/h8300h.sc: Fix formatting. | |
5 | * scripttempl/h8300s.sc: Likewise. | |
69f06969 KH |
6 | * scripttempl/h8500.sc: Likewise. |
7 | * scripttempl/h8500b.sc: Likewise. | |
8 | * scripttempl/h8500c.sc: Likewise. | |
9 | * scripttempl/h8500m.sc: Likewise. | |
10 | * scripttempl/h8500s.sc: Likewise. | |
60c6797e | 11 | |
482e8b32 DB |
12 | 2000-01-07 David O'Brien <obrien@BSDi.com> |
13 | ||
14 | * emultempl/elf32.em: Only perform Linux ld hints processing when | |
15 | targeting Linux. | |
16 | ||
d7ed7ca6 PB |
17 | 2001-01-07 Philip Blundell <philb@gnu.org> |
18 | ||
19 | * ld.texinfo (Bug Reporting): Update email address for reports. | |
20 | ||
0fc3347a NC |
21 | 2000-12-31 Nick Clifton <nickc@redhat.com> |
22 | ||
23 | * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long | |
24 | options by checking for a return value of '?' not -1. | |
25 | ||
e4897a32 NC |
26 | 2000-12-28 Nick Clifton <nickc@redhat.com> |
27 | ||
28 | * lexsup.c (struct ld_option): Add new enum value: | |
29 | EXACTLY_TWO_DASHES. | |
30 | (ld_options[]): Change -omagic, -output and -oformat options | |
31 | to be EXACTLY_TWO_DASHES. | |
32 | (OUTPUT_COUNT): Use ARRAY_SIZE. | |
33 | (parse_args): Change parameter 'argc' to unsigned. | |
34 | Place EXACTLY_TWO_DASHES options into new really_longopts | |
35 | array. | |
36 | If getopt_long_only fails, try calling getopt_long using the | |
37 | really_longopts array. | |
38 | (help): Print a double dash for both EXACTLY_TWO_DASHES and | |
39 | TWO_DASHES options. | |
40 | ||
41 | * ldlex.h: Fix prototype of parse_args. | |
42 | ||
43 | * ld.texinfo: Document that long options starting with 'o' | |
44 | must be preceeded by two dashes. Change example of a single | |
45 | dashed long option from -oformat to -trace-symbol. | |
46 | ||
1122a5fc NC |
47 | 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
48 | ||
49 | * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. | |
50 | (longopts[]): New --no-default-excludes option. | |
51 | (gld_${EMULATION_NAME}_list_options): Document. | |
52 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
53 | ||
037849a9 NC |
54 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
55 | ||
56 | * ldlang.c (new_stat): Revert the last beautification with "innocent" | |
57 | whitespace, it breaks the K&R C preprocessor. | |
58 | ||
7ec229ce DD |
59 | 2000-12-11 DJ Delorie <dj@redhat.com> |
60 | ||
61 | * ld.texinfo: Add notes about --whole-archive and gcc. | |
62 | ||
b79e8c78 NC |
63 | 2000-11-18 Fred Fish <fnf@be.com> |
64 | ||
65 | * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. | |
66 | (ld_options): Entry for --allow-shlib-undefined. | |
67 | (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. | |
68 | * ldmain.c (main): Initialize link_info.allow_shlib_undefined | |
69 | to false. | |
70 | * ld.texinfo: Document new command line switch. | |
71 | ||
9a8e2505 GK |
72 | 2000-12-12 Geoffrey Keating <geoffk@redhat.com> |
73 | ||
74 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): | |
75 | .fixup is actually read/write. | |
76 | * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
77 | * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
78 | * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
79 | ||
b8355149 JH |
80 | Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz> |
81 | ||
82 | * NEWS: Add note about x86_64 architecture. | |
83 | ||
93b63cd3 DD |
84 | 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com> |
85 | ||
86 | * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. | |
87 | Set DWARF2 sections to a VMA of zero. | |
88 | ||
24f6971a NC |
89 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> |
90 | ||
91 | * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): | |
92 | New targets. | |
93 | (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. | |
94 | (sparc*-*-rtems*): Switched from a.out to ELF. | |
95 | ||
2be3aa03 NC |
96 | 2000-11-30 Jan Hubicka <jh@suse.cz> |
97 | ||
98 | * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o | |
99 | (eelf_x86_64.c): New. | |
100 | * Makefile.in: Regenerate. | |
101 | * configure.tgt: Add support for x86_64-*-linux-gnu*. | |
102 | * emulparams/elf_x86_64.sh: New. | |
103 | ||
8c899858 HPN |
104 | 2000-11-30 Hans-Peter Nilsson <hp@axis.com> |
105 | ||
106 | * emulparams/crislinux.sh (ENTRY): Change back to _start. | |
107 | (TEXT_START_SYMBOLS): Remove conditional setting of __start. | |
108 | ||
109 | * scripttempl/crisaout.sc: Change all RELOCATING not related to | |
110 | merging non-a.out sections into CONSTRUCTING. | |
111 | ||
e47b9e39 NC |
112 | 2000-11-28 Nick Clifton <nickc@redhat.com> |
113 | ||
114 | * ld.1 (COPYING): Mention that the GNU Free Documentation | |
115 | License is present in the sources, but not the output, and | |
116 | also available from the GNU website. | |
117 | (GNU Free Documentation License): Comment out this section. | |
118 | ||
ad95f82a DB |
119 | 2000-11-28 David O'Brien <obrien@dragon.nuxi.com> |
120 | ||
121 | * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF | |
122 | does not use them. | |
123 | ||
fd89e65f DB |
124 | 2000-11-25 David O'Brien <obrien@FreeBSD.org> |
125 | ||
126 | * ld.1: Remove old date so it does not give the impression the manpage | |
127 | is way out of date. | |
128 | ||
077b8428 NC |
129 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
130 | ||
131 | * configure.tgt (xscale-coff): Add target. | |
132 | (xscale-elf): Add target. | |
133 | ||
49425d28 NC |
134 | 2000-11-24 Fred Fish <fnf@be.com> |
135 | ||
136 | * ldmain.c (main): Remove redundant init of config.make_executable | |
137 | to true. | |
138 | ||
d3480244 RH |
139 | 2000-11-15 Richard Henderson <rth@redhat.com> |
140 | ||
141 | * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. | |
142 | ||
1ce7de8b KH |
143 | 2000-11-14 Kazu Hirata <kazu@hxi.com> |
144 | ||
145 | * scripttempl/h8300.sc: Fix formatting. | |
146 | * scripttempl/h8300h.sc: Likewise. | |
147 | * scripttempl/h8300s.sc: Likewise. | |
148 | ||
208d5cd0 DC |
149 | Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru> |
150 | ||
151 | * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. | |
152 | ||
2e418547 PB |
153 | 2000-11-09 Philip Blundell <pb@futuretv.com> |
154 | ||
155 | * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME | |
156 | around orphan sections whose names can be represented in C. | |
157 | ||
c940e6fc JW |
158 | 2000-11-07 Jim Wilson <wilson@redhat.com> |
159 | ||
160 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local | |
161 | hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. | |
162 | ||
704c465c NC |
163 | 2000-11-06 Nick Clifton <nickc@redhat.com> |
164 | ||
165 | * ld.texinfo: Add GNU Free Documentation License. | |
166 | * ldint.texinfo: Add GNU Free Documentation License. | |
cf055d54 | 167 | * ld.1: Add GNU Free Documentation License. |
704c465c | 168 | |
dca7760f AM |
169 | 2000-11-05 Alan Modra <alan@linuxcare.com.au> |
170 | ||
171 | * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, | |
172 | yy_is_interactive, yy_at_bol, and yy_fill_buffer. | |
173 | ||
174 | * Makefile.am (DISTCLEANFILES): Add stringify.sed. | |
175 | Move 2000-11-02 Makefile.in changes to this file. | |
176 | * Makefile.in: Regenerate. | |
177 | ||
40a633d5 NC |
178 | 2000-11-03 Nick Clifton <nickc@redhat.com> |
179 | ||
180 | * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose | |
181 | constructors and destructors. | |
182 | * scripttempl/h8300h.sc: Ditto. | |
183 | * scripttempl/h8300s.sc: Ditto. | |
184 | * scripttempl/h8500.sc: Ditto. | |
185 | * scripttempl/h8500b.sc: Ditto. | |
186 | * scripttempl/h8500c.sc: Ditto. | |
187 | * scripttempl/h8500m.sc: Ditto. | |
188 | * scripttempl/h8500s.sc: Ditto. | |
189 | * scripttempl/v850.sc: Ditto. | |
190 | * scripttempl/w65.sc: Ditto. | |
191 | * scripttempl/z8000.sc: Ditto. | |
192 | ||
59ff2774 NC |
193 | 2000-11-02 Per Lundberg <plundis@chaosdev.org> |
194 | ||
195 | * Makefile.in (e_i386_chaos.c): New rule. | |
196 | (ALL_EMULATIONS): Added e_i386_chaos.o. | |
197 | * emulparams/elf_i386_chaos.sh: New file. | |
198 | * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. | |
199 | ||
645571e1 JJ |
200 | 2000-10-20 Jakub Jelinek <jakub@redhat.com> |
201 | ||
202 | * emulparams/elf64_sparc.sh (TEXT_START_ADDR, | |
203 | NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. | |
204 | Fix sed invocation, so that it coped with '/' in Solaris 64bit | |
205 | library path suffix. | |
206 | Based on patch by Andrew Macleod <amacleod@cygnus.com>. | |
207 | ||
c5975a45 HPN |
208 | 2000-10-18 Hans-Peter Nilsson <hp@axis.com> |
209 | ||
210 | * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), | |
211 | for consecutive sections. | |
212 | ||
ea20a7da CC |
213 | 2000-10-17 Chandrakala Chavva <cchavva@redhat.com> |
214 | ||
215 | * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific | |
216 | options. | |
217 | * ld.texinfo: Added notes about this new option. | |
218 | ||
6e45556a NC |
219 | 2000-10-16 Nick Clifton <nickc@redhat.com> |
220 | ||
221 | * emultempl/pe.em (_after_open): Add tests of return values from | |
222 | bfd functions. Emit appropriate error messages if necessary. | |
223 | ||
b9a69188 NC |
224 | 2000-10-13 Nick Clifton <nickc@redhat.com> |
225 | ||
226 | * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' | |
102c86f8 NC |
227 | local variables - they are not used, but leave in the call to |
228 | bfd_canonicalize_symtab. | |
b9a69188 NC |
229 | (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of |
230 | pe_dll_search_prefix. | |
231 | ||
627427de DD |
232 | 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu> |
233 | ||
234 | * emultempl/pe.em (pe_dll_search_prefix): New variable, | |
235 | (longopts): New --dll-search-prefix option. | |
236 | (gld_${EMULATION_NAME}_list_options): Document. | |
237 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
238 | (gld_${EMULATION_NAME}_open_dynamic_archive): When linking | |
239 | dynamically, search for a dll named '<prefix><basename>.dll' | |
240 | in preference to 'lib<basename>.dll' if --dll-search-prefix | |
241 | is specified. | |
242 | ||
24376d1b AM |
243 | 2000-10-12 Alan Modra <alan@linuxcare.com.au> |
244 | ||
245 | * ldlang.c (section_already_linked): Set kept_section instead of | |
246 | sec->comdat->sec. | |
247 | ||
e47d05ad KH |
248 | 2000-10-10 Kazu Hirata <kazu@hxi.com> |
249 | ||
250 | * deffile.h: Fix formatting. | |
251 | * lexsup.c: Likewise. | |
252 | * mri.c: Likewise. | |
253 | ||
23a87948 DD |
254 | 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
255 | ||
256 | * pe-dll.c (make_one): Do not generate code thunk for DATA | |
257 | exports. | |
258 | (process_def_file): deduce DATA flag for auto-export sumbols. | |
259 | ||
86b1cc60 KH |
260 | 2000-10-09 Kazu Hirata <kazu@hxi.com> |
261 | ||
89cdebba KH |
262 | * ld.h: Fix formatting. |
263 | * ldcref.c: Likewise. | |
264 | * ldctor.h: Likewise. | |
265 | * ldemul.c: Likewise. | |
266 | * ldemul.h: Likewise. | |
267 | * ldexp.c: Likewise. | |
268 | * ldexp.h: Likewise. | |
269 | * ldfile.c: Likewise. | |
270 | * ldfile.h: Likewise. | |
271 | * ldlang.c: Likewise. | |
272 | * ldlang.h: Likewise. | |
273 | * ldmain.c: Likewise. | |
7bfd51a3 KH |
274 | * pe-dll.c: Likewise. |
275 | ||
276 | * pe-dll.c: Revert some formatting fixes. | |
86b1cc60 | 277 | |
d643799d KH |
278 | 2000-10-08 Kazu Hirata <kazu@hxi.com> |
279 | ||
280 | * pe-dll.c: Fix formatting. | |
281 | ||
08da4cac KH |
282 | 2000-10-05 Kazu Hirata <kazu@hxi.com> |
283 | ||
284 | * ldlang.c: Fix formatting. | |
285 | ||
c2a94a7a DD |
286 | 2000-10-03 DJ Delorie <dj@redhat.com> |
287 | ||
288 | * pe-dll.c (fill_edata): initialize entire block | |
289 | (make_one): fill in correct section. | |
290 | ||
8c95a62e KH |
291 | 2000-10-03 Kazu Hirata <kazu@hxi.com> |
292 | ||
293 | * ldexp.c: Fix formatting. | |
294 | ||
486e80e2 DD |
295 | 2000-10-02 DJ Delorie <dj@redhat.com> |
296 | ||
297 | * emultempl/pe.em (gld_*_after_open): detect case where there two | |
298 | import libraries for same dll; rename one to ensure proper link | |
299 | order. | |
300 | ||
301 | * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix | |
302 | typo | |
303 | (generate_edata): fix typo | |
304 | ||
24dd9f75 HPN |
305 | 2000-09-29 Hans-Peter Nilsson <hp@axis.com> |
306 | ||
307 | * scripttempl/crisaout.sc (ENTRY): Now __start. | |
308 | (.text): Add default setting for __start. | |
309 | Remove CONSTRUCTORS handling. | |
310 | (/DISCARD/): Add .gnu.warning.*. | |
311 | * emulparams/crislinux.sh (ENTRY): Now __start. | |
312 | (TEXT_START_SYMBOLS): New; provide __Stext and __start default. | |
313 | * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. | |
314 | (ENTRY): Now __start. | |
315 | (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. | |
316 | (EXECUTABLE_SYMBOLS): Add default setting for __start. | |
317 | ||
4de2d33d KH |
318 | 2000-09-29 Kazu Hirata <kazu@hxi.com> |
319 | ||
5cc18311 KH |
320 | * deffile.h: Fix formatting. |
321 | * ld.h: Likewise. | |
322 | * ldcref.c: Likewise. | |
4de2d33d | 323 | * ldctor.c: Likewise. |
5cc18311 | 324 | * ldctor.h: Likewise. |
4de2d33d | 325 | * ldemul.c: Likewise. |
5cc18311 | 326 | * ldemul.h: Likewise. |
4de2d33d | 327 | * ldexp.c: Likewise. |
5cc18311 | 328 | * ldexp.h: Likewise. |
4de2d33d | 329 | * ldfile.c: Likewise. |
5cc18311 | 330 | * ldfile.h: Likewise. |
4de2d33d | 331 | * ldlang.c: Likewise. |
5cc18311 KH |
332 | * ldlang.h: Likewise. |
333 | * lexsup.c: Likewise. | |
334 | * mri.c: Likewise. | |
335 | * pe-dll.c: Likewise. | |
4de2d33d | 336 | |
45b1f63c DD |
337 | 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
338 | ||
339 | * pe-dll.c (process_def_file): Uninitialized data wasn't | |
340 | exported with --export-all-symbols switch. | |
341 | ||
342 | 2000-09-28 DJ Delorie <dj@redhat.com> | |
343 | ||
344 | * pe-dll.c (fill_edata): rearrange the data so that ordinals and | |
345 | noname work properly. | |
346 | ||
47d89dba AM |
347 | 2000-09-28 Alan Modra <alan@linuxcare.com.au> |
348 | ||
349 | * ld.texinfo (HPPA ELF32): New section. | |
350 | ||
351 | * emultempl/hppaelf.em (group_size): New. | |
352 | (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. | |
353 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. | |
354 | (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate | |
355 | options to prevent abbreviations matching. | |
356 | (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. | |
357 | (PARSE_AND_LIST_ARGS_CASES): Handle it. | |
358 | ||
36bdbeec NC |
359 | 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
360 | ||
361 | * emultempl/m68kelf.em: Conditionalise the embedded relocs feature | |
362 | on the m68*-*-elf target. Make it support COFF input objects. | |
363 | ||
6d5e62f8 KH |
364 | 2000-09-21 Kazu Hirata <kazu@hxi.com> |
365 | ||
366 | * ldmain.c: Fix formatting. | |
367 | * ldmisc.c: Likewise. | |
368 | * ldver.c: Likewise. | |
369 | * ldwrite.c: Likewise. | |
370 | ||
e2eb67d9 AM |
371 | 2000-09-21 Alan Modra <alan@linuxcare.com.au> |
372 | ||
373 | * ldwrite.c (clone_section): Silence gcc warnings. | |
374 | ||
b3ea3584 AM |
375 | 2000-09-20 Alan Modra <alan@linuxcare.com.au> |
376 | ||
377 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle | |
378 | out of memory failure. | |
379 | ||
380 | * ldwrite.c (ldwrite): Remove unnecessary einfo arg. | |
381 | (clone_section): Handle out of memory failures. Rename var to | |
382 | avoid c++ reserved word. | |
383 | ||
25f72752 AM |
384 | 2000-09-18 Alan Modra <alan@linuxcare.com.au> |
385 | ||
386 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename | |
387 | stub_name param to stub_sec_name. | |
388 | (hppaelf_finish): Modify call to elf32_hppa_size_stubs. | |
389 | ||
0752970e NC |
390 | 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
391 | ||
392 | * emultempl/m68kelf.em: New file. | |
393 | * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. | |
394 | * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. | |
395 | * Makefile.in: Regenerate. | |
396 | ||
92b7e9d8 AM |
397 | 2000-09-15 Alan Modra <alan@linuxcare.com.au> |
398 | ||
399 | * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ | |
400 | only as needed. | |
401 | ||
9b14b192 NC |
402 | 2000-09-13 Nick Clifton <nickc@redhat.com> |
403 | ||
404 | * ldmain.c (multiple_definition): Disable relaxation if | |
405 | multiple symbol definitions are encountered - otherwise the | |
406 | linker could abort with an assertion failure. | |
407 | ||
891fa266 NC |
408 | 2000-09-10 Nick Clifton <nickc@redhat.com> |
409 | ||
410 | * mri.c: Fix formatting. | |
411 | ||
5d64ca4e L |
412 | 2000-09-07 H.J. Lu <hjl@gnu.org> |
413 | ||
414 | * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. | |
415 | * configure: Rebuild. | |
416 | ||
dd94604f L |
417 | 2000-09-07 H.J. Lu <hjl@gnu.org> |
418 | ||
419 | * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. | |
420 | * Makefile.in: Rebuild. | |
421 | ||
71bfc0ae AM |
422 | 2000-09-07 Alan Modra <alan@linuxcare.com.au> |
423 | ||
424 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix | |
425 | broken list handling. Create __start_SECNAME and __stop_SECNAME | |
426 | when no place-holder. Add some comments. Test both SEC_CODE and | |
427 | SEC_READONLY for hold_text to prevent .rodata orphan poisoning. | |
ed15ac6a | 428 | Handle case where no output section statement created. |
71bfc0ae | 429 | |
4a428502 AO |
430 | 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> |
431 | ||
432 | * configure.tgt (sh-*-linux*): Added. | |
433 | * Makefile.am: Added eshelf_linux and eshlelf_linux. | |
434 | * Makefile.in: Rebuilt. | |
435 | * emulparams/shelf_linux.sh: New file. | |
436 | * emulparams/shlelf_linux.sh: New file. | |
437 | ||
f9989030 AM |
438 | 2000-09-06 Alan Modra <alan@linuxcare.com.au> |
439 | ||
440 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
441 | try shuffling sections when the orphan happens to be the place | |
442 | holder. Keep count of unique section names generated so we speed | |
443 | the search for a new name. | |
444 | ||
58cccadb AO |
445 | 2000-09-06 Alexandre Oliva <aoliva@redhat.com> |
446 | ||
447 | * configure: Rebuilt with new libtool.m4. | |
448 | ||
5b343f5a NC |
449 | 2000-09-05 Nick Clifton <nickc@redhat.com> |
450 | ||
451 | * Makefile.in: Regenerate. | |
452 | * aclocal.m4: Regenerate. | |
453 | * configure: Regenerate. | |
454 | * config.in: Regenerate. | |
455 | * po/ld.pot: Regenerate. | |
456 | ||
457 | * ldint.texinfo: Remove CVS revision marker - it foils local | |
458 | comparisons. | |
459 | ||
460 | * emultempl/ticoff.em: Remove extraneous comma. | |
50bbae35 | 461 | |
a854a4a7 AM |
462 | 2000-09-05 Alan Modra <alan@linuxcare.com.au> |
463 | ||
3231d22e AM |
464 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC |
465 | to stub section flags. | |
466 | (hppa_for_each_input_file_wrapper): New. | |
467 | (hppa_lang_for_each_input_file): New. | |
468 | (lang_for_each_input_file): Define to call above. | |
469 | (multi_subspace): New. | |
470 | (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. | |
471 | (PARSE_AND_LIST_PROLOGUE): Define. | |
472 | (PARSE_AND_LIST_LONGOPTS): Define. | |
473 | (PARSE_AND_LIST_OPTIONS): Define. | |
474 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
475 | (hppaelf_finish): Call elf32_hppa_set_gp. | |
476 | (hppaelf_set_output_arch): Remove. | |
477 | (LDEMUL_SET_OUTPUT_ARCH): Remove. | |
478 | ||
479 | * emulparams/hppalinux.sh (ELFSIZE): Define. | |
480 | (MACHINE): Define. | |
481 | (OTHER_READONLY_SECTIONS): Define. | |
482 | (DATA_PLT): Define. | |
483 | (GENERATE_SHLIB_SCRIPT): Define. | |
484 | ||
5f992e62 AM |
485 | * ldlang.c: Add missing prototypes, and tidy others. Change CONST |
486 | to const throughout. Change `void *' to `PTR' throughout. | |
487 | (lang_memory_default): Function is local to file, add `static'. | |
488 | ||
489 | * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. | |
490 | (ehppalinux.c): Likewise. | |
491 | (earmelf.c): Likewise. | |
492 | (earmelf_linux.c): Likewise. | |
493 | (earmelf_linux26.c): Likewise. | |
494 | * Makefile.in: Regenerate. | |
495 | ||
a854a4a7 AM |
496 | * ld.h (ld_config_type): Add unique_orphan_sections. |
497 | * lexsup.c (OPTION_UNIQUE): Define. | |
498 | (ld_options): Add "--unique". | |
499 | (parse_args): Handle it. | |
500 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
501 | search for an existing output section if unique_orphan_sections is | |
502 | set. Make use of bfd_get_unique_section_name rather than | |
503 | duplicating code here. | |
504 | * ld.texinfo: Describe --unique. | |
505 | ||
506 | * lexsup.c (ld_options): Make split-by-reloc arg optional. Add | |
507 | optional arg to split-by-file. | |
508 | (parse_args): Handle them. | |
509 | * ld.texinfo: Update description of these options. | |
510 | * ldwrite.c (clone_section): Pass in the section name. Replace | |
511 | local code with bfd_get_unique_section_name. | |
512 | (split_sections): Tidy code and comments. Use a list traversal | |
513 | more appropriate to the list construction. Handle cooked section | |
514 | sizes. Split when split_by_reloc reached rather than exceeded. | |
515 | Track section size and split when split_by_file reached. Fix | |
516 | link_order_tail (even though it's not used). | |
517 | (ldwrite): Modify condition for calling split_sections to suit | |
518 | changed split_by_reloc and split_by_file. | |
519 | * ldmain.c (main): Init config.split_by_reloc and | |
520 | config.split_by_file to -1. | |
521 | * ld.h (ld_config_type): Change split_by_reloc to unsigned. | |
522 | Change split_by_file to bfd_size_type. | |
523 | ||
18e03609 NC |
524 | 2000-09-02 Nick Clifton <nickc@redhat.com> |
525 | ||
526 | * configure.in: Increase version number to 2.10.91. | |
527 | * NEWS: Mention new ability to support removal of duplicate DWARF2 | |
528 | debug information. | |
529 | * configure: Regenerate. | |
530 | * aclocal.m4: Regenerate. | |
531 | * config.in: Regenerate. | |
532 | ||
3a9d486c NC |
533 | 2000-09-02 Daniel Berlin <dberlin@redhat.com> |
534 | ||
535 | * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info | |
536 | sections. | |
537 | * scripttempl/elf32var.sc: Ditto. | |
538 | * scripttempl/elfd10v.sc: Ditto. | |
539 | * scripttempl/elfd30v.sc: Ditto. | |
540 | * scripttempl/elfi370.sc: Ditto. | |
541 | * scripttempl/elfm68hc11.sc: Ditto. | |
542 | * scripttempl/elfm68hc12.sc: Ditto. | |
543 | * scripttempl/elfi386beos.sc: Ditto. | |
544 | * scripttempl/v850.sc: Ditto. | |
50bbae35 | 545 | |
ac48eca1 AO |
546 | 2000-08-31 Alexandre Oliva <aoliva@redhat.com> |
547 | ||
548 | * acinclude.m4: Include libtool and gettext macros from the | |
549 | top level. | |
550 | * aclocal.m4, configure: Rebuilt. | |
551 | ||
c13b1b77 NC |
552 | 2000-08-25 Nick Clifton <nickc@redhat.com> |
553 | ||
554 | * ldlang.c (open_output): When choosing the target for a | |
555 | particular endianness, do nothing if the target is not | |
556 | supported. | |
557 | ||
dcb0bd0e L |
558 | 2000-08-25 H.J. Lu <hjl@gnu.org> |
559 | ||
560 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't | |
561 | check -rpath nor LD_RUN_PATH for cross link. | |
562 | * ld.texinfo: Document the change. | |
563 | ||
5bcac8a4 HPN |
564 | 2000-08-24 Hans-Peter Nilsson <hp@axis.com> |
565 | ||
566 | * NEWS: Mention support for CRIS. | |
567 | ||
6dd8c765 L |
568 | 2000-08-23 H.J. Lu <hjl@gnu.org> |
569 | ||
570 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get | |
571 | the current runpath list from bfd_elf_get_runpath_list () | |
572 | before search. | |
573 | ||
ec4eb78a L |
574 | 2000-08-22 H.J. Lu <hjl@gnu.org> |
575 | ||
576 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search | |
577 | the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after | |
578 | LD_LIBRARY_PATH for native linker. Display the needed DSO if | |
579 | trace_file_tries is non-zero. | |
580 | (gld${EMULATION_NAME}_try_needed): Report the needed DSO found | |
581 | if trace_file_tries is non-zero. | |
582 | ||
583 | * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. | |
a8175964 | 584 | * NEWS: Mention it. |
ec4eb78a | 585 | |
22b36938 JE |
586 | 2000-08-14 Jason Eckhardt <jle@cygnus.com> |
587 | ||
588 | * NEWS: Mention i860 support. | |
589 | ||
d73e9da0 AS |
590 | 2000-08-14 Andreas Schwab <schwab@suse.de> |
591 | ||
592 | * scripttempl/elf.sc: Fix last change to use correct comment | |
50bbae35 | 593 | syntax. |
d73e9da0 | 594 | |
9ac4db9c GK |
595 | 2000-08-10 Geoff Keating <geoffk@cygnus.com> |
596 | ||
597 | * scripttempl/elf.sc: Add a comment giving the correspondence | |
598 | between sections, per-datum sections, and linkonce sections. Make | |
599 | the comment true even for .bss, .sdata, .sdata2, .sbss, and | |
600 | .sbss2. | |
601 | ||
165589e4 JE |
602 | 2000-08-10 Jason Eckhardt <jle@cygnus.com> |
603 | ||
604 | * emulparams/elf32_i860.sh: New file. | |
605 | * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. | |
606 | * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. | |
607 | (eelf32_i860.c): New rule. | |
608 | * Makefile.in: Regenerate. | |
609 | ||
345a835d NC |
610 | 2000-08-10 Nick Clifton <nickc@cygnus.com> |
611 | ||
612 | * emulparams/mipspe.sh (ENTRY): Add definition. | |
613 | ||
e374f1d9 NC |
614 | 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au> |
615 | ||
616 | * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath | |
617 | in error message. | |
618 | ||
236d5abf NC |
619 | 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
620 | ||
621 | * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate | |
622 | the final size of .bss section. | |
623 | * scripttempl/elfm68hc12.sc: Likewise. | |
624 | ||
4b209b22 AM |
625 | 2000-08-04 Alan Modra <alan@linuxcare.com.au> |
626 | ||
627 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to | |
628 | gld${EMULATION_NAME}_parse_args for consistency. Combine | |
629 | lastoptind and prevoptind vars, and keep track of last optind. | |
630 | (gld_${EMULATION_NAME}_list_options): Rename to | |
631 | gld${EMULATION_NAME}_list_options. | |
632 | ||
28423a68 AM |
633 | 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com> |
634 | ||
635 | * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 | |
636 | (i586-sco-sysv5uw7.1.0). | |
637 | ||
b2009ff7 L |
638 | 2000-07-27 H.J. Lu <hjl@gnu.org> |
639 | ||
640 | * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. | |
641 | (PARSE_AND_LIST_PROLOGUE): New. | |
642 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
643 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
644 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
645 | (PARSE_AND_LIST_EPILOGUE): Likewise. | |
646 | ||
04925e1e AM |
647 | 2000-07-28 Alan Modra <alan@linuxcare.com.au> |
648 | ||
41392f03 AM |
649 | * emultempl/armelf.em: Elide functions common to elf32.em, |
650 | ie. most of the file. | |
651 | (arm_elf_after_open): New. Do arm specific things then call | |
652 | gld${EMULATION_NAME}_after_open. | |
653 | (arm_elf_before_allocation): New. Call | |
654 | gld${EMULATION_NAME}_before_allocation then do arm specifics. | |
655 | (PARSE_AND_LIST_PROLOGUE): Define. | |
656 | (PARSE_AND_LIST_SHORTOPTS): Define. | |
657 | (PARSE_AND_LIST_LONGOPTS): Define. | |
658 | (PARSE_AND_LIST_OPTIONS): Define. | |
659 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
660 | (LDEMUL_AFTER_OPEN): Define. | |
661 | (LDEMUL_BEFORE_ALLOCATION): Define. | |
662 | (LDEMUL_BEFORE_PARSE): Define. | |
663 | (LDEMUL_FINISH): Define. | |
664 | ||
665 | * emultempl/hppaelf.em: Similarly zap most of this file. | |
666 | (hppaelf_add_stub_section): Prototype. | |
667 | (hppaelf_layaout_sections_again): Prototype. | |
668 | (hook_in_stub): Prototype. | |
669 | (LDEMUL_SET_OUTPUT_ARCH): Define. | |
670 | (LDEMUL_FINISH): Define. | |
671 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. | |
672 | ||
673 | * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. | |
674 | (EXTRA_EM_FILE): New. | |
675 | * emulparams/armelf_linux.sh: Likewise. | |
676 | * emulparams/armelf_linux26.sh: Likewise. | |
677 | * emulparams/hppalinux.sh: Likewise. | |
678 | * emulparams/hppaelf.sh: Likewise. | |
679 | (NOP): Define. | |
680 | ||
681 | * emultempl/elf32.em: Fix formatting. | |
682 | (EXTRA_EM_FILE): Source it. | |
683 | (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, | |
684 | LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, | |
685 | LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, | |
686 | LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, | |
687 | LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, | |
688 | LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, | |
689 | LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, | |
690 | LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, | |
691 | LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to | |
692 | allow functions in this file to be overridden. | |
693 | (PARSE_AND_LIST_SHORTOPTS): Handle it. | |
694 | ||
695 | * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. | |
696 | ||
04925e1e AM |
697 | * emultempl/elf32.em: Reorganize file. |
698 | ||
88cdf297 NC |
699 | 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru> |
700 | ||
701 | * emulparams/elf64alpha.sh: Implement "-taso" emulation | |
702 | specific option to fit 64-bit executable in the lower | |
703 | 31-bit address range. This is done by changing start | |
704 | address of .interp (the very first section of executable) | |
705 | and then setting EF_ALPHA_32BIT elf header flag. | |
706 | ||
20bccb34 NC |
707 | 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
708 | ||
709 | * emultempl/m68kcoff.em: New file. | |
710 | * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. | |
711 | * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than | |
712 | generic.em. | |
713 | * Makefile.in: Regenerate. | |
714 | ||
699845ef L |
715 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
716 | ||
717 | * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" | |
718 | and "disable-new-dtags" to stop getopt from treating -d/-e as | |
719 | abbreviations for these options. | |
720 | ||
6c1439be L |
721 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
722 | ||
723 | * ld.texinfo: Add documentation for --disable-new-dtags and | |
724 | --enable-new-dtags. | |
725 | ||
726 | * ldmain.c (main): Initialize link_info.new_dtags to false. | |
727 | ||
728 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add | |
729 | --disable-new-dtags and --enable-new-dtags. | |
730 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
731 | ||
28c309a2 NC |
732 | 2000-07-05 Kenneth Block <krblock@computer.org> |
733 | ||
50bbae35 AM |
734 | * ld/lexsup.c: Add optional style to demangle switch |
735 | * ld/ld.texinfo: Document optional style to demangle switch. | |
736 | ||
9d06555c HPN |
737 | 2000-07-20 Hans-Peter Nilsson <hp@axis.com> |
738 | ||
739 | * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, | |
740 | ecrislinux.o. | |
741 | (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. | |
742 | Regenerate dependencies. | |
743 | * Makefile.in: Rebuild. | |
744 | * configure.tgt (cris-*-*): New target. | |
745 | * emulparams/crisaout.sh, emulparams/criself.sh, | |
746 | emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. | |
747 | * po/POTFILES.in, po/ld.pot: Regenerate. | |
748 | ||
19e3be22 L |
749 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
750 | ||
751 | * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): | |
752 | Print out ignored -z options. | |
753 | ||
e0ee487b L |
754 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
755 | ||
19e3be22 L |
756 | * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. |
757 | (PARSE_AND_LIST_PROLOGUE): New. | |
758 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
759 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
760 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
761 | ||
762 | * ldmain.c (main): Clear link_info.flags and link_info.flags_1. | |
763 | ||
764 | * lexsup.c (ld_options): Comment out 'z'. | |
765 | (parse_args): Likewise. | |
766 | ||
767 | * emultempl/elf32.em: Include "elf/common.h". | |
768 | (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z | |
769 | options. | |
770 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
771 | ||
772 | * ld.texinfo: Add documentation for the recognized -z options. | |
e0ee487b | 773 | |
49e56c49 L |
774 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
775 | ||
776 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call | |
777 | bfd_elf_set_dt_needed_soname (). | |
778 | ||
9d68bc82 DD |
779 | 2000-07-18 DJ Delorie <dj@cygnus.com> |
780 | ||
781 | * pe-dll.c (pe_dll_id_target): check object target name also | |
782 | ||
53db15ed HPN |
783 | 2000-07-18 Hans-Peter Nilsson <hp@axis.com> |
784 | ||
785 | * scripttempl/elf.sc (.init): Only do ${INIT_START} and | |
786 | ${INIT_END} if relocating. | |
787 | (.fini): Likewise ${FINI_START} and ${FINI_END}. | |
788 | ||
0ad8cf4c DD |
789 | 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu> |
790 | ||
791 | * src/ld/emultempl/pe.em (gld_*_open_dynamic_archive): New search | |
792 | order for dynamic library '-lfoo' on pei386: libfoo.dll.a, | |
793 | foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility | |
794 | errors introduced by the old dynamic lib search order. | |
795 | ||
874c8c99 DD |
796 | 2000-07-17 DJ Delorie <dj@cygnus.com> |
797 | ||
798 | * pe-dll.c (process_def_file): auto-export data items also | |
799 | (pe_process_import_defs): also see if _imp_ form needed | |
800 | ||
5b4cf3f4 DD |
801 | 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> |
802 | ||
803 | * pe-dll.c (make_one): fix a typo in the __imp_ name decoration | |
804 | for dll import libraries | |
805 | ||
062739d1 NC |
806 | 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com> |
807 | ||
808 | * scripttempl/i386go32.sc: Support the g++ attribute init_priority in | |
809 | gcc 2.95.2 and later. | |
810 | ||
1c64c4ed NC |
811 | 2000-07-11 Kazu Hirata <kazu@hxi.com> |
812 | ||
50bbae35 AM |
813 | * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error |
814 | message. | |
1c64c4ed | 815 | |
b71e2778 AM |
816 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
817 | ||
818 | * ldemul.h (struct lang_input_statement_struct): Remove forward | |
819 | declaration. | |
820 | (struct search_dirs): Likewise. | |
821 | * ldfile.h (struct lang_input_statement_struct): Likewise. | |
822 | Protect file from multiple inclusion. | |
823 | * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain | |
824 | declaration from macro to file scope. | |
825 | ||
826 | * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. | |
827 | * ldgram.y: Likewise here. | |
828 | * ldlang.c: And here. | |
829 | * ldmain.c: And here. | |
830 | * mpw-elfmips.c: And here. | |
831 | * mpw-eppcmac.c: And here. | |
832 | * emultempl/aix.em: And here. | |
833 | * emultempl/armcoff.em: And here. | |
834 | * emultempl/armelf.em: And here. | |
835 | * emultempl/armelf_oabi.em: And here. | |
836 | * emultempl/beos.em: And here. | |
837 | * emultempl/elf32.em: And here. | |
838 | * emultempl/hppaelf.em: And here. | |
839 | * emultempl/linux.em: And here. | |
840 | * emultempl/lnk960.em: And here. | |
841 | * emultempl/pe.em: And here. | |
842 | * emultempl/sunos.em: And here. | |
843 | * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. | |
844 | * mpw-idtmips.c: Ditto. | |
845 | * emultempl/generic.em: Ditto. | |
846 | * emultempl/gld960.em: Ditto. | |
847 | * emultempl/gld960c.em: Ditto. | |
848 | * emultempl/mipsecoff.em: Ditto. | |
849 | * emultempl/ticoff.em: Ditto. | |
850 | * emultempl/vanilla.em: Ditto. | |
851 | ||
852 | * pe-dll.c: Include ldfile.h | |
853 | * ldver.c: Include ldexp.h, ldlang.h, ldfile.h | |
854 | ||
855 | * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing | |
856 | arguments to bfd_elf32_size_dynamic_sections call. | |
857 | (gldelf32ebmip_place_orphan): Add missing arguments to | |
858 | lang_leave_output_section_statement call. | |
859 | ||
2ef53d66 L |
860 | 2000-07-10 H.J. Lu <hjl@gnu.org> |
861 | ||
862 | * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with | |
863 | DLL_SUPPORT. | |
864 | (strhash): Likewise. | |
865 | (compute_dll_image_base): Likewise. | |
866 | (pe_undef_found_sym): Likewise. | |
867 | (pe_undef_cdecl_match): Likewise. | |
868 | (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the | |
869 | argument "arch" with ATTRIBUTE_UNUSED. | |
870 | ||
9a8cbb09 AM |
871 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
872 | ||
873 | * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. | |
874 | ||
875 | From Ryan Bradetich <rbradetich@uswest.net> | |
876 | * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. | |
50bbae35 | 877 | |
4900fc06 AM |
878 | 2000-07-09 Alan Modra <alan@linuxcare.com.au> |
879 | ||
880 | Changes to create multiple linker stubs, positioned immediately | |
881 | before the section where they are required. | |
882 | * emultempl/hppaelf.em: Include elf32-hppa.h. | |
883 | (stub_sec, file_chain): Delete. | |
884 | (hppaelf_create_output_section_statements): Don't make a stub | |
885 | section here. | |
886 | (hook_stub_info): New struct. | |
887 | (hook_in_stub): New function. | |
888 | (hppaelf_add_stub_section): New function. | |
889 | (hppaelf_finish): Do nothing for relocateable links. Modify the | |
890 | call to elf32_hppa_size_stubs. Move code for updating section | |
891 | layout from here... | |
892 | (hppaelf_layaout_sections_again): ..to here, a new function. | |
893 | ||
894 | * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix | |
895 | broken list handling. Pass in a pointer to the list. | |
896 | (hppaelf_finish): Update call to hppaelf_delete_padding_statements | |
897 | for above changes. | |
898 | (hppaelf_before_parse): Prototype. | |
899 | (hppaelf_set_output_arch): Prototype. | |
900 | (hppaelf_create_output_section_statements): Prototype. | |
901 | (hppaelf_delete_padding_statements): Prototype. | |
902 | (hppaelf_finish): Prototype. | |
903 | ||
904 | Merge from elf32.em | |
905 | * emultempl/hppaelf.em: Include ctype.h. | |
906 | (struct orphan_save): New. | |
907 | (gld${EMULATION_NAME}_place_orphan): New. | |
908 | (output_rel_find): New. | |
909 | (hppaelf_get_script): Update from elf32.em. | |
910 | (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. | |
911 | Change emulation_name field to "${EMULATION_NAME}". Add | |
50bbae35 | 912 | gld${EMULATION_NAME}_place_orphan. |
4900fc06 AM |
913 | |
914 | * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add | |
915 | ehppalinux.o, sort it. Regenerate dependencies. | |
916 | (ehppalinux.c): Depend on hppaelf.em | |
917 | * Makefile.in: Regenerate. | |
918 | ||
919 | * configure.tgt: targ_emul=hppalinux for hppa*linux | |
920 | ||
921 | * emulparams/hppalinux.sh: New. | |
922 | * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. | |
923 | ||
227aeb07 AM |
924 | 2000-07-08 Alan Modra <alan@linuxcare.com.au> |
925 | ||
926 | * lexsup.c (parse_args): Copy section name. | |
927 | ||
28609fd4 | 928 | 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu> |
602e90d3 | 929 | |
2ef53d66 | 930 | * emultempl/pe.em: institute the following search order for |
602e90d3 DD |
931 | dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import |
932 | libs), libfoo.dll, foo.dll (link direct to dll). Fall back to | |
933 | static lib (libfoo.a) if none of the above are found. | |
934 | ||
5f577f7d DD |
935 | 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu> |
936 | ||
50bbae35 | 937 | * emultempl/pe.em (pe_enable_auto_image_base): New variable. |
5f577f7d | 938 | (longopts): New --{enable,disable}-auto-image-base options. |
50bbae35 | 939 | (gld_${EMULATION_NAME}_list_options): Document. |
5f577f7d DD |
940 | (gld_${EMULATION_NAME}_parse): Handle. |
941 | (strhash): New static function. | |
50bbae35 | 942 | (compute_dll_image_base): New static function. |
5f577f7d DD |
943 | (gld_${EMULATION_NAME}_set_symbols): Use. |
944 | ||
9a8cbb09 | 945 | 2000-07-05 DJ Delorie <dj@redhat.com> |
302ab118 DD |
946 | |
947 | * MAINTAINERS: new | |
948 | ||
3548145d | 949 | 2000-07-01 Koundinya K <kk@ddeorg.soft.net> |
50bbae35 AM |
950 | |
951 | * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. | |
952 | * emulparams/elf32btsmip.sh: New file. | |
953 | * Makefile.am: Add traditional mips target. | |
954 | * Makefile.in: Rebuild. | |
955 | ||
67798033 L |
956 | 2000-07-01 H.J. Lu <hjl@gnu.org> |
957 | ||
958 | * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for | |
959 | automake to use YLWRAP. | |
960 | * Makefile.in: Rebuild. | |
961 | ||
0bdaf48b AM |
962 | 2000-07-01 Alan Modra <alan@linuxcare.com.au> |
963 | ||
964 | * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed | |
965 | (CLEANFILES): Add DEPA. | |
966 | * Makefile.in: Regenerate. | |
967 | ||
c9e769c2 TW |
968 | 2000-06-30 Timothy Wall <twall@ppc> |
969 | ||
970 | * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode | |
971 | the page in the upper octet of the address. | |
972 | ||
65aa24b6 NC |
973 | 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> |
974 | ||
975 | * emulparams/avrmega161.sh (ARCH): Change to avr:5. | |
976 | ||
4667035e AM |
977 | 2000-06-24 Alan Modra <alan@linuxcare.com.au> |
978 | ||
979 | * NEWS: arm-elf does --gc-sections too. | |
980 | ||
1581f8c9 AM |
981 | 2000-06-22 Alan Modra <alan@linuxcare.com.au> |
982 | ||
983 | * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we | |
984 | find one. | |
985 | * Makefile.in: Regenerate. | |
986 | ||
01580992 L |
987 | 2000-06-21 H.J. Lu <hjl@gnu.org> |
988 | ||
989 | * Makefile.am: Rebuild dependency. | |
990 | * Makefile.in: Rebuild. | |
991 | ||
bbeb2e03 L |
992 | 2000-06-20 H.J. Lu <hjl@gnu.org> |
993 | ||
994 | * Makefile.am: Rebuild dependency. | |
995 | * Makefile.in: Rebuild. | |
996 | ||
74459f0e TW |
997 | 2000-06-20 Timothy Wall <twall@cygnus.com> |
998 | ||
999 | * scripttempl/tic54xcoff.sc: New. | |
1000 | * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. | |
1001 | * gen-doc.texi: Add flag for TI COFF. | |
1002 | * ld.texinfo: Add documentation for TI COFF handling switches. | |
1003 | * emultempl/ticoff.em: New. TI COFF handling. | |
1004 | * configure.tgt: Add tic54x target. | |
1005 | * Makefile.am: Add tic54x target. | |
1006 | * Makefile.in: Ditto. | |
1007 | ||
2ab47eed AM |
1008 | 2000-06-20 Alan Modra <alan@linuxcare.com.au> |
1009 | ||
1010 | * ldmain.c (set_scripts_dir): Correct pointer comparison when | |
1011 | checking for backslashes. | |
1012 | ||
919e4093 AM |
1013 | 2000-06-19 Alan Modra <alan@linuxcare.com.au> |
1014 | ||
1015 | * NEWS: Move entries not in 2.10 above "Changes in version 2.10". | |
1016 | ||
987fd5b4 AM |
1017 | 2000-06-18 Alan Modra <alan@linuxcare.com.au> |
1018 | ||
1019 | * NEWS: Update list of targets supporting --gc-sections. | |
1020 | ||
1021 | * scripttempl/elf.sc: KEEP .eh_frame contents. | |
1022 | * scripttempl/elfd30v.sc: Same here. | |
1023 | ||
60bcf0fa NC |
1024 | 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> |
1025 | ||
1026 | * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 | |
1027 | and m68hc11 (elf). | |
1028 | * Makefile.in: Rebuild. | |
1029 | * configure.tgt: Recognize m68hc12 and m68hc11. | |
1030 | * scripttempl/elfm68hc12.sc: New file. | |
1031 | * emulparams/m68hc12elfb: New emulation. | |
1032 | * emulparams/m68hc12elf: New emulation. | |
1033 | * emulparams/m68hc11elfb.sh: New file. User configurable emulation | |
1034 | (includes a memory.x script to define the ROM and RAM banks). | |
1035 | * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: | |
1036 | New configuration files for support of Motorola 68hc11 | |
1037 | ||
c7c54483 AM |
1038 | 2000-06-15 Alan Modra <alan@linuxcare.com.au> |
1039 | ||
1040 | * ldmain.c (main): Only change SEC_READONLY for final link. | |
1041 | ||
bcef29e6 L |
1042 | 2000-06-13 H.J. Lu <hjl@gnu.org> |
1043 | ||
1044 | * configure: Regenerate. | |
1045 | ||
946efd95 DB |
1046 | 2000-06-08 David O'Brien <obrien@FreeBSD.org> |
1047 | ||
1048 | * configure.in (VERSION): Update to show this is the CVS mainline. | |
1049 | ||
57a6fd07 DB |
1050 | 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
1051 | ||
1052 | * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all | |
1053 | input objects to be ECOFF. | |
1054 | (check_sections): einfo takes %B, not %P, to print a BFD name. | |
1055 | ||
e06cae36 L |
1056 | 2000-06-05 Michael Matz <matz@ifh.de> |
1057 | ||
1058 | * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in | |
1059 | version scripts. | |
1060 | ||
1061 | * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. | |
1062 | ||
2f0b56c0 DC |
1063 | 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl> |
1064 | ||
1065 | * emulparams/avr1200.sh (STACK): Define as 0. | |
1066 | * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. | |
1067 | * emulparams/avr4433.sh (STACK): Likewise. | |
1068 | * emulparams/avr44x4.sh (STACK): Likewise. | |
1069 | * emulparams/avr85xx.sh (STACK): Likewise. | |
1070 | * emulparams/avrmega103.sh (STACK): Likewise. | |
1071 | * emulparams/avrmega161.sh (STACK): Likewise. | |
1072 | * emulparams/avrmega603.sh (STACK): Likewise. | |
1073 | * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. | |
1074 | (__stack): Define from ${STACK} for main(). | |
1075 | ||
2114f57b AM |
1076 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
1077 | ||
1078 | * Makefile.am: Update dependencies with "make dep-am" | |
1079 | * Makefile.in: Regenerate. | |
1080 | ||
5af11cab AM |
1081 | 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> |
1082 | ||
1083 | * ldmain.c: Include filenames.h. | |
1084 | (set_scripts_dir): Support backslashes in program name. | |
1085 | ||
1f0df59a NC |
1086 | 2000-05-22 Igor Shevlyakov <igor@windriver.com> |
1087 | ||
1088 | * ldmain.c (main): When deciding if ".text" section should be | |
50bbae35 AM |
1089 | read-only, don't forget to reset SEC_READONLY because it |
1090 | could be already set. | |
1f0df59a | 1091 | |
176355da NC |
1092 | 2000-05-22 Thomas de Lellis <tdel@windriver.com> |
1093 | ||
50bbae35 AM |
1094 | * ld.1: Add documentation for new command line option: |
1095 | --section-start <sectionname>=<sectionorg> | |
1096 | This is a generic version of -Ttext etc. which accepts | |
1097 | any section name as a parameter instead of just text/data/ | |
1098 | bss. | |
1099 | * ld.texinfo: More docs. | |
1100 | * NEWS: More docs. | |
1101 | * lexsup.c: (parse_args): Recognize new command line option. | |
176355da | 1102 | (ld_options): Add new option. |
50bbae35 | 1103 | |
8c5ff972 L |
1104 | 2000-05-18 H.J. Lu <hjl@gnu.org> |
1105 | ||
1106 | * lexsup.c (parse_args): `i' == `r', not `q'. | |
1107 | ||
0b76fe77 JL |
1108 | Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com) |
1109 | ||
1110 | * configure.tgt (hppa*64*-*-*): Enable PA64 target. | |
1111 | ||
a712da20 NC |
1112 | 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> |
1113 | Rick Gorton <gorton@scrugs.lkg.dec.com> | |
50bbae35 | 1114 | |
a712da20 NC |
1115 | Add support for '-q' == '--emit-relocs' switch. |
1116 | * ldmain.c (main): Default to false. | |
1117 | * lexsup.c (parse_args): Turn on emitrelocations flag if set. | |
1118 | * NEWS: Describe the emitrelocations switch. | |
1119 | * ld.texinfo: Describe the emitrelocations switch. | |
1120 | ||
690a460e NC |
1121 | 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu> |
1122 | ||
1123 | * ld/emultempl/pe.em (_open_dynamic_archive): New function: Search | |
1124 | the library path for "foo.dll" and "libfoo.dll" dynamic libraries | |
1125 | before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' | |
1126 | link options. | |
50bbae35 | 1127 | |
c2f1343c AM |
1128 | 2000-05-15 David O'Brien <obrien@FreeBSD.org> |
1129 | ||
1130 | * lexsup.c (parse_args): Update the year in the copyright notice. | |
1131 | ||
897083bd AM |
1132 | 2000-05-13 Alan Modra <alan@linuxcare.com.au> |
1133 | ||
1134 | * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): | |
1135 | Replace defines with those from intl/libgettext.h to quieten gcc | |
1136 | warnings. | |
1137 | ||
cd4c806a L |
1138 | 2000-05-10 H.J. Lu <hjl@gnu.org> |
1139 | ||
1140 | * ldlang.c (open_input_bfds): Don't load the same file within | |
1141 | a group again if the whole archive has been loaded already. | |
1142 | ||
93697284 AM |
1143 | 2000-05-03 Alan Modra <alan@linuxcare.com.au> |
1144 | ||
1145 | From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de> | |
1146 | * lexsup.c (set_section_start): Use bfd_scan_vma rather than | |
1147 | strtoul. | |
1148 | ||
ebd6fc29 JW |
1149 | Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com> |
1150 | ||
99a4150f | 1151 | * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. |
50bbae35 | 1152 | |
ebd6fc29 JW |
1153 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for |
1154 | host "ia64-*-linux-gnu*". | |
1155 | ||
a1934524 AM |
1156 | 2000-04-29 Andreas Jaeger <aj@suse.de> |
1157 | ||
1158 | * ld.h: Correctly check GCC version. | |
1159 | ||
730a39a0 JL |
1160 | Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com) |
1161 | ||
1162 | * Makefile.am: Add PA64 support. Add missing dependencies for | |
1163 | PA32 elf support. | |
1164 | * Makefile.in: Rebuilt. | |
1165 | * configure.tgt: Add PA64 support (currently disabled). | |
1166 | ||
aea4bd9d AM |
1167 | 2000-04-25 Alan Modra <alan@linuxcare.com.au> |
1168 | ||
1169 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. | |
1170 | (output_rel_find): New function. | |
1171 | (hold_section, hold_use): Delete. | |
1172 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, | |
1173 | hold_interp): Make local to place_orphan. | |
1174 | (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find | |
1175 | rather than place_section to find possible previous use of orphan. | |
1176 | Similarly find the place-holder output sections. Use returned | |
1177 | value from lang_enter_output_section_statement rather than calling | |
1178 | lang_output_section_statement_lookup. | |
1179 | * emultempl/armelf.em: Same here. | |
1180 | * emultempl/pe.em: Similar to above, but no need for output_rel_find. | |
1181 | ||
1182 | * ldlang.c (lang_enter_output_section_statement): Return output | |
1183 | section statement. | |
1184 | * ldlang.h (lang_enter_output_section_statement): Change | |
1185 | declaration too. | |
1186 | ||
1187 | * ldlang.h (lang_output_section_statement): Export it. | |
1188 | * ldlang.c (lang_output_section_statement): Ditto. | |
1189 | ||
2b5fc1f5 NC |
1190 | 2000-04-24 Nick Clifton <nickc@cygnus.com> |
1191 | ||
1192 | * ld.texinfo (Output Section Data): Add note that section data | |
1193 | commands cannot appear outside of section directives. | |
1194 | ||
d8475ff6 JL |
1195 | 2000-04-2 Matthew Green <mrg@cygnus.com> |
1196 | ||
1197 | * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. | |
1198 | ||
800eeca4 JW |
1199 | Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com> |
1200 | David Mosberger <davidm@hpl.hp.com> | |
1201 | ||
1202 | * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. | |
1203 | (eelf64_ia64.c): New rule. | |
1204 | * Makefile.in: Rebuild. | |
1205 | * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. | |
1206 | * emulparams/elf64_ia64.sh: New file. | |
50bbae35 | 1207 | |
c9637625 RH |
1208 | 2000-04-21 Richard Henderson <rth@cygnus.com> |
1209 | ||
1210 | * scripttempl/elfd30v.sc: Place .gcc_except_table. | |
1211 | ||
28ea9521 AM |
1212 | 2000-04-19 Alan Modra <alan@linuxcare.com.au> |
1213 | ||
1214 | * dep-in.sed: Match space at start of file name, not at end. | |
1215 | ||
20d04697 L |
1216 | 2000-04-18 H.J. Lu <hjl@gnu.org> |
1217 | ||
1218 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call | |
1219 | lang_leave_output_section_statement () after calling | |
1220 | lang_enter_output_section_statement (). | |
1221 | * emultempl/armelf.em: Likewise. | |
1222 | ||
5ba47421 AM |
1223 | 2000-04-18 Alan Modra <alan@linuxcare.com.au> |
1224 | ||
1225 | * emultempl/elf32.em (struct orphan_save): Add section field. | |
1226 | (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in | |
1227 | better order, and place first orphan section as we did before the | |
1228 | 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. | |
1229 | Don't call make_bfd_section here, let wild_doit do the job for us. | |
1230 | Don't build a statement list when we'll only throw it away. | |
1231 | * emultempl/armelf.em: Ditto. | |
1232 | * emultempl/pe.em: Similarly. | |
1233 | ||
bdbe5705 GK |
1234 | 2000-04-14 Geoff Keating <geoffk@cygnus.com> |
1235 | ||
1236 | * scripttempl/elfppc.sc: Remove. | |
1237 | * emulparams/elf32ppc.sh: Use elf.sc. | |
1238 | * emulparams/elf32lppc.sh: Use elf.sc. | |
1239 | * emulparams/elf32ppclinux.sh: Use elf.sc. | |
1240 | * emulparams/elf32ppcsim.sh: New file. | |
1241 | * emulparams/elf32lppcsim.sh: New file. | |
1242 | * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. | |
1243 | (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. | |
1244 | * Makefile.in: Regenerate. | |
1245 | * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. | |
1246 | ||
01cc8ff8 AM |
1247 | 2000-04-14 Alan Modra <alan@linuxcare.com.au> |
1248 | ||
5ba47421 | 1249 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process |
01cc8ff8 | 1250 | ~SEC_ALLOC sections too. Init start address of debug sections. |
5ba47421 AM |
1251 | * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. |
1252 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. | |
01cc8ff8 AM |
1253 | Also set all relocateable section start addresses. |
1254 | ||
6c86c541 GK |
1255 | 2000-04-13 Geoff Keating <geoffk@cygnus.com> |
1256 | ||
1257 | * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. | |
1258 | Add new BSS_PLT variable for when .plt need not be contained in | |
1259 | the file. Move _etext so that it is also after .fini, and provide | |
1260 | both etext and _etext with a leading underscore. Mark the start | |
1261 | and end of .sbss. | |
1262 | ||
6a345e87 AM |
1263 | 2000-04-12 Alan Modra <alan@linuxcare.com.au> |
1264 | ||
1265 | * emultempl/elf32.em (struct orphan_save): New. | |
1266 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, | |
1267 | hold_interp): Make them struct orphan_save. | |
1268 | (gld${EMULATION_NAME}_place_section): Modify for new hold_*. | |
1269 | (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to | |
1270 | the end of the relevant section list. Also add associated section | |
1271 | statements to the end of any previous orphan statements. | |
1272 | * emultempl/armelf.em: Similarly. | |
1273 | * emultempl/pe.em: Similarly. | |
1274 | ||
8be86746 AM |
1275 | 2000-04-11 Alan Modra <alan@linuxcare.com.au> |
1276 | ||
1277 | * ld.texinfo (Simple Example): Remove extraneous paragraph. | |
1278 | ||
a2d91340 | 1279 | Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com> |
50bbae35 | 1280 | |
a2d91340 | 1281 | * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add |
50bbae35 | 1282 | --enable-build-warnings option. |
a2d91340 AC |
1283 | * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. |
1284 | * Makefile.in, configure: Re-generate. | |
1285 | ||
41b49281 AM |
1286 | 2000-04-04 Alan Modra <alan@linuxcare.com.au> |
1287 | ||
8ad3436c AM |
1288 | * po/ld.pot: Regenerate. |
1289 | ||
1290 | * lexsup.c (help): Restore translated part of bug string. | |
1291 | ||
41b49281 AM |
1292 | * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. |
1293 | (DEP): Quote when passing vars to sub-make. Add warning message | |
1294 | to end. | |
1295 | (DEP1): Rewrite for "gcc -MM". | |
1296 | (CLEANFILES): Add DEP2. | |
1297 | Update dependencies. | |
1298 | * Makefile.in: Regenerate. | |
1299 | ||
c20f4f8c AM |
1300 | 2000-04-03 Alan Modra <alan@linuxcare.com.au> |
1301 | ||
1302 | * ld.h: #include "bin-bugs.h" | |
1303 | * lexsup.c (help): Use REPORT_BUGS_TO. | |
1304 | ||
adde6300 AM |
1305 | 2000-03-27 Denis Chertykov <denisc@overta.ru> |
1306 | ||
1307 | * configure.tgt (avr-*-*): New target support. | |
1308 | * Makefile.am: Likewise. | |
1309 | * scripttempl/elf32avr.sc: New script file. | |
1310 | * emulparams/avr1200.sh: New file. | |
1311 | * emulparams/avr23xx.sh: New file. | |
1312 | * emulparams/avr4433.sh New file. | |
1313 | * emulparams/avr44x4.sh New file. | |
1314 | * emulparams/avr85xx.sh New file. | |
1315 | * emulparams/avrmega103.sh New file. | |
1316 | * emulparams/avrmega161.sh New file. | |
1317 | * emulparams/avrmega603.sh New file. | |
1318 | * Makefile.in: Regenerate. | |
1319 | ||
9282ff41 L |
1320 | 2000-03-09 Andreas Jaeger <aj@suse.de> |
1321 | ||
1322 | * Makefile.am (check-DEJAGNU): Also unset LANG. | |
1323 | * Makefile.in: Rebuild. | |
1324 | ||
a9998805 ILT |
1325 | 2000-03-06 Ian Lance Taylor <ian@zembu.com> |
1326 | ||
1327 | * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty | |
1328 | archive. | |
1329 | ||
f9bc20e7 NC |
1330 | 2000-03-02 H.J. Lu <hjl@gnu.org> |
1331 | ||
1332 | * emulparams/elf32mcore.sh: Include "getopt.h". | |
1333 | ||
4e277b38 ILT |
1334 | 2000-03-01 Ian Lance Taylor <ian@zembu.com> |
1335 | ||
1336 | * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. | |
1337 | ||
f0c87f88 NC |
1338 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
1339 | ||
1340 | * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. | |
1341 | * emulparams/shpe.sh: Likewise. | |
1342 | ||
1343 | 2000-03-01 Nick Clifton <nickc@cygnus.com> | |
1344 | ||
1345 | * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED | |
1346 | to unused parameters. | |
1347 | ||
1348 | * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static | |
1349 | functions only used by DLL code. | |
1350 | (_place_orphan): Initialise 'dollar'. | |
1351 | ||
b6f29aaa L |
1352 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
1353 | ||
1354 | * ldmain.c (undefined_symbol): Take one more arg, fatal, to | |
1355 | indicate if the undefined symbol is a fatal error or not. | |
1356 | Don't delete the output file if "fatal" is false. | |
1357 | ||
af28fce3 L |
1358 | 2000-02-29 H.J. Lu <hjl@gnu.org> |
1359 | ||
50bbae35 | 1360 | * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". |
af28fce3 L |
1361 | Set LC_COLLATE and LC_ALL to null and export them. It is for |
1362 | sort which expects the C locale. | |
1363 | Add $(LIBS) to all $(HOSTING_LIBS). | |
1364 | * Makefile.in: Rebuild. | |
1365 | ||
40d109bf AM |
1366 | 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au> |
1367 | ||
1368 | * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, | |
1369 | beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, | |
1370 | linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} | |
1371 | (ld_emulation_xfer_struct): Add missing NULL initialiser for | |
1372 | find_potential_libraries. | |
1373 | ||
db5be682 JB |
1374 | 2000-02-28 Jim Blandy <jimb@redhat.com> |
1375 | ||
1376 | * ldgram.y (exclude_name_list): Don't require a comma to separate | |
50bbae35 | 1377 | list entries; the lexer considers commas to be valid part of a |
db5be682 JB |
1378 | filename, so in something like `foo, bar' the comma is considered |
1379 | part of the first filename, `foo,'. | |
1380 | * ld.texinfo: Update section on EXCLUDE_FILE lists. | |
1381 | ||
3558ff4c ILT |
1382 | 2000-02-27 Loren J. Rittle <ljrittle@acm.org> |
1383 | ||
1384 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for | |
1385 | host "i[3456]86-*-freebsdelf*". | |
1386 | ||
4eee2681 ILT |
1387 | 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com> |
1388 | ||
1389 | * scripttempl/i386go32.sc: Move misplaced semicolons. | |
1390 | ||
8d75d12d ILT |
1391 | 2000-02-25 Ian Lance Taylor <ian@zembu.com> |
1392 | ||
1393 | * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. | |
1394 | (ALL_64_EMULATIONS): Remove eelf64hppa.o. | |
1395 | (eelf64hppa.c, ehppaelf.c): Remove targets. | |
1396 | * Makefile.in: Rebuild. | |
1397 | ||
a1836d49 AO |
1398 | 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
1399 | ||
ad51fb57 AO |
1400 | * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on |
1401 | GNU/Linux/sparc, but keep the default as 32. | |
1402 | ||
a1836d49 AO |
1403 | * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make |
1404 | it default if sparcv9 or sparc64. | |
1405 | ||
344a211f NC |
1406 | 2000-02-24 Nick Clifton <nickc@cygnus.com> |
1407 | ||
1408 | * Makefile.am: Add rules to build emipspe.o and earmpe.o. | |
1409 | * Makefile.in: Regenerate. | |
1410 | * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. | |
1411 | ||
1412 | * ldemul.h (ld_emulation_xfer_struct): Add new field: | |
1413 | find_potential_libraries. | |
1414 | * ldemul.c (ldemul_find_potential_libraries): New function. | |
1415 | ||
1416 | * ldfile.c (ldfile_open_file_search): Allow function to be | |
50bbae35 | 1417 | exported. |
344a211f NC |
1418 | (ldfile_open_file): Call ldemul_find_potential_libraries. |
1419 | * ldfile.h: Add prototype for ldfile_open_file_search. | |
1420 | ||
1421 | * pe-dll.c: Add support for ARM, MIPS and SH targets. | |
1422 | ||
1423 | * emulparams/mipspe.sh: New file. Parameters for mips-pe target. | |
1424 | * emulparams/shpe.sh: New file. Parameters for sh-pe target. | |
1425 | ||
1426 | * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. | |
1427 | (gld_X_find_potential_libraries): New function. Search for | |
1428 | libraries called "*.lib". | |
1429 | ||
1430 | * scriptempl/pe.sc: Add .pdata section. | |
1431 | ||
eaba1dd3 RH |
1432 | 2000-02-23 Richard Henderson <rth@cygnus.com> |
1433 | ||
1434 | * scripttempl/elfd10v.sc: Remove dynamic linking hooks. | |
1435 | Add and use memory regions. | |
1436 | ||
5b93d8bb AM |
1437 | 2000-02-23 Linas Vepstas (linas@linas.org) |
1438 | ||
1439 | * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. | |
1440 | ||
1441 | * Makefile.am: Add support for Linux/IBM 370. | |
1442 | * configure.tgt: Likewise. | |
1443 | ||
1444 | * Makefile.in: Regenerate. | |
1445 | ||
f6af82bd AM |
1446 | 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> |
1447 | ||
1448 | * ldlang.c (print_input_section, print_data_statement, | |
1449 | print_reloc_statement, print_padding_statement, insert_pad, | |
1450 | size_input_section, lang_check_section_addresses, | |
1451 | lang_size_sections, lang_do_assignments, lang_set_startof, | |
50bbae35 | 1452 | lang_one_common): Change `opb' to unsigned. |
f6af82bd AM |
1453 | (lang_do_assignments): Also change `size' to unsigned. |
1454 | ||
9e673ad1 RH |
1455 | 2000-02-16 Richard Henderson <rth@cygnus.com> |
1456 | ||
1457 | * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. | |
1458 | ||
562d3460 TW |
1459 | 2000-02-16 Timothy Wall <twall@cygnus.com> |
1460 | ||
1461 | * mri.c (mri_draw_tree): Add default LMA region argument to call | |
1462 | to lang_leave_output_section_statement. | |
1463 | * ldlang.h: Update prototypes with LMA region arguments. | |
1464 | * ldlang.c (lang_size_sections): Encapsulate region bounds | |
1465 | checking in os_check_region call. | |
1466 | (os_check_region): New function. | |
1467 | (lang_output_section_statement_lookup): Initialize lma_region. | |
1468 | (lang_leave_output_section_statement): Add LMA region argument. | |
1469 | (lang_leave_overlay): Ditto. | |
1470 | * ldgram.y: Handle LMA region syntax. | |
1471 | * ld.texinfo (Output Section Description): Describe LMA region usage. | |
1472 | * emultempl/armelf.em (gld$place_orphan): Add default value for | |
01cc8ff8 | 1473 | lma region in call to lang_leave_output_section_statement. |
562d3460 | 1474 | * emultempl/elf32.em (gld$place_orphan): Add default value for |
01cc8ff8 | 1475 | lma region in call to lang_leave_output_section_statement. |
562d3460 | 1476 | * emultempl/pe.em (gld$place_orphan): Add default value for |
01cc8ff8 | 1477 | lma region in call to lang_leave_output_section_statement. |
50bbae35 AM |
1478 | |
1479 | ||
9e4ed18c TW |
1480 | 2000-02-04 Timothy Wall <twall@redhat.com> |
1481 | ||
1482 | * ldlang.c (lang_check_section_addresses): Use bytes instead of | |
1483 | octets when calculating section end addresses. | |
1484 | ||
32edc927 TW |
1485 | 2000-02-04 Timothy Wall <twall@redhat.com> |
1486 | ||
1487 | * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. | |
1488 | ||
4cbfc3ac TW |
1489 | 2000-02-03 Timothy Wall <twall@redhat.com> |
1490 | ||
1491 | * ld/ldexp.c (fold_name): Make SIZEOF operator return byte count, not | |
1492 | octet count. | |
1493 | * ld/ldlang.c (print_input_section, print_data_statement, | |
1494 | print_reloc_statement, print_padding_statement): Print target | |
1495 | address values and section sizes as bytes, not octets. | |
1496 | (insert_pad) Calculate padding size in octets, and adjust "dot" | |
1497 | by bytes. | |
1498 | (size_input_section) Always adjust "dot" by bytes, not octets. | |
1499 | (lang_check_section_addresses, lang_do_assignments) Adjust | |
1500 | "dot" by bytes, not octets. Use the larger of the directive size | |
1501 | or octets_per_byte for the number of octets actually allocated in | |
1502 | the output section. | |
1503 | (lang_set_startof) Make sure STARTOF returns a target address. | |
1504 | (lang_one_common) Record size changes in octets. | |
1505 | (lang_abs_symbol_at_end_of) Section end symbol's value is | |
1506 | recorded in target bytes. | |
1507 | * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. | |
1508 | to be clear about behavior when an octet is smaller than one byte. | |
50bbae35 | 1509 | |
305c7206 AM |
1510 | 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> |
1511 | ||
1512 | * ldcref.c (output_cref): Don't pass message strings to printf | |
1513 | as format arg. | |
1514 | Update copyright. | |
1515 | ||
1516 | * ldmisc.c (vfinfo): Same here. | |
1517 | Update copyright. | |
1518 | ||
e1c47aa4 AM |
1519 | 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> |
1520 | ||
1521 | * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, | |
1522 | generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, | |
1523 | mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): | |
1524 | Add missing NULL initialisers, and comments. | |
1525 | ||
1526 | * testsuite/ld-srec/sr3.cc (__rethrow): New. | |
1527 | ||
13392b77 NC |
1528 | 2000-01-21 Nick Clifton <nickc@cygnus.com> |
1529 | ||
1530 | * ldlang.c (lang_size_sections): Fix typo in comment. | |
1531 | ||
cce4c4c5 NC |
1532 | 2000-01-18 H.J. Lu <hjl@gnu.org> |
1533 | ||
1534 | * ldlang.c (lang_size_sections): Also update the current | |
1535 | address of a region if the SEC_NEVER_LOAD bit is not set. | |
1536 | ||
0decc840 NC |
1537 | 2000-01-10 Philip Blundell <pb@futuretv.com> |
1538 | ||
1539 | * configure.tgt (arm*-*-conix*): New target. | |
1540 | ||
4e53152f NC |
1541 | 2000-01-07 Nick Clifton <nickc@cygnus.com> |
1542 | ||
1543 | * ld.texinfo (Options): Remind users to preceed linker command | |
fa19fce0 NC |
1544 | line switches with -Wl, (or whatever is appropriate) if it is |
1545 | being invoked by a comnpiler driver program. | |
50bbae35 | 1546 | Fix description of the behaviour of the -n command line switch. |
4e53152f | 1547 | |
18625d54 CM |
1548 | Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com> |
1549 | ||
1550 | * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. | |
1551 | (name_list): New. | |
1552 | * ld.texinfo (EXCLUDE_FILE): Update documentation. | |
1553 | * ldgram.y (wildcard_spec): Support a list of excluded_files. | |
1554 | (exclude_name_list): New. | |
1555 | ldlang.c (walk_wild_section): Support list of excluded files. | |
1556 | (print_wild_statement): Likewise. | |
1557 | (lang_add_wild): Likewise. | |
1558 | * ldlang.h (lang_wild_statement_type): Likewise. | |
1559 | * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. | |
6ddeca85 | 1560 | |
5aaace27 NC |
1561 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> |
1562 | ||
870df5dc NC |
1563 | * pe-dll.c (pe_dll_warn_dup_exports): New variable. |
1564 | (process_def_file): Use. | |
1565 | (pe_dll_compat_implib): New variable. | |
1566 | (make_one): Use. | |
50bbae35 | 1567 | |
870df5dc NC |
1568 | * pe-dll.h: Add exports of pe_dll_warn_dup_exports and |
1569 | pe_dll_compat_implib. | |
50bbae35 AM |
1570 | |
1571 | * emultempl/pe.em (longopts): Add warn-duplicate-exports and | |
870df5dc NC |
1572 | compat-implib options. |
1573 | (gld_${EMULATION_NAME}_list_options): List new options. | |
1574 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
1575 | ||
50bbae35 | 1576 | * pe-dll.c (pe_dll_generate_implib): Use the correct name for output |
5aaace27 | 1577 | dll. |
50bbae35 AM |
1578 | |
1579 | * deffilep.y (opt_name): Allow "." in name. | |
5aaace27 | 1580 | |
2f6d2f85 | 1581 | For older changes see ChangeLog-9899 |
252b5132 RH |
1582 | \f |
1583 | Local Variables: | |
1584 | mode: change-log | |
1585 | left-margin: 8 | |
1586 | fill-column: 74 | |
1587 | version-control: never | |
1588 | End: |