* mips-tdep.c (mips_find_abi_section): .mdebug.abi64 is the name
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
ba493122
AM
12002-09-30 Alan Modra <amodra@bigpond.net.au>
2
1bf0a4d9
AM
3 * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
4 * scripttempl/elfm68hc11.sc: Likewise.
5 * scripttempl/elfm68hc12.sc: Likewise.
6
ba493122
AM
7 * emultempl/elf32.em (output_rel_find): Always place orphan loadable
8 reloc sections just before .rel.plt/.rela.plt.
9 (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
10 Only put loadable reloc sections in hold_rel.
11
fdb9132d
L
122002-09-29 H.J. Lu <hjl@gnu.org>
13
42f98619 14 * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
fdb9132d 15
ff326826
DJ
162002-09-25 Daniel Jacobowitz <drow@mvista.com>
17
18 From "Anita Kulkarni" <AnitaK@kpit.com>
19 * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
20 sections.
21
0ae1cf52
AM
222002-09-25 Alan Modra <amodra@bigpond.net.au>
23
1ddd7b13
AM
24 * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
25 TARGET_PAGE_SIZE.
26 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
27 SEGMENT_SIZE alignment.
28 * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
29 (SEGMENT_SIZE): Define.
30
0ae1cf52
AM
31 * ldexp.c (fold_unary): New. Split out from exp_fold_tree.
32 (fold_binary): Correct abs - non-abs case.
33 (fold_trinary): New. Split out from exp_fold_tree.
34
06143382
AM
352002-09-24 Alan Modra <amodra@bigpond.net.au>
36
37 * emulparams/elf64ppc.sh (DATA_ADDR): Define.
38 * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
39 for start of .data, instead align up to 256M boundary.
40 * scripttempl/aix.sc: Likewise.
41
8e616ecc
DD
422002-09-22 Mark Elbrecht <snowball3@softhome.net>
43
44 * scripttempl/i386go32.sc: Handle bss unique sections.
45
5cfb2bb2
AM
462002-09-21 Alan Modra <amodra@bigpond.net.au>
47
48 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
49
dd2e0905
SC
502002-09-17 Stan Cox <scox@redhat.com>
51
52 * emulparams/elf32bmipn32-defs.sh: New file.
53 * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
54 * emulparams/elf32btsmipn32.sh: Likewise.
55 * emulparams/elf64bmip.sh: Likewise.
56 * emulparams/elf64btsmip.sh: Likewise.
57
4ada7262
DB
582002-09-16 Bruno Haible <bruno@clisp.org>
59
60 * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
61 elf32-i386-freebsd.
62 * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
63 elf64-alpha-freebsd.
64
e09f4395
NC
652002-09-11 Nick Clifton <nickc@redhat.com>
66
004d9caf
NC
67 * NEWS: New TI port supports both C4x and C3x series of DSPs.
68
e09f4395
NC
69 * po/tr.po: Updated Turkish translation.
70
004d9caf 712002-09-06 Jeffrey A Law (law@redhat.com)
0b3a6a28
JL
72
73 * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
74
3e369e96
NC
752002-09-02 Nick Clifton <nickc@redhat.com>
76
67010b46
NC
77 * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
78 __ep.
79 * emulparams/v850.sh (TEMPLATE_NAME): Define.
3e369e96 80
5435462c
NC
812002-08-30 Nick Clifton <nickc@redhat.com>
82
83 * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
84 used. Change INSN to start at 0x01000000 and extend for
85 256K (ignoring holes). Start the STACK on a word aligned
86 boundary.
87 (.rodata): Start it at the READONLY_START_ADDR.
88
5c368657
AM
892002-08-30 Alan Modra <amodra@bigpond.net.au>
90
91 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
92
026df7c5
NC
932002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
94
95 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
96 added makefile targets for this file.
97 * Makefile.in: Regenerate.
98 * configure.tgt: Added tic4x-coff and c4x-coff emulations.
99 * NEWS: Mention new port.
100
1012002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
102
103 * emulparams/tic3xcoff.sh: New file.
104 * emulparams/tic4xcoff.sh: New file.
105 * scripttempl/tic3xcoff.sc: New file.
106 * scripttempl/tic4xcoff.sc: New file.
107
c89e8944
AM
1082002-08-28 Alan Modra <amodra@bigpond.net.au>
109
110 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
111 strtoul and strtoull with bfd_scan_vma.
112 (gld${EMULATION_NAME}_read_file): Likewise.
113
6459ecfa
AM
1142002-08-28 Alan Modra <amodra@bigpond.net.au>
115
116 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
117
ad5211be
NC
1182002-08-27 Egor Duda <deo@logos-m.ru>
119
120 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
121 Add symbols for application to access them.
122
88f7bcd5
NC
1232002-08-27 Nick Clifton <nickc@redhat.com>
124
125 * emultempl/armelf.em: Revert this patch, it is not needed.
126
127 2002-08-22 Adam Nemet <anemet@lnxw.com>
128
8e523c23
NC
1292002-08-20 Dan Kegel <dank@kegel.com>
130
131 * configure.in: added --with-lib-path argument to ld's configure
132 to set LIB_PATH.
133 * ld/NEWS: Document new switch.
134 * ld/README: Mention new switch.
135 * configure: Regenerate.
136 * Makefile.in: Regenerate.
137
138 Based on this patch:
139 2001-04-25 Christopher Faylor <cgf@cygnus.com>
140
141 * Makefile.in (LIB_PATH): Make configurable.
142 (GENSCRIPTS): Set LIB_PATH in environment.
143 * configure.in: Substitute LIB_PATH.
144
d9a7f7ab
NC
1452002-08-22 Adam Nemet <anemet@lnxw.com>
146
147 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
148 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
149 depending on the type of the function.
150 (arm_elf_convert_thumb_symbol_to_address): New function.
151
ed71e111
NC
1522002-08-22 Graeme Peterson <gp@qnx.com>
153
154 * Makefile.am: Add esh{l}elf_nto.o files.
155 * Makefile.in: Regenerate.
156 * configure.tgt: Add support for sh-**-nto* targets.
157 * emulparams/shelf_nto.sh: New file.
158 * emulparams/shlelf_nto.sh: New file.
159
7abb6dea
AM
1602002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
161
162 * ldlang.c (offsetof): Define if not defined.
163
e9229007
L
1642002-08-14 H.J. Lu <hjl@gnu.org>
165
166 * configure.tgt: Always enable 64bit emulations for 32bit
167 Linux/mips.
168
c553bb91
AM
1692002-08-13 Alan Modra <amodra@bigpond.net.au>
170
171 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
172 (MAXPAGESIZE): Set to 1.
173
174 * ld.h (ALIGN_N): Delete.
175 * ldexp.h (align_n): Declare.
176 * ldexp.c (align_n): New function.
177 (fold_binary): Use align_n instead of ALIGN_N.
178 (exp_fold_tree): Likewise.
179 * ldlang.c (lang_size_sections_1): Likewise.
180 (lang_one_common): Likewise.
3c6706bb 181 * ld.texinfo (ALIGN): Remove power of 2 restriction.
c553bb91 182
59bc061d
NC
1832002-07-31 Graeme Peterson <gp@qnx.com>
184
185 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
186 * Makefile.am: Add eelf32{l}ppcnto.o files.
187 * Makefile.in: Regenerate.
188 * emulparams/elf32lppcnto.sh: New file.
189 * emulparams/elf32ppcnto.sh: New file.
190
31941635
L
1912002-08-07 H.J. Lu <hjl@gnu.org>
192
193 * ld.texinfo: Document --no-undefined-version.
194
195 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
196 `script.' fields to 0.
197
198 * ldmain.c (main): Initialize the allow_undefined_version to
199 true.
200
201 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
202 (ld_options): Add --no-undefined-version.
203 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
204
2004afbc
NC
2052002-08-07 Nick Clifton <nickc@redhat.com>
206
207 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
208 an interworking bfd if there are input bfds. (107501)
209
7fc44b9c
AM
2102002-08-06 Alan Modra <amodra@bigpond.net.au>
211
212 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
213 2002-05-10 change.
214
24a1ba0f
NC
2152002-08-01 Nick Clifton <nickc@redhat.com>
216
217 * emulparams/armelf.sh: Revert previous delta.
218 * scripttempl/elf.sc: Revert previous delta.
219
ebc6e014
L
2202002-07-31 H.J. Lu <hjl@gnu.org>
221
222 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
223 --enable-64-bit-bfd.
224
39a2a3eb
L
2252002-07-31 H.J. Lu <hjl@gnu.org>
226
227 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
228 64bit BFD is selected.
229
a0dfa6a8
L
2302002-07-31 H.J. Lu <hjl@gnu.org>
231
232 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
233 if 64bit BFD is selected.
234
f7c33884
NC
2352002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
236
237 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
238 link_info.common_skip_ar_aymbols.
239 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
240
241 * ldmain.c (main): Initialize new field
242 link_info.common_skip_ar_aymbols.
243
8f64befb
NC
2442002-07-31 Adam Nemet <anemet@lnxw.com>
245
246 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
247 to .plt.thumb.
248 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
249 used.
250
500800ca
NC
2512002-07-31 Nick Clifton <nickc@redhat.com>
252
253 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
254 of the PDP-11 and 2.11BSD a.out support.
255
7808a785
TS
2562002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
257
258 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
259 for n32 ABI support.
260 * Makefile.in: Regenerate.
261 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
262 n32 ABI emulations for these 64 bit targets.
263 * emulparams/elf32bmipn32.sh: Expand comment.
264 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
265 n32 ABI.
266 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
267
7e392df6
NC
2682002-07-30 Graeme Peterson <gp@qnx.com>
269
270 * configure.tgt: Add support for arm-*-nto target.
271 * Makefile.am: Add earmnto.o file.
272 * Makefile.in: Regenerate.
273 * NEWS: Mention port of ARM support to QNX.
274 * emulparams/armnto.sh: New file.
275
704afa60
JJ
2762002-07-30 Jakub Jelinek <jakub@redhat.com>
277
278 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
279 for relocatable link.
280 (lang_size_sections_1): Don't make .tbss zero size for relocatable
281 link.
282
7dcd22c2
BS
2832002-07-26 Bernd Schmidt <bernds@redhat.com>
284
285 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
286 (STACK_ADDR): New.
287
219576a4
NC
2882002-07-25 Nick Clifton <nickc@redhat.com>
289
290 * po/sv.po: Updated Swedish translation.
291 * po/es.po: Updated Spanish translation.
292 * po/fr.po: Updated French translation.
293
ff3063f5
NC
2942002-07-24 Nick Clifton <nickc@redhat.com>
295
296 * po/sv.po: Updated Swedish translation.
297 * po/es.po: Updated Spanish translation.
298
0461a601
NC
2992002-07-23 Nick Clifton <nickc@redhat.com>
300
ff3063f5 301 * po/fr.po: Updated French translation.
0461a601 302
25844aae
AM
3032002-07-20 Alan Modra <amodra@bigpond.net.au>
304
305 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
306 bomb on /DISCARD/ input section.
307 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
308 * emultempl/mmo.em (mmo_place_orphan): Likewise.
309
3595bd6e
HPN
3102002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
311
312 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
313 output section.
314
cf88bb9f
NC
3152002-07-16 Denis Chertykov <denisc@overta.ru>
316 Nick Clifton <nickc@redhat.com>
317 Frank Ch. Eigler <fche@redhat.com>
318 John Healy <jhealy@redhat.com>
319
320 * configure.tgt: Add support for ip2k-elf.
321 * Makefile.am: Add support for ip2k-elf.
322 * Makefile.in: Regenerate.
323 * emulparams/elf32ip2k.sh: New file.
324 * scripttempl/ip2k.sc: New file
325 * NEWS: Mention support for new port.
326
2cbb2eef
NC
3272002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
328
329 * NEWS: Add 'Changes in 2.13'.
330
96a94295
L
3312002-07-14 H.J. Lu <hjl@gnu.org>
332
333 * ld.texinfo: Document a .symver takes precedence over a
334 version script.
335
120d20f2
AM
3362002-07-12 Alan Modra <amodra@bigpond.net.au>
337
338 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
339 (COMMONPAGESIZE): Define.
340
0d2ddeb2
AM
3412002-07-09 Alan Modra <amodra@bigpond.net.au>
342
343 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
344
554690ed
AM
3452002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
346
347 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
348 powerpc-*-openbsd* and sparc64-*-openbsd*.
349 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
350 * Makefile.in: Regenerate.
351 * emulparams/hppaobsd.sh: New file.
352
34786259
AM
3532002-07-05 Alan Modra <amodra@bigpond.net.au>
354
355 * ldlang.c (print_wild_statement): Fix output formatting.
356
4bd5a393
AM
3572002-07-04 Alan Modra <amodra@bigpond.net.au>
358
359 * ldlang.c: (strip_excluded_output_sections): New function.
360 (lang_process): Call it.
361 (lang_size_sections_1): Revert 2002-06-10 change.
362
ce4f7385
AM
3632002-07-03 Alan Modra <amodra@bigpond.net.au>
364
365 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
366 Run "make dep-am".
367 * Makefile.in: Regenerate.
368
b7b482a3
AM
3692002-07-02 Alan Modra <amodra@bigpond.net.au>
370
71daf8b4
AM
371 * ldfile.c (ldfile_try_open_bfd): Formatting.
372
b7b482a3
AM
373 * ldmisc.c (demangle): Move so that it doesn't intrude between
374 vfinfo comment and body. Add comment.
375
29e2951e
AM
3762002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
377
378 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
379
e3e942e9
AM
3802002-07-01 Alan Modra <amodra@bigpond.net.au>
381
382 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
383 * ldlang.c (entry_sym): Likewise.
384 (ldlang_undef_chain_list_type): Likewise.
385 (lang_finish): Adjust references to entry_symbol.
386 (lang_add_entry): Likewise.
387 (lang_gc_sections): Use link_info.gc_sym_list.
388 (lang_process): Set link_info.gc_sym_list.
389 * ldlex.l: Include bfdlink.h.
390 * ldmain.c (main): Init link_info.gc_sym_list.
391 * emultempl/aix.em: Adjust references to entry_symbol.
392 * emultempl/armcoff.em: Likewise.
393 * emultempl/armelf.em: Likewise.
394 * emultempl/pe.em: Likewise.
395 * emultempl/ppc64elf.em (ppc_after_open): New function.
396 (LDEMUL_AFTER_OPEN): Define.
397 * emulparams/elf64ppc.sh: KEEP .opd sections.
398
a66c0f2c
SC
3992002-06-29 Stephane Carrez <stcarrez@nerim.fr>
400
401 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
402 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
403 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
404 (EEPROM_START_ADDR): Define.
405 (EEPROM_MEMORY): Define.
406 * emulparams/m68hc12elf.sh: Likewise.
407 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
408 section to put soft registers in .page0.
409 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
410
2b67cf00
JL
4112002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
412
413 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
414 section. Add ${RELOCATING-0}.
415
219576a4 4162002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
164c4054
JR
417
418 * emulparams/shelf.sh (STACK_ADDR): Don't define.
419 (OTHER_SECTIONS): Define.
420 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
421 (OTHER_SECTIONS): Undef.
422
fc28fbc2
AM
4232002-06-26 Alan Modra <amodra@bigpond.net.au>
424
425 * ldmisc.c (demangle): Restore dots stripped from sym name.
426
a13a0de8
L
4272002-06-25 H.J. Lu <hjl@gnu.org>
428
429 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
430 * Makefile.in: Regenerated.
431
b553b183
NC
4322002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
433
434 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
435 the size of attached object files, to allow make the object files
436 available via FTP or HTTP and to mention that the mail will be
437 sent to a mailing list.
438
2755afba
NC
4392002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
440
441 * ld/configure.host (romp): Drop support.
442
7d0a848e
CD
4432002-06-18 Chris Demetriou <cgd@broadcom.com>
444
445 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
446 section flags for SEC_DATA, rather than for SEC_CODE being unset.
447
8505f884
CD
4482002-06-18 Chris Demetriou <cgd@broadcom.com>
449
450 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
451 format specifier used to print BFD name.
452
7d553a40
DB
4532002-06-18 Dave Brolley <brolley@redhat.com>
454
455 From Catherine Moore, Michael Meissner, Jim Blandy:
456 * emulparams/elf32frv.sh: New file.
457 * configure.tgt: Support frv-*-*.
458 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
459 (eelf32frv.c): New target.
460
82434356
TR
4612002-06-17 Tom Rix <trix@redhat.com>
462
a59f3d35 463 * emultempl/elf32.em: gld*_get_script: Check for
82434356
TR
464 GENERATE_COMBRELOC_SCRIPT.
465 * scripttempl/elfd10v.sc : Fix STACK and INSN.
466 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
467
219576a4 4682002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
5d9b5481
JR
469
470 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
471
c4bb8067
L
4722002-06-12 H.J. Lu <hjl@gnu.org>
473
474 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
475 false if xvec doesn't match.
476
e052cfbe
RS
4772002-06-10 Richard Sandiford <rsandifo@redhat.com>
478
479 * ldlang.c (lang_size_sections_1): Skip removed output sections.
480
4da711b1
AM
4812002-06-08 Alan Modra <amodra@bigpond.net.au>
482
483 * ldexp.c: Replace CONST with const.
484 * ldfile.c: Likewise.
485 * ldfile.h: Likewise.
486 * ldlex.l: Likewise.
487 * mri.c: Likewise.
488 * pe-dll.h: Likewise.
489
eb95bb9a
AM
4902002-06-07 Alan Modra <amodra@bigpond.net.au>
491
492 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
493
e0076ab3
NC
4942002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
495
496 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
497 to -1 == implicit enable.
498 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
499 initialize link_info.pei386_auto_import to -1 == implicit
500 enable.
501 (gld_${EMULATION_NAME}_parse_args): When processing
502 --enable-auto-import and --disable-auto-import options, use
503 '1' and '0' instead of 'true' and 'false'.
504 (pe_find_data_imports): Only issue message about auto-import
505 when the feature is implicitly enabled. Downgrade message to
506 informational instead of warning.
507
f13a5424
AM
5082002-06-07 Alan Modra <amodra@bigpond.net.au>
509
510 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
511
1abffd82
JL
5122002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
513
514 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
515 HOSTING_CRT0 and HOSTING_LIBS.
516
e0076ab3 5172002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
7a33bc10
JR
518
519 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
520
4a5e698d
JT
5212002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
522
523 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
524 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
525
1d475d82
AM
5262002-06-05 Alan Modra <amodra@bigpond.net.au>
527
528 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
529 SEC_EXCLUDE sections when doing a relocatable link.
530
5b0e55b6
JT
5312002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
532
533 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
534 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
535 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
536 (eshlelf64_nbsd.c): New rules.
537 * Makefile.in: Regenerate.
538 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
539 (sh64-*-netbsd*): New targets.
540 * emulparams/shelf32_nbsd.sh: New file.
541 * emulparams/shelf64_nbsd.sh: New file.
542 * emulparams/shlelf32_nbsd.sh: New file.
543 * emulparams/shlelf64_nbsd.sh: New file.
544
9ad85d9b
AM
5452002-06-04 Alan Modra <amodra@bigpond.net.au>
546
547 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
548
0c9b4fee
MM
5492002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
550
551 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
552 C++ constructors/destructors, loosely based on the m68hc11 port.
553
2c538bde
AM
5542002-05-31 Alan Modra <amodra@bigpond.net.au>
555
556 * Makefile.in: Regenerate.
557 * aclocal.m4: Regenerate.
558 * config.in: Regenerate.
559 * configure: Regenerate.
560
a0cb91c6
AM
5612002-05-31 Graeme Peterson <gp@qnx.com>
562
563 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
564 (ei386nto.c): Add rule.
565 * Makefile.in: Regenerate.
566 * configure.tgt: Add i[3456]86-*-nto-qnx*.
567 * emulparams/i386nto.sh: New file.
568
37020578
JT
5692002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
570
571 * NEWS: Add entry for VAX ELF support.
572
ab68f3e0 5732002-05-29 Matt Thomas <matt@3am-software.com>
a59f3d35 574 Jason Thorpe <thorpej@wasabisystems.com>
ab68f3e0
JT
575
576 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
577 (eelf32vax.c)
578 (evaxnbsd.c): New rules.
579 * Makefile.in: Regenerate.
580 * configure.tgt (vax-*-netbsdelf*)
581 (vax-*-netbsdaout*)
582 (vax-*-netbsd*): New targets.
583 * emulparams/elf32vax.sh: New file.
584 * emulparams/vaxnbsd.sh: New file.
585
8afb0e02
NC
5862002-05-29 Adam Nemet <anemet@lnxw.com>
587
588 * emultempl/armelf.em (arm_elf_after_open): Don't determine
589 bfd_for_interwork, instead add glue sections to each input bfd.
590 (bfd_for_interwork): New global.
591 (arm_elf_set_bfd_for_interworking): New function.
592 (arm_elf_before_allocation): Use it.
593
d172d4ba
NC
5942002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
595
596 * Makefile.am: Add DLX make target.
597 * configure.tgt: Add DLX configuration.
598 * Makefile.in: Regenerate.
599 * emulparams/elf32_dlx.sh: New file
600 * scripttempl/dlx.sc: New file
601
b4477fa8
NC
6022002-05-27 Per Lundberg <per@caleb.dnsalias.org>
603
604 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
605 * Makefile.in: Regenerate.
606 * emulparams/elf_chaos.sh: Use elf_chaos script.
607 * scripttempl/elf_chaos.sc: New file.
608
ee3cc2e2
RS
6092002-05-27 Richard Sandiford <rsandifo@redhat.com>
610
611 * ldlang.c (lang_size_sections_1): Move check for conflicting load
612 addresses and regions from here...
613 (lang_get_regions): ...to this new function.
614 (lang_leave_output_section_statement): Use lang_get_regions.
615 (lang_leave_overlay): Likewise.
616 * mri.c (mri_draw_tree): Pass null as last argument to
617 lang_leave_output_section_statement.
618 * emultempl/elf32.em (gld*_place_orphan): Likewise.
619 * emultempl/mmo.em (mmo_place_orphan): Likewise.
620 * emultempl/pe.em (gld*_place_orphan): Likewise.
621
aa501e5c
JT
6222002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
623
624 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
625
658957db
KH
6262002-05-25 Kazu Hirata <kazu@cs.umass.edu>
627
628 * ldemul.c: Fix formatting.
629 * ldfile.c: Likewise.
630 * pe-dll.c: Likewise.
631 * pe-dll.h: Likewise.
632
3511b595
AM
6332002-05-25 Alan Modra <amodra@bigpond.net.au>
634
0d6d936f
AM
635 * ldlang.c (lang_process): Formatting, grammar.
636
3511b595
AM
637 * ldlex.l: Use #include "" instead of <> for local header files.
638
436e8db0
NC
6392002-05-24 TAMURA Kent <kent@netbsd.org>
640
641 * configure.tgt: Add a target for i386-netbsdpe.
642
13ae64f3
JJ
6432002-05-23 Jakub Jelinek <jakub@redhat.com>
644
645 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
646 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
647 output section if necessary. Handle .tbss.
648 (lang_size_sections): Clear _raw_size for .tbss section
649 (it allocates space in PT_TLS segment only).
650 * ldwrite.c (build_link_order): Build link order for .tbss too.
651
68b2fc7a
AM
6522002-05-23 Alan Modra <amodra@bigpond.net.au>
653
654 * configure.in: Correct spelling of AC_PREREQ.
655
70b0be79
CF
6562002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
657
658 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
659 default.
660 (autofilter_objlist): Add crtbegin.o, crtend.o.
661
6622002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
663
664 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
665 (longopts): Add new option --exclude-libs.
666 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
667 (gld_${EMULATION_NAME}_parse_args): Use it.
668 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
669 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
670 from whole archives.
671 (pe_dll_add_excludes): Set excludes->type.
672 (auto_export): Add new variable libname and set to archive basename if
673 abfd. Use it when filtering default and user-specified libarary
674 excludes. Let string "ALL" mean all libs when filtering user-specified
675 libs.
676 * ld.texinfo: Document --exclude-libs.
677
fac1652d
AM
6782002-05-22 Alan Modra <amodra@bigpond.net.au>
679
680 * ldemul.c (ldemul_new_vers_pattern): New function.
681 * ldemul.h (ldemul_new_vers_pattern): Declare.
682 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
683 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
684 * emultempl/ppc64elf.em (dotsyms): New static var.
685 (gld${EMULATION_NAME}_new_vers_pattern): New function.
686 (LDEMUL_NEW_VERS_PATTERN): Define.
687 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
688 (PARSE_AND_LIST_LONGOPTS): Likewise.
689 (PARSE_AND_LIST_ARGS_CASES): Handle them.
690 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
691 initialiser.
692 * emultempl/armcoff.em: Likewise.
693 * emultempl/armelf_oabi.em: Likewise.
694 * emultempl/beos.em: Likewise.
695 * emultempl/elf32.em: Likewise.
696 * emultempl/generic.em: Likewise.
697 * emultempl/gld960.em: Likewise.
698 * emultempl/gld960c.em: Likewise.
699 * emultempl/linux.em: Likewise.
700 * emultempl/lnk960.em: Likewise.
701 * emultempl/m68kcoff.em: Likewise.
702 * emultempl/mipsecoff.em: Likewise.
703 * emultempl/pe.em: Likewise.
704 * emultempl/sunos.em: Likewise.
705 * emultempl/ticoff.em: Likewise.
706 * emultempl/vanilla.em: Likewise.
707
eb3d6bb8
AM
7082002-05-22 Alan Modra <amodra@bigpond.net.au>
709
710 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
711 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
712 (LIB_SEARCH_DIRS): No need to use "tr".
713 (COMPILE_IN): Only set for native targets.
714 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
715 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
716 * configure.tgt (powerpc*): Set tdir_*.
717 (powerpcle*): Correct targ_extra_emuls.
718 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
719 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
720
54f24647
AM
7212002-05-22 Alan Modra <amodra@bigpond.net.au>
722
723 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
724 calling lang_add_entry.
725
aa713662
L
7262002-05-21 H.J. Lu (hjl@gnu.org)
727
728 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
729 "-z muldefs".
730 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
731
732 * ld.texinfo: Updated for --allow-multiple-definition and
733 "-z muldefs".
734
735 * ldmain.c (main): Initialize the allow_multiple_definition
736 field to false.
737
738 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
739 (ld_options): Add --allow-multiple-definition.
740 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
741
658f2588
JT
7422002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
743
744 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
745 (earmelfb_nbsd.c): New rule.
a59f3d35 746 * Makefile.in: Regenerate.
658f2588 747 * configure.tgt (armeb-*-netbsdelf*): New target.
a59f3d35 748 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
658f2588
JT
749 (arm-*-netbsd*): Likewise.
750 * emulparams/armelfb_nbsd.sh: New file.
751
ca10c62d
TR
7522002-05-18 Tom Rix <trix@redhat.com>
753
a59f3d35 754 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
ca10c62d
TR
755 support.
756
fae1e84f
MM
7572002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
758
759 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
760 * Makefile.in: Regenerate.
761 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
762
7c8bf1e8
MM
7632002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
764
765 * emulparams/avr1.sh: New file.
766 * emulparams/avr2.sh: New file.
767 * emulparams/avr3.sh: New file.
768 * emulparams/avr4.sh: New file.
769 * emulparams/avr5.sh: New file.
770 * scripttempl/avr.sc: New file.
771
c2c01aa7
AM
7722002-05-15 Alan Modra <amodra@bigpond.net.au>
773
774 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
775 (lang_place_orphans): Abort if just_syms_flag.
776
f1f0d9ab
TR
7772002-05-10 Tom Rix <trix@redhat.com>
778
a59f3d35 779 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
f1f0d9ab
TR
780 architecture and machine information in the output bfd.
781 (gld*_before_parse): Remove old arch and machine code.
782 (choose_target): Rename to gld*_choose_target.
a59f3d35
AM
783 (rtld): Change type to int.
784 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
f1f0d9ab
TR
785 objects in XCOFF archives.
786 * ldfile.h: Update copyright date.
787
f4d73366
JJ
7882002-05-10 Jakub Jelinek <jakub@redhat.com>
789
790 * ldmain.c (main): Enable -z combreloc by default.
791
d3d8a9ee
NC
7922002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
793
794 * Makefile.am: Honour DESTDIR.
795 * Makefile.in: Regenerate.
796
9f88b410
RS
7972002-05-07 Richard Sandiford <rsandifo@redhat.com>
798
799 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
800 (lang_enter_overlay): Remove the last two parameters.
801 (lang_leave_overlay): Take them here instead.
802 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
803 (section): Pass LMA and crossref flag to lang_leave_overlay rather
804 than lang_enter_overlay.
805 * ldlang.c (lang_memory_region_lookup): Return null for null names.
806 (lang_output_section_statement_lookup): Initialize update_dot_tree.
807 (lang_size_sections_1): Evaluate it.
808 (lang_leave_output_section_statement): Rework LMA lookup.
809 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 810 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
811 (lang_enter_overlay_section): Don't set the LMA here.
812 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
813 assignment to the last section's update_dot_tree. Unconditionally
814 use the load and run-time regions specified in the OVERLAY statement.
815 Likewise the first section's LMA. Only set the other sections' LMAs
816 when no load region is given.
817
b9a743c8
NC
8182002-05-06 Nick Clifton <nickc@redhat.com>
819
820 * po/sv.po: New translation.
821
a3d60be3
AM
8222002-05-04 Alan Modra <amodra@bigpond.net.au>
823
824 * emultempl/hppaelf.em (build_section_lists): New function.
825 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
826 and build_section_lists.
827
b7a26f91
KH
8282002-05-03 Kazu Hirata <kazu@cs.umass.edu>
829
830 * ld.h: Fix formatting.
831 * ldexp.c: Likewise.
832 * ldfile.c: Likewise.
833 * ldlang.c: Likewise.
834 * ldmain.c: Likewise.
835 * lexsup.c: Likewise.
836 * pe-dll.c: Likewise.
837
805fc799
AM
8382002-05-02 Alan Modra <amodra@bigpond.net.au>
839
840 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
841 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
842 (build_section_lists): Do output_section tests here.
843
cc7e59b2
TR
8442002-04-30 Tom Rix <trix@redhat.com>
845
846 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
847
9c1d81c1
AM
8482002-05-01 Alan Modra <amodra@bigpond.net.au>
849
850 Long branch stubs, multiple stub sections.
851 * emultempl/ppc64elf.em: Include ldctor.h.
852 (stub_file): New var.
853 (group_size): New var.
854 (ppc_create_output_section_statements): New function.
855 (struct hook_stub_info): New.
856 (hook_in_stub): New function.
857 (ppc_add_stub_section): New function.
858 (ppc_layout_sections_again): New function.
859 (build_section_lists): New function.
860 (gld${EMULATION_NAME}_finish): Rewrite.
861 (real_func): New var.
862 (ppc_for_each_input_file_wrapper): New function.
863 (ppc_lang_for_each_input_file): New function.
864 (lang_for_each_input_file): Define.
865 (PARSE_AND_LIST_PROLOGUE): Define.
866 (PARSE_AND_LIST_LONGOPTS): Define.
867 (PARSE_AND_LIST_OPTIONS): Define.
868 (PARSE_AND_LIST_ARGS_CASES): Define.
869 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
870
aa67bccf
TR
8712002-04-30 Tom Rix <trix@redhat.com>
872
a59f3d35
AM
873 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
874 -blibpath, -bnolibpath support.
875
94349e12
MM
8762002-04-30 Mark Mitchell <mark@codesourcery.com>
877
878 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
879 (eelf32ppcwindiss.c): New target.
880 * Makefile.in: Regenerated.
881 * configure.tgt: Add support for powerpc-*-windiss.
882 * emulparams/elf32ppcwindiss.sh: New file.
a59f3d35 883
7b17f854
RS
8842002-04-30 Richard Sandiford <rsandifo@redhat.com>
885
886 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
887 * ldexp.c (exp_print_token): Add "infix_p" argument.
888 (exp_print_tree): Update accordingly.
889
596dafeb
AM
8902002-04-28 Alan Modra <amodra@bigpond.net.au>
891
892 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
893 * Makefile.in: Regenerate.
894 * mpw-elfmips.c: Delete.
895 * mpw-eppcmac.c: Delete.
896 * mpw-esh.c: Delete.
897 * mpw-idtmips.c: Delete.
898
219576a4 8992002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
a44d7f9c
JR
900
901 * emulparams/shelf32.sh (MACHINE): Now sh5.
902
944cd72c
TS
9032002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
904
905 * ldgram.y: Fix syntax warning.
906
5835c212
NC
9072002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
908
909 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
910 to prevent "-n" from being taken as an abbreviation for
911 "--no-pipeline-knowledge".
912
024531e2
AM
9132002-04-08 Alan Modra <amodra@bigpond.net.au>
914
d08a14c3
AM
915 * ldlang.c (lang_size_sections_1): Don't complain about
916 SEC_NEVER_LOAD sections having no memory region specified.
917
024531e2
AM
918 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
919
c657a1f0
MG
9202002-04-07 matthew green <mrg@redhat.com>
921
922 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
923
61bef6f1
AM
9242002-04-04 Alan Modra <amodra@bigpond.net.au>
925
926 * dep-in.sed: Cope with absolute paths.
927 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
928 Run "make dep-am".
929 * Makefile.in: Regenerate.
930
49ba2791
TS
9312002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
932
933 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
934
50e60fb5
JJ
9352002-04-03 Jakub Jelinek <jakub@redhat.com>
936
937 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
938 is smaller than maximum, round dot up to common page boundary.
939
6f12f4ca
AM
9402002-03-28 Alan Modra <amodra@bigpond.net.au>
941
942 * configure.host: Set up for generic hosts first, then tweak as
943 necessary in more specific targets.
944 (HOSTING_LIBS): Include libgcc_eh.a if found.
945
a8f1f017
AJ
9462002-03-23 Andreas Jaeger <aj@suse.de>
947
948 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
949
1d3fdf38
AM
9502002-03-21 Alan Modra <amodra@bigpond.net.au>
951
952 * Makefile.am: Run "make dep-am".
953 * Makefile.in: Regenerate.
954
79b1faa8
AM
9552002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
956
957 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
958
fcf0e35b
AM
9592002-03-20 Alan Modra <amodra@bigpond.net.au>
960
961 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
962 add the symbol to the linker hash table immediately.
963 (lang_place_undefineds): Split symbol creation out..
964 (insert_undefined): ..to here.
965
fed2999d
DB
9662002-03-18 David O'Brien <obrien@FreeBSD.org>
967
968 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
969 the contents of the buffer returned from basename function will are
970 getting overwritten while still being used.
971
219576a4
NC
9722002-03-18 Jan Hubicka <jh@suse.cz>
973 Andreas Jaeger <aj@suse.de>
974 Andreas Schwab <schwab@suse.de>
beb43bb9
JH
975
976 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
977 * elf_x86_64.sh (ARCH): Set to i386:x86-64
978 set libraries to default to lib64 paths.
979
eb1e0e80
NC
9802002-03-18 Tom Rix <trix@redhat.com>
981
982 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
983 * configure.tgt : Same.
984 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
985 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
986 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
987 emulation parameters for better -b32, -b64 support.
988 * emulparms/aixrs6.sh : Same.
989 * emulparms/ppcmacos.sh : Same.
990 * emultempl/aix.em (choose_target) : Use new emulation parameters
991 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
992 * Makefile.in : Regenerate.
993
a1c259a1
NC
9942002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
995
996 * po/fr.po: Updated version.
997
862120bd
AM
9982002-03-18 Alan Modra <amodra@bigpond.net.au>
999
1000 * ldmain.c (main): Move .text readonly flag fudges from here..
1001 * ldlang.c (lang_process): ..to here.
1002
d35a52e2
AM
10032002-03-14 Alan Modra <amodra@bigpond.net.au>
1004
1005 * ldlang.c (lang_check): Remove the word size check added in last
1006 change. Treat emitrelocations case as for relocatable links.
1007
9ce88e60
NC
10082002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1009
1010 * po/fr.po: Updated version.
1011
30cba025
AM
10122002-03-13 Alan Modra <amodra@bigpond.net.au>
1013
1014 * ldlang.c (lang_check): Do relocatable link checks first, so that
1015 warn_mismatch can't override. Check compatible and word size too.
1016
84ec0e6d
DJ
10172002-03-07 Daniel Jacobowitz <drow@mvista.com>
1018
1019 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
1020
2d13d8c5
JJ
10212002-03-05 Jakub Jelinek <jakub@redhat.com>
1022
1023 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
1024 DATA_SEGMENT_ALIGN.
1025
b5090659
L
10262002-03-04 H.J. Lu <hjl@gnu.org>
1027
1028 * scripttempl/elf.sc: Put .preinit_array, .init_array and
1029 .fini_array in the data segment.
1030
f42ce16e
AM
10312002-03-04 Alan Modra <amodra@bigpond.net.au>
1032
1033 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
1034
de77b6ac
RH
10352002-03-01 David Mosberger <davidm@hpl.hp.com>
1036
1037 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
1038 .init_array, and .fini_array.
1039
997e08c0
AS
10402002-02-20 Andreas Schwab <schwab@suse.de>
1041
1042 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
1043 .IA64_unwind* in a relocatable link.
1044
9a66911f
NC
10452002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1046
1047 * NEWS: Mark 2.12 branch.
1048
d86bcc10
MS
10492002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1050
1051 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
1052 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
1053
69f284c7
TR
10542002-02-18 Tom Rix <trix@redhat.com>
1055
1056 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
1057 (gld*_before_allocation): Same.
a8f1f017 1058 (gld*_create_output_section_statements): Generate
69f284c7
TR
1059 __rtinit if run time linking. Add librtl.a to the link.
1060 (gld*_read_file): Clean.
1061
82bd7b59
AM
10622002-02-18 Alan Modra <amodra@bigpond.net.au>
1063
1064 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
1065
ac3e50bf
DB
10662002-02-18 David O'Brien <obrien@FreeBSD.org>
1067
6a7f963b 1068 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
1069 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
1070 and eelf64alpha_fbsd.
6a7f963b 1071 * Makefile.in: Regenerate.
ac3e50bf
DB
1072 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
1073 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
1074 use a FreeBSD-specific emulation rather than the psABI one.
1075 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
1076 for all FreeBSD ELF systems.
1077 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
1078 emulation.
1079 * emulparams/elf32ppc_fbsd.sh: Likewise.
1080 * emulparams/elf64_ia64_fbsd.sh: Likewise.
1081 * emulparams/elf64_sparc_fbsd.sh: Likewise.
1082 * emulparams/elf64alpha_fbsd.sh: Likewise.
1083 * emulparams/elf_i386_fbsd.sh: Likewise.
1084 * emulparams/elf_x86_64_fbsd.sh: Likewise.
1085
6ad738c5
NC
10862002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
1087
1088 * po/tr.po: Updated version.
1089
9673c93c
AM
10902002-02-18 Alan Modra <amodra@bigpond.net.au>
1091
1092 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
1093 (FILL): Likewise.
1094
1c5e6447
HPN
10952002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
1096
1097 * emultempl/mmo.em (mmo_after_open): Don't call
1098 _bfd_mmix_check_all_relocs when producing ELF output.
1099
8bb57516
RH
11002002-02-15 Richard Henderson <rth@redhat.com>
1101
de77b6ac 1102 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
1103 definition. Emit a unop+nop pair.
1104
49fda6c8
HPN
11052002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1106
83c2d653
HPN
1107 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
1108 for presence of .MMIX.reg_contents.linker_allocated before early
1109 exit.
1110
49fda6c8
HPN
1111 * NEWS: Mention support for MMIX.
1112
2c382fb6
AM
11132002-02-15 Alan Modra <amodra@bigpond.net.au>
1114
1115 Support arbitrary length fill patterns.
a139d329
AM
1116 * ld.texinfo (Output Section Fill): Describe fill expressions.
1117 (FILL): Refer to the above.
2c382fb6
AM
1118 * ldexp.h (etree_value_type): Add "str" field.
1119 (union etree_union): Add "str" to "value" struct.
1120 (exp_bigintop): Declare.
1121 (exp_get_fill): Declare.
1122 * ldexp.c: Include "safe-ctype.h".
1123 (exp_intop): Set value.str to NULL.
1124 (exp_bigintop): New function.
1125 (new_rel): Pass in "str", and set new.str from it.
1126 (new_rel_from_section): Set new.str to NULL.
1127 (fold_name): Adjust calls to new_rel.
1128 (exp_fold_tree): Likewise.
1129 (exp_get_fill): New function.
1130 * ldgram.y (struct big_int bigint, fill_type *fill): New.
1131 (INT): Returns a "bigint". Adjust all code handling INTs.
1132 (fill_opt): Returns a "fill".
1133 (fill_exp): Split out of fill_opt, use for FILL.
1134 * ldlang.h (struct _fill_type): New.
1135 (fill_type): Move typedef to ldexp.h.
1136 (lang_output_section_statement_type): "fill" is now a pointer.
1137 (lang_fill_statement_type): Likewise.
1138 (lang_padding_statement_type): Likewise.
1139 (lang_add_fill): Now takes a "fill_type *" param.
1140 (lang_leave_output_section_statement): Likewise.
1141 (lang_do_assignments): Likewise.
1142 (lang_size_sections): Likewise.
1143 (lang_leave_overlay_section): Likewise.
1144 (lang_leave_overlay): Likewise.
1145 * ldlang.c: Include ldgram.h after ldexp.h.
1146 (lang_output_section_statement_lookup): Adjust for fill_type change.
1147 (print_fill_statement): Likewise.
1148 (print_padding_statement): Likewise.
1149 (insert_pad): Now takes a "fill_type *" arg.
1150 (size_input_section): Likewise.
1151 (lang_size_sections_1): Likewise.
1152 (lang_size_sections): Likewise.
1153 (lang_do_assignments): Likewise.
1154 (lang_add_fill): Likewise.
1155 (lang_leave_output_section_statement): Likewise.
1156 (lang_leave_overlay_section): Likewise.
1157 (lang_leave_overlay): Likewise.
1158 Adjust all callers of the above function.
1159 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
1160 starting with "0X" as well as "0x". Return bigint.str for hex
1161 numbers starting with "0x" or "0X", zero bigint.str otherwise.
1162 Always use base 16 for numbers starting with "$".
1163 * ldmain.c: Include ldgram.h after ldexp.h.
1164 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
1165 of bfd_fill_link_order.
1166 * pe-dll.c: Adjust lang_do_assignments calls.
1167 * emultempl/elf32.em: Likewise.
1168 * emultempl/hppaelf.em: Likewise.
1169 * emultempl/ppc64elf.em: Likewise.
1170 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
1171 lang_add_assignment call.
1172 * emultempl/pe.em: Likewise.
1173
313e35ee
AM
11742002-02-14 Phil Edwards <pme@gcc.gnu.org>
1175
a139d329 1176 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
1177 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
1178 the pattern in question is not a regexp.
1179 * ldlang.c: Likewise.
1180 * ldlang.h: Likewise.
1181 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
1182
2d20f7bf
JJ
11832002-02-12 Jakub Jelinek <jakub@redhat.com>
1184
1185 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1186 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1187 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
1188 * ldexp.c (exp_data_seg): New variable.
1189 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
1190 (fold_binary): Handle DATA_SEGMENT_ALIGN.
1191 (exp_fold_tree): Handle DATA_SEGMENT_END.
1192 Pass allocation_done when recursing instead of hardcoding
1193 lang_allocating_phase_enum.
1194 * ldexp.h (exp_data_seg): New.
1195 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
1196 (lang_size_sections): New.
1197 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
1198 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
1199 if COMMONPAGESIZE is defined.
1200 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
1201 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
1202 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
1203 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
1204 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
1205 libraries only.
1206
06880219
AM
12072002-02-11 Alan Modra <amodra@bigpond.net.au>
1208
1209 * Makefile.in: Regenerate.
1210
37b0ac0f
DJ
12112002-02-10 Daniel Jacobowitz <drow@mvista.com>
1212
1213 * lexsup.c: Remove strtoul declaration.
1214
4e5bae56
DJ
12152002-02-10 Daniel Jacobowitz <drow@mvista.com>
1216
1217 * ldmain.c: Add prototype for main ().
1218 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
1219 * emultempl/lnk960.em (lnk960_choose_target): Function should
1220 take two arguments.
1221
1e281515
AM
12222002-02-10 Alan Modra <amodra@bigpond.net.au>
1223
1224 * ldlang.c (entry_section): New initialised variable.
1225 (lang_finish): Use it.
1226 * ldlang.h (entry_section): Declare.
1227 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
1228 entry_section to ".opd".
1229
f92d92ff 12302002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
1231
1232 * ld.texinfo (Options): Add back in -nostdlib documentation,
1233 which had been inadvertently removed.
1234
74c44237
HPN
12352002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
1236
1237 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
1238 register section vma to a sane value after emitting error. Make
1239 fatal conditions cause program exit when emitting message.
1240
5e37cc46
NC
12412002-02-08 Ivan Guzvinec <ivang@opencores.org>
1242
1243 * configure.tgt: Add or32-*-rtems target.
1244
2d92cb7d
AO
12452002-02-08 Alexandre Oliva <aoliva@redhat.com>
1246
1247 Contribute sh64-elf.
1248 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1249 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
1250 in OTHER_RELOCATABLE_SECTIONS.
1251 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1252 * emulparams/shelf32.sh (STACK_ADDR): Define.
1253 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
1254 (OTHER_SECTIONS): this. Removed stack settings.
1255 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
1256 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
1257 2001-03-12 DJ Delorie <dj@redhat.com>
1258 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
1259 relaxing if any shmedia or mixed sections are found.
1260 2001-03-07 DJ Delorie <dj@redhat.com>
1261 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
1262 einfo. Gracefully decline to output to non-elf formats.
1263 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
1264 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
1265 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
1266 * emulparams/shelf32.sh: Ditto.
1267 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
1268 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
1269 comment.
1270 2001-01-10 Ben Elliston <bje@redhat.com>
1271 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
1272 non-portable shell constructs. From Hans-Peter Nilsson.
1273 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
1274 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
1275 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
1276 dependencies to the shell script include chain.
1277 * Makefile.in: Regenerate.
1278 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1279 * emultempl/sh64elf.em: Update and tweak comments.
1280 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
1281 make a .cranges section SEC_IN_MEMORY.
1282 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1283 * emultempl/sh64elf.em
1284 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
1285 .cranges section found to be necessary; continue and set stored
1286 section contents flags for sections with non-mixed contents.
1287 Use a struct sh64_section_data container and sh64_elf_section_data
1288 to store contents-type flags.
1289 Remove unused update of "isec".
1290 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
1291 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
1292 access contents-type flags. Assert that the associated container
1293 is initialized. Use that container, not elf_gp_size, to hold size
1294 of linker-generated cranges contents.
1295 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1296 * emultempl/sh64elf.em
1297 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
1298 there's already a .cranges section. When section flag difference
1299 is found, don't NULL-check cranges a second time. Tweak comments.
1300 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
1301 merging, not max size, as size of ld-generated .cranges contents.
1302 Don't set ELF section flags in output section. When checking for
1303 needed .cranges descriptors, don't use a variable; compare
1304 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
1305 comments.
1306 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1307 * emultempl/sh64elf.em: New file.
1308 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
1309 * Makefile.in: Regenerate.
1310 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
1311 (OTHER_RELOCATING_SECTIONS): Ditto.
1312 (EXTRA_EM_FILE): New, set to sh64elf if not set.
1313 * emulparams/shlelf32.sh: Stub out all settings except
1314 OUTPUT_FORMAT. Source shelf32.sh.
1315 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
1316 OTHER_RELOCATING_SECTIONS.
1317 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
1318 * emulparams/shlelf64.sh: Stub out all settings except
1319 OUTPUT_FORMAT. Source shelf64.sh.
1320 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1321 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
1322 .cranges section.
1323 (DATA_START_SYMBOLS): Define, provide ___data.
1324 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
1325 for consecutive .data section.
1326 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
1327 section after .data section.
1328 * emulparams/shlelf64.sh: Ditto.
1329 * emulparams/shelf32.sh: Ditto.
1330 (ALIGNMENT): Define to 8.
1331 * emulparams/shelf32.sh: Ditto.
1332 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1333 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
1334 built-in linker scripts.
1335 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1336 * emulparams/shlelf64.sh: New.
1337 * emulparams/shelf64.sh: New.
1338 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
1339 targ_extra_emuls.
1340 * Makefile.am: Add support for shlelf64 and shelf64.
1341 * Makefile.in: Regenerate.
1342 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1343 * configure.tgt (sh64-*-elf*): Add shelf as default.
1344 Add shlelf to targ_extra_emuls.
1345 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1346 * emulparams/shelf32.sh: New file.
1347 * emulparams/shlelf32.sh: New file.
1348 * Makefile.am: Add support for shlelf32 and shelf32.
1349 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
1350 * Makefile.in: Regenerate.
1351
e3dc8847
HPN
13522002-02-05 Hans-Peter Nilsson <hp@axis.com>
1353
1354 * ldlang.c (lang_reset_memory_regions): Rename from
1355 reset_memory_regions. Change all callers. Make public.
1356 * ldlang.h (lang_reset_memory_regions): Prototype.
1357 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
1358 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
1359 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1360 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 1361
8017dbcb
HPN
13622002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1363
1364 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
1365 arithmetic when checking for too many global registers.
1366
006336b8
JT
13672002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1368
1369 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
1370 (ehppanbsd.c): New rule.
1371 * Makefile.in: Regenerate.
1372 * configure.tgt (hppa*-*-netbsd*): New target.
1373 * emulparams/hppalinux.sh: Add comment to check other files
1374 that source this file it is modified, and list which
1375 files that do.
1376 * emulparams/hppanbsd.sh: New file.
1377
da1f2fec
GK
13782002-02-01 Geoffrey Keating <geoffk@redhat.com>
1379
1380 * scripttempl/xstormy16.sc: Don't allocate extra space for the
1381 stack.
1382
48fa4a5d
HPN
13832002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1384
1385 Support on-demand global register allocation from
1386 R_MMIX_BASE_PLUS_OFFSET relocs.
1387 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
1388 mmix_set_reg_section_vma. Call
1389 _bfd_mmix_finalize_linker_allocated_gregs.
1390 (mmix_before_allocation): New function.
1391 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
1392 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
1393 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
1394 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
1395 before .MMIX.reg_contents.
1396 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
1397 (mmo_after_open): New function.
1398 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
1399 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
1400 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
1401
3b16e843
NC
14022002-01-31 Ivan Guzvinec <ivang@opencores.org>
1403
1404 * emulparams/or32.sh: New file.
1405 * emulparams/or32elf.sh: New file.
1406 * scripttempl/or32.sc: New file.
1407 * configure.tgt : Add support for or32.
1408 * configure: Regenerate
1409 * Makefile.am: Add support for or32.
1410 * Makefile.in: Regenerate.
1411 * NEWS: Mention support for or32.
1412 * po/ld.pot: Regenerate.
1413
f744d540 14142002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 1415 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
1416
1417 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
1418 * emultempl/mipself.em: New file to handle MIPS ELF embedded
1419 reloc creation (ld --embedded-relocs).
1420
4867be41
DJ
14212002-01-27 Daniel Jacobowitz <drow@mvista.com>
1422
1423 * configure: Regenerated.
1424
cd8e197b
HPN
14252002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1426
1427 * Makefile.am (install): Depend on install-info.
1428 * Makefile.in: Regenerate.
1429
9cb61eab
AM
14302002-01-26 Christian Rose <menthos@menthos.com>
1431
1432 * ldmain.c (main): Use full sentences to ease translation.
1433
1caa7b23
NC
14342002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1435
1436 * po/fr.po: Updated version.
1437
1ddbd152
NC
14382002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1439
1440 * po/es.po: Updated version.
1441
1e84433f
AJ
14422002-01-25 Andreas Jaeger <aj@suse.de>
1443
1444 * ldlex.l (yy_input): Correct error check.
1445
6d39955e
AM
14462002-01-25 Alan Modra <amodra@bigpond.net.au>
1447
1448 * ldmisc.c (demangle): Put back dots when string not demangled.
1449
a9ed1e1b
RH
14502002-01-22 Richard Henderson <rth@redhat.com>
1451
1452 * emulparams/elf64alpha.sh (NOP): Use unop.
1453
968ec2b9
AJ
14542002-01-21 Andreas Jaeger <aj@suse.de>
1455
1456 * ldlex.l: Use fread instead of read.
1457
9596feea
JT
14582002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1459
1460 * configure.tgt (ia64-*-netbsd*): New target.
1461
493a6d47
L
14622002-01-21 H.J. Lu <hjl@gnu.org>
1463
1464 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
1465 0.
1466 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
1467
2a538ba5
AJ
14682002-01-18 Andreas Jaeger <aj@suse.de>
1469
1470 * ldver.c (ldversion): Update year.
1471
328577ad
NC
14722002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1473
1474 * po/ld.pot: Regenerate.
1475
1f808cd5
AM
14762002-01-16 Alan Modra <amodra@bigpond.net.au>
1477
1478 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
1479 * Makefile.in: Regenerate.
1480 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
1481 * emultempl/ppc64elf.em: New file.
1482
335c5610
DD
14832002-01-15 DJ Delorie <dj@redhat.com>
1484
1485 * scripttempl/pe.sc: Add support for constructor priorities.
1486
c40bbade
DC
14872002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1488
1489 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
1490 * emulparams/avr23xx.sh: Likewise.
1491 * emulparams/avr4433.sh: Likewise.
1492 * emulparams/avr44x4.sh: Likewise.
1493 * emulparams/avr85xx.sh: Likewise.
1494 * emulparams/avrmega103.sh: Likewise.
1495 * emulparams/avrmega161.sh: Likewise.
1496 * emulparams/avrmega603.sh: Likewise.
1497 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
1498
34efb449
AO
14992002-01-08 Alexandre Oliva <aoliva@redhat.com>
1500
1501 * ldlang.c (walk_wild_section): Exclude object file if enclosing
1502 archive is excluded.
1503
8d05742f
JT
15042002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1505
1506 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 1507 (eshelf_nbsd.c): New rule.
8d05742f
JT
1508 (eshlelf_nbsd.c): New rule.
1509 * Makefile.in: Regenerate.
1510 * configure.tgt (sh*le-*-netbsdelf*): New target.
1511 (sh*-*-netbsdelf*): New target.
1512 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
1513 * ld/emulparams/shelf_nbsd.sh: New emulation.
1514 * ld/emulparams/shlelf_nbsd.sh: New emulation.
1515
be2d1673
NC
15162002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1517
1518 * po/es.po: New file: Spanish translation.
1519 * configure.in (ALL_LINGUAS): Add es.
1520 * configure: Regenerate.
1521
dbab7a7b
NC
15222002-01-06 John Marshall <jmarshall@acm.org>
1523
1524 * ld.texinfo: Note that --emit-relocs is currently only
1525 implemented for ELF.
1526
3dfe7a8c
AM
15272002-01-05 Alan Modra <amodra@bigpond.net.au>
1528
1529 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
1530 of bfd_section_list_remove and bfd_section_list_insert macros.
1531 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1532 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1533
8a8b2d4b
AJ
15342002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1535
1536 * configure.tgt (x86_64-*-netbsd*): New target.
1537
9a4c7f16
TR
15382001-12-21 Tom Rix <trix@redhat.com>
1539
8a8b2d4b 1540 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
1541 For -binitfini support.
1542 * emultempl/aix.em (gld*_before_parse): Fix comment.
1543 * emultempl/aix.em (gld*_parse_args): Fix comment.
1544
3695c299
AM
15452001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
1546
cf86e6df
AM
1547 * configure.tgt (mips*-dec-netbsd*): Delete alias for
1548 mips*el-*-netbsd*.
1549 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
1550
3695c299
AM
1551 * configure.tgt (arm-*-netbsdelf*): Add target.
1552 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1553 * emulparams/armelf_nbsd.sh: Added.
1554 * Makefile.am: Add rules for earmelf_nbsd.
1555 * Makefile.in: Regenerate.
1556
97cb79ae
AJ
15572001-12-19 Andreas Jaeger <aj@suse.de>,
1558 Susanne Oberhauser <froh@suse.de>
1559
1560 * configure.host: Add rules for x86_64-*linux-gnu. Change
1561 s390x-linux entry to use gcc to report configuration, replace gcc
1562 with $CC in s390-linux
1563
9d201f2f
AJ
15642001-12-19 Andreas Jaeger <aj@suse.de>
1565
1566 * ld.texinfo (VERSION): Fix markup.
1567
0b69cd08
MG
15682001-12-18 matthew green <mrg@eterna.com.au>
1569
1570 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1571 (m68kelfnbsd.c): New rule.
1572 * Makefile.in: Regenerate.
1573 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1574 (m68*-*-netbsd*4k*): .. this.
1575 (m68*-*-netbsdelf*): New target.
1576 (m68*-*-netbsd*): Also include ELF support.
1577 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1578 * emulparams/m68kelfnbsd.sh: New emulation.
1579
6b9b879a
JJ
15802001-12-18 Jakub Jelinek <jakub@redhat.com>
1581
1582 * ldgram.y (vers_node): Support anonymous version tags.
1583 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1584 tag is not defined together with non-anonymous versions.
1585 * ld.texinfo: Document it.
1586
9fc877ed
NC
15872001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1588
1589 * po/tr.po: New file: Turkish translation.
1590 * configure.in (ALL_LINGUAS): Add tr.
1591 * configure: Regenerate.
1592
fc18a3f3
RH
15932001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1594
1595 * Makefile.am: Add rules for eelf64alpha_nbsd.
1596 * Makefile.in: Regenerate.
1597 * configure.tgt (alpha*-*-netbsd*): Set
1598 targ_emul to elf64alpha_nbsd.
1599 * emulparams/elf64alpha_nbsd.sh: Added.
1600
76f63e91
AM
16012001-12-17 Alan Modra <amodra@bigpond.net.au>
1602
1603 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1604 section_tail when fiddling with section list.
1605 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1606 broken into separate strings to make translation easier.
1607 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1608 fiddling with section list.
1609 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1610
d03b89bd
HPN
16112001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1612
1613 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1614
320fec9a
AM
16152001-12-15 Alan Modra <amodra@bigpond.net.au>
1616
1617 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1618
65765700
JJ
16192001-12-13 Jakub Jelinek <jakub@redhat.com>
1620
1621 * emultempl/elf32.em (finish): Supply output_bfd
1622 to bfd_elf*_discard_info.
1623 (OPTION_EH_FRAME_HDR): Define.
1624 (longopts): Add --eh-frame-hdr.
1625 (parse_args): Handle it.
1626 (list_options): Add --eh-frame-hdr to help.
1627 * emultempl/hppaelf.em (finish): Supply output_bfd
1628 to bfd_elf*_discard_info.
1629 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1630
89894c62
AM
16312001-12-13 Alan Modra <amodra@bigpond.net.au>
1632
1633 * lexsup.c (parse_args): Don't pass shortopts to second call to
1634 getopt functions. Restore optind rather than decrementing before
1635 second call. Remove errind as it now duplicates last_optind.
1636
583f1926
CF
16372001-12-11 Christopher Faylor <cgf@redhat.com>
1638
1639 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1640
93fbbb04
GK
16412001-12-07 Geoffrey Keating <geoffk@redhat.com>
1642 Richard Henderson <rth@redhat.com>
1643
1644 * Makefile.am: Add support for xstormy16.
1645 * configure.tgt: Add support for xstormy16.
1646 * Makefile.in: Regenerate.
1647 * emulparams/elf32xstormy16.sh: New file.
1648 * scripttempl/xstormy16.sc: New file.
1649
583f1926
CF
16502001-10-01 Christopher Faylor <cgf@cygnus.com>
1651
fc18a3f3
RH
1652 * Makefile.in (LIB_PATH): Make configurable.
1653 (GENSCRIPTS): Set LIB_PATH in environment.
1654 * configure.in: Substitute LIB_PATH.
1655 * configure: Regenerate.
1656 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1657 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1658
ff291a48
NC
16592001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1660
1661 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1662 describing the -N option so that it is easier to translate into
1663 foreign languages.
1664
e3c8793a
NC
16652001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1666
1667 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1668 statements describing a single option with a single, newline
1669 escaped fprintf. This allows better translation into other
1670 languages.
9d201f2f 1671
fc18a3f3
RH
1672 * ldmain.c (add_archive_element): Combine multiple strings
1673 into a single string to permit better translation into other
1674 languages.
e3c8793a 1675
f2eab0af
TR
16762001-12-05 Tom Rix <trix@redhat.com>
1677
1678 * Makefile.am: Remove eaixppc64.
9d201f2f 1679 * Makefile.in: Regenerate.
f2eab0af 1680
249172c3
TR
16812001-12-04 Tom Rix <trix@redhat.com>
1682
9d201f2f 1683 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
1684 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1685 warning.
1686 (gld*_read_file): Fix typo.
1687 (change_symbol_mode): Add prototype.
1688 (is_syscall): Same.
9d201f2f 1689
249172c3
TR
1690 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1691 * emulparams/aixrs6.sh : Same.
1692 * emulparams/ppcmacos.sh : Same.
1693 * emulparams/aixppc64.sh : Delete file.
1694 * emultempl/aix.em : Formatting changes.
1695
5b5cd1b0
HPN
16962001-12-04 Hans-Peter Nilsson <hp@axis.com>
1697
1698 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1699 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1700 __Sbss.
1701 (OTHER_END_SYMBOLS): Fix formatting.
1702 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1703 (OTHER_END_SYMBOLS): Fix formatting.
1704
7cecdbff
AM
17052001-12-04 Alan Modra <amodra@bigpond.net.au>
1706
1707 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1708
742aeb63 17092001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 1710
742aeb63 1711 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 1712 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
1713 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1714 (ldemul_default_target): Same.
1715 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
1716 * emultempl/gld960c.em (gld960_choose_target): Same.
1717 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
1718 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1719 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1720 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 1721 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
1722 -b32 and -b64.
1723
48459341
L
17242001-11-27 H.J. Lu <hjl@gnu.org>
1725
1726 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1727 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1728 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1729 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1730 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1731 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1732 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1733 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1734
7cecdbff 1735 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
1736 is not empty.
1737 (SDATA): Likewise.
1738 (REL_SDATA): Likewise.
1739 (REL_SBSS): Likewise.
1740 (REL_SDATA2): Likewise.
1741 (REL_SBSS2): Likewise.
1742 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1743 (SDATA2): Likewise.
1744
ecfdd20c
SC
17452001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1746
1747 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1748 destructor in rom.
7cecdbff 1749 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 1750
da54c6eb
L
17512001-11-22 H.J. Lu <hjl@gnu.org>
1752
1753 * Makefile.in: Regenerated with automake based on automake
1754 1.4-8 in RedHat 7.1.
1755
465bc359
AM
17562001-11-22 Alan Modra <amodra@bigpond.net.au>
1757
1758 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1759 (config.status): Delete rule.
1760 Add extra dependencies to cover sourced emulparams files.
1761 * Makefile.in: Regenerate.
1762
1763 * scripttempl/elf.sc: Order <section>, <section>.* and
1764 corresponding linkonce sections as seen in input files.
1765 Formatting fixes. Zero vma of all sections if not relocating.
1766 (STACK): Define and insert if STACK_ADDR defined.
1767 (OTHER_RELOCATING_SECTIONS): Delete.
1768 (OTHER_END_SYMBOLS): Define.
1769 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1770 (OTHER_READWRITE_SECTIONS): Likewise.
1771 (OTHER_GOT_SECTIONS): Likewise.
1772 (OTHER_SDATA_SECTIONS): Likewise.
1773 (OTHER_BSS_SECTIONS): Likewise.
1774 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1775 (OTHER_READWRITE_SECTIONS): Likewise.
1776 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1777 (OTHER_READWRITE_SECTIONS): Likewise
1778
1779 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1780 (STACK_ADDR): Define.
1781 * emulparams/armelf_oabi.sh: As for armelf.sh.
1782 * emulparams/elf32mcore.sh: As for armelf.sh.
1783 * emulparams/h8300elf.sh: As for armelf.sh.
1784 * emulparams/mn10200.sh: As for armelf.sh.
1785 * emulparams/shelf.sh: As for armelf.sh.
1786
1787 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1788 (OTHER_END_SYMBOLS): Define.
1789 * emulparams/m32relf.sh: As for elf32fr30.sh.
1790 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1791 * emulparams/h8300self.sh: As for elf32fr30.sh.
1792
1793 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1794 defines with RELOCATING test.
1795 (OTHER_SDATA_SECTIONS): Likewise.
1796 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1797 (OTHER_END_SYMBOLS): ..this.
1798 * emulparams/crislinux.sh: As for criself.sh.
1799
1800 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1801 if not relocating.
1802 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1803 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1804 normal and linkonce sections as seen in input files.
1805 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1806 (TEXT_DYNAMIC): Likewise.
1807 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1808 (OTHER_SDATA_SECTIONS): Likewise.
1809 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1810 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1811 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1812 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1813 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1814 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1815 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1816 sections as seen in input files.
1817 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1818 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1819 if not relocating.
1820 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1821 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1822 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1823 (OTHER_SECTIONS): Instead, use this..
1824 (OTHER_END_SYMBOLS): ..and this.
1825
1826 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1827 * emulparams/elf32bsmip.sh: Likewise.
1828 * emulparams/elf32btsmip.sh: Likewise.
1829 * emulparams/elf32ebmip.sh: Likewise.
1830 * emulparams/elf32lmip.sh: Likewise.
1831 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1832 * emulparams/elf32lsmip.sh: Likewise.
1833 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1834 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1835 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1836 * emulparams/elf64btsmip.sh: Likewise.
1837 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1838 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1839 * emulparams/elf32ppclinux.sh: Likewise.
1840 * emulparams/elf32ppcsim.sh: Likewise.
1841 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1842 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1843 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1844 * emulparams/h8300self.sh: Likewise.
1845 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1846 * emulparams/sh.sh: Comment.
1847 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1848 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1849 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1850
abc6ab0a
AM
18512001-11-21 David Heine <dlheine@tensilica.com>
1852 Alan Modra <amodra@bigpond.net.au>
1853
1854 * ldlang.c (map_input_to_output_sections): Replace "break"
1855 accidentally removed with 2001-08-03 change.
1856 (lang_gc_sections_1): Likewise.
1857
2181f54f
AM
18582001-11-21 Alan Modra <amodra@bigpond.net.au>
1859
1860 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1861
ca0b5847
AM
18622001-11-20 Angela Marie Thomas <angela@redhat.com>
1863
1864 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
1865 of false when calling lang_size_sections.
1866 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 1867
c56feb2b
AM
18682001-11-15 Alan Modra <amodra@bigpond.net.au>
1869
1870 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1871 function when LDEMUL_FINISH isn't set to the same name. Don't
1872 call ${LDEMUL_FINISH}.
1873 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1874 * emultempl/armelf.em (arm_elf_finish): Call
1875 gld${EMULATION_NAME}_finish.
1876 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1877 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1878 hppaelf_layout_sections_again if necessary.
1879 (need_laying_out): New var.
1880 (hppaelf_layaout_sections_again): Rename to
1881 hppaelf_layout_sections_again. Clear need_laying_out.
1882 (PARSE_AND_LIST_OPTIONS): Format text.
1883
a48ca7f2
L
18842001-11-14 H.J. Lu <hjl@gnu.org>
1885
1886 * emultempl/armelf.em (arm_elf_finish): Renamed from
1887 gld${EMULATION_NAME}_finish.
1888 (LDEMUL_FINISH): Set to arm_elf_finish.
1889
73d074b4
DJ
18902001-11-14 Daniel Jacobowitz <drow@mvista.com>
1891
1892 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1893 (struct ld_emulation_xfer_struct): Use it.
1894
3b16e843 18952001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 1896
465bc359 1897 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
1898 additional symbols referenced by newer crt0.o files from HP.
1899
f11b7027
NC
19002001-11-12 Anthony Green <green@redhat.com>
1901
1902 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1903
3bf2994f
AM
19042001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1905
1906 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1907 * Makefile.in: Regenerate.
1908
ff5dcc92
SC
19092001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1910
1911 * ld.texinfo: Use @command for commands, @option for options.
1912 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1913 the page man title.
1914 * Makefile.in: Rebuild.
1915
9fb9af6e
CD
19162001-11-04 Chris Demetriou <cgd@broadcom.com>
1917
1918 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1919 Add support for targets.
2181f54f 1920
3c62831e
NC
19212001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1922
1923 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1924 * configure: Regernate.
1925 * po/fr.po: New file.
1926 * po/sv.po: New file.
1927
3a9091c4
NC
19282001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1929
1930 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1931 as little endian default and to support big endian.
2181f54f 1932
361b220e
CD
19332001-11-01 Chris Demetriou <cgd@broadcom.com>
1934
1935 * ld.texinfo (Options): Document new option, -nostdlib.
1936 * lexsup.c (OPTION_NOSTDLIB): New definition.
1937 (ld_options): Add entry for "nostdlib".
1938 (parse_args): Handle OPTIONS_NOSTDLIB.
1939 * ldfile.c (ldfile_add_library_path): Don't add directories
1940 to the search path if they weren't specified on the command line
1941 and -nostdlib was specified.
1942 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1943
210a7bd1
NC
19442001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1945
1946 * lexsup.c (parse_args): Prevent infinite parsing loop when
1947 "-rpath.a" is specified on the command line.
1948 Replace calls to fprintf with calls to einfo.
1949
114283d8
NC
19502001-10-31 John Marshall <jmarshall@acm.org>
1951
1952 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1953 appear only once across all the linker scripts involved in a link
1954 invocation no longer applies. Make the documentation reflect
1955 that.
1956
7649aa50
NC
19572001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1958
1959 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1960 targets.
1961 (sh-*-linux*): Added targ_extra_libpath.
1962
6e814ff8
AM
19632001-10-31 David Heine <dlheine@tensilica.com>
1964
1965 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1966 for padding statements.
1967
3c3bdf30
NC
19682001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1969
1970 * configure.tgt (mmix-*-*): New target.
1971 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1972 Add dependencies to match.
1973 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1974 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1975 scripttempl/mmo.sc: New files.
1976 * gen-doc.texi: @set MMIX.
1977 * ld.texinfo: Ditto.
6e814ff8 1978 [MMIX] Add MMIX node.
3c3bdf30
NC
1979 * Makefile.in: Regenerate.
1980
ca0c1d3e
KH
19812001-10-29 Kazu Hirata <kazu@hxi.com>
1982
1983 * ldlang.c: Fix a comment typo.
1984
1a3d33ce
AM
19852001-10-23 Alan Modra <amodra@bigpond.net.au>
1986
1987 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1988 entries, and match *-*-linux*.
1989
b47c4208
AM
19902001-10-20 Alan Modra <amodra@bigpond.net.au>
1991
1992 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1993 with ldlex_script, ldlex_popstate.
1994 (ifile_p1): Likewise.
1995 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
1996 correct slot.
1997 (lex_push_file): Save current lineno to lineno_stack. Set lineno
1998 to 1. Don't BEGIN(SCRIPT).
1999 (lex_redirect): Similarly.
2000 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
2001
fd521b47
NC
20022001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
2003
2004 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
2005 __EH_FRAME_END__ and accept eh frames into data section.
2006 Add ctor and dtor sections.
2007
59d28a94
DD
20082001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2009
2010 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
2011 (auto-export): Fix indentation.
2012
663dd378
DD
20132001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2014
2015 * pe-dll.c (autofilter_objectlist): Add startup objects
2016 for profiling.
2017 (auto-export): Constify char * p.
6e814ff8 2018 Extract file basename and use strcmp rather than ststr
663dd378
DD
2019 for object lookup.
2020
31d677f9
CD
20212001-10-18 Chris Demetriou <cgd@broadcom.com>
2022
2023 * ldmain.c (get_emulation): Improve comment about the handling
2024 of -mipsN options.
2025
aa200fe8
AM
20262001-10-17 Alan Modra <amodra@bigpond.net.au>
2027
2028 * po/POTFILES.in: Regenerate.
2029
146e7110
AM
20302001-10-16 Vassili Karpov <malc@pulsesoft.com>
2031
2032 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
2033 -z nocopyreloc and -z nocombreloc usage strings.
2034
b4330e85
NC
20352001-10-12 Vassili Karpov <malc@pulsesoft.com>
2036
146e7110 2037 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
2038 in usage.
2039
5af8a2fb
NC
20402001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
2041
2042 * scripttempl/armaout.sc: Place .bss section after end of aligned
2043 data section to match behaviour of aout code in constructrion of
2044 header.
2045
5b784096
DD
20462001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2047
2048 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
2049 startup files for mingw32 dlls to list.
2050
61585df2
CD
20512001-10-10 Chris Demetriou <cgd@broadcom.com>
2052
2053 * emultempl/elf32.em: Fix shell 'if' usage for portability.
2054
45cf6f3e
AH
20552001-10-08 Aldy Hernandez <aldyh@redhat.com>
2056
2057 * configure.tgt (targ): Add arm9e-*-elf.
2058
e24d7c12
L
20592001-10-05 H.J. Lu <hjl@gnu.org>
2060
2061 * genscripts.sh: Fix a typo in the last change.
2062
ec38dd05
JJ
20632001-10-05 Jakub Jelinek <jakub@redhat.com>
2064
2065 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
2066 -z nocombreloc in usage.
2067
cedd6b0d
JB
20682001-10-03 Jim Blandy <jimb@redhat.com>
2069
2070 * genscripts.sh: Include a comment at the top of each generated
2071 script, explaining its purpose.
2072
8bd621d8
AM
20732001-10-03 Vassili Karpov <malc@pulsesoft.com>
2074
2075 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
2076 * NEWS: Mention -z nocopyreloc.
2077 * ld.texinfo (Options): Describe nocopyreloc.
2078
fcd8210c
AM
20792001-10-03 Alan Modra <amodra@bigpond.net.au>
2080
2081 * configure: Regenerate.
2082
d32820f2
AM
20832001-10-02 Alan Modra <amodra@bigpond.net.au>
2084
2085 * ldver.h (ld_program_version): Remove declaration.
2086 * lexsup.c (parse_args): Move printing of copyright message..
2087 * ldver.c (ldversion): .. to here.
2088 Use BFD_VERSION_STRING in place of BFD_VERSION.
2089 (ld_program_version): Remove.
2090 * Makefile.am (Makefile): Depend on bfd/configure.in.
2091 Run "make dep-am".
2092 * Makefile.in: Regenerate.
2093
af46bcdc
HPN
20942001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2095
2096 * Makefile.am: Update dependencies with "make dep-am".
2097 * Makefile.in: Regenerate.
2098
4818e05f 20992001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 2100
4818e05f
AM
2101 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
2102 * lexsup.c: Add --no-define-common commandline option.
2103 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
2104 * ldlex.l: Likewise.
2105 * ld.h: Add command_line.inhibit_common_definition.
2106 * ldmain.c (main): Initialize.
2107 * ld.texinfo: Document.
862517b6 2108
a59f3d35
AM
21092001-09-29 Alan Modra <amodra@bigpond.net.au>
2110
2111 * ldlang.c (section_already_linked): Remove assignment to kept_section.
2112
d5e0ebeb
AM
21132001-09-26 Alan Modra <amodra@bigpond.net.au>
2114
2115 * ldmisc.c (USE_STDARG): Remove.
2116 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2117 (einfo): Likewise.
2118 (minfo): Likewise.
2119 (lfinfo): Likewise.
2120
2121 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
2122 declarations. Update copyright.
2123
2f8d8971
NC
21242001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
2125
85c77458
NC
2126 * pe-dll.c: Remove obsoleted declaration of
2127 pe_get_data_import_dll_name.
2128 (pe_create_import_fixup): Fix thinko.
2129
2f8d8971
NC
2130 * ld.texinfo(enable-auto-import): Clarify the explanation.
2131
21322001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
2133
2134 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
2135 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
2136 DLL_SUPPORT controlled code.
2137
72358f65 21382001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 2139
72358f65
NC
2140 * emultempl/pe.em(pe_data_import_dll): Make static.
2141 (pe_get_data_import_dll_name): New accessor function.
146e7110 2142 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
2143 pe_get_data_import_dll_name() from pe.em, instead of
2144 directly accessing pe_data_import_dll variable from pe.em.
2145
3882b010
L
21462001-09-18 Bruno Haible <haible@clisp.cons.org>
2147
2148 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
2149 (def_file_add_directive): Use ISSPACE instead of isspace.
2150 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
2151 isdigit/isxdigit/isalpha/isalnum.
2152 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
2153 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
2154 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
2155 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
2156 isalnum.
2157 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
2158 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
2159 isupper/tolower.
2160 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
2161 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
2162 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
2163 (ctor_prio): Use ISDIGIT instead of isdigit.
2164 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
2165 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
2166 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
2167 isupper/tolower.
2168 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
2169 (stricpy): Use TOLOWER instead of isupper/tolower.
2170 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
2171 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
2172 (lex_warn_invalid): Use ISPRINT instead of isprint.
2173 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
2174 (main): For gettext, also set the LC_CTYPE locate facet.
2175 (add_keepsyms_file): Use ISSPACE instead of isspace.
2176 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
2177 (is_num, parse_args): Use ISDIGIT instead of isdigit.
2178 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
2179 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
2180 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
2181 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
2182 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
2183 (quoteput): Use ISSPACE instead of isspace.
2184 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
2185 instead of isalnum.
2186
db09f25b
AM
21872001-09-18 Alan Modra <amodra@bigpond.net.au>
2188
2189 * deffilep.y (def_stash_module): Constify "name" param.
2190
2191 * pe-dll.c: Replace CONST with const throughout.
2192 (quick_symbol): Constify "n1", "n2", "n3" params.
2193 (make_singleton_name_thunk): Constify "import" param. Make
2194 "buffer_len" a size_t.
2195 (make_import_fixup_entry): Constify "name", "fixup_name",
2196 "dll_symname" params.
2197 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
2198 (pe_get32): Likewise.
2199 (pe_implied_import_dll): Likewise.
2200
2201 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
2202 (sort_by_section_name): Likewise.
2203
2204 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
2205 (make_import_fixup): Cast printf arg, rel->address to long rather
2206 than int.
2207 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2208
74699268
AM
22092001-09-15 Alan Modra <amodra@bigpond.net.au>
2210
2211 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
2212 defines BufferSize. Increase buffer size by one.
2213
775cabad
NC
22142001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
2215
2216 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
2217
056a1d49
NC
22182001-09-14 Kevin Lo <kevlo@openbsd.org>
2219
2220 * configure.tgt: Add arm-openbsd target.
2221
a7d792bb
L
22222001-09-12 H.J. Lu <hjl@gnu.org>
2223
2224 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
2225 eelf64lppc.o to ...
2226 (ALL_64_EMULATIONS): Here.
2227 * Makefile.in: Regenerated.
2228
0d888aac
CW
22292001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2230
2231 * emultempl/pe.em(make_import_fixup): change signature to
2232 take asection as well as arelec; we need this for proper
146e7110 2233 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
2234 there is no attempt to add a constant addend to the reloc;
2235 otherwise, report error condition.
2236 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
2237 since final argument is a pointer to make_import_fixup().
2238 Change call to cb() to match make_import_fixup() signature.
2239 (make_import_fixup_mark): make buffer_len unsigned.
2240 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2241
22422001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
2243
2244 * ld.texinfo: add verbose documentation for auto-import
146e7110 2245 direct-addressing workaround, to compliment the terse
0d888aac
CW
2246 error message.
2247
cedacdc0
CM
22482001-09-12 Andrew MacLeod <amacleod@redhat.com>
2249
146e7110 2250 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 2251
3b16e843 22522001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
2253
2254 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
2255 * emulparams/h8300self.sh: Similarly.
2256
559e4713
NC
22572001-09-05 Danny Smith <dannysmith@users.souceforge.net>
2258
2259 * ld.texinfo (Options, --stack): Correct default value for stack
2260 reserve.
2261
1fdf0249
TR
22622001-09-05 Tom Rix <trix@redhat.com>
2263
2264 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 2265
9b5799b8
AJ
22662001-09-03 Andreas Jaeger <aj@suse.de>
2267
2268 * emultempl/beos.em: Declare prototypes for comparions functions,
2269 adjust definitions.
2270
48f6162b
AJ
22712001-09-02 Andreas Jaeger <aj@suse.de>
2272
2273 * emultempl/aix.em: Add missing prototype.
2274 * emultempl/lnk960.em: Likewise.
2275 * emultempl/vanilla.em: Likewise.
2276 * emultempl/armcoff.em: Likewise.
2277 * emultempl/armelf_oabi.em: Likewise.
2278 * emultempl/beos.em: Likewise.
2279 * emultempl/gld960c.em: Likewise.
2280 * emultempl/gld960.em: Likewise.
2281
2282 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
2283 for prototype declaration.
2284
39e5585e
EC
22852001-08-31 Eric Christopher <echristo@redhat.com>
2286 Jason Eckhardt <jle@redhat.com>
2287
2288 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2289
3fc90ddb
AJ
22902001-08-31 Andreas Jaeger <aj@suse.de>
2291
2292 * emultempl/pe.em: Add missing prototypes.
2293 (gld_${EMULATION_NAME}_after_open): Remove extra args to
2294 pe_find_data_imports.
2295 (pr_sym): Add unused attribute.
2296
d43ded80
PB
22972001-08-29 Joel Sherrill <joel@OARcorp.com>
2298
39e5585e 2299 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
2300 default from coff to elf.
2301
3946dd2f
JL
23022001-08-29 Jeff Law <law@redhat.com>
2303
2304 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
2305 ARCH specification.
2306 * emulparams/h8300self.sh: Similarly.
2307
3b16e843 23082001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
2309
2310 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
2311 eh8300self.o .
2312 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
2313 * configure.tgt (h8300-*-elf*): New case.
2314 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
2315 * emulparams/h8300self.sh: New file.
2316 * Makefile.in: Regenerated.
2317
70d0c6e9
NC
23182001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
2319
2320 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
2321 with macro name.
2322
5c67d4bb
AM
23232001-08-27 Linus Nordberg <linus@swox.com>
2324 Alan Modra <amodra@bigpond.net.au>
2325
2326 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
2327 (eelf64ppc.c, eelf64lppc.c): Add make targets.
2328 Run "make dep-am"
2329 * Makefile.in: Regenerate.
2330 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
2331 entries to correct alphabetical position.
2332 * emulparams/elf64ppc.sh: New.
2333 * emulparams/elf64lppc.sh: New.
2334
08131015
NC
23352001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
2336
2337 * ldmain.c (main): Declare BSIZE as static.
2338
db6751f2
JJ
23392001-08-23 Jakub Jelinek <jakub@redhat.com>
2340
2341 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
2342 into .rel.dyn resp. .rela.dyn if combreloc.
2343 (get_script): If .x linker script is equal to .xn, only put it
2344 once into the binary.
2345 Add .xc and .xsc scripts.
2346 (parse_args): Handle -z combreloc and -z nocombreloc.
2347 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
2348 For .xc and .xsc scripts put all .rel* or .rela* input sections
2349 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
2350 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
2351 is elf.
2352 Strip trailing whitespace from script.
2353 Generate .xc and .xsc scripts if requested.
2354 * ldmain.c (main): Initialize link_info.combreloc and
2355 link_info.spare_dynamic_tags.
2356 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
2357 (ld_options): Add --spare-dynamic-tags option.
2358 (parse_args): Likewise.
2359 * ld.texinfo: Document -z combreloc and -z nocombreloc.
2360 * ldint.texinfo: Document .xc and .xsc linker scripts.
2361 * NEWS: Add notes about -z combreloc and SHF_MERGE.
2362
63d069c0
L
23632001-08-22 H.J. Lu <hjl@gnu.org>
2364
2365 * emulparams/elf32fr30.sh: Add a newline.
2366
948f9114
AJ
23672001-08-21 Andreas Jaeger <aj@suse.de>
2368
2369 * deffilep.y: Add missing prototypes.
2370 * pe-dll.c: Likewise.
2371
ae7fb08f
AM
23722001-08-20 Alan Modra <amodra@bigpond.net.au>
2373
2af02257
AM
2374 * ldlang.c (insert_pad): Fix typos in last patch.
2375
2376 * ldlang.c: When traversing lang_statement_union_type lists,
2377 consistently use "header.next" rather than "next".
2378 * mpw-eppcmac.c: Likewise.
2379 * emultempl/beos.em: Likewise.
2380 * emultempl/hppaelf.em: Likewise.
2381 * emultempl/pe.em: Likewise.
2382 * ldlang.h (union lang_statement_union): Remove "next" field.
2383
c0c330a7
AM
2384 * ldlang.c (insert_pad): Use offsetof macro.
2385 (lang_size_sections): Always neuter padding statements.
2386 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
2387
ae7fb08f
AM
2388 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
2389 passed to lang_size_sections.
2390 (pe_exe_fill_sections): Likewise.
2391 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
2392 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
2393
fab80407
AM
23942001-08-18 Alan Modra <amodra@bigpond.net.au>
2395
2396 * emultempl/aix.em: Formatting fixes.
2397
b3327aad
AM
23982001-08-18 Alan Modra <amodra@bigpond.net.au>
2399
2400 * ldlang.c (insert_pad): Make use of an existing pad statement if
2401 available. Move code calculating alignment, adjusting section
2402 alignment power, and adjusting dot to ..
2403 (size_input_section): .. here. Remove unused relax param.
2404 (lang_size_sections): Change boolean `relax' param to boolean *.
2405 Adjust call to size_input_section. Make use of insert_pad to
2406 place pad after the assignment statement. If relaxing, zap
2407 padding statements.
2408 (reset_memory_regions): Reset output_bfd section sizes too.
2409 (relax_again): Move to..
2410 (lang_process): ..here. Adjust call to lang_size_sections, and
2411 remove duplicated code.
2412 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
2413
563e308f
AM
24142001-08-17 Alan Modra <amodra@bigpond.net.au>
2415
2416 * ld.texinfo: Document that fill values now use the four least
2417 significant bytes.
2418 * emulparams/elf32fr30.sh (NOP): Update.
2419 * emulparams/elf32mcore.sh: Likewise.
2420 * emulparams/elf64_s390.sh: Likewise.
2421 * emulparams/elf_i386.sh: Likewise.
2422 * emulparams/elf_i386_be.sh: Likewise.
2423 * emulparams/elf_i386_chaos.sh: Likewise.
2424 * emulparams/elf_i386_ldso.sh: Likewise.
2425 * emulparams/elf_s390.sh: Likewise.
2426 * emulparams/elf_x86_64.sh: Likewise.
2427 * emulparams/i386moss.sh: Likewise.
2428 * emulparams/i386nw.sh: Likewise.
2429 * emulparams/m68kelf.sh: Likewise.
2430 * scripttempl/elf.sc: Update NOP comment.
2431 * scripttempl/elfi370.sc: Likewise.
2432 * scripttempl/elfm68hc11.sc: Likewise.
2433 * scripttempl/elfm68hc12.sc: Likewise.
2434 * scripttempl/nw.sc: Likewise.
2435
b90e1c6f
TR
24362001-08-15 Tom Rix <trix@redhat.com>
2437
2438 * ldgram.y (saved_script_handle): Initialize to NULL.
2439 * ldmain.c (main): Change check on saved_script_handle.
948f9114 2440
39dcfe18
AM
24412001-08-14 Alan Modra <amodra@bigpond.net.au>
2442
cde43e70
AM
2443 * emultempl/elf32.em: Formatting fixes.
2444 (output_prev_sec_find): Test for bfd_ind_section too; do so by
2445 looking at sec->owner.
2446 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
2447 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
2448 unused code, and reorganize orphan section placement code.
2449
39dcfe18
AM
2450 * ldlang.c (wild_doit): Rename to lang_add_section.
2451 * ldlang.h: Here too.
2452 * mpw-elfmips.c: And here.
2453 * emultempl/beos.em: And here.
2454 * emultempl/elf32.em: And here.
2455 * emultempl/hppaelf.em: And here.
2456 * emultempl/pe.em: And here.
2457
908d20b3
RH
24582001-08-13 Richard Henderson <rth@redhat.com>
2459
2460 * emultempl/needrelax.em: New file.
2461 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
2462 * Makefile.am (eelf64_ia64.c): Depend on it.
2463 * Makefile.in: Rebuild.
2464
0f33d40b
AM
24652001-08-13 Alan Modra <amodra@bigpond.net.au>
2466
22af9fd3
AM
2467 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
2468 output_section is set non-NULL.
2469
0f33d40b
AM
2470 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
2471 `true' for SEC_EXCLUDE sections so that the generic code doesn't
2472 needlessly create an output_section_statement. Treat a correctly
2473 named output_section_statement with NULL bfd_section as compatible.
2474
55ab6103
HPN
24752001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
2476
2477 * emultempl/generic.em: Support EXTRA_EM_FILE.
2478 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
2479 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2480 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2481 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2482 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2483 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2484 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2485 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2486 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2487 LDEMUL_FIND_POTENTIAL_LIBRARIES.
2488
24098abb
RH
24892001-08-12 Richard Henderson <rth@redhat.com>
2490
2491 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
2492 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
2493 scripttempl/v850.sc: Keep .jcr data.
2494
b9a8de1e 24952001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
2496 Andrew Haley <aph@cambridge.redhat.com>
2497 Nick Clifton <nickc@redhat.com>
b9a8de1e 2498
146e7110 2499 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
2500 Change type to file handle.
2501 * ld.h (had_script): Rename and retype.
2502 * ldfile.c (ldfile_open_command_file): Save the file handle
2503 used in saved_script_handle.
2504 * lexsup.c (parse_args): Do not allow -c option to alter
2505 saved_script_handle.
2506 * ldmain.c (main): Print out the linker script used if
2507 --verbose is given. Check saved_script_handle to obtain the
2508 external linker script used, or if NULL, dump the builtin
2509 script.
2510 * ld.texinfo: Document that --verbose now dumps the linker
2511 script used, regardless of whether it was an internal or an
2512 external script.
2513
0218d1e4
AJ
25142001-08-10 Andreas Jaeger <aj@suse.de>
2515
2516 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2517 to build warnings.
2518 * configure: Regenerate.
2519
5253f23b
AM
25202001-08-09 Alan Modra <amodra@bigpond.net.au>
2521
73810896
AM
2522 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2523
5253f23b
AM
2524 * scripttempl/elf.sc: Move non-text .dynamic section before
2525 .plt/.got/.sdata* group.
2526 (OTHER_GOT_SECTIONS): Move to immediately after .got.
2527 (OTHER_SDATA_SECTIONS): Add.
2528 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
2529 OTHER_GOT_SECTIONS.
2530 * emulparams/crislinux.sh: Likewise.
2531 * emulparams/elf32b4300.sh: Likewise.
2532 * emulparams/elf32bmip.sh: Likewise.
2533 * emulparams/elf32bmipn32.sh: Likewise.
2534 * emulparams/elf32bsmip.sh: Likewise.
2535 * emulparams/elf32btsmip.sh: Likewise.
2536 * emulparams/elf32ebmip.sh: Likewise.
2537 * emulparams/elf32elmip.sh: Likewise.
2538 * emulparams/elf32l4300.sh: Likewise.
2539 * emulparams/elf32lmip.sh: Likewise.
2540 * emulparams/elf32lsmip.sh: Likewise.
2541 * emulparams/elf32ltsmip.sh: Likewise.
2542 * emulparams/elf64bmip.sh: Likewise.
2543 * emulparams/elf64btsmip.sh: Likewise.
2544 * emulparams/elf64ltsmip.sh: Likewise.
2545
179c732c
AM
25462001-08-08 Alan Modra <amodra@bigpond.net.au>
2547
2548 * genscripts.sh: Source the emulparams script before each output
2549 script is generated so that variables like `RELOCATING' may affect
2550 variables defined in the emulparams script.
2551
3fd36710
AM
25522001-08-04 Alan Modra <amodra@bigpond.net.au>
2553
20713691
AM
2554 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
2555 order.
2556
3fd36710
AM
2557 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2558 ie. iterate over wild_statement.section_list.
2559 (gld${EMULATION_NAME}_place_orphan): Likewise.
2560
de0b1853
SC
25612001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2562
2563 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2564 .fini[0-4] sections used by _exit
2565 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2566 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2567 * scripttempl/elfm68hc11.sc: Likewise.
2568
ff7e6f88
L
25692001-08-03 H.J. Lu <hjl@gnu.org>
2570
2571 * emultempl/beos.em (init): Add the missing initialization.
2572
b6bf44ba
AM
25732001-08-03 Alan Modra <amodra@bigpond.net.au>
2574
2575 * ld.texinfo (Input Section Basics): Clarify ordering of output
2576 sections.
2577 * ldlang.c (callback_t): Add wildcard_list param.
2578 (walk_wild_section): Remove "section" param. Rewrite for
2579 lang_wild_statement_type change. Remove unique_section_p test.
2580 (walk_wild_file): Remove "section" param.
2581 (walk_wild): Remove "section" and "file" params.
2582 (lang_gc_wild): Likewise.
2583 (wild): Likewise. Modify for lang_wild_statement_type change.
2584 (wild_sort): Likewise. Add "sec" param.
2585 (gc_section_callback): Likewise.
2586 (output_section_callback): Likewise. Do unique_section_p test.
2587 (map_input_to_output_sections): Modify call to wild.
2588 (lang_gc_sections_1): Likewise.
2589 (print_wild_statement): Modify for lang_wild_statement_type
2590 change.
2591 (lang_add_wild): Replace filename, filenames_sorted param with
2592 filespec. Replace section_name, sections_sorted,
2593 exclude_filename_list with section_list.
2594 * ldlang.h (lang_add_wild): Here too.
2595 (lang_wild_statement_type): Replace section_name, sections_sorted,
2596 and exclude_filename_list with section_list.
2597 * ldgram.y (current_file): Delete.
2598 (%union): Add wildcard_list.
2599 (file_NAME_list): Set type to wildcard_list. Build a linked list
2600 rather than calling lang_add_wild for each entry.
2601 (input_section_spec_no_keep): Call lang_add_wild here instead.
2602 * ld.h (struct wildcard_list): Declare.
2603 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2604
b044cda1
CW
26052001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2606
2607 * ldmain.c (main): initialize link_info.pei386_auto_import
2608 * pe-dll.c: new tables for auto-export filtering
2609 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2610 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2611 "by hand".
2612
26132001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2614
b6bf44ba
AM
2615 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2616 static variable current_sec (static struct sec *). Add
b044cda1 2617 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2618 (process_def_file): Don't export undefined symbols. Do not
2619 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2620 with new API.
2621 (pe_walk_relocs_of_symbol): New function.
2622 (generate_reloc): add optional extra debugging
b6bf44ba 2623 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2624 line in output
b6bf44ba 2625 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2626 (DATA auto-import support).
2627 (make_singleton_name_thunk): New function.
2628 (make_import_fixup_mark): New function.
2629 (make_import_fixup_entry): New function.
2630 (pe_create_import_fixup): New function.
b6bf44ba 2631 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2632 char *.
b6bf44ba
AM
2633 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2634 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2635 pe_create_import_fixup.
2636 * emultempl/pe.em: add new options --enable-auto-import,
2637 --disable-auto-import, and --enable-extra-pe-debug.
2638 (make_import_fixup): New function.
2639 (pe_find_data_imports): New function.
2640 (pr_sym): New function.
b6bf44ba 2641 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2642 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2643 CODE.
2644
26452001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2646
b044cda1
CW
2647 * ld.texinfo: add additional documentation for
2648 --export-all-symbols. Document --out-implib,
2649 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2650 --dll-search-prefix, --enable-auto-import, and
2651 --disable-auto-import.
b044cda1
CW
2652 * ldint.texinfo: Add detailed documentation on auto-import
2653 implementation.
2654
156e34dd
NC
26552001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2656
2657 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2658 example.
2659
d6231427
AM
26602001-07-24 Alan Modra <amodra@bigpond.net.au>
2661
2662 * Makefile.am: Update dependencies with "make dep-am".
2663 * Makefile.in: Regenerate
2664
e14ec88b
AM
26652001-07-23 Alan Modra <amodra@bigpond.net.au>
2666
2667 * ldcref.c (check_section_sym_xref): New function.
2668 (check_nocrossrefs): Call it.
2669 (check_nocrossref): Interate over h->refs here instead of..
2670 (check_refs): ..here. Pass in the symbol name, section, and bfd
2671 rather than hash_entry pointers.
2672 (struct check_refs_info): Keep symbol name rather than hash entry.
2673 Remove "same".
2674 (check_reloc_refs): Tweak for above changes in check_refs_info.
2675 Only report references to section syms when symname is NULL to
2676 prevent duplicate messages for the same reloc.
2677
1b577b00
NC
26782001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2679
c7d701b0
NC
2680 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2681 available. Do not print NULL trees.
2682 (exp_print_token): Print unknown tokens with values > 126 as
2683 decimal values not ASCII characters.
2684
1545243b
NC
2685 * ldlang.c (lang_leave_overlay): If a region is specified assign
2686 it to all sections inside the overlay unless they have been
2687 assigned to the own, non-default, memory region.
2688
1b577b00
NC
2689 * README: Add header for consistency with other README files.
2690
5030876b
L
26912001-07-14 H.J. Lu <hjl@gnu.org>
2692
2693 * emultempl/elf32.em (output_prev_sec_find): Never return
2694 bfd_abs_section_ptr, bfd_com_section_ptr nor
2695 bfd_und_section_ptr.
2696
18c7a9a5
NC
26972001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2698
22af9fd3 2699 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
2700 elf32.em.
2701 * Makefile.in: Regenerate.
2702
9ffecff1
MG
27032001-07-14 matthew green <mrg@eterna.com.au>
2704
2705 * configure.tgt (i386-*-netbsdelf*): New target.
2706 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2707
95500e1c
JJ
27082001-07-13 Jakub Jelinek <jakub@redhat.com>
2709
2710 * emultempl/elf32.em (output_prev_sec_find): New.
2711 (place_orphan): Use it.
2712
e97cb84f
L
27132001-07-11 H.J. Lu <hjl@gnu.org>
2714
2715 * ldmain.c (main): Fix typos in the last change.
2716
7333607e
JJ
27172001-07-11 Jakub Jelinek <jakub@redhat.com>
2718
2719 * ldmain.c (main): Disallow -F and -f without -shared.
2720
d29d80f2
NC
27212001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2722
2723 * emultempl/pe.em (after_open): Check for the output_bfd not
2724 having any coff_data structure allocated to it.
2725
c2a1a436
DB
27262001-07-09 David O'Brien <obrien@FreeBSD.org>
2727
2728 * emultempl/elf32.em: Do not assuming that contents of the buffer
2729 returned from basename function will remain unchanged accross other
2730 function calls.
2731
63653551
L
27322001-07-03 H.J. Lu <hjl@gnu.org>
2733
2734 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2735 2001-07-03. It creates dynamic entries even for static binaries.
2736
d303a449
L
27372001-07-03 Jakub Jelinek <jakub@redhat.com>
2738
2739 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2740 (DYNAMIC): Use it to reserve few dynamic entries for
2741 post-linking tools.
2742
9f22353f
AM
27432001-06-27 Alan Modra <amodra@bigpond.net.au>
2744
2745 * emulparams/hppa64linux.sh: New file.
2746 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2747 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2748 (ehppa64linux.c): Add rule to make it.
2749 Run "make dep-am".
2750 * Makefile.in: Regenerate.
2751
62bf86b4
HPN
27522001-06-21 Hans-Peter Nilsson <hp@axis.com>
2753
2754 * ld.texinfo (Options, -r): Mention restrictions when using
2755 different object formats.
2756
429d935d
HPN
27572001-06-19 Hans-Peter Nilsson <hp@axis.com>
2758
2759 * ldlang.c (lang_check): Emit fatal error if relocatable link
2760 between different object flavours with relocations in input.
2761
cb840a31
L
27622001-06-19 H.J. Lu <hjl@gnu.org>
2763
2764 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2765 (--version-script): Mention the language support.
2766
9bf03acc
L
27672001-06-19 H.J. Lu <hjl@gnu.org>
2768
2769 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2770
c45021f2
NC
27712001-06-18 H.J. Lu <hjl@gnu.org>
2772
b6bf44ba
AM
2773 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2774 (diststuff): Add $(MANS).
2775 * Makefile.in: Regenerated.
c45021f2 2776
b6bf44ba 2777 * ld.1: Removed.
c45021f2 2778
6caa99ab
HPN
27792001-06-18 Hans-Peter Nilsson <hp@axis.com>
2780
605d9b3a
HPN
2781 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2782 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2783 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2784 * ld.h (args_type): Remove member export_dynamic. All users
2785 changed to use struct bfd_link_info member.
2786
6caa99ab
HPN
2787 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2788 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2789 * Makefile.in: Regenerate.
2790
6f9efd97
L
27912001-06-18 H.J. Lu <hjl@gnu.org>
2792
2793 * ldlang.c (init_os): Add the newline to the einfo call.
2794 (lang_check): Likewise.
2795 (lang_do_version_exports_section): Likewise.
2796
5af9fd8b
L
27972001-06-15 H.J. Lu <hjl@gnu.org>
2798
2799 * lexsup.c (parse_args); Save optind to report unrecognized
2800 option.
2801
2a096f04
HPN
28022001-06-15 Hans-Peter Nilsson <hp@axis.com>
2803
7e66c3f5
HPN
2804 * ldlang.c (lang_check): Emit fatal error if relocatable link
2805 between different object flavours.
2806
2a096f04
HPN
2807 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2808 Set new link_info member export_dynamic.
2809 * ldmain.c (main): Initialize new link_info member export_dynamic.
2810
6770ec8c
NC
28112001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2812
2813 * ldlang.c (walk_wild): Only call walk_wild_file if
2814 lookup_name returns something.
b6bf44ba 2815 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 2816 (load_symbols): Change to a boolean function.
b6bf44ba 2817 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
2818 executable.
2819
8529105a
AM
28202001-06-08 Alan Modra <amodra@bigpond.net.au>
2821
2822 * ldlang.c (record_bfd_errors): Remove.
2823
2824 * emultempl/aix.em: Fix copyright dates.
2825
8f3aa7a0
AJ
28262001-06-07 Andreas Jaeger <aj@suse.de>
2827
2828 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2829 (TEXT_START_ADDR): Likewise.
2830
3277f888
AM
28312001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2832
2833 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2834
3763134d
DD
28352001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2836
2837 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2838
5929ebc0
L
28392001-05-31 H.J. Lu <hjl@gnu.org>
2840
2841 * ldlang.c (open_input_bfds): Don't change the bfd error
2842 handler whilst loading symbols.
2843
c04a062d
NC
28442001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2845
2846 * configure.tgt: Remove i370-mvs architecture, it is not currently
2847 supported.
2848
96fcab3e
L
28492001-05-25 H.J. Lu <hjl@gnu.org>
2850
2851 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2852 like emulparams/aixppc.sh.
2853
db8d4f23
L
28542001-05-25 H.J. Lu <hjl@gnu.org>
2855
2856 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2857 setting of output_filename after bfd_scan_arch.
2858 * emultempl/pe.em: Likewise.
2859
5f642101
L
28602001-05-25 H.J. Lu <hjl@gnu.org>
2861
2862 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2863 like emulparams/aixppc.sh.
2864
2865 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2866 instead of ${srcdir}/emultempl/stringify.sed.
2867
64e9ece0
TW
28682001-05-25 Timothy Wall <twall@oculustech.com>
2869
2870 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 2871 output.
64e9ece0 2872
c709b096
AM
28732001-05-25 Alan Modra <amodra@one.net.au>
2874
2875 * configure.host: Replace linuxoldld with linux*oldld.
2876 * configure.tgt: Likewise.
2877
6cbdcc6f
L
28782001-05-24 H.J. Lu <hjl@gnu.org>
2879
2880 * emultempl/stringify.sed: Removed again.
2881
86af25fe
L
28822001-05-24 H.J. Lu <hjl@gnu.org>
2883
2884 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2885 (gld${EMULATION_NAME}_before_parse): Initialize
2886 ldfile_output_architecture, ldfile_output_machine and
2887 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2888 * emultempl/beos.em: Likewise.
2889 * emultempl/elf32.em: Likewise.
2890 * emultempl/linux.em: Likewise.
2891 * emultempl/mipsecoff.em: Likewise.
2892 * emultempl/pe.em: Likewise.
2893 * emultempl/sunos.em: Likewise.
2894
3b1b01cf
TR
28952001-05-24 Tom Rix <trix@redhat.com>
2896
8f3aa7a0 2897 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
2898 udate import file format.
2899 (change_symbol_mode) New, same
2900 (is_syscall) New, same
2901 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2902 * emulparams/aixppc64.sh : same
2903 * emulparams/aixrs6.sh : same
2904 * emulparams/ppcmacos.sh : same
2905 * emultempl/aix.em : use strtoull to parse options
2906 * Makefile.am : add eaixppc64 emulation for xcoff64
2907 * Makefile.in : same
2908 * configure.tgt : same
2909
2910 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 2911 default data section offset to 0x20000000
3b1b01cf 2912 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 2913 loader and debug sections use the currect section offset.
3b1b01cf
TR
2914
2915 * emultempl/aix.em : Add xcoff64 support
2916 Add -binitfini support
8f3aa7a0 2917 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 2918 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 2919 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
2920 sections
2921
2922 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 2923
57e6abd2
AO
29242001-05-23 Alexandre Oliva <aoliva@redhat.com>
2925
2926 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2927 variable to avoid non-portable shell construct.
2928
d1cf510e
NC
29292001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2930
2931 * ldmain.c (get_emulation): Add -mips5 command line argument.
2932
506eee22
NC
29332001-05-22 Alexandre Oliva <aoliva@redhat.com>
2934
2935 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2936 (ELF_INTERPRETER_NAME): Define it.
2937 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2938 it.
2939 * configure.tgt (targ_emul, targ_extra_emuls)
2940 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2941 as primary, elf_i386 as extra.
2942 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2943 (eelf_i386_ldso.c): New rule.
2944 * Makefile.in: Rebuilt.
2945
29462001-05-22 Nick Clifton <nickc@redhat.com>
2947
2948 * lexsup.c (ld_options): Allow -I to be an alias for
2949 --dynamic-linker. This is for Solaris compatability.
2950 * ld.texinfo: Document that -I can be used.
2951 * ld.1: Regenerate.
2952
d1778b88
AM
29532001-05-16 Alan Modra <amodra@one.net.au>
2954
2955 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2956 whether an input section is the first one assigned to an output
2957 section.
2958 Assorted formatting fixes.
2959
02649152
DD
29602001-05-14 DJ Delorie <dj@delorie.com>
2961
2962 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2963 * Makefile.in: Ditto.
2964
579f31ac
JJ
29652001-05-11 Jakub Jelinek <jakub@redhat.com>
2966
2967 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2968 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2969 output sections.
2970 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2971
8550eb6e
JJ
29722001-05-11 Jakub Jelinek <jakub@redhat.com>
2973
2974 * ldlang.c (lang_process): Call bfd_merge_sections.
2975
8e5a525c
AM
29762001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2977
2978 * ldgram.y: Fix typo.
2979
1c9acd94
L
29802001-05-03 H.J. Lu <hjl@gnu.org>
2981
2982 * emultempl/elf32.em: Include "libiberty.h".
2983 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2984 basename of the bfd filename.
2985 (gld${EMULATION_NAME}_stat_needed): Likewise.
2986 (gld${EMULATION_NAME}_try_needed): Likewise.
2987 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2988
14fe918e
L
29892001-05-02 H.J. Lu <hjl@gnu.org>
2990
2991 * emultempl/pe.em: Include <ctype.h>.
2992
c7e40348
NC
29932001-05-02 Johan Rydberg <jrydberg@opencores.org>
2994
b6bf44ba 2995 * emulparams/elf32openrisc.sh: New file.
c7e40348 2996
b6bf44ba
AM
2997 * Makefile.am: Add OpenRISC target.
2998 * Makefile.in: Regenerated.
c7e40348 2999
b6bf44ba 3000 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
3001
30022001-05-02 Nick Clifton <nickc@redhat.com>
3003
3004 * emultempl/aix.em: Replace buystring with xstrdup.
3005 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 3006
d1b2b2dc
L
30072001-05-02 H.J. Lu <hjl@gnu.org>
3008
3009 * ldfile.c: Include "libiberty.h".
3010 * ldlex.l: Likewise.
3011
3012 * ldmisc.c (buystring): Removed.
3013 * ldmisc.h: Likewise.
3014
3015 * ldfile.c: Replace buystring with xstrdup.
3016 * ldlang.c: Likewise.
3017 * ldlex.l: Likewise.
3018 * ldmain.c: Likewise.
3019 * ldmisc.c: Likewise.
3020 * lexsup.c: Likewise.
3021 * mpw-eppcmac.c: Likewise.
3022
35714f2a
AJ
30232001-04-30 Andreas Jaeger <aj@suse.de>
3024
3025 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
3026
884fb58e
NC
30272001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3028
b6bf44ba
AM
3029 * ldlang.c (load_symbols): Give emulation a chance
3030 to process unrecognized file before fatal error is
3031 reported, not after.
884fb58e 3032
87748b32
NC
30332001-04-27 Sean McNeil <sean@mcneil.com>
3034
3035 * configure.tgt: Add arm-vxworks target.
3036 * scripttempl/armcoff.sc: Support .text or .data as a section name
3037 prefix.
3038 Define _etext.
35714f2a 3039
7ce691ae
C
30402001-04-13 J.T. Conklin <jtc@redback.com>
3041
3042 * ld.texinfo: Document --fatal-warnings.
3043 * ld.1: Regenerate.
3044
3045 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 3046 warnings have been turned into errors.
7ce691ae
C
3047 * lexsup.c (OPTION_WARN_FATAL): Define.
3048 (ld_options): Entry for --fatal-warnings.
3049 (parse_args): Handle OPTION_WARN_FATAL.
3050 * ld.h (ld_config_type): Add fatal_warnings field.
3051
f5fa8ca2
JJ
30522001-04-13 Jakub Jelinek <jakub@redhat.com>
3053
3054 * ldmain.c (main): Default to discard_sec_merge.
3055 * lexsup.c (OPTION_DISCARD_NONE): Define.
3056 (ld_options): Add --discard-none.
3057 (parse_args): Handle OPTION_DISCARD_NONE.
3058 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
3059 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
3060 all its input sections match.
3061
fdec3cfc
L
30622001-04-05 Steven J. Hill <sjhill@cotw.com>
3063
3064 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
3065 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
3066 (eelf32ltsmip.c): New target.
3067 (eelf64btsmip.c): Likewise.
3068 (eelf64ltsmip.c): Likewise.
3069 * Makefile.in: Regenerated.
3070
3071 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
3072 target.
3073 (mips*-*-linux-gnu*): Likewise.
3074
3075 * emulparams/elf32ltsmip.sh: New. Traditional little endian
3076 MIPS taget.
35714f2a 3077 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
3078 target.
3079 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
3080 endian target.
3081
589bad82
HPN
30822001-04-05 Hans-Peter Nilsson <hp@axis.com>
3083
3084 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
3085 correct value of __Stext here.
3086 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
3087 .startup section.
3088
3089 * emulparams/crislinux.sh: Remove FIXME.
3090
94202e16
AM
30912001-04-02 Alan Modra <alan@linuxcare.com.au>
3092
3093 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
3094 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
3095
1268a053
HPN
30962001-03-27 Hans-Peter Nilsson <hp@axis.com>
3097
3098 * configure.tgt (cris-*-*): Change default emulation to criself.
3099 (cris-*-*aout*): New rule.
3100
d85e9ff7
AM
31012001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
3102
3103 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
3104 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
3105
0879a67a
AJ
31062001-03-26 Andreas Jaeger <aj@suse.de>
3107
3108 * ld.texinfo (Overview): Fix syntax in texi code.
3109
0285c67d
NC
31102001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3111
3112 * ld.texinfo: Put @c man indications to generate the ld man page.
3113 When generating man, define all the variables. Define SEEALSO
3114 and SYNOPSIS. Re-organize some lines to avoid the cross references.
3115 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
3116 (ld.1): Generate from ld.texinfo.
3117 * Makefile.in: Regenerate.
3118
c20ec07b
NC
31192001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
3120
3121 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 3122 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 3123
cc5ce052
UD
31242001-03-17 Ulrich Drepper <drepper@redhat.com>
3125
3126 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
3127 is an absolute path look only for this file and not along the path.
3128
a1ab1d2a
UD
31292001-03-17 Ulrich Drepper <drepper@redhat.com>
3130
3131 * emultempl/elf32.em (OPTION_GROUP): New macro.
3132 Add new option Bgroup to longopts.
3133 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
3134 (gld*_list_options): Add -Bgroup and -z defs.
3135 * ld.1: Document -Bgroup and -z defs.
3136 * ld.texinfo: Likewise.
3137
788fca5a
MM
31382001-03-07 Michael Meissner <meissner@redhat.com>
3139
3140 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
3141 with sections created by -fdata-sections.
3142 (.dynbss,.bss): Ditto.
3143
1c7566d1
AM
31442001-03-05 Alan Modra <alan@linuxcare.com.au>
3145
3146 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
3147 after_allocation_default, not gld..._before_allocation.
3148
27b7e12d
AM
31492001-02-27 Alan Modra <alan@linuxcare.com.au>
3150
3151 * configure.in (BFD_VERSION): New.
3152 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3153 * configure: Regenerate.
3154 * Makefile.am: Run "make dep-am"
3155 * Makefile.in: Regenerate.
3156
2bc551c7
TW
31572001-02-26 Timothy Wall <twall@cygnus.com>
3158
3159 * emulparams/elf64_aix.sh: Add additional read-only sections;
3160 uncomment lines which are now required.
3161
1276aefa
NC
31622001-02-26 H.J. Lu <hjl@gnu.org>
3163
3164 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
3165 that problems can be caught whilst loading symbols.
3166 (record_bfd_errors): New function: Report BFD errors and mark
3167 the executable output as being invalid.
1276aefa 3168
41c49998
TW
31692001-02-22 Timothy Wall <twall@cygnus.com>
3170
3171 * configure.host: Add configuration for ia64-*-aix*.
3172 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
3173 Add dependencies for eelf64_aix.c.
3174 * Makefile.in: Regenerate.
3175 * configure.tgt: Add ia64-*-aix* mapping.
3176 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 3177 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
3178 AIX-specific test.
3179
78f85fd7
L
31802001-02-20 H.J. Lu <hjl@gnu.org>
3181
3182 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
3183 false if we found the file.
3184
1ac7e077 31852001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
3186
3187 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
3188 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
3189
e135f41b
NC
31902001-02-18 lars brinkhoff <lars@nocrew.org>
3191
3192 * Makefile.am: Add PDP-11 target.
3193 * configure.tgt: Likewise.
3194 * emulparams/pdp11.sh: New file.
3195
a842aceb
DB
31962001-02-17 David O'Brien <obrien@FreeBSD.org>
3197
3198 * configure.host: Add a generic FreeBSD configuration entry such that
3199 all [modern] FreeBSD systems on all platforms will look the same.
3200
24174db0
L
32012001-02-14 H.J. Lu <hjl@gnu.org>
3202
3203 * configure.tgt: Remove mention of earmelf_linux26.
3204
30c3c13a
RH
32052001-02-13 Richard Henderson <rth@redhat.com>
3206
3207 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
3208
b46a87b1
L
32092001-02-13 H.J. Lu <hjl@gnu.org>
3210
3211 * ldexp.h (node_type): Add etree_provided.
3212 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
3213 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 3214 for etree_provided.
b46a87b1
L
3215 (exp_print_tree): Handle etree_provided.
3216 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
3217 etree_provided.
3218
f3988fd9
RH
32192001-02-09 David Mosberger <davidm@hpl.hp.com>
3220
3221 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
3222 .IA_64.unwind.* pattern to unwind table section and
3223 .IA_64.unwind_info* pattern to unwind info section.
3224
a85d7ed0
NC
32252001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3226
3227 * Makefile.am: Add linux target for S/390.
3228 * Makefile.in: Likewise.
3229 * configure.host: Likewise.
3230 * configure.tgt: Likewise.
3231 * emulparams/elf64_s390.sh: New file.
3232 * emulparams/elf_s390.sh: New file.
3233
780248c4
JJ
32342001-02-09 Jakub Jelinek <jakub@redhat.com>
3235
3236 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
3237 targ_extra_libpath.
3238 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
3239
0e2534bd
PB
32402001-02-06 Philip Blundell <philb@gnu.org>
3241
3242 * Makefile.am: Remove mention of earmelf_linux26.
3243 * Makefile.in: Regenerate.
3244
46c1ea57
PB
32452001-02-04 Philip Blundell <philb@gnu.org>
3246
3247 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
3248 * emulparams/armelf_linux26.sh: Delete.
3249 * configure.tgt: Remove mention of armelf_linux26 emulation.
3250
0088edd2
NC
32512001-02-01 Nick Clifton <nickc@redhat.com>
3252
3253 * ld.1: Replace occurances of -oformat with --oformat.
3254
02aa14fb
AM
32552001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
3256
3257 * ldlang.c (lang_leave_overlay): Don't set lma_region when
3258 load_base is specified.
3259
f813923c
HPN
32602001-01-24 Hans-Peter Nilsson <hp@axis.com>
3261
3262 * emultempl/elf32.em: Correct spelling in comments and listed
3263 options.
3264
c1eb1488
AM
32652001-01-23 Alan Modra <alan@linuxcare.com.au>
3266
3267 * ldlang.c (lang_leave_overlay): Only set lma_region from the
3268 default for the first section of a group of overlay sections.
3269
d9fc3714
AM
32702001-01-22 Alan Modra <alan@linuxcare.com.au>
3271
3272 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
3273 * Makefile.in: Regenerate.
3274 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
3275 Check for null tool_dir.
3276
6be0ca94
JW
32772001-01-16 Jim Wilson <wilson@redhat.com>
3278
3279 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
3280 and IA_64.unwind.info.
3281
b9247304
L
32822001-01-16 H.J. Lu <hjl@gnu.org>
3283
3284 * ldlang.c (lang_check): Merge the private data only if the
3285 input file has contents.
3286
577a0623
AM
32872001-01-14 Alan Modra <alan@linuxcare.com.au>
3288
d952f17a
AM
3289 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
3290
ffd6e9de
AM
3291 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
3292 enabling search for libmilli. On a relocatable link, make .text
3293 sections unique.
3294 (LDEMUL_AFTER_PARSE): Define.
3295 (hppaelf_finish): Correct spelling of relocatable in comments.
3296
577a0623
AM
3297 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3298 rummage through the script for sections on the unique list.
3299 Correct length of strncmp for ".note".
3300 (gld${EMULATION_NAME}_check_needed): Rearrange function.
3301
3302 * ldlang.c (unique_section_list): New var.
3303 (unique_section_p): New function.
3304 (walk_wild_section): Don't match sections on unique_section_list.
3305 (lang_add_unique): New function.
ffd6e9de 3306 Correct spelling of relocatable in comments.
577a0623
AM
3307
3308 * ldlang.h (struct unique_sections): Declare.
3309 (unique_section_list): Declare.
3310 (unique_section_p): Declare.
3311 (lang_add_unique): Declare.
3312
3313 * lexsup.c (ld_options): Allow --unique to take an optional arg.
3314 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
3315
3316 * ld.texinfo (--unique): Update.
3317
b7ed8fad
NC
33182001-01-13 Nick Clifton <nickc@redhat.com>
3319
3320 * lexsup.c (parse_args): Remove spurious white space.
3321
d0398d6a
NC
33222001-01-12 Nick Clifton <nickc@redhat.com>
3323
3324 * lexsup.c (parse_args): Update copyright date.
3325
350fdb00
PB
33262001-01-12 Philip Blundell <pb@futuretv.com>
3327
3328 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
3329
60c6797e
KH
33302001-01-10 Kazu Hirata <kazu@hxi.com>
3331
3332 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
3333 * scripttempl/h8300h.sc: Fix formatting.
3334 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
3335 * scripttempl/h8500.sc: Likewise.
3336 * scripttempl/h8500b.sc: Likewise.
3337 * scripttempl/h8500c.sc: Likewise.
3338 * scripttempl/h8500m.sc: Likewise.
3339 * scripttempl/h8500s.sc: Likewise.
60c6797e 3340
482e8b32
DB
33412000-01-07 David O'Brien <obrien@BSDi.com>
3342
3343 * emultempl/elf32.em: Only perform Linux ld hints processing when
3344 targeting Linux.
3345
d7ed7ca6
PB
33462001-01-07 Philip Blundell <philb@gnu.org>
3347
3348 * ld.texinfo (Bug Reporting): Update email address for reports.
3349
0fc3347a
NC
33502000-12-31 Nick Clifton <nickc@redhat.com>
3351
3352 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
3353 options by checking for a return value of '?' not -1.
3354
e4897a32
NC
33552000-12-28 Nick Clifton <nickc@redhat.com>
3356
3357 * lexsup.c (struct ld_option): Add new enum value:
3358 EXACTLY_TWO_DASHES.
3359 (ld_options[]): Change -omagic, -output and -oformat options
3360 to be EXACTLY_TWO_DASHES.
3361 (OUTPUT_COUNT): Use ARRAY_SIZE.
3362 (parse_args): Change parameter 'argc' to unsigned.
3363 Place EXACTLY_TWO_DASHES options into new really_longopts
3364 array.
3365 If getopt_long_only fails, try calling getopt_long using the
3366 really_longopts array.
3367 (help): Print a double dash for both EXACTLY_TWO_DASHES and
3368 TWO_DASHES options.
3369
3370 * ldlex.h: Fix prototype of parse_args.
3371
3372 * ld.texinfo: Document that long options starting with 'o'
3373 must be preceeded by two dashes. Change example of a single
3374 dashed long option from -oformat to -trace-symbol.
3375
1122a5fc
NC
33762000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3377
3378 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
3379 (longopts[]): New --no-default-excludes option.
3380 (gld_${EMULATION_NAME}_list_options): Document.
3381 (gld_${EMULATION_NAME}_parse_args): Handle.
3382
037849a9
NC
33832000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3384
3385 * ldlang.c (new_stat): Revert the last beautification with "innocent"
3386 whitespace, it breaks the K&R C preprocessor.
3387
7ec229ce
DD
33882000-12-11 DJ Delorie <dj@redhat.com>
3389
3390 * ld.texinfo: Add notes about --whole-archive and gcc.
3391
b79e8c78
NC
33922000-11-18 Fred Fish <fnf@be.com>
3393
3394 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
3395 (ld_options): Entry for --allow-shlib-undefined.
3396 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
3397 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
3398 to false.
3399 * ld.texinfo: Document new command line switch.
d952f17a 3400
9a8e2505
GK
34012000-12-12 Geoffrey Keating <geoffk@redhat.com>
3402
3403 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
3404 .fixup is actually read/write.
3405 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3406 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3407 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3408
3b16e843 34092000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3410
3411 * NEWS: Add note about x86_64 architecture.
3412
93b63cd3
DD
34132000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3414
3415 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
3416 Set DWARF2 sections to a VMA of zero.
3417
68b2fc7a 34182000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 3419
d952f17a 3420 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
3421 New targets.
3422 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3423 (sparc*-*-rtems*): Switched from a.out to ELF.
3424
2be3aa03
NC
34252000-11-30 Jan Hubicka <jh@suse.cz>
3426
3427 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
3428 (eelf_x86_64.c): New.
3429 * Makefile.in: Regenerate.
3430 * configure.tgt: Add support for x86_64-*-linux-gnu*.
3431 * emulparams/elf_x86_64.sh: New.
3432
8c899858
HPN
34332000-11-30 Hans-Peter Nilsson <hp@axis.com>
3434
3435 * emulparams/crislinux.sh (ENTRY): Change back to _start.
3436 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
3437
3438 * scripttempl/crisaout.sc: Change all RELOCATING not related to
3439 merging non-a.out sections into CONSTRUCTING.
3440
e47b9e39
NC
34412000-11-28 Nick Clifton <nickc@redhat.com>
3442
3443 * ld.1 (COPYING): Mention that the GNU Free Documentation
3444 License is present in the sources, but not the output, and
3445 also available from the GNU website.
3446 (GNU Free Documentation License): Comment out this section.
3447
ad95f82a
DB
34482000-11-28 David O'Brien <obrien@dragon.nuxi.com>
3449
3450 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
3451 does not use them.
3452
fd89e65f
DB
34532000-11-25 David O'Brien <obrien@FreeBSD.org>
3454
3455 * ld.1: Remove old date so it does not give the impression the manpage
3456 is way out of date.
3457
077b8428
NC
34582000-11-24 Nick Clifton <nickc@redhat.com>
3459
3460 * configure.tgt (xscale-coff): Add target.
3461 (xscale-elf): Add target.
3462
49425d28
NC
34632000-11-24 Fred Fish <fnf@be.com>
3464
d952f17a
AM
3465 * ldmain.c (main): Remove redundant init of config.make_executable
3466 to true.
49425d28 3467
d3480244
RH
34682000-11-15 Richard Henderson <rth@redhat.com>
3469
3470 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
3471
1ce7de8b
KH
34722000-11-14 Kazu Hirata <kazu@hxi.com>
3473
3474 * scripttempl/h8300.sc: Fix formatting.
3475 * scripttempl/h8300h.sc: Likewise.
3476 * scripttempl/h8300s.sc: Likewise.
3477
3b16e843 34782000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
3479
3480 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
3481
2e418547
PB
34822000-11-09 Philip Blundell <pb@futuretv.com>
3483
3484 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
3485 around orphan sections whose names can be represented in C.
3486
c940e6fc
JW
34872000-11-07 Jim Wilson <wilson@redhat.com>
3488
3489 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
3490 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
3491
704c465c
NC
34922000-11-06 Nick Clifton <nickc@redhat.com>
3493
3494 * ld.texinfo: Add GNU Free Documentation License.
3495 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 3496 * ld.1: Add GNU Free Documentation License.
704c465c 3497
dca7760f
AM
34982000-11-05 Alan Modra <alan@linuxcare.com.au>
3499
3500 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
3501 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
3502
3503 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
3504 Move 2000-11-02 Makefile.in changes to this file.
3505 * Makefile.in: Regenerate.
3506
40a633d5
NC
35072000-11-03 Nick Clifton <nickc@redhat.com>
3508
3509 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
3510 constructors and destructors.
3511 * scripttempl/h8300h.sc: Ditto.
3512 * scripttempl/h8300s.sc: Ditto.
3513 * scripttempl/h8500.sc: Ditto.
3514 * scripttempl/h8500b.sc: Ditto.
3515 * scripttempl/h8500c.sc: Ditto.
3516 * scripttempl/h8500m.sc: Ditto.
3517 * scripttempl/h8500s.sc: Ditto.
3518 * scripttempl/v850.sc: Ditto.
3519 * scripttempl/w65.sc: Ditto.
3520 * scripttempl/z8000.sc: Ditto.
3521
59ff2774
NC
35222000-11-02 Per Lundberg <plundis@chaosdev.org>
3523
3524 * Makefile.in (e_i386_chaos.c): New rule.
3525 (ALL_EMULATIONS): Added e_i386_chaos.o.
3526 * emulparams/elf_i386_chaos.sh: New file.
3527 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
3528
645571e1
JJ
35292000-10-20 Jakub Jelinek <jakub@redhat.com>
3530
3531 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
3532 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
3533 Fix sed invocation, so that it coped with '/' in Solaris 64bit
3534 library path suffix.
3535 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
3536
c5975a45
HPN
35372000-10-18 Hans-Peter Nilsson <hp@axis.com>
3538
3539 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
3540 for consecutive sections.
3541
ea20a7da
CC
35422000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3543
d952f17a
AM
3544 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
3545 options.
3546 * ld.texinfo: Added notes about this new option.
ea20a7da 3547
6e45556a
NC
35482000-10-16 Nick Clifton <nickc@redhat.com>
3549
3550 * emultempl/pe.em (_after_open): Add tests of return values from
3551 bfd functions. Emit appropriate error messages if necessary.
3552
b9a69188
NC
35532000-10-13 Nick Clifton <nickc@redhat.com>
3554
3555 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
3556 local variables - they are not used, but leave in the call to
3557 bfd_canonicalize_symtab.
b9a69188
NC
3558 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3559 pe_dll_search_prefix.
3560
627427de 35612000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 3562
627427de
DD
3563 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3564 (longopts): New --dll-search-prefix option.
3565 (gld_${EMULATION_NAME}_list_options): Document.
3566 (gld_${EMULATION_NAME}_parse_args): Handle.
3567 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3568 dynamically, search for a dll named '<prefix><basename>.dll'
3569 in preference to 'lib<basename>.dll' if --dll-search-prefix
3570 is specified.
3571
24376d1b
AM
35722000-10-12 Alan Modra <alan@linuxcare.com.au>
3573
3574 * ldlang.c (section_already_linked): Set kept_section instead of
3575 sec->comdat->sec.
3576
e47d05ad
KH
35772000-10-10 Kazu Hirata <kazu@hxi.com>
3578
3579 * deffile.h: Fix formatting.
3580 * lexsup.c: Likewise.
3581 * mri.c: Likewise.
3582
23a87948
DD
35832000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3584
3585 * pe-dll.c (make_one): Do not generate code thunk for DATA
3586 exports.
3587 (process_def_file): deduce DATA flag for auto-export sumbols.
3588
86b1cc60
KH
35892000-10-09 Kazu Hirata <kazu@hxi.com>
3590
89cdebba
KH
3591 * ld.h: Fix formatting.
3592 * ldcref.c: Likewise.
3593 * ldctor.h: Likewise.
3594 * ldemul.c: Likewise.
3595 * ldemul.h: Likewise.
3596 * ldexp.c: Likewise.
3597 * ldexp.h: Likewise.
3598 * ldfile.c: Likewise.
3599 * ldfile.h: Likewise.
3600 * ldlang.c: Likewise.
3601 * ldlang.h: Likewise.
3602 * ldmain.c: Likewise.
7bfd51a3
KH
3603 * pe-dll.c: Likewise.
3604
3605 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3606
d643799d
KH
36072000-10-08 Kazu Hirata <kazu@hxi.com>
3608
3609 * pe-dll.c: Fix formatting.
3610
08da4cac
KH
36112000-10-05 Kazu Hirata <kazu@hxi.com>
3612
3613 * ldlang.c: Fix formatting.
3614
c2a94a7a
DD
36152000-10-03 DJ Delorie <dj@redhat.com>
3616
3617 * pe-dll.c (fill_edata): initialize entire block
3618 (make_one): fill in correct section.
3619
8c95a62e
KH
36202000-10-03 Kazu Hirata <kazu@hxi.com>
3621
3622 * ldexp.c: Fix formatting.
3623
486e80e2
DD
36242000-10-02 DJ Delorie <dj@redhat.com>
3625
3626 * emultempl/pe.em (gld_*_after_open): detect case where there two
3627 import libraries for same dll; rename one to ensure proper link
3628 order.
3629
3630 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3631 typo
3632 (generate_edata): fix typo
3633
24dd9f75
HPN
36342000-09-29 Hans-Peter Nilsson <hp@axis.com>
3635
3636 * scripttempl/crisaout.sc (ENTRY): Now __start.
3637 (.text): Add default setting for __start.
3638 Remove CONSTRUCTORS handling.
3639 (/DISCARD/): Add .gnu.warning.*.
3640 * emulparams/crislinux.sh (ENTRY): Now __start.
3641 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3642 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3643 (ENTRY): Now __start.
3644 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3645 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3646
4de2d33d
KH
36472000-09-29 Kazu Hirata <kazu@hxi.com>
3648
5cc18311
KH
3649 * deffile.h: Fix formatting.
3650 * ld.h: Likewise.
3651 * ldcref.c: Likewise.
4de2d33d 3652 * ldctor.c: Likewise.
5cc18311 3653 * ldctor.h: Likewise.
4de2d33d 3654 * ldemul.c: Likewise.
5cc18311 3655 * ldemul.h: Likewise.
4de2d33d 3656 * ldexp.c: Likewise.
5cc18311 3657 * ldexp.h: Likewise.
4de2d33d 3658 * ldfile.c: Likewise.
5cc18311 3659 * ldfile.h: Likewise.
4de2d33d 3660 * ldlang.c: Likewise.
5cc18311
KH
3661 * ldlang.h: Likewise.
3662 * lexsup.c: Likewise.
3663 * mri.c: Likewise.
3664 * pe-dll.c: Likewise.
4de2d33d 3665
45b1f63c
DD
36662000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3667
3668 * pe-dll.c (process_def_file): Uninitialized data wasn't
3669 exported with --export-all-symbols switch.
d952f17a 3670
45b1f63c
DD
36712000-09-28 DJ Delorie <dj@redhat.com>
3672
3673 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3674 noname work properly.
3675
47d89dba
AM
36762000-09-28 Alan Modra <alan@linuxcare.com.au>
3677
3678 * ld.texinfo (HPPA ELF32): New section.
3679
3680 * emultempl/hppaelf.em (group_size): New.
3681 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3682 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3683 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3684 options to prevent abbreviations matching.
3685 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3686 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3687
36bdbeec
NC
36882000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3689
3690 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3691 on the m68*-*-elf target. Make it support COFF input objects.
3692
6d5e62f8
KH
36932000-09-21 Kazu Hirata <kazu@hxi.com>
3694
3695 * ldmain.c: Fix formatting.
3696 * ldmisc.c: Likewise.
3697 * ldver.c: Likewise.
3698 * ldwrite.c: Likewise.
3699
e2eb67d9
AM
37002000-09-21 Alan Modra <alan@linuxcare.com.au>
3701
3702 * ldwrite.c (clone_section): Silence gcc warnings.
3703
b3ea3584
AM
37042000-09-20 Alan Modra <alan@linuxcare.com.au>
3705
3706 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3707 out of memory failure.
3708
3709 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3710 (clone_section): Handle out of memory failures. Rename var to
3711 avoid c++ reserved word.
3712
25f72752
AM
37132000-09-18 Alan Modra <alan@linuxcare.com.au>
3714
3715 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3716 stub_name param to stub_sec_name.
3717 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3718
0752970e
NC
37192000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3720
3721 * emultempl/m68kelf.em: New file.
3722 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3723 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3724 * Makefile.in: Regenerate.
3725
92b7e9d8
AM
37262000-09-15 Alan Modra <alan@linuxcare.com.au>
3727
3728 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3729 only as needed.
3730
9b14b192
NC
37312000-09-13 Nick Clifton <nickc@redhat.com>
3732
3733 * ldmain.c (multiple_definition): Disable relaxation if
3734 multiple symbol definitions are encountered - otherwise the
3735 linker could abort with an assertion failure.
3736
891fa266
NC
37372000-09-10 Nick Clifton <nickc@redhat.com>
3738
3739 * mri.c: Fix formatting.
3740
5d64ca4e
L
37412000-09-07 H.J. Lu <hjl@gnu.org>
3742
3743 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3744 * configure: Rebuild.
3745
dd94604f
L
37462000-09-07 H.J. Lu <hjl@gnu.org>
3747
3748 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3749 * Makefile.in: Rebuild.
3750
71bfc0ae
AM
37512000-09-07 Alan Modra <alan@linuxcare.com.au>
3752
3753 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3754 broken list handling. Create __start_SECNAME and __stop_SECNAME
3755 when no place-holder. Add some comments. Test both SEC_CODE and
3756 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 3757 Handle case where no output section statement created.
71bfc0ae 3758
4a428502
AO
37592000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3760
3761 * configure.tgt (sh-*-linux*): Added.
3762 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3763 * Makefile.in: Rebuilt.
3764 * emulparams/shelf_linux.sh: New file.
3765 * emulparams/shlelf_linux.sh: New file.
3766
f9989030
AM
37672000-09-06 Alan Modra <alan@linuxcare.com.au>
3768
3769 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3770 try shuffling sections when the orphan happens to be the place
3771 holder. Keep count of unique section names generated so we speed
3772 the search for a new name.
3773
58cccadb
AO
37742000-09-06 Alexandre Oliva <aoliva@redhat.com>
3775
3776 * configure: Rebuilt with new libtool.m4.
3777
5b343f5a
NC
37782000-09-05 Nick Clifton <nickc@redhat.com>
3779
3780 * Makefile.in: Regenerate.
3781 * aclocal.m4: Regenerate.
3782 * configure: Regenerate.
3783 * config.in: Regenerate.
3784 * po/ld.pot: Regenerate.
3785
3786 * ldint.texinfo: Remove CVS revision marker - it foils local
3787 comparisons.
3788
3789 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 3790
a854a4a7
AM
37912000-09-05 Alan Modra <alan@linuxcare.com.au>
3792
3231d22e
AM
3793 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3794 to stub section flags.
3795 (hppa_for_each_input_file_wrapper): New.
3796 (hppa_lang_for_each_input_file): New.
3797 (lang_for_each_input_file): Define to call above.
3798 (multi_subspace): New.
3799 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3800 (PARSE_AND_LIST_PROLOGUE): Define.
3801 (PARSE_AND_LIST_LONGOPTS): Define.
3802 (PARSE_AND_LIST_OPTIONS): Define.
3803 (PARSE_AND_LIST_ARGS_CASES): Define.
3804 (hppaelf_finish): Call elf32_hppa_set_gp.
3805 (hppaelf_set_output_arch): Remove.
3806 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3807
3808 * emulparams/hppalinux.sh (ELFSIZE): Define.
3809 (MACHINE): Define.
3810 (OTHER_READONLY_SECTIONS): Define.
3811 (DATA_PLT): Define.
3812 (GENERATE_SHLIB_SCRIPT): Define.
3813
5f992e62
AM
3814 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3815 to const throughout. Change `void *' to `PTR' throughout.
3816 (lang_memory_default): Function is local to file, add `static'.
3817
3818 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3819 (ehppalinux.c): Likewise.
3820 (earmelf.c): Likewise.
3821 (earmelf_linux.c): Likewise.
3822 (earmelf_linux26.c): Likewise.
3823 * Makefile.in: Regenerate.
3824
a854a4a7
AM
3825 * ld.h (ld_config_type): Add unique_orphan_sections.
3826 * lexsup.c (OPTION_UNIQUE): Define.
3827 (ld_options): Add "--unique".
3828 (parse_args): Handle it.
3829 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3830 search for an existing output section if unique_orphan_sections is
3831 set. Make use of bfd_get_unique_section_name rather than
3832 duplicating code here.
3833 * ld.texinfo: Describe --unique.
3834
3835 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3836 optional arg to split-by-file.
3837 (parse_args): Handle them.
3838 * ld.texinfo: Update description of these options.
3839 * ldwrite.c (clone_section): Pass in the section name. Replace
3840 local code with bfd_get_unique_section_name.
3841 (split_sections): Tidy code and comments. Use a list traversal
3842 more appropriate to the list construction. Handle cooked section
3843 sizes. Split when split_by_reloc reached rather than exceeded.
3844 Track section size and split when split_by_file reached. Fix
3845 link_order_tail (even though it's not used).
3846 (ldwrite): Modify condition for calling split_sections to suit
3847 changed split_by_reloc and split_by_file.
3848 * ldmain.c (main): Init config.split_by_reloc and
3849 config.split_by_file to -1.
3850 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3851 Change split_by_file to bfd_size_type.
3852
18e03609
NC
38532000-09-02 Nick Clifton <nickc@redhat.com>
3854
3855 * configure.in: Increase version number to 2.10.91.
3856 * NEWS: Mention new ability to support removal of duplicate DWARF2
3857 debug information.
3858 * configure: Regenerate.
3859 * aclocal.m4: Regenerate.
3860 * config.in: Regenerate.
3861
3a9d486c
NC
38622000-09-02 Daniel Berlin <dberlin@redhat.com>
3863
3864 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3865 sections.
a2b64bed 3866 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
3867 * scripttempl/elfd10v.sc: Ditto.
3868 * scripttempl/elfd30v.sc: Ditto.
3869 * scripttempl/elfi370.sc: Ditto.
3870 * scripttempl/elfm68hc11.sc: Ditto.
3871 * scripttempl/elfm68hc12.sc: Ditto.
3872 * scripttempl/elfi386beos.sc: Ditto.
3873 * scripttempl/v850.sc: Ditto.
50bbae35 3874
ac48eca1
AO
38752000-08-31 Alexandre Oliva <aoliva@redhat.com>
3876
3877 * acinclude.m4: Include libtool and gettext macros from the
3878 top level.
3879 * aclocal.m4, configure: Rebuilt.
3880
c13b1b77
NC
38812000-08-25 Nick Clifton <nickc@redhat.com>
3882
3883 * ldlang.c (open_output): When choosing the target for a
3884 particular endianness, do nothing if the target is not
3885 supported.
3886
dcb0bd0e
L
38872000-08-25 H.J. Lu <hjl@gnu.org>
3888
3889 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3890 check -rpath nor LD_RUN_PATH for cross link.
3891 * ld.texinfo: Document the change.
3892
5bcac8a4
HPN
38932000-08-24 Hans-Peter Nilsson <hp@axis.com>
3894
3895 * NEWS: Mention support for CRIS.
3896
6dd8c765
L
38972000-08-23 H.J. Lu <hjl@gnu.org>
3898
3899 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3900 the current runpath list from bfd_elf_get_runpath_list ()
3901 before search.
3902
ec4eb78a
L
39032000-08-22 H.J. Lu <hjl@gnu.org>
3904
3905 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3906 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3907 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3908 trace_file_tries is non-zero.
3909 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3910 if trace_file_tries is non-zero.
3911
3912 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 3913 * NEWS: Mention it.
ec4eb78a 3914
22b36938
JE
39152000-08-14 Jason Eckhardt <jle@cygnus.com>
3916
3917 * NEWS: Mention i860 support.
3918
d73e9da0
AS
39192000-08-14 Andreas Schwab <schwab@suse.de>
3920
3921 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 3922 syntax.
d73e9da0 3923
9ac4db9c
GK
39242000-08-10 Geoff Keating <geoffk@cygnus.com>
3925
3926 * scripttempl/elf.sc: Add a comment giving the correspondence
3927 between sections, per-datum sections, and linkonce sections. Make
3928 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3929 .sbss2.
3930
165589e4
JE
39312000-08-10 Jason Eckhardt <jle@cygnus.com>
3932
3933 * emulparams/elf32_i860.sh: New file.
3934 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3935 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3936 (eelf32_i860.c): New rule.
3937 * Makefile.in: Regenerate.
3938
345a835d
NC
39392000-08-10 Nick Clifton <nickc@cygnus.com>
3940
3941 * emulparams/mipspe.sh (ENTRY): Add definition.
3942
e374f1d9
NC
39432000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3944
3945 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3946 in error message.
3947
236d5abf
NC
39482000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3949
3950 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3951 the final size of .bss section.
3952 * scripttempl/elfm68hc12.sc: Likewise.
3953
4b209b22
AM
39542000-08-04 Alan Modra <alan@linuxcare.com.au>
3955
3956 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3957 gld${EMULATION_NAME}_parse_args for consistency. Combine
3958 lastoptind and prevoptind vars, and keep track of last optind.
3959 (gld_${EMULATION_NAME}_list_options): Rename to
3960 gld${EMULATION_NAME}_list_options.
3961
28423a68
AM
39622000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3963
3964 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3965 (i586-sco-sysv5uw7.1.0).
3966
b2009ff7
L
39672000-07-27 H.J. Lu <hjl@gnu.org>
3968
3969 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3970 (PARSE_AND_LIST_PROLOGUE): New.
3971 (PARSE_AND_LIST_LONGOPTS): Likewise.
3972 (PARSE_AND_LIST_OPTIONS): Likewise.
3973 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3974 (PARSE_AND_LIST_EPILOGUE): Likewise.
3975
04925e1e
AM
39762000-07-28 Alan Modra <alan@linuxcare.com.au>
3977
41392f03
AM
3978 * emultempl/armelf.em: Elide functions common to elf32.em,
3979 ie. most of the file.
3980 (arm_elf_after_open): New. Do arm specific things then call
3981 gld${EMULATION_NAME}_after_open.
3982 (arm_elf_before_allocation): New. Call
3983 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3984 (PARSE_AND_LIST_PROLOGUE): Define.
3985 (PARSE_AND_LIST_SHORTOPTS): Define.
3986 (PARSE_AND_LIST_LONGOPTS): Define.
3987 (PARSE_AND_LIST_OPTIONS): Define.
3988 (PARSE_AND_LIST_ARGS_CASES): Define.
3989 (LDEMUL_AFTER_OPEN): Define.
3990 (LDEMUL_BEFORE_ALLOCATION): Define.
3991 (LDEMUL_BEFORE_PARSE): Define.
3992 (LDEMUL_FINISH): Define.
3993
3994 * emultempl/hppaelf.em: Similarly zap most of this file.
3995 (hppaelf_add_stub_section): Prototype.
3996 (hppaelf_layaout_sections_again): Prototype.
3997 (hook_in_stub): Prototype.
3998 (LDEMUL_SET_OUTPUT_ARCH): Define.
3999 (LDEMUL_FINISH): Define.
4000 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
4001
4002 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
4003 (EXTRA_EM_FILE): New.
4004 * emulparams/armelf_linux.sh: Likewise.
4005 * emulparams/armelf_linux26.sh: Likewise.
4006 * emulparams/hppalinux.sh: Likewise.
4007 * emulparams/hppaelf.sh: Likewise.
4008 (NOP): Define.
4009
4010 * emultempl/elf32.em: Fix formatting.
4011 (EXTRA_EM_FILE): Source it.
4012 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
4013 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
4014 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
4015 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
4016 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
4017 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
4018 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
4019 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
4020 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
4021 allow functions in this file to be overridden.
4022 (PARSE_AND_LIST_SHORTOPTS): Handle it.
4023
4024 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
4025
04925e1e
AM
4026 * emultempl/elf32.em: Reorganize file.
4027
88cdf297
NC
40282000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
4029
4030 * emulparams/elf64alpha.sh: Implement "-taso" emulation
4031 specific option to fit 64-bit executable in the lower
4032 31-bit address range. This is done by changing start
4033 address of .interp (the very first section of executable)
4034 and then setting EF_ALPHA_32BIT elf header flag.
4035
20bccb34
NC
40362000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4037
4038 * emultempl/m68kcoff.em: New file.
4039 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
4040 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
4041 generic.em.
4042 * Makefile.in: Regenerate.
4043
699845ef
L
40442000-07-20 H.J. Lu <hjl@gnu.org>
4045
4046 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
4047 and "disable-new-dtags" to stop getopt from treating -d/-e as
4048 abbreviations for these options.
4049
6c1439be
L
40502000-07-20 H.J. Lu <hjl@gnu.org>
4051
4052 * ld.texinfo: Add documentation for --disable-new-dtags and
4053 --enable-new-dtags.
4054
4055 * ldmain.c (main): Initialize link_info.new_dtags to false.
4056
4057 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
4058 --disable-new-dtags and --enable-new-dtags.
4059 (gld_${EMULATION_NAME}_list_options): Likewise.
4060
28c309a2
NC
40612000-07-05 Kenneth Block <krblock@computer.org>
4062
a2b64bed
NC
4063 * lexsup.c: Add optional style to demangle switch
4064 * ld.texinfo: Document optional style to demangle switch.
50bbae35 4065
9d06555c
HPN
40662000-07-20 Hans-Peter Nilsson <hp@axis.com>
4067
4068 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
4069 ecrislinux.o.
4070 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
4071 Regenerate dependencies.
4072 * Makefile.in: Rebuild.
4073 * configure.tgt (cris-*-*): New target.
4074 * emulparams/crisaout.sh, emulparams/criself.sh,
4075 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
4076 * po/POTFILES.in, po/ld.pot: Regenerate.
4077
19e3be22
L
40782000-07-20 H.J. Lu <hjl@gnu.org>
4079
4080 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
4081 Print out ignored -z options.
4082
e0ee487b
L
40832000-07-19 H.J. Lu <hjl@gnu.org>
4084
19e3be22
L
4085 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
4086 (PARSE_AND_LIST_PROLOGUE): New.
4087 (PARSE_AND_LIST_LONGOPTS): Likewise.
4088 (PARSE_AND_LIST_OPTIONS): Likewise.
4089 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4090
4091 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
4092
4093 * lexsup.c (ld_options): Comment out 'z'.
4094 (parse_args): Likewise.
4095
4096 * emultempl/elf32.em: Include "elf/common.h".
4097 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
4098 options.
4099 (gld_${EMULATION_NAME}_list_options): Likewise.
4100
4101 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 4102
49e56c49
L
41032000-07-19 H.J. Lu <hjl@gnu.org>
4104
4105 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
4106 bfd_elf_set_dt_needed_soname ().
4107
9d68bc82
DD
41082000-07-18 DJ Delorie <dj@cygnus.com>
4109
4110 * pe-dll.c (pe_dll_id_target): check object target name also
4111
53db15ed
HPN
41122000-07-18 Hans-Peter Nilsson <hp@axis.com>
4113
4114 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
4115 ${INIT_END} if relocating.
4116 (.fini): Likewise ${FINI_START} and ${FINI_END}.
4117
0ad8cf4c
DD
41182000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
4119
a2b64bed 4120 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
4121 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
4122 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
4123 errors introduced by the old dynamic lib search order.
4124
874c8c99
DD
41252000-07-17 DJ Delorie <dj@cygnus.com>
4126
4127 * pe-dll.c (process_def_file): auto-export data items also
4128 (pe_process_import_defs): also see if _imp_ form needed
4129
5b4cf3f4
DD
41302000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
4131
4132 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
4133 for dll import libraries
4134
062739d1
NC
41352000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
4136
4137 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 4138 gcc 2.95.2 and later.
062739d1 4139
1c64c4ed
NC
41402000-07-11 Kazu Hirata <kazu@hxi.com>
4141
50bbae35
AM
4142 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
4143 message.
1c64c4ed 4144
b71e2778
AM
41452000-07-10 Alan Modra <alan@linuxcare.com.au>
4146
4147 * ldemul.h (struct lang_input_statement_struct): Remove forward
4148 declaration.
4149 (struct search_dirs): Likewise.
4150 * ldfile.h (struct lang_input_statement_struct): Likewise.
4151 Protect file from multiple inclusion.
4152 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
4153 declaration from macro to file scope.
4154
4155 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
4156 * ldgram.y: Likewise here.
4157 * ldlang.c: And here.
4158 * ldmain.c: And here.
4159 * mpw-elfmips.c: And here.
4160 * mpw-eppcmac.c: And here.
4161 * emultempl/aix.em: And here.
4162 * emultempl/armcoff.em: And here.
4163 * emultempl/armelf.em: And here.
4164 * emultempl/armelf_oabi.em: And here.
4165 * emultempl/beos.em: And here.
4166 * emultempl/elf32.em: And here.
4167 * emultempl/hppaelf.em: And here.
4168 * emultempl/linux.em: And here.
4169 * emultempl/lnk960.em: And here.
4170 * emultempl/pe.em: And here.
4171 * emultempl/sunos.em: And here.
4172 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
4173 * mpw-idtmips.c: Ditto.
4174 * emultempl/generic.em: Ditto.
4175 * emultempl/gld960.em: Ditto.
4176 * emultempl/gld960c.em: Ditto.
4177 * emultempl/mipsecoff.em: Ditto.
4178 * emultempl/ticoff.em: Ditto.
4179 * emultempl/vanilla.em: Ditto.
4180
4181 * pe-dll.c: Include ldfile.h
4182 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
4183
4184 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
4185 arguments to bfd_elf32_size_dynamic_sections call.
4186 (gldelf32ebmip_place_orphan): Add missing arguments to
4187 lang_leave_output_section_statement call.
4188
2ef53d66
L
41892000-07-10 H.J. Lu <hjl@gnu.org>
4190
4191 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
4192 DLL_SUPPORT.
4193 (strhash): Likewise.
4194 (compute_dll_image_base): Likewise.
4195 (pe_undef_found_sym): Likewise.
4196 (pe_undef_cdecl_match): Likewise.
4197 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
4198 argument "arch" with ATTRIBUTE_UNUSED.
4199
9a8cbb09
AM
42002000-07-10 Alan Modra <alan@linuxcare.com.au>
4201
4202 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
4203
4204 From Ryan Bradetich <rbradetich@uswest.net>
4205 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 4206
4900fc06
AM
42072000-07-09 Alan Modra <alan@linuxcare.com.au>
4208
4209 Changes to create multiple linker stubs, positioned immediately
4210 before the section where they are required.
4211 * emultempl/hppaelf.em: Include elf32-hppa.h.
4212 (stub_sec, file_chain): Delete.
4213 (hppaelf_create_output_section_statements): Don't make a stub
4214 section here.
4215 (hook_stub_info): New struct.
4216 (hook_in_stub): New function.
4217 (hppaelf_add_stub_section): New function.
4218 (hppaelf_finish): Do nothing for relocateable links. Modify the
4219 call to elf32_hppa_size_stubs. Move code for updating section
4220 layout from here...
4221 (hppaelf_layaout_sections_again): ..to here, a new function.
4222
4223 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
4224 broken list handling. Pass in a pointer to the list.
4225 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
4226 for above changes.
4227 (hppaelf_before_parse): Prototype.
4228 (hppaelf_set_output_arch): Prototype.
4229 (hppaelf_create_output_section_statements): Prototype.
4230 (hppaelf_delete_padding_statements): Prototype.
4231 (hppaelf_finish): Prototype.
4232
4233 Merge from elf32.em
4234 * emultempl/hppaelf.em: Include ctype.h.
4235 (struct orphan_save): New.
4236 (gld${EMULATION_NAME}_place_orphan): New.
4237 (output_rel_find): New.
4238 (hppaelf_get_script): Update from elf32.em.
4239 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
4240 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 4241 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
4242
4243 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
4244 ehppalinux.o, sort it. Regenerate dependencies.
4245 (ehppalinux.c): Depend on hppaelf.em
4246 * Makefile.in: Regenerate.
4247
4248 * configure.tgt: targ_emul=hppalinux for hppa*linux
4249
4250 * emulparams/hppalinux.sh: New.
4251 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
4252
227aeb07
AM
42532000-07-08 Alan Modra <alan@linuxcare.com.au>
4254
4255 * lexsup.c (parse_args): Copy section name.
4256
28609fd4 42572000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 4258
2ef53d66 4259 * emultempl/pe.em: institute the following search order for
602e90d3
DD
4260 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
4261 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
4262 static lib (libfoo.a) if none of the above are found.
4263
5f577f7d
DD
42642000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
4265
50bbae35 4266 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 4267 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 4268 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
4269 (gld_${EMULATION_NAME}_parse): Handle.
4270 (strhash): New static function.
50bbae35 4271 (compute_dll_image_base): New static function.
5f577f7d
DD
4272 (gld_${EMULATION_NAME}_set_symbols): Use.
4273
9a8cbb09 42742000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
4275
4276 * MAINTAINERS: new
4277
3548145d 42782000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
4279
4280 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
4281 * emulparams/elf32btsmip.sh: New file.
4282 * Makefile.am: Add traditional mips target.
4283 * Makefile.in: Rebuild.
4284
67798033
L
42852000-07-01 H.J. Lu <hjl@gnu.org>
4286
4287 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
4288 automake to use YLWRAP.
4289 * Makefile.in: Rebuild.
4290
0bdaf48b
AM
42912000-07-01 Alan Modra <alan@linuxcare.com.au>
4292
4293 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
4294 (CLEANFILES): Add DEPA.
4295 * Makefile.in: Regenerate.
4296
c9e769c2
TW
42972000-06-30 Timothy Wall <twall@ppc>
4298
4299 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
4300 the page in the upper octet of the address.
4301
65aa24b6
NC
43022000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4303
4304 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
4305
4667035e
AM
43062000-06-24 Alan Modra <alan@linuxcare.com.au>
4307
4308 * NEWS: arm-elf does --gc-sections too.
4309
1581f8c9
AM
43102000-06-22 Alan Modra <alan@linuxcare.com.au>
4311
4312 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
4313 find one.
4314 * Makefile.in: Regenerate.
4315
01580992
L
43162000-06-21 H.J. Lu <hjl@gnu.org>
4317
4318 * Makefile.am: Rebuild dependency.
4319 * Makefile.in: Rebuild.
4320
bbeb2e03
L
43212000-06-20 H.J. Lu <hjl@gnu.org>
4322
4323 * Makefile.am: Rebuild dependency.
4324 * Makefile.in: Rebuild.
4325
74459f0e
TW
43262000-06-20 Timothy Wall <twall@cygnus.com>
4327
4328 * scripttempl/tic54xcoff.sc: New.
4329 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
4330 * gen-doc.texi: Add flag for TI COFF.
4331 * ld.texinfo: Add documentation for TI COFF handling switches.
4332 * emultempl/ticoff.em: New. TI COFF handling.
4333 * configure.tgt: Add tic54x target.
4334 * Makefile.am: Add tic54x target.
4335 * Makefile.in: Ditto.
4336
2ab47eed
AM
43372000-06-20 Alan Modra <alan@linuxcare.com.au>
4338
4339 * ldmain.c (set_scripts_dir): Correct pointer comparison when
4340 checking for backslashes.
4341
919e4093
AM
43422000-06-19 Alan Modra <alan@linuxcare.com.au>
4343
4344 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
4345
987fd5b4
AM
43462000-06-18 Alan Modra <alan@linuxcare.com.au>
4347
4348 * NEWS: Update list of targets supporting --gc-sections.
4349
4350 * scripttempl/elf.sc: KEEP .eh_frame contents.
4351 * scripttempl/elfd30v.sc: Same here.
4352
60bcf0fa
NC
43532000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4354
4355 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
4356 and m68hc11 (elf).
4357 * Makefile.in: Rebuild.
4358 * configure.tgt: Recognize m68hc12 and m68hc11.
4359 * scripttempl/elfm68hc12.sc: New file.
4360 * emulparams/m68hc12elfb: New emulation.
4361 * emulparams/m68hc12elf: New emulation.
4362 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
4363 (includes a memory.x script to define the ROM and RAM banks).
4364 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
4365 New configuration files for support of Motorola 68hc11
4366
c7c54483
AM
43672000-06-15 Alan Modra <alan@linuxcare.com.au>
4368
4369 * ldmain.c (main): Only change SEC_READONLY for final link.
4370
bcef29e6
L
43712000-06-13 H.J. Lu <hjl@gnu.org>
4372
4373 * configure: Regenerate.
4374
946efd95
DB
43752000-06-08 David O'Brien <obrien@FreeBSD.org>
4376
4377 * configure.in (VERSION): Update to show this is the CVS mainline.
4378
57a6fd07
DB
43792000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4380
4381 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
4382 input objects to be ECOFF.
4383 (check_sections): einfo takes %B, not %P, to print a BFD name.
4384
e06cae36
L
43852000-06-05 Michael Matz <matz@ifh.de>
4386
4387 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 4388 version scripts.
e06cae36 4389
d952f17a 4390 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 4391
2f0b56c0
DC
43922000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
4393
4394 * emulparams/avr1200.sh (STACK): Define as 0.
4395 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
4396 * emulparams/avr4433.sh (STACK): Likewise.
4397 * emulparams/avr44x4.sh (STACK): Likewise.
4398 * emulparams/avr85xx.sh (STACK): Likewise.
4399 * emulparams/avrmega103.sh (STACK): Likewise.
4400 * emulparams/avrmega161.sh (STACK): Likewise.
4401 * emulparams/avrmega603.sh (STACK): Likewise.
4402 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
4403 (__stack): Define from ${STACK} for main().
4404
2114f57b
AM
44052000-05-26 Alan Modra <alan@linuxcare.com.au>
4406
4407 * Makefile.am: Update dependencies with "make dep-am"
4408 * Makefile.in: Regenerate.
4409
5af11cab
AM
44102000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
4411
4412 * ldmain.c: Include filenames.h.
4413 (set_scripts_dir): Support backslashes in program name.
4414
1f0df59a
NC
44152000-05-22 Igor Shevlyakov <igor@windriver.com>
4416
4417 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
4418 read-only, don't forget to reset SEC_READONLY because it
4419 could be already set.
1f0df59a 4420
176355da
NC
44212000-05-22 Thomas de Lellis <tdel@windriver.com>
4422
50bbae35
AM
4423 * ld.1: Add documentation for new command line option:
4424 --section-start <sectionname>=<sectionorg>
4425 This is a generic version of -Ttext etc. which accepts
4426 any section name as a parameter instead of just text/data/
4427 bss.
4428 * ld.texinfo: More docs.
4429 * NEWS: More docs.
4430 * lexsup.c: (parse_args): Recognize new command line option.
176355da 4431 (ld_options): Add new option.
50bbae35 4432
8c5ff972
L
44332000-05-18 H.J. Lu <hjl@gnu.org>
4434
4435 * lexsup.c (parse_args): `i' == `r', not `q'.
4436
3b16e843 44372000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
4438
4439 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
4440
a712da20
NC
44412000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
4442 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 4443
a712da20
NC
4444 Add support for '-q' == '--emit-relocs' switch.
4445 * ldmain.c (main): Default to false.
4446 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
4447 * NEWS: Describe the emitrelocations switch.
4448 * ld.texinfo: Describe the emitrelocations switch.
4449
690a460e
NC
44502000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
4451
a2b64bed 4452 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
4453 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
4454 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
4455 link options.
50bbae35 4456
c2f1343c
AM
44572000-05-15 David O'Brien <obrien@FreeBSD.org>
4458
4459 * lexsup.c (parse_args): Update the year in the copyright notice.
4460
897083bd
AM
44612000-05-13 Alan Modra <alan@linuxcare.com.au>
4462
4463 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
4464 Replace defines with those from intl/libgettext.h to quieten gcc
4465 warnings.
4466
cd4c806a
L
44672000-05-10 H.J. Lu <hjl@gnu.org>
4468
4469 * ldlang.c (open_input_bfds): Don't load the same file within
4470 a group again if the whole archive has been loaded already.
4471
93697284
AM
44722000-05-03 Alan Modra <alan@linuxcare.com.au>
4473
4474 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
4475 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
4476 strtoul.
4477
3b16e843 44782000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 4479
99a4150f 4480 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 4481
ebd6fc29
JW
4482 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4483 host "ia64-*-linux-gnu*".
4484
a1934524
AM
44852000-04-29 Andreas Jaeger <aj@suse.de>
4486
4487 * ld.h: Correctly check GCC version.
4488
3b16e843 44892000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
4490
4491 * Makefile.am: Add PA64 support. Add missing dependencies for
4492 PA32 elf support.
4493 * Makefile.in: Rebuilt.
4494 * configure.tgt: Add PA64 support (currently disabled).
4495
aea4bd9d
AM
44962000-04-25 Alan Modra <alan@linuxcare.com.au>
4497
4498 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
4499 (output_rel_find): New function.
4500 (hold_section, hold_use): Delete.
4501 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4502 hold_interp): Make local to place_orphan.
4503 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
4504 rather than place_section to find possible previous use of orphan.
4505 Similarly find the place-holder output sections. Use returned
4506 value from lang_enter_output_section_statement rather than calling
4507 lang_output_section_statement_lookup.
4508 * emultempl/armelf.em: Same here.
4509 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
4510
4511 * ldlang.c (lang_enter_output_section_statement): Return output
4512 section statement.
4513 * ldlang.h (lang_enter_output_section_statement): Change
4514 declaration too.
4515
4516 * ldlang.h (lang_output_section_statement): Export it.
4517 * ldlang.c (lang_output_section_statement): Ditto.
4518
2b5fc1f5
NC
45192000-04-24 Nick Clifton <nickc@cygnus.com>
4520
4521 * ld.texinfo (Output Section Data): Add note that section data
4522 commands cannot appear outside of section directives.
4523
d8475ff6
JL
45242000-04-2 Matthew Green <mrg@cygnus.com>
4525
4526 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
4527
3b16e843
NC
45282000-04-21 Richard Henderson <rth@cygnus.com>
4529 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
4530
4531 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
4532 (eelf64_ia64.c): New rule.
4533 * Makefile.in: Rebuild.
4534 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
4535 * emulparams/elf64_ia64.sh: New file.
50bbae35 4536
c9637625
RH
45372000-04-21 Richard Henderson <rth@cygnus.com>
4538
4539 * scripttempl/elfd30v.sc: Place .gcc_except_table.
4540
28ea9521
AM
45412000-04-19 Alan Modra <alan@linuxcare.com.au>
4542
4543 * dep-in.sed: Match space at start of file name, not at end.
4544
20d04697
L
45452000-04-18 H.J. Lu <hjl@gnu.org>
4546
4547 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
4548 lang_leave_output_section_statement () after calling
4549 lang_enter_output_section_statement ().
4550 * emultempl/armelf.em: Likewise.
4551
5ba47421
AM
45522000-04-18 Alan Modra <alan@linuxcare.com.au>
4553
4554 * emultempl/elf32.em (struct orphan_save): Add section field.
4555 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
4556 better order, and place first orphan section as we did before the
4557 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4558 Don't call make_bfd_section here, let wild_doit do the job for us.
4559 Don't build a statement list when we'll only throw it away.
4560 * emultempl/armelf.em: Ditto.
4561 * emultempl/pe.em: Similarly.
4562
bdbe5705
GK
45632000-04-14 Geoff Keating <geoffk@cygnus.com>
4564
4565 * scripttempl/elfppc.sc: Remove.
4566 * emulparams/elf32ppc.sh: Use elf.sc.
4567 * emulparams/elf32lppc.sh: Use elf.sc.
4568 * emulparams/elf32ppclinux.sh: Use elf.sc.
4569 * emulparams/elf32ppcsim.sh: New file.
4570 * emulparams/elf32lppcsim.sh: New file.
4571 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4572 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4573 * Makefile.in: Regenerate.
4574 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4575
01cc8ff8
AM
45762000-04-14 Alan Modra <alan@linuxcare.com.au>
4577
5ba47421 4578 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 4579 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
4580 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4581 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
4582 Also set all relocateable section start addresses.
4583
6c86c541
GK
45842000-04-13 Geoff Keating <geoffk@cygnus.com>
4585
4586 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4587 Add new BSS_PLT variable for when .plt need not be contained in
4588 the file. Move _etext so that it is also after .fini, and provide
4589 both etext and _etext with a leading underscore. Mark the start
4590 and end of .sbss.
4591
6a345e87
AM
45922000-04-12 Alan Modra <alan@linuxcare.com.au>
4593
4594 * emultempl/elf32.em (struct orphan_save): New.
4595 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4596 hold_interp): Make them struct orphan_save.
4597 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4598 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4599 the end of the relevant section list. Also add associated section
4600 statements to the end of any previous orphan statements.
4601 * emultempl/armelf.em: Similarly.
4602 * emultempl/pe.em: Similarly.
4603
8be86746
AM
46042000-04-11 Alan Modra <alan@linuxcare.com.au>
4605
4606 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4607
3b16e843 46082000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4609
a2d91340 4610 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4611 --enable-build-warnings option.
a2d91340
AC
4612 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4613 * Makefile.in, configure: Re-generate.
4614
41b49281
AM
46152000-04-04 Alan Modra <alan@linuxcare.com.au>
4616
8ad3436c
AM
4617 * po/ld.pot: Regenerate.
4618
4619 * lexsup.c (help): Restore translated part of bug string.
4620
41b49281
AM
4621 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4622 (DEP): Quote when passing vars to sub-make. Add warning message
4623 to end.
4624 (DEP1): Rewrite for "gcc -MM".
4625 (CLEANFILES): Add DEP2.
4626 Update dependencies.
4627 * Makefile.in: Regenerate.
4628
c20f4f8c
AM
46292000-04-03 Alan Modra <alan@linuxcare.com.au>
4630
4631 * ld.h: #include "bin-bugs.h"
4632 * lexsup.c (help): Use REPORT_BUGS_TO.
4633
adde6300
AM
46342000-03-27 Denis Chertykov <denisc@overta.ru>
4635
4636 * configure.tgt (avr-*-*): New target support.
4637 * Makefile.am: Likewise.
4638 * scripttempl/elf32avr.sc: New script file.
4639 * emulparams/avr1200.sh: New file.
4640 * emulparams/avr23xx.sh: New file.
4641 * emulparams/avr4433.sh New file.
4642 * emulparams/avr44x4.sh New file.
4643 * emulparams/avr85xx.sh New file.
4644 * emulparams/avrmega103.sh New file.
4645 * emulparams/avrmega161.sh New file.
4646 * emulparams/avrmega603.sh New file.
4647 * Makefile.in: Regenerate.
4648
9282ff41
L
46492000-03-09 Andreas Jaeger <aj@suse.de>
4650
4651 * Makefile.am (check-DEJAGNU): Also unset LANG.
4652 * Makefile.in: Rebuild.
4653
a9998805
ILT
46542000-03-06 Ian Lance Taylor <ian@zembu.com>
4655
4656 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4657 archive.
4658
f9bc20e7
NC
46592000-03-02 H.J. Lu <hjl@gnu.org>
4660
4661 * emulparams/elf32mcore.sh: Include "getopt.h".
4662
4e277b38
ILT
46632000-03-01 Ian Lance Taylor <ian@zembu.com>
4664
4665 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4666
f0c87f88
NC
46672000-03-01 H.J. Lu <hjl@gnu.org>
4668
4669 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4670 * emulparams/shpe.sh: Likewise.
4671
46722000-03-01 Nick Clifton <nickc@cygnus.com>
4673
4674 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4675 to unused parameters.
4676
4677 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4678 functions only used by DLL code.
4679 (_place_orphan): Initialise 'dollar'.
4680
b6f29aaa
L
46812000-03-01 H.J. Lu <hjl@gnu.org>
4682
4683 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4684 indicate if the undefined symbol is a fatal error or not.
4685 Don't delete the output file if "fatal" is false.
4686
af28fce3
L
46872000-02-29 H.J. Lu <hjl@gnu.org>
4688
50bbae35 4689 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
4690 Set LC_COLLATE and LC_ALL to null and export them. It is for
4691 sort which expects the C locale.
4692 Add $(LIBS) to all $(HOSTING_LIBS).
4693 * Makefile.in: Rebuild.
4694
40d109bf
AM
46952000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4696
4697 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4698 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4699 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4700 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4701 find_potential_libraries.
4702
db5be682
JB
47032000-02-28 Jim Blandy <jimb@redhat.com>
4704
4705 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 4706 list entries; the lexer considers commas to be valid part of a
db5be682
JB
4707 filename, so in something like `foo, bar' the comma is considered
4708 part of the first filename, `foo,'.
4709 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4710
3558ff4c
ILT
47112000-02-27 Loren J. Rittle <ljrittle@acm.org>
4712
4713 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4714 host "i[3456]86-*-freebsdelf*".
4715
4eee2681
ILT
47162000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4717
4718 * scripttempl/i386go32.sc: Move misplaced semicolons.
4719
8d75d12d
ILT
47202000-02-25 Ian Lance Taylor <ian@zembu.com>
4721
4722 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4723 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4724 (eelf64hppa.c, ehppaelf.c): Remove targets.
4725 * Makefile.in: Rebuild.
4726
a1836d49
AO
47272000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4728
ad51fb57
AO
4729 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4730 GNU/Linux/sparc, but keep the default as 32.
4731
a1836d49
AO
4732 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4733 it default if sparcv9 or sparc64.
4734
344a211f
NC
47352000-02-24 Nick Clifton <nickc@cygnus.com>
4736
4737 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4738 * Makefile.in: Regenerate.
4739 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4740
4741 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4742 find_potential_libraries.
4743 * ldemul.c (ldemul_find_potential_libraries): New function.
4744
4745 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 4746 exported.
344a211f
NC
4747 (ldfile_open_file): Call ldemul_find_potential_libraries.
4748 * ldfile.h: Add prototype for ldfile_open_file_search.
4749
4750 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4751
4752 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4753 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4754
4755 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4756 (gld_X_find_potential_libraries): New function. Search for
4757 libraries called "*.lib".
4758
a2b64bed 4759 * scripttempl/pe.sc: Add .pdata section.
344a211f 4760
eaba1dd3
RH
47612000-02-23 Richard Henderson <rth@cygnus.com>
4762
4763 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4764 Add and use memory regions.
4765
5b93d8bb
AM
47662000-02-23 Linas Vepstas (linas@linas.org)
4767
4768 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4769
4770 * Makefile.am: Add support for Linux/IBM 370.
4771 * configure.tgt: Likewise.
4772
4773 * Makefile.in: Regenerate.
4774
f6af82bd
AM
47752000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4776
4777 * ldlang.c (print_input_section, print_data_statement,
4778 print_reloc_statement, print_padding_statement, insert_pad,
4779 size_input_section, lang_check_section_addresses,
4780 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 4781 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
4782 (lang_do_assignments): Also change `size' to unsigned.
4783
9e673ad1
RH
47842000-02-16 Richard Henderson <rth@cygnus.com>
4785
4786 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4787
562d3460
TW
47882000-02-16 Timothy Wall <twall@cygnus.com>
4789
4790 * mri.c (mri_draw_tree): Add default LMA region argument to call
4791 to lang_leave_output_section_statement.
4792 * ldlang.h: Update prototypes with LMA region arguments.
4793 * ldlang.c (lang_size_sections): Encapsulate region bounds
4794 checking in os_check_region call.
4795 (os_check_region): New function.
4796 (lang_output_section_statement_lookup): Initialize lma_region.
4797 (lang_leave_output_section_statement): Add LMA region argument.
4798 (lang_leave_overlay): Ditto.
4799 * ldgram.y: Handle LMA region syntax.
4800 * ld.texinfo (Output Section Description): Describe LMA region usage.
4801 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 4802 lma region in call to lang_leave_output_section_statement.
562d3460 4803 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 4804 lma region in call to lang_leave_output_section_statement.
562d3460 4805 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 4806 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
4807
4808
9e4ed18c
TW
48092000-02-04 Timothy Wall <twall@redhat.com>
4810
4811 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4812 octets when calculating section end addresses.
4813
32edc927
TW
48142000-02-04 Timothy Wall <twall@redhat.com>
4815
4816 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4817
4cbfc3ac
TW
48182000-02-03 Timothy Wall <twall@redhat.com>
4819
a2b64bed 4820 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 4821 octet count.
a2b64bed 4822 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
4823 print_reloc_statement, print_padding_statement): Print target
4824 address values and section sizes as bytes, not octets.
4825 (insert_pad) Calculate padding size in octets, and adjust "dot"
4826 by bytes.
4827 (size_input_section) Always adjust "dot" by bytes, not octets.
4828 (lang_check_section_addresses, lang_do_assignments) Adjust
4829 "dot" by bytes, not octets. Use the larger of the directive size
4830 or octets_per_byte for the number of octets actually allocated in
4831 the output section.
4832 (lang_set_startof) Make sure STARTOF returns a target address.
4833 (lang_one_common) Record size changes in octets.
4834 (lang_abs_symbol_at_end_of) Section end symbol's value is
4835 recorded in target bytes.
68b2fc7a 4836 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 4837 to be clear about behavior when an octet is smaller than one byte.
50bbae35 4838
305c7206
AM
48392000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4840
4841 * ldcref.c (output_cref): Don't pass message strings to printf
4842 as format arg.
4843 Update copyright.
4844
4845 * ldmisc.c (vfinfo): Same here.
4846 Update copyright.
4847
e1c47aa4
AM
48482000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4849
4850 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4851 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4852 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4853 Add missing NULL initialisers, and comments.
4854
4855 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4856
13392b77
NC
48572000-01-21 Nick Clifton <nickc@cygnus.com>
4858
4859 * ldlang.c (lang_size_sections): Fix typo in comment.
4860
cce4c4c5
NC
48612000-01-18 H.J. Lu <hjl@gnu.org>
4862
4863 * ldlang.c (lang_size_sections): Also update the current
4864 address of a region if the SEC_NEVER_LOAD bit is not set.
4865
0decc840
NC
48662000-01-10 Philip Blundell <pb@futuretv.com>
4867
4868 * configure.tgt (arm*-*-conix*): New target.
4869
4e53152f
NC
48702000-01-07 Nick Clifton <nickc@cygnus.com>
4871
4872 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
4873 line switches with -Wl, (or whatever is appropriate) if it is
4874 being invoked by a comnpiler driver program.
50bbae35 4875 Fix description of the behaviour of the -n command line switch.
4e53152f 4876
3b16e843 48772000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
4878
4879 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4880 (name_list): New.
4881 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4882 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4883 (exclude_name_list): New.
4884 ldlang.c (walk_wild_section): Support list of excluded files.
4885 (print_wild_statement): Likewise.
4886 (lang_add_wild): Likewise.
4887 * ldlang.h (lang_wild_statement_type): Likewise.
4888 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 4889
5aaace27
NC
48902000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4891
870df5dc
NC
4892 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4893 (process_def_file): Use.
4894 (pe_dll_compat_implib): New variable.
4895 (make_one): Use.
50bbae35 4896
870df5dc
NC
4897 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4898 pe_dll_compat_implib.
50bbae35
AM
4899
4900 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
4901 compat-implib options.
4902 (gld_${EMULATION_NAME}_list_options): List new options.
4903 (gld_${EMULATION_NAME}_parse_args): Handle.
4904
50bbae35 4905 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 4906 dll.
50bbae35
AM
4907
4908 * deffilep.y (opt_name): Allow "." in name.
5aaace27 4909
2f6d2f85 4910For older changes see ChangeLog-9899
252b5132
RH
4911\f
4912Local Variables:
4913mode: change-log
4914left-margin: 8
4915fill-column: 74
4916version-control: never
4917End:
This page took 0.407827 seconds and 4 git commands to generate.