* emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
5c368657
AM
12002-08-30 Alan Modra <amodra@bigpond.net.au>
2
3 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
4
026df7c5
NC
52002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
6
7 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
8 added makefile targets for this file.
9 * Makefile.in: Regenerate.
10 * configure.tgt: Added tic4x-coff and c4x-coff emulations.
11 * NEWS: Mention new port.
12
132002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14
15 * emulparams/tic3xcoff.sh: New file.
16 * emulparams/tic4xcoff.sh: New file.
17 * scripttempl/tic3xcoff.sc: New file.
18 * scripttempl/tic4xcoff.sc: New file.
19
c89e8944
AM
202002-08-28 Alan Modra <amodra@bigpond.net.au>
21
22 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
23 strtoul and strtoull with bfd_scan_vma.
24 (gld${EMULATION_NAME}_read_file): Likewise.
25
6459ecfa
AM
262002-08-28 Alan Modra <amodra@bigpond.net.au>
27
28 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
29
ad5211be
NC
302002-08-27 Egor Duda <deo@logos-m.ru>
31
32 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
33 Add symbols for application to access them.
34
88f7bcd5
NC
352002-08-27 Nick Clifton <nickc@redhat.com>
36
37 * emultempl/armelf.em: Revert this patch, it is not needed.
38
39 2002-08-22 Adam Nemet <anemet@lnxw.com>
40
8e523c23
NC
412002-08-20 Dan Kegel <dank@kegel.com>
42
43 * configure.in: added --with-lib-path argument to ld's configure
44 to set LIB_PATH.
45 * ld/NEWS: Document new switch.
46 * ld/README: Mention new switch.
47 * configure: Regenerate.
48 * Makefile.in: Regenerate.
49
50 Based on this patch:
51 2001-04-25 Christopher Faylor <cgf@cygnus.com>
52
53 * Makefile.in (LIB_PATH): Make configurable.
54 (GENSCRIPTS): Set LIB_PATH in environment.
55 * configure.in: Substitute LIB_PATH.
56
d9a7f7ab
NC
572002-08-22 Adam Nemet <anemet@lnxw.com>
58
59 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
60 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
61 depending on the type of the function.
62 (arm_elf_convert_thumb_symbol_to_address): New function.
63
ed71e111
NC
642002-08-22 Graeme Peterson <gp@qnx.com>
65
66 * Makefile.am: Add esh{l}elf_nto.o files.
67 * Makefile.in: Regenerate.
68 * configure.tgt: Add support for sh-**-nto* targets.
69 * emulparams/shelf_nto.sh: New file.
70 * emulparams/shlelf_nto.sh: New file.
71
7abb6dea
AM
722002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
73
74 * ldlang.c (offsetof): Define if not defined.
75
e9229007
L
762002-08-14 H.J. Lu <hjl@gnu.org>
77
78 * configure.tgt: Always enable 64bit emulations for 32bit
79 Linux/mips.
80
c553bb91
AM
812002-08-13 Alan Modra <amodra@bigpond.net.au>
82
83 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
84 (MAXPAGESIZE): Set to 1.
85
86 * ld.h (ALIGN_N): Delete.
87 * ldexp.h (align_n): Declare.
88 * ldexp.c (align_n): New function.
89 (fold_binary): Use align_n instead of ALIGN_N.
90 (exp_fold_tree): Likewise.
91 * ldlang.c (lang_size_sections_1): Likewise.
92 (lang_one_common): Likewise.
3c6706bb 93 * ld.texinfo (ALIGN): Remove power of 2 restriction.
c553bb91 94
59bc061d
NC
952002-07-31 Graeme Peterson <gp@qnx.com>
96
97 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
98 * Makefile.am: Add eelf32{l}ppcnto.o files.
99 * Makefile.in: Regenerate.
100 * emulparams/elf32lppcnto.sh: New file.
101 * emulparams/elf32ppcnto.sh: New file.
102
31941635
L
1032002-08-07 H.J. Lu <hjl@gnu.org>
104
105 * ld.texinfo: Document --no-undefined-version.
106
107 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
108 `script.' fields to 0.
109
110 * ldmain.c (main): Initialize the allow_undefined_version to
111 true.
112
113 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
114 (ld_options): Add --no-undefined-version.
115 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
116
2004afbc
NC
1172002-08-07 Nick Clifton <nickc@redhat.com>
118
119 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
120 an interworking bfd if there are input bfds. (107501)
121
7fc44b9c
AM
1222002-08-06 Alan Modra <amodra@bigpond.net.au>
123
124 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
125 2002-05-10 change.
126
24a1ba0f
NC
1272002-08-01 Nick Clifton <nickc@redhat.com>
128
129 * emulparams/armelf.sh: Revert previous delta.
130 * scripttempl/elf.sc: Revert previous delta.
131
ebc6e014
L
1322002-07-31 H.J. Lu <hjl@gnu.org>
133
134 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
135 --enable-64-bit-bfd.
136
39a2a3eb
L
1372002-07-31 H.J. Lu <hjl@gnu.org>
138
139 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
140 64bit BFD is selected.
141
a0dfa6a8
L
1422002-07-31 H.J. Lu <hjl@gnu.org>
143
144 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
145 if 64bit BFD is selected.
146
f7c33884
NC
1472002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
148
149 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
150 link_info.common_skip_ar_aymbols.
151 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
152
153 * ldmain.c (main): Initialize new field
154 link_info.common_skip_ar_aymbols.
155
8f64befb
NC
1562002-07-31 Adam Nemet <anemet@lnxw.com>
157
158 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
159 to .plt.thumb.
160 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
161 used.
162
500800ca
NC
1632002-07-31 Nick Clifton <nickc@redhat.com>
164
165 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
166 of the PDP-11 and 2.11BSD a.out support.
167
7808a785
TS
1682002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
169
170 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
171 for n32 ABI support.
172 * Makefile.in: Regenerate.
173 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
174 n32 ABI emulations for these 64 bit targets.
175 * emulparams/elf32bmipn32.sh: Expand comment.
176 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
177 n32 ABI.
178 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
179
7e392df6
NC
1802002-07-30 Graeme Peterson <gp@qnx.com>
181
182 * configure.tgt: Add support for arm-*-nto target.
183 * Makefile.am: Add earmnto.o file.
184 * Makefile.in: Regenerate.
185 * NEWS: Mention port of ARM support to QNX.
186 * emulparams/armnto.sh: New file.
187
704afa60
JJ
1882002-07-30 Jakub Jelinek <jakub@redhat.com>
189
190 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
191 for relocatable link.
192 (lang_size_sections_1): Don't make .tbss zero size for relocatable
193 link.
194
7dcd22c2
BS
1952002-07-26 Bernd Schmidt <bernds@redhat.com>
196
197 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
198 (STACK_ADDR): New.
199
219576a4
NC
2002002-07-25 Nick Clifton <nickc@redhat.com>
201
202 * po/sv.po: Updated Swedish translation.
203 * po/es.po: Updated Spanish translation.
204 * po/fr.po: Updated French translation.
205
ff3063f5
NC
2062002-07-24 Nick Clifton <nickc@redhat.com>
207
208 * po/sv.po: Updated Swedish translation.
209 * po/es.po: Updated Spanish translation.
210
0461a601
NC
2112002-07-23 Nick Clifton <nickc@redhat.com>
212
ff3063f5 213 * po/fr.po: Updated French translation.
0461a601 214
25844aae
AM
2152002-07-20 Alan Modra <amodra@bigpond.net.au>
216
217 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
218 bomb on /DISCARD/ input section.
219 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
220 * emultempl/mmo.em (mmo_place_orphan): Likewise.
221
3595bd6e
HPN
2222002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
223
224 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
225 output section.
226
cf88bb9f
NC
2272002-07-16 Denis Chertykov <denisc@overta.ru>
228 Nick Clifton <nickc@redhat.com>
229 Frank Ch. Eigler <fche@redhat.com>
230 John Healy <jhealy@redhat.com>
231
232 * configure.tgt: Add support for ip2k-elf.
233 * Makefile.am: Add support for ip2k-elf.
234 * Makefile.in: Regenerate.
235 * emulparams/elf32ip2k.sh: New file.
236 * scripttempl/ip2k.sc: New file
237 * NEWS: Mention support for new port.
238
2cbb2eef
NC
2392002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
240
241 * NEWS: Add 'Changes in 2.13'.
242
96a94295
L
2432002-07-14 H.J. Lu <hjl@gnu.org>
244
245 * ld.texinfo: Document a .symver takes precedence over a
246 version script.
247
120d20f2
AM
2482002-07-12 Alan Modra <amodra@bigpond.net.au>
249
250 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
251 (COMMONPAGESIZE): Define.
252
0d2ddeb2
AM
2532002-07-09 Alan Modra <amodra@bigpond.net.au>
254
255 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
256
554690ed
AM
2572002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
258
259 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
260 powerpc-*-openbsd* and sparc64-*-openbsd*.
261 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
262 * Makefile.in: Regenerate.
263 * emulparams/hppaobsd.sh: New file.
264
34786259
AM
2652002-07-05 Alan Modra <amodra@bigpond.net.au>
266
267 * ldlang.c (print_wild_statement): Fix output formatting.
268
4bd5a393
AM
2692002-07-04 Alan Modra <amodra@bigpond.net.au>
270
271 * ldlang.c: (strip_excluded_output_sections): New function.
272 (lang_process): Call it.
273 (lang_size_sections_1): Revert 2002-06-10 change.
274
ce4f7385
AM
2752002-07-03 Alan Modra <amodra@bigpond.net.au>
276
277 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
278 Run "make dep-am".
279 * Makefile.in: Regenerate.
280
b7b482a3
AM
2812002-07-02 Alan Modra <amodra@bigpond.net.au>
282
71daf8b4
AM
283 * ldfile.c (ldfile_try_open_bfd): Formatting.
284
b7b482a3
AM
285 * ldmisc.c (demangle): Move so that it doesn't intrude between
286 vfinfo comment and body. Add comment.
287
29e2951e
AM
2882002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
289
290 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
291
e3e942e9
AM
2922002-07-01 Alan Modra <amodra@bigpond.net.au>
293
294 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
295 * ldlang.c (entry_sym): Likewise.
296 (ldlang_undef_chain_list_type): Likewise.
297 (lang_finish): Adjust references to entry_symbol.
298 (lang_add_entry): Likewise.
299 (lang_gc_sections): Use link_info.gc_sym_list.
300 (lang_process): Set link_info.gc_sym_list.
301 * ldlex.l: Include bfdlink.h.
302 * ldmain.c (main): Init link_info.gc_sym_list.
303 * emultempl/aix.em: Adjust references to entry_symbol.
304 * emultempl/armcoff.em: Likewise.
305 * emultempl/armelf.em: Likewise.
306 * emultempl/pe.em: Likewise.
307 * emultempl/ppc64elf.em (ppc_after_open): New function.
308 (LDEMUL_AFTER_OPEN): Define.
309 * emulparams/elf64ppc.sh: KEEP .opd sections.
310
a66c0f2c
SC
3112002-06-29 Stephane Carrez <stcarrez@nerim.fr>
312
313 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
314 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
315 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
316 (EEPROM_START_ADDR): Define.
317 (EEPROM_MEMORY): Define.
318 * emulparams/m68hc12elf.sh: Likewise.
319 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
320 section to put soft registers in .page0.
321 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
322
2b67cf00
JL
3232002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
324
325 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
326 section. Add ${RELOCATING-0}.
327
219576a4 3282002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
164c4054
JR
329
330 * emulparams/shelf.sh (STACK_ADDR): Don't define.
331 (OTHER_SECTIONS): Define.
332 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
333 (OTHER_SECTIONS): Undef.
334
fc28fbc2
AM
3352002-06-26 Alan Modra <amodra@bigpond.net.au>
336
337 * ldmisc.c (demangle): Restore dots stripped from sym name.
338
a13a0de8
L
3392002-06-25 H.J. Lu <hjl@gnu.org>
340
341 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
342 * Makefile.in: Regenerated.
343
b553b183
NC
3442002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
345
346 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
347 the size of attached object files, to allow make the object files
348 available via FTP or HTTP and to mention that the mail will be
349 sent to a mailing list.
350
2755afba
NC
3512002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
352
353 * ld/configure.host (romp): Drop support.
354
7d0a848e
CD
3552002-06-18 Chris Demetriou <cgd@broadcom.com>
356
357 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
358 section flags for SEC_DATA, rather than for SEC_CODE being unset.
359
8505f884
CD
3602002-06-18 Chris Demetriou <cgd@broadcom.com>
361
362 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
363 format specifier used to print BFD name.
364
7d553a40
DB
3652002-06-18 Dave Brolley <brolley@redhat.com>
366
367 From Catherine Moore, Michael Meissner, Jim Blandy:
368 * emulparams/elf32frv.sh: New file.
369 * configure.tgt: Support frv-*-*.
370 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
371 (eelf32frv.c): New target.
372
82434356
TR
3732002-06-17 Tom Rix <trix@redhat.com>
374
a59f3d35 375 * emultempl/elf32.em: gld*_get_script: Check for
82434356
TR
376 GENERATE_COMBRELOC_SCRIPT.
377 * scripttempl/elfd10v.sc : Fix STACK and INSN.
378 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
379
219576a4 3802002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
5d9b5481
JR
381
382 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
383
c4bb8067
L
3842002-06-12 H.J. Lu <hjl@gnu.org>
385
386 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
387 false if xvec doesn't match.
388
e052cfbe
RS
3892002-06-10 Richard Sandiford <rsandifo@redhat.com>
390
391 * ldlang.c (lang_size_sections_1): Skip removed output sections.
392
4da711b1
AM
3932002-06-08 Alan Modra <amodra@bigpond.net.au>
394
395 * ldexp.c: Replace CONST with const.
396 * ldfile.c: Likewise.
397 * ldfile.h: Likewise.
398 * ldlex.l: Likewise.
399 * mri.c: Likewise.
400 * pe-dll.h: Likewise.
401
eb95bb9a
AM
4022002-06-07 Alan Modra <amodra@bigpond.net.au>
403
404 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
405
e0076ab3
NC
4062002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
407
408 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
409 to -1 == implicit enable.
410 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
411 initialize link_info.pei386_auto_import to -1 == implicit
412 enable.
413 (gld_${EMULATION_NAME}_parse_args): When processing
414 --enable-auto-import and --disable-auto-import options, use
415 '1' and '0' instead of 'true' and 'false'.
416 (pe_find_data_imports): Only issue message about auto-import
417 when the feature is implicitly enabled. Downgrade message to
418 informational instead of warning.
419
f13a5424
AM
4202002-06-07 Alan Modra <amodra@bigpond.net.au>
421
422 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
423
1abffd82
JL
4242002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
425
426 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
427 HOSTING_CRT0 and HOSTING_LIBS.
428
e0076ab3 4292002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
7a33bc10
JR
430
431 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
432
4a5e698d
JT
4332002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
434
435 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
436 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
437
1d475d82
AM
4382002-06-05 Alan Modra <amodra@bigpond.net.au>
439
440 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
441 SEC_EXCLUDE sections when doing a relocatable link.
442
5b0e55b6
JT
4432002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
444
445 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
446 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
447 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
448 (eshlelf64_nbsd.c): New rules.
449 * Makefile.in: Regenerate.
450 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
451 (sh64-*-netbsd*): New targets.
452 * emulparams/shelf32_nbsd.sh: New file.
453 * emulparams/shelf64_nbsd.sh: New file.
454 * emulparams/shlelf32_nbsd.sh: New file.
455 * emulparams/shlelf64_nbsd.sh: New file.
456
9ad85d9b
AM
4572002-06-04 Alan Modra <amodra@bigpond.net.au>
458
459 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
460
0c9b4fee
MM
4612002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
462
463 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
464 C++ constructors/destructors, loosely based on the m68hc11 port.
465
2c538bde
AM
4662002-05-31 Alan Modra <amodra@bigpond.net.au>
467
468 * Makefile.in: Regenerate.
469 * aclocal.m4: Regenerate.
470 * config.in: Regenerate.
471 * configure: Regenerate.
472
a0cb91c6
AM
4732002-05-31 Graeme Peterson <gp@qnx.com>
474
475 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
476 (ei386nto.c): Add rule.
477 * Makefile.in: Regenerate.
478 * configure.tgt: Add i[3456]86-*-nto-qnx*.
479 * emulparams/i386nto.sh: New file.
480
37020578
JT
4812002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
482
483 * NEWS: Add entry for VAX ELF support.
484
ab68f3e0 4852002-05-29 Matt Thomas <matt@3am-software.com>
a59f3d35 486 Jason Thorpe <thorpej@wasabisystems.com>
ab68f3e0
JT
487
488 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
489 (eelf32vax.c)
490 (evaxnbsd.c): New rules.
491 * Makefile.in: Regenerate.
492 * configure.tgt (vax-*-netbsdelf*)
493 (vax-*-netbsdaout*)
494 (vax-*-netbsd*): New targets.
495 * emulparams/elf32vax.sh: New file.
496 * emulparams/vaxnbsd.sh: New file.
497
8afb0e02
NC
4982002-05-29 Adam Nemet <anemet@lnxw.com>
499
500 * emultempl/armelf.em (arm_elf_after_open): Don't determine
501 bfd_for_interwork, instead add glue sections to each input bfd.
502 (bfd_for_interwork): New global.
503 (arm_elf_set_bfd_for_interworking): New function.
504 (arm_elf_before_allocation): Use it.
505
d172d4ba
NC
5062002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
507
508 * Makefile.am: Add DLX make target.
509 * configure.tgt: Add DLX configuration.
510 * Makefile.in: Regenerate.
511 * emulparams/elf32_dlx.sh: New file
512 * scripttempl/dlx.sc: New file
513
b4477fa8
NC
5142002-05-27 Per Lundberg <per@caleb.dnsalias.org>
515
516 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
517 * Makefile.in: Regenerate.
518 * emulparams/elf_chaos.sh: Use elf_chaos script.
519 * scripttempl/elf_chaos.sc: New file.
520
ee3cc2e2
RS
5212002-05-27 Richard Sandiford <rsandifo@redhat.com>
522
523 * ldlang.c (lang_size_sections_1): Move check for conflicting load
524 addresses and regions from here...
525 (lang_get_regions): ...to this new function.
526 (lang_leave_output_section_statement): Use lang_get_regions.
527 (lang_leave_overlay): Likewise.
528 * mri.c (mri_draw_tree): Pass null as last argument to
529 lang_leave_output_section_statement.
530 * emultempl/elf32.em (gld*_place_orphan): Likewise.
531 * emultempl/mmo.em (mmo_place_orphan): Likewise.
532 * emultempl/pe.em (gld*_place_orphan): Likewise.
533
aa501e5c
JT
5342002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
535
536 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
537
658957db
KH
5382002-05-25 Kazu Hirata <kazu@cs.umass.edu>
539
540 * ldemul.c: Fix formatting.
541 * ldfile.c: Likewise.
542 * pe-dll.c: Likewise.
543 * pe-dll.h: Likewise.
544
3511b595
AM
5452002-05-25 Alan Modra <amodra@bigpond.net.au>
546
0d6d936f
AM
547 * ldlang.c (lang_process): Formatting, grammar.
548
3511b595
AM
549 * ldlex.l: Use #include "" instead of <> for local header files.
550
436e8db0
NC
5512002-05-24 TAMURA Kent <kent@netbsd.org>
552
553 * configure.tgt: Add a target for i386-netbsdpe.
554
13ae64f3
JJ
5552002-05-23 Jakub Jelinek <jakub@redhat.com>
556
557 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
558 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
559 output section if necessary. Handle .tbss.
560 (lang_size_sections): Clear _raw_size for .tbss section
561 (it allocates space in PT_TLS segment only).
562 * ldwrite.c (build_link_order): Build link order for .tbss too.
563
68b2fc7a
AM
5642002-05-23 Alan Modra <amodra@bigpond.net.au>
565
566 * configure.in: Correct spelling of AC_PREREQ.
567
70b0be79
CF
5682002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
569
570 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
571 default.
572 (autofilter_objlist): Add crtbegin.o, crtend.o.
573
5742002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
575
576 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
577 (longopts): Add new option --exclude-libs.
578 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
579 (gld_${EMULATION_NAME}_parse_args): Use it.
580 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
581 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
582 from whole archives.
583 (pe_dll_add_excludes): Set excludes->type.
584 (auto_export): Add new variable libname and set to archive basename if
585 abfd. Use it when filtering default and user-specified libarary
586 excludes. Let string "ALL" mean all libs when filtering user-specified
587 libs.
588 * ld.texinfo: Document --exclude-libs.
589
fac1652d
AM
5902002-05-22 Alan Modra <amodra@bigpond.net.au>
591
592 * ldemul.c (ldemul_new_vers_pattern): New function.
593 * ldemul.h (ldemul_new_vers_pattern): Declare.
594 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
595 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
596 * emultempl/ppc64elf.em (dotsyms): New static var.
597 (gld${EMULATION_NAME}_new_vers_pattern): New function.
598 (LDEMUL_NEW_VERS_PATTERN): Define.
599 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
600 (PARSE_AND_LIST_LONGOPTS): Likewise.
601 (PARSE_AND_LIST_ARGS_CASES): Handle them.
602 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
603 initialiser.
604 * emultempl/armcoff.em: Likewise.
605 * emultempl/armelf_oabi.em: Likewise.
606 * emultempl/beos.em: Likewise.
607 * emultempl/elf32.em: Likewise.
608 * emultempl/generic.em: Likewise.
609 * emultempl/gld960.em: Likewise.
610 * emultempl/gld960c.em: Likewise.
611 * emultempl/linux.em: Likewise.
612 * emultempl/lnk960.em: Likewise.
613 * emultempl/m68kcoff.em: Likewise.
614 * emultempl/mipsecoff.em: Likewise.
615 * emultempl/pe.em: Likewise.
616 * emultempl/sunos.em: Likewise.
617 * emultempl/ticoff.em: Likewise.
618 * emultempl/vanilla.em: Likewise.
619
eb3d6bb8
AM
6202002-05-22 Alan Modra <amodra@bigpond.net.au>
621
622 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
623 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
624 (LIB_SEARCH_DIRS): No need to use "tr".
625 (COMPILE_IN): Only set for native targets.
626 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
627 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
628 * configure.tgt (powerpc*): Set tdir_*.
629 (powerpcle*): Correct targ_extra_emuls.
630 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
631 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
632
54f24647
AM
6332002-05-22 Alan Modra <amodra@bigpond.net.au>
634
635 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
636 calling lang_add_entry.
637
aa713662
L
6382002-05-21 H.J. Lu (hjl@gnu.org)
639
640 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
641 "-z muldefs".
642 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
643
644 * ld.texinfo: Updated for --allow-multiple-definition and
645 "-z muldefs".
646
647 * ldmain.c (main): Initialize the allow_multiple_definition
648 field to false.
649
650 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
651 (ld_options): Add --allow-multiple-definition.
652 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
653
658f2588
JT
6542002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
655
656 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
657 (earmelfb_nbsd.c): New rule.
a59f3d35 658 * Makefile.in: Regenerate.
658f2588 659 * configure.tgt (armeb-*-netbsdelf*): New target.
a59f3d35 660 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
658f2588
JT
661 (arm-*-netbsd*): Likewise.
662 * emulparams/armelfb_nbsd.sh: New file.
663
ca10c62d
TR
6642002-05-18 Tom Rix <trix@redhat.com>
665
a59f3d35 666 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
ca10c62d
TR
667 support.
668
fae1e84f
MM
6692002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
670
671 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
672 * Makefile.in: Regenerate.
673 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
674
7c8bf1e8
MM
6752002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
676
677 * emulparams/avr1.sh: New file.
678 * emulparams/avr2.sh: New file.
679 * emulparams/avr3.sh: New file.
680 * emulparams/avr4.sh: New file.
681 * emulparams/avr5.sh: New file.
682 * scripttempl/avr.sc: New file.
683
c2c01aa7
AM
6842002-05-15 Alan Modra <amodra@bigpond.net.au>
685
686 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
687 (lang_place_orphans): Abort if just_syms_flag.
688
f1f0d9ab
TR
6892002-05-10 Tom Rix <trix@redhat.com>
690
a59f3d35 691 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
f1f0d9ab
TR
692 architecture and machine information in the output bfd.
693 (gld*_before_parse): Remove old arch and machine code.
694 (choose_target): Rename to gld*_choose_target.
a59f3d35
AM
695 (rtld): Change type to int.
696 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
f1f0d9ab
TR
697 objects in XCOFF archives.
698 * ldfile.h: Update copyright date.
699
f4d73366
JJ
7002002-05-10 Jakub Jelinek <jakub@redhat.com>
701
702 * ldmain.c (main): Enable -z combreloc by default.
703
d3d8a9ee
NC
7042002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
705
706 * Makefile.am: Honour DESTDIR.
707 * Makefile.in: Regenerate.
708
9f88b410
RS
7092002-05-07 Richard Sandiford <rsandifo@redhat.com>
710
711 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
712 (lang_enter_overlay): Remove the last two parameters.
713 (lang_leave_overlay): Take them here instead.
714 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
715 (section): Pass LMA and crossref flag to lang_leave_overlay rather
716 than lang_enter_overlay.
717 * ldlang.c (lang_memory_region_lookup): Return null for null names.
718 (lang_output_section_statement_lookup): Initialize update_dot_tree.
719 (lang_size_sections_1): Evaluate it.
720 (lang_leave_output_section_statement): Rework LMA lookup.
721 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 722 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
723 (lang_enter_overlay_section): Don't set the LMA here.
724 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
725 assignment to the last section's update_dot_tree. Unconditionally
726 use the load and run-time regions specified in the OVERLAY statement.
727 Likewise the first section's LMA. Only set the other sections' LMAs
728 when no load region is given.
729
b9a743c8
NC
7302002-05-06 Nick Clifton <nickc@redhat.com>
731
732 * po/sv.po: New translation.
733
a3d60be3
AM
7342002-05-04 Alan Modra <amodra@bigpond.net.au>
735
736 * emultempl/hppaelf.em (build_section_lists): New function.
737 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
738 and build_section_lists.
739
b7a26f91
KH
7402002-05-03 Kazu Hirata <kazu@cs.umass.edu>
741
742 * ld.h: Fix formatting.
743 * ldexp.c: Likewise.
744 * ldfile.c: Likewise.
745 * ldlang.c: Likewise.
746 * ldmain.c: Likewise.
747 * lexsup.c: Likewise.
748 * pe-dll.c: Likewise.
749
805fc799
AM
7502002-05-02 Alan Modra <amodra@bigpond.net.au>
751
752 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
753 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
754 (build_section_lists): Do output_section tests here.
755
cc7e59b2
TR
7562002-04-30 Tom Rix <trix@redhat.com>
757
758 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
759
9c1d81c1
AM
7602002-05-01 Alan Modra <amodra@bigpond.net.au>
761
762 Long branch stubs, multiple stub sections.
763 * emultempl/ppc64elf.em: Include ldctor.h.
764 (stub_file): New var.
765 (group_size): New var.
766 (ppc_create_output_section_statements): New function.
767 (struct hook_stub_info): New.
768 (hook_in_stub): New function.
769 (ppc_add_stub_section): New function.
770 (ppc_layout_sections_again): New function.
771 (build_section_lists): New function.
772 (gld${EMULATION_NAME}_finish): Rewrite.
773 (real_func): New var.
774 (ppc_for_each_input_file_wrapper): New function.
775 (ppc_lang_for_each_input_file): New function.
776 (lang_for_each_input_file): Define.
777 (PARSE_AND_LIST_PROLOGUE): Define.
778 (PARSE_AND_LIST_LONGOPTS): Define.
779 (PARSE_AND_LIST_OPTIONS): Define.
780 (PARSE_AND_LIST_ARGS_CASES): Define.
781 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
782
aa67bccf
TR
7832002-04-30 Tom Rix <trix@redhat.com>
784
a59f3d35
AM
785 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
786 -blibpath, -bnolibpath support.
787
94349e12
MM
7882002-04-30 Mark Mitchell <mark@codesourcery.com>
789
790 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
791 (eelf32ppcwindiss.c): New target.
792 * Makefile.in: Regenerated.
793 * configure.tgt: Add support for powerpc-*-windiss.
794 * emulparams/elf32ppcwindiss.sh: New file.
a59f3d35 795
7b17f854
RS
7962002-04-30 Richard Sandiford <rsandifo@redhat.com>
797
798 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
799 * ldexp.c (exp_print_token): Add "infix_p" argument.
800 (exp_print_tree): Update accordingly.
801
596dafeb
AM
8022002-04-28 Alan Modra <amodra@bigpond.net.au>
803
804 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
805 * Makefile.in: Regenerate.
806 * mpw-elfmips.c: Delete.
807 * mpw-eppcmac.c: Delete.
808 * mpw-esh.c: Delete.
809 * mpw-idtmips.c: Delete.
810
219576a4 8112002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
a44d7f9c
JR
812
813 * emulparams/shelf32.sh (MACHINE): Now sh5.
814
944cd72c
TS
8152002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
816
817 * ldgram.y: Fix syntax warning.
818
5835c212
NC
8192002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
820
821 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
822 to prevent "-n" from being taken as an abbreviation for
823 "--no-pipeline-knowledge".
824
024531e2
AM
8252002-04-08 Alan Modra <amodra@bigpond.net.au>
826
d08a14c3
AM
827 * ldlang.c (lang_size_sections_1): Don't complain about
828 SEC_NEVER_LOAD sections having no memory region specified.
829
024531e2
AM
830 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
831
c657a1f0
MG
8322002-04-07 matthew green <mrg@redhat.com>
833
834 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
835
61bef6f1
AM
8362002-04-04 Alan Modra <amodra@bigpond.net.au>
837
838 * dep-in.sed: Cope with absolute paths.
839 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
840 Run "make dep-am".
841 * Makefile.in: Regenerate.
842
49ba2791
TS
8432002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
844
845 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
846
50e60fb5
JJ
8472002-04-03 Jakub Jelinek <jakub@redhat.com>
848
849 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
850 is smaller than maximum, round dot up to common page boundary.
851
6f12f4ca
AM
8522002-03-28 Alan Modra <amodra@bigpond.net.au>
853
854 * configure.host: Set up for generic hosts first, then tweak as
855 necessary in more specific targets.
856 (HOSTING_LIBS): Include libgcc_eh.a if found.
857
a8f1f017
AJ
8582002-03-23 Andreas Jaeger <aj@suse.de>
859
860 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
861
1d3fdf38
AM
8622002-03-21 Alan Modra <amodra@bigpond.net.au>
863
864 * Makefile.am: Run "make dep-am".
865 * Makefile.in: Regenerate.
866
79b1faa8
AM
8672002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
868
869 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
870
fcf0e35b
AM
8712002-03-20 Alan Modra <amodra@bigpond.net.au>
872
873 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
874 add the symbol to the linker hash table immediately.
875 (lang_place_undefineds): Split symbol creation out..
876 (insert_undefined): ..to here.
877
fed2999d
DB
8782002-03-18 David O'Brien <obrien@FreeBSD.org>
879
880 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
881 the contents of the buffer returned from basename function will are
882 getting overwritten while still being used.
883
219576a4
NC
8842002-03-18 Jan Hubicka <jh@suse.cz>
885 Andreas Jaeger <aj@suse.de>
886 Andreas Schwab <schwab@suse.de>
beb43bb9
JH
887
888 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
889 * elf_x86_64.sh (ARCH): Set to i386:x86-64
890 set libraries to default to lib64 paths.
891
eb1e0e80
NC
8922002-03-18 Tom Rix <trix@redhat.com>
893
894 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
895 * configure.tgt : Same.
896 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
897 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
898 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
899 emulation parameters for better -b32, -b64 support.
900 * emulparms/aixrs6.sh : Same.
901 * emulparms/ppcmacos.sh : Same.
902 * emultempl/aix.em (choose_target) : Use new emulation parameters
903 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
904 * Makefile.in : Regenerate.
905
a1c259a1
NC
9062002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
907
908 * po/fr.po: Updated version.
909
862120bd
AM
9102002-03-18 Alan Modra <amodra@bigpond.net.au>
911
912 * ldmain.c (main): Move .text readonly flag fudges from here..
913 * ldlang.c (lang_process): ..to here.
914
d35a52e2
AM
9152002-03-14 Alan Modra <amodra@bigpond.net.au>
916
917 * ldlang.c (lang_check): Remove the word size check added in last
918 change. Treat emitrelocations case as for relocatable links.
919
9ce88e60
NC
9202002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
921
922 * po/fr.po: Updated version.
923
30cba025
AM
9242002-03-13 Alan Modra <amodra@bigpond.net.au>
925
926 * ldlang.c (lang_check): Do relocatable link checks first, so that
927 warn_mismatch can't override. Check compatible and word size too.
928
84ec0e6d
DJ
9292002-03-07 Daniel Jacobowitz <drow@mvista.com>
930
931 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
932
2d13d8c5
JJ
9332002-03-05 Jakub Jelinek <jakub@redhat.com>
934
935 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
936 DATA_SEGMENT_ALIGN.
937
b5090659
L
9382002-03-04 H.J. Lu <hjl@gnu.org>
939
940 * scripttempl/elf.sc: Put .preinit_array, .init_array and
941 .fini_array in the data segment.
942
f42ce16e
AM
9432002-03-04 Alan Modra <amodra@bigpond.net.au>
944
945 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
946
de77b6ac
RH
9472002-03-01 David Mosberger <davidm@hpl.hp.com>
948
949 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
950 .init_array, and .fini_array.
951
997e08c0
AS
9522002-02-20 Andreas Schwab <schwab@suse.de>
953
954 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
955 .IA64_unwind* in a relocatable link.
956
9a66911f
NC
9572002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
958
959 * NEWS: Mark 2.12 branch.
960
d86bcc10
MS
9612002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
962
963 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
964 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
965
69f284c7
TR
9662002-02-18 Tom Rix <trix@redhat.com>
967
968 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
969 (gld*_before_allocation): Same.
a8f1f017 970 (gld*_create_output_section_statements): Generate
69f284c7
TR
971 __rtinit if run time linking. Add librtl.a to the link.
972 (gld*_read_file): Clean.
973
82bd7b59
AM
9742002-02-18 Alan Modra <amodra@bigpond.net.au>
975
976 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
977
ac3e50bf
DB
9782002-02-18 David O'Brien <obrien@FreeBSD.org>
979
6a7f963b 980 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
981 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
982 and eelf64alpha_fbsd.
6a7f963b 983 * Makefile.in: Regenerate.
ac3e50bf
DB
984 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
985 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
986 use a FreeBSD-specific emulation rather than the psABI one.
987 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
988 for all FreeBSD ELF systems.
989 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
990 emulation.
991 * emulparams/elf32ppc_fbsd.sh: Likewise.
992 * emulparams/elf64_ia64_fbsd.sh: Likewise.
993 * emulparams/elf64_sparc_fbsd.sh: Likewise.
994 * emulparams/elf64alpha_fbsd.sh: Likewise.
995 * emulparams/elf_i386_fbsd.sh: Likewise.
996 * emulparams/elf_x86_64_fbsd.sh: Likewise.
997
6ad738c5
NC
9982002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
999
1000 * po/tr.po: Updated version.
1001
9673c93c
AM
10022002-02-18 Alan Modra <amodra@bigpond.net.au>
1003
1004 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
1005 (FILL): Likewise.
1006
1c5e6447
HPN
10072002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
1008
1009 * emultempl/mmo.em (mmo_after_open): Don't call
1010 _bfd_mmix_check_all_relocs when producing ELF output.
1011
8bb57516
RH
10122002-02-15 Richard Henderson <rth@redhat.com>
1013
de77b6ac 1014 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
1015 definition. Emit a unop+nop pair.
1016
49fda6c8
HPN
10172002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1018
83c2d653
HPN
1019 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
1020 for presence of .MMIX.reg_contents.linker_allocated before early
1021 exit.
1022
49fda6c8
HPN
1023 * NEWS: Mention support for MMIX.
1024
2c382fb6
AM
10252002-02-15 Alan Modra <amodra@bigpond.net.au>
1026
1027 Support arbitrary length fill patterns.
a139d329
AM
1028 * ld.texinfo (Output Section Fill): Describe fill expressions.
1029 (FILL): Refer to the above.
2c382fb6
AM
1030 * ldexp.h (etree_value_type): Add "str" field.
1031 (union etree_union): Add "str" to "value" struct.
1032 (exp_bigintop): Declare.
1033 (exp_get_fill): Declare.
1034 * ldexp.c: Include "safe-ctype.h".
1035 (exp_intop): Set value.str to NULL.
1036 (exp_bigintop): New function.
1037 (new_rel): Pass in "str", and set new.str from it.
1038 (new_rel_from_section): Set new.str to NULL.
1039 (fold_name): Adjust calls to new_rel.
1040 (exp_fold_tree): Likewise.
1041 (exp_get_fill): New function.
1042 * ldgram.y (struct big_int bigint, fill_type *fill): New.
1043 (INT): Returns a "bigint". Adjust all code handling INTs.
1044 (fill_opt): Returns a "fill".
1045 (fill_exp): Split out of fill_opt, use for FILL.
1046 * ldlang.h (struct _fill_type): New.
1047 (fill_type): Move typedef to ldexp.h.
1048 (lang_output_section_statement_type): "fill" is now a pointer.
1049 (lang_fill_statement_type): Likewise.
1050 (lang_padding_statement_type): Likewise.
1051 (lang_add_fill): Now takes a "fill_type *" param.
1052 (lang_leave_output_section_statement): Likewise.
1053 (lang_do_assignments): Likewise.
1054 (lang_size_sections): Likewise.
1055 (lang_leave_overlay_section): Likewise.
1056 (lang_leave_overlay): Likewise.
1057 * ldlang.c: Include ldgram.h after ldexp.h.
1058 (lang_output_section_statement_lookup): Adjust for fill_type change.
1059 (print_fill_statement): Likewise.
1060 (print_padding_statement): Likewise.
1061 (insert_pad): Now takes a "fill_type *" arg.
1062 (size_input_section): Likewise.
1063 (lang_size_sections_1): Likewise.
1064 (lang_size_sections): Likewise.
1065 (lang_do_assignments): Likewise.
1066 (lang_add_fill): Likewise.
1067 (lang_leave_output_section_statement): Likewise.
1068 (lang_leave_overlay_section): Likewise.
1069 (lang_leave_overlay): Likewise.
1070 Adjust all callers of the above function.
1071 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
1072 starting with "0X" as well as "0x". Return bigint.str for hex
1073 numbers starting with "0x" or "0X", zero bigint.str otherwise.
1074 Always use base 16 for numbers starting with "$".
1075 * ldmain.c: Include ldgram.h after ldexp.h.
1076 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
1077 of bfd_fill_link_order.
1078 * pe-dll.c: Adjust lang_do_assignments calls.
1079 * emultempl/elf32.em: Likewise.
1080 * emultempl/hppaelf.em: Likewise.
1081 * emultempl/ppc64elf.em: Likewise.
1082 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
1083 lang_add_assignment call.
1084 * emultempl/pe.em: Likewise.
1085
313e35ee
AM
10862002-02-14 Phil Edwards <pme@gcc.gnu.org>
1087
a139d329 1088 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
1089 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
1090 the pattern in question is not a regexp.
1091 * ldlang.c: Likewise.
1092 * ldlang.h: Likewise.
1093 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
1094
2d20f7bf
JJ
10952002-02-12 Jakub Jelinek <jakub@redhat.com>
1096
1097 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1098 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1099 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
1100 * ldexp.c (exp_data_seg): New variable.
1101 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
1102 (fold_binary): Handle DATA_SEGMENT_ALIGN.
1103 (exp_fold_tree): Handle DATA_SEGMENT_END.
1104 Pass allocation_done when recursing instead of hardcoding
1105 lang_allocating_phase_enum.
1106 * ldexp.h (exp_data_seg): New.
1107 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
1108 (lang_size_sections): New.
1109 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
1110 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
1111 if COMMONPAGESIZE is defined.
1112 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
1113 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
1114 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
1115 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
1116 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
1117 libraries only.
1118
06880219
AM
11192002-02-11 Alan Modra <amodra@bigpond.net.au>
1120
1121 * Makefile.in: Regenerate.
1122
37b0ac0f
DJ
11232002-02-10 Daniel Jacobowitz <drow@mvista.com>
1124
1125 * lexsup.c: Remove strtoul declaration.
1126
4e5bae56
DJ
11272002-02-10 Daniel Jacobowitz <drow@mvista.com>
1128
1129 * ldmain.c: Add prototype for main ().
1130 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
1131 * emultempl/lnk960.em (lnk960_choose_target): Function should
1132 take two arguments.
1133
1e281515
AM
11342002-02-10 Alan Modra <amodra@bigpond.net.au>
1135
1136 * ldlang.c (entry_section): New initialised variable.
1137 (lang_finish): Use it.
1138 * ldlang.h (entry_section): Declare.
1139 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
1140 entry_section to ".opd".
1141
f92d92ff 11422002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
1143
1144 * ld.texinfo (Options): Add back in -nostdlib documentation,
1145 which had been inadvertently removed.
1146
74c44237
HPN
11472002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
1148
1149 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
1150 register section vma to a sane value after emitting error. Make
1151 fatal conditions cause program exit when emitting message.
1152
5e37cc46
NC
11532002-02-08 Ivan Guzvinec <ivang@opencores.org>
1154
1155 * configure.tgt: Add or32-*-rtems target.
1156
2d92cb7d
AO
11572002-02-08 Alexandre Oliva <aoliva@redhat.com>
1158
1159 Contribute sh64-elf.
1160 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1161 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
1162 in OTHER_RELOCATABLE_SECTIONS.
1163 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1164 * emulparams/shelf32.sh (STACK_ADDR): Define.
1165 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
1166 (OTHER_SECTIONS): this. Removed stack settings.
1167 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
1168 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
1169 2001-03-12 DJ Delorie <dj@redhat.com>
1170 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
1171 relaxing if any shmedia or mixed sections are found.
1172 2001-03-07 DJ Delorie <dj@redhat.com>
1173 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
1174 einfo. Gracefully decline to output to non-elf formats.
1175 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
1176 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
1177 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
1178 * emulparams/shelf32.sh: Ditto.
1179 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
1180 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
1181 comment.
1182 2001-01-10 Ben Elliston <bje@redhat.com>
1183 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
1184 non-portable shell constructs. From Hans-Peter Nilsson.
1185 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
1186 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
1187 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
1188 dependencies to the shell script include chain.
1189 * Makefile.in: Regenerate.
1190 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1191 * emultempl/sh64elf.em: Update and tweak comments.
1192 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
1193 make a .cranges section SEC_IN_MEMORY.
1194 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1195 * emultempl/sh64elf.em
1196 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
1197 .cranges section found to be necessary; continue and set stored
1198 section contents flags for sections with non-mixed contents.
1199 Use a struct sh64_section_data container and sh64_elf_section_data
1200 to store contents-type flags.
1201 Remove unused update of "isec".
1202 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
1203 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
1204 access contents-type flags. Assert that the associated container
1205 is initialized. Use that container, not elf_gp_size, to hold size
1206 of linker-generated cranges contents.
1207 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1208 * emultempl/sh64elf.em
1209 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
1210 there's already a .cranges section. When section flag difference
1211 is found, don't NULL-check cranges a second time. Tweak comments.
1212 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
1213 merging, not max size, as size of ld-generated .cranges contents.
1214 Don't set ELF section flags in output section. When checking for
1215 needed .cranges descriptors, don't use a variable; compare
1216 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
1217 comments.
1218 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1219 * emultempl/sh64elf.em: New file.
1220 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
1221 * Makefile.in: Regenerate.
1222 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
1223 (OTHER_RELOCATING_SECTIONS): Ditto.
1224 (EXTRA_EM_FILE): New, set to sh64elf if not set.
1225 * emulparams/shlelf32.sh: Stub out all settings except
1226 OUTPUT_FORMAT. Source shelf32.sh.
1227 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
1228 OTHER_RELOCATING_SECTIONS.
1229 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
1230 * emulparams/shlelf64.sh: Stub out all settings except
1231 OUTPUT_FORMAT. Source shelf64.sh.
1232 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1233 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
1234 .cranges section.
1235 (DATA_START_SYMBOLS): Define, provide ___data.
1236 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
1237 for consecutive .data section.
1238 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
1239 section after .data section.
1240 * emulparams/shlelf64.sh: Ditto.
1241 * emulparams/shelf32.sh: Ditto.
1242 (ALIGNMENT): Define to 8.
1243 * emulparams/shelf32.sh: Ditto.
1244 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1245 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
1246 built-in linker scripts.
1247 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1248 * emulparams/shlelf64.sh: New.
1249 * emulparams/shelf64.sh: New.
1250 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
1251 targ_extra_emuls.
1252 * Makefile.am: Add support for shlelf64 and shelf64.
1253 * Makefile.in: Regenerate.
1254 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1255 * configure.tgt (sh64-*-elf*): Add shelf as default.
1256 Add shlelf to targ_extra_emuls.
1257 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1258 * emulparams/shelf32.sh: New file.
1259 * emulparams/shlelf32.sh: New file.
1260 * Makefile.am: Add support for shlelf32 and shelf32.
1261 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
1262 * Makefile.in: Regenerate.
1263
e3dc8847
HPN
12642002-02-05 Hans-Peter Nilsson <hp@axis.com>
1265
1266 * ldlang.c (lang_reset_memory_regions): Rename from
1267 reset_memory_regions. Change all callers. Make public.
1268 * ldlang.h (lang_reset_memory_regions): Prototype.
1269 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
1270 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
1271 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1272 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 1273
8017dbcb
HPN
12742002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1275
1276 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
1277 arithmetic when checking for too many global registers.
1278
006336b8
JT
12792002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1280
1281 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
1282 (ehppanbsd.c): New rule.
1283 * Makefile.in: Regenerate.
1284 * configure.tgt (hppa*-*-netbsd*): New target.
1285 * emulparams/hppalinux.sh: Add comment to check other files
1286 that source this file it is modified, and list which
1287 files that do.
1288 * emulparams/hppanbsd.sh: New file.
1289
da1f2fec
GK
12902002-02-01 Geoffrey Keating <geoffk@redhat.com>
1291
1292 * scripttempl/xstormy16.sc: Don't allocate extra space for the
1293 stack.
1294
48fa4a5d
HPN
12952002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1296
1297 Support on-demand global register allocation from
1298 R_MMIX_BASE_PLUS_OFFSET relocs.
1299 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
1300 mmix_set_reg_section_vma. Call
1301 _bfd_mmix_finalize_linker_allocated_gregs.
1302 (mmix_before_allocation): New function.
1303 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
1304 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
1305 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
1306 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
1307 before .MMIX.reg_contents.
1308 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
1309 (mmo_after_open): New function.
1310 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
1311 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
1312 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
1313
3b16e843
NC
13142002-01-31 Ivan Guzvinec <ivang@opencores.org>
1315
1316 * emulparams/or32.sh: New file.
1317 * emulparams/or32elf.sh: New file.
1318 * scripttempl/or32.sc: New file.
1319 * configure.tgt : Add support for or32.
1320 * configure: Regenerate
1321 * Makefile.am: Add support for or32.
1322 * Makefile.in: Regenerate.
1323 * NEWS: Mention support for or32.
1324 * po/ld.pot: Regenerate.
1325
f744d540 13262002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 1327 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
1328
1329 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
1330 * emultempl/mipself.em: New file to handle MIPS ELF embedded
1331 reloc creation (ld --embedded-relocs).
1332
4867be41
DJ
13332002-01-27 Daniel Jacobowitz <drow@mvista.com>
1334
1335 * configure: Regenerated.
1336
cd8e197b
HPN
13372002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1338
1339 * Makefile.am (install): Depend on install-info.
1340 * Makefile.in: Regenerate.
1341
9cb61eab
AM
13422002-01-26 Christian Rose <menthos@menthos.com>
1343
1344 * ldmain.c (main): Use full sentences to ease translation.
1345
1caa7b23
NC
13462002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1347
1348 * po/fr.po: Updated version.
1349
1ddbd152
NC
13502002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1351
1352 * po/es.po: Updated version.
1353
1e84433f
AJ
13542002-01-25 Andreas Jaeger <aj@suse.de>
1355
1356 * ldlex.l (yy_input): Correct error check.
1357
6d39955e
AM
13582002-01-25 Alan Modra <amodra@bigpond.net.au>
1359
1360 * ldmisc.c (demangle): Put back dots when string not demangled.
1361
a9ed1e1b
RH
13622002-01-22 Richard Henderson <rth@redhat.com>
1363
1364 * emulparams/elf64alpha.sh (NOP): Use unop.
1365
968ec2b9
AJ
13662002-01-21 Andreas Jaeger <aj@suse.de>
1367
1368 * ldlex.l: Use fread instead of read.
1369
9596feea
JT
13702002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1371
1372 * configure.tgt (ia64-*-netbsd*): New target.
1373
493a6d47
L
13742002-01-21 H.J. Lu <hjl@gnu.org>
1375
1376 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
1377 0.
1378 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
1379
2a538ba5
AJ
13802002-01-18 Andreas Jaeger <aj@suse.de>
1381
1382 * ldver.c (ldversion): Update year.
1383
328577ad
NC
13842002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1385
1386 * po/ld.pot: Regenerate.
1387
1f808cd5
AM
13882002-01-16 Alan Modra <amodra@bigpond.net.au>
1389
1390 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
1391 * Makefile.in: Regenerate.
1392 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
1393 * emultempl/ppc64elf.em: New file.
1394
335c5610
DD
13952002-01-15 DJ Delorie <dj@redhat.com>
1396
1397 * scripttempl/pe.sc: Add support for constructor priorities.
1398
c40bbade
DC
13992002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1400
1401 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
1402 * emulparams/avr23xx.sh: Likewise.
1403 * emulparams/avr4433.sh: Likewise.
1404 * emulparams/avr44x4.sh: Likewise.
1405 * emulparams/avr85xx.sh: Likewise.
1406 * emulparams/avrmega103.sh: Likewise.
1407 * emulparams/avrmega161.sh: Likewise.
1408 * emulparams/avrmega603.sh: Likewise.
1409 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
1410
34efb449
AO
14112002-01-08 Alexandre Oliva <aoliva@redhat.com>
1412
1413 * ldlang.c (walk_wild_section): Exclude object file if enclosing
1414 archive is excluded.
1415
8d05742f
JT
14162002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1417
1418 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 1419 (eshelf_nbsd.c): New rule.
8d05742f
JT
1420 (eshlelf_nbsd.c): New rule.
1421 * Makefile.in: Regenerate.
1422 * configure.tgt (sh*le-*-netbsdelf*): New target.
1423 (sh*-*-netbsdelf*): New target.
1424 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
1425 * ld/emulparams/shelf_nbsd.sh: New emulation.
1426 * ld/emulparams/shlelf_nbsd.sh: New emulation.
1427
be2d1673
NC
14282002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1429
1430 * po/es.po: New file: Spanish translation.
1431 * configure.in (ALL_LINGUAS): Add es.
1432 * configure: Regenerate.
1433
dbab7a7b
NC
14342002-01-06 John Marshall <jmarshall@acm.org>
1435
1436 * ld.texinfo: Note that --emit-relocs is currently only
1437 implemented for ELF.
1438
3dfe7a8c
AM
14392002-01-05 Alan Modra <amodra@bigpond.net.au>
1440
1441 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
1442 of bfd_section_list_remove and bfd_section_list_insert macros.
1443 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1444 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1445
8a8b2d4b
AJ
14462002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1447
1448 * configure.tgt (x86_64-*-netbsd*): New target.
1449
9a4c7f16
TR
14502001-12-21 Tom Rix <trix@redhat.com>
1451
8a8b2d4b 1452 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
1453 For -binitfini support.
1454 * emultempl/aix.em (gld*_before_parse): Fix comment.
1455 * emultempl/aix.em (gld*_parse_args): Fix comment.
1456
3695c299
AM
14572001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
1458
cf86e6df
AM
1459 * configure.tgt (mips*-dec-netbsd*): Delete alias for
1460 mips*el-*-netbsd*.
1461 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
1462
3695c299
AM
1463 * configure.tgt (arm-*-netbsdelf*): Add target.
1464 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1465 * emulparams/armelf_nbsd.sh: Added.
1466 * Makefile.am: Add rules for earmelf_nbsd.
1467 * Makefile.in: Regenerate.
1468
97cb79ae
AJ
14692001-12-19 Andreas Jaeger <aj@suse.de>,
1470 Susanne Oberhauser <froh@suse.de>
1471
1472 * configure.host: Add rules for x86_64-*linux-gnu. Change
1473 s390x-linux entry to use gcc to report configuration, replace gcc
1474 with $CC in s390-linux
1475
9d201f2f
AJ
14762001-12-19 Andreas Jaeger <aj@suse.de>
1477
1478 * ld.texinfo (VERSION): Fix markup.
1479
0b69cd08
MG
14802001-12-18 matthew green <mrg@eterna.com.au>
1481
1482 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1483 (m68kelfnbsd.c): New rule.
1484 * Makefile.in: Regenerate.
1485 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1486 (m68*-*-netbsd*4k*): .. this.
1487 (m68*-*-netbsdelf*): New target.
1488 (m68*-*-netbsd*): Also include ELF support.
1489 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1490 * emulparams/m68kelfnbsd.sh: New emulation.
1491
6b9b879a
JJ
14922001-12-18 Jakub Jelinek <jakub@redhat.com>
1493
1494 * ldgram.y (vers_node): Support anonymous version tags.
1495 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1496 tag is not defined together with non-anonymous versions.
1497 * ld.texinfo: Document it.
1498
9fc877ed
NC
14992001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1500
1501 * po/tr.po: New file: Turkish translation.
1502 * configure.in (ALL_LINGUAS): Add tr.
1503 * configure: Regenerate.
1504
fc18a3f3
RH
15052001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1506
1507 * Makefile.am: Add rules for eelf64alpha_nbsd.
1508 * Makefile.in: Regenerate.
1509 * configure.tgt (alpha*-*-netbsd*): Set
1510 targ_emul to elf64alpha_nbsd.
1511 * emulparams/elf64alpha_nbsd.sh: Added.
1512
76f63e91
AM
15132001-12-17 Alan Modra <amodra@bigpond.net.au>
1514
1515 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1516 section_tail when fiddling with section list.
1517 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1518 broken into separate strings to make translation easier.
1519 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1520 fiddling with section list.
1521 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1522
d03b89bd
HPN
15232001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1524
1525 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1526
320fec9a
AM
15272001-12-15 Alan Modra <amodra@bigpond.net.au>
1528
1529 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1530
65765700
JJ
15312001-12-13 Jakub Jelinek <jakub@redhat.com>
1532
1533 * emultempl/elf32.em (finish): Supply output_bfd
1534 to bfd_elf*_discard_info.
1535 (OPTION_EH_FRAME_HDR): Define.
1536 (longopts): Add --eh-frame-hdr.
1537 (parse_args): Handle it.
1538 (list_options): Add --eh-frame-hdr to help.
1539 * emultempl/hppaelf.em (finish): Supply output_bfd
1540 to bfd_elf*_discard_info.
1541 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1542
89894c62
AM
15432001-12-13 Alan Modra <amodra@bigpond.net.au>
1544
1545 * lexsup.c (parse_args): Don't pass shortopts to second call to
1546 getopt functions. Restore optind rather than decrementing before
1547 second call. Remove errind as it now duplicates last_optind.
1548
583f1926
CF
15492001-12-11 Christopher Faylor <cgf@redhat.com>
1550
1551 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1552
93fbbb04
GK
15532001-12-07 Geoffrey Keating <geoffk@redhat.com>
1554 Richard Henderson <rth@redhat.com>
1555
1556 * Makefile.am: Add support for xstormy16.
1557 * configure.tgt: Add support for xstormy16.
1558 * Makefile.in: Regenerate.
1559 * emulparams/elf32xstormy16.sh: New file.
1560 * scripttempl/xstormy16.sc: New file.
1561
583f1926
CF
15622001-10-01 Christopher Faylor <cgf@cygnus.com>
1563
fc18a3f3
RH
1564 * Makefile.in (LIB_PATH): Make configurable.
1565 (GENSCRIPTS): Set LIB_PATH in environment.
1566 * configure.in: Substitute LIB_PATH.
1567 * configure: Regenerate.
1568 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1569 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1570
ff291a48
NC
15712001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1572
1573 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1574 describing the -N option so that it is easier to translate into
1575 foreign languages.
1576
e3c8793a
NC
15772001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1578
1579 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1580 statements describing a single option with a single, newline
1581 escaped fprintf. This allows better translation into other
1582 languages.
9d201f2f 1583
fc18a3f3
RH
1584 * ldmain.c (add_archive_element): Combine multiple strings
1585 into a single string to permit better translation into other
1586 languages.
e3c8793a 1587
f2eab0af
TR
15882001-12-05 Tom Rix <trix@redhat.com>
1589
1590 * Makefile.am: Remove eaixppc64.
9d201f2f 1591 * Makefile.in: Regenerate.
f2eab0af 1592
249172c3
TR
15932001-12-04 Tom Rix <trix@redhat.com>
1594
9d201f2f 1595 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
1596 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1597 warning.
1598 (gld*_read_file): Fix typo.
1599 (change_symbol_mode): Add prototype.
1600 (is_syscall): Same.
9d201f2f 1601
249172c3
TR
1602 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1603 * emulparams/aixrs6.sh : Same.
1604 * emulparams/ppcmacos.sh : Same.
1605 * emulparams/aixppc64.sh : Delete file.
1606 * emultempl/aix.em : Formatting changes.
1607
5b5cd1b0
HPN
16082001-12-04 Hans-Peter Nilsson <hp@axis.com>
1609
1610 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1611 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1612 __Sbss.
1613 (OTHER_END_SYMBOLS): Fix formatting.
1614 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1615 (OTHER_END_SYMBOLS): Fix formatting.
1616
7cecdbff
AM
16172001-12-04 Alan Modra <amodra@bigpond.net.au>
1618
1619 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1620
742aeb63 16212001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 1622
742aeb63 1623 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 1624 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
1625 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1626 (ldemul_default_target): Same.
1627 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
1628 * emultempl/gld960c.em (gld960_choose_target): Same.
1629 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
1630 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1631 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1632 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 1633 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
1634 -b32 and -b64.
1635
48459341
L
16362001-11-27 H.J. Lu <hjl@gnu.org>
1637
1638 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1639 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1640 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1641 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1642 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1643 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1644 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1645 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1646
7cecdbff 1647 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
1648 is not empty.
1649 (SDATA): Likewise.
1650 (REL_SDATA): Likewise.
1651 (REL_SBSS): Likewise.
1652 (REL_SDATA2): Likewise.
1653 (REL_SBSS2): Likewise.
1654 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1655 (SDATA2): Likewise.
1656
ecfdd20c
SC
16572001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1658
1659 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1660 destructor in rom.
7cecdbff 1661 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 1662
da54c6eb
L
16632001-11-22 H.J. Lu <hjl@gnu.org>
1664
1665 * Makefile.in: Regenerated with automake based on automake
1666 1.4-8 in RedHat 7.1.
1667
465bc359
AM
16682001-11-22 Alan Modra <amodra@bigpond.net.au>
1669
1670 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1671 (config.status): Delete rule.
1672 Add extra dependencies to cover sourced emulparams files.
1673 * Makefile.in: Regenerate.
1674
1675 * scripttempl/elf.sc: Order <section>, <section>.* and
1676 corresponding linkonce sections as seen in input files.
1677 Formatting fixes. Zero vma of all sections if not relocating.
1678 (STACK): Define and insert if STACK_ADDR defined.
1679 (OTHER_RELOCATING_SECTIONS): Delete.
1680 (OTHER_END_SYMBOLS): Define.
1681 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1682 (OTHER_READWRITE_SECTIONS): Likewise.
1683 (OTHER_GOT_SECTIONS): Likewise.
1684 (OTHER_SDATA_SECTIONS): Likewise.
1685 (OTHER_BSS_SECTIONS): Likewise.
1686 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1687 (OTHER_READWRITE_SECTIONS): Likewise.
1688 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1689 (OTHER_READWRITE_SECTIONS): Likewise
1690
1691 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1692 (STACK_ADDR): Define.
1693 * emulparams/armelf_oabi.sh: As for armelf.sh.
1694 * emulparams/elf32mcore.sh: As for armelf.sh.
1695 * emulparams/h8300elf.sh: As for armelf.sh.
1696 * emulparams/mn10200.sh: As for armelf.sh.
1697 * emulparams/shelf.sh: As for armelf.sh.
1698
1699 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1700 (OTHER_END_SYMBOLS): Define.
1701 * emulparams/m32relf.sh: As for elf32fr30.sh.
1702 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1703 * emulparams/h8300self.sh: As for elf32fr30.sh.
1704
1705 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1706 defines with RELOCATING test.
1707 (OTHER_SDATA_SECTIONS): Likewise.
1708 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1709 (OTHER_END_SYMBOLS): ..this.
1710 * emulparams/crislinux.sh: As for criself.sh.
1711
1712 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1713 if not relocating.
1714 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1715 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1716 normal and linkonce sections as seen in input files.
1717 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1718 (TEXT_DYNAMIC): Likewise.
1719 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1720 (OTHER_SDATA_SECTIONS): Likewise.
1721 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1722 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1723 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1724 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1725 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1726 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1727 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1728 sections as seen in input files.
1729 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1730 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1731 if not relocating.
1732 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1733 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1734 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1735 (OTHER_SECTIONS): Instead, use this..
1736 (OTHER_END_SYMBOLS): ..and this.
1737
1738 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1739 * emulparams/elf32bsmip.sh: Likewise.
1740 * emulparams/elf32btsmip.sh: Likewise.
1741 * emulparams/elf32ebmip.sh: Likewise.
1742 * emulparams/elf32lmip.sh: Likewise.
1743 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1744 * emulparams/elf32lsmip.sh: Likewise.
1745 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1746 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1747 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1748 * emulparams/elf64btsmip.sh: Likewise.
1749 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1750 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1751 * emulparams/elf32ppclinux.sh: Likewise.
1752 * emulparams/elf32ppcsim.sh: Likewise.
1753 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1754 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1755 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1756 * emulparams/h8300self.sh: Likewise.
1757 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1758 * emulparams/sh.sh: Comment.
1759 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1760 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1761 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1762
abc6ab0a
AM
17632001-11-21 David Heine <dlheine@tensilica.com>
1764 Alan Modra <amodra@bigpond.net.au>
1765
1766 * ldlang.c (map_input_to_output_sections): Replace "break"
1767 accidentally removed with 2001-08-03 change.
1768 (lang_gc_sections_1): Likewise.
1769
2181f54f
AM
17702001-11-21 Alan Modra <amodra@bigpond.net.au>
1771
1772 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1773
ca0b5847
AM
17742001-11-20 Angela Marie Thomas <angela@redhat.com>
1775
1776 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
1777 of false when calling lang_size_sections.
1778 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 1779
c56feb2b
AM
17802001-11-15 Alan Modra <amodra@bigpond.net.au>
1781
1782 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1783 function when LDEMUL_FINISH isn't set to the same name. Don't
1784 call ${LDEMUL_FINISH}.
1785 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1786 * emultempl/armelf.em (arm_elf_finish): Call
1787 gld${EMULATION_NAME}_finish.
1788 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1789 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1790 hppaelf_layout_sections_again if necessary.
1791 (need_laying_out): New var.
1792 (hppaelf_layaout_sections_again): Rename to
1793 hppaelf_layout_sections_again. Clear need_laying_out.
1794 (PARSE_AND_LIST_OPTIONS): Format text.
1795
a48ca7f2
L
17962001-11-14 H.J. Lu <hjl@gnu.org>
1797
1798 * emultempl/armelf.em (arm_elf_finish): Renamed from
1799 gld${EMULATION_NAME}_finish.
1800 (LDEMUL_FINISH): Set to arm_elf_finish.
1801
73d074b4
DJ
18022001-11-14 Daniel Jacobowitz <drow@mvista.com>
1803
1804 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1805 (struct ld_emulation_xfer_struct): Use it.
1806
3b16e843 18072001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 1808
465bc359 1809 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
1810 additional symbols referenced by newer crt0.o files from HP.
1811
f11b7027
NC
18122001-11-12 Anthony Green <green@redhat.com>
1813
1814 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1815
3bf2994f
AM
18162001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1817
1818 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1819 * Makefile.in: Regenerate.
1820
ff5dcc92
SC
18212001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1822
1823 * ld.texinfo: Use @command for commands, @option for options.
1824 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1825 the page man title.
1826 * Makefile.in: Rebuild.
1827
9fb9af6e
CD
18282001-11-04 Chris Demetriou <cgd@broadcom.com>
1829
1830 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1831 Add support for targets.
2181f54f 1832
3c62831e
NC
18332001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1834
1835 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1836 * configure: Regernate.
1837 * po/fr.po: New file.
1838 * po/sv.po: New file.
1839
3a9091c4
NC
18402001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1841
1842 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1843 as little endian default and to support big endian.
2181f54f 1844
361b220e
CD
18452001-11-01 Chris Demetriou <cgd@broadcom.com>
1846
1847 * ld.texinfo (Options): Document new option, -nostdlib.
1848 * lexsup.c (OPTION_NOSTDLIB): New definition.
1849 (ld_options): Add entry for "nostdlib".
1850 (parse_args): Handle OPTIONS_NOSTDLIB.
1851 * ldfile.c (ldfile_add_library_path): Don't add directories
1852 to the search path if they weren't specified on the command line
1853 and -nostdlib was specified.
1854 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1855
210a7bd1
NC
18562001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1857
1858 * lexsup.c (parse_args): Prevent infinite parsing loop when
1859 "-rpath.a" is specified on the command line.
1860 Replace calls to fprintf with calls to einfo.
1861
114283d8
NC
18622001-10-31 John Marshall <jmarshall@acm.org>
1863
1864 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1865 appear only once across all the linker scripts involved in a link
1866 invocation no longer applies. Make the documentation reflect
1867 that.
1868
7649aa50
NC
18692001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1870
1871 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1872 targets.
1873 (sh-*-linux*): Added targ_extra_libpath.
1874
6e814ff8
AM
18752001-10-31 David Heine <dlheine@tensilica.com>
1876
1877 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1878 for padding statements.
1879
3c3bdf30
NC
18802001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1881
1882 * configure.tgt (mmix-*-*): New target.
1883 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1884 Add dependencies to match.
1885 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1886 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1887 scripttempl/mmo.sc: New files.
1888 * gen-doc.texi: @set MMIX.
1889 * ld.texinfo: Ditto.
6e814ff8 1890 [MMIX] Add MMIX node.
3c3bdf30
NC
1891 * Makefile.in: Regenerate.
1892
ca0c1d3e
KH
18932001-10-29 Kazu Hirata <kazu@hxi.com>
1894
1895 * ldlang.c: Fix a comment typo.
1896
1a3d33ce
AM
18972001-10-23 Alan Modra <amodra@bigpond.net.au>
1898
1899 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1900 entries, and match *-*-linux*.
1901
b47c4208
AM
19022001-10-20 Alan Modra <amodra@bigpond.net.au>
1903
1904 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1905 with ldlex_script, ldlex_popstate.
1906 (ifile_p1): Likewise.
1907 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
1908 correct slot.
1909 (lex_push_file): Save current lineno to lineno_stack. Set lineno
1910 to 1. Don't BEGIN(SCRIPT).
1911 (lex_redirect): Similarly.
1912 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
1913
fd521b47
NC
19142001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
1915
1916 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
1917 __EH_FRAME_END__ and accept eh frames into data section.
1918 Add ctor and dtor sections.
1919
59d28a94
DD
19202001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1921
1922 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
1923 (auto-export): Fix indentation.
1924
663dd378
DD
19252001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1926
1927 * pe-dll.c (autofilter_objectlist): Add startup objects
1928 for profiling.
1929 (auto-export): Constify char * p.
6e814ff8 1930 Extract file basename and use strcmp rather than ststr
663dd378
DD
1931 for object lookup.
1932
31d677f9
CD
19332001-10-18 Chris Demetriou <cgd@broadcom.com>
1934
1935 * ldmain.c (get_emulation): Improve comment about the handling
1936 of -mipsN options.
1937
aa200fe8
AM
19382001-10-17 Alan Modra <amodra@bigpond.net.au>
1939
1940 * po/POTFILES.in: Regenerate.
1941
146e7110
AM
19422001-10-16 Vassili Karpov <malc@pulsesoft.com>
1943
1944 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
1945 -z nocopyreloc and -z nocombreloc usage strings.
1946
b4330e85
NC
19472001-10-12 Vassili Karpov <malc@pulsesoft.com>
1948
146e7110 1949 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
1950 in usage.
1951
5af8a2fb
NC
19522001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
1953
1954 * scripttempl/armaout.sc: Place .bss section after end of aligned
1955 data section to match behaviour of aout code in constructrion of
1956 header.
1957
5b784096
DD
19582001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1959
1960 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
1961 startup files for mingw32 dlls to list.
1962
61585df2
CD
19632001-10-10 Chris Demetriou <cgd@broadcom.com>
1964
1965 * emultempl/elf32.em: Fix shell 'if' usage for portability.
1966
45cf6f3e
AH
19672001-10-08 Aldy Hernandez <aldyh@redhat.com>
1968
1969 * configure.tgt (targ): Add arm9e-*-elf.
1970
e24d7c12
L
19712001-10-05 H.J. Lu <hjl@gnu.org>
1972
1973 * genscripts.sh: Fix a typo in the last change.
1974
ec38dd05
JJ
19752001-10-05 Jakub Jelinek <jakub@redhat.com>
1976
1977 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
1978 -z nocombreloc in usage.
1979
cedd6b0d
JB
19802001-10-03 Jim Blandy <jimb@redhat.com>
1981
1982 * genscripts.sh: Include a comment at the top of each generated
1983 script, explaining its purpose.
1984
8bd621d8
AM
19852001-10-03 Vassili Karpov <malc@pulsesoft.com>
1986
1987 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
1988 * NEWS: Mention -z nocopyreloc.
1989 * ld.texinfo (Options): Describe nocopyreloc.
1990
fcd8210c
AM
19912001-10-03 Alan Modra <amodra@bigpond.net.au>
1992
1993 * configure: Regenerate.
1994
d32820f2
AM
19952001-10-02 Alan Modra <amodra@bigpond.net.au>
1996
1997 * ldver.h (ld_program_version): Remove declaration.
1998 * lexsup.c (parse_args): Move printing of copyright message..
1999 * ldver.c (ldversion): .. to here.
2000 Use BFD_VERSION_STRING in place of BFD_VERSION.
2001 (ld_program_version): Remove.
2002 * Makefile.am (Makefile): Depend on bfd/configure.in.
2003 Run "make dep-am".
2004 * Makefile.in: Regenerate.
2005
af46bcdc
HPN
20062001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2007
2008 * Makefile.am: Update dependencies with "make dep-am".
2009 * Makefile.in: Regenerate.
2010
4818e05f 20112001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 2012
4818e05f
AM
2013 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
2014 * lexsup.c: Add --no-define-common commandline option.
2015 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
2016 * ldlex.l: Likewise.
2017 * ld.h: Add command_line.inhibit_common_definition.
2018 * ldmain.c (main): Initialize.
2019 * ld.texinfo: Document.
862517b6 2020
a59f3d35
AM
20212001-09-29 Alan Modra <amodra@bigpond.net.au>
2022
2023 * ldlang.c (section_already_linked): Remove assignment to kept_section.
2024
d5e0ebeb
AM
20252001-09-26 Alan Modra <amodra@bigpond.net.au>
2026
2027 * ldmisc.c (USE_STDARG): Remove.
2028 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2029 (einfo): Likewise.
2030 (minfo): Likewise.
2031 (lfinfo): Likewise.
2032
2033 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
2034 declarations. Update copyright.
2035
2f8d8971
NC
20362001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
2037
85c77458
NC
2038 * pe-dll.c: Remove obsoleted declaration of
2039 pe_get_data_import_dll_name.
2040 (pe_create_import_fixup): Fix thinko.
2041
2f8d8971
NC
2042 * ld.texinfo(enable-auto-import): Clarify the explanation.
2043
20442001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
2045
2046 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
2047 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
2048 DLL_SUPPORT controlled code.
2049
72358f65 20502001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 2051
72358f65
NC
2052 * emultempl/pe.em(pe_data_import_dll): Make static.
2053 (pe_get_data_import_dll_name): New accessor function.
146e7110 2054 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
2055 pe_get_data_import_dll_name() from pe.em, instead of
2056 directly accessing pe_data_import_dll variable from pe.em.
2057
3882b010
L
20582001-09-18 Bruno Haible <haible@clisp.cons.org>
2059
2060 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
2061 (def_file_add_directive): Use ISSPACE instead of isspace.
2062 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
2063 isdigit/isxdigit/isalpha/isalnum.
2064 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
2065 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
2066 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
2067 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
2068 isalnum.
2069 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
2070 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
2071 isupper/tolower.
2072 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
2073 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
2074 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
2075 (ctor_prio): Use ISDIGIT instead of isdigit.
2076 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
2077 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
2078 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
2079 isupper/tolower.
2080 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
2081 (stricpy): Use TOLOWER instead of isupper/tolower.
2082 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
2083 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
2084 (lex_warn_invalid): Use ISPRINT instead of isprint.
2085 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
2086 (main): For gettext, also set the LC_CTYPE locate facet.
2087 (add_keepsyms_file): Use ISSPACE instead of isspace.
2088 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
2089 (is_num, parse_args): Use ISDIGIT instead of isdigit.
2090 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
2091 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
2092 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
2093 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
2094 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
2095 (quoteput): Use ISSPACE instead of isspace.
2096 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
2097 instead of isalnum.
2098
db09f25b
AM
20992001-09-18 Alan Modra <amodra@bigpond.net.au>
2100
2101 * deffilep.y (def_stash_module): Constify "name" param.
2102
2103 * pe-dll.c: Replace CONST with const throughout.
2104 (quick_symbol): Constify "n1", "n2", "n3" params.
2105 (make_singleton_name_thunk): Constify "import" param. Make
2106 "buffer_len" a size_t.
2107 (make_import_fixup_entry): Constify "name", "fixup_name",
2108 "dll_symname" params.
2109 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
2110 (pe_get32): Likewise.
2111 (pe_implied_import_dll): Likewise.
2112
2113 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
2114 (sort_by_section_name): Likewise.
2115
2116 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
2117 (make_import_fixup): Cast printf arg, rel->address to long rather
2118 than int.
2119 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2120
74699268
AM
21212001-09-15 Alan Modra <amodra@bigpond.net.au>
2122
2123 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
2124 defines BufferSize. Increase buffer size by one.
2125
775cabad
NC
21262001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
2127
2128 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
2129
056a1d49
NC
21302001-09-14 Kevin Lo <kevlo@openbsd.org>
2131
2132 * configure.tgt: Add arm-openbsd target.
2133
a7d792bb
L
21342001-09-12 H.J. Lu <hjl@gnu.org>
2135
2136 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
2137 eelf64lppc.o to ...
2138 (ALL_64_EMULATIONS): Here.
2139 * Makefile.in: Regenerated.
2140
0d888aac
CW
21412001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2142
2143 * emultempl/pe.em(make_import_fixup): change signature to
2144 take asection as well as arelec; we need this for proper
146e7110 2145 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
2146 there is no attempt to add a constant addend to the reloc;
2147 otherwise, report error condition.
2148 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
2149 since final argument is a pointer to make_import_fixup().
2150 Change call to cb() to match make_import_fixup() signature.
2151 (make_import_fixup_mark): make buffer_len unsigned.
2152 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2153
21542001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
2155
2156 * ld.texinfo: add verbose documentation for auto-import
146e7110 2157 direct-addressing workaround, to compliment the terse
0d888aac
CW
2158 error message.
2159
cedacdc0
CM
21602001-09-12 Andrew MacLeod <amacleod@redhat.com>
2161
146e7110 2162 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 2163
3b16e843 21642001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
2165
2166 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
2167 * emulparams/h8300self.sh: Similarly.
2168
559e4713
NC
21692001-09-05 Danny Smith <dannysmith@users.souceforge.net>
2170
2171 * ld.texinfo (Options, --stack): Correct default value for stack
2172 reserve.
2173
1fdf0249
TR
21742001-09-05 Tom Rix <trix@redhat.com>
2175
2176 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 2177
9b5799b8
AJ
21782001-09-03 Andreas Jaeger <aj@suse.de>
2179
2180 * emultempl/beos.em: Declare prototypes for comparions functions,
2181 adjust definitions.
2182
48f6162b
AJ
21832001-09-02 Andreas Jaeger <aj@suse.de>
2184
2185 * emultempl/aix.em: Add missing prototype.
2186 * emultempl/lnk960.em: Likewise.
2187 * emultempl/vanilla.em: Likewise.
2188 * emultempl/armcoff.em: Likewise.
2189 * emultempl/armelf_oabi.em: Likewise.
2190 * emultempl/beos.em: Likewise.
2191 * emultempl/gld960c.em: Likewise.
2192 * emultempl/gld960.em: Likewise.
2193
2194 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
2195 for prototype declaration.
2196
39e5585e
EC
21972001-08-31 Eric Christopher <echristo@redhat.com>
2198 Jason Eckhardt <jle@redhat.com>
2199
2200 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2201
3fc90ddb
AJ
22022001-08-31 Andreas Jaeger <aj@suse.de>
2203
2204 * emultempl/pe.em: Add missing prototypes.
2205 (gld_${EMULATION_NAME}_after_open): Remove extra args to
2206 pe_find_data_imports.
2207 (pr_sym): Add unused attribute.
2208
d43ded80
PB
22092001-08-29 Joel Sherrill <joel@OARcorp.com>
2210
39e5585e 2211 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
2212 default from coff to elf.
2213
3946dd2f
JL
22142001-08-29 Jeff Law <law@redhat.com>
2215
2216 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
2217 ARCH specification.
2218 * emulparams/h8300self.sh: Similarly.
2219
3b16e843 22202001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
2221
2222 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
2223 eh8300self.o .
2224 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
2225 * configure.tgt (h8300-*-elf*): New case.
2226 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
2227 * emulparams/h8300self.sh: New file.
2228 * Makefile.in: Regenerated.
2229
70d0c6e9
NC
22302001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
2231
2232 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
2233 with macro name.
2234
5c67d4bb
AM
22352001-08-27 Linus Nordberg <linus@swox.com>
2236 Alan Modra <amodra@bigpond.net.au>
2237
2238 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
2239 (eelf64ppc.c, eelf64lppc.c): Add make targets.
2240 Run "make dep-am"
2241 * Makefile.in: Regenerate.
2242 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
2243 entries to correct alphabetical position.
2244 * emulparams/elf64ppc.sh: New.
2245 * emulparams/elf64lppc.sh: New.
2246
08131015
NC
22472001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
2248
2249 * ldmain.c (main): Declare BSIZE as static.
2250
db6751f2
JJ
22512001-08-23 Jakub Jelinek <jakub@redhat.com>
2252
2253 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
2254 into .rel.dyn resp. .rela.dyn if combreloc.
2255 (get_script): If .x linker script is equal to .xn, only put it
2256 once into the binary.
2257 Add .xc and .xsc scripts.
2258 (parse_args): Handle -z combreloc and -z nocombreloc.
2259 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
2260 For .xc and .xsc scripts put all .rel* or .rela* input sections
2261 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
2262 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
2263 is elf.
2264 Strip trailing whitespace from script.
2265 Generate .xc and .xsc scripts if requested.
2266 * ldmain.c (main): Initialize link_info.combreloc and
2267 link_info.spare_dynamic_tags.
2268 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
2269 (ld_options): Add --spare-dynamic-tags option.
2270 (parse_args): Likewise.
2271 * ld.texinfo: Document -z combreloc and -z nocombreloc.
2272 * ldint.texinfo: Document .xc and .xsc linker scripts.
2273 * NEWS: Add notes about -z combreloc and SHF_MERGE.
2274
63d069c0
L
22752001-08-22 H.J. Lu <hjl@gnu.org>
2276
2277 * emulparams/elf32fr30.sh: Add a newline.
2278
948f9114
AJ
22792001-08-21 Andreas Jaeger <aj@suse.de>
2280
2281 * deffilep.y: Add missing prototypes.
2282 * pe-dll.c: Likewise.
2283
ae7fb08f
AM
22842001-08-20 Alan Modra <amodra@bigpond.net.au>
2285
2af02257
AM
2286 * ldlang.c (insert_pad): Fix typos in last patch.
2287
2288 * ldlang.c: When traversing lang_statement_union_type lists,
2289 consistently use "header.next" rather than "next".
2290 * mpw-eppcmac.c: Likewise.
2291 * emultempl/beos.em: Likewise.
2292 * emultempl/hppaelf.em: Likewise.
2293 * emultempl/pe.em: Likewise.
2294 * ldlang.h (union lang_statement_union): Remove "next" field.
2295
c0c330a7
AM
2296 * ldlang.c (insert_pad): Use offsetof macro.
2297 (lang_size_sections): Always neuter padding statements.
2298 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
2299
ae7fb08f
AM
2300 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
2301 passed to lang_size_sections.
2302 (pe_exe_fill_sections): Likewise.
2303 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
2304 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
2305
fab80407
AM
23062001-08-18 Alan Modra <amodra@bigpond.net.au>
2307
2308 * emultempl/aix.em: Formatting fixes.
2309
b3327aad
AM
23102001-08-18 Alan Modra <amodra@bigpond.net.au>
2311
2312 * ldlang.c (insert_pad): Make use of an existing pad statement if
2313 available. Move code calculating alignment, adjusting section
2314 alignment power, and adjusting dot to ..
2315 (size_input_section): .. here. Remove unused relax param.
2316 (lang_size_sections): Change boolean `relax' param to boolean *.
2317 Adjust call to size_input_section. Make use of insert_pad to
2318 place pad after the assignment statement. If relaxing, zap
2319 padding statements.
2320 (reset_memory_regions): Reset output_bfd section sizes too.
2321 (relax_again): Move to..
2322 (lang_process): ..here. Adjust call to lang_size_sections, and
2323 remove duplicated code.
2324 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
2325
563e308f
AM
23262001-08-17 Alan Modra <amodra@bigpond.net.au>
2327
2328 * ld.texinfo: Document that fill values now use the four least
2329 significant bytes.
2330 * emulparams/elf32fr30.sh (NOP): Update.
2331 * emulparams/elf32mcore.sh: Likewise.
2332 * emulparams/elf64_s390.sh: Likewise.
2333 * emulparams/elf_i386.sh: Likewise.
2334 * emulparams/elf_i386_be.sh: Likewise.
2335 * emulparams/elf_i386_chaos.sh: Likewise.
2336 * emulparams/elf_i386_ldso.sh: Likewise.
2337 * emulparams/elf_s390.sh: Likewise.
2338 * emulparams/elf_x86_64.sh: Likewise.
2339 * emulparams/i386moss.sh: Likewise.
2340 * emulparams/i386nw.sh: Likewise.
2341 * emulparams/m68kelf.sh: Likewise.
2342 * scripttempl/elf.sc: Update NOP comment.
2343 * scripttempl/elfi370.sc: Likewise.
2344 * scripttempl/elfm68hc11.sc: Likewise.
2345 * scripttempl/elfm68hc12.sc: Likewise.
2346 * scripttempl/nw.sc: Likewise.
2347
b90e1c6f
TR
23482001-08-15 Tom Rix <trix@redhat.com>
2349
2350 * ldgram.y (saved_script_handle): Initialize to NULL.
2351 * ldmain.c (main): Change check on saved_script_handle.
948f9114 2352
39dcfe18
AM
23532001-08-14 Alan Modra <amodra@bigpond.net.au>
2354
cde43e70
AM
2355 * emultempl/elf32.em: Formatting fixes.
2356 (output_prev_sec_find): Test for bfd_ind_section too; do so by
2357 looking at sec->owner.
2358 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
2359 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
2360 unused code, and reorganize orphan section placement code.
2361
39dcfe18
AM
2362 * ldlang.c (wild_doit): Rename to lang_add_section.
2363 * ldlang.h: Here too.
2364 * mpw-elfmips.c: And here.
2365 * emultempl/beos.em: And here.
2366 * emultempl/elf32.em: And here.
2367 * emultempl/hppaelf.em: And here.
2368 * emultempl/pe.em: And here.
2369
908d20b3
RH
23702001-08-13 Richard Henderson <rth@redhat.com>
2371
2372 * emultempl/needrelax.em: New file.
2373 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
2374 * Makefile.am (eelf64_ia64.c): Depend on it.
2375 * Makefile.in: Rebuild.
2376
0f33d40b
AM
23772001-08-13 Alan Modra <amodra@bigpond.net.au>
2378
22af9fd3
AM
2379 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
2380 output_section is set non-NULL.
2381
0f33d40b
AM
2382 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
2383 `true' for SEC_EXCLUDE sections so that the generic code doesn't
2384 needlessly create an output_section_statement. Treat a correctly
2385 named output_section_statement with NULL bfd_section as compatible.
2386
55ab6103
HPN
23872001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
2388
2389 * emultempl/generic.em: Support EXTRA_EM_FILE.
2390 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
2391 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2392 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2393 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2394 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2395 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2396 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2397 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2398 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2399 LDEMUL_FIND_POTENTIAL_LIBRARIES.
2400
24098abb
RH
24012001-08-12 Richard Henderson <rth@redhat.com>
2402
2403 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
2404 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
2405 scripttempl/v850.sc: Keep .jcr data.
2406
b9a8de1e 24072001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
2408 Andrew Haley <aph@cambridge.redhat.com>
2409 Nick Clifton <nickc@redhat.com>
b9a8de1e 2410
146e7110 2411 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
2412 Change type to file handle.
2413 * ld.h (had_script): Rename and retype.
2414 * ldfile.c (ldfile_open_command_file): Save the file handle
2415 used in saved_script_handle.
2416 * lexsup.c (parse_args): Do not allow -c option to alter
2417 saved_script_handle.
2418 * ldmain.c (main): Print out the linker script used if
2419 --verbose is given. Check saved_script_handle to obtain the
2420 external linker script used, or if NULL, dump the builtin
2421 script.
2422 * ld.texinfo: Document that --verbose now dumps the linker
2423 script used, regardless of whether it was an internal or an
2424 external script.
2425
0218d1e4
AJ
24262001-08-10 Andreas Jaeger <aj@suse.de>
2427
2428 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2429 to build warnings.
2430 * configure: Regenerate.
2431
5253f23b
AM
24322001-08-09 Alan Modra <amodra@bigpond.net.au>
2433
73810896
AM
2434 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2435
5253f23b
AM
2436 * scripttempl/elf.sc: Move non-text .dynamic section before
2437 .plt/.got/.sdata* group.
2438 (OTHER_GOT_SECTIONS): Move to immediately after .got.
2439 (OTHER_SDATA_SECTIONS): Add.
2440 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
2441 OTHER_GOT_SECTIONS.
2442 * emulparams/crislinux.sh: Likewise.
2443 * emulparams/elf32b4300.sh: Likewise.
2444 * emulparams/elf32bmip.sh: Likewise.
2445 * emulparams/elf32bmipn32.sh: Likewise.
2446 * emulparams/elf32bsmip.sh: Likewise.
2447 * emulparams/elf32btsmip.sh: Likewise.
2448 * emulparams/elf32ebmip.sh: Likewise.
2449 * emulparams/elf32elmip.sh: Likewise.
2450 * emulparams/elf32l4300.sh: Likewise.
2451 * emulparams/elf32lmip.sh: Likewise.
2452 * emulparams/elf32lsmip.sh: Likewise.
2453 * emulparams/elf32ltsmip.sh: Likewise.
2454 * emulparams/elf64bmip.sh: Likewise.
2455 * emulparams/elf64btsmip.sh: Likewise.
2456 * emulparams/elf64ltsmip.sh: Likewise.
2457
179c732c
AM
24582001-08-08 Alan Modra <amodra@bigpond.net.au>
2459
2460 * genscripts.sh: Source the emulparams script before each output
2461 script is generated so that variables like `RELOCATING' may affect
2462 variables defined in the emulparams script.
2463
3fd36710
AM
24642001-08-04 Alan Modra <amodra@bigpond.net.au>
2465
20713691
AM
2466 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
2467 order.
2468
3fd36710
AM
2469 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2470 ie. iterate over wild_statement.section_list.
2471 (gld${EMULATION_NAME}_place_orphan): Likewise.
2472
de0b1853
SC
24732001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2474
2475 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2476 .fini[0-4] sections used by _exit
2477 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2478 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2479 * scripttempl/elfm68hc11.sc: Likewise.
2480
ff7e6f88
L
24812001-08-03 H.J. Lu <hjl@gnu.org>
2482
2483 * emultempl/beos.em (init): Add the missing initialization.
2484
b6bf44ba
AM
24852001-08-03 Alan Modra <amodra@bigpond.net.au>
2486
2487 * ld.texinfo (Input Section Basics): Clarify ordering of output
2488 sections.
2489 * ldlang.c (callback_t): Add wildcard_list param.
2490 (walk_wild_section): Remove "section" param. Rewrite for
2491 lang_wild_statement_type change. Remove unique_section_p test.
2492 (walk_wild_file): Remove "section" param.
2493 (walk_wild): Remove "section" and "file" params.
2494 (lang_gc_wild): Likewise.
2495 (wild): Likewise. Modify for lang_wild_statement_type change.
2496 (wild_sort): Likewise. Add "sec" param.
2497 (gc_section_callback): Likewise.
2498 (output_section_callback): Likewise. Do unique_section_p test.
2499 (map_input_to_output_sections): Modify call to wild.
2500 (lang_gc_sections_1): Likewise.
2501 (print_wild_statement): Modify for lang_wild_statement_type
2502 change.
2503 (lang_add_wild): Replace filename, filenames_sorted param with
2504 filespec. Replace section_name, sections_sorted,
2505 exclude_filename_list with section_list.
2506 * ldlang.h (lang_add_wild): Here too.
2507 (lang_wild_statement_type): Replace section_name, sections_sorted,
2508 and exclude_filename_list with section_list.
2509 * ldgram.y (current_file): Delete.
2510 (%union): Add wildcard_list.
2511 (file_NAME_list): Set type to wildcard_list. Build a linked list
2512 rather than calling lang_add_wild for each entry.
2513 (input_section_spec_no_keep): Call lang_add_wild here instead.
2514 * ld.h (struct wildcard_list): Declare.
2515 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2516
b044cda1
CW
25172001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2518
2519 * ldmain.c (main): initialize link_info.pei386_auto_import
2520 * pe-dll.c: new tables for auto-export filtering
2521 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2522 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2523 "by hand".
2524
25252001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2526
b6bf44ba
AM
2527 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2528 static variable current_sec (static struct sec *). Add
b044cda1 2529 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2530 (process_def_file): Don't export undefined symbols. Do not
2531 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2532 with new API.
2533 (pe_walk_relocs_of_symbol): New function.
2534 (generate_reloc): add optional extra debugging
b6bf44ba 2535 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2536 line in output
b6bf44ba 2537 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2538 (DATA auto-import support).
2539 (make_singleton_name_thunk): New function.
2540 (make_import_fixup_mark): New function.
2541 (make_import_fixup_entry): New function.
2542 (pe_create_import_fixup): New function.
b6bf44ba 2543 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2544 char *.
b6bf44ba
AM
2545 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2546 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2547 pe_create_import_fixup.
2548 * emultempl/pe.em: add new options --enable-auto-import,
2549 --disable-auto-import, and --enable-extra-pe-debug.
2550 (make_import_fixup): New function.
2551 (pe_find_data_imports): New function.
2552 (pr_sym): New function.
b6bf44ba 2553 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2554 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2555 CODE.
2556
25572001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2558
b044cda1
CW
2559 * ld.texinfo: add additional documentation for
2560 --export-all-symbols. Document --out-implib,
2561 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2562 --dll-search-prefix, --enable-auto-import, and
2563 --disable-auto-import.
b044cda1
CW
2564 * ldint.texinfo: Add detailed documentation on auto-import
2565 implementation.
2566
156e34dd
NC
25672001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2568
2569 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2570 example.
2571
d6231427
AM
25722001-07-24 Alan Modra <amodra@bigpond.net.au>
2573
2574 * Makefile.am: Update dependencies with "make dep-am".
2575 * Makefile.in: Regenerate
2576
e14ec88b
AM
25772001-07-23 Alan Modra <amodra@bigpond.net.au>
2578
2579 * ldcref.c (check_section_sym_xref): New function.
2580 (check_nocrossrefs): Call it.
2581 (check_nocrossref): Interate over h->refs here instead of..
2582 (check_refs): ..here. Pass in the symbol name, section, and bfd
2583 rather than hash_entry pointers.
2584 (struct check_refs_info): Keep symbol name rather than hash entry.
2585 Remove "same".
2586 (check_reloc_refs): Tweak for above changes in check_refs_info.
2587 Only report references to section syms when symname is NULL to
2588 prevent duplicate messages for the same reloc.
2589
1b577b00
NC
25902001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2591
c7d701b0
NC
2592 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2593 available. Do not print NULL trees.
2594 (exp_print_token): Print unknown tokens with values > 126 as
2595 decimal values not ASCII characters.
2596
1545243b
NC
2597 * ldlang.c (lang_leave_overlay): If a region is specified assign
2598 it to all sections inside the overlay unless they have been
2599 assigned to the own, non-default, memory region.
2600
1b577b00
NC
2601 * README: Add header for consistency with other README files.
2602
5030876b
L
26032001-07-14 H.J. Lu <hjl@gnu.org>
2604
2605 * emultempl/elf32.em (output_prev_sec_find): Never return
2606 bfd_abs_section_ptr, bfd_com_section_ptr nor
2607 bfd_und_section_ptr.
2608
18c7a9a5
NC
26092001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2610
22af9fd3 2611 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
2612 elf32.em.
2613 * Makefile.in: Regenerate.
2614
9ffecff1
MG
26152001-07-14 matthew green <mrg@eterna.com.au>
2616
2617 * configure.tgt (i386-*-netbsdelf*): New target.
2618 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2619
95500e1c
JJ
26202001-07-13 Jakub Jelinek <jakub@redhat.com>
2621
2622 * emultempl/elf32.em (output_prev_sec_find): New.
2623 (place_orphan): Use it.
2624
e97cb84f
L
26252001-07-11 H.J. Lu <hjl@gnu.org>
2626
2627 * ldmain.c (main): Fix typos in the last change.
2628
7333607e
JJ
26292001-07-11 Jakub Jelinek <jakub@redhat.com>
2630
2631 * ldmain.c (main): Disallow -F and -f without -shared.
2632
d29d80f2
NC
26332001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2634
2635 * emultempl/pe.em (after_open): Check for the output_bfd not
2636 having any coff_data structure allocated to it.
2637
c2a1a436
DB
26382001-07-09 David O'Brien <obrien@FreeBSD.org>
2639
2640 * emultempl/elf32.em: Do not assuming that contents of the buffer
2641 returned from basename function will remain unchanged accross other
2642 function calls.
2643
63653551
L
26442001-07-03 H.J. Lu <hjl@gnu.org>
2645
2646 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2647 2001-07-03. It creates dynamic entries even for static binaries.
2648
d303a449
L
26492001-07-03 Jakub Jelinek <jakub@redhat.com>
2650
2651 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2652 (DYNAMIC): Use it to reserve few dynamic entries for
2653 post-linking tools.
2654
9f22353f
AM
26552001-06-27 Alan Modra <amodra@bigpond.net.au>
2656
2657 * emulparams/hppa64linux.sh: New file.
2658 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2659 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2660 (ehppa64linux.c): Add rule to make it.
2661 Run "make dep-am".
2662 * Makefile.in: Regenerate.
2663
62bf86b4
HPN
26642001-06-21 Hans-Peter Nilsson <hp@axis.com>
2665
2666 * ld.texinfo (Options, -r): Mention restrictions when using
2667 different object formats.
2668
429d935d
HPN
26692001-06-19 Hans-Peter Nilsson <hp@axis.com>
2670
2671 * ldlang.c (lang_check): Emit fatal error if relocatable link
2672 between different object flavours with relocations in input.
2673
cb840a31
L
26742001-06-19 H.J. Lu <hjl@gnu.org>
2675
2676 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2677 (--version-script): Mention the language support.
2678
9bf03acc
L
26792001-06-19 H.J. Lu <hjl@gnu.org>
2680
2681 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2682
c45021f2
NC
26832001-06-18 H.J. Lu <hjl@gnu.org>
2684
b6bf44ba
AM
2685 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2686 (diststuff): Add $(MANS).
2687 * Makefile.in: Regenerated.
c45021f2 2688
b6bf44ba 2689 * ld.1: Removed.
c45021f2 2690
6caa99ab
HPN
26912001-06-18 Hans-Peter Nilsson <hp@axis.com>
2692
605d9b3a
HPN
2693 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2694 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2695 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2696 * ld.h (args_type): Remove member export_dynamic. All users
2697 changed to use struct bfd_link_info member.
2698
6caa99ab
HPN
2699 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2700 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2701 * Makefile.in: Regenerate.
2702
6f9efd97
L
27032001-06-18 H.J. Lu <hjl@gnu.org>
2704
2705 * ldlang.c (init_os): Add the newline to the einfo call.
2706 (lang_check): Likewise.
2707 (lang_do_version_exports_section): Likewise.
2708
5af9fd8b
L
27092001-06-15 H.J. Lu <hjl@gnu.org>
2710
2711 * lexsup.c (parse_args); Save optind to report unrecognized
2712 option.
2713
2a096f04
HPN
27142001-06-15 Hans-Peter Nilsson <hp@axis.com>
2715
7e66c3f5
HPN
2716 * ldlang.c (lang_check): Emit fatal error if relocatable link
2717 between different object flavours.
2718
2a096f04
HPN
2719 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2720 Set new link_info member export_dynamic.
2721 * ldmain.c (main): Initialize new link_info member export_dynamic.
2722
6770ec8c
NC
27232001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2724
2725 * ldlang.c (walk_wild): Only call walk_wild_file if
2726 lookup_name returns something.
b6bf44ba 2727 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 2728 (load_symbols): Change to a boolean function.
b6bf44ba 2729 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
2730 executable.
2731
8529105a
AM
27322001-06-08 Alan Modra <amodra@bigpond.net.au>
2733
2734 * ldlang.c (record_bfd_errors): Remove.
2735
2736 * emultempl/aix.em: Fix copyright dates.
2737
8f3aa7a0
AJ
27382001-06-07 Andreas Jaeger <aj@suse.de>
2739
2740 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2741 (TEXT_START_ADDR): Likewise.
2742
3277f888
AM
27432001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2744
2745 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2746
3763134d
DD
27472001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2748
2749 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2750
5929ebc0
L
27512001-05-31 H.J. Lu <hjl@gnu.org>
2752
2753 * ldlang.c (open_input_bfds): Don't change the bfd error
2754 handler whilst loading symbols.
2755
c04a062d
NC
27562001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2757
2758 * configure.tgt: Remove i370-mvs architecture, it is not currently
2759 supported.
2760
96fcab3e
L
27612001-05-25 H.J. Lu <hjl@gnu.org>
2762
2763 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2764 like emulparams/aixppc.sh.
2765
db8d4f23
L
27662001-05-25 H.J. Lu <hjl@gnu.org>
2767
2768 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2769 setting of output_filename after bfd_scan_arch.
2770 * emultempl/pe.em: Likewise.
2771
5f642101
L
27722001-05-25 H.J. Lu <hjl@gnu.org>
2773
2774 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2775 like emulparams/aixppc.sh.
2776
2777 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2778 instead of ${srcdir}/emultempl/stringify.sed.
2779
64e9ece0
TW
27802001-05-25 Timothy Wall <twall@oculustech.com>
2781
2782 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 2783 output.
64e9ece0 2784
c709b096
AM
27852001-05-25 Alan Modra <amodra@one.net.au>
2786
2787 * configure.host: Replace linuxoldld with linux*oldld.
2788 * configure.tgt: Likewise.
2789
6cbdcc6f
L
27902001-05-24 H.J. Lu <hjl@gnu.org>
2791
2792 * emultempl/stringify.sed: Removed again.
2793
86af25fe
L
27942001-05-24 H.J. Lu <hjl@gnu.org>
2795
2796 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2797 (gld${EMULATION_NAME}_before_parse): Initialize
2798 ldfile_output_architecture, ldfile_output_machine and
2799 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2800 * emultempl/beos.em: Likewise.
2801 * emultempl/elf32.em: Likewise.
2802 * emultempl/linux.em: Likewise.
2803 * emultempl/mipsecoff.em: Likewise.
2804 * emultempl/pe.em: Likewise.
2805 * emultempl/sunos.em: Likewise.
2806
3b1b01cf
TR
28072001-05-24 Tom Rix <trix@redhat.com>
2808
8f3aa7a0 2809 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
2810 udate import file format.
2811 (change_symbol_mode) New, same
2812 (is_syscall) New, same
2813 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2814 * emulparams/aixppc64.sh : same
2815 * emulparams/aixrs6.sh : same
2816 * emulparams/ppcmacos.sh : same
2817 * emultempl/aix.em : use strtoull to parse options
2818 * Makefile.am : add eaixppc64 emulation for xcoff64
2819 * Makefile.in : same
2820 * configure.tgt : same
2821
2822 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 2823 default data section offset to 0x20000000
3b1b01cf 2824 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 2825 loader and debug sections use the currect section offset.
3b1b01cf
TR
2826
2827 * emultempl/aix.em : Add xcoff64 support
2828 Add -binitfini support
8f3aa7a0 2829 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 2830 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 2831 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
2832 sections
2833
2834 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 2835
57e6abd2
AO
28362001-05-23 Alexandre Oliva <aoliva@redhat.com>
2837
2838 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2839 variable to avoid non-portable shell construct.
2840
d1cf510e
NC
28412001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2842
2843 * ldmain.c (get_emulation): Add -mips5 command line argument.
2844
506eee22
NC
28452001-05-22 Alexandre Oliva <aoliva@redhat.com>
2846
2847 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2848 (ELF_INTERPRETER_NAME): Define it.
2849 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2850 it.
2851 * configure.tgt (targ_emul, targ_extra_emuls)
2852 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2853 as primary, elf_i386 as extra.
2854 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2855 (eelf_i386_ldso.c): New rule.
2856 * Makefile.in: Rebuilt.
2857
28582001-05-22 Nick Clifton <nickc@redhat.com>
2859
2860 * lexsup.c (ld_options): Allow -I to be an alias for
2861 --dynamic-linker. This is for Solaris compatability.
2862 * ld.texinfo: Document that -I can be used.
2863 * ld.1: Regenerate.
2864
d1778b88
AM
28652001-05-16 Alan Modra <amodra@one.net.au>
2866
2867 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2868 whether an input section is the first one assigned to an output
2869 section.
2870 Assorted formatting fixes.
2871
02649152
DD
28722001-05-14 DJ Delorie <dj@delorie.com>
2873
2874 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2875 * Makefile.in: Ditto.
2876
579f31ac
JJ
28772001-05-11 Jakub Jelinek <jakub@redhat.com>
2878
2879 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2880 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2881 output sections.
2882 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2883
8550eb6e
JJ
28842001-05-11 Jakub Jelinek <jakub@redhat.com>
2885
2886 * ldlang.c (lang_process): Call bfd_merge_sections.
2887
8e5a525c
AM
28882001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2889
2890 * ldgram.y: Fix typo.
2891
1c9acd94
L
28922001-05-03 H.J. Lu <hjl@gnu.org>
2893
2894 * emultempl/elf32.em: Include "libiberty.h".
2895 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2896 basename of the bfd filename.
2897 (gld${EMULATION_NAME}_stat_needed): Likewise.
2898 (gld${EMULATION_NAME}_try_needed): Likewise.
2899 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2900
14fe918e
L
29012001-05-02 H.J. Lu <hjl@gnu.org>
2902
2903 * emultempl/pe.em: Include <ctype.h>.
2904
c7e40348
NC
29052001-05-02 Johan Rydberg <jrydberg@opencores.org>
2906
b6bf44ba 2907 * emulparams/elf32openrisc.sh: New file.
c7e40348 2908
b6bf44ba
AM
2909 * Makefile.am: Add OpenRISC target.
2910 * Makefile.in: Regenerated.
c7e40348 2911
b6bf44ba 2912 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
2913
29142001-05-02 Nick Clifton <nickc@redhat.com>
2915
2916 * emultempl/aix.em: Replace buystring with xstrdup.
2917 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 2918
d1b2b2dc
L
29192001-05-02 H.J. Lu <hjl@gnu.org>
2920
2921 * ldfile.c: Include "libiberty.h".
2922 * ldlex.l: Likewise.
2923
2924 * ldmisc.c (buystring): Removed.
2925 * ldmisc.h: Likewise.
2926
2927 * ldfile.c: Replace buystring with xstrdup.
2928 * ldlang.c: Likewise.
2929 * ldlex.l: Likewise.
2930 * ldmain.c: Likewise.
2931 * ldmisc.c: Likewise.
2932 * lexsup.c: Likewise.
2933 * mpw-eppcmac.c: Likewise.
2934
35714f2a
AJ
29352001-04-30 Andreas Jaeger <aj@suse.de>
2936
2937 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
2938
884fb58e
NC
29392001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2940
b6bf44ba
AM
2941 * ldlang.c (load_symbols): Give emulation a chance
2942 to process unrecognized file before fatal error is
2943 reported, not after.
884fb58e 2944
87748b32
NC
29452001-04-27 Sean McNeil <sean@mcneil.com>
2946
2947 * configure.tgt: Add arm-vxworks target.
2948 * scripttempl/armcoff.sc: Support .text or .data as a section name
2949 prefix.
2950 Define _etext.
35714f2a 2951
7ce691ae
C
29522001-04-13 J.T. Conklin <jtc@redback.com>
2953
2954 * ld.texinfo: Document --fatal-warnings.
2955 * ld.1: Regenerate.
2956
2957 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 2958 warnings have been turned into errors.
7ce691ae
C
2959 * lexsup.c (OPTION_WARN_FATAL): Define.
2960 (ld_options): Entry for --fatal-warnings.
2961 (parse_args): Handle OPTION_WARN_FATAL.
2962 * ld.h (ld_config_type): Add fatal_warnings field.
2963
f5fa8ca2
JJ
29642001-04-13 Jakub Jelinek <jakub@redhat.com>
2965
2966 * ldmain.c (main): Default to discard_sec_merge.
2967 * lexsup.c (OPTION_DISCARD_NONE): Define.
2968 (ld_options): Add --discard-none.
2969 (parse_args): Handle OPTION_DISCARD_NONE.
2970 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
2971 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
2972 all its input sections match.
2973
fdec3cfc
L
29742001-04-05 Steven J. Hill <sjhill@cotw.com>
2975
2976 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
2977 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
2978 (eelf32ltsmip.c): New target.
2979 (eelf64btsmip.c): Likewise.
2980 (eelf64ltsmip.c): Likewise.
2981 * Makefile.in: Regenerated.
2982
2983 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
2984 target.
2985 (mips*-*-linux-gnu*): Likewise.
2986
2987 * emulparams/elf32ltsmip.sh: New. Traditional little endian
2988 MIPS taget.
35714f2a 2989 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
2990 target.
2991 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
2992 endian target.
2993
589bad82
HPN
29942001-04-05 Hans-Peter Nilsson <hp@axis.com>
2995
2996 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
2997 correct value of __Stext here.
2998 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
2999 .startup section.
3000
3001 * emulparams/crislinux.sh: Remove FIXME.
3002
94202e16
AM
30032001-04-02 Alan Modra <alan@linuxcare.com.au>
3004
3005 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
3006 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
3007
1268a053
HPN
30082001-03-27 Hans-Peter Nilsson <hp@axis.com>
3009
3010 * configure.tgt (cris-*-*): Change default emulation to criself.
3011 (cris-*-*aout*): New rule.
3012
d85e9ff7
AM
30132001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
3014
3015 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
3016 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
3017
0879a67a
AJ
30182001-03-26 Andreas Jaeger <aj@suse.de>
3019
3020 * ld.texinfo (Overview): Fix syntax in texi code.
3021
0285c67d
NC
30222001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3023
3024 * ld.texinfo: Put @c man indications to generate the ld man page.
3025 When generating man, define all the variables. Define SEEALSO
3026 and SYNOPSIS. Re-organize some lines to avoid the cross references.
3027 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
3028 (ld.1): Generate from ld.texinfo.
3029 * Makefile.in: Regenerate.
3030
c20ec07b
NC
30312001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
3032
3033 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 3034 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 3035
cc5ce052
UD
30362001-03-17 Ulrich Drepper <drepper@redhat.com>
3037
3038 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
3039 is an absolute path look only for this file and not along the path.
3040
a1ab1d2a
UD
30412001-03-17 Ulrich Drepper <drepper@redhat.com>
3042
3043 * emultempl/elf32.em (OPTION_GROUP): New macro.
3044 Add new option Bgroup to longopts.
3045 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
3046 (gld*_list_options): Add -Bgroup and -z defs.
3047 * ld.1: Document -Bgroup and -z defs.
3048 * ld.texinfo: Likewise.
3049
788fca5a
MM
30502001-03-07 Michael Meissner <meissner@redhat.com>
3051
3052 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
3053 with sections created by -fdata-sections.
3054 (.dynbss,.bss): Ditto.
3055
1c7566d1
AM
30562001-03-05 Alan Modra <alan@linuxcare.com.au>
3057
3058 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
3059 after_allocation_default, not gld..._before_allocation.
3060
27b7e12d
AM
30612001-02-27 Alan Modra <alan@linuxcare.com.au>
3062
3063 * configure.in (BFD_VERSION): New.
3064 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3065 * configure: Regenerate.
3066 * Makefile.am: Run "make dep-am"
3067 * Makefile.in: Regenerate.
3068
2bc551c7
TW
30692001-02-26 Timothy Wall <twall@cygnus.com>
3070
3071 * emulparams/elf64_aix.sh: Add additional read-only sections;
3072 uncomment lines which are now required.
3073
1276aefa
NC
30742001-02-26 H.J. Lu <hjl@gnu.org>
3075
3076 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
3077 that problems can be caught whilst loading symbols.
3078 (record_bfd_errors): New function: Report BFD errors and mark
3079 the executable output as being invalid.
1276aefa 3080
41c49998
TW
30812001-02-22 Timothy Wall <twall@cygnus.com>
3082
3083 * configure.host: Add configuration for ia64-*-aix*.
3084 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
3085 Add dependencies for eelf64_aix.c.
3086 * Makefile.in: Regenerate.
3087 * configure.tgt: Add ia64-*-aix* mapping.
3088 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 3089 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
3090 AIX-specific test.
3091
78f85fd7
L
30922001-02-20 H.J. Lu <hjl@gnu.org>
3093
3094 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
3095 false if we found the file.
3096
1ac7e077 30972001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
3098
3099 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
3100 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
3101
e135f41b
NC
31022001-02-18 lars brinkhoff <lars@nocrew.org>
3103
3104 * Makefile.am: Add PDP-11 target.
3105 * configure.tgt: Likewise.
3106 * emulparams/pdp11.sh: New file.
3107
a842aceb
DB
31082001-02-17 David O'Brien <obrien@FreeBSD.org>
3109
3110 * configure.host: Add a generic FreeBSD configuration entry such that
3111 all [modern] FreeBSD systems on all platforms will look the same.
3112
24174db0
L
31132001-02-14 H.J. Lu <hjl@gnu.org>
3114
3115 * configure.tgt: Remove mention of earmelf_linux26.
3116
30c3c13a
RH
31172001-02-13 Richard Henderson <rth@redhat.com>
3118
3119 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
3120
b46a87b1
L
31212001-02-13 H.J. Lu <hjl@gnu.org>
3122
3123 * ldexp.h (node_type): Add etree_provided.
3124 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
3125 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 3126 for etree_provided.
b46a87b1
L
3127 (exp_print_tree): Handle etree_provided.
3128 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
3129 etree_provided.
3130
f3988fd9
RH
31312001-02-09 David Mosberger <davidm@hpl.hp.com>
3132
3133 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
3134 .IA_64.unwind.* pattern to unwind table section and
3135 .IA_64.unwind_info* pattern to unwind info section.
3136
a85d7ed0
NC
31372001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3138
3139 * Makefile.am: Add linux target for S/390.
3140 * Makefile.in: Likewise.
3141 * configure.host: Likewise.
3142 * configure.tgt: Likewise.
3143 * emulparams/elf64_s390.sh: New file.
3144 * emulparams/elf_s390.sh: New file.
3145
780248c4
JJ
31462001-02-09 Jakub Jelinek <jakub@redhat.com>
3147
3148 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
3149 targ_extra_libpath.
3150 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
3151
0e2534bd
PB
31522001-02-06 Philip Blundell <philb@gnu.org>
3153
3154 * Makefile.am: Remove mention of earmelf_linux26.
3155 * Makefile.in: Regenerate.
3156
46c1ea57
PB
31572001-02-04 Philip Blundell <philb@gnu.org>
3158
3159 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
3160 * emulparams/armelf_linux26.sh: Delete.
3161 * configure.tgt: Remove mention of armelf_linux26 emulation.
3162
0088edd2
NC
31632001-02-01 Nick Clifton <nickc@redhat.com>
3164
3165 * ld.1: Replace occurances of -oformat with --oformat.
3166
02aa14fb
AM
31672001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
3168
3169 * ldlang.c (lang_leave_overlay): Don't set lma_region when
3170 load_base is specified.
3171
f813923c
HPN
31722001-01-24 Hans-Peter Nilsson <hp@axis.com>
3173
3174 * emultempl/elf32.em: Correct spelling in comments and listed
3175 options.
3176
c1eb1488
AM
31772001-01-23 Alan Modra <alan@linuxcare.com.au>
3178
3179 * ldlang.c (lang_leave_overlay): Only set lma_region from the
3180 default for the first section of a group of overlay sections.
3181
d9fc3714
AM
31822001-01-22 Alan Modra <alan@linuxcare.com.au>
3183
3184 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
3185 * Makefile.in: Regenerate.
3186 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
3187 Check for null tool_dir.
3188
6be0ca94
JW
31892001-01-16 Jim Wilson <wilson@redhat.com>
3190
3191 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
3192 and IA_64.unwind.info.
3193
b9247304
L
31942001-01-16 H.J. Lu <hjl@gnu.org>
3195
3196 * ldlang.c (lang_check): Merge the private data only if the
3197 input file has contents.
3198
577a0623
AM
31992001-01-14 Alan Modra <alan@linuxcare.com.au>
3200
d952f17a
AM
3201 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
3202
ffd6e9de
AM
3203 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
3204 enabling search for libmilli. On a relocatable link, make .text
3205 sections unique.
3206 (LDEMUL_AFTER_PARSE): Define.
3207 (hppaelf_finish): Correct spelling of relocatable in comments.
3208
577a0623
AM
3209 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3210 rummage through the script for sections on the unique list.
3211 Correct length of strncmp for ".note".
3212 (gld${EMULATION_NAME}_check_needed): Rearrange function.
3213
3214 * ldlang.c (unique_section_list): New var.
3215 (unique_section_p): New function.
3216 (walk_wild_section): Don't match sections on unique_section_list.
3217 (lang_add_unique): New function.
ffd6e9de 3218 Correct spelling of relocatable in comments.
577a0623
AM
3219
3220 * ldlang.h (struct unique_sections): Declare.
3221 (unique_section_list): Declare.
3222 (unique_section_p): Declare.
3223 (lang_add_unique): Declare.
3224
3225 * lexsup.c (ld_options): Allow --unique to take an optional arg.
3226 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
3227
3228 * ld.texinfo (--unique): Update.
3229
b7ed8fad
NC
32302001-01-13 Nick Clifton <nickc@redhat.com>
3231
3232 * lexsup.c (parse_args): Remove spurious white space.
3233
d0398d6a
NC
32342001-01-12 Nick Clifton <nickc@redhat.com>
3235
3236 * lexsup.c (parse_args): Update copyright date.
3237
350fdb00
PB
32382001-01-12 Philip Blundell <pb@futuretv.com>
3239
3240 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
3241
60c6797e
KH
32422001-01-10 Kazu Hirata <kazu@hxi.com>
3243
3244 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
3245 * scripttempl/h8300h.sc: Fix formatting.
3246 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
3247 * scripttempl/h8500.sc: Likewise.
3248 * scripttempl/h8500b.sc: Likewise.
3249 * scripttempl/h8500c.sc: Likewise.
3250 * scripttempl/h8500m.sc: Likewise.
3251 * scripttempl/h8500s.sc: Likewise.
60c6797e 3252
482e8b32
DB
32532000-01-07 David O'Brien <obrien@BSDi.com>
3254
3255 * emultempl/elf32.em: Only perform Linux ld hints processing when
3256 targeting Linux.
3257
d7ed7ca6
PB
32582001-01-07 Philip Blundell <philb@gnu.org>
3259
3260 * ld.texinfo (Bug Reporting): Update email address for reports.
3261
0fc3347a
NC
32622000-12-31 Nick Clifton <nickc@redhat.com>
3263
3264 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
3265 options by checking for a return value of '?' not -1.
3266
e4897a32
NC
32672000-12-28 Nick Clifton <nickc@redhat.com>
3268
3269 * lexsup.c (struct ld_option): Add new enum value:
3270 EXACTLY_TWO_DASHES.
3271 (ld_options[]): Change -omagic, -output and -oformat options
3272 to be EXACTLY_TWO_DASHES.
3273 (OUTPUT_COUNT): Use ARRAY_SIZE.
3274 (parse_args): Change parameter 'argc' to unsigned.
3275 Place EXACTLY_TWO_DASHES options into new really_longopts
3276 array.
3277 If getopt_long_only fails, try calling getopt_long using the
3278 really_longopts array.
3279 (help): Print a double dash for both EXACTLY_TWO_DASHES and
3280 TWO_DASHES options.
3281
3282 * ldlex.h: Fix prototype of parse_args.
3283
3284 * ld.texinfo: Document that long options starting with 'o'
3285 must be preceeded by two dashes. Change example of a single
3286 dashed long option from -oformat to -trace-symbol.
3287
1122a5fc
NC
32882000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3289
3290 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
3291 (longopts[]): New --no-default-excludes option.
3292 (gld_${EMULATION_NAME}_list_options): Document.
3293 (gld_${EMULATION_NAME}_parse_args): Handle.
3294
037849a9
NC
32952000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3296
3297 * ldlang.c (new_stat): Revert the last beautification with "innocent"
3298 whitespace, it breaks the K&R C preprocessor.
3299
7ec229ce
DD
33002000-12-11 DJ Delorie <dj@redhat.com>
3301
3302 * ld.texinfo: Add notes about --whole-archive and gcc.
3303
b79e8c78
NC
33042000-11-18 Fred Fish <fnf@be.com>
3305
3306 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
3307 (ld_options): Entry for --allow-shlib-undefined.
3308 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
3309 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
3310 to false.
3311 * ld.texinfo: Document new command line switch.
d952f17a 3312
9a8e2505
GK
33132000-12-12 Geoffrey Keating <geoffk@redhat.com>
3314
3315 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
3316 .fixup is actually read/write.
3317 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3318 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3319 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3320
3b16e843 33212000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3322
3323 * NEWS: Add note about x86_64 architecture.
3324
93b63cd3
DD
33252000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3326
3327 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
3328 Set DWARF2 sections to a VMA of zero.
3329
68b2fc7a 33302000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 3331
d952f17a 3332 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
3333 New targets.
3334 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3335 (sparc*-*-rtems*): Switched from a.out to ELF.
3336
2be3aa03
NC
33372000-11-30 Jan Hubicka <jh@suse.cz>
3338
3339 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
3340 (eelf_x86_64.c): New.
3341 * Makefile.in: Regenerate.
3342 * configure.tgt: Add support for x86_64-*-linux-gnu*.
3343 * emulparams/elf_x86_64.sh: New.
3344
8c899858
HPN
33452000-11-30 Hans-Peter Nilsson <hp@axis.com>
3346
3347 * emulparams/crislinux.sh (ENTRY): Change back to _start.
3348 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
3349
3350 * scripttempl/crisaout.sc: Change all RELOCATING not related to
3351 merging non-a.out sections into CONSTRUCTING.
3352
e47b9e39
NC
33532000-11-28 Nick Clifton <nickc@redhat.com>
3354
3355 * ld.1 (COPYING): Mention that the GNU Free Documentation
3356 License is present in the sources, but not the output, and
3357 also available from the GNU website.
3358 (GNU Free Documentation License): Comment out this section.
3359
ad95f82a
DB
33602000-11-28 David O'Brien <obrien@dragon.nuxi.com>
3361
3362 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
3363 does not use them.
3364
fd89e65f
DB
33652000-11-25 David O'Brien <obrien@FreeBSD.org>
3366
3367 * ld.1: Remove old date so it does not give the impression the manpage
3368 is way out of date.
3369
077b8428
NC
33702000-11-24 Nick Clifton <nickc@redhat.com>
3371
3372 * configure.tgt (xscale-coff): Add target.
3373 (xscale-elf): Add target.
3374
49425d28
NC
33752000-11-24 Fred Fish <fnf@be.com>
3376
d952f17a
AM
3377 * ldmain.c (main): Remove redundant init of config.make_executable
3378 to true.
49425d28 3379
d3480244
RH
33802000-11-15 Richard Henderson <rth@redhat.com>
3381
3382 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
3383
1ce7de8b
KH
33842000-11-14 Kazu Hirata <kazu@hxi.com>
3385
3386 * scripttempl/h8300.sc: Fix formatting.
3387 * scripttempl/h8300h.sc: Likewise.
3388 * scripttempl/h8300s.sc: Likewise.
3389
3b16e843 33902000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
3391
3392 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
3393
2e418547
PB
33942000-11-09 Philip Blundell <pb@futuretv.com>
3395
3396 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
3397 around orphan sections whose names can be represented in C.
3398
c940e6fc
JW
33992000-11-07 Jim Wilson <wilson@redhat.com>
3400
3401 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
3402 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
3403
704c465c
NC
34042000-11-06 Nick Clifton <nickc@redhat.com>
3405
3406 * ld.texinfo: Add GNU Free Documentation License.
3407 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 3408 * ld.1: Add GNU Free Documentation License.
704c465c 3409
dca7760f
AM
34102000-11-05 Alan Modra <alan@linuxcare.com.au>
3411
3412 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
3413 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
3414
3415 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
3416 Move 2000-11-02 Makefile.in changes to this file.
3417 * Makefile.in: Regenerate.
3418
40a633d5
NC
34192000-11-03 Nick Clifton <nickc@redhat.com>
3420
3421 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
3422 constructors and destructors.
3423 * scripttempl/h8300h.sc: Ditto.
3424 * scripttempl/h8300s.sc: Ditto.
3425 * scripttempl/h8500.sc: Ditto.
3426 * scripttempl/h8500b.sc: Ditto.
3427 * scripttempl/h8500c.sc: Ditto.
3428 * scripttempl/h8500m.sc: Ditto.
3429 * scripttempl/h8500s.sc: Ditto.
3430 * scripttempl/v850.sc: Ditto.
3431 * scripttempl/w65.sc: Ditto.
3432 * scripttempl/z8000.sc: Ditto.
3433
59ff2774
NC
34342000-11-02 Per Lundberg <plundis@chaosdev.org>
3435
3436 * Makefile.in (e_i386_chaos.c): New rule.
3437 (ALL_EMULATIONS): Added e_i386_chaos.o.
3438 * emulparams/elf_i386_chaos.sh: New file.
3439 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
3440
645571e1
JJ
34412000-10-20 Jakub Jelinek <jakub@redhat.com>
3442
3443 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
3444 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
3445 Fix sed invocation, so that it coped with '/' in Solaris 64bit
3446 library path suffix.
3447 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
3448
c5975a45
HPN
34492000-10-18 Hans-Peter Nilsson <hp@axis.com>
3450
3451 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
3452 for consecutive sections.
3453
ea20a7da
CC
34542000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3455
d952f17a
AM
3456 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
3457 options.
3458 * ld.texinfo: Added notes about this new option.
ea20a7da 3459
6e45556a
NC
34602000-10-16 Nick Clifton <nickc@redhat.com>
3461
3462 * emultempl/pe.em (_after_open): Add tests of return values from
3463 bfd functions. Emit appropriate error messages if necessary.
3464
b9a69188
NC
34652000-10-13 Nick Clifton <nickc@redhat.com>
3466
3467 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
3468 local variables - they are not used, but leave in the call to
3469 bfd_canonicalize_symtab.
b9a69188
NC
3470 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3471 pe_dll_search_prefix.
3472
627427de 34732000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 3474
627427de
DD
3475 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3476 (longopts): New --dll-search-prefix option.
3477 (gld_${EMULATION_NAME}_list_options): Document.
3478 (gld_${EMULATION_NAME}_parse_args): Handle.
3479 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3480 dynamically, search for a dll named '<prefix><basename>.dll'
3481 in preference to 'lib<basename>.dll' if --dll-search-prefix
3482 is specified.
3483
24376d1b
AM
34842000-10-12 Alan Modra <alan@linuxcare.com.au>
3485
3486 * ldlang.c (section_already_linked): Set kept_section instead of
3487 sec->comdat->sec.
3488
e47d05ad
KH
34892000-10-10 Kazu Hirata <kazu@hxi.com>
3490
3491 * deffile.h: Fix formatting.
3492 * lexsup.c: Likewise.
3493 * mri.c: Likewise.
3494
23a87948
DD
34952000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3496
3497 * pe-dll.c (make_one): Do not generate code thunk for DATA
3498 exports.
3499 (process_def_file): deduce DATA flag for auto-export sumbols.
3500
86b1cc60
KH
35012000-10-09 Kazu Hirata <kazu@hxi.com>
3502
89cdebba
KH
3503 * ld.h: Fix formatting.
3504 * ldcref.c: Likewise.
3505 * ldctor.h: Likewise.
3506 * ldemul.c: Likewise.
3507 * ldemul.h: Likewise.
3508 * ldexp.c: Likewise.
3509 * ldexp.h: Likewise.
3510 * ldfile.c: Likewise.
3511 * ldfile.h: Likewise.
3512 * ldlang.c: Likewise.
3513 * ldlang.h: Likewise.
3514 * ldmain.c: Likewise.
7bfd51a3
KH
3515 * pe-dll.c: Likewise.
3516
3517 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3518
d643799d
KH
35192000-10-08 Kazu Hirata <kazu@hxi.com>
3520
3521 * pe-dll.c: Fix formatting.
3522
08da4cac
KH
35232000-10-05 Kazu Hirata <kazu@hxi.com>
3524
3525 * ldlang.c: Fix formatting.
3526
c2a94a7a
DD
35272000-10-03 DJ Delorie <dj@redhat.com>
3528
3529 * pe-dll.c (fill_edata): initialize entire block
3530 (make_one): fill in correct section.
3531
8c95a62e
KH
35322000-10-03 Kazu Hirata <kazu@hxi.com>
3533
3534 * ldexp.c: Fix formatting.
3535
486e80e2
DD
35362000-10-02 DJ Delorie <dj@redhat.com>
3537
3538 * emultempl/pe.em (gld_*_after_open): detect case where there two
3539 import libraries for same dll; rename one to ensure proper link
3540 order.
3541
3542 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3543 typo
3544 (generate_edata): fix typo
3545
24dd9f75
HPN
35462000-09-29 Hans-Peter Nilsson <hp@axis.com>
3547
3548 * scripttempl/crisaout.sc (ENTRY): Now __start.
3549 (.text): Add default setting for __start.
3550 Remove CONSTRUCTORS handling.
3551 (/DISCARD/): Add .gnu.warning.*.
3552 * emulparams/crislinux.sh (ENTRY): Now __start.
3553 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3554 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3555 (ENTRY): Now __start.
3556 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3557 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3558
4de2d33d
KH
35592000-09-29 Kazu Hirata <kazu@hxi.com>
3560
5cc18311
KH
3561 * deffile.h: Fix formatting.
3562 * ld.h: Likewise.
3563 * ldcref.c: Likewise.
4de2d33d 3564 * ldctor.c: Likewise.
5cc18311 3565 * ldctor.h: Likewise.
4de2d33d 3566 * ldemul.c: Likewise.
5cc18311 3567 * ldemul.h: Likewise.
4de2d33d 3568 * ldexp.c: Likewise.
5cc18311 3569 * ldexp.h: Likewise.
4de2d33d 3570 * ldfile.c: Likewise.
5cc18311 3571 * ldfile.h: Likewise.
4de2d33d 3572 * ldlang.c: Likewise.
5cc18311
KH
3573 * ldlang.h: Likewise.
3574 * lexsup.c: Likewise.
3575 * mri.c: Likewise.
3576 * pe-dll.c: Likewise.
4de2d33d 3577
45b1f63c
DD
35782000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3579
3580 * pe-dll.c (process_def_file): Uninitialized data wasn't
3581 exported with --export-all-symbols switch.
d952f17a 3582
45b1f63c
DD
35832000-09-28 DJ Delorie <dj@redhat.com>
3584
3585 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3586 noname work properly.
3587
47d89dba
AM
35882000-09-28 Alan Modra <alan@linuxcare.com.au>
3589
3590 * ld.texinfo (HPPA ELF32): New section.
3591
3592 * emultempl/hppaelf.em (group_size): New.
3593 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3594 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3595 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3596 options to prevent abbreviations matching.
3597 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3598 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3599
36bdbeec
NC
36002000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3601
3602 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3603 on the m68*-*-elf target. Make it support COFF input objects.
3604
6d5e62f8
KH
36052000-09-21 Kazu Hirata <kazu@hxi.com>
3606
3607 * ldmain.c: Fix formatting.
3608 * ldmisc.c: Likewise.
3609 * ldver.c: Likewise.
3610 * ldwrite.c: Likewise.
3611
e2eb67d9
AM
36122000-09-21 Alan Modra <alan@linuxcare.com.au>
3613
3614 * ldwrite.c (clone_section): Silence gcc warnings.
3615
b3ea3584
AM
36162000-09-20 Alan Modra <alan@linuxcare.com.au>
3617
3618 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3619 out of memory failure.
3620
3621 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3622 (clone_section): Handle out of memory failures. Rename var to
3623 avoid c++ reserved word.
3624
25f72752
AM
36252000-09-18 Alan Modra <alan@linuxcare.com.au>
3626
3627 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3628 stub_name param to stub_sec_name.
3629 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3630
0752970e
NC
36312000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3632
3633 * emultempl/m68kelf.em: New file.
3634 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3635 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3636 * Makefile.in: Regenerate.
3637
92b7e9d8
AM
36382000-09-15 Alan Modra <alan@linuxcare.com.au>
3639
3640 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3641 only as needed.
3642
9b14b192
NC
36432000-09-13 Nick Clifton <nickc@redhat.com>
3644
3645 * ldmain.c (multiple_definition): Disable relaxation if
3646 multiple symbol definitions are encountered - otherwise the
3647 linker could abort with an assertion failure.
3648
891fa266
NC
36492000-09-10 Nick Clifton <nickc@redhat.com>
3650
3651 * mri.c: Fix formatting.
3652
5d64ca4e
L
36532000-09-07 H.J. Lu <hjl@gnu.org>
3654
3655 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3656 * configure: Rebuild.
3657
dd94604f
L
36582000-09-07 H.J. Lu <hjl@gnu.org>
3659
3660 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3661 * Makefile.in: Rebuild.
3662
71bfc0ae
AM
36632000-09-07 Alan Modra <alan@linuxcare.com.au>
3664
3665 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3666 broken list handling. Create __start_SECNAME and __stop_SECNAME
3667 when no place-holder. Add some comments. Test both SEC_CODE and
3668 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 3669 Handle case where no output section statement created.
71bfc0ae 3670
4a428502
AO
36712000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3672
3673 * configure.tgt (sh-*-linux*): Added.
3674 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3675 * Makefile.in: Rebuilt.
3676 * emulparams/shelf_linux.sh: New file.
3677 * emulparams/shlelf_linux.sh: New file.
3678
f9989030
AM
36792000-09-06 Alan Modra <alan@linuxcare.com.au>
3680
3681 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3682 try shuffling sections when the orphan happens to be the place
3683 holder. Keep count of unique section names generated so we speed
3684 the search for a new name.
3685
58cccadb
AO
36862000-09-06 Alexandre Oliva <aoliva@redhat.com>
3687
3688 * configure: Rebuilt with new libtool.m4.
3689
5b343f5a
NC
36902000-09-05 Nick Clifton <nickc@redhat.com>
3691
3692 * Makefile.in: Regenerate.
3693 * aclocal.m4: Regenerate.
3694 * configure: Regenerate.
3695 * config.in: Regenerate.
3696 * po/ld.pot: Regenerate.
3697
3698 * ldint.texinfo: Remove CVS revision marker - it foils local
3699 comparisons.
3700
3701 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 3702
a854a4a7
AM
37032000-09-05 Alan Modra <alan@linuxcare.com.au>
3704
3231d22e
AM
3705 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3706 to stub section flags.
3707 (hppa_for_each_input_file_wrapper): New.
3708 (hppa_lang_for_each_input_file): New.
3709 (lang_for_each_input_file): Define to call above.
3710 (multi_subspace): New.
3711 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3712 (PARSE_AND_LIST_PROLOGUE): Define.
3713 (PARSE_AND_LIST_LONGOPTS): Define.
3714 (PARSE_AND_LIST_OPTIONS): Define.
3715 (PARSE_AND_LIST_ARGS_CASES): Define.
3716 (hppaelf_finish): Call elf32_hppa_set_gp.
3717 (hppaelf_set_output_arch): Remove.
3718 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3719
3720 * emulparams/hppalinux.sh (ELFSIZE): Define.
3721 (MACHINE): Define.
3722 (OTHER_READONLY_SECTIONS): Define.
3723 (DATA_PLT): Define.
3724 (GENERATE_SHLIB_SCRIPT): Define.
3725
5f992e62
AM
3726 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3727 to const throughout. Change `void *' to `PTR' throughout.
3728 (lang_memory_default): Function is local to file, add `static'.
3729
3730 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3731 (ehppalinux.c): Likewise.
3732 (earmelf.c): Likewise.
3733 (earmelf_linux.c): Likewise.
3734 (earmelf_linux26.c): Likewise.
3735 * Makefile.in: Regenerate.
3736
a854a4a7
AM
3737 * ld.h (ld_config_type): Add unique_orphan_sections.
3738 * lexsup.c (OPTION_UNIQUE): Define.
3739 (ld_options): Add "--unique".
3740 (parse_args): Handle it.
3741 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3742 search for an existing output section if unique_orphan_sections is
3743 set. Make use of bfd_get_unique_section_name rather than
3744 duplicating code here.
3745 * ld.texinfo: Describe --unique.
3746
3747 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3748 optional arg to split-by-file.
3749 (parse_args): Handle them.
3750 * ld.texinfo: Update description of these options.
3751 * ldwrite.c (clone_section): Pass in the section name. Replace
3752 local code with bfd_get_unique_section_name.
3753 (split_sections): Tidy code and comments. Use a list traversal
3754 more appropriate to the list construction. Handle cooked section
3755 sizes. Split when split_by_reloc reached rather than exceeded.
3756 Track section size and split when split_by_file reached. Fix
3757 link_order_tail (even though it's not used).
3758 (ldwrite): Modify condition for calling split_sections to suit
3759 changed split_by_reloc and split_by_file.
3760 * ldmain.c (main): Init config.split_by_reloc and
3761 config.split_by_file to -1.
3762 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3763 Change split_by_file to bfd_size_type.
3764
18e03609
NC
37652000-09-02 Nick Clifton <nickc@redhat.com>
3766
3767 * configure.in: Increase version number to 2.10.91.
3768 * NEWS: Mention new ability to support removal of duplicate DWARF2
3769 debug information.
3770 * configure: Regenerate.
3771 * aclocal.m4: Regenerate.
3772 * config.in: Regenerate.
3773
3a9d486c
NC
37742000-09-02 Daniel Berlin <dberlin@redhat.com>
3775
3776 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3777 sections.
a2b64bed 3778 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
3779 * scripttempl/elfd10v.sc: Ditto.
3780 * scripttempl/elfd30v.sc: Ditto.
3781 * scripttempl/elfi370.sc: Ditto.
3782 * scripttempl/elfm68hc11.sc: Ditto.
3783 * scripttempl/elfm68hc12.sc: Ditto.
3784 * scripttempl/elfi386beos.sc: Ditto.
3785 * scripttempl/v850.sc: Ditto.
50bbae35 3786
ac48eca1
AO
37872000-08-31 Alexandre Oliva <aoliva@redhat.com>
3788
3789 * acinclude.m4: Include libtool and gettext macros from the
3790 top level.
3791 * aclocal.m4, configure: Rebuilt.
3792
c13b1b77
NC
37932000-08-25 Nick Clifton <nickc@redhat.com>
3794
3795 * ldlang.c (open_output): When choosing the target for a
3796 particular endianness, do nothing if the target is not
3797 supported.
3798
dcb0bd0e
L
37992000-08-25 H.J. Lu <hjl@gnu.org>
3800
3801 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3802 check -rpath nor LD_RUN_PATH for cross link.
3803 * ld.texinfo: Document the change.
3804
5bcac8a4
HPN
38052000-08-24 Hans-Peter Nilsson <hp@axis.com>
3806
3807 * NEWS: Mention support for CRIS.
3808
6dd8c765
L
38092000-08-23 H.J. Lu <hjl@gnu.org>
3810
3811 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3812 the current runpath list from bfd_elf_get_runpath_list ()
3813 before search.
3814
ec4eb78a
L
38152000-08-22 H.J. Lu <hjl@gnu.org>
3816
3817 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3818 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3819 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3820 trace_file_tries is non-zero.
3821 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3822 if trace_file_tries is non-zero.
3823
3824 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 3825 * NEWS: Mention it.
ec4eb78a 3826
22b36938
JE
38272000-08-14 Jason Eckhardt <jle@cygnus.com>
3828
3829 * NEWS: Mention i860 support.
3830
d73e9da0
AS
38312000-08-14 Andreas Schwab <schwab@suse.de>
3832
3833 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 3834 syntax.
d73e9da0 3835
9ac4db9c
GK
38362000-08-10 Geoff Keating <geoffk@cygnus.com>
3837
3838 * scripttempl/elf.sc: Add a comment giving the correspondence
3839 between sections, per-datum sections, and linkonce sections. Make
3840 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3841 .sbss2.
3842
165589e4
JE
38432000-08-10 Jason Eckhardt <jle@cygnus.com>
3844
3845 * emulparams/elf32_i860.sh: New file.
3846 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3847 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3848 (eelf32_i860.c): New rule.
3849 * Makefile.in: Regenerate.
3850
345a835d
NC
38512000-08-10 Nick Clifton <nickc@cygnus.com>
3852
3853 * emulparams/mipspe.sh (ENTRY): Add definition.
3854
e374f1d9
NC
38552000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3856
3857 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3858 in error message.
3859
236d5abf
NC
38602000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3861
3862 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3863 the final size of .bss section.
3864 * scripttempl/elfm68hc12.sc: Likewise.
3865
4b209b22
AM
38662000-08-04 Alan Modra <alan@linuxcare.com.au>
3867
3868 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3869 gld${EMULATION_NAME}_parse_args for consistency. Combine
3870 lastoptind and prevoptind vars, and keep track of last optind.
3871 (gld_${EMULATION_NAME}_list_options): Rename to
3872 gld${EMULATION_NAME}_list_options.
3873
28423a68
AM
38742000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3875
3876 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3877 (i586-sco-sysv5uw7.1.0).
3878
b2009ff7
L
38792000-07-27 H.J. Lu <hjl@gnu.org>
3880
3881 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3882 (PARSE_AND_LIST_PROLOGUE): New.
3883 (PARSE_AND_LIST_LONGOPTS): Likewise.
3884 (PARSE_AND_LIST_OPTIONS): Likewise.
3885 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3886 (PARSE_AND_LIST_EPILOGUE): Likewise.
3887
04925e1e
AM
38882000-07-28 Alan Modra <alan@linuxcare.com.au>
3889
41392f03
AM
3890 * emultempl/armelf.em: Elide functions common to elf32.em,
3891 ie. most of the file.
3892 (arm_elf_after_open): New. Do arm specific things then call
3893 gld${EMULATION_NAME}_after_open.
3894 (arm_elf_before_allocation): New. Call
3895 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3896 (PARSE_AND_LIST_PROLOGUE): Define.
3897 (PARSE_AND_LIST_SHORTOPTS): Define.
3898 (PARSE_AND_LIST_LONGOPTS): Define.
3899 (PARSE_AND_LIST_OPTIONS): Define.
3900 (PARSE_AND_LIST_ARGS_CASES): Define.
3901 (LDEMUL_AFTER_OPEN): Define.
3902 (LDEMUL_BEFORE_ALLOCATION): Define.
3903 (LDEMUL_BEFORE_PARSE): Define.
3904 (LDEMUL_FINISH): Define.
3905
3906 * emultempl/hppaelf.em: Similarly zap most of this file.
3907 (hppaelf_add_stub_section): Prototype.
3908 (hppaelf_layaout_sections_again): Prototype.
3909 (hook_in_stub): Prototype.
3910 (LDEMUL_SET_OUTPUT_ARCH): Define.
3911 (LDEMUL_FINISH): Define.
3912 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
3913
3914 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
3915 (EXTRA_EM_FILE): New.
3916 * emulparams/armelf_linux.sh: Likewise.
3917 * emulparams/armelf_linux26.sh: Likewise.
3918 * emulparams/hppalinux.sh: Likewise.
3919 * emulparams/hppaelf.sh: Likewise.
3920 (NOP): Define.
3921
3922 * emultempl/elf32.em: Fix formatting.
3923 (EXTRA_EM_FILE): Source it.
3924 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
3925 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
3926 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
3927 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
3928 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
3929 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
3930 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
3931 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
3932 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
3933 allow functions in this file to be overridden.
3934 (PARSE_AND_LIST_SHORTOPTS): Handle it.
3935
3936 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
3937
04925e1e
AM
3938 * emultempl/elf32.em: Reorganize file.
3939
88cdf297
NC
39402000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
3941
3942 * emulparams/elf64alpha.sh: Implement "-taso" emulation
3943 specific option to fit 64-bit executable in the lower
3944 31-bit address range. This is done by changing start
3945 address of .interp (the very first section of executable)
3946 and then setting EF_ALPHA_32BIT elf header flag.
3947
20bccb34
NC
39482000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3949
3950 * emultempl/m68kcoff.em: New file.
3951 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
3952 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
3953 generic.em.
3954 * Makefile.in: Regenerate.
3955
699845ef
L
39562000-07-20 H.J. Lu <hjl@gnu.org>
3957
3958 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
3959 and "disable-new-dtags" to stop getopt from treating -d/-e as
3960 abbreviations for these options.
3961
6c1439be
L
39622000-07-20 H.J. Lu <hjl@gnu.org>
3963
3964 * ld.texinfo: Add documentation for --disable-new-dtags and
3965 --enable-new-dtags.
3966
3967 * ldmain.c (main): Initialize link_info.new_dtags to false.
3968
3969 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
3970 --disable-new-dtags and --enable-new-dtags.
3971 (gld_${EMULATION_NAME}_list_options): Likewise.
3972
28c309a2
NC
39732000-07-05 Kenneth Block <krblock@computer.org>
3974
a2b64bed
NC
3975 * lexsup.c: Add optional style to demangle switch
3976 * ld.texinfo: Document optional style to demangle switch.
50bbae35 3977
9d06555c
HPN
39782000-07-20 Hans-Peter Nilsson <hp@axis.com>
3979
3980 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
3981 ecrislinux.o.
3982 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
3983 Regenerate dependencies.
3984 * Makefile.in: Rebuild.
3985 * configure.tgt (cris-*-*): New target.
3986 * emulparams/crisaout.sh, emulparams/criself.sh,
3987 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
3988 * po/POTFILES.in, po/ld.pot: Regenerate.
3989
19e3be22
L
39902000-07-20 H.J. Lu <hjl@gnu.org>
3991
3992 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
3993 Print out ignored -z options.
3994
e0ee487b
L
39952000-07-19 H.J. Lu <hjl@gnu.org>
3996
19e3be22
L
3997 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
3998 (PARSE_AND_LIST_PROLOGUE): New.
3999 (PARSE_AND_LIST_LONGOPTS): Likewise.
4000 (PARSE_AND_LIST_OPTIONS): Likewise.
4001 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4002
4003 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
4004
4005 * lexsup.c (ld_options): Comment out 'z'.
4006 (parse_args): Likewise.
4007
4008 * emultempl/elf32.em: Include "elf/common.h".
4009 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
4010 options.
4011 (gld_${EMULATION_NAME}_list_options): Likewise.
4012
4013 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 4014
49e56c49
L
40152000-07-19 H.J. Lu <hjl@gnu.org>
4016
4017 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
4018 bfd_elf_set_dt_needed_soname ().
4019
9d68bc82
DD
40202000-07-18 DJ Delorie <dj@cygnus.com>
4021
4022 * pe-dll.c (pe_dll_id_target): check object target name also
4023
53db15ed
HPN
40242000-07-18 Hans-Peter Nilsson <hp@axis.com>
4025
4026 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
4027 ${INIT_END} if relocating.
4028 (.fini): Likewise ${FINI_START} and ${FINI_END}.
4029
0ad8cf4c
DD
40302000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
4031
a2b64bed 4032 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
4033 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
4034 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
4035 errors introduced by the old dynamic lib search order.
4036
874c8c99
DD
40372000-07-17 DJ Delorie <dj@cygnus.com>
4038
4039 * pe-dll.c (process_def_file): auto-export data items also
4040 (pe_process_import_defs): also see if _imp_ form needed
4041
5b4cf3f4
DD
40422000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
4043
4044 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
4045 for dll import libraries
4046
062739d1
NC
40472000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
4048
4049 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 4050 gcc 2.95.2 and later.
062739d1 4051
1c64c4ed
NC
40522000-07-11 Kazu Hirata <kazu@hxi.com>
4053
50bbae35
AM
4054 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
4055 message.
1c64c4ed 4056
b71e2778
AM
40572000-07-10 Alan Modra <alan@linuxcare.com.au>
4058
4059 * ldemul.h (struct lang_input_statement_struct): Remove forward
4060 declaration.
4061 (struct search_dirs): Likewise.
4062 * ldfile.h (struct lang_input_statement_struct): Likewise.
4063 Protect file from multiple inclusion.
4064 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
4065 declaration from macro to file scope.
4066
4067 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
4068 * ldgram.y: Likewise here.
4069 * ldlang.c: And here.
4070 * ldmain.c: And here.
4071 * mpw-elfmips.c: And here.
4072 * mpw-eppcmac.c: And here.
4073 * emultempl/aix.em: And here.
4074 * emultempl/armcoff.em: And here.
4075 * emultempl/armelf.em: And here.
4076 * emultempl/armelf_oabi.em: And here.
4077 * emultempl/beos.em: And here.
4078 * emultempl/elf32.em: And here.
4079 * emultempl/hppaelf.em: And here.
4080 * emultempl/linux.em: And here.
4081 * emultempl/lnk960.em: And here.
4082 * emultempl/pe.em: And here.
4083 * emultempl/sunos.em: And here.
4084 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
4085 * mpw-idtmips.c: Ditto.
4086 * emultempl/generic.em: Ditto.
4087 * emultempl/gld960.em: Ditto.
4088 * emultempl/gld960c.em: Ditto.
4089 * emultempl/mipsecoff.em: Ditto.
4090 * emultempl/ticoff.em: Ditto.
4091 * emultempl/vanilla.em: Ditto.
4092
4093 * pe-dll.c: Include ldfile.h
4094 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
4095
4096 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
4097 arguments to bfd_elf32_size_dynamic_sections call.
4098 (gldelf32ebmip_place_orphan): Add missing arguments to
4099 lang_leave_output_section_statement call.
4100
2ef53d66
L
41012000-07-10 H.J. Lu <hjl@gnu.org>
4102
4103 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
4104 DLL_SUPPORT.
4105 (strhash): Likewise.
4106 (compute_dll_image_base): Likewise.
4107 (pe_undef_found_sym): Likewise.
4108 (pe_undef_cdecl_match): Likewise.
4109 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
4110 argument "arch" with ATTRIBUTE_UNUSED.
4111
9a8cbb09
AM
41122000-07-10 Alan Modra <alan@linuxcare.com.au>
4113
4114 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
4115
4116 From Ryan Bradetich <rbradetich@uswest.net>
4117 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 4118
4900fc06
AM
41192000-07-09 Alan Modra <alan@linuxcare.com.au>
4120
4121 Changes to create multiple linker stubs, positioned immediately
4122 before the section where they are required.
4123 * emultempl/hppaelf.em: Include elf32-hppa.h.
4124 (stub_sec, file_chain): Delete.
4125 (hppaelf_create_output_section_statements): Don't make a stub
4126 section here.
4127 (hook_stub_info): New struct.
4128 (hook_in_stub): New function.
4129 (hppaelf_add_stub_section): New function.
4130 (hppaelf_finish): Do nothing for relocateable links. Modify the
4131 call to elf32_hppa_size_stubs. Move code for updating section
4132 layout from here...
4133 (hppaelf_layaout_sections_again): ..to here, a new function.
4134
4135 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
4136 broken list handling. Pass in a pointer to the list.
4137 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
4138 for above changes.
4139 (hppaelf_before_parse): Prototype.
4140 (hppaelf_set_output_arch): Prototype.
4141 (hppaelf_create_output_section_statements): Prototype.
4142 (hppaelf_delete_padding_statements): Prototype.
4143 (hppaelf_finish): Prototype.
4144
4145 Merge from elf32.em
4146 * emultempl/hppaelf.em: Include ctype.h.
4147 (struct orphan_save): New.
4148 (gld${EMULATION_NAME}_place_orphan): New.
4149 (output_rel_find): New.
4150 (hppaelf_get_script): Update from elf32.em.
4151 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
4152 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 4153 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
4154
4155 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
4156 ehppalinux.o, sort it. Regenerate dependencies.
4157 (ehppalinux.c): Depend on hppaelf.em
4158 * Makefile.in: Regenerate.
4159
4160 * configure.tgt: targ_emul=hppalinux for hppa*linux
4161
4162 * emulparams/hppalinux.sh: New.
4163 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
4164
227aeb07
AM
41652000-07-08 Alan Modra <alan@linuxcare.com.au>
4166
4167 * lexsup.c (parse_args): Copy section name.
4168
28609fd4 41692000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 4170
2ef53d66 4171 * emultempl/pe.em: institute the following search order for
602e90d3
DD
4172 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
4173 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
4174 static lib (libfoo.a) if none of the above are found.
4175
5f577f7d
DD
41762000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
4177
50bbae35 4178 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 4179 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 4180 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
4181 (gld_${EMULATION_NAME}_parse): Handle.
4182 (strhash): New static function.
50bbae35 4183 (compute_dll_image_base): New static function.
5f577f7d
DD
4184 (gld_${EMULATION_NAME}_set_symbols): Use.
4185
9a8cbb09 41862000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
4187
4188 * MAINTAINERS: new
4189
3548145d 41902000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
4191
4192 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
4193 * emulparams/elf32btsmip.sh: New file.
4194 * Makefile.am: Add traditional mips target.
4195 * Makefile.in: Rebuild.
4196
67798033
L
41972000-07-01 H.J. Lu <hjl@gnu.org>
4198
4199 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
4200 automake to use YLWRAP.
4201 * Makefile.in: Rebuild.
4202
0bdaf48b
AM
42032000-07-01 Alan Modra <alan@linuxcare.com.au>
4204
4205 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
4206 (CLEANFILES): Add DEPA.
4207 * Makefile.in: Regenerate.
4208
c9e769c2
TW
42092000-06-30 Timothy Wall <twall@ppc>
4210
4211 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
4212 the page in the upper octet of the address.
4213
65aa24b6
NC
42142000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4215
4216 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
4217
4667035e
AM
42182000-06-24 Alan Modra <alan@linuxcare.com.au>
4219
4220 * NEWS: arm-elf does --gc-sections too.
4221
1581f8c9
AM
42222000-06-22 Alan Modra <alan@linuxcare.com.au>
4223
4224 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
4225 find one.
4226 * Makefile.in: Regenerate.
4227
01580992
L
42282000-06-21 H.J. Lu <hjl@gnu.org>
4229
4230 * Makefile.am: Rebuild dependency.
4231 * Makefile.in: Rebuild.
4232
bbeb2e03
L
42332000-06-20 H.J. Lu <hjl@gnu.org>
4234
4235 * Makefile.am: Rebuild dependency.
4236 * Makefile.in: Rebuild.
4237
74459f0e
TW
42382000-06-20 Timothy Wall <twall@cygnus.com>
4239
4240 * scripttempl/tic54xcoff.sc: New.
4241 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
4242 * gen-doc.texi: Add flag for TI COFF.
4243 * ld.texinfo: Add documentation for TI COFF handling switches.
4244 * emultempl/ticoff.em: New. TI COFF handling.
4245 * configure.tgt: Add tic54x target.
4246 * Makefile.am: Add tic54x target.
4247 * Makefile.in: Ditto.
4248
2ab47eed
AM
42492000-06-20 Alan Modra <alan@linuxcare.com.au>
4250
4251 * ldmain.c (set_scripts_dir): Correct pointer comparison when
4252 checking for backslashes.
4253
919e4093
AM
42542000-06-19 Alan Modra <alan@linuxcare.com.au>
4255
4256 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
4257
987fd5b4
AM
42582000-06-18 Alan Modra <alan@linuxcare.com.au>
4259
4260 * NEWS: Update list of targets supporting --gc-sections.
4261
4262 * scripttempl/elf.sc: KEEP .eh_frame contents.
4263 * scripttempl/elfd30v.sc: Same here.
4264
60bcf0fa
NC
42652000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4266
4267 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
4268 and m68hc11 (elf).
4269 * Makefile.in: Rebuild.
4270 * configure.tgt: Recognize m68hc12 and m68hc11.
4271 * scripttempl/elfm68hc12.sc: New file.
4272 * emulparams/m68hc12elfb: New emulation.
4273 * emulparams/m68hc12elf: New emulation.
4274 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
4275 (includes a memory.x script to define the ROM and RAM banks).
4276 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
4277 New configuration files for support of Motorola 68hc11
4278
c7c54483
AM
42792000-06-15 Alan Modra <alan@linuxcare.com.au>
4280
4281 * ldmain.c (main): Only change SEC_READONLY for final link.
4282
bcef29e6
L
42832000-06-13 H.J. Lu <hjl@gnu.org>
4284
4285 * configure: Regenerate.
4286
946efd95
DB
42872000-06-08 David O'Brien <obrien@FreeBSD.org>
4288
4289 * configure.in (VERSION): Update to show this is the CVS mainline.
4290
57a6fd07
DB
42912000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4292
4293 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
4294 input objects to be ECOFF.
4295 (check_sections): einfo takes %B, not %P, to print a BFD name.
4296
e06cae36
L
42972000-06-05 Michael Matz <matz@ifh.de>
4298
4299 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 4300 version scripts.
e06cae36 4301
d952f17a 4302 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 4303
2f0b56c0
DC
43042000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
4305
4306 * emulparams/avr1200.sh (STACK): Define as 0.
4307 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
4308 * emulparams/avr4433.sh (STACK): Likewise.
4309 * emulparams/avr44x4.sh (STACK): Likewise.
4310 * emulparams/avr85xx.sh (STACK): Likewise.
4311 * emulparams/avrmega103.sh (STACK): Likewise.
4312 * emulparams/avrmega161.sh (STACK): Likewise.
4313 * emulparams/avrmega603.sh (STACK): Likewise.
4314 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
4315 (__stack): Define from ${STACK} for main().
4316
2114f57b
AM
43172000-05-26 Alan Modra <alan@linuxcare.com.au>
4318
4319 * Makefile.am: Update dependencies with "make dep-am"
4320 * Makefile.in: Regenerate.
4321
5af11cab
AM
43222000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
4323
4324 * ldmain.c: Include filenames.h.
4325 (set_scripts_dir): Support backslashes in program name.
4326
1f0df59a
NC
43272000-05-22 Igor Shevlyakov <igor@windriver.com>
4328
4329 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
4330 read-only, don't forget to reset SEC_READONLY because it
4331 could be already set.
1f0df59a 4332
176355da
NC
43332000-05-22 Thomas de Lellis <tdel@windriver.com>
4334
50bbae35
AM
4335 * ld.1: Add documentation for new command line option:
4336 --section-start <sectionname>=<sectionorg>
4337 This is a generic version of -Ttext etc. which accepts
4338 any section name as a parameter instead of just text/data/
4339 bss.
4340 * ld.texinfo: More docs.
4341 * NEWS: More docs.
4342 * lexsup.c: (parse_args): Recognize new command line option.
176355da 4343 (ld_options): Add new option.
50bbae35 4344
8c5ff972
L
43452000-05-18 H.J. Lu <hjl@gnu.org>
4346
4347 * lexsup.c (parse_args): `i' == `r', not `q'.
4348
3b16e843 43492000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
4350
4351 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
4352
a712da20
NC
43532000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
4354 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 4355
a712da20
NC
4356 Add support for '-q' == '--emit-relocs' switch.
4357 * ldmain.c (main): Default to false.
4358 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
4359 * NEWS: Describe the emitrelocations switch.
4360 * ld.texinfo: Describe the emitrelocations switch.
4361
690a460e
NC
43622000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
4363
a2b64bed 4364 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
4365 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
4366 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
4367 link options.
50bbae35 4368
c2f1343c
AM
43692000-05-15 David O'Brien <obrien@FreeBSD.org>
4370
4371 * lexsup.c (parse_args): Update the year in the copyright notice.
4372
897083bd
AM
43732000-05-13 Alan Modra <alan@linuxcare.com.au>
4374
4375 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
4376 Replace defines with those from intl/libgettext.h to quieten gcc
4377 warnings.
4378
cd4c806a
L
43792000-05-10 H.J. Lu <hjl@gnu.org>
4380
4381 * ldlang.c (open_input_bfds): Don't load the same file within
4382 a group again if the whole archive has been loaded already.
4383
93697284
AM
43842000-05-03 Alan Modra <alan@linuxcare.com.au>
4385
4386 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
4387 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
4388 strtoul.
4389
3b16e843 43902000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 4391
99a4150f 4392 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 4393
ebd6fc29
JW
4394 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4395 host "ia64-*-linux-gnu*".
4396
a1934524
AM
43972000-04-29 Andreas Jaeger <aj@suse.de>
4398
4399 * ld.h: Correctly check GCC version.
4400
3b16e843 44012000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
4402
4403 * Makefile.am: Add PA64 support. Add missing dependencies for
4404 PA32 elf support.
4405 * Makefile.in: Rebuilt.
4406 * configure.tgt: Add PA64 support (currently disabled).
4407
aea4bd9d
AM
44082000-04-25 Alan Modra <alan@linuxcare.com.au>
4409
4410 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
4411 (output_rel_find): New function.
4412 (hold_section, hold_use): Delete.
4413 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4414 hold_interp): Make local to place_orphan.
4415 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
4416 rather than place_section to find possible previous use of orphan.
4417 Similarly find the place-holder output sections. Use returned
4418 value from lang_enter_output_section_statement rather than calling
4419 lang_output_section_statement_lookup.
4420 * emultempl/armelf.em: Same here.
4421 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
4422
4423 * ldlang.c (lang_enter_output_section_statement): Return output
4424 section statement.
4425 * ldlang.h (lang_enter_output_section_statement): Change
4426 declaration too.
4427
4428 * ldlang.h (lang_output_section_statement): Export it.
4429 * ldlang.c (lang_output_section_statement): Ditto.
4430
2b5fc1f5
NC
44312000-04-24 Nick Clifton <nickc@cygnus.com>
4432
4433 * ld.texinfo (Output Section Data): Add note that section data
4434 commands cannot appear outside of section directives.
4435
d8475ff6
JL
44362000-04-2 Matthew Green <mrg@cygnus.com>
4437
4438 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
4439
3b16e843
NC
44402000-04-21 Richard Henderson <rth@cygnus.com>
4441 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
4442
4443 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
4444 (eelf64_ia64.c): New rule.
4445 * Makefile.in: Rebuild.
4446 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
4447 * emulparams/elf64_ia64.sh: New file.
50bbae35 4448
c9637625
RH
44492000-04-21 Richard Henderson <rth@cygnus.com>
4450
4451 * scripttempl/elfd30v.sc: Place .gcc_except_table.
4452
28ea9521
AM
44532000-04-19 Alan Modra <alan@linuxcare.com.au>
4454
4455 * dep-in.sed: Match space at start of file name, not at end.
4456
20d04697
L
44572000-04-18 H.J. Lu <hjl@gnu.org>
4458
4459 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
4460 lang_leave_output_section_statement () after calling
4461 lang_enter_output_section_statement ().
4462 * emultempl/armelf.em: Likewise.
4463
5ba47421
AM
44642000-04-18 Alan Modra <alan@linuxcare.com.au>
4465
4466 * emultempl/elf32.em (struct orphan_save): Add section field.
4467 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
4468 better order, and place first orphan section as we did before the
4469 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4470 Don't call make_bfd_section here, let wild_doit do the job for us.
4471 Don't build a statement list when we'll only throw it away.
4472 * emultempl/armelf.em: Ditto.
4473 * emultempl/pe.em: Similarly.
4474
bdbe5705
GK
44752000-04-14 Geoff Keating <geoffk@cygnus.com>
4476
4477 * scripttempl/elfppc.sc: Remove.
4478 * emulparams/elf32ppc.sh: Use elf.sc.
4479 * emulparams/elf32lppc.sh: Use elf.sc.
4480 * emulparams/elf32ppclinux.sh: Use elf.sc.
4481 * emulparams/elf32ppcsim.sh: New file.
4482 * emulparams/elf32lppcsim.sh: New file.
4483 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4484 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4485 * Makefile.in: Regenerate.
4486 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4487
01cc8ff8
AM
44882000-04-14 Alan Modra <alan@linuxcare.com.au>
4489
5ba47421 4490 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 4491 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
4492 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4493 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
4494 Also set all relocateable section start addresses.
4495
6c86c541
GK
44962000-04-13 Geoff Keating <geoffk@cygnus.com>
4497
4498 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4499 Add new BSS_PLT variable for when .plt need not be contained in
4500 the file. Move _etext so that it is also after .fini, and provide
4501 both etext and _etext with a leading underscore. Mark the start
4502 and end of .sbss.
4503
6a345e87
AM
45042000-04-12 Alan Modra <alan@linuxcare.com.au>
4505
4506 * emultempl/elf32.em (struct orphan_save): New.
4507 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4508 hold_interp): Make them struct orphan_save.
4509 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4510 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4511 the end of the relevant section list. Also add associated section
4512 statements to the end of any previous orphan statements.
4513 * emultempl/armelf.em: Similarly.
4514 * emultempl/pe.em: Similarly.
4515
8be86746
AM
45162000-04-11 Alan Modra <alan@linuxcare.com.au>
4517
4518 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4519
3b16e843 45202000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4521
a2d91340 4522 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4523 --enable-build-warnings option.
a2d91340
AC
4524 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4525 * Makefile.in, configure: Re-generate.
4526
41b49281
AM
45272000-04-04 Alan Modra <alan@linuxcare.com.au>
4528
8ad3436c
AM
4529 * po/ld.pot: Regenerate.
4530
4531 * lexsup.c (help): Restore translated part of bug string.
4532
41b49281
AM
4533 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4534 (DEP): Quote when passing vars to sub-make. Add warning message
4535 to end.
4536 (DEP1): Rewrite for "gcc -MM".
4537 (CLEANFILES): Add DEP2.
4538 Update dependencies.
4539 * Makefile.in: Regenerate.
4540
c20f4f8c
AM
45412000-04-03 Alan Modra <alan@linuxcare.com.au>
4542
4543 * ld.h: #include "bin-bugs.h"
4544 * lexsup.c (help): Use REPORT_BUGS_TO.
4545
adde6300
AM
45462000-03-27 Denis Chertykov <denisc@overta.ru>
4547
4548 * configure.tgt (avr-*-*): New target support.
4549 * Makefile.am: Likewise.
4550 * scripttempl/elf32avr.sc: New script file.
4551 * emulparams/avr1200.sh: New file.
4552 * emulparams/avr23xx.sh: New file.
4553 * emulparams/avr4433.sh New file.
4554 * emulparams/avr44x4.sh New file.
4555 * emulparams/avr85xx.sh New file.
4556 * emulparams/avrmega103.sh New file.
4557 * emulparams/avrmega161.sh New file.
4558 * emulparams/avrmega603.sh New file.
4559 * Makefile.in: Regenerate.
4560
9282ff41
L
45612000-03-09 Andreas Jaeger <aj@suse.de>
4562
4563 * Makefile.am (check-DEJAGNU): Also unset LANG.
4564 * Makefile.in: Rebuild.
4565
a9998805
ILT
45662000-03-06 Ian Lance Taylor <ian@zembu.com>
4567
4568 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4569 archive.
4570
f9bc20e7
NC
45712000-03-02 H.J. Lu <hjl@gnu.org>
4572
4573 * emulparams/elf32mcore.sh: Include "getopt.h".
4574
4e277b38
ILT
45752000-03-01 Ian Lance Taylor <ian@zembu.com>
4576
4577 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4578
f0c87f88
NC
45792000-03-01 H.J. Lu <hjl@gnu.org>
4580
4581 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4582 * emulparams/shpe.sh: Likewise.
4583
45842000-03-01 Nick Clifton <nickc@cygnus.com>
4585
4586 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4587 to unused parameters.
4588
4589 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4590 functions only used by DLL code.
4591 (_place_orphan): Initialise 'dollar'.
4592
b6f29aaa
L
45932000-03-01 H.J. Lu <hjl@gnu.org>
4594
4595 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4596 indicate if the undefined symbol is a fatal error or not.
4597 Don't delete the output file if "fatal" is false.
4598
af28fce3
L
45992000-02-29 H.J. Lu <hjl@gnu.org>
4600
50bbae35 4601 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
4602 Set LC_COLLATE and LC_ALL to null and export them. It is for
4603 sort which expects the C locale.
4604 Add $(LIBS) to all $(HOSTING_LIBS).
4605 * Makefile.in: Rebuild.
4606
40d109bf
AM
46072000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4608
4609 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4610 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4611 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4612 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4613 find_potential_libraries.
4614
db5be682
JB
46152000-02-28 Jim Blandy <jimb@redhat.com>
4616
4617 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 4618 list entries; the lexer considers commas to be valid part of a
db5be682
JB
4619 filename, so in something like `foo, bar' the comma is considered
4620 part of the first filename, `foo,'.
4621 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4622
3558ff4c
ILT
46232000-02-27 Loren J. Rittle <ljrittle@acm.org>
4624
4625 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4626 host "i[3456]86-*-freebsdelf*".
4627
4eee2681
ILT
46282000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4629
4630 * scripttempl/i386go32.sc: Move misplaced semicolons.
4631
8d75d12d
ILT
46322000-02-25 Ian Lance Taylor <ian@zembu.com>
4633
4634 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4635 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4636 (eelf64hppa.c, ehppaelf.c): Remove targets.
4637 * Makefile.in: Rebuild.
4638
a1836d49
AO
46392000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4640
ad51fb57
AO
4641 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4642 GNU/Linux/sparc, but keep the default as 32.
4643
a1836d49
AO
4644 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4645 it default if sparcv9 or sparc64.
4646
344a211f
NC
46472000-02-24 Nick Clifton <nickc@cygnus.com>
4648
4649 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4650 * Makefile.in: Regenerate.
4651 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4652
4653 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4654 find_potential_libraries.
4655 * ldemul.c (ldemul_find_potential_libraries): New function.
4656
4657 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 4658 exported.
344a211f
NC
4659 (ldfile_open_file): Call ldemul_find_potential_libraries.
4660 * ldfile.h: Add prototype for ldfile_open_file_search.
4661
4662 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4663
4664 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4665 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4666
4667 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4668 (gld_X_find_potential_libraries): New function. Search for
4669 libraries called "*.lib".
4670
a2b64bed 4671 * scripttempl/pe.sc: Add .pdata section.
344a211f 4672
eaba1dd3
RH
46732000-02-23 Richard Henderson <rth@cygnus.com>
4674
4675 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4676 Add and use memory regions.
4677
5b93d8bb
AM
46782000-02-23 Linas Vepstas (linas@linas.org)
4679
4680 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4681
4682 * Makefile.am: Add support for Linux/IBM 370.
4683 * configure.tgt: Likewise.
4684
4685 * Makefile.in: Regenerate.
4686
f6af82bd
AM
46872000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4688
4689 * ldlang.c (print_input_section, print_data_statement,
4690 print_reloc_statement, print_padding_statement, insert_pad,
4691 size_input_section, lang_check_section_addresses,
4692 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 4693 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
4694 (lang_do_assignments): Also change `size' to unsigned.
4695
9e673ad1
RH
46962000-02-16 Richard Henderson <rth@cygnus.com>
4697
4698 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4699
562d3460
TW
47002000-02-16 Timothy Wall <twall@cygnus.com>
4701
4702 * mri.c (mri_draw_tree): Add default LMA region argument to call
4703 to lang_leave_output_section_statement.
4704 * ldlang.h: Update prototypes with LMA region arguments.
4705 * ldlang.c (lang_size_sections): Encapsulate region bounds
4706 checking in os_check_region call.
4707 (os_check_region): New function.
4708 (lang_output_section_statement_lookup): Initialize lma_region.
4709 (lang_leave_output_section_statement): Add LMA region argument.
4710 (lang_leave_overlay): Ditto.
4711 * ldgram.y: Handle LMA region syntax.
4712 * ld.texinfo (Output Section Description): Describe LMA region usage.
4713 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 4714 lma region in call to lang_leave_output_section_statement.
562d3460 4715 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 4716 lma region in call to lang_leave_output_section_statement.
562d3460 4717 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 4718 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
4719
4720
9e4ed18c
TW
47212000-02-04 Timothy Wall <twall@redhat.com>
4722
4723 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4724 octets when calculating section end addresses.
4725
32edc927
TW
47262000-02-04 Timothy Wall <twall@redhat.com>
4727
4728 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4729
4cbfc3ac
TW
47302000-02-03 Timothy Wall <twall@redhat.com>
4731
a2b64bed 4732 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 4733 octet count.
a2b64bed 4734 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
4735 print_reloc_statement, print_padding_statement): Print target
4736 address values and section sizes as bytes, not octets.
4737 (insert_pad) Calculate padding size in octets, and adjust "dot"
4738 by bytes.
4739 (size_input_section) Always adjust "dot" by bytes, not octets.
4740 (lang_check_section_addresses, lang_do_assignments) Adjust
4741 "dot" by bytes, not octets. Use the larger of the directive size
4742 or octets_per_byte for the number of octets actually allocated in
4743 the output section.
4744 (lang_set_startof) Make sure STARTOF returns a target address.
4745 (lang_one_common) Record size changes in octets.
4746 (lang_abs_symbol_at_end_of) Section end symbol's value is
4747 recorded in target bytes.
68b2fc7a 4748 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 4749 to be clear about behavior when an octet is smaller than one byte.
50bbae35 4750
305c7206
AM
47512000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4752
4753 * ldcref.c (output_cref): Don't pass message strings to printf
4754 as format arg.
4755 Update copyright.
4756
4757 * ldmisc.c (vfinfo): Same here.
4758 Update copyright.
4759
e1c47aa4
AM
47602000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4761
4762 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4763 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4764 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4765 Add missing NULL initialisers, and comments.
4766
4767 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4768
13392b77
NC
47692000-01-21 Nick Clifton <nickc@cygnus.com>
4770
4771 * ldlang.c (lang_size_sections): Fix typo in comment.
4772
cce4c4c5
NC
47732000-01-18 H.J. Lu <hjl@gnu.org>
4774
4775 * ldlang.c (lang_size_sections): Also update the current
4776 address of a region if the SEC_NEVER_LOAD bit is not set.
4777
0decc840
NC
47782000-01-10 Philip Blundell <pb@futuretv.com>
4779
4780 * configure.tgt (arm*-*-conix*): New target.
4781
4e53152f
NC
47822000-01-07 Nick Clifton <nickc@cygnus.com>
4783
4784 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
4785 line switches with -Wl, (or whatever is appropriate) if it is
4786 being invoked by a comnpiler driver program.
50bbae35 4787 Fix description of the behaviour of the -n command line switch.
4e53152f 4788
3b16e843 47892000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
4790
4791 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4792 (name_list): New.
4793 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4794 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4795 (exclude_name_list): New.
4796 ldlang.c (walk_wild_section): Support list of excluded files.
4797 (print_wild_statement): Likewise.
4798 (lang_add_wild): Likewise.
4799 * ldlang.h (lang_wild_statement_type): Likewise.
4800 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 4801
5aaace27
NC
48022000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4803
870df5dc
NC
4804 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4805 (process_def_file): Use.
4806 (pe_dll_compat_implib): New variable.
4807 (make_one): Use.
50bbae35 4808
870df5dc
NC
4809 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4810 pe_dll_compat_implib.
50bbae35
AM
4811
4812 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
4813 compat-implib options.
4814 (gld_${EMULATION_NAME}_list_options): List new options.
4815 (gld_${EMULATION_NAME}_parse_args): Handle.
4816
50bbae35 4817 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 4818 dll.
50bbae35
AM
4819
4820 * deffilep.y (opt_name): Allow "." in name.
5aaace27 4821
2f6d2f85 4822For older changes see ChangeLog-9899
252b5132
RH
4823\f
4824Local Variables:
4825mode: change-log
4826left-margin: 8
4827fill-column: 74
4828version-control: never
4829End:
This page took 0.388279 seconds and 4 git commands to generate.