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