* write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
c89e8944
AM
12002-08-28 Alan Modra <amodra@bigpond.net.au>
2
3 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
4 strtoul and strtoull with bfd_scan_vma.
5 (gld${EMULATION_NAME}_read_file): Likewise.
6
6459ecfa
AM
72002-08-28 Alan Modra <amodra@bigpond.net.au>
8
9 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
10
ad5211be
NC
112002-08-27 Egor Duda <deo@logos-m.ru>
12
13 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
14 Add symbols for application to access them.
15
88f7bcd5
NC
162002-08-27 Nick Clifton <nickc@redhat.com>
17
18 * emultempl/armelf.em: Revert this patch, it is not needed.
19
20 2002-08-22 Adam Nemet <anemet@lnxw.com>
21
8e523c23
NC
222002-08-20 Dan Kegel <dank@kegel.com>
23
24 * configure.in: added --with-lib-path argument to ld's configure
25 to set LIB_PATH.
26 * ld/NEWS: Document new switch.
27 * ld/README: Mention new switch.
28 * configure: Regenerate.
29 * Makefile.in: Regenerate.
30
31 Based on this patch:
32 2001-04-25 Christopher Faylor <cgf@cygnus.com>
33
34 * Makefile.in (LIB_PATH): Make configurable.
35 (GENSCRIPTS): Set LIB_PATH in environment.
36 * configure.in: Substitute LIB_PATH.
37
d9a7f7ab
NC
382002-08-22 Adam Nemet <anemet@lnxw.com>
39
40 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
41 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
42 depending on the type of the function.
43 (arm_elf_convert_thumb_symbol_to_address): New function.
44
ed71e111
NC
452002-08-22 Graeme Peterson <gp@qnx.com>
46
47 * Makefile.am: Add esh{l}elf_nto.o files.
48 * Makefile.in: Regenerate.
49 * configure.tgt: Add support for sh-**-nto* targets.
50 * emulparams/shelf_nto.sh: New file.
51 * emulparams/shlelf_nto.sh: New file.
52
7abb6dea
AM
532002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
54
55 * ldlang.c (offsetof): Define if not defined.
56
e9229007
L
572002-08-14 H.J. Lu <hjl@gnu.org>
58
59 * configure.tgt: Always enable 64bit emulations for 32bit
60 Linux/mips.
61
c553bb91
AM
622002-08-13 Alan Modra <amodra@bigpond.net.au>
63
64 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
65 (MAXPAGESIZE): Set to 1.
66
67 * ld.h (ALIGN_N): Delete.
68 * ldexp.h (align_n): Declare.
69 * ldexp.c (align_n): New function.
70 (fold_binary): Use align_n instead of ALIGN_N.
71 (exp_fold_tree): Likewise.
72 * ldlang.c (lang_size_sections_1): Likewise.
73 (lang_one_common): Likewise.
3c6706bb 74 * ld.texinfo (ALIGN): Remove power of 2 restriction.
c553bb91 75
59bc061d
NC
762002-07-31 Graeme Peterson <gp@qnx.com>
77
78 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
79 * Makefile.am: Add eelf32{l}ppcnto.o files.
80 * Makefile.in: Regenerate.
81 * emulparams/elf32lppcnto.sh: New file.
82 * emulparams/elf32ppcnto.sh: New file.
83
31941635
L
842002-08-07 H.J. Lu <hjl@gnu.org>
85
86 * ld.texinfo: Document --no-undefined-version.
87
88 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
89 `script.' fields to 0.
90
91 * ldmain.c (main): Initialize the allow_undefined_version to
92 true.
93
94 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
95 (ld_options): Add --no-undefined-version.
96 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
97
2004afbc
NC
982002-08-07 Nick Clifton <nickc@redhat.com>
99
100 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
101 an interworking bfd if there are input bfds. (107501)
102
7fc44b9c
AM
1032002-08-06 Alan Modra <amodra@bigpond.net.au>
104
105 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
106 2002-05-10 change.
107
24a1ba0f
NC
1082002-08-01 Nick Clifton <nickc@redhat.com>
109
110 * emulparams/armelf.sh: Revert previous delta.
111 * scripttempl/elf.sc: Revert previous delta.
112
ebc6e014
L
1132002-07-31 H.J. Lu <hjl@gnu.org>
114
115 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
116 --enable-64-bit-bfd.
117
39a2a3eb
L
1182002-07-31 H.J. Lu <hjl@gnu.org>
119
120 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
121 64bit BFD is selected.
122
a0dfa6a8
L
1232002-07-31 H.J. Lu <hjl@gnu.org>
124
125 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
126 if 64bit BFD is selected.
127
f7c33884
NC
1282002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
129
130 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
131 link_info.common_skip_ar_aymbols.
132 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
133
134 * ldmain.c (main): Initialize new field
135 link_info.common_skip_ar_aymbols.
136
8f64befb
NC
1372002-07-31 Adam Nemet <anemet@lnxw.com>
138
139 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
140 to .plt.thumb.
141 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
142 used.
143
500800ca
NC
1442002-07-31 Nick Clifton <nickc@redhat.com>
145
146 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
147 of the PDP-11 and 2.11BSD a.out support.
148
7808a785
TS
1492002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
150
151 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
152 for n32 ABI support.
153 * Makefile.in: Regenerate.
154 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
155 n32 ABI emulations for these 64 bit targets.
156 * emulparams/elf32bmipn32.sh: Expand comment.
157 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
158 n32 ABI.
159 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
160
7e392df6
NC
1612002-07-30 Graeme Peterson <gp@qnx.com>
162
163 * configure.tgt: Add support for arm-*-nto target.
164 * Makefile.am: Add earmnto.o file.
165 * Makefile.in: Regenerate.
166 * NEWS: Mention port of ARM support to QNX.
167 * emulparams/armnto.sh: New file.
168
704afa60
JJ
1692002-07-30 Jakub Jelinek <jakub@redhat.com>
170
171 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
172 for relocatable link.
173 (lang_size_sections_1): Don't make .tbss zero size for relocatable
174 link.
175
7dcd22c2
BS
1762002-07-26 Bernd Schmidt <bernds@redhat.com>
177
178 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
179 (STACK_ADDR): New.
180
219576a4
NC
1812002-07-25 Nick Clifton <nickc@redhat.com>
182
183 * po/sv.po: Updated Swedish translation.
184 * po/es.po: Updated Spanish translation.
185 * po/fr.po: Updated French translation.
186
ff3063f5
NC
1872002-07-24 Nick Clifton <nickc@redhat.com>
188
189 * po/sv.po: Updated Swedish translation.
190 * po/es.po: Updated Spanish translation.
191
0461a601
NC
1922002-07-23 Nick Clifton <nickc@redhat.com>
193
ff3063f5 194 * po/fr.po: Updated French translation.
0461a601 195
25844aae
AM
1962002-07-20 Alan Modra <amodra@bigpond.net.au>
197
198 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
199 bomb on /DISCARD/ input section.
200 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
201 * emultempl/mmo.em (mmo_place_orphan): Likewise.
202
3595bd6e
HPN
2032002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
204
205 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
206 output section.
207
cf88bb9f
NC
2082002-07-16 Denis Chertykov <denisc@overta.ru>
209 Nick Clifton <nickc@redhat.com>
210 Frank Ch. Eigler <fche@redhat.com>
211 John Healy <jhealy@redhat.com>
212
213 * configure.tgt: Add support for ip2k-elf.
214 * Makefile.am: Add support for ip2k-elf.
215 * Makefile.in: Regenerate.
216 * emulparams/elf32ip2k.sh: New file.
217 * scripttempl/ip2k.sc: New file
218 * NEWS: Mention support for new port.
219
2cbb2eef
NC
2202002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
221
222 * NEWS: Add 'Changes in 2.13'.
223
96a94295
L
2242002-07-14 H.J. Lu <hjl@gnu.org>
225
226 * ld.texinfo: Document a .symver takes precedence over a
227 version script.
228
120d20f2
AM
2292002-07-12 Alan Modra <amodra@bigpond.net.au>
230
231 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
232 (COMMONPAGESIZE): Define.
233
0d2ddeb2
AM
2342002-07-09 Alan Modra <amodra@bigpond.net.au>
235
236 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
237
554690ed
AM
2382002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
239
240 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
241 powerpc-*-openbsd* and sparc64-*-openbsd*.
242 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
243 * Makefile.in: Regenerate.
244 * emulparams/hppaobsd.sh: New file.
245
34786259
AM
2462002-07-05 Alan Modra <amodra@bigpond.net.au>
247
248 * ldlang.c (print_wild_statement): Fix output formatting.
249
4bd5a393
AM
2502002-07-04 Alan Modra <amodra@bigpond.net.au>
251
252 * ldlang.c: (strip_excluded_output_sections): New function.
253 (lang_process): Call it.
254 (lang_size_sections_1): Revert 2002-06-10 change.
255
ce4f7385
AM
2562002-07-03 Alan Modra <amodra@bigpond.net.au>
257
258 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
259 Run "make dep-am".
260 * Makefile.in: Regenerate.
261
b7b482a3
AM
2622002-07-02 Alan Modra <amodra@bigpond.net.au>
263
71daf8b4
AM
264 * ldfile.c (ldfile_try_open_bfd): Formatting.
265
b7b482a3
AM
266 * ldmisc.c (demangle): Move so that it doesn't intrude between
267 vfinfo comment and body. Add comment.
268
29e2951e
AM
2692002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
270
271 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
272
e3e942e9
AM
2732002-07-01 Alan Modra <amodra@bigpond.net.au>
274
275 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
276 * ldlang.c (entry_sym): Likewise.
277 (ldlang_undef_chain_list_type): Likewise.
278 (lang_finish): Adjust references to entry_symbol.
279 (lang_add_entry): Likewise.
280 (lang_gc_sections): Use link_info.gc_sym_list.
281 (lang_process): Set link_info.gc_sym_list.
282 * ldlex.l: Include bfdlink.h.
283 * ldmain.c (main): Init link_info.gc_sym_list.
284 * emultempl/aix.em: Adjust references to entry_symbol.
285 * emultempl/armcoff.em: Likewise.
286 * emultempl/armelf.em: Likewise.
287 * emultempl/pe.em: Likewise.
288 * emultempl/ppc64elf.em (ppc_after_open): New function.
289 (LDEMUL_AFTER_OPEN): Define.
290 * emulparams/elf64ppc.sh: KEEP .opd sections.
291
a66c0f2c
SC
2922002-06-29 Stephane Carrez <stcarrez@nerim.fr>
293
294 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
295 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
296 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
297 (EEPROM_START_ADDR): Define.
298 (EEPROM_MEMORY): Define.
299 * emulparams/m68hc12elf.sh: Likewise.
300 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
301 section to put soft registers in .page0.
302 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
303
2b67cf00
JL
3042002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
305
306 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
307 section. Add ${RELOCATING-0}.
308
219576a4 3092002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
164c4054
JR
310
311 * emulparams/shelf.sh (STACK_ADDR): Don't define.
312 (OTHER_SECTIONS): Define.
313 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
314 (OTHER_SECTIONS): Undef.
315
fc28fbc2
AM
3162002-06-26 Alan Modra <amodra@bigpond.net.au>
317
318 * ldmisc.c (demangle): Restore dots stripped from sym name.
319
a13a0de8
L
3202002-06-25 H.J. Lu <hjl@gnu.org>
321
322 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
323 * Makefile.in: Regenerated.
324
b553b183
NC
3252002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
326
327 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
328 the size of attached object files, to allow make the object files
329 available via FTP or HTTP and to mention that the mail will be
330 sent to a mailing list.
331
2755afba
NC
3322002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
333
334 * ld/configure.host (romp): Drop support.
335
7d0a848e
CD
3362002-06-18 Chris Demetriou <cgd@broadcom.com>
337
338 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
339 section flags for SEC_DATA, rather than for SEC_CODE being unset.
340
8505f884
CD
3412002-06-18 Chris Demetriou <cgd@broadcom.com>
342
343 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
344 format specifier used to print BFD name.
345
7d553a40
DB
3462002-06-18 Dave Brolley <brolley@redhat.com>
347
348 From Catherine Moore, Michael Meissner, Jim Blandy:
349 * emulparams/elf32frv.sh: New file.
350 * configure.tgt: Support frv-*-*.
351 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
352 (eelf32frv.c): New target.
353
82434356
TR
3542002-06-17 Tom Rix <trix@redhat.com>
355
a59f3d35 356 * emultempl/elf32.em: gld*_get_script: Check for
82434356
TR
357 GENERATE_COMBRELOC_SCRIPT.
358 * scripttempl/elfd10v.sc : Fix STACK and INSN.
359 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
360
219576a4 3612002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
5d9b5481
JR
362
363 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
364
c4bb8067
L
3652002-06-12 H.J. Lu <hjl@gnu.org>
366
367 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
368 false if xvec doesn't match.
369
e052cfbe
RS
3702002-06-10 Richard Sandiford <rsandifo@redhat.com>
371
372 * ldlang.c (lang_size_sections_1): Skip removed output sections.
373
4da711b1
AM
3742002-06-08 Alan Modra <amodra@bigpond.net.au>
375
376 * ldexp.c: Replace CONST with const.
377 * ldfile.c: Likewise.
378 * ldfile.h: Likewise.
379 * ldlex.l: Likewise.
380 * mri.c: Likewise.
381 * pe-dll.h: Likewise.
382
eb95bb9a
AM
3832002-06-07 Alan Modra <amodra@bigpond.net.au>
384
385 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
386
e0076ab3
NC
3872002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
388
389 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
390 to -1 == implicit enable.
391 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
392 initialize link_info.pei386_auto_import to -1 == implicit
393 enable.
394 (gld_${EMULATION_NAME}_parse_args): When processing
395 --enable-auto-import and --disable-auto-import options, use
396 '1' and '0' instead of 'true' and 'false'.
397 (pe_find_data_imports): Only issue message about auto-import
398 when the feature is implicitly enabled. Downgrade message to
399 informational instead of warning.
400
f13a5424
AM
4012002-06-07 Alan Modra <amodra@bigpond.net.au>
402
403 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
404
1abffd82
JL
4052002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
406
407 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
408 HOSTING_CRT0 and HOSTING_LIBS.
409
e0076ab3 4102002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
7a33bc10
JR
411
412 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
413
4a5e698d
JT
4142002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
415
416 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
417 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
418
1d475d82
AM
4192002-06-05 Alan Modra <amodra@bigpond.net.au>
420
421 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
422 SEC_EXCLUDE sections when doing a relocatable link.
423
5b0e55b6
JT
4242002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
425
426 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
427 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
428 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
429 (eshlelf64_nbsd.c): New rules.
430 * Makefile.in: Regenerate.
431 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
432 (sh64-*-netbsd*): New targets.
433 * emulparams/shelf32_nbsd.sh: New file.
434 * emulparams/shelf64_nbsd.sh: New file.
435 * emulparams/shlelf32_nbsd.sh: New file.
436 * emulparams/shlelf64_nbsd.sh: New file.
437
9ad85d9b
AM
4382002-06-04 Alan Modra <amodra@bigpond.net.au>
439
440 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
441
0c9b4fee
MM
4422002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
443
444 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
445 C++ constructors/destructors, loosely based on the m68hc11 port.
446
2c538bde
AM
4472002-05-31 Alan Modra <amodra@bigpond.net.au>
448
449 * Makefile.in: Regenerate.
450 * aclocal.m4: Regenerate.
451 * config.in: Regenerate.
452 * configure: Regenerate.
453
a0cb91c6
AM
4542002-05-31 Graeme Peterson <gp@qnx.com>
455
456 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
457 (ei386nto.c): Add rule.
458 * Makefile.in: Regenerate.
459 * configure.tgt: Add i[3456]86-*-nto-qnx*.
460 * emulparams/i386nto.sh: New file.
461
37020578
JT
4622002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
463
464 * NEWS: Add entry for VAX ELF support.
465
ab68f3e0 4662002-05-29 Matt Thomas <matt@3am-software.com>
a59f3d35 467 Jason Thorpe <thorpej@wasabisystems.com>
ab68f3e0
JT
468
469 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
470 (eelf32vax.c)
471 (evaxnbsd.c): New rules.
472 * Makefile.in: Regenerate.
473 * configure.tgt (vax-*-netbsdelf*)
474 (vax-*-netbsdaout*)
475 (vax-*-netbsd*): New targets.
476 * emulparams/elf32vax.sh: New file.
477 * emulparams/vaxnbsd.sh: New file.
478
8afb0e02
NC
4792002-05-29 Adam Nemet <anemet@lnxw.com>
480
481 * emultempl/armelf.em (arm_elf_after_open): Don't determine
482 bfd_for_interwork, instead add glue sections to each input bfd.
483 (bfd_for_interwork): New global.
484 (arm_elf_set_bfd_for_interworking): New function.
485 (arm_elf_before_allocation): Use it.
486
d172d4ba
NC
4872002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
488
489 * Makefile.am: Add DLX make target.
490 * configure.tgt: Add DLX configuration.
491 * Makefile.in: Regenerate.
492 * emulparams/elf32_dlx.sh: New file
493 * scripttempl/dlx.sc: New file
494
b4477fa8
NC
4952002-05-27 Per Lundberg <per@caleb.dnsalias.org>
496
497 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
498 * Makefile.in: Regenerate.
499 * emulparams/elf_chaos.sh: Use elf_chaos script.
500 * scripttempl/elf_chaos.sc: New file.
501
ee3cc2e2
RS
5022002-05-27 Richard Sandiford <rsandifo@redhat.com>
503
504 * ldlang.c (lang_size_sections_1): Move check for conflicting load
505 addresses and regions from here...
506 (lang_get_regions): ...to this new function.
507 (lang_leave_output_section_statement): Use lang_get_regions.
508 (lang_leave_overlay): Likewise.
509 * mri.c (mri_draw_tree): Pass null as last argument to
510 lang_leave_output_section_statement.
511 * emultempl/elf32.em (gld*_place_orphan): Likewise.
512 * emultempl/mmo.em (mmo_place_orphan): Likewise.
513 * emultempl/pe.em (gld*_place_orphan): Likewise.
514
aa501e5c
JT
5152002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
516
517 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
518
658957db
KH
5192002-05-25 Kazu Hirata <kazu@cs.umass.edu>
520
521 * ldemul.c: Fix formatting.
522 * ldfile.c: Likewise.
523 * pe-dll.c: Likewise.
524 * pe-dll.h: Likewise.
525
3511b595
AM
5262002-05-25 Alan Modra <amodra@bigpond.net.au>
527
0d6d936f
AM
528 * ldlang.c (lang_process): Formatting, grammar.
529
3511b595
AM
530 * ldlex.l: Use #include "" instead of <> for local header files.
531
436e8db0
NC
5322002-05-24 TAMURA Kent <kent@netbsd.org>
533
534 * configure.tgt: Add a target for i386-netbsdpe.
535
13ae64f3
JJ
5362002-05-23 Jakub Jelinek <jakub@redhat.com>
537
538 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
539 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
540 output section if necessary. Handle .tbss.
541 (lang_size_sections): Clear _raw_size for .tbss section
542 (it allocates space in PT_TLS segment only).
543 * ldwrite.c (build_link_order): Build link order for .tbss too.
544
68b2fc7a
AM
5452002-05-23 Alan Modra <amodra@bigpond.net.au>
546
547 * configure.in: Correct spelling of AC_PREREQ.
548
70b0be79
CF
5492002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
550
551 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
552 default.
553 (autofilter_objlist): Add crtbegin.o, crtend.o.
554
5552002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
556
557 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
558 (longopts): Add new option --exclude-libs.
559 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
560 (gld_${EMULATION_NAME}_parse_args): Use it.
561 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
562 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
563 from whole archives.
564 (pe_dll_add_excludes): Set excludes->type.
565 (auto_export): Add new variable libname and set to archive basename if
566 abfd. Use it when filtering default and user-specified libarary
567 excludes. Let string "ALL" mean all libs when filtering user-specified
568 libs.
569 * ld.texinfo: Document --exclude-libs.
570
fac1652d
AM
5712002-05-22 Alan Modra <amodra@bigpond.net.au>
572
573 * ldemul.c (ldemul_new_vers_pattern): New function.
574 * ldemul.h (ldemul_new_vers_pattern): Declare.
575 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
576 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
577 * emultempl/ppc64elf.em (dotsyms): New static var.
578 (gld${EMULATION_NAME}_new_vers_pattern): New function.
579 (LDEMUL_NEW_VERS_PATTERN): Define.
580 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
581 (PARSE_AND_LIST_LONGOPTS): Likewise.
582 (PARSE_AND_LIST_ARGS_CASES): Handle them.
583 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
584 initialiser.
585 * emultempl/armcoff.em: Likewise.
586 * emultempl/armelf_oabi.em: Likewise.
587 * emultempl/beos.em: Likewise.
588 * emultempl/elf32.em: Likewise.
589 * emultempl/generic.em: Likewise.
590 * emultempl/gld960.em: Likewise.
591 * emultempl/gld960c.em: Likewise.
592 * emultempl/linux.em: Likewise.
593 * emultempl/lnk960.em: Likewise.
594 * emultempl/m68kcoff.em: Likewise.
595 * emultempl/mipsecoff.em: Likewise.
596 * emultempl/pe.em: Likewise.
597 * emultempl/sunos.em: Likewise.
598 * emultempl/ticoff.em: Likewise.
599 * emultempl/vanilla.em: Likewise.
600
eb3d6bb8
AM
6012002-05-22 Alan Modra <amodra@bigpond.net.au>
602
603 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
604 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
605 (LIB_SEARCH_DIRS): No need to use "tr".
606 (COMPILE_IN): Only set for native targets.
607 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
608 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
609 * configure.tgt (powerpc*): Set tdir_*.
610 (powerpcle*): Correct targ_extra_emuls.
611 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
612 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
613
54f24647
AM
6142002-05-22 Alan Modra <amodra@bigpond.net.au>
615
616 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
617 calling lang_add_entry.
618
aa713662
L
6192002-05-21 H.J. Lu (hjl@gnu.org)
620
621 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
622 "-z muldefs".
623 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
624
625 * ld.texinfo: Updated for --allow-multiple-definition and
626 "-z muldefs".
627
628 * ldmain.c (main): Initialize the allow_multiple_definition
629 field to false.
630
631 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
632 (ld_options): Add --allow-multiple-definition.
633 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
634
658f2588
JT
6352002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
636
637 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
638 (earmelfb_nbsd.c): New rule.
a59f3d35 639 * Makefile.in: Regenerate.
658f2588 640 * configure.tgt (armeb-*-netbsdelf*): New target.
a59f3d35 641 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
658f2588
JT
642 (arm-*-netbsd*): Likewise.
643 * emulparams/armelfb_nbsd.sh: New file.
644
ca10c62d
TR
6452002-05-18 Tom Rix <trix@redhat.com>
646
a59f3d35 647 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
ca10c62d
TR
648 support.
649
fae1e84f
MM
6502002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
651
652 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
653 * Makefile.in: Regenerate.
654 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
655
7c8bf1e8
MM
6562002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
657
658 * emulparams/avr1.sh: New file.
659 * emulparams/avr2.sh: New file.
660 * emulparams/avr3.sh: New file.
661 * emulparams/avr4.sh: New file.
662 * emulparams/avr5.sh: New file.
663 * scripttempl/avr.sc: New file.
664
c2c01aa7
AM
6652002-05-15 Alan Modra <amodra@bigpond.net.au>
666
667 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
668 (lang_place_orphans): Abort if just_syms_flag.
669
f1f0d9ab
TR
6702002-05-10 Tom Rix <trix@redhat.com>
671
a59f3d35 672 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
f1f0d9ab
TR
673 architecture and machine information in the output bfd.
674 (gld*_before_parse): Remove old arch and machine code.
675 (choose_target): Rename to gld*_choose_target.
a59f3d35
AM
676 (rtld): Change type to int.
677 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
f1f0d9ab
TR
678 objects in XCOFF archives.
679 * ldfile.h: Update copyright date.
680
f4d73366
JJ
6812002-05-10 Jakub Jelinek <jakub@redhat.com>
682
683 * ldmain.c (main): Enable -z combreloc by default.
684
d3d8a9ee
NC
6852002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
686
687 * Makefile.am: Honour DESTDIR.
688 * Makefile.in: Regenerate.
689
9f88b410
RS
6902002-05-07 Richard Sandiford <rsandifo@redhat.com>
691
692 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
693 (lang_enter_overlay): Remove the last two parameters.
694 (lang_leave_overlay): Take them here instead.
695 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
696 (section): Pass LMA and crossref flag to lang_leave_overlay rather
697 than lang_enter_overlay.
698 * ldlang.c (lang_memory_region_lookup): Return null for null names.
699 (lang_output_section_statement_lookup): Initialize update_dot_tree.
700 (lang_size_sections_1): Evaluate it.
701 (lang_leave_output_section_statement): Rework LMA lookup.
702 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 703 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
704 (lang_enter_overlay_section): Don't set the LMA here.
705 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
706 assignment to the last section's update_dot_tree. Unconditionally
707 use the load and run-time regions specified in the OVERLAY statement.
708 Likewise the first section's LMA. Only set the other sections' LMAs
709 when no load region is given.
710
b9a743c8
NC
7112002-05-06 Nick Clifton <nickc@redhat.com>
712
713 * po/sv.po: New translation.
714
a3d60be3
AM
7152002-05-04 Alan Modra <amodra@bigpond.net.au>
716
717 * emultempl/hppaelf.em (build_section_lists): New function.
718 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
719 and build_section_lists.
720
b7a26f91
KH
7212002-05-03 Kazu Hirata <kazu@cs.umass.edu>
722
723 * ld.h: Fix formatting.
724 * ldexp.c: Likewise.
725 * ldfile.c: Likewise.
726 * ldlang.c: Likewise.
727 * ldmain.c: Likewise.
728 * lexsup.c: Likewise.
729 * pe-dll.c: Likewise.
730
805fc799
AM
7312002-05-02 Alan Modra <amodra@bigpond.net.au>
732
733 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
734 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
735 (build_section_lists): Do output_section tests here.
736
cc7e59b2
TR
7372002-04-30 Tom Rix <trix@redhat.com>
738
739 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
740
9c1d81c1
AM
7412002-05-01 Alan Modra <amodra@bigpond.net.au>
742
743 Long branch stubs, multiple stub sections.
744 * emultempl/ppc64elf.em: Include ldctor.h.
745 (stub_file): New var.
746 (group_size): New var.
747 (ppc_create_output_section_statements): New function.
748 (struct hook_stub_info): New.
749 (hook_in_stub): New function.
750 (ppc_add_stub_section): New function.
751 (ppc_layout_sections_again): New function.
752 (build_section_lists): New function.
753 (gld${EMULATION_NAME}_finish): Rewrite.
754 (real_func): New var.
755 (ppc_for_each_input_file_wrapper): New function.
756 (ppc_lang_for_each_input_file): New function.
757 (lang_for_each_input_file): Define.
758 (PARSE_AND_LIST_PROLOGUE): Define.
759 (PARSE_AND_LIST_LONGOPTS): Define.
760 (PARSE_AND_LIST_OPTIONS): Define.
761 (PARSE_AND_LIST_ARGS_CASES): Define.
762 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
763
aa67bccf
TR
7642002-04-30 Tom Rix <trix@redhat.com>
765
a59f3d35
AM
766 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
767 -blibpath, -bnolibpath support.
768
94349e12
MM
7692002-04-30 Mark Mitchell <mark@codesourcery.com>
770
771 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
772 (eelf32ppcwindiss.c): New target.
773 * Makefile.in: Regenerated.
774 * configure.tgt: Add support for powerpc-*-windiss.
775 * emulparams/elf32ppcwindiss.sh: New file.
a59f3d35 776
7b17f854
RS
7772002-04-30 Richard Sandiford <rsandifo@redhat.com>
778
779 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
780 * ldexp.c (exp_print_token): Add "infix_p" argument.
781 (exp_print_tree): Update accordingly.
782
596dafeb
AM
7832002-04-28 Alan Modra <amodra@bigpond.net.au>
784
785 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
786 * Makefile.in: Regenerate.
787 * mpw-elfmips.c: Delete.
788 * mpw-eppcmac.c: Delete.
789 * mpw-esh.c: Delete.
790 * mpw-idtmips.c: Delete.
791
219576a4 7922002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
a44d7f9c
JR
793
794 * emulparams/shelf32.sh (MACHINE): Now sh5.
795
944cd72c
TS
7962002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
797
798 * ldgram.y: Fix syntax warning.
799
5835c212
NC
8002002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
801
802 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
803 to prevent "-n" from being taken as an abbreviation for
804 "--no-pipeline-knowledge".
805
024531e2
AM
8062002-04-08 Alan Modra <amodra@bigpond.net.au>
807
d08a14c3
AM
808 * ldlang.c (lang_size_sections_1): Don't complain about
809 SEC_NEVER_LOAD sections having no memory region specified.
810
024531e2
AM
811 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
812
c657a1f0
MG
8132002-04-07 matthew green <mrg@redhat.com>
814
815 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
816
61bef6f1
AM
8172002-04-04 Alan Modra <amodra@bigpond.net.au>
818
819 * dep-in.sed: Cope with absolute paths.
820 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
821 Run "make dep-am".
822 * Makefile.in: Regenerate.
823
49ba2791
TS
8242002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
825
826 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
827
50e60fb5
JJ
8282002-04-03 Jakub Jelinek <jakub@redhat.com>
829
830 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
831 is smaller than maximum, round dot up to common page boundary.
832
6f12f4ca
AM
8332002-03-28 Alan Modra <amodra@bigpond.net.au>
834
835 * configure.host: Set up for generic hosts first, then tweak as
836 necessary in more specific targets.
837 (HOSTING_LIBS): Include libgcc_eh.a if found.
838
a8f1f017
AJ
8392002-03-23 Andreas Jaeger <aj@suse.de>
840
841 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
842
1d3fdf38
AM
8432002-03-21 Alan Modra <amodra@bigpond.net.au>
844
845 * Makefile.am: Run "make dep-am".
846 * Makefile.in: Regenerate.
847
79b1faa8
AM
8482002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
849
850 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
851
fcf0e35b
AM
8522002-03-20 Alan Modra <amodra@bigpond.net.au>
853
854 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
855 add the symbol to the linker hash table immediately.
856 (lang_place_undefineds): Split symbol creation out..
857 (insert_undefined): ..to here.
858
fed2999d
DB
8592002-03-18 David O'Brien <obrien@FreeBSD.org>
860
861 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
862 the contents of the buffer returned from basename function will are
863 getting overwritten while still being used.
864
219576a4
NC
8652002-03-18 Jan Hubicka <jh@suse.cz>
866 Andreas Jaeger <aj@suse.de>
867 Andreas Schwab <schwab@suse.de>
beb43bb9
JH
868
869 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
870 * elf_x86_64.sh (ARCH): Set to i386:x86-64
871 set libraries to default to lib64 paths.
872
eb1e0e80
NC
8732002-03-18 Tom Rix <trix@redhat.com>
874
875 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
876 * configure.tgt : Same.
877 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
878 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
879 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
880 emulation parameters for better -b32, -b64 support.
881 * emulparms/aixrs6.sh : Same.
882 * emulparms/ppcmacos.sh : Same.
883 * emultempl/aix.em (choose_target) : Use new emulation parameters
884 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
885 * Makefile.in : Regenerate.
886
a1c259a1
NC
8872002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
888
889 * po/fr.po: Updated version.
890
862120bd
AM
8912002-03-18 Alan Modra <amodra@bigpond.net.au>
892
893 * ldmain.c (main): Move .text readonly flag fudges from here..
894 * ldlang.c (lang_process): ..to here.
895
d35a52e2
AM
8962002-03-14 Alan Modra <amodra@bigpond.net.au>
897
898 * ldlang.c (lang_check): Remove the word size check added in last
899 change. Treat emitrelocations case as for relocatable links.
900
9ce88e60
NC
9012002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
902
903 * po/fr.po: Updated version.
904
30cba025
AM
9052002-03-13 Alan Modra <amodra@bigpond.net.au>
906
907 * ldlang.c (lang_check): Do relocatable link checks first, so that
908 warn_mismatch can't override. Check compatible and word size too.
909
84ec0e6d
DJ
9102002-03-07 Daniel Jacobowitz <drow@mvista.com>
911
912 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
913
2d13d8c5
JJ
9142002-03-05 Jakub Jelinek <jakub@redhat.com>
915
916 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
917 DATA_SEGMENT_ALIGN.
918
b5090659
L
9192002-03-04 H.J. Lu <hjl@gnu.org>
920
921 * scripttempl/elf.sc: Put .preinit_array, .init_array and
922 .fini_array in the data segment.
923
f42ce16e
AM
9242002-03-04 Alan Modra <amodra@bigpond.net.au>
925
926 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
927
de77b6ac
RH
9282002-03-01 David Mosberger <davidm@hpl.hp.com>
929
930 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
931 .init_array, and .fini_array.
932
997e08c0
AS
9332002-02-20 Andreas Schwab <schwab@suse.de>
934
935 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
936 .IA64_unwind* in a relocatable link.
937
9a66911f
NC
9382002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
939
940 * NEWS: Mark 2.12 branch.
941
d86bcc10
MS
9422002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
943
944 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
945 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
946
69f284c7
TR
9472002-02-18 Tom Rix <trix@redhat.com>
948
949 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
950 (gld*_before_allocation): Same.
a8f1f017 951 (gld*_create_output_section_statements): Generate
69f284c7
TR
952 __rtinit if run time linking. Add librtl.a to the link.
953 (gld*_read_file): Clean.
954
82bd7b59
AM
9552002-02-18 Alan Modra <amodra@bigpond.net.au>
956
957 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
958
ac3e50bf
DB
9592002-02-18 David O'Brien <obrien@FreeBSD.org>
960
6a7f963b 961 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
962 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
963 and eelf64alpha_fbsd.
6a7f963b 964 * Makefile.in: Regenerate.
ac3e50bf
DB
965 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
966 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
967 use a FreeBSD-specific emulation rather than the psABI one.
968 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
969 for all FreeBSD ELF systems.
970 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
971 emulation.
972 * emulparams/elf32ppc_fbsd.sh: Likewise.
973 * emulparams/elf64_ia64_fbsd.sh: Likewise.
974 * emulparams/elf64_sparc_fbsd.sh: Likewise.
975 * emulparams/elf64alpha_fbsd.sh: Likewise.
976 * emulparams/elf_i386_fbsd.sh: Likewise.
977 * emulparams/elf_x86_64_fbsd.sh: Likewise.
978
6ad738c5
NC
9792002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
980
981 * po/tr.po: Updated version.
982
9673c93c
AM
9832002-02-18 Alan Modra <amodra@bigpond.net.au>
984
985 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
986 (FILL): Likewise.
987
1c5e6447
HPN
9882002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
989
990 * emultempl/mmo.em (mmo_after_open): Don't call
991 _bfd_mmix_check_all_relocs when producing ELF output.
992
8bb57516
RH
9932002-02-15 Richard Henderson <rth@redhat.com>
994
de77b6ac 995 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
996 definition. Emit a unop+nop pair.
997
49fda6c8
HPN
9982002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
999
83c2d653
HPN
1000 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
1001 for presence of .MMIX.reg_contents.linker_allocated before early
1002 exit.
1003
49fda6c8
HPN
1004 * NEWS: Mention support for MMIX.
1005
2c382fb6
AM
10062002-02-15 Alan Modra <amodra@bigpond.net.au>
1007
1008 Support arbitrary length fill patterns.
a139d329
AM
1009 * ld.texinfo (Output Section Fill): Describe fill expressions.
1010 (FILL): Refer to the above.
2c382fb6
AM
1011 * ldexp.h (etree_value_type): Add "str" field.
1012 (union etree_union): Add "str" to "value" struct.
1013 (exp_bigintop): Declare.
1014 (exp_get_fill): Declare.
1015 * ldexp.c: Include "safe-ctype.h".
1016 (exp_intop): Set value.str to NULL.
1017 (exp_bigintop): New function.
1018 (new_rel): Pass in "str", and set new.str from it.
1019 (new_rel_from_section): Set new.str to NULL.
1020 (fold_name): Adjust calls to new_rel.
1021 (exp_fold_tree): Likewise.
1022 (exp_get_fill): New function.
1023 * ldgram.y (struct big_int bigint, fill_type *fill): New.
1024 (INT): Returns a "bigint". Adjust all code handling INTs.
1025 (fill_opt): Returns a "fill".
1026 (fill_exp): Split out of fill_opt, use for FILL.
1027 * ldlang.h (struct _fill_type): New.
1028 (fill_type): Move typedef to ldexp.h.
1029 (lang_output_section_statement_type): "fill" is now a pointer.
1030 (lang_fill_statement_type): Likewise.
1031 (lang_padding_statement_type): Likewise.
1032 (lang_add_fill): Now takes a "fill_type *" param.
1033 (lang_leave_output_section_statement): Likewise.
1034 (lang_do_assignments): Likewise.
1035 (lang_size_sections): Likewise.
1036 (lang_leave_overlay_section): Likewise.
1037 (lang_leave_overlay): Likewise.
1038 * ldlang.c: Include ldgram.h after ldexp.h.
1039 (lang_output_section_statement_lookup): Adjust for fill_type change.
1040 (print_fill_statement): Likewise.
1041 (print_padding_statement): Likewise.
1042 (insert_pad): Now takes a "fill_type *" arg.
1043 (size_input_section): Likewise.
1044 (lang_size_sections_1): Likewise.
1045 (lang_size_sections): Likewise.
1046 (lang_do_assignments): Likewise.
1047 (lang_add_fill): Likewise.
1048 (lang_leave_output_section_statement): Likewise.
1049 (lang_leave_overlay_section): Likewise.
1050 (lang_leave_overlay): Likewise.
1051 Adjust all callers of the above function.
1052 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
1053 starting with "0X" as well as "0x". Return bigint.str for hex
1054 numbers starting with "0x" or "0X", zero bigint.str otherwise.
1055 Always use base 16 for numbers starting with "$".
1056 * ldmain.c: Include ldgram.h after ldexp.h.
1057 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
1058 of bfd_fill_link_order.
1059 * pe-dll.c: Adjust lang_do_assignments calls.
1060 * emultempl/elf32.em: Likewise.
1061 * emultempl/hppaelf.em: Likewise.
1062 * emultempl/ppc64elf.em: Likewise.
1063 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
1064 lang_add_assignment call.
1065 * emultempl/pe.em: Likewise.
1066
313e35ee
AM
10672002-02-14 Phil Edwards <pme@gcc.gnu.org>
1068
a139d329 1069 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
1070 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
1071 the pattern in question is not a regexp.
1072 * ldlang.c: Likewise.
1073 * ldlang.h: Likewise.
1074 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
1075
2d20f7bf
JJ
10762002-02-12 Jakub Jelinek <jakub@redhat.com>
1077
1078 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1079 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1080 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
1081 * ldexp.c (exp_data_seg): New variable.
1082 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
1083 (fold_binary): Handle DATA_SEGMENT_ALIGN.
1084 (exp_fold_tree): Handle DATA_SEGMENT_END.
1085 Pass allocation_done when recursing instead of hardcoding
1086 lang_allocating_phase_enum.
1087 * ldexp.h (exp_data_seg): New.
1088 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
1089 (lang_size_sections): New.
1090 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
1091 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
1092 if COMMONPAGESIZE is defined.
1093 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
1094 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
1095 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
1096 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
1097 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
1098 libraries only.
1099
06880219
AM
11002002-02-11 Alan Modra <amodra@bigpond.net.au>
1101
1102 * Makefile.in: Regenerate.
1103
37b0ac0f
DJ
11042002-02-10 Daniel Jacobowitz <drow@mvista.com>
1105
1106 * lexsup.c: Remove strtoul declaration.
1107
4e5bae56
DJ
11082002-02-10 Daniel Jacobowitz <drow@mvista.com>
1109
1110 * ldmain.c: Add prototype for main ().
1111 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
1112 * emultempl/lnk960.em (lnk960_choose_target): Function should
1113 take two arguments.
1114
1e281515
AM
11152002-02-10 Alan Modra <amodra@bigpond.net.au>
1116
1117 * ldlang.c (entry_section): New initialised variable.
1118 (lang_finish): Use it.
1119 * ldlang.h (entry_section): Declare.
1120 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
1121 entry_section to ".opd".
1122
f92d92ff 11232002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
1124
1125 * ld.texinfo (Options): Add back in -nostdlib documentation,
1126 which had been inadvertently removed.
1127
74c44237
HPN
11282002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
1129
1130 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
1131 register section vma to a sane value after emitting error. Make
1132 fatal conditions cause program exit when emitting message.
1133
5e37cc46
NC
11342002-02-08 Ivan Guzvinec <ivang@opencores.org>
1135
1136 * configure.tgt: Add or32-*-rtems target.
1137
2d92cb7d
AO
11382002-02-08 Alexandre Oliva <aoliva@redhat.com>
1139
1140 Contribute sh64-elf.
1141 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1142 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
1143 in OTHER_RELOCATABLE_SECTIONS.
1144 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1145 * emulparams/shelf32.sh (STACK_ADDR): Define.
1146 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
1147 (OTHER_SECTIONS): this. Removed stack settings.
1148 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
1149 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
1150 2001-03-12 DJ Delorie <dj@redhat.com>
1151 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
1152 relaxing if any shmedia or mixed sections are found.
1153 2001-03-07 DJ Delorie <dj@redhat.com>
1154 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
1155 einfo. Gracefully decline to output to non-elf formats.
1156 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
1157 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
1158 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
1159 * emulparams/shelf32.sh: Ditto.
1160 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
1161 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
1162 comment.
1163 2001-01-10 Ben Elliston <bje@redhat.com>
1164 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
1165 non-portable shell constructs. From Hans-Peter Nilsson.
1166 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
1167 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
1168 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
1169 dependencies to the shell script include chain.
1170 * Makefile.in: Regenerate.
1171 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1172 * emultempl/sh64elf.em: Update and tweak comments.
1173 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
1174 make a .cranges section SEC_IN_MEMORY.
1175 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1176 * emultempl/sh64elf.em
1177 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
1178 .cranges section found to be necessary; continue and set stored
1179 section contents flags for sections with non-mixed contents.
1180 Use a struct sh64_section_data container and sh64_elf_section_data
1181 to store contents-type flags.
1182 Remove unused update of "isec".
1183 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
1184 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
1185 access contents-type flags. Assert that the associated container
1186 is initialized. Use that container, not elf_gp_size, to hold size
1187 of linker-generated cranges contents.
1188 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1189 * emultempl/sh64elf.em
1190 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
1191 there's already a .cranges section. When section flag difference
1192 is found, don't NULL-check cranges a second time. Tweak comments.
1193 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
1194 merging, not max size, as size of ld-generated .cranges contents.
1195 Don't set ELF section flags in output section. When checking for
1196 needed .cranges descriptors, don't use a variable; compare
1197 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
1198 comments.
1199 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1200 * emultempl/sh64elf.em: New file.
1201 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
1202 * Makefile.in: Regenerate.
1203 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
1204 (OTHER_RELOCATING_SECTIONS): Ditto.
1205 (EXTRA_EM_FILE): New, set to sh64elf if not set.
1206 * emulparams/shlelf32.sh: Stub out all settings except
1207 OUTPUT_FORMAT. Source shelf32.sh.
1208 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
1209 OTHER_RELOCATING_SECTIONS.
1210 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
1211 * emulparams/shlelf64.sh: Stub out all settings except
1212 OUTPUT_FORMAT. Source shelf64.sh.
1213 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1214 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
1215 .cranges section.
1216 (DATA_START_SYMBOLS): Define, provide ___data.
1217 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
1218 for consecutive .data section.
1219 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
1220 section after .data section.
1221 * emulparams/shlelf64.sh: Ditto.
1222 * emulparams/shelf32.sh: Ditto.
1223 (ALIGNMENT): Define to 8.
1224 * emulparams/shelf32.sh: Ditto.
1225 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1226 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
1227 built-in linker scripts.
1228 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1229 * emulparams/shlelf64.sh: New.
1230 * emulparams/shelf64.sh: New.
1231 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
1232 targ_extra_emuls.
1233 * Makefile.am: Add support for shlelf64 and shelf64.
1234 * Makefile.in: Regenerate.
1235 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1236 * configure.tgt (sh64-*-elf*): Add shelf as default.
1237 Add shlelf to targ_extra_emuls.
1238 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1239 * emulparams/shelf32.sh: New file.
1240 * emulparams/shlelf32.sh: New file.
1241 * Makefile.am: Add support for shlelf32 and shelf32.
1242 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
1243 * Makefile.in: Regenerate.
1244
e3dc8847
HPN
12452002-02-05 Hans-Peter Nilsson <hp@axis.com>
1246
1247 * ldlang.c (lang_reset_memory_regions): Rename from
1248 reset_memory_regions. Change all callers. Make public.
1249 * ldlang.h (lang_reset_memory_regions): Prototype.
1250 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
1251 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
1252 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1253 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 1254
8017dbcb
HPN
12552002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1256
1257 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
1258 arithmetic when checking for too many global registers.
1259
006336b8
JT
12602002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1261
1262 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
1263 (ehppanbsd.c): New rule.
1264 * Makefile.in: Regenerate.
1265 * configure.tgt (hppa*-*-netbsd*): New target.
1266 * emulparams/hppalinux.sh: Add comment to check other files
1267 that source this file it is modified, and list which
1268 files that do.
1269 * emulparams/hppanbsd.sh: New file.
1270
da1f2fec
GK
12712002-02-01 Geoffrey Keating <geoffk@redhat.com>
1272
1273 * scripttempl/xstormy16.sc: Don't allocate extra space for the
1274 stack.
1275
48fa4a5d
HPN
12762002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1277
1278 Support on-demand global register allocation from
1279 R_MMIX_BASE_PLUS_OFFSET relocs.
1280 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
1281 mmix_set_reg_section_vma. Call
1282 _bfd_mmix_finalize_linker_allocated_gregs.
1283 (mmix_before_allocation): New function.
1284 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
1285 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
1286 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
1287 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
1288 before .MMIX.reg_contents.
1289 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
1290 (mmo_after_open): New function.
1291 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
1292 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
1293 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
1294
3b16e843
NC
12952002-01-31 Ivan Guzvinec <ivang@opencores.org>
1296
1297 * emulparams/or32.sh: New file.
1298 * emulparams/or32elf.sh: New file.
1299 * scripttempl/or32.sc: New file.
1300 * configure.tgt : Add support for or32.
1301 * configure: Regenerate
1302 * Makefile.am: Add support for or32.
1303 * Makefile.in: Regenerate.
1304 * NEWS: Mention support for or32.
1305 * po/ld.pot: Regenerate.
1306
f744d540 13072002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 1308 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
1309
1310 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
1311 * emultempl/mipself.em: New file to handle MIPS ELF embedded
1312 reloc creation (ld --embedded-relocs).
1313
4867be41
DJ
13142002-01-27 Daniel Jacobowitz <drow@mvista.com>
1315
1316 * configure: Regenerated.
1317
cd8e197b
HPN
13182002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1319
1320 * Makefile.am (install): Depend on install-info.
1321 * Makefile.in: Regenerate.
1322
9cb61eab
AM
13232002-01-26 Christian Rose <menthos@menthos.com>
1324
1325 * ldmain.c (main): Use full sentences to ease translation.
1326
1caa7b23
NC
13272002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1328
1329 * po/fr.po: Updated version.
1330
1ddbd152
NC
13312002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1332
1333 * po/es.po: Updated version.
1334
1e84433f
AJ
13352002-01-25 Andreas Jaeger <aj@suse.de>
1336
1337 * ldlex.l (yy_input): Correct error check.
1338
6d39955e
AM
13392002-01-25 Alan Modra <amodra@bigpond.net.au>
1340
1341 * ldmisc.c (demangle): Put back dots when string not demangled.
1342
a9ed1e1b
RH
13432002-01-22 Richard Henderson <rth@redhat.com>
1344
1345 * emulparams/elf64alpha.sh (NOP): Use unop.
1346
968ec2b9
AJ
13472002-01-21 Andreas Jaeger <aj@suse.de>
1348
1349 * ldlex.l: Use fread instead of read.
1350
9596feea
JT
13512002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1352
1353 * configure.tgt (ia64-*-netbsd*): New target.
1354
493a6d47
L
13552002-01-21 H.J. Lu <hjl@gnu.org>
1356
1357 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
1358 0.
1359 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
1360
2a538ba5
AJ
13612002-01-18 Andreas Jaeger <aj@suse.de>
1362
1363 * ldver.c (ldversion): Update year.
1364
328577ad
NC
13652002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1366
1367 * po/ld.pot: Regenerate.
1368
1f808cd5
AM
13692002-01-16 Alan Modra <amodra@bigpond.net.au>
1370
1371 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
1372 * Makefile.in: Regenerate.
1373 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
1374 * emultempl/ppc64elf.em: New file.
1375
335c5610
DD
13762002-01-15 DJ Delorie <dj@redhat.com>
1377
1378 * scripttempl/pe.sc: Add support for constructor priorities.
1379
c40bbade
DC
13802002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1381
1382 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
1383 * emulparams/avr23xx.sh: Likewise.
1384 * emulparams/avr4433.sh: Likewise.
1385 * emulparams/avr44x4.sh: Likewise.
1386 * emulparams/avr85xx.sh: Likewise.
1387 * emulparams/avrmega103.sh: Likewise.
1388 * emulparams/avrmega161.sh: Likewise.
1389 * emulparams/avrmega603.sh: Likewise.
1390 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
1391
34efb449
AO
13922002-01-08 Alexandre Oliva <aoliva@redhat.com>
1393
1394 * ldlang.c (walk_wild_section): Exclude object file if enclosing
1395 archive is excluded.
1396
8d05742f
JT
13972002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1398
1399 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 1400 (eshelf_nbsd.c): New rule.
8d05742f
JT
1401 (eshlelf_nbsd.c): New rule.
1402 * Makefile.in: Regenerate.
1403 * configure.tgt (sh*le-*-netbsdelf*): New target.
1404 (sh*-*-netbsdelf*): New target.
1405 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
1406 * ld/emulparams/shelf_nbsd.sh: New emulation.
1407 * ld/emulparams/shlelf_nbsd.sh: New emulation.
1408
be2d1673
NC
14092002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1410
1411 * po/es.po: New file: Spanish translation.
1412 * configure.in (ALL_LINGUAS): Add es.
1413 * configure: Regenerate.
1414
dbab7a7b
NC
14152002-01-06 John Marshall <jmarshall@acm.org>
1416
1417 * ld.texinfo: Note that --emit-relocs is currently only
1418 implemented for ELF.
1419
3dfe7a8c
AM
14202002-01-05 Alan Modra <amodra@bigpond.net.au>
1421
1422 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
1423 of bfd_section_list_remove and bfd_section_list_insert macros.
1424 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1425 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1426
8a8b2d4b
AJ
14272002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1428
1429 * configure.tgt (x86_64-*-netbsd*): New target.
1430
9a4c7f16
TR
14312001-12-21 Tom Rix <trix@redhat.com>
1432
8a8b2d4b 1433 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
1434 For -binitfini support.
1435 * emultempl/aix.em (gld*_before_parse): Fix comment.
1436 * emultempl/aix.em (gld*_parse_args): Fix comment.
1437
3695c299
AM
14382001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
1439
cf86e6df
AM
1440 * configure.tgt (mips*-dec-netbsd*): Delete alias for
1441 mips*el-*-netbsd*.
1442 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
1443
3695c299
AM
1444 * configure.tgt (arm-*-netbsdelf*): Add target.
1445 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1446 * emulparams/armelf_nbsd.sh: Added.
1447 * Makefile.am: Add rules for earmelf_nbsd.
1448 * Makefile.in: Regenerate.
1449
97cb79ae
AJ
14502001-12-19 Andreas Jaeger <aj@suse.de>,
1451 Susanne Oberhauser <froh@suse.de>
1452
1453 * configure.host: Add rules for x86_64-*linux-gnu. Change
1454 s390x-linux entry to use gcc to report configuration, replace gcc
1455 with $CC in s390-linux
1456
9d201f2f
AJ
14572001-12-19 Andreas Jaeger <aj@suse.de>
1458
1459 * ld.texinfo (VERSION): Fix markup.
1460
0b69cd08
MG
14612001-12-18 matthew green <mrg@eterna.com.au>
1462
1463 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1464 (m68kelfnbsd.c): New rule.
1465 * Makefile.in: Regenerate.
1466 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1467 (m68*-*-netbsd*4k*): .. this.
1468 (m68*-*-netbsdelf*): New target.
1469 (m68*-*-netbsd*): Also include ELF support.
1470 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1471 * emulparams/m68kelfnbsd.sh: New emulation.
1472
6b9b879a
JJ
14732001-12-18 Jakub Jelinek <jakub@redhat.com>
1474
1475 * ldgram.y (vers_node): Support anonymous version tags.
1476 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1477 tag is not defined together with non-anonymous versions.
1478 * ld.texinfo: Document it.
1479
9fc877ed
NC
14802001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1481
1482 * po/tr.po: New file: Turkish translation.
1483 * configure.in (ALL_LINGUAS): Add tr.
1484 * configure: Regenerate.
1485
fc18a3f3
RH
14862001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1487
1488 * Makefile.am: Add rules for eelf64alpha_nbsd.
1489 * Makefile.in: Regenerate.
1490 * configure.tgt (alpha*-*-netbsd*): Set
1491 targ_emul to elf64alpha_nbsd.
1492 * emulparams/elf64alpha_nbsd.sh: Added.
1493
76f63e91
AM
14942001-12-17 Alan Modra <amodra@bigpond.net.au>
1495
1496 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1497 section_tail when fiddling with section list.
1498 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1499 broken into separate strings to make translation easier.
1500 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1501 fiddling with section list.
1502 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1503
d03b89bd
HPN
15042001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1505
1506 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1507
320fec9a
AM
15082001-12-15 Alan Modra <amodra@bigpond.net.au>
1509
1510 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1511
65765700
JJ
15122001-12-13 Jakub Jelinek <jakub@redhat.com>
1513
1514 * emultempl/elf32.em (finish): Supply output_bfd
1515 to bfd_elf*_discard_info.
1516 (OPTION_EH_FRAME_HDR): Define.
1517 (longopts): Add --eh-frame-hdr.
1518 (parse_args): Handle it.
1519 (list_options): Add --eh-frame-hdr to help.
1520 * emultempl/hppaelf.em (finish): Supply output_bfd
1521 to bfd_elf*_discard_info.
1522 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1523
89894c62
AM
15242001-12-13 Alan Modra <amodra@bigpond.net.au>
1525
1526 * lexsup.c (parse_args): Don't pass shortopts to second call to
1527 getopt functions. Restore optind rather than decrementing before
1528 second call. Remove errind as it now duplicates last_optind.
1529
583f1926
CF
15302001-12-11 Christopher Faylor <cgf@redhat.com>
1531
1532 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1533
93fbbb04
GK
15342001-12-07 Geoffrey Keating <geoffk@redhat.com>
1535 Richard Henderson <rth@redhat.com>
1536
1537 * Makefile.am: Add support for xstormy16.
1538 * configure.tgt: Add support for xstormy16.
1539 * Makefile.in: Regenerate.
1540 * emulparams/elf32xstormy16.sh: New file.
1541 * scripttempl/xstormy16.sc: New file.
1542
583f1926
CF
15432001-10-01 Christopher Faylor <cgf@cygnus.com>
1544
fc18a3f3
RH
1545 * Makefile.in (LIB_PATH): Make configurable.
1546 (GENSCRIPTS): Set LIB_PATH in environment.
1547 * configure.in: Substitute LIB_PATH.
1548 * configure: Regenerate.
1549 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1550 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1551
ff291a48
NC
15522001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1553
1554 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1555 describing the -N option so that it is easier to translate into
1556 foreign languages.
1557
e3c8793a
NC
15582001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1559
1560 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1561 statements describing a single option with a single, newline
1562 escaped fprintf. This allows better translation into other
1563 languages.
9d201f2f 1564
fc18a3f3
RH
1565 * ldmain.c (add_archive_element): Combine multiple strings
1566 into a single string to permit better translation into other
1567 languages.
e3c8793a 1568
f2eab0af
TR
15692001-12-05 Tom Rix <trix@redhat.com>
1570
1571 * Makefile.am: Remove eaixppc64.
9d201f2f 1572 * Makefile.in: Regenerate.
f2eab0af 1573
249172c3
TR
15742001-12-04 Tom Rix <trix@redhat.com>
1575
9d201f2f 1576 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
1577 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1578 warning.
1579 (gld*_read_file): Fix typo.
1580 (change_symbol_mode): Add prototype.
1581 (is_syscall): Same.
9d201f2f 1582
249172c3
TR
1583 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1584 * emulparams/aixrs6.sh : Same.
1585 * emulparams/ppcmacos.sh : Same.
1586 * emulparams/aixppc64.sh : Delete file.
1587 * emultempl/aix.em : Formatting changes.
1588
5b5cd1b0
HPN
15892001-12-04 Hans-Peter Nilsson <hp@axis.com>
1590
1591 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1592 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1593 __Sbss.
1594 (OTHER_END_SYMBOLS): Fix formatting.
1595 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1596 (OTHER_END_SYMBOLS): Fix formatting.
1597
7cecdbff
AM
15982001-12-04 Alan Modra <amodra@bigpond.net.au>
1599
1600 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1601
742aeb63 16022001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 1603
742aeb63 1604 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 1605 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
1606 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1607 (ldemul_default_target): Same.
1608 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
1609 * emultempl/gld960c.em (gld960_choose_target): Same.
1610 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
1611 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1612 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1613 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 1614 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
1615 -b32 and -b64.
1616
48459341
L
16172001-11-27 H.J. Lu <hjl@gnu.org>
1618
1619 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1620 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1621 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1622 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1623 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1624 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1625 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1626 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1627
7cecdbff 1628 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
1629 is not empty.
1630 (SDATA): Likewise.
1631 (REL_SDATA): Likewise.
1632 (REL_SBSS): Likewise.
1633 (REL_SDATA2): Likewise.
1634 (REL_SBSS2): Likewise.
1635 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1636 (SDATA2): Likewise.
1637
ecfdd20c
SC
16382001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1639
1640 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1641 destructor in rom.
7cecdbff 1642 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 1643
da54c6eb
L
16442001-11-22 H.J. Lu <hjl@gnu.org>
1645
1646 * Makefile.in: Regenerated with automake based on automake
1647 1.4-8 in RedHat 7.1.
1648
465bc359
AM
16492001-11-22 Alan Modra <amodra@bigpond.net.au>
1650
1651 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1652 (config.status): Delete rule.
1653 Add extra dependencies to cover sourced emulparams files.
1654 * Makefile.in: Regenerate.
1655
1656 * scripttempl/elf.sc: Order <section>, <section>.* and
1657 corresponding linkonce sections as seen in input files.
1658 Formatting fixes. Zero vma of all sections if not relocating.
1659 (STACK): Define and insert if STACK_ADDR defined.
1660 (OTHER_RELOCATING_SECTIONS): Delete.
1661 (OTHER_END_SYMBOLS): Define.
1662 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1663 (OTHER_READWRITE_SECTIONS): Likewise.
1664 (OTHER_GOT_SECTIONS): Likewise.
1665 (OTHER_SDATA_SECTIONS): Likewise.
1666 (OTHER_BSS_SECTIONS): Likewise.
1667 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1668 (OTHER_READWRITE_SECTIONS): Likewise.
1669 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1670 (OTHER_READWRITE_SECTIONS): Likewise
1671
1672 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1673 (STACK_ADDR): Define.
1674 * emulparams/armelf_oabi.sh: As for armelf.sh.
1675 * emulparams/elf32mcore.sh: As for armelf.sh.
1676 * emulparams/h8300elf.sh: As for armelf.sh.
1677 * emulparams/mn10200.sh: As for armelf.sh.
1678 * emulparams/shelf.sh: As for armelf.sh.
1679
1680 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1681 (OTHER_END_SYMBOLS): Define.
1682 * emulparams/m32relf.sh: As for elf32fr30.sh.
1683 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1684 * emulparams/h8300self.sh: As for elf32fr30.sh.
1685
1686 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1687 defines with RELOCATING test.
1688 (OTHER_SDATA_SECTIONS): Likewise.
1689 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1690 (OTHER_END_SYMBOLS): ..this.
1691 * emulparams/crislinux.sh: As for criself.sh.
1692
1693 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1694 if not relocating.
1695 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1696 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1697 normal and linkonce sections as seen in input files.
1698 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1699 (TEXT_DYNAMIC): Likewise.
1700 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1701 (OTHER_SDATA_SECTIONS): Likewise.
1702 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1703 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1704 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1705 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1706 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1707 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1708 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1709 sections as seen in input files.
1710 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1711 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1712 if not relocating.
1713 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1714 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1715 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1716 (OTHER_SECTIONS): Instead, use this..
1717 (OTHER_END_SYMBOLS): ..and this.
1718
1719 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1720 * emulparams/elf32bsmip.sh: Likewise.
1721 * emulparams/elf32btsmip.sh: Likewise.
1722 * emulparams/elf32ebmip.sh: Likewise.
1723 * emulparams/elf32lmip.sh: Likewise.
1724 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1725 * emulparams/elf32lsmip.sh: Likewise.
1726 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1727 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1728 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1729 * emulparams/elf64btsmip.sh: Likewise.
1730 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1731 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1732 * emulparams/elf32ppclinux.sh: Likewise.
1733 * emulparams/elf32ppcsim.sh: Likewise.
1734 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1735 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1736 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1737 * emulparams/h8300self.sh: Likewise.
1738 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1739 * emulparams/sh.sh: Comment.
1740 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1741 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1742 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1743
abc6ab0a
AM
17442001-11-21 David Heine <dlheine@tensilica.com>
1745 Alan Modra <amodra@bigpond.net.au>
1746
1747 * ldlang.c (map_input_to_output_sections): Replace "break"
1748 accidentally removed with 2001-08-03 change.
1749 (lang_gc_sections_1): Likewise.
1750
2181f54f
AM
17512001-11-21 Alan Modra <amodra@bigpond.net.au>
1752
1753 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1754
ca0b5847
AM
17552001-11-20 Angela Marie Thomas <angela@redhat.com>
1756
1757 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
1758 of false when calling lang_size_sections.
1759 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 1760
c56feb2b
AM
17612001-11-15 Alan Modra <amodra@bigpond.net.au>
1762
1763 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1764 function when LDEMUL_FINISH isn't set to the same name. Don't
1765 call ${LDEMUL_FINISH}.
1766 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1767 * emultempl/armelf.em (arm_elf_finish): Call
1768 gld${EMULATION_NAME}_finish.
1769 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1770 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1771 hppaelf_layout_sections_again if necessary.
1772 (need_laying_out): New var.
1773 (hppaelf_layaout_sections_again): Rename to
1774 hppaelf_layout_sections_again. Clear need_laying_out.
1775 (PARSE_AND_LIST_OPTIONS): Format text.
1776
a48ca7f2
L
17772001-11-14 H.J. Lu <hjl@gnu.org>
1778
1779 * emultempl/armelf.em (arm_elf_finish): Renamed from
1780 gld${EMULATION_NAME}_finish.
1781 (LDEMUL_FINISH): Set to arm_elf_finish.
1782
73d074b4
DJ
17832001-11-14 Daniel Jacobowitz <drow@mvista.com>
1784
1785 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1786 (struct ld_emulation_xfer_struct): Use it.
1787
3b16e843 17882001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 1789
465bc359 1790 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
1791 additional symbols referenced by newer crt0.o files from HP.
1792
f11b7027
NC
17932001-11-12 Anthony Green <green@redhat.com>
1794
1795 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1796
3bf2994f
AM
17972001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1798
1799 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1800 * Makefile.in: Regenerate.
1801
ff5dcc92
SC
18022001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1803
1804 * ld.texinfo: Use @command for commands, @option for options.
1805 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1806 the page man title.
1807 * Makefile.in: Rebuild.
1808
9fb9af6e
CD
18092001-11-04 Chris Demetriou <cgd@broadcom.com>
1810
1811 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1812 Add support for targets.
2181f54f 1813
3c62831e
NC
18142001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1815
1816 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1817 * configure: Regernate.
1818 * po/fr.po: New file.
1819 * po/sv.po: New file.
1820
3a9091c4
NC
18212001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1822
1823 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1824 as little endian default and to support big endian.
2181f54f 1825
361b220e
CD
18262001-11-01 Chris Demetriou <cgd@broadcom.com>
1827
1828 * ld.texinfo (Options): Document new option, -nostdlib.
1829 * lexsup.c (OPTION_NOSTDLIB): New definition.
1830 (ld_options): Add entry for "nostdlib".
1831 (parse_args): Handle OPTIONS_NOSTDLIB.
1832 * ldfile.c (ldfile_add_library_path): Don't add directories
1833 to the search path if they weren't specified on the command line
1834 and -nostdlib was specified.
1835 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1836
210a7bd1
NC
18372001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1838
1839 * lexsup.c (parse_args): Prevent infinite parsing loop when
1840 "-rpath.a" is specified on the command line.
1841 Replace calls to fprintf with calls to einfo.
1842
114283d8
NC
18432001-10-31 John Marshall <jmarshall@acm.org>
1844
1845 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1846 appear only once across all the linker scripts involved in a link
1847 invocation no longer applies. Make the documentation reflect
1848 that.
1849
7649aa50
NC
18502001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1851
1852 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1853 targets.
1854 (sh-*-linux*): Added targ_extra_libpath.
1855
6e814ff8
AM
18562001-10-31 David Heine <dlheine@tensilica.com>
1857
1858 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1859 for padding statements.
1860
3c3bdf30
NC
18612001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1862
1863 * configure.tgt (mmix-*-*): New target.
1864 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1865 Add dependencies to match.
1866 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1867 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1868 scripttempl/mmo.sc: New files.
1869 * gen-doc.texi: @set MMIX.
1870 * ld.texinfo: Ditto.
6e814ff8 1871 [MMIX] Add MMIX node.
3c3bdf30
NC
1872 * Makefile.in: Regenerate.
1873
ca0c1d3e
KH
18742001-10-29 Kazu Hirata <kazu@hxi.com>
1875
1876 * ldlang.c: Fix a comment typo.
1877
1a3d33ce
AM
18782001-10-23 Alan Modra <amodra@bigpond.net.au>
1879
1880 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1881 entries, and match *-*-linux*.
1882
b47c4208
AM
18832001-10-20 Alan Modra <amodra@bigpond.net.au>
1884
1885 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1886 with ldlex_script, ldlex_popstate.
1887 (ifile_p1): Likewise.
1888 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
1889 correct slot.
1890 (lex_push_file): Save current lineno to lineno_stack. Set lineno
1891 to 1. Don't BEGIN(SCRIPT).
1892 (lex_redirect): Similarly.
1893 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
1894
fd521b47
NC
18952001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
1896
1897 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
1898 __EH_FRAME_END__ and accept eh frames into data section.
1899 Add ctor and dtor sections.
1900
59d28a94
DD
19012001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1902
1903 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
1904 (auto-export): Fix indentation.
1905
663dd378
DD
19062001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1907
1908 * pe-dll.c (autofilter_objectlist): Add startup objects
1909 for profiling.
1910 (auto-export): Constify char * p.
6e814ff8 1911 Extract file basename and use strcmp rather than ststr
663dd378
DD
1912 for object lookup.
1913
31d677f9
CD
19142001-10-18 Chris Demetriou <cgd@broadcom.com>
1915
1916 * ldmain.c (get_emulation): Improve comment about the handling
1917 of -mipsN options.
1918
aa200fe8
AM
19192001-10-17 Alan Modra <amodra@bigpond.net.au>
1920
1921 * po/POTFILES.in: Regenerate.
1922
146e7110
AM
19232001-10-16 Vassili Karpov <malc@pulsesoft.com>
1924
1925 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
1926 -z nocopyreloc and -z nocombreloc usage strings.
1927
b4330e85
NC
19282001-10-12 Vassili Karpov <malc@pulsesoft.com>
1929
146e7110 1930 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
1931 in usage.
1932
5af8a2fb
NC
19332001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
1934
1935 * scripttempl/armaout.sc: Place .bss section after end of aligned
1936 data section to match behaviour of aout code in constructrion of
1937 header.
1938
5b784096
DD
19392001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1940
1941 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
1942 startup files for mingw32 dlls to list.
1943
61585df2
CD
19442001-10-10 Chris Demetriou <cgd@broadcom.com>
1945
1946 * emultempl/elf32.em: Fix shell 'if' usage for portability.
1947
45cf6f3e
AH
19482001-10-08 Aldy Hernandez <aldyh@redhat.com>
1949
1950 * configure.tgt (targ): Add arm9e-*-elf.
1951
e24d7c12
L
19522001-10-05 H.J. Lu <hjl@gnu.org>
1953
1954 * genscripts.sh: Fix a typo in the last change.
1955
ec38dd05
JJ
19562001-10-05 Jakub Jelinek <jakub@redhat.com>
1957
1958 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
1959 -z nocombreloc in usage.
1960
cedd6b0d
JB
19612001-10-03 Jim Blandy <jimb@redhat.com>
1962
1963 * genscripts.sh: Include a comment at the top of each generated
1964 script, explaining its purpose.
1965
8bd621d8
AM
19662001-10-03 Vassili Karpov <malc@pulsesoft.com>
1967
1968 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
1969 * NEWS: Mention -z nocopyreloc.
1970 * ld.texinfo (Options): Describe nocopyreloc.
1971
fcd8210c
AM
19722001-10-03 Alan Modra <amodra@bigpond.net.au>
1973
1974 * configure: Regenerate.
1975
d32820f2
AM
19762001-10-02 Alan Modra <amodra@bigpond.net.au>
1977
1978 * ldver.h (ld_program_version): Remove declaration.
1979 * lexsup.c (parse_args): Move printing of copyright message..
1980 * ldver.c (ldversion): .. to here.
1981 Use BFD_VERSION_STRING in place of BFD_VERSION.
1982 (ld_program_version): Remove.
1983 * Makefile.am (Makefile): Depend on bfd/configure.in.
1984 Run "make dep-am".
1985 * Makefile.in: Regenerate.
1986
af46bcdc
HPN
19872001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1988
1989 * Makefile.am: Update dependencies with "make dep-am".
1990 * Makefile.in: Regenerate.
1991
4818e05f 19922001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 1993
4818e05f
AM
1994 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
1995 * lexsup.c: Add --no-define-common commandline option.
1996 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
1997 * ldlex.l: Likewise.
1998 * ld.h: Add command_line.inhibit_common_definition.
1999 * ldmain.c (main): Initialize.
2000 * ld.texinfo: Document.
862517b6 2001
a59f3d35
AM
20022001-09-29 Alan Modra <amodra@bigpond.net.au>
2003
2004 * ldlang.c (section_already_linked): Remove assignment to kept_section.
2005
d5e0ebeb
AM
20062001-09-26 Alan Modra <amodra@bigpond.net.au>
2007
2008 * ldmisc.c (USE_STDARG): Remove.
2009 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2010 (einfo): Likewise.
2011 (minfo): Likewise.
2012 (lfinfo): Likewise.
2013
2014 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
2015 declarations. Update copyright.
2016
2f8d8971
NC
20172001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
2018
85c77458
NC
2019 * pe-dll.c: Remove obsoleted declaration of
2020 pe_get_data_import_dll_name.
2021 (pe_create_import_fixup): Fix thinko.
2022
2f8d8971
NC
2023 * ld.texinfo(enable-auto-import): Clarify the explanation.
2024
20252001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
2026
2027 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
2028 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
2029 DLL_SUPPORT controlled code.
2030
72358f65 20312001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 2032
72358f65
NC
2033 * emultempl/pe.em(pe_data_import_dll): Make static.
2034 (pe_get_data_import_dll_name): New accessor function.
146e7110 2035 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
2036 pe_get_data_import_dll_name() from pe.em, instead of
2037 directly accessing pe_data_import_dll variable from pe.em.
2038
3882b010
L
20392001-09-18 Bruno Haible <haible@clisp.cons.org>
2040
2041 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
2042 (def_file_add_directive): Use ISSPACE instead of isspace.
2043 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
2044 isdigit/isxdigit/isalpha/isalnum.
2045 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
2046 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
2047 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
2048 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
2049 isalnum.
2050 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
2051 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
2052 isupper/tolower.
2053 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
2054 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
2055 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
2056 (ctor_prio): Use ISDIGIT instead of isdigit.
2057 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
2058 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
2059 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
2060 isupper/tolower.
2061 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
2062 (stricpy): Use TOLOWER instead of isupper/tolower.
2063 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
2064 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
2065 (lex_warn_invalid): Use ISPRINT instead of isprint.
2066 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
2067 (main): For gettext, also set the LC_CTYPE locate facet.
2068 (add_keepsyms_file): Use ISSPACE instead of isspace.
2069 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
2070 (is_num, parse_args): Use ISDIGIT instead of isdigit.
2071 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
2072 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
2073 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
2074 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
2075 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
2076 (quoteput): Use ISSPACE instead of isspace.
2077 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
2078 instead of isalnum.
2079
db09f25b
AM
20802001-09-18 Alan Modra <amodra@bigpond.net.au>
2081
2082 * deffilep.y (def_stash_module): Constify "name" param.
2083
2084 * pe-dll.c: Replace CONST with const throughout.
2085 (quick_symbol): Constify "n1", "n2", "n3" params.
2086 (make_singleton_name_thunk): Constify "import" param. Make
2087 "buffer_len" a size_t.
2088 (make_import_fixup_entry): Constify "name", "fixup_name",
2089 "dll_symname" params.
2090 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
2091 (pe_get32): Likewise.
2092 (pe_implied_import_dll): Likewise.
2093
2094 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
2095 (sort_by_section_name): Likewise.
2096
2097 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
2098 (make_import_fixup): Cast printf arg, rel->address to long rather
2099 than int.
2100 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2101
74699268
AM
21022001-09-15 Alan Modra <amodra@bigpond.net.au>
2103
2104 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
2105 defines BufferSize. Increase buffer size by one.
2106
775cabad
NC
21072001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
2108
2109 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
2110
056a1d49
NC
21112001-09-14 Kevin Lo <kevlo@openbsd.org>
2112
2113 * configure.tgt: Add arm-openbsd target.
2114
a7d792bb
L
21152001-09-12 H.J. Lu <hjl@gnu.org>
2116
2117 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
2118 eelf64lppc.o to ...
2119 (ALL_64_EMULATIONS): Here.
2120 * Makefile.in: Regenerated.
2121
0d888aac
CW
21222001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2123
2124 * emultempl/pe.em(make_import_fixup): change signature to
2125 take asection as well as arelec; we need this for proper
146e7110 2126 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
2127 there is no attempt to add a constant addend to the reloc;
2128 otherwise, report error condition.
2129 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
2130 since final argument is a pointer to make_import_fixup().
2131 Change call to cb() to match make_import_fixup() signature.
2132 (make_import_fixup_mark): make buffer_len unsigned.
2133 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2134
21352001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
2136
2137 * ld.texinfo: add verbose documentation for auto-import
146e7110 2138 direct-addressing workaround, to compliment the terse
0d888aac
CW
2139 error message.
2140
cedacdc0
CM
21412001-09-12 Andrew MacLeod <amacleod@redhat.com>
2142
146e7110 2143 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 2144
3b16e843 21452001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
2146
2147 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
2148 * emulparams/h8300self.sh: Similarly.
2149
559e4713
NC
21502001-09-05 Danny Smith <dannysmith@users.souceforge.net>
2151
2152 * ld.texinfo (Options, --stack): Correct default value for stack
2153 reserve.
2154
1fdf0249
TR
21552001-09-05 Tom Rix <trix@redhat.com>
2156
2157 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 2158
9b5799b8
AJ
21592001-09-03 Andreas Jaeger <aj@suse.de>
2160
2161 * emultempl/beos.em: Declare prototypes for comparions functions,
2162 adjust definitions.
2163
48f6162b
AJ
21642001-09-02 Andreas Jaeger <aj@suse.de>
2165
2166 * emultempl/aix.em: Add missing prototype.
2167 * emultempl/lnk960.em: Likewise.
2168 * emultempl/vanilla.em: Likewise.
2169 * emultempl/armcoff.em: Likewise.
2170 * emultempl/armelf_oabi.em: Likewise.
2171 * emultempl/beos.em: Likewise.
2172 * emultempl/gld960c.em: Likewise.
2173 * emultempl/gld960.em: Likewise.
2174
2175 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
2176 for prototype declaration.
2177
39e5585e
EC
21782001-08-31 Eric Christopher <echristo@redhat.com>
2179 Jason Eckhardt <jle@redhat.com>
2180
2181 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2182
3fc90ddb
AJ
21832001-08-31 Andreas Jaeger <aj@suse.de>
2184
2185 * emultempl/pe.em: Add missing prototypes.
2186 (gld_${EMULATION_NAME}_after_open): Remove extra args to
2187 pe_find_data_imports.
2188 (pr_sym): Add unused attribute.
2189
d43ded80
PB
21902001-08-29 Joel Sherrill <joel@OARcorp.com>
2191
39e5585e 2192 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
2193 default from coff to elf.
2194
3946dd2f
JL
21952001-08-29 Jeff Law <law@redhat.com>
2196
2197 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
2198 ARCH specification.
2199 * emulparams/h8300self.sh: Similarly.
2200
3b16e843 22012001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
2202
2203 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
2204 eh8300self.o .
2205 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
2206 * configure.tgt (h8300-*-elf*): New case.
2207 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
2208 * emulparams/h8300self.sh: New file.
2209 * Makefile.in: Regenerated.
2210
70d0c6e9
NC
22112001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
2212
2213 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
2214 with macro name.
2215
5c67d4bb
AM
22162001-08-27 Linus Nordberg <linus@swox.com>
2217 Alan Modra <amodra@bigpond.net.au>
2218
2219 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
2220 (eelf64ppc.c, eelf64lppc.c): Add make targets.
2221 Run "make dep-am"
2222 * Makefile.in: Regenerate.
2223 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
2224 entries to correct alphabetical position.
2225 * emulparams/elf64ppc.sh: New.
2226 * emulparams/elf64lppc.sh: New.
2227
08131015
NC
22282001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
2229
2230 * ldmain.c (main): Declare BSIZE as static.
2231
db6751f2
JJ
22322001-08-23 Jakub Jelinek <jakub@redhat.com>
2233
2234 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
2235 into .rel.dyn resp. .rela.dyn if combreloc.
2236 (get_script): If .x linker script is equal to .xn, only put it
2237 once into the binary.
2238 Add .xc and .xsc scripts.
2239 (parse_args): Handle -z combreloc and -z nocombreloc.
2240 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
2241 For .xc and .xsc scripts put all .rel* or .rela* input sections
2242 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
2243 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
2244 is elf.
2245 Strip trailing whitespace from script.
2246 Generate .xc and .xsc scripts if requested.
2247 * ldmain.c (main): Initialize link_info.combreloc and
2248 link_info.spare_dynamic_tags.
2249 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
2250 (ld_options): Add --spare-dynamic-tags option.
2251 (parse_args): Likewise.
2252 * ld.texinfo: Document -z combreloc and -z nocombreloc.
2253 * ldint.texinfo: Document .xc and .xsc linker scripts.
2254 * NEWS: Add notes about -z combreloc and SHF_MERGE.
2255
63d069c0
L
22562001-08-22 H.J. Lu <hjl@gnu.org>
2257
2258 * emulparams/elf32fr30.sh: Add a newline.
2259
948f9114
AJ
22602001-08-21 Andreas Jaeger <aj@suse.de>
2261
2262 * deffilep.y: Add missing prototypes.
2263 * pe-dll.c: Likewise.
2264
ae7fb08f
AM
22652001-08-20 Alan Modra <amodra@bigpond.net.au>
2266
2af02257
AM
2267 * ldlang.c (insert_pad): Fix typos in last patch.
2268
2269 * ldlang.c: When traversing lang_statement_union_type lists,
2270 consistently use "header.next" rather than "next".
2271 * mpw-eppcmac.c: Likewise.
2272 * emultempl/beos.em: Likewise.
2273 * emultempl/hppaelf.em: Likewise.
2274 * emultempl/pe.em: Likewise.
2275 * ldlang.h (union lang_statement_union): Remove "next" field.
2276
c0c330a7
AM
2277 * ldlang.c (insert_pad): Use offsetof macro.
2278 (lang_size_sections): Always neuter padding statements.
2279 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
2280
ae7fb08f
AM
2281 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
2282 passed to lang_size_sections.
2283 (pe_exe_fill_sections): Likewise.
2284 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
2285 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
2286
fab80407
AM
22872001-08-18 Alan Modra <amodra@bigpond.net.au>
2288
2289 * emultempl/aix.em: Formatting fixes.
2290
b3327aad
AM
22912001-08-18 Alan Modra <amodra@bigpond.net.au>
2292
2293 * ldlang.c (insert_pad): Make use of an existing pad statement if
2294 available. Move code calculating alignment, adjusting section
2295 alignment power, and adjusting dot to ..
2296 (size_input_section): .. here. Remove unused relax param.
2297 (lang_size_sections): Change boolean `relax' param to boolean *.
2298 Adjust call to size_input_section. Make use of insert_pad to
2299 place pad after the assignment statement. If relaxing, zap
2300 padding statements.
2301 (reset_memory_regions): Reset output_bfd section sizes too.
2302 (relax_again): Move to..
2303 (lang_process): ..here. Adjust call to lang_size_sections, and
2304 remove duplicated code.
2305 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
2306
563e308f
AM
23072001-08-17 Alan Modra <amodra@bigpond.net.au>
2308
2309 * ld.texinfo: Document that fill values now use the four least
2310 significant bytes.
2311 * emulparams/elf32fr30.sh (NOP): Update.
2312 * emulparams/elf32mcore.sh: Likewise.
2313 * emulparams/elf64_s390.sh: Likewise.
2314 * emulparams/elf_i386.sh: Likewise.
2315 * emulparams/elf_i386_be.sh: Likewise.
2316 * emulparams/elf_i386_chaos.sh: Likewise.
2317 * emulparams/elf_i386_ldso.sh: Likewise.
2318 * emulparams/elf_s390.sh: Likewise.
2319 * emulparams/elf_x86_64.sh: Likewise.
2320 * emulparams/i386moss.sh: Likewise.
2321 * emulparams/i386nw.sh: Likewise.
2322 * emulparams/m68kelf.sh: Likewise.
2323 * scripttempl/elf.sc: Update NOP comment.
2324 * scripttempl/elfi370.sc: Likewise.
2325 * scripttempl/elfm68hc11.sc: Likewise.
2326 * scripttempl/elfm68hc12.sc: Likewise.
2327 * scripttempl/nw.sc: Likewise.
2328
b90e1c6f
TR
23292001-08-15 Tom Rix <trix@redhat.com>
2330
2331 * ldgram.y (saved_script_handle): Initialize to NULL.
2332 * ldmain.c (main): Change check on saved_script_handle.
948f9114 2333
39dcfe18
AM
23342001-08-14 Alan Modra <amodra@bigpond.net.au>
2335
cde43e70
AM
2336 * emultempl/elf32.em: Formatting fixes.
2337 (output_prev_sec_find): Test for bfd_ind_section too; do so by
2338 looking at sec->owner.
2339 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
2340 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
2341 unused code, and reorganize orphan section placement code.
2342
39dcfe18
AM
2343 * ldlang.c (wild_doit): Rename to lang_add_section.
2344 * ldlang.h: Here too.
2345 * mpw-elfmips.c: And here.
2346 * emultempl/beos.em: And here.
2347 * emultempl/elf32.em: And here.
2348 * emultempl/hppaelf.em: And here.
2349 * emultempl/pe.em: And here.
2350
908d20b3
RH
23512001-08-13 Richard Henderson <rth@redhat.com>
2352
2353 * emultempl/needrelax.em: New file.
2354 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
2355 * Makefile.am (eelf64_ia64.c): Depend on it.
2356 * Makefile.in: Rebuild.
2357
0f33d40b
AM
23582001-08-13 Alan Modra <amodra@bigpond.net.au>
2359
22af9fd3
AM
2360 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
2361 output_section is set non-NULL.
2362
0f33d40b
AM
2363 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
2364 `true' for SEC_EXCLUDE sections so that the generic code doesn't
2365 needlessly create an output_section_statement. Treat a correctly
2366 named output_section_statement with NULL bfd_section as compatible.
2367
55ab6103
HPN
23682001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
2369
2370 * emultempl/generic.em: Support EXTRA_EM_FILE.
2371 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
2372 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2373 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2374 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2375 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2376 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2377 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2378 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2379 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2380 LDEMUL_FIND_POTENTIAL_LIBRARIES.
2381
24098abb
RH
23822001-08-12 Richard Henderson <rth@redhat.com>
2383
2384 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
2385 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
2386 scripttempl/v850.sc: Keep .jcr data.
2387
b9a8de1e 23882001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
2389 Andrew Haley <aph@cambridge.redhat.com>
2390 Nick Clifton <nickc@redhat.com>
b9a8de1e 2391
146e7110 2392 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
2393 Change type to file handle.
2394 * ld.h (had_script): Rename and retype.
2395 * ldfile.c (ldfile_open_command_file): Save the file handle
2396 used in saved_script_handle.
2397 * lexsup.c (parse_args): Do not allow -c option to alter
2398 saved_script_handle.
2399 * ldmain.c (main): Print out the linker script used if
2400 --verbose is given. Check saved_script_handle to obtain the
2401 external linker script used, or if NULL, dump the builtin
2402 script.
2403 * ld.texinfo: Document that --verbose now dumps the linker
2404 script used, regardless of whether it was an internal or an
2405 external script.
2406
0218d1e4
AJ
24072001-08-10 Andreas Jaeger <aj@suse.de>
2408
2409 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2410 to build warnings.
2411 * configure: Regenerate.
2412
5253f23b
AM
24132001-08-09 Alan Modra <amodra@bigpond.net.au>
2414
73810896
AM
2415 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2416
5253f23b
AM
2417 * scripttempl/elf.sc: Move non-text .dynamic section before
2418 .plt/.got/.sdata* group.
2419 (OTHER_GOT_SECTIONS): Move to immediately after .got.
2420 (OTHER_SDATA_SECTIONS): Add.
2421 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
2422 OTHER_GOT_SECTIONS.
2423 * emulparams/crislinux.sh: Likewise.
2424 * emulparams/elf32b4300.sh: Likewise.
2425 * emulparams/elf32bmip.sh: Likewise.
2426 * emulparams/elf32bmipn32.sh: Likewise.
2427 * emulparams/elf32bsmip.sh: Likewise.
2428 * emulparams/elf32btsmip.sh: Likewise.
2429 * emulparams/elf32ebmip.sh: Likewise.
2430 * emulparams/elf32elmip.sh: Likewise.
2431 * emulparams/elf32l4300.sh: Likewise.
2432 * emulparams/elf32lmip.sh: Likewise.
2433 * emulparams/elf32lsmip.sh: Likewise.
2434 * emulparams/elf32ltsmip.sh: Likewise.
2435 * emulparams/elf64bmip.sh: Likewise.
2436 * emulparams/elf64btsmip.sh: Likewise.
2437 * emulparams/elf64ltsmip.sh: Likewise.
2438
179c732c
AM
24392001-08-08 Alan Modra <amodra@bigpond.net.au>
2440
2441 * genscripts.sh: Source the emulparams script before each output
2442 script is generated so that variables like `RELOCATING' may affect
2443 variables defined in the emulparams script.
2444
3fd36710
AM
24452001-08-04 Alan Modra <amodra@bigpond.net.au>
2446
20713691
AM
2447 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
2448 order.
2449
3fd36710
AM
2450 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2451 ie. iterate over wild_statement.section_list.
2452 (gld${EMULATION_NAME}_place_orphan): Likewise.
2453
de0b1853
SC
24542001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2455
2456 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2457 .fini[0-4] sections used by _exit
2458 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2459 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2460 * scripttempl/elfm68hc11.sc: Likewise.
2461
ff7e6f88
L
24622001-08-03 H.J. Lu <hjl@gnu.org>
2463
2464 * emultempl/beos.em (init): Add the missing initialization.
2465
b6bf44ba
AM
24662001-08-03 Alan Modra <amodra@bigpond.net.au>
2467
2468 * ld.texinfo (Input Section Basics): Clarify ordering of output
2469 sections.
2470 * ldlang.c (callback_t): Add wildcard_list param.
2471 (walk_wild_section): Remove "section" param. Rewrite for
2472 lang_wild_statement_type change. Remove unique_section_p test.
2473 (walk_wild_file): Remove "section" param.
2474 (walk_wild): Remove "section" and "file" params.
2475 (lang_gc_wild): Likewise.
2476 (wild): Likewise. Modify for lang_wild_statement_type change.
2477 (wild_sort): Likewise. Add "sec" param.
2478 (gc_section_callback): Likewise.
2479 (output_section_callback): Likewise. Do unique_section_p test.
2480 (map_input_to_output_sections): Modify call to wild.
2481 (lang_gc_sections_1): Likewise.
2482 (print_wild_statement): Modify for lang_wild_statement_type
2483 change.
2484 (lang_add_wild): Replace filename, filenames_sorted param with
2485 filespec. Replace section_name, sections_sorted,
2486 exclude_filename_list with section_list.
2487 * ldlang.h (lang_add_wild): Here too.
2488 (lang_wild_statement_type): Replace section_name, sections_sorted,
2489 and exclude_filename_list with section_list.
2490 * ldgram.y (current_file): Delete.
2491 (%union): Add wildcard_list.
2492 (file_NAME_list): Set type to wildcard_list. Build a linked list
2493 rather than calling lang_add_wild for each entry.
2494 (input_section_spec_no_keep): Call lang_add_wild here instead.
2495 * ld.h (struct wildcard_list): Declare.
2496 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2497
b044cda1
CW
24982001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2499
2500 * ldmain.c (main): initialize link_info.pei386_auto_import
2501 * pe-dll.c: new tables for auto-export filtering
2502 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2503 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2504 "by hand".
2505
25062001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2507
b6bf44ba
AM
2508 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2509 static variable current_sec (static struct sec *). Add
b044cda1 2510 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2511 (process_def_file): Don't export undefined symbols. Do not
2512 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2513 with new API.
2514 (pe_walk_relocs_of_symbol): New function.
2515 (generate_reloc): add optional extra debugging
b6bf44ba 2516 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2517 line in output
b6bf44ba 2518 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2519 (DATA auto-import support).
2520 (make_singleton_name_thunk): New function.
2521 (make_import_fixup_mark): New function.
2522 (make_import_fixup_entry): New function.
2523 (pe_create_import_fixup): New function.
b6bf44ba 2524 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2525 char *.
b6bf44ba
AM
2526 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2527 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2528 pe_create_import_fixup.
2529 * emultempl/pe.em: add new options --enable-auto-import,
2530 --disable-auto-import, and --enable-extra-pe-debug.
2531 (make_import_fixup): New function.
2532 (pe_find_data_imports): New function.
2533 (pr_sym): New function.
b6bf44ba 2534 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2535 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2536 CODE.
2537
25382001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2539
b044cda1
CW
2540 * ld.texinfo: add additional documentation for
2541 --export-all-symbols. Document --out-implib,
2542 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2543 --dll-search-prefix, --enable-auto-import, and
2544 --disable-auto-import.
b044cda1
CW
2545 * ldint.texinfo: Add detailed documentation on auto-import
2546 implementation.
2547
156e34dd
NC
25482001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2549
2550 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2551 example.
2552
d6231427
AM
25532001-07-24 Alan Modra <amodra@bigpond.net.au>
2554
2555 * Makefile.am: Update dependencies with "make dep-am".
2556 * Makefile.in: Regenerate
2557
e14ec88b
AM
25582001-07-23 Alan Modra <amodra@bigpond.net.au>
2559
2560 * ldcref.c (check_section_sym_xref): New function.
2561 (check_nocrossrefs): Call it.
2562 (check_nocrossref): Interate over h->refs here instead of..
2563 (check_refs): ..here. Pass in the symbol name, section, and bfd
2564 rather than hash_entry pointers.
2565 (struct check_refs_info): Keep symbol name rather than hash entry.
2566 Remove "same".
2567 (check_reloc_refs): Tweak for above changes in check_refs_info.
2568 Only report references to section syms when symname is NULL to
2569 prevent duplicate messages for the same reloc.
2570
1b577b00
NC
25712001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2572
c7d701b0
NC
2573 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2574 available. Do not print NULL trees.
2575 (exp_print_token): Print unknown tokens with values > 126 as
2576 decimal values not ASCII characters.
2577
1545243b
NC
2578 * ldlang.c (lang_leave_overlay): If a region is specified assign
2579 it to all sections inside the overlay unless they have been
2580 assigned to the own, non-default, memory region.
2581
1b577b00
NC
2582 * README: Add header for consistency with other README files.
2583
5030876b
L
25842001-07-14 H.J. Lu <hjl@gnu.org>
2585
2586 * emultempl/elf32.em (output_prev_sec_find): Never return
2587 bfd_abs_section_ptr, bfd_com_section_ptr nor
2588 bfd_und_section_ptr.
2589
18c7a9a5
NC
25902001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2591
22af9fd3 2592 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
2593 elf32.em.
2594 * Makefile.in: Regenerate.
2595
9ffecff1
MG
25962001-07-14 matthew green <mrg@eterna.com.au>
2597
2598 * configure.tgt (i386-*-netbsdelf*): New target.
2599 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2600
95500e1c
JJ
26012001-07-13 Jakub Jelinek <jakub@redhat.com>
2602
2603 * emultempl/elf32.em (output_prev_sec_find): New.
2604 (place_orphan): Use it.
2605
e97cb84f
L
26062001-07-11 H.J. Lu <hjl@gnu.org>
2607
2608 * ldmain.c (main): Fix typos in the last change.
2609
7333607e
JJ
26102001-07-11 Jakub Jelinek <jakub@redhat.com>
2611
2612 * ldmain.c (main): Disallow -F and -f without -shared.
2613
d29d80f2
NC
26142001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2615
2616 * emultempl/pe.em (after_open): Check for the output_bfd not
2617 having any coff_data structure allocated to it.
2618
c2a1a436
DB
26192001-07-09 David O'Brien <obrien@FreeBSD.org>
2620
2621 * emultempl/elf32.em: Do not assuming that contents of the buffer
2622 returned from basename function will remain unchanged accross other
2623 function calls.
2624
63653551
L
26252001-07-03 H.J. Lu <hjl@gnu.org>
2626
2627 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2628 2001-07-03. It creates dynamic entries even for static binaries.
2629
d303a449
L
26302001-07-03 Jakub Jelinek <jakub@redhat.com>
2631
2632 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2633 (DYNAMIC): Use it to reserve few dynamic entries for
2634 post-linking tools.
2635
9f22353f
AM
26362001-06-27 Alan Modra <amodra@bigpond.net.au>
2637
2638 * emulparams/hppa64linux.sh: New file.
2639 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2640 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2641 (ehppa64linux.c): Add rule to make it.
2642 Run "make dep-am".
2643 * Makefile.in: Regenerate.
2644
62bf86b4
HPN
26452001-06-21 Hans-Peter Nilsson <hp@axis.com>
2646
2647 * ld.texinfo (Options, -r): Mention restrictions when using
2648 different object formats.
2649
429d935d
HPN
26502001-06-19 Hans-Peter Nilsson <hp@axis.com>
2651
2652 * ldlang.c (lang_check): Emit fatal error if relocatable link
2653 between different object flavours with relocations in input.
2654
cb840a31
L
26552001-06-19 H.J. Lu <hjl@gnu.org>
2656
2657 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2658 (--version-script): Mention the language support.
2659
9bf03acc
L
26602001-06-19 H.J. Lu <hjl@gnu.org>
2661
2662 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2663
c45021f2
NC
26642001-06-18 H.J. Lu <hjl@gnu.org>
2665
b6bf44ba
AM
2666 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2667 (diststuff): Add $(MANS).
2668 * Makefile.in: Regenerated.
c45021f2 2669
b6bf44ba 2670 * ld.1: Removed.
c45021f2 2671
6caa99ab
HPN
26722001-06-18 Hans-Peter Nilsson <hp@axis.com>
2673
605d9b3a
HPN
2674 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2675 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2676 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2677 * ld.h (args_type): Remove member export_dynamic. All users
2678 changed to use struct bfd_link_info member.
2679
6caa99ab
HPN
2680 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2681 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2682 * Makefile.in: Regenerate.
2683
6f9efd97
L
26842001-06-18 H.J. Lu <hjl@gnu.org>
2685
2686 * ldlang.c (init_os): Add the newline to the einfo call.
2687 (lang_check): Likewise.
2688 (lang_do_version_exports_section): Likewise.
2689
5af9fd8b
L
26902001-06-15 H.J. Lu <hjl@gnu.org>
2691
2692 * lexsup.c (parse_args); Save optind to report unrecognized
2693 option.
2694
2a096f04
HPN
26952001-06-15 Hans-Peter Nilsson <hp@axis.com>
2696
7e66c3f5
HPN
2697 * ldlang.c (lang_check): Emit fatal error if relocatable link
2698 between different object flavours.
2699
2a096f04
HPN
2700 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2701 Set new link_info member export_dynamic.
2702 * ldmain.c (main): Initialize new link_info member export_dynamic.
2703
6770ec8c
NC
27042001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2705
2706 * ldlang.c (walk_wild): Only call walk_wild_file if
2707 lookup_name returns something.
b6bf44ba 2708 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 2709 (load_symbols): Change to a boolean function.
b6bf44ba 2710 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
2711 executable.
2712
8529105a
AM
27132001-06-08 Alan Modra <amodra@bigpond.net.au>
2714
2715 * ldlang.c (record_bfd_errors): Remove.
2716
2717 * emultempl/aix.em: Fix copyright dates.
2718
8f3aa7a0
AJ
27192001-06-07 Andreas Jaeger <aj@suse.de>
2720
2721 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2722 (TEXT_START_ADDR): Likewise.
2723
3277f888
AM
27242001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2725
2726 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2727
3763134d
DD
27282001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2729
2730 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2731
5929ebc0
L
27322001-05-31 H.J. Lu <hjl@gnu.org>
2733
2734 * ldlang.c (open_input_bfds): Don't change the bfd error
2735 handler whilst loading symbols.
2736
c04a062d
NC
27372001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2738
2739 * configure.tgt: Remove i370-mvs architecture, it is not currently
2740 supported.
2741
96fcab3e
L
27422001-05-25 H.J. Lu <hjl@gnu.org>
2743
2744 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2745 like emulparams/aixppc.sh.
2746
db8d4f23
L
27472001-05-25 H.J. Lu <hjl@gnu.org>
2748
2749 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2750 setting of output_filename after bfd_scan_arch.
2751 * emultempl/pe.em: Likewise.
2752
5f642101
L
27532001-05-25 H.J. Lu <hjl@gnu.org>
2754
2755 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2756 like emulparams/aixppc.sh.
2757
2758 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2759 instead of ${srcdir}/emultempl/stringify.sed.
2760
64e9ece0
TW
27612001-05-25 Timothy Wall <twall@oculustech.com>
2762
2763 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 2764 output.
64e9ece0 2765
c709b096
AM
27662001-05-25 Alan Modra <amodra@one.net.au>
2767
2768 * configure.host: Replace linuxoldld with linux*oldld.
2769 * configure.tgt: Likewise.
2770
6cbdcc6f
L
27712001-05-24 H.J. Lu <hjl@gnu.org>
2772
2773 * emultempl/stringify.sed: Removed again.
2774
86af25fe
L
27752001-05-24 H.J. Lu <hjl@gnu.org>
2776
2777 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2778 (gld${EMULATION_NAME}_before_parse): Initialize
2779 ldfile_output_architecture, ldfile_output_machine and
2780 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2781 * emultempl/beos.em: Likewise.
2782 * emultempl/elf32.em: Likewise.
2783 * emultempl/linux.em: Likewise.
2784 * emultempl/mipsecoff.em: Likewise.
2785 * emultempl/pe.em: Likewise.
2786 * emultempl/sunos.em: Likewise.
2787
3b1b01cf
TR
27882001-05-24 Tom Rix <trix@redhat.com>
2789
8f3aa7a0 2790 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
2791 udate import file format.
2792 (change_symbol_mode) New, same
2793 (is_syscall) New, same
2794 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2795 * emulparams/aixppc64.sh : same
2796 * emulparams/aixrs6.sh : same
2797 * emulparams/ppcmacos.sh : same
2798 * emultempl/aix.em : use strtoull to parse options
2799 * Makefile.am : add eaixppc64 emulation for xcoff64
2800 * Makefile.in : same
2801 * configure.tgt : same
2802
2803 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 2804 default data section offset to 0x20000000
3b1b01cf 2805 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 2806 loader and debug sections use the currect section offset.
3b1b01cf
TR
2807
2808 * emultempl/aix.em : Add xcoff64 support
2809 Add -binitfini support
8f3aa7a0 2810 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 2811 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 2812 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
2813 sections
2814
2815 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 2816
57e6abd2
AO
28172001-05-23 Alexandre Oliva <aoliva@redhat.com>
2818
2819 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2820 variable to avoid non-portable shell construct.
2821
d1cf510e
NC
28222001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2823
2824 * ldmain.c (get_emulation): Add -mips5 command line argument.
2825
506eee22
NC
28262001-05-22 Alexandre Oliva <aoliva@redhat.com>
2827
2828 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2829 (ELF_INTERPRETER_NAME): Define it.
2830 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2831 it.
2832 * configure.tgt (targ_emul, targ_extra_emuls)
2833 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2834 as primary, elf_i386 as extra.
2835 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2836 (eelf_i386_ldso.c): New rule.
2837 * Makefile.in: Rebuilt.
2838
28392001-05-22 Nick Clifton <nickc@redhat.com>
2840
2841 * lexsup.c (ld_options): Allow -I to be an alias for
2842 --dynamic-linker. This is for Solaris compatability.
2843 * ld.texinfo: Document that -I can be used.
2844 * ld.1: Regenerate.
2845
d1778b88
AM
28462001-05-16 Alan Modra <amodra@one.net.au>
2847
2848 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2849 whether an input section is the first one assigned to an output
2850 section.
2851 Assorted formatting fixes.
2852
02649152
DD
28532001-05-14 DJ Delorie <dj@delorie.com>
2854
2855 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2856 * Makefile.in: Ditto.
2857
579f31ac
JJ
28582001-05-11 Jakub Jelinek <jakub@redhat.com>
2859
2860 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2861 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2862 output sections.
2863 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2864
8550eb6e
JJ
28652001-05-11 Jakub Jelinek <jakub@redhat.com>
2866
2867 * ldlang.c (lang_process): Call bfd_merge_sections.
2868
8e5a525c
AM
28692001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2870
2871 * ldgram.y: Fix typo.
2872
1c9acd94
L
28732001-05-03 H.J. Lu <hjl@gnu.org>
2874
2875 * emultempl/elf32.em: Include "libiberty.h".
2876 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2877 basename of the bfd filename.
2878 (gld${EMULATION_NAME}_stat_needed): Likewise.
2879 (gld${EMULATION_NAME}_try_needed): Likewise.
2880 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2881
14fe918e
L
28822001-05-02 H.J. Lu <hjl@gnu.org>
2883
2884 * emultempl/pe.em: Include <ctype.h>.
2885
c7e40348
NC
28862001-05-02 Johan Rydberg <jrydberg@opencores.org>
2887
b6bf44ba 2888 * emulparams/elf32openrisc.sh: New file.
c7e40348 2889
b6bf44ba
AM
2890 * Makefile.am: Add OpenRISC target.
2891 * Makefile.in: Regenerated.
c7e40348 2892
b6bf44ba 2893 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
2894
28952001-05-02 Nick Clifton <nickc@redhat.com>
2896
2897 * emultempl/aix.em: Replace buystring with xstrdup.
2898 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 2899
d1b2b2dc
L
29002001-05-02 H.J. Lu <hjl@gnu.org>
2901
2902 * ldfile.c: Include "libiberty.h".
2903 * ldlex.l: Likewise.
2904
2905 * ldmisc.c (buystring): Removed.
2906 * ldmisc.h: Likewise.
2907
2908 * ldfile.c: Replace buystring with xstrdup.
2909 * ldlang.c: Likewise.
2910 * ldlex.l: Likewise.
2911 * ldmain.c: Likewise.
2912 * ldmisc.c: Likewise.
2913 * lexsup.c: Likewise.
2914 * mpw-eppcmac.c: Likewise.
2915
35714f2a
AJ
29162001-04-30 Andreas Jaeger <aj@suse.de>
2917
2918 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
2919
884fb58e
NC
29202001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2921
b6bf44ba
AM
2922 * ldlang.c (load_symbols): Give emulation a chance
2923 to process unrecognized file before fatal error is
2924 reported, not after.
884fb58e 2925
87748b32
NC
29262001-04-27 Sean McNeil <sean@mcneil.com>
2927
2928 * configure.tgt: Add arm-vxworks target.
2929 * scripttempl/armcoff.sc: Support .text or .data as a section name
2930 prefix.
2931 Define _etext.
35714f2a 2932
7ce691ae
C
29332001-04-13 J.T. Conklin <jtc@redback.com>
2934
2935 * ld.texinfo: Document --fatal-warnings.
2936 * ld.1: Regenerate.
2937
2938 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 2939 warnings have been turned into errors.
7ce691ae
C
2940 * lexsup.c (OPTION_WARN_FATAL): Define.
2941 (ld_options): Entry for --fatal-warnings.
2942 (parse_args): Handle OPTION_WARN_FATAL.
2943 * ld.h (ld_config_type): Add fatal_warnings field.
2944
f5fa8ca2
JJ
29452001-04-13 Jakub Jelinek <jakub@redhat.com>
2946
2947 * ldmain.c (main): Default to discard_sec_merge.
2948 * lexsup.c (OPTION_DISCARD_NONE): Define.
2949 (ld_options): Add --discard-none.
2950 (parse_args): Handle OPTION_DISCARD_NONE.
2951 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
2952 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
2953 all its input sections match.
2954
fdec3cfc
L
29552001-04-05 Steven J. Hill <sjhill@cotw.com>
2956
2957 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
2958 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
2959 (eelf32ltsmip.c): New target.
2960 (eelf64btsmip.c): Likewise.
2961 (eelf64ltsmip.c): Likewise.
2962 * Makefile.in: Regenerated.
2963
2964 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
2965 target.
2966 (mips*-*-linux-gnu*): Likewise.
2967
2968 * emulparams/elf32ltsmip.sh: New. Traditional little endian
2969 MIPS taget.
35714f2a 2970 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
2971 target.
2972 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
2973 endian target.
2974
589bad82
HPN
29752001-04-05 Hans-Peter Nilsson <hp@axis.com>
2976
2977 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
2978 correct value of __Stext here.
2979 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
2980 .startup section.
2981
2982 * emulparams/crislinux.sh: Remove FIXME.
2983
94202e16
AM
29842001-04-02 Alan Modra <alan@linuxcare.com.au>
2985
2986 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
2987 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
2988
1268a053
HPN
29892001-03-27 Hans-Peter Nilsson <hp@axis.com>
2990
2991 * configure.tgt (cris-*-*): Change default emulation to criself.
2992 (cris-*-*aout*): New rule.
2993
d85e9ff7
AM
29942001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
2995
2996 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
2997 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2998
0879a67a
AJ
29992001-03-26 Andreas Jaeger <aj@suse.de>
3000
3001 * ld.texinfo (Overview): Fix syntax in texi code.
3002
0285c67d
NC
30032001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3004
3005 * ld.texinfo: Put @c man indications to generate the ld man page.
3006 When generating man, define all the variables. Define SEEALSO
3007 and SYNOPSIS. Re-organize some lines to avoid the cross references.
3008 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
3009 (ld.1): Generate from ld.texinfo.
3010 * Makefile.in: Regenerate.
3011
c20ec07b
NC
30122001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
3013
3014 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 3015 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 3016
cc5ce052
UD
30172001-03-17 Ulrich Drepper <drepper@redhat.com>
3018
3019 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
3020 is an absolute path look only for this file and not along the path.
3021
a1ab1d2a
UD
30222001-03-17 Ulrich Drepper <drepper@redhat.com>
3023
3024 * emultempl/elf32.em (OPTION_GROUP): New macro.
3025 Add new option Bgroup to longopts.
3026 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
3027 (gld*_list_options): Add -Bgroup and -z defs.
3028 * ld.1: Document -Bgroup and -z defs.
3029 * ld.texinfo: Likewise.
3030
788fca5a
MM
30312001-03-07 Michael Meissner <meissner@redhat.com>
3032
3033 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
3034 with sections created by -fdata-sections.
3035 (.dynbss,.bss): Ditto.
3036
1c7566d1
AM
30372001-03-05 Alan Modra <alan@linuxcare.com.au>
3038
3039 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
3040 after_allocation_default, not gld..._before_allocation.
3041
27b7e12d
AM
30422001-02-27 Alan Modra <alan@linuxcare.com.au>
3043
3044 * configure.in (BFD_VERSION): New.
3045 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3046 * configure: Regenerate.
3047 * Makefile.am: Run "make dep-am"
3048 * Makefile.in: Regenerate.
3049
2bc551c7
TW
30502001-02-26 Timothy Wall <twall@cygnus.com>
3051
3052 * emulparams/elf64_aix.sh: Add additional read-only sections;
3053 uncomment lines which are now required.
3054
1276aefa
NC
30552001-02-26 H.J. Lu <hjl@gnu.org>
3056
3057 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
3058 that problems can be caught whilst loading symbols.
3059 (record_bfd_errors): New function: Report BFD errors and mark
3060 the executable output as being invalid.
1276aefa 3061
41c49998
TW
30622001-02-22 Timothy Wall <twall@cygnus.com>
3063
3064 * configure.host: Add configuration for ia64-*-aix*.
3065 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
3066 Add dependencies for eelf64_aix.c.
3067 * Makefile.in: Regenerate.
3068 * configure.tgt: Add ia64-*-aix* mapping.
3069 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 3070 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
3071 AIX-specific test.
3072
78f85fd7
L
30732001-02-20 H.J. Lu <hjl@gnu.org>
3074
3075 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
3076 false if we found the file.
3077
1ac7e077 30782001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
3079
3080 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
3081 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
3082
e135f41b
NC
30832001-02-18 lars brinkhoff <lars@nocrew.org>
3084
3085 * Makefile.am: Add PDP-11 target.
3086 * configure.tgt: Likewise.
3087 * emulparams/pdp11.sh: New file.
3088
a842aceb
DB
30892001-02-17 David O'Brien <obrien@FreeBSD.org>
3090
3091 * configure.host: Add a generic FreeBSD configuration entry such that
3092 all [modern] FreeBSD systems on all platforms will look the same.
3093
24174db0
L
30942001-02-14 H.J. Lu <hjl@gnu.org>
3095
3096 * configure.tgt: Remove mention of earmelf_linux26.
3097
30c3c13a
RH
30982001-02-13 Richard Henderson <rth@redhat.com>
3099
3100 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
3101
b46a87b1
L
31022001-02-13 H.J. Lu <hjl@gnu.org>
3103
3104 * ldexp.h (node_type): Add etree_provided.
3105 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
3106 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 3107 for etree_provided.
b46a87b1
L
3108 (exp_print_tree): Handle etree_provided.
3109 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
3110 etree_provided.
3111
f3988fd9
RH
31122001-02-09 David Mosberger <davidm@hpl.hp.com>
3113
3114 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
3115 .IA_64.unwind.* pattern to unwind table section and
3116 .IA_64.unwind_info* pattern to unwind info section.
3117
a85d7ed0
NC
31182001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3119
3120 * Makefile.am: Add linux target for S/390.
3121 * Makefile.in: Likewise.
3122 * configure.host: Likewise.
3123 * configure.tgt: Likewise.
3124 * emulparams/elf64_s390.sh: New file.
3125 * emulparams/elf_s390.sh: New file.
3126
780248c4
JJ
31272001-02-09 Jakub Jelinek <jakub@redhat.com>
3128
3129 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
3130 targ_extra_libpath.
3131 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
3132
0e2534bd
PB
31332001-02-06 Philip Blundell <philb@gnu.org>
3134
3135 * Makefile.am: Remove mention of earmelf_linux26.
3136 * Makefile.in: Regenerate.
3137
46c1ea57
PB
31382001-02-04 Philip Blundell <philb@gnu.org>
3139
3140 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
3141 * emulparams/armelf_linux26.sh: Delete.
3142 * configure.tgt: Remove mention of armelf_linux26 emulation.
3143
0088edd2
NC
31442001-02-01 Nick Clifton <nickc@redhat.com>
3145
3146 * ld.1: Replace occurances of -oformat with --oformat.
3147
02aa14fb
AM
31482001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
3149
3150 * ldlang.c (lang_leave_overlay): Don't set lma_region when
3151 load_base is specified.
3152
f813923c
HPN
31532001-01-24 Hans-Peter Nilsson <hp@axis.com>
3154
3155 * emultempl/elf32.em: Correct spelling in comments and listed
3156 options.
3157
c1eb1488
AM
31582001-01-23 Alan Modra <alan@linuxcare.com.au>
3159
3160 * ldlang.c (lang_leave_overlay): Only set lma_region from the
3161 default for the first section of a group of overlay sections.
3162
d9fc3714
AM
31632001-01-22 Alan Modra <alan@linuxcare.com.au>
3164
3165 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
3166 * Makefile.in: Regenerate.
3167 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
3168 Check for null tool_dir.
3169
6be0ca94
JW
31702001-01-16 Jim Wilson <wilson@redhat.com>
3171
3172 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
3173 and IA_64.unwind.info.
3174
b9247304
L
31752001-01-16 H.J. Lu <hjl@gnu.org>
3176
3177 * ldlang.c (lang_check): Merge the private data only if the
3178 input file has contents.
3179
577a0623
AM
31802001-01-14 Alan Modra <alan@linuxcare.com.au>
3181
d952f17a
AM
3182 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
3183
ffd6e9de
AM
3184 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
3185 enabling search for libmilli. On a relocatable link, make .text
3186 sections unique.
3187 (LDEMUL_AFTER_PARSE): Define.
3188 (hppaelf_finish): Correct spelling of relocatable in comments.
3189
577a0623
AM
3190 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3191 rummage through the script for sections on the unique list.
3192 Correct length of strncmp for ".note".
3193 (gld${EMULATION_NAME}_check_needed): Rearrange function.
3194
3195 * ldlang.c (unique_section_list): New var.
3196 (unique_section_p): New function.
3197 (walk_wild_section): Don't match sections on unique_section_list.
3198 (lang_add_unique): New function.
ffd6e9de 3199 Correct spelling of relocatable in comments.
577a0623
AM
3200
3201 * ldlang.h (struct unique_sections): Declare.
3202 (unique_section_list): Declare.
3203 (unique_section_p): Declare.
3204 (lang_add_unique): Declare.
3205
3206 * lexsup.c (ld_options): Allow --unique to take an optional arg.
3207 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
3208
3209 * ld.texinfo (--unique): Update.
3210
b7ed8fad
NC
32112001-01-13 Nick Clifton <nickc@redhat.com>
3212
3213 * lexsup.c (parse_args): Remove spurious white space.
3214
d0398d6a
NC
32152001-01-12 Nick Clifton <nickc@redhat.com>
3216
3217 * lexsup.c (parse_args): Update copyright date.
3218
350fdb00
PB
32192001-01-12 Philip Blundell <pb@futuretv.com>
3220
3221 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
3222
60c6797e
KH
32232001-01-10 Kazu Hirata <kazu@hxi.com>
3224
3225 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
3226 * scripttempl/h8300h.sc: Fix formatting.
3227 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
3228 * scripttempl/h8500.sc: Likewise.
3229 * scripttempl/h8500b.sc: Likewise.
3230 * scripttempl/h8500c.sc: Likewise.
3231 * scripttempl/h8500m.sc: Likewise.
3232 * scripttempl/h8500s.sc: Likewise.
60c6797e 3233
482e8b32
DB
32342000-01-07 David O'Brien <obrien@BSDi.com>
3235
3236 * emultempl/elf32.em: Only perform Linux ld hints processing when
3237 targeting Linux.
3238
d7ed7ca6
PB
32392001-01-07 Philip Blundell <philb@gnu.org>
3240
3241 * ld.texinfo (Bug Reporting): Update email address for reports.
3242
0fc3347a
NC
32432000-12-31 Nick Clifton <nickc@redhat.com>
3244
3245 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
3246 options by checking for a return value of '?' not -1.
3247
e4897a32
NC
32482000-12-28 Nick Clifton <nickc@redhat.com>
3249
3250 * lexsup.c (struct ld_option): Add new enum value:
3251 EXACTLY_TWO_DASHES.
3252 (ld_options[]): Change -omagic, -output and -oformat options
3253 to be EXACTLY_TWO_DASHES.
3254 (OUTPUT_COUNT): Use ARRAY_SIZE.
3255 (parse_args): Change parameter 'argc' to unsigned.
3256 Place EXACTLY_TWO_DASHES options into new really_longopts
3257 array.
3258 If getopt_long_only fails, try calling getopt_long using the
3259 really_longopts array.
3260 (help): Print a double dash for both EXACTLY_TWO_DASHES and
3261 TWO_DASHES options.
3262
3263 * ldlex.h: Fix prototype of parse_args.
3264
3265 * ld.texinfo: Document that long options starting with 'o'
3266 must be preceeded by two dashes. Change example of a single
3267 dashed long option from -oformat to -trace-symbol.
3268
1122a5fc
NC
32692000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3270
3271 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
3272 (longopts[]): New --no-default-excludes option.
3273 (gld_${EMULATION_NAME}_list_options): Document.
3274 (gld_${EMULATION_NAME}_parse_args): Handle.
3275
037849a9
NC
32762000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3277
3278 * ldlang.c (new_stat): Revert the last beautification with "innocent"
3279 whitespace, it breaks the K&R C preprocessor.
3280
7ec229ce
DD
32812000-12-11 DJ Delorie <dj@redhat.com>
3282
3283 * ld.texinfo: Add notes about --whole-archive and gcc.
3284
b79e8c78
NC
32852000-11-18 Fred Fish <fnf@be.com>
3286
3287 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
3288 (ld_options): Entry for --allow-shlib-undefined.
3289 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
3290 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
3291 to false.
3292 * ld.texinfo: Document new command line switch.
d952f17a 3293
9a8e2505
GK
32942000-12-12 Geoffrey Keating <geoffk@redhat.com>
3295
3296 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
3297 .fixup is actually read/write.
3298 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3299 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3300 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3301
3b16e843 33022000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3303
3304 * NEWS: Add note about x86_64 architecture.
3305
93b63cd3
DD
33062000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3307
3308 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
3309 Set DWARF2 sections to a VMA of zero.
3310
68b2fc7a 33112000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 3312
d952f17a 3313 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
3314 New targets.
3315 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3316 (sparc*-*-rtems*): Switched from a.out to ELF.
3317
2be3aa03
NC
33182000-11-30 Jan Hubicka <jh@suse.cz>
3319
3320 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
3321 (eelf_x86_64.c): New.
3322 * Makefile.in: Regenerate.
3323 * configure.tgt: Add support for x86_64-*-linux-gnu*.
3324 * emulparams/elf_x86_64.sh: New.
3325
8c899858
HPN
33262000-11-30 Hans-Peter Nilsson <hp@axis.com>
3327
3328 * emulparams/crislinux.sh (ENTRY): Change back to _start.
3329 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
3330
3331 * scripttempl/crisaout.sc: Change all RELOCATING not related to
3332 merging non-a.out sections into CONSTRUCTING.
3333
e47b9e39
NC
33342000-11-28 Nick Clifton <nickc@redhat.com>
3335
3336 * ld.1 (COPYING): Mention that the GNU Free Documentation
3337 License is present in the sources, but not the output, and
3338 also available from the GNU website.
3339 (GNU Free Documentation License): Comment out this section.
3340
ad95f82a
DB
33412000-11-28 David O'Brien <obrien@dragon.nuxi.com>
3342
3343 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
3344 does not use them.
3345
fd89e65f
DB
33462000-11-25 David O'Brien <obrien@FreeBSD.org>
3347
3348 * ld.1: Remove old date so it does not give the impression the manpage
3349 is way out of date.
3350
077b8428
NC
33512000-11-24 Nick Clifton <nickc@redhat.com>
3352
3353 * configure.tgt (xscale-coff): Add target.
3354 (xscale-elf): Add target.
3355
49425d28
NC
33562000-11-24 Fred Fish <fnf@be.com>
3357
d952f17a
AM
3358 * ldmain.c (main): Remove redundant init of config.make_executable
3359 to true.
49425d28 3360
d3480244
RH
33612000-11-15 Richard Henderson <rth@redhat.com>
3362
3363 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
3364
1ce7de8b
KH
33652000-11-14 Kazu Hirata <kazu@hxi.com>
3366
3367 * scripttempl/h8300.sc: Fix formatting.
3368 * scripttempl/h8300h.sc: Likewise.
3369 * scripttempl/h8300s.sc: Likewise.
3370
3b16e843 33712000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
3372
3373 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
3374
2e418547
PB
33752000-11-09 Philip Blundell <pb@futuretv.com>
3376
3377 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
3378 around orphan sections whose names can be represented in C.
3379
c940e6fc
JW
33802000-11-07 Jim Wilson <wilson@redhat.com>
3381
3382 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
3383 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
3384
704c465c
NC
33852000-11-06 Nick Clifton <nickc@redhat.com>
3386
3387 * ld.texinfo: Add GNU Free Documentation License.
3388 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 3389 * ld.1: Add GNU Free Documentation License.
704c465c 3390
dca7760f
AM
33912000-11-05 Alan Modra <alan@linuxcare.com.au>
3392
3393 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
3394 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
3395
3396 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
3397 Move 2000-11-02 Makefile.in changes to this file.
3398 * Makefile.in: Regenerate.
3399
40a633d5
NC
34002000-11-03 Nick Clifton <nickc@redhat.com>
3401
3402 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
3403 constructors and destructors.
3404 * scripttempl/h8300h.sc: Ditto.
3405 * scripttempl/h8300s.sc: Ditto.
3406 * scripttempl/h8500.sc: Ditto.
3407 * scripttempl/h8500b.sc: Ditto.
3408 * scripttempl/h8500c.sc: Ditto.
3409 * scripttempl/h8500m.sc: Ditto.
3410 * scripttempl/h8500s.sc: Ditto.
3411 * scripttempl/v850.sc: Ditto.
3412 * scripttempl/w65.sc: Ditto.
3413 * scripttempl/z8000.sc: Ditto.
3414
59ff2774
NC
34152000-11-02 Per Lundberg <plundis@chaosdev.org>
3416
3417 * Makefile.in (e_i386_chaos.c): New rule.
3418 (ALL_EMULATIONS): Added e_i386_chaos.o.
3419 * emulparams/elf_i386_chaos.sh: New file.
3420 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
3421
645571e1
JJ
34222000-10-20 Jakub Jelinek <jakub@redhat.com>
3423
3424 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
3425 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
3426 Fix sed invocation, so that it coped with '/' in Solaris 64bit
3427 library path suffix.
3428 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
3429
c5975a45
HPN
34302000-10-18 Hans-Peter Nilsson <hp@axis.com>
3431
3432 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
3433 for consecutive sections.
3434
ea20a7da
CC
34352000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3436
d952f17a
AM
3437 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
3438 options.
3439 * ld.texinfo: Added notes about this new option.
ea20a7da 3440
6e45556a
NC
34412000-10-16 Nick Clifton <nickc@redhat.com>
3442
3443 * emultempl/pe.em (_after_open): Add tests of return values from
3444 bfd functions. Emit appropriate error messages if necessary.
3445
b9a69188
NC
34462000-10-13 Nick Clifton <nickc@redhat.com>
3447
3448 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
3449 local variables - they are not used, but leave in the call to
3450 bfd_canonicalize_symtab.
b9a69188
NC
3451 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3452 pe_dll_search_prefix.
3453
627427de 34542000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 3455
627427de
DD
3456 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3457 (longopts): New --dll-search-prefix option.
3458 (gld_${EMULATION_NAME}_list_options): Document.
3459 (gld_${EMULATION_NAME}_parse_args): Handle.
3460 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3461 dynamically, search for a dll named '<prefix><basename>.dll'
3462 in preference to 'lib<basename>.dll' if --dll-search-prefix
3463 is specified.
3464
24376d1b
AM
34652000-10-12 Alan Modra <alan@linuxcare.com.au>
3466
3467 * ldlang.c (section_already_linked): Set kept_section instead of
3468 sec->comdat->sec.
3469
e47d05ad
KH
34702000-10-10 Kazu Hirata <kazu@hxi.com>
3471
3472 * deffile.h: Fix formatting.
3473 * lexsup.c: Likewise.
3474 * mri.c: Likewise.
3475
23a87948
DD
34762000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3477
3478 * pe-dll.c (make_one): Do not generate code thunk for DATA
3479 exports.
3480 (process_def_file): deduce DATA flag for auto-export sumbols.
3481
86b1cc60
KH
34822000-10-09 Kazu Hirata <kazu@hxi.com>
3483
89cdebba
KH
3484 * ld.h: Fix formatting.
3485 * ldcref.c: Likewise.
3486 * ldctor.h: Likewise.
3487 * ldemul.c: Likewise.
3488 * ldemul.h: Likewise.
3489 * ldexp.c: Likewise.
3490 * ldexp.h: Likewise.
3491 * ldfile.c: Likewise.
3492 * ldfile.h: Likewise.
3493 * ldlang.c: Likewise.
3494 * ldlang.h: Likewise.
3495 * ldmain.c: Likewise.
7bfd51a3
KH
3496 * pe-dll.c: Likewise.
3497
3498 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3499
d643799d
KH
35002000-10-08 Kazu Hirata <kazu@hxi.com>
3501
3502 * pe-dll.c: Fix formatting.
3503
08da4cac
KH
35042000-10-05 Kazu Hirata <kazu@hxi.com>
3505
3506 * ldlang.c: Fix formatting.
3507
c2a94a7a
DD
35082000-10-03 DJ Delorie <dj@redhat.com>
3509
3510 * pe-dll.c (fill_edata): initialize entire block
3511 (make_one): fill in correct section.
3512
8c95a62e
KH
35132000-10-03 Kazu Hirata <kazu@hxi.com>
3514
3515 * ldexp.c: Fix formatting.
3516
486e80e2
DD
35172000-10-02 DJ Delorie <dj@redhat.com>
3518
3519 * emultempl/pe.em (gld_*_after_open): detect case where there two
3520 import libraries for same dll; rename one to ensure proper link
3521 order.
3522
3523 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3524 typo
3525 (generate_edata): fix typo
3526
24dd9f75
HPN
35272000-09-29 Hans-Peter Nilsson <hp@axis.com>
3528
3529 * scripttempl/crisaout.sc (ENTRY): Now __start.
3530 (.text): Add default setting for __start.
3531 Remove CONSTRUCTORS handling.
3532 (/DISCARD/): Add .gnu.warning.*.
3533 * emulparams/crislinux.sh (ENTRY): Now __start.
3534 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3535 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3536 (ENTRY): Now __start.
3537 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3538 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3539
4de2d33d
KH
35402000-09-29 Kazu Hirata <kazu@hxi.com>
3541
5cc18311
KH
3542 * deffile.h: Fix formatting.
3543 * ld.h: Likewise.
3544 * ldcref.c: Likewise.
4de2d33d 3545 * ldctor.c: Likewise.
5cc18311 3546 * ldctor.h: Likewise.
4de2d33d 3547 * ldemul.c: Likewise.
5cc18311 3548 * ldemul.h: Likewise.
4de2d33d 3549 * ldexp.c: Likewise.
5cc18311 3550 * ldexp.h: Likewise.
4de2d33d 3551 * ldfile.c: Likewise.
5cc18311 3552 * ldfile.h: Likewise.
4de2d33d 3553 * ldlang.c: Likewise.
5cc18311
KH
3554 * ldlang.h: Likewise.
3555 * lexsup.c: Likewise.
3556 * mri.c: Likewise.
3557 * pe-dll.c: Likewise.
4de2d33d 3558
45b1f63c
DD
35592000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3560
3561 * pe-dll.c (process_def_file): Uninitialized data wasn't
3562 exported with --export-all-symbols switch.
d952f17a 3563
45b1f63c
DD
35642000-09-28 DJ Delorie <dj@redhat.com>
3565
3566 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3567 noname work properly.
3568
47d89dba
AM
35692000-09-28 Alan Modra <alan@linuxcare.com.au>
3570
3571 * ld.texinfo (HPPA ELF32): New section.
3572
3573 * emultempl/hppaelf.em (group_size): New.
3574 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3575 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3576 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3577 options to prevent abbreviations matching.
3578 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3579 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3580
36bdbeec
NC
35812000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3582
3583 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3584 on the m68*-*-elf target. Make it support COFF input objects.
3585
6d5e62f8
KH
35862000-09-21 Kazu Hirata <kazu@hxi.com>
3587
3588 * ldmain.c: Fix formatting.
3589 * ldmisc.c: Likewise.
3590 * ldver.c: Likewise.
3591 * ldwrite.c: Likewise.
3592
e2eb67d9
AM
35932000-09-21 Alan Modra <alan@linuxcare.com.au>
3594
3595 * ldwrite.c (clone_section): Silence gcc warnings.
3596
b3ea3584
AM
35972000-09-20 Alan Modra <alan@linuxcare.com.au>
3598
3599 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3600 out of memory failure.
3601
3602 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3603 (clone_section): Handle out of memory failures. Rename var to
3604 avoid c++ reserved word.
3605
25f72752
AM
36062000-09-18 Alan Modra <alan@linuxcare.com.au>
3607
3608 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3609 stub_name param to stub_sec_name.
3610 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3611
0752970e
NC
36122000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3613
3614 * emultempl/m68kelf.em: New file.
3615 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3616 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3617 * Makefile.in: Regenerate.
3618
92b7e9d8
AM
36192000-09-15 Alan Modra <alan@linuxcare.com.au>
3620
3621 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3622 only as needed.
3623
9b14b192
NC
36242000-09-13 Nick Clifton <nickc@redhat.com>
3625
3626 * ldmain.c (multiple_definition): Disable relaxation if
3627 multiple symbol definitions are encountered - otherwise the
3628 linker could abort with an assertion failure.
3629
891fa266
NC
36302000-09-10 Nick Clifton <nickc@redhat.com>
3631
3632 * mri.c: Fix formatting.
3633
5d64ca4e
L
36342000-09-07 H.J. Lu <hjl@gnu.org>
3635
3636 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3637 * configure: Rebuild.
3638
dd94604f
L
36392000-09-07 H.J. Lu <hjl@gnu.org>
3640
3641 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3642 * Makefile.in: Rebuild.
3643
71bfc0ae
AM
36442000-09-07 Alan Modra <alan@linuxcare.com.au>
3645
3646 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3647 broken list handling. Create __start_SECNAME and __stop_SECNAME
3648 when no place-holder. Add some comments. Test both SEC_CODE and
3649 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 3650 Handle case where no output section statement created.
71bfc0ae 3651
4a428502
AO
36522000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3653
3654 * configure.tgt (sh-*-linux*): Added.
3655 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3656 * Makefile.in: Rebuilt.
3657 * emulparams/shelf_linux.sh: New file.
3658 * emulparams/shlelf_linux.sh: New file.
3659
f9989030
AM
36602000-09-06 Alan Modra <alan@linuxcare.com.au>
3661
3662 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3663 try shuffling sections when the orphan happens to be the place
3664 holder. Keep count of unique section names generated so we speed
3665 the search for a new name.
3666
58cccadb
AO
36672000-09-06 Alexandre Oliva <aoliva@redhat.com>
3668
3669 * configure: Rebuilt with new libtool.m4.
3670
5b343f5a
NC
36712000-09-05 Nick Clifton <nickc@redhat.com>
3672
3673 * Makefile.in: Regenerate.
3674 * aclocal.m4: Regenerate.
3675 * configure: Regenerate.
3676 * config.in: Regenerate.
3677 * po/ld.pot: Regenerate.
3678
3679 * ldint.texinfo: Remove CVS revision marker - it foils local
3680 comparisons.
3681
3682 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 3683
a854a4a7
AM
36842000-09-05 Alan Modra <alan@linuxcare.com.au>
3685
3231d22e
AM
3686 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3687 to stub section flags.
3688 (hppa_for_each_input_file_wrapper): New.
3689 (hppa_lang_for_each_input_file): New.
3690 (lang_for_each_input_file): Define to call above.
3691 (multi_subspace): New.
3692 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3693 (PARSE_AND_LIST_PROLOGUE): Define.
3694 (PARSE_AND_LIST_LONGOPTS): Define.
3695 (PARSE_AND_LIST_OPTIONS): Define.
3696 (PARSE_AND_LIST_ARGS_CASES): Define.
3697 (hppaelf_finish): Call elf32_hppa_set_gp.
3698 (hppaelf_set_output_arch): Remove.
3699 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3700
3701 * emulparams/hppalinux.sh (ELFSIZE): Define.
3702 (MACHINE): Define.
3703 (OTHER_READONLY_SECTIONS): Define.
3704 (DATA_PLT): Define.
3705 (GENERATE_SHLIB_SCRIPT): Define.
3706
5f992e62
AM
3707 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3708 to const throughout. Change `void *' to `PTR' throughout.
3709 (lang_memory_default): Function is local to file, add `static'.
3710
3711 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3712 (ehppalinux.c): Likewise.
3713 (earmelf.c): Likewise.
3714 (earmelf_linux.c): Likewise.
3715 (earmelf_linux26.c): Likewise.
3716 * Makefile.in: Regenerate.
3717
a854a4a7
AM
3718 * ld.h (ld_config_type): Add unique_orphan_sections.
3719 * lexsup.c (OPTION_UNIQUE): Define.
3720 (ld_options): Add "--unique".
3721 (parse_args): Handle it.
3722 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3723 search for an existing output section if unique_orphan_sections is
3724 set. Make use of bfd_get_unique_section_name rather than
3725 duplicating code here.
3726 * ld.texinfo: Describe --unique.
3727
3728 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3729 optional arg to split-by-file.
3730 (parse_args): Handle them.
3731 * ld.texinfo: Update description of these options.
3732 * ldwrite.c (clone_section): Pass in the section name. Replace
3733 local code with bfd_get_unique_section_name.
3734 (split_sections): Tidy code and comments. Use a list traversal
3735 more appropriate to the list construction. Handle cooked section
3736 sizes. Split when split_by_reloc reached rather than exceeded.
3737 Track section size and split when split_by_file reached. Fix
3738 link_order_tail (even though it's not used).
3739 (ldwrite): Modify condition for calling split_sections to suit
3740 changed split_by_reloc and split_by_file.
3741 * ldmain.c (main): Init config.split_by_reloc and
3742 config.split_by_file to -1.
3743 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3744 Change split_by_file to bfd_size_type.
3745
18e03609
NC
37462000-09-02 Nick Clifton <nickc@redhat.com>
3747
3748 * configure.in: Increase version number to 2.10.91.
3749 * NEWS: Mention new ability to support removal of duplicate DWARF2
3750 debug information.
3751 * configure: Regenerate.
3752 * aclocal.m4: Regenerate.
3753 * config.in: Regenerate.
3754
3a9d486c
NC
37552000-09-02 Daniel Berlin <dberlin@redhat.com>
3756
3757 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3758 sections.
a2b64bed 3759 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
3760 * scripttempl/elfd10v.sc: Ditto.
3761 * scripttempl/elfd30v.sc: Ditto.
3762 * scripttempl/elfi370.sc: Ditto.
3763 * scripttempl/elfm68hc11.sc: Ditto.
3764 * scripttempl/elfm68hc12.sc: Ditto.
3765 * scripttempl/elfi386beos.sc: Ditto.
3766 * scripttempl/v850.sc: Ditto.
50bbae35 3767
ac48eca1
AO
37682000-08-31 Alexandre Oliva <aoliva@redhat.com>
3769
3770 * acinclude.m4: Include libtool and gettext macros from the
3771 top level.
3772 * aclocal.m4, configure: Rebuilt.
3773
c13b1b77
NC
37742000-08-25 Nick Clifton <nickc@redhat.com>
3775
3776 * ldlang.c (open_output): When choosing the target for a
3777 particular endianness, do nothing if the target is not
3778 supported.
3779
dcb0bd0e
L
37802000-08-25 H.J. Lu <hjl@gnu.org>
3781
3782 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3783 check -rpath nor LD_RUN_PATH for cross link.
3784 * ld.texinfo: Document the change.
3785
5bcac8a4
HPN
37862000-08-24 Hans-Peter Nilsson <hp@axis.com>
3787
3788 * NEWS: Mention support for CRIS.
3789
6dd8c765
L
37902000-08-23 H.J. Lu <hjl@gnu.org>
3791
3792 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3793 the current runpath list from bfd_elf_get_runpath_list ()
3794 before search.
3795
ec4eb78a
L
37962000-08-22 H.J. Lu <hjl@gnu.org>
3797
3798 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3799 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3800 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3801 trace_file_tries is non-zero.
3802 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3803 if trace_file_tries is non-zero.
3804
3805 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 3806 * NEWS: Mention it.
ec4eb78a 3807
22b36938
JE
38082000-08-14 Jason Eckhardt <jle@cygnus.com>
3809
3810 * NEWS: Mention i860 support.
3811
d73e9da0
AS
38122000-08-14 Andreas Schwab <schwab@suse.de>
3813
3814 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 3815 syntax.
d73e9da0 3816
9ac4db9c
GK
38172000-08-10 Geoff Keating <geoffk@cygnus.com>
3818
3819 * scripttempl/elf.sc: Add a comment giving the correspondence
3820 between sections, per-datum sections, and linkonce sections. Make
3821 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3822 .sbss2.
3823
165589e4
JE
38242000-08-10 Jason Eckhardt <jle@cygnus.com>
3825
3826 * emulparams/elf32_i860.sh: New file.
3827 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3828 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3829 (eelf32_i860.c): New rule.
3830 * Makefile.in: Regenerate.
3831
345a835d
NC
38322000-08-10 Nick Clifton <nickc@cygnus.com>
3833
3834 * emulparams/mipspe.sh (ENTRY): Add definition.
3835
e374f1d9
NC
38362000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3837
3838 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3839 in error message.
3840
236d5abf
NC
38412000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3842
3843 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3844 the final size of .bss section.
3845 * scripttempl/elfm68hc12.sc: Likewise.
3846
4b209b22
AM
38472000-08-04 Alan Modra <alan@linuxcare.com.au>
3848
3849 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3850 gld${EMULATION_NAME}_parse_args for consistency. Combine
3851 lastoptind and prevoptind vars, and keep track of last optind.
3852 (gld_${EMULATION_NAME}_list_options): Rename to
3853 gld${EMULATION_NAME}_list_options.
3854
28423a68
AM
38552000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3856
3857 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3858 (i586-sco-sysv5uw7.1.0).
3859
b2009ff7
L
38602000-07-27 H.J. Lu <hjl@gnu.org>
3861
3862 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3863 (PARSE_AND_LIST_PROLOGUE): New.
3864 (PARSE_AND_LIST_LONGOPTS): Likewise.
3865 (PARSE_AND_LIST_OPTIONS): Likewise.
3866 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3867 (PARSE_AND_LIST_EPILOGUE): Likewise.
3868
04925e1e
AM
38692000-07-28 Alan Modra <alan@linuxcare.com.au>
3870
41392f03
AM
3871 * emultempl/armelf.em: Elide functions common to elf32.em,
3872 ie. most of the file.
3873 (arm_elf_after_open): New. Do arm specific things then call
3874 gld${EMULATION_NAME}_after_open.
3875 (arm_elf_before_allocation): New. Call
3876 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3877 (PARSE_AND_LIST_PROLOGUE): Define.
3878 (PARSE_AND_LIST_SHORTOPTS): Define.
3879 (PARSE_AND_LIST_LONGOPTS): Define.
3880 (PARSE_AND_LIST_OPTIONS): Define.
3881 (PARSE_AND_LIST_ARGS_CASES): Define.
3882 (LDEMUL_AFTER_OPEN): Define.
3883 (LDEMUL_BEFORE_ALLOCATION): Define.
3884 (LDEMUL_BEFORE_PARSE): Define.
3885 (LDEMUL_FINISH): Define.
3886
3887 * emultempl/hppaelf.em: Similarly zap most of this file.
3888 (hppaelf_add_stub_section): Prototype.
3889 (hppaelf_layaout_sections_again): Prototype.
3890 (hook_in_stub): Prototype.
3891 (LDEMUL_SET_OUTPUT_ARCH): Define.
3892 (LDEMUL_FINISH): Define.
3893 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
3894
3895 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
3896 (EXTRA_EM_FILE): New.
3897 * emulparams/armelf_linux.sh: Likewise.
3898 * emulparams/armelf_linux26.sh: Likewise.
3899 * emulparams/hppalinux.sh: Likewise.
3900 * emulparams/hppaelf.sh: Likewise.
3901 (NOP): Define.
3902
3903 * emultempl/elf32.em: Fix formatting.
3904 (EXTRA_EM_FILE): Source it.
3905 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
3906 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
3907 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
3908 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
3909 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
3910 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
3911 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
3912 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
3913 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
3914 allow functions in this file to be overridden.
3915 (PARSE_AND_LIST_SHORTOPTS): Handle it.
3916
3917 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
3918
04925e1e
AM
3919 * emultempl/elf32.em: Reorganize file.
3920
88cdf297
NC
39212000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
3922
3923 * emulparams/elf64alpha.sh: Implement "-taso" emulation
3924 specific option to fit 64-bit executable in the lower
3925 31-bit address range. This is done by changing start
3926 address of .interp (the very first section of executable)
3927 and then setting EF_ALPHA_32BIT elf header flag.
3928
20bccb34
NC
39292000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3930
3931 * emultempl/m68kcoff.em: New file.
3932 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
3933 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
3934 generic.em.
3935 * Makefile.in: Regenerate.
3936
699845ef
L
39372000-07-20 H.J. Lu <hjl@gnu.org>
3938
3939 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
3940 and "disable-new-dtags" to stop getopt from treating -d/-e as
3941 abbreviations for these options.
3942
6c1439be
L
39432000-07-20 H.J. Lu <hjl@gnu.org>
3944
3945 * ld.texinfo: Add documentation for --disable-new-dtags and
3946 --enable-new-dtags.
3947
3948 * ldmain.c (main): Initialize link_info.new_dtags to false.
3949
3950 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
3951 --disable-new-dtags and --enable-new-dtags.
3952 (gld_${EMULATION_NAME}_list_options): Likewise.
3953
28c309a2
NC
39542000-07-05 Kenneth Block <krblock@computer.org>
3955
a2b64bed
NC
3956 * lexsup.c: Add optional style to demangle switch
3957 * ld.texinfo: Document optional style to demangle switch.
50bbae35 3958
9d06555c
HPN
39592000-07-20 Hans-Peter Nilsson <hp@axis.com>
3960
3961 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
3962 ecrislinux.o.
3963 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
3964 Regenerate dependencies.
3965 * Makefile.in: Rebuild.
3966 * configure.tgt (cris-*-*): New target.
3967 * emulparams/crisaout.sh, emulparams/criself.sh,
3968 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
3969 * po/POTFILES.in, po/ld.pot: Regenerate.
3970
19e3be22
L
39712000-07-20 H.J. Lu <hjl@gnu.org>
3972
3973 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
3974 Print out ignored -z options.
3975
e0ee487b
L
39762000-07-19 H.J. Lu <hjl@gnu.org>
3977
19e3be22
L
3978 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
3979 (PARSE_AND_LIST_PROLOGUE): New.
3980 (PARSE_AND_LIST_LONGOPTS): Likewise.
3981 (PARSE_AND_LIST_OPTIONS): Likewise.
3982 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3983
3984 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
3985
3986 * lexsup.c (ld_options): Comment out 'z'.
3987 (parse_args): Likewise.
3988
3989 * emultempl/elf32.em: Include "elf/common.h".
3990 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
3991 options.
3992 (gld_${EMULATION_NAME}_list_options): Likewise.
3993
3994 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 3995
49e56c49
L
39962000-07-19 H.J. Lu <hjl@gnu.org>
3997
3998 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
3999 bfd_elf_set_dt_needed_soname ().
4000
9d68bc82
DD
40012000-07-18 DJ Delorie <dj@cygnus.com>
4002
4003 * pe-dll.c (pe_dll_id_target): check object target name also
4004
53db15ed
HPN
40052000-07-18 Hans-Peter Nilsson <hp@axis.com>
4006
4007 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
4008 ${INIT_END} if relocating.
4009 (.fini): Likewise ${FINI_START} and ${FINI_END}.
4010
0ad8cf4c
DD
40112000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
4012
a2b64bed 4013 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
4014 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
4015 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
4016 errors introduced by the old dynamic lib search order.
4017
874c8c99
DD
40182000-07-17 DJ Delorie <dj@cygnus.com>
4019
4020 * pe-dll.c (process_def_file): auto-export data items also
4021 (pe_process_import_defs): also see if _imp_ form needed
4022
5b4cf3f4
DD
40232000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
4024
4025 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
4026 for dll import libraries
4027
062739d1
NC
40282000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
4029
4030 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 4031 gcc 2.95.2 and later.
062739d1 4032
1c64c4ed
NC
40332000-07-11 Kazu Hirata <kazu@hxi.com>
4034
50bbae35
AM
4035 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
4036 message.
1c64c4ed 4037
b71e2778
AM
40382000-07-10 Alan Modra <alan@linuxcare.com.au>
4039
4040 * ldemul.h (struct lang_input_statement_struct): Remove forward
4041 declaration.
4042 (struct search_dirs): Likewise.
4043 * ldfile.h (struct lang_input_statement_struct): Likewise.
4044 Protect file from multiple inclusion.
4045 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
4046 declaration from macro to file scope.
4047
4048 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
4049 * ldgram.y: Likewise here.
4050 * ldlang.c: And here.
4051 * ldmain.c: And here.
4052 * mpw-elfmips.c: And here.
4053 * mpw-eppcmac.c: And here.
4054 * emultempl/aix.em: And here.
4055 * emultempl/armcoff.em: And here.
4056 * emultempl/armelf.em: And here.
4057 * emultempl/armelf_oabi.em: And here.
4058 * emultempl/beos.em: And here.
4059 * emultempl/elf32.em: And here.
4060 * emultempl/hppaelf.em: And here.
4061 * emultempl/linux.em: And here.
4062 * emultempl/lnk960.em: And here.
4063 * emultempl/pe.em: And here.
4064 * emultempl/sunos.em: And here.
4065 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
4066 * mpw-idtmips.c: Ditto.
4067 * emultempl/generic.em: Ditto.
4068 * emultempl/gld960.em: Ditto.
4069 * emultempl/gld960c.em: Ditto.
4070 * emultempl/mipsecoff.em: Ditto.
4071 * emultempl/ticoff.em: Ditto.
4072 * emultempl/vanilla.em: Ditto.
4073
4074 * pe-dll.c: Include ldfile.h
4075 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
4076
4077 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
4078 arguments to bfd_elf32_size_dynamic_sections call.
4079 (gldelf32ebmip_place_orphan): Add missing arguments to
4080 lang_leave_output_section_statement call.
4081
2ef53d66
L
40822000-07-10 H.J. Lu <hjl@gnu.org>
4083
4084 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
4085 DLL_SUPPORT.
4086 (strhash): Likewise.
4087 (compute_dll_image_base): Likewise.
4088 (pe_undef_found_sym): Likewise.
4089 (pe_undef_cdecl_match): Likewise.
4090 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
4091 argument "arch" with ATTRIBUTE_UNUSED.
4092
9a8cbb09
AM
40932000-07-10 Alan Modra <alan@linuxcare.com.au>
4094
4095 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
4096
4097 From Ryan Bradetich <rbradetich@uswest.net>
4098 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 4099
4900fc06
AM
41002000-07-09 Alan Modra <alan@linuxcare.com.au>
4101
4102 Changes to create multiple linker stubs, positioned immediately
4103 before the section where they are required.
4104 * emultempl/hppaelf.em: Include elf32-hppa.h.
4105 (stub_sec, file_chain): Delete.
4106 (hppaelf_create_output_section_statements): Don't make a stub
4107 section here.
4108 (hook_stub_info): New struct.
4109 (hook_in_stub): New function.
4110 (hppaelf_add_stub_section): New function.
4111 (hppaelf_finish): Do nothing for relocateable links. Modify the
4112 call to elf32_hppa_size_stubs. Move code for updating section
4113 layout from here...
4114 (hppaelf_layaout_sections_again): ..to here, a new function.
4115
4116 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
4117 broken list handling. Pass in a pointer to the list.
4118 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
4119 for above changes.
4120 (hppaelf_before_parse): Prototype.
4121 (hppaelf_set_output_arch): Prototype.
4122 (hppaelf_create_output_section_statements): Prototype.
4123 (hppaelf_delete_padding_statements): Prototype.
4124 (hppaelf_finish): Prototype.
4125
4126 Merge from elf32.em
4127 * emultempl/hppaelf.em: Include ctype.h.
4128 (struct orphan_save): New.
4129 (gld${EMULATION_NAME}_place_orphan): New.
4130 (output_rel_find): New.
4131 (hppaelf_get_script): Update from elf32.em.
4132 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
4133 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 4134 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
4135
4136 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
4137 ehppalinux.o, sort it. Regenerate dependencies.
4138 (ehppalinux.c): Depend on hppaelf.em
4139 * Makefile.in: Regenerate.
4140
4141 * configure.tgt: targ_emul=hppalinux for hppa*linux
4142
4143 * emulparams/hppalinux.sh: New.
4144 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
4145
227aeb07
AM
41462000-07-08 Alan Modra <alan@linuxcare.com.au>
4147
4148 * lexsup.c (parse_args): Copy section name.
4149
28609fd4 41502000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 4151
2ef53d66 4152 * emultempl/pe.em: institute the following search order for
602e90d3
DD
4153 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
4154 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
4155 static lib (libfoo.a) if none of the above are found.
4156
5f577f7d
DD
41572000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
4158
50bbae35 4159 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 4160 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 4161 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
4162 (gld_${EMULATION_NAME}_parse): Handle.
4163 (strhash): New static function.
50bbae35 4164 (compute_dll_image_base): New static function.
5f577f7d
DD
4165 (gld_${EMULATION_NAME}_set_symbols): Use.
4166
9a8cbb09 41672000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
4168
4169 * MAINTAINERS: new
4170
3548145d 41712000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
4172
4173 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
4174 * emulparams/elf32btsmip.sh: New file.
4175 * Makefile.am: Add traditional mips target.
4176 * Makefile.in: Rebuild.
4177
67798033
L
41782000-07-01 H.J. Lu <hjl@gnu.org>
4179
4180 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
4181 automake to use YLWRAP.
4182 * Makefile.in: Rebuild.
4183
0bdaf48b
AM
41842000-07-01 Alan Modra <alan@linuxcare.com.au>
4185
4186 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
4187 (CLEANFILES): Add DEPA.
4188 * Makefile.in: Regenerate.
4189
c9e769c2
TW
41902000-06-30 Timothy Wall <twall@ppc>
4191
4192 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
4193 the page in the upper octet of the address.
4194
65aa24b6
NC
41952000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4196
4197 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
4198
4667035e
AM
41992000-06-24 Alan Modra <alan@linuxcare.com.au>
4200
4201 * NEWS: arm-elf does --gc-sections too.
4202
1581f8c9
AM
42032000-06-22 Alan Modra <alan@linuxcare.com.au>
4204
4205 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
4206 find one.
4207 * Makefile.in: Regenerate.
4208
01580992
L
42092000-06-21 H.J. Lu <hjl@gnu.org>
4210
4211 * Makefile.am: Rebuild dependency.
4212 * Makefile.in: Rebuild.
4213
bbeb2e03
L
42142000-06-20 H.J. Lu <hjl@gnu.org>
4215
4216 * Makefile.am: Rebuild dependency.
4217 * Makefile.in: Rebuild.
4218
74459f0e
TW
42192000-06-20 Timothy Wall <twall@cygnus.com>
4220
4221 * scripttempl/tic54xcoff.sc: New.
4222 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
4223 * gen-doc.texi: Add flag for TI COFF.
4224 * ld.texinfo: Add documentation for TI COFF handling switches.
4225 * emultempl/ticoff.em: New. TI COFF handling.
4226 * configure.tgt: Add tic54x target.
4227 * Makefile.am: Add tic54x target.
4228 * Makefile.in: Ditto.
4229
2ab47eed
AM
42302000-06-20 Alan Modra <alan@linuxcare.com.au>
4231
4232 * ldmain.c (set_scripts_dir): Correct pointer comparison when
4233 checking for backslashes.
4234
919e4093
AM
42352000-06-19 Alan Modra <alan@linuxcare.com.au>
4236
4237 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
4238
987fd5b4
AM
42392000-06-18 Alan Modra <alan@linuxcare.com.au>
4240
4241 * NEWS: Update list of targets supporting --gc-sections.
4242
4243 * scripttempl/elf.sc: KEEP .eh_frame contents.
4244 * scripttempl/elfd30v.sc: Same here.
4245
60bcf0fa
NC
42462000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4247
4248 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
4249 and m68hc11 (elf).
4250 * Makefile.in: Rebuild.
4251 * configure.tgt: Recognize m68hc12 and m68hc11.
4252 * scripttempl/elfm68hc12.sc: New file.
4253 * emulparams/m68hc12elfb: New emulation.
4254 * emulparams/m68hc12elf: New emulation.
4255 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
4256 (includes a memory.x script to define the ROM and RAM banks).
4257 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
4258 New configuration files for support of Motorola 68hc11
4259
c7c54483
AM
42602000-06-15 Alan Modra <alan@linuxcare.com.au>
4261
4262 * ldmain.c (main): Only change SEC_READONLY for final link.
4263
bcef29e6
L
42642000-06-13 H.J. Lu <hjl@gnu.org>
4265
4266 * configure: Regenerate.
4267
946efd95
DB
42682000-06-08 David O'Brien <obrien@FreeBSD.org>
4269
4270 * configure.in (VERSION): Update to show this is the CVS mainline.
4271
57a6fd07
DB
42722000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4273
4274 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
4275 input objects to be ECOFF.
4276 (check_sections): einfo takes %B, not %P, to print a BFD name.
4277
e06cae36
L
42782000-06-05 Michael Matz <matz@ifh.de>
4279
4280 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 4281 version scripts.
e06cae36 4282
d952f17a 4283 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 4284
2f0b56c0
DC
42852000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
4286
4287 * emulparams/avr1200.sh (STACK): Define as 0.
4288 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
4289 * emulparams/avr4433.sh (STACK): Likewise.
4290 * emulparams/avr44x4.sh (STACK): Likewise.
4291 * emulparams/avr85xx.sh (STACK): Likewise.
4292 * emulparams/avrmega103.sh (STACK): Likewise.
4293 * emulparams/avrmega161.sh (STACK): Likewise.
4294 * emulparams/avrmega603.sh (STACK): Likewise.
4295 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
4296 (__stack): Define from ${STACK} for main().
4297
2114f57b
AM
42982000-05-26 Alan Modra <alan@linuxcare.com.au>
4299
4300 * Makefile.am: Update dependencies with "make dep-am"
4301 * Makefile.in: Regenerate.
4302
5af11cab
AM
43032000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
4304
4305 * ldmain.c: Include filenames.h.
4306 (set_scripts_dir): Support backslashes in program name.
4307
1f0df59a
NC
43082000-05-22 Igor Shevlyakov <igor@windriver.com>
4309
4310 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
4311 read-only, don't forget to reset SEC_READONLY because it
4312 could be already set.
1f0df59a 4313
176355da
NC
43142000-05-22 Thomas de Lellis <tdel@windriver.com>
4315
50bbae35
AM
4316 * ld.1: Add documentation for new command line option:
4317 --section-start <sectionname>=<sectionorg>
4318 This is a generic version of -Ttext etc. which accepts
4319 any section name as a parameter instead of just text/data/
4320 bss.
4321 * ld.texinfo: More docs.
4322 * NEWS: More docs.
4323 * lexsup.c: (parse_args): Recognize new command line option.
176355da 4324 (ld_options): Add new option.
50bbae35 4325
8c5ff972
L
43262000-05-18 H.J. Lu <hjl@gnu.org>
4327
4328 * lexsup.c (parse_args): `i' == `r', not `q'.
4329
3b16e843 43302000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
4331
4332 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
4333
a712da20
NC
43342000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
4335 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 4336
a712da20
NC
4337 Add support for '-q' == '--emit-relocs' switch.
4338 * ldmain.c (main): Default to false.
4339 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
4340 * NEWS: Describe the emitrelocations switch.
4341 * ld.texinfo: Describe the emitrelocations switch.
4342
690a460e
NC
43432000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
4344
a2b64bed 4345 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
4346 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
4347 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
4348 link options.
50bbae35 4349
c2f1343c
AM
43502000-05-15 David O'Brien <obrien@FreeBSD.org>
4351
4352 * lexsup.c (parse_args): Update the year in the copyright notice.
4353
897083bd
AM
43542000-05-13 Alan Modra <alan@linuxcare.com.au>
4355
4356 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
4357 Replace defines with those from intl/libgettext.h to quieten gcc
4358 warnings.
4359
cd4c806a
L
43602000-05-10 H.J. Lu <hjl@gnu.org>
4361
4362 * ldlang.c (open_input_bfds): Don't load the same file within
4363 a group again if the whole archive has been loaded already.
4364
93697284
AM
43652000-05-03 Alan Modra <alan@linuxcare.com.au>
4366
4367 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
4368 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
4369 strtoul.
4370
3b16e843 43712000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 4372
99a4150f 4373 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 4374
ebd6fc29
JW
4375 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4376 host "ia64-*-linux-gnu*".
4377
a1934524
AM
43782000-04-29 Andreas Jaeger <aj@suse.de>
4379
4380 * ld.h: Correctly check GCC version.
4381
3b16e843 43822000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
4383
4384 * Makefile.am: Add PA64 support. Add missing dependencies for
4385 PA32 elf support.
4386 * Makefile.in: Rebuilt.
4387 * configure.tgt: Add PA64 support (currently disabled).
4388
aea4bd9d
AM
43892000-04-25 Alan Modra <alan@linuxcare.com.au>
4390
4391 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
4392 (output_rel_find): New function.
4393 (hold_section, hold_use): Delete.
4394 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4395 hold_interp): Make local to place_orphan.
4396 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
4397 rather than place_section to find possible previous use of orphan.
4398 Similarly find the place-holder output sections. Use returned
4399 value from lang_enter_output_section_statement rather than calling
4400 lang_output_section_statement_lookup.
4401 * emultempl/armelf.em: Same here.
4402 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
4403
4404 * ldlang.c (lang_enter_output_section_statement): Return output
4405 section statement.
4406 * ldlang.h (lang_enter_output_section_statement): Change
4407 declaration too.
4408
4409 * ldlang.h (lang_output_section_statement): Export it.
4410 * ldlang.c (lang_output_section_statement): Ditto.
4411
2b5fc1f5
NC
44122000-04-24 Nick Clifton <nickc@cygnus.com>
4413
4414 * ld.texinfo (Output Section Data): Add note that section data
4415 commands cannot appear outside of section directives.
4416
d8475ff6
JL
44172000-04-2 Matthew Green <mrg@cygnus.com>
4418
4419 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
4420
3b16e843
NC
44212000-04-21 Richard Henderson <rth@cygnus.com>
4422 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
4423
4424 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
4425 (eelf64_ia64.c): New rule.
4426 * Makefile.in: Rebuild.
4427 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
4428 * emulparams/elf64_ia64.sh: New file.
50bbae35 4429
c9637625
RH
44302000-04-21 Richard Henderson <rth@cygnus.com>
4431
4432 * scripttempl/elfd30v.sc: Place .gcc_except_table.
4433
28ea9521
AM
44342000-04-19 Alan Modra <alan@linuxcare.com.au>
4435
4436 * dep-in.sed: Match space at start of file name, not at end.
4437
20d04697
L
44382000-04-18 H.J. Lu <hjl@gnu.org>
4439
4440 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
4441 lang_leave_output_section_statement () after calling
4442 lang_enter_output_section_statement ().
4443 * emultempl/armelf.em: Likewise.
4444
5ba47421
AM
44452000-04-18 Alan Modra <alan@linuxcare.com.au>
4446
4447 * emultempl/elf32.em (struct orphan_save): Add section field.
4448 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
4449 better order, and place first orphan section as we did before the
4450 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4451 Don't call make_bfd_section here, let wild_doit do the job for us.
4452 Don't build a statement list when we'll only throw it away.
4453 * emultempl/armelf.em: Ditto.
4454 * emultempl/pe.em: Similarly.
4455
bdbe5705
GK
44562000-04-14 Geoff Keating <geoffk@cygnus.com>
4457
4458 * scripttempl/elfppc.sc: Remove.
4459 * emulparams/elf32ppc.sh: Use elf.sc.
4460 * emulparams/elf32lppc.sh: Use elf.sc.
4461 * emulparams/elf32ppclinux.sh: Use elf.sc.
4462 * emulparams/elf32ppcsim.sh: New file.
4463 * emulparams/elf32lppcsim.sh: New file.
4464 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4465 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4466 * Makefile.in: Regenerate.
4467 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4468
01cc8ff8
AM
44692000-04-14 Alan Modra <alan@linuxcare.com.au>
4470
5ba47421 4471 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 4472 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
4473 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4474 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
4475 Also set all relocateable section start addresses.
4476
6c86c541
GK
44772000-04-13 Geoff Keating <geoffk@cygnus.com>
4478
4479 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4480 Add new BSS_PLT variable for when .plt need not be contained in
4481 the file. Move _etext so that it is also after .fini, and provide
4482 both etext and _etext with a leading underscore. Mark the start
4483 and end of .sbss.
4484
6a345e87
AM
44852000-04-12 Alan Modra <alan@linuxcare.com.au>
4486
4487 * emultempl/elf32.em (struct orphan_save): New.
4488 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4489 hold_interp): Make them struct orphan_save.
4490 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4491 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4492 the end of the relevant section list. Also add associated section
4493 statements to the end of any previous orphan statements.
4494 * emultempl/armelf.em: Similarly.
4495 * emultempl/pe.em: Similarly.
4496
8be86746
AM
44972000-04-11 Alan Modra <alan@linuxcare.com.au>
4498
4499 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4500
3b16e843 45012000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4502
a2d91340 4503 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4504 --enable-build-warnings option.
a2d91340
AC
4505 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4506 * Makefile.in, configure: Re-generate.
4507
41b49281
AM
45082000-04-04 Alan Modra <alan@linuxcare.com.au>
4509
8ad3436c
AM
4510 * po/ld.pot: Regenerate.
4511
4512 * lexsup.c (help): Restore translated part of bug string.
4513
41b49281
AM
4514 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4515 (DEP): Quote when passing vars to sub-make. Add warning message
4516 to end.
4517 (DEP1): Rewrite for "gcc -MM".
4518 (CLEANFILES): Add DEP2.
4519 Update dependencies.
4520 * Makefile.in: Regenerate.
4521
c20f4f8c
AM
45222000-04-03 Alan Modra <alan@linuxcare.com.au>
4523
4524 * ld.h: #include "bin-bugs.h"
4525 * lexsup.c (help): Use REPORT_BUGS_TO.
4526
adde6300
AM
45272000-03-27 Denis Chertykov <denisc@overta.ru>
4528
4529 * configure.tgt (avr-*-*): New target support.
4530 * Makefile.am: Likewise.
4531 * scripttempl/elf32avr.sc: New script file.
4532 * emulparams/avr1200.sh: New file.
4533 * emulparams/avr23xx.sh: New file.
4534 * emulparams/avr4433.sh New file.
4535 * emulparams/avr44x4.sh New file.
4536 * emulparams/avr85xx.sh New file.
4537 * emulparams/avrmega103.sh New file.
4538 * emulparams/avrmega161.sh New file.
4539 * emulparams/avrmega603.sh New file.
4540 * Makefile.in: Regenerate.
4541
9282ff41
L
45422000-03-09 Andreas Jaeger <aj@suse.de>
4543
4544 * Makefile.am (check-DEJAGNU): Also unset LANG.
4545 * Makefile.in: Rebuild.
4546
a9998805
ILT
45472000-03-06 Ian Lance Taylor <ian@zembu.com>
4548
4549 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4550 archive.
4551
f9bc20e7
NC
45522000-03-02 H.J. Lu <hjl@gnu.org>
4553
4554 * emulparams/elf32mcore.sh: Include "getopt.h".
4555
4e277b38
ILT
45562000-03-01 Ian Lance Taylor <ian@zembu.com>
4557
4558 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4559
f0c87f88
NC
45602000-03-01 H.J. Lu <hjl@gnu.org>
4561
4562 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4563 * emulparams/shpe.sh: Likewise.
4564
45652000-03-01 Nick Clifton <nickc@cygnus.com>
4566
4567 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4568 to unused parameters.
4569
4570 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4571 functions only used by DLL code.
4572 (_place_orphan): Initialise 'dollar'.
4573
b6f29aaa
L
45742000-03-01 H.J. Lu <hjl@gnu.org>
4575
4576 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4577 indicate if the undefined symbol is a fatal error or not.
4578 Don't delete the output file if "fatal" is false.
4579
af28fce3
L
45802000-02-29 H.J. Lu <hjl@gnu.org>
4581
50bbae35 4582 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
4583 Set LC_COLLATE and LC_ALL to null and export them. It is for
4584 sort which expects the C locale.
4585 Add $(LIBS) to all $(HOSTING_LIBS).
4586 * Makefile.in: Rebuild.
4587
40d109bf
AM
45882000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4589
4590 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4591 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4592 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4593 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4594 find_potential_libraries.
4595
db5be682
JB
45962000-02-28 Jim Blandy <jimb@redhat.com>
4597
4598 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 4599 list entries; the lexer considers commas to be valid part of a
db5be682
JB
4600 filename, so in something like `foo, bar' the comma is considered
4601 part of the first filename, `foo,'.
4602 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4603
3558ff4c
ILT
46042000-02-27 Loren J. Rittle <ljrittle@acm.org>
4605
4606 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4607 host "i[3456]86-*-freebsdelf*".
4608
4eee2681
ILT
46092000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4610
4611 * scripttempl/i386go32.sc: Move misplaced semicolons.
4612
8d75d12d
ILT
46132000-02-25 Ian Lance Taylor <ian@zembu.com>
4614
4615 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4616 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4617 (eelf64hppa.c, ehppaelf.c): Remove targets.
4618 * Makefile.in: Rebuild.
4619
a1836d49
AO
46202000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4621
ad51fb57
AO
4622 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4623 GNU/Linux/sparc, but keep the default as 32.
4624
a1836d49
AO
4625 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4626 it default if sparcv9 or sparc64.
4627
344a211f
NC
46282000-02-24 Nick Clifton <nickc@cygnus.com>
4629
4630 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4631 * Makefile.in: Regenerate.
4632 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4633
4634 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4635 find_potential_libraries.
4636 * ldemul.c (ldemul_find_potential_libraries): New function.
4637
4638 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 4639 exported.
344a211f
NC
4640 (ldfile_open_file): Call ldemul_find_potential_libraries.
4641 * ldfile.h: Add prototype for ldfile_open_file_search.
4642
4643 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4644
4645 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4646 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4647
4648 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4649 (gld_X_find_potential_libraries): New function. Search for
4650 libraries called "*.lib".
4651
a2b64bed 4652 * scripttempl/pe.sc: Add .pdata section.
344a211f 4653
eaba1dd3
RH
46542000-02-23 Richard Henderson <rth@cygnus.com>
4655
4656 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4657 Add and use memory regions.
4658
5b93d8bb
AM
46592000-02-23 Linas Vepstas (linas@linas.org)
4660
4661 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4662
4663 * Makefile.am: Add support for Linux/IBM 370.
4664 * configure.tgt: Likewise.
4665
4666 * Makefile.in: Regenerate.
4667
f6af82bd
AM
46682000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4669
4670 * ldlang.c (print_input_section, print_data_statement,
4671 print_reloc_statement, print_padding_statement, insert_pad,
4672 size_input_section, lang_check_section_addresses,
4673 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 4674 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
4675 (lang_do_assignments): Also change `size' to unsigned.
4676
9e673ad1
RH
46772000-02-16 Richard Henderson <rth@cygnus.com>
4678
4679 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4680
562d3460
TW
46812000-02-16 Timothy Wall <twall@cygnus.com>
4682
4683 * mri.c (mri_draw_tree): Add default LMA region argument to call
4684 to lang_leave_output_section_statement.
4685 * ldlang.h: Update prototypes with LMA region arguments.
4686 * ldlang.c (lang_size_sections): Encapsulate region bounds
4687 checking in os_check_region call.
4688 (os_check_region): New function.
4689 (lang_output_section_statement_lookup): Initialize lma_region.
4690 (lang_leave_output_section_statement): Add LMA region argument.
4691 (lang_leave_overlay): Ditto.
4692 * ldgram.y: Handle LMA region syntax.
4693 * ld.texinfo (Output Section Description): Describe LMA region usage.
4694 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 4695 lma region in call to lang_leave_output_section_statement.
562d3460 4696 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 4697 lma region in call to lang_leave_output_section_statement.
562d3460 4698 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 4699 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
4700
4701
9e4ed18c
TW
47022000-02-04 Timothy Wall <twall@redhat.com>
4703
4704 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4705 octets when calculating section end addresses.
4706
32edc927
TW
47072000-02-04 Timothy Wall <twall@redhat.com>
4708
4709 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4710
4cbfc3ac
TW
47112000-02-03 Timothy Wall <twall@redhat.com>
4712
a2b64bed 4713 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 4714 octet count.
a2b64bed 4715 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
4716 print_reloc_statement, print_padding_statement): Print target
4717 address values and section sizes as bytes, not octets.
4718 (insert_pad) Calculate padding size in octets, and adjust "dot"
4719 by bytes.
4720 (size_input_section) Always adjust "dot" by bytes, not octets.
4721 (lang_check_section_addresses, lang_do_assignments) Adjust
4722 "dot" by bytes, not octets. Use the larger of the directive size
4723 or octets_per_byte for the number of octets actually allocated in
4724 the output section.
4725 (lang_set_startof) Make sure STARTOF returns a target address.
4726 (lang_one_common) Record size changes in octets.
4727 (lang_abs_symbol_at_end_of) Section end symbol's value is
4728 recorded in target bytes.
68b2fc7a 4729 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 4730 to be clear about behavior when an octet is smaller than one byte.
50bbae35 4731
305c7206
AM
47322000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4733
4734 * ldcref.c (output_cref): Don't pass message strings to printf
4735 as format arg.
4736 Update copyright.
4737
4738 * ldmisc.c (vfinfo): Same here.
4739 Update copyright.
4740
e1c47aa4
AM
47412000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4742
4743 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4744 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4745 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4746 Add missing NULL initialisers, and comments.
4747
4748 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4749
13392b77
NC
47502000-01-21 Nick Clifton <nickc@cygnus.com>
4751
4752 * ldlang.c (lang_size_sections): Fix typo in comment.
4753
cce4c4c5
NC
47542000-01-18 H.J. Lu <hjl@gnu.org>
4755
4756 * ldlang.c (lang_size_sections): Also update the current
4757 address of a region if the SEC_NEVER_LOAD bit is not set.
4758
0decc840
NC
47592000-01-10 Philip Blundell <pb@futuretv.com>
4760
4761 * configure.tgt (arm*-*-conix*): New target.
4762
4e53152f
NC
47632000-01-07 Nick Clifton <nickc@cygnus.com>
4764
4765 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
4766 line switches with -Wl, (or whatever is appropriate) if it is
4767 being invoked by a comnpiler driver program.
50bbae35 4768 Fix description of the behaviour of the -n command line switch.
4e53152f 4769
3b16e843 47702000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
4771
4772 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4773 (name_list): New.
4774 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4775 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4776 (exclude_name_list): New.
4777 ldlang.c (walk_wild_section): Support list of excluded files.
4778 (print_wild_statement): Likewise.
4779 (lang_add_wild): Likewise.
4780 * ldlang.h (lang_wild_statement_type): Likewise.
4781 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 4782
5aaace27
NC
47832000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4784
870df5dc
NC
4785 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4786 (process_def_file): Use.
4787 (pe_dll_compat_implib): New variable.
4788 (make_one): Use.
50bbae35 4789
870df5dc
NC
4790 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4791 pe_dll_compat_implib.
50bbae35
AM
4792
4793 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
4794 compat-implib options.
4795 (gld_${EMULATION_NAME}_list_options): List new options.
4796 (gld_${EMULATION_NAME}_parse_args): Handle.
4797
50bbae35 4798 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 4799 dll.
50bbae35
AM
4800
4801 * deffilep.y (opt_name): Allow "." in name.
5aaace27 4802
2f6d2f85 4803For older changes see ChangeLog-9899
252b5132
RH
4804\f
4805Local Variables:
4806mode: change-log
4807left-margin: 8
4808fill-column: 74
4809version-control: never
4810End:
This page took 0.397442 seconds and 4 git commands to generate.