Change bug reporting email address.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1b577b00
NC
12001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2
3 * README: Add header for consistency with other README files.
4
5030876b
L
52001-07-14 H.J. Lu <hjl@gnu.org>
6
7 * emultempl/elf32.em (output_prev_sec_find): Never return
8 bfd_abs_section_ptr, bfd_com_section_ptr nor
9 bfd_und_section_ptr.
10
18c7a9a5
NC
112001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
12
13 * Makefile.am (em32relf.c): Chnage dependencu from generic.em to
14 elf32.em.
15 * Makefile.in: Regenerate.
16
9ffecff1
MG
172001-07-14 matthew green <mrg@eterna.com.au>
18
19 * configure.tgt (i386-*-netbsdelf*): New target.
20 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
21
95500e1c
JJ
222001-07-13 Jakub Jelinek <jakub@redhat.com>
23
24 * emultempl/elf32.em (output_prev_sec_find): New.
25 (place_orphan): Use it.
26
e97cb84f
L
272001-07-11 H.J. Lu <hjl@gnu.org>
28
29 * ldmain.c (main): Fix typos in the last change.
30
7333607e
JJ
312001-07-11 Jakub Jelinek <jakub@redhat.com>
32
33 * ldmain.c (main): Disallow -F and -f without -shared.
34
d29d80f2
NC
352001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
36
37 * emultempl/pe.em (after_open): Check for the output_bfd not
38 having any coff_data structure allocated to it.
39
c2a1a436
DB
402001-07-09 David O'Brien <obrien@FreeBSD.org>
41
42 * emultempl/elf32.em: Do not assuming that contents of the buffer
43 returned from basename function will remain unchanged accross other
44 function calls.
45
63653551
L
462001-07-03 H.J. Lu <hjl@gnu.org>
47
48 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
49 2001-07-03. It creates dynamic entries even for static binaries.
50
d303a449
L
512001-07-03 Jakub Jelinek <jakub@redhat.com>
52
53 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
54 (DYNAMIC): Use it to reserve few dynamic entries for
55 post-linking tools.
56
9f22353f
AM
572001-06-27 Alan Modra <amodra@bigpond.net.au>
58
59 * emulparams/hppa64linux.sh: New file.
60 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
61 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
62 (ehppa64linux.c): Add rule to make it.
63 Run "make dep-am".
64 * Makefile.in: Regenerate.
65
62bf86b4
HPN
662001-06-21 Hans-Peter Nilsson <hp@axis.com>
67
68 * ld.texinfo (Options, -r): Mention restrictions when using
69 different object formats.
70
429d935d
HPN
712001-06-19 Hans-Peter Nilsson <hp@axis.com>
72
73 * ldlang.c (lang_check): Emit fatal error if relocatable link
74 between different object flavours with relocations in input.
75
cb840a31
L
762001-06-19 H.J. Lu <hjl@gnu.org>
77
78 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
79 (--version-script): Mention the language support.
80
9bf03acc
L
812001-06-19 H.J. Lu <hjl@gnu.org>
82
83 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
84
c45021f2
NC
852001-06-18 H.J. Lu <hjl@gnu.org>
86
87 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
88 (diststuff): Add $(MANS).
89 * Makefile.in: Regenerated.
90
91 * ld.1: Removed.
92
6caa99ab
HPN
932001-06-18 Hans-Peter Nilsson <hp@axis.com>
94
605d9b3a
HPN
95 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
96 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
97 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
98 * ld.h (args_type): Remove member export_dynamic. All users
99 changed to use struct bfd_link_info member.
100
6caa99ab
HPN
101 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
102 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
103 * Makefile.in: Regenerate.
104
6f9efd97
L
1052001-06-18 H.J. Lu <hjl@gnu.org>
106
107 * ldlang.c (init_os): Add the newline to the einfo call.
108 (lang_check): Likewise.
109 (lang_do_version_exports_section): Likewise.
110
5af9fd8b
L
1112001-06-15 H.J. Lu <hjl@gnu.org>
112
113 * lexsup.c (parse_args); Save optind to report unrecognized
114 option.
115
2a096f04
HPN
1162001-06-15 Hans-Peter Nilsson <hp@axis.com>
117
7e66c3f5
HPN
118 * ldlang.c (lang_check): Emit fatal error if relocatable link
119 between different object flavours.
120
2a096f04
HPN
121 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
122 Set new link_info member export_dynamic.
123 * ldmain.c (main): Initialize new link_info member export_dynamic.
124
6770ec8c
NC
1252001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
126
127 * ldlang.c (walk_wild): Only call walk_wild_file if
128 lookup_name returns something.
129 (lookup_name): If load_symbols fails, return NULL.
130 (load_symbols): Chnage to a boolean function.
131 (open_input_bfds): If load_symbols fails then do not make the
132 executable.
133
8529105a
AM
1342001-06-08 Alan Modra <amodra@bigpond.net.au>
135
136 * ldlang.c (record_bfd_errors): Remove.
137
138 * emultempl/aix.em: Fix copyright dates.
139
8f3aa7a0
AJ
1402001-06-07 Andreas Jaeger <aj@suse.de>
141
142 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
143 (TEXT_START_ADDR): Likewise.
144
3277f888
AM
1452001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
146
147 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
148
3763134d
DD
1492001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
150
151 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
152
5929ebc0
L
1532001-05-31 H.J. Lu <hjl@gnu.org>
154
155 * ldlang.c (open_input_bfds): Don't change the bfd error
156 handler whilst loading symbols.
157
c04a062d
NC
1582001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
159
160 * configure.tgt: Remove i370-mvs architecture, it is not currently
161 supported.
162
96fcab3e
L
1632001-05-25 H.J. Lu <hjl@gnu.org>
164
165 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
166 like emulparams/aixppc.sh.
167
db8d4f23
L
1682001-05-25 H.J. Lu <hjl@gnu.org>
169
170 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
171 setting of output_filename after bfd_scan_arch.
172 * emultempl/pe.em: Likewise.
173
5f642101
L
1742001-05-25 H.J. Lu <hjl@gnu.org>
175
176 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
177 like emulparams/aixppc.sh.
178
179 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
180 instead of ${srcdir}/emultempl/stringify.sed.
181
64e9ece0
TW
1822001-05-25 Timothy Wall <twall@oculustech.com>
183
184 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 185 output.
64e9ece0 186
c709b096
AM
1872001-05-25 Alan Modra <amodra@one.net.au>
188
189 * configure.host: Replace linuxoldld with linux*oldld.
190 * configure.tgt: Likewise.
191
6cbdcc6f
L
1922001-05-24 H.J. Lu <hjl@gnu.org>
193
194 * emultempl/stringify.sed: Removed again.
195
86af25fe
L
1962001-05-24 H.J. Lu <hjl@gnu.org>
197
198 * emultempl/aix.em (OUTPUT_ARCH): Defined.
199 (gld${EMULATION_NAME}_before_parse): Initialize
200 ldfile_output_architecture, ldfile_output_machine and
201 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
202 * emultempl/beos.em: Likewise.
203 * emultempl/elf32.em: Likewise.
204 * emultempl/linux.em: Likewise.
205 * emultempl/mipsecoff.em: Likewise.
206 * emultempl/pe.em: Likewise.
207 * emultempl/sunos.em: Likewise.
208
3b1b01cf
TR
2092001-05-24 Tom Rix <trix@redhat.com>
210
8f3aa7a0 211 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
212 udate import file format.
213 (change_symbol_mode) New, same
214 (is_syscall) New, same
215 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
216 * emulparams/aixppc64.sh : same
217 * emulparams/aixrs6.sh : same
218 * emulparams/ppcmacos.sh : same
219 * emultempl/aix.em : use strtoull to parse options
220 * Makefile.am : add eaixppc64 emulation for xcoff64
221 * Makefile.in : same
222 * configure.tgt : same
223
224 * scripttempl/aix.sc : default text section offset to 0x10000000
225 default data section offset to 0x20000000
226 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 227 loader and debug sections use the currect section offset.
3b1b01cf
TR
228
229 * emultempl/aix.em : Add xcoff64 support
230 Add -binitfini support
8f3aa7a0 231 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 232 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 233 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
234 sections
235
236 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 237
57e6abd2
AO
2382001-05-23 Alexandre Oliva <aoliva@redhat.com>
239
240 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
241 variable to avoid non-portable shell construct.
242
d1cf510e
NC
2432001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
244
245 * ldmain.c (get_emulation): Add -mips5 command line argument.
246
506eee22
NC
2472001-05-22 Alexandre Oliva <aoliva@redhat.com>
248
249 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
250 (ELF_INTERPRETER_NAME): Define it.
251 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
252 it.
253 * configure.tgt (targ_emul, targ_extra_emuls)
254 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
255 as primary, elf_i386 as extra.
256 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
257 (eelf_i386_ldso.c): New rule.
258 * Makefile.in: Rebuilt.
259
2602001-05-22 Nick Clifton <nickc@redhat.com>
261
262 * lexsup.c (ld_options): Allow -I to be an alias for
263 --dynamic-linker. This is for Solaris compatability.
264 * ld.texinfo: Document that -I can be used.
265 * ld.1: Regenerate.
266
d1778b88
AM
2672001-05-16 Alan Modra <amodra@one.net.au>
268
269 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
270 whether an input section is the first one assigned to an output
271 section.
272 Assorted formatting fixes.
273
02649152
DD
2742001-05-14 DJ Delorie <dj@delorie.com>
275
276 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
277 * Makefile.in: Ditto.
278
579f31ac
JJ
2792001-05-11 Jakub Jelinek <jakub@redhat.com>
280
281 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
282 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
283 output sections.
284 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
285
8550eb6e
JJ
2862001-05-11 Jakub Jelinek <jakub@redhat.com>
287
288 * ldlang.c (lang_process): Call bfd_merge_sections.
289
8e5a525c
AM
2902001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
291
292 * ldgram.y: Fix typo.
293
1c9acd94
L
2942001-05-03 H.J. Lu <hjl@gnu.org>
295
296 * emultempl/elf32.em: Include "libiberty.h".
297 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
298 basename of the bfd filename.
299 (gld${EMULATION_NAME}_stat_needed): Likewise.
300 (gld${EMULATION_NAME}_try_needed): Likewise.
301 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
302
14fe918e
L
3032001-05-02 H.J. Lu <hjl@gnu.org>
304
305 * emultempl/pe.em: Include <ctype.h>.
306
c7e40348
NC
3072001-05-02 Johan Rydberg <jrydberg@opencores.org>
308
309 * emulparams/elf32openrisc.sh: New file.
310
311 * Makefile.am: Add OpenRISC target.
312 * Makefile.in: Regenerated.
313
314 * configure.tgt: Add openrisc-*-* mapping.
315
3162001-05-02 Nick Clifton <nickc@redhat.com>
317
318 * emultempl/aix.em: Replace buystring with xstrdup.
319 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 320
d1b2b2dc
L
3212001-05-02 H.J. Lu <hjl@gnu.org>
322
323 * ldfile.c: Include "libiberty.h".
324 * ldlex.l: Likewise.
325
326 * ldmisc.c (buystring): Removed.
327 * ldmisc.h: Likewise.
328
329 * ldfile.c: Replace buystring with xstrdup.
330 * ldlang.c: Likewise.
331 * ldlex.l: Likewise.
332 * ldmain.c: Likewise.
333 * ldmisc.c: Likewise.
334 * lexsup.c: Likewise.
335 * mpw-eppcmac.c: Likewise.
336
35714f2a
AJ
3372001-04-30 Andreas Jaeger <aj@suse.de>
338
339 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
340
884fb58e
NC
3412001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
342
343 * ldlang.c (load_symbols): Give emulation a chance
344 to process unrecognized file before fatal error is
345 reported, not after.
346
87748b32
NC
3472001-04-27 Sean McNeil <sean@mcneil.com>
348
349 * configure.tgt: Add arm-vxworks target.
350 * scripttempl/armcoff.sc: Support .text or .data as a section name
351 prefix.
352 Define _etext.
35714f2a 353
7ce691ae
C
3542001-04-13 J.T. Conklin <jtc@redback.com>
355
356 * ld.texinfo: Document --fatal-warnings.
357 * ld.1: Regenerate.
358
359 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 360 warnings have been turned into errors.
7ce691ae
C
361 * lexsup.c (OPTION_WARN_FATAL): Define.
362 (ld_options): Entry for --fatal-warnings.
363 (parse_args): Handle OPTION_WARN_FATAL.
364 * ld.h (ld_config_type): Add fatal_warnings field.
365
f5fa8ca2
JJ
3662001-04-13 Jakub Jelinek <jakub@redhat.com>
367
368 * ldmain.c (main): Default to discard_sec_merge.
369 * lexsup.c (OPTION_DISCARD_NONE): Define.
370 (ld_options): Add --discard-none.
371 (parse_args): Handle OPTION_DISCARD_NONE.
372 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
373 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
374 all its input sections match.
375
fdec3cfc
L
3762001-04-05 Steven J. Hill <sjhill@cotw.com>
377
378 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
379 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
380 (eelf32ltsmip.c): New target.
381 (eelf64btsmip.c): Likewise.
382 (eelf64ltsmip.c): Likewise.
383 * Makefile.in: Regenerated.
384
385 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
386 target.
387 (mips*-*-linux-gnu*): Likewise.
388
389 * emulparams/elf32ltsmip.sh: New. Traditional little endian
390 MIPS taget.
35714f2a 391 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
392 target.
393 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
394 endian target.
395
589bad82
HPN
3962001-04-05 Hans-Peter Nilsson <hp@axis.com>
397
398 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
399 correct value of __Stext here.
400 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
401 .startup section.
402
403 * emulparams/crislinux.sh: Remove FIXME.
404
94202e16
AM
4052001-04-02 Alan Modra <alan@linuxcare.com.au>
406
407 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
408 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
409
1268a053
HPN
4102001-03-27 Hans-Peter Nilsson <hp@axis.com>
411
412 * configure.tgt (cris-*-*): Change default emulation to criself.
413 (cris-*-*aout*): New rule.
414
d85e9ff7
AM
4152001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
416
417 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
418 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
419
0879a67a
AJ
4202001-03-26 Andreas Jaeger <aj@suse.de>
421
422 * ld.texinfo (Overview): Fix syntax in texi code.
423
0285c67d
NC
4242001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
425
426 * ld.texinfo: Put @c man indications to generate the ld man page.
427 When generating man, define all the variables. Define SEEALSO
428 and SYNOPSIS. Re-organize some lines to avoid the cross references.
429 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
430 (ld.1): Generate from ld.texinfo.
431 * Makefile.in: Regenerate.
432
c20ec07b
NC
4332001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
434
435 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
436 and '-fdata-sections'. Set the VMA of STABS sections to zero.
437
cc5ce052
UD
4382001-03-17 Ulrich Drepper <drepper@redhat.com>
439
440 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
441 is an absolute path look only for this file and not along the path.
442
a1ab1d2a
UD
4432001-03-17 Ulrich Drepper <drepper@redhat.com>
444
445 * emultempl/elf32.em (OPTION_GROUP): New macro.
446 Add new option Bgroup to longopts.
447 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
448 (gld*_list_options): Add -Bgroup and -z defs.
449 * ld.1: Document -Bgroup and -z defs.
450 * ld.texinfo: Likewise.
451
788fca5a
MM
4522001-03-07 Michael Meissner <meissner@redhat.com>
453
454 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
455 with sections created by -fdata-sections.
456 (.dynbss,.bss): Ditto.
457
1c7566d1
AM
4582001-03-05 Alan Modra <alan@linuxcare.com.au>
459
460 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
461 after_allocation_default, not gld..._before_allocation.
462
27b7e12d
AM
4632001-02-27 Alan Modra <alan@linuxcare.com.au>
464
465 * configure.in (BFD_VERSION): New.
466 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
467 * configure: Regenerate.
468 * Makefile.am: Run "make dep-am"
469 * Makefile.in: Regenerate.
470
2bc551c7
TW
4712001-02-26 Timothy Wall <twall@cygnus.com>
472
473 * emulparams/elf64_aix.sh: Add additional read-only sections;
474 uncomment lines which are now required.
475
1276aefa
NC
4762001-02-26 H.J. Lu <hjl@gnu.org>
477
478 * ldlang.c (open_input_bfds): Set the bfd error handler so
479 that problems can be caught whilst loading symbols.
480 (record_bfd_errors): New function: Report BFD errors and mark
481 the executable output as being invalid.
482
41c49998
TW
4832001-02-22 Timothy Wall <twall@cygnus.com>
484
485 * configure.host: Add configuration for ia64-*-aix*.
486 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
487 Add dependencies for eelf64_aix.c.
488 * Makefile.in: Regenerate.
489 * configure.tgt: Add ia64-*-aix* mapping.
490 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 491 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
492 AIX-specific test.
493
78f85fd7
L
4942001-02-20 H.J. Lu <hjl@gnu.org>
495
496 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
497 false if we found the file.
498
1ac7e077 4992001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
500
501 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
502 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
503
e135f41b
NC
5042001-02-18 lars brinkhoff <lars@nocrew.org>
505
506 * Makefile.am: Add PDP-11 target.
507 * configure.tgt: Likewise.
508 * emulparams/pdp11.sh: New file.
509
a842aceb
DB
5102001-02-17 David O'Brien <obrien@FreeBSD.org>
511
512 * configure.host: Add a generic FreeBSD configuration entry such that
513 all [modern] FreeBSD systems on all platforms will look the same.
514
24174db0
L
5152001-02-14 H.J. Lu <hjl@gnu.org>
516
517 * configure.tgt: Remove mention of earmelf_linux26.
518
30c3c13a
RH
5192001-02-13 Richard Henderson <rth@redhat.com>
520
521 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
522
b46a87b1
L
5232001-02-13 H.J. Lu <hjl@gnu.org>
524
525 * ldexp.h (node_type): Add etree_provided.
526 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
527 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 528 for etree_provided.
b46a87b1
L
529 (exp_print_tree): Handle etree_provided.
530 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
531 etree_provided.
532
f3988fd9
RH
5332001-02-09 David Mosberger <davidm@hpl.hp.com>
534
535 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
536 .IA_64.unwind.* pattern to unwind table section and
537 .IA_64.unwind_info* pattern to unwind info section.
538
a85d7ed0
NC
5392001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
540
541 * Makefile.am: Add linux target for S/390.
542 * Makefile.in: Likewise.
543 * configure.host: Likewise.
544 * configure.tgt: Likewise.
545 * emulparams/elf64_s390.sh: New file.
546 * emulparams/elf_s390.sh: New file.
547
780248c4
JJ
5482001-02-09 Jakub Jelinek <jakub@redhat.com>
549
550 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
551 targ_extra_libpath.
552 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
553
0e2534bd
PB
5542001-02-06 Philip Blundell <philb@gnu.org>
555
556 * Makefile.am: Remove mention of earmelf_linux26.
557 * Makefile.in: Regenerate.
558
46c1ea57
PB
5592001-02-04 Philip Blundell <philb@gnu.org>
560
561 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
562 * emulparams/armelf_linux26.sh: Delete.
563 * configure.tgt: Remove mention of armelf_linux26 emulation.
564
0088edd2
NC
5652001-02-01 Nick Clifton <nickc@redhat.com>
566
567 * ld.1: Replace occurances of -oformat with --oformat.
568
02aa14fb
AM
5692001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
570
571 * ldlang.c (lang_leave_overlay): Don't set lma_region when
572 load_base is specified.
573
f813923c
HPN
5742001-01-24 Hans-Peter Nilsson <hp@axis.com>
575
576 * emultempl/elf32.em: Correct spelling in comments and listed
577 options.
578
c1eb1488
AM
5792001-01-23 Alan Modra <alan@linuxcare.com.au>
580
581 * ldlang.c (lang_leave_overlay): Only set lma_region from the
582 default for the first section of a group of overlay sections.
583
d9fc3714
AM
5842001-01-22 Alan Modra <alan@linuxcare.com.au>
585
586 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
587 * Makefile.in: Regenerate.
588 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
589 Check for null tool_dir.
590
6be0ca94
JW
5912001-01-16 Jim Wilson <wilson@redhat.com>
592
593 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
594 and IA_64.unwind.info.
595
b9247304
L
5962001-01-16 H.J. Lu <hjl@gnu.org>
597
598 * ldlang.c (lang_check): Merge the private data only if the
599 input file has contents.
600
577a0623
AM
6012001-01-14 Alan Modra <alan@linuxcare.com.au>
602
d952f17a
AM
603 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
604
ffd6e9de
AM
605 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
606 enabling search for libmilli. On a relocatable link, make .text
607 sections unique.
608 (LDEMUL_AFTER_PARSE): Define.
609 (hppaelf_finish): Correct spelling of relocatable in comments.
610
577a0623
AM
611 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
612 rummage through the script for sections on the unique list.
613 Correct length of strncmp for ".note".
614 (gld${EMULATION_NAME}_check_needed): Rearrange function.
615
616 * ldlang.c (unique_section_list): New var.
617 (unique_section_p): New function.
618 (walk_wild_section): Don't match sections on unique_section_list.
619 (lang_add_unique): New function.
ffd6e9de 620 Correct spelling of relocatable in comments.
577a0623
AM
621
622 * ldlang.h (struct unique_sections): Declare.
623 (unique_section_list): Declare.
624 (unique_section_p): Declare.
625 (lang_add_unique): Declare.
626
627 * lexsup.c (ld_options): Allow --unique to take an optional arg.
628 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
629
630 * ld.texinfo (--unique): Update.
631
b7ed8fad
NC
6322001-01-13 Nick Clifton <nickc@redhat.com>
633
634 * lexsup.c (parse_args): Remove spurious white space.
635
d0398d6a
NC
6362001-01-12 Nick Clifton <nickc@redhat.com>
637
638 * lexsup.c (parse_args): Update copyright date.
639
350fdb00
PB
6402001-01-12 Philip Blundell <pb@futuretv.com>
641
642 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
643
60c6797e
KH
6442001-01-10 Kazu Hirata <kazu@hxi.com>
645
646 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
647 * scripttempl/h8300h.sc: Fix formatting.
648 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
649 * scripttempl/h8500.sc: Likewise.
650 * scripttempl/h8500b.sc: Likewise.
651 * scripttempl/h8500c.sc: Likewise.
652 * scripttempl/h8500m.sc: Likewise.
653 * scripttempl/h8500s.sc: Likewise.
60c6797e 654
482e8b32
DB
6552000-01-07 David O'Brien <obrien@BSDi.com>
656
657 * emultempl/elf32.em: Only perform Linux ld hints processing when
658 targeting Linux.
659
d7ed7ca6
PB
6602001-01-07 Philip Blundell <philb@gnu.org>
661
662 * ld.texinfo (Bug Reporting): Update email address for reports.
663
0fc3347a
NC
6642000-12-31 Nick Clifton <nickc@redhat.com>
665
666 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
667 options by checking for a return value of '?' not -1.
668
e4897a32
NC
6692000-12-28 Nick Clifton <nickc@redhat.com>
670
671 * lexsup.c (struct ld_option): Add new enum value:
672 EXACTLY_TWO_DASHES.
673 (ld_options[]): Change -omagic, -output and -oformat options
674 to be EXACTLY_TWO_DASHES.
675 (OUTPUT_COUNT): Use ARRAY_SIZE.
676 (parse_args): Change parameter 'argc' to unsigned.
677 Place EXACTLY_TWO_DASHES options into new really_longopts
678 array.
679 If getopt_long_only fails, try calling getopt_long using the
680 really_longopts array.
681 (help): Print a double dash for both EXACTLY_TWO_DASHES and
682 TWO_DASHES options.
683
684 * ldlex.h: Fix prototype of parse_args.
685
686 * ld.texinfo: Document that long options starting with 'o'
687 must be preceeded by two dashes. Change example of a single
688 dashed long option from -oformat to -trace-symbol.
689
1122a5fc
NC
6902000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
691
692 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
693 (longopts[]): New --no-default-excludes option.
694 (gld_${EMULATION_NAME}_list_options): Document.
695 (gld_${EMULATION_NAME}_parse_args): Handle.
696
037849a9
NC
6972000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
698
699 * ldlang.c (new_stat): Revert the last beautification with "innocent"
700 whitespace, it breaks the K&R C preprocessor.
701
7ec229ce
DD
7022000-12-11 DJ Delorie <dj@redhat.com>
703
704 * ld.texinfo: Add notes about --whole-archive and gcc.
705
b79e8c78
NC
7062000-11-18 Fred Fish <fnf@be.com>
707
708 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
709 (ld_options): Entry for --allow-shlib-undefined.
710 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
711 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
712 to false.
713 * ld.texinfo: Document new command line switch.
d952f17a 714
9a8e2505
GK
7152000-12-12 Geoffrey Keating <geoffk@redhat.com>
716
717 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
718 .fixup is actually read/write.
719 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
720 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
721 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
722
b8355149
JH
723Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
724
725 * NEWS: Add note about x86_64 architecture.
726
93b63cd3
DD
7272000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
728
729 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
730 Set DWARF2 sections to a VMA of zero.
731
24f6971a
NC
7322000-12-01 Joel Sherrill <joel@OARcorp.com>
733
d952f17a 734 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
735 New targets.
736 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
737 (sparc*-*-rtems*): Switched from a.out to ELF.
738
2be3aa03
NC
7392000-11-30 Jan Hubicka <jh@suse.cz>
740
741 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
742 (eelf_x86_64.c): New.
743 * Makefile.in: Regenerate.
744 * configure.tgt: Add support for x86_64-*-linux-gnu*.
745 * emulparams/elf_x86_64.sh: New.
746
8c899858
HPN
7472000-11-30 Hans-Peter Nilsson <hp@axis.com>
748
749 * emulparams/crislinux.sh (ENTRY): Change back to _start.
750 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
751
752 * scripttempl/crisaout.sc: Change all RELOCATING not related to
753 merging non-a.out sections into CONSTRUCTING.
754
e47b9e39
NC
7552000-11-28 Nick Clifton <nickc@redhat.com>
756
757 * ld.1 (COPYING): Mention that the GNU Free Documentation
758 License is present in the sources, but not the output, and
759 also available from the GNU website.
760 (GNU Free Documentation License): Comment out this section.
761
ad95f82a
DB
7622000-11-28 David O'Brien <obrien@dragon.nuxi.com>
763
764 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
765 does not use them.
766
fd89e65f
DB
7672000-11-25 David O'Brien <obrien@FreeBSD.org>
768
769 * ld.1: Remove old date so it does not give the impression the manpage
770 is way out of date.
771
077b8428
NC
7722000-11-24 Nick Clifton <nickc@redhat.com>
773
774 * configure.tgt (xscale-coff): Add target.
775 (xscale-elf): Add target.
776
49425d28
NC
7772000-11-24 Fred Fish <fnf@be.com>
778
d952f17a
AM
779 * ldmain.c (main): Remove redundant init of config.make_executable
780 to true.
49425d28 781
d3480244
RH
7822000-11-15 Richard Henderson <rth@redhat.com>
783
784 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
785
1ce7de8b
KH
7862000-11-14 Kazu Hirata <kazu@hxi.com>
787
788 * scripttempl/h8300.sc: Fix formatting.
789 * scripttempl/h8300h.sc: Likewise.
790 * scripttempl/h8300s.sc: Likewise.
791
208d5cd0
DC
792Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
793
794 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
795
2e418547
PB
7962000-11-09 Philip Blundell <pb@futuretv.com>
797
798 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
799 around orphan sections whose names can be represented in C.
800
c940e6fc
JW
8012000-11-07 Jim Wilson <wilson@redhat.com>
802
803 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
804 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
805
704c465c
NC
8062000-11-06 Nick Clifton <nickc@redhat.com>
807
808 * ld.texinfo: Add GNU Free Documentation License.
809 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 810 * ld.1: Add GNU Free Documentation License.
704c465c 811
dca7760f
AM
8122000-11-05 Alan Modra <alan@linuxcare.com.au>
813
814 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
815 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
816
817 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
818 Move 2000-11-02 Makefile.in changes to this file.
819 * Makefile.in: Regenerate.
820
40a633d5
NC
8212000-11-03 Nick Clifton <nickc@redhat.com>
822
823 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
824 constructors and destructors.
825 * scripttempl/h8300h.sc: Ditto.
826 * scripttempl/h8300s.sc: Ditto.
827 * scripttempl/h8500.sc: Ditto.
828 * scripttempl/h8500b.sc: Ditto.
829 * scripttempl/h8500c.sc: Ditto.
830 * scripttempl/h8500m.sc: Ditto.
831 * scripttempl/h8500s.sc: Ditto.
832 * scripttempl/v850.sc: Ditto.
833 * scripttempl/w65.sc: Ditto.
834 * scripttempl/z8000.sc: Ditto.
835
59ff2774
NC
8362000-11-02 Per Lundberg <plundis@chaosdev.org>
837
838 * Makefile.in (e_i386_chaos.c): New rule.
839 (ALL_EMULATIONS): Added e_i386_chaos.o.
840 * emulparams/elf_i386_chaos.sh: New file.
841 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
842
645571e1
JJ
8432000-10-20 Jakub Jelinek <jakub@redhat.com>
844
845 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
846 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
847 Fix sed invocation, so that it coped with '/' in Solaris 64bit
848 library path suffix.
849 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
850
c5975a45
HPN
8512000-10-18 Hans-Peter Nilsson <hp@axis.com>
852
853 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
854 for consecutive sections.
855
ea20a7da
CC
8562000-10-17 Chandrakala Chavva <cchavva@redhat.com>
857
d952f17a
AM
858 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
859 options.
860 * ld.texinfo: Added notes about this new option.
ea20a7da 861
6e45556a
NC
8622000-10-16 Nick Clifton <nickc@redhat.com>
863
864 * emultempl/pe.em (_after_open): Add tests of return values from
865 bfd functions. Emit appropriate error messages if necessary.
866
b9a69188
NC
8672000-10-13 Nick Clifton <nickc@redhat.com>
868
869 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
870 local variables - they are not used, but leave in the call to
871 bfd_canonicalize_symtab.
b9a69188
NC
872 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
873 pe_dll_search_prefix.
874
627427de 8752000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 876
627427de
DD
877 * emultempl/pe.em (pe_dll_search_prefix): New variable,
878 (longopts): New --dll-search-prefix option.
879 (gld_${EMULATION_NAME}_list_options): Document.
880 (gld_${EMULATION_NAME}_parse_args): Handle.
881 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
882 dynamically, search for a dll named '<prefix><basename>.dll'
883 in preference to 'lib<basename>.dll' if --dll-search-prefix
884 is specified.
885
24376d1b
AM
8862000-10-12 Alan Modra <alan@linuxcare.com.au>
887
888 * ldlang.c (section_already_linked): Set kept_section instead of
889 sec->comdat->sec.
890
e47d05ad
KH
8912000-10-10 Kazu Hirata <kazu@hxi.com>
892
893 * deffile.h: Fix formatting.
894 * lexsup.c: Likewise.
895 * mri.c: Likewise.
896
23a87948
DD
8972000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
898
899 * pe-dll.c (make_one): Do not generate code thunk for DATA
900 exports.
901 (process_def_file): deduce DATA flag for auto-export sumbols.
902
86b1cc60
KH
9032000-10-09 Kazu Hirata <kazu@hxi.com>
904
89cdebba
KH
905 * ld.h: Fix formatting.
906 * ldcref.c: Likewise.
907 * ldctor.h: Likewise.
908 * ldemul.c: Likewise.
909 * ldemul.h: Likewise.
910 * ldexp.c: Likewise.
911 * ldexp.h: Likewise.
912 * ldfile.c: Likewise.
913 * ldfile.h: Likewise.
914 * ldlang.c: Likewise.
915 * ldlang.h: Likewise.
916 * ldmain.c: Likewise.
7bfd51a3
KH
917 * pe-dll.c: Likewise.
918
919 * pe-dll.c: Revert some formatting fixes.
86b1cc60 920
d643799d
KH
9212000-10-08 Kazu Hirata <kazu@hxi.com>
922
923 * pe-dll.c: Fix formatting.
924
08da4cac
KH
9252000-10-05 Kazu Hirata <kazu@hxi.com>
926
927 * ldlang.c: Fix formatting.
928
c2a94a7a
DD
9292000-10-03 DJ Delorie <dj@redhat.com>
930
931 * pe-dll.c (fill_edata): initialize entire block
932 (make_one): fill in correct section.
933
8c95a62e
KH
9342000-10-03 Kazu Hirata <kazu@hxi.com>
935
936 * ldexp.c: Fix formatting.
937
486e80e2
DD
9382000-10-02 DJ Delorie <dj@redhat.com>
939
940 * emultempl/pe.em (gld_*_after_open): detect case where there two
941 import libraries for same dll; rename one to ensure proper link
942 order.
943
944 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
945 typo
946 (generate_edata): fix typo
947
24dd9f75
HPN
9482000-09-29 Hans-Peter Nilsson <hp@axis.com>
949
950 * scripttempl/crisaout.sc (ENTRY): Now __start.
951 (.text): Add default setting for __start.
952 Remove CONSTRUCTORS handling.
953 (/DISCARD/): Add .gnu.warning.*.
954 * emulparams/crislinux.sh (ENTRY): Now __start.
955 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
956 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
957 (ENTRY): Now __start.
958 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
959 (EXECUTABLE_SYMBOLS): Add default setting for __start.
960
4de2d33d
KH
9612000-09-29 Kazu Hirata <kazu@hxi.com>
962
5cc18311
KH
963 * deffile.h: Fix formatting.
964 * ld.h: Likewise.
965 * ldcref.c: Likewise.
4de2d33d 966 * ldctor.c: Likewise.
5cc18311 967 * ldctor.h: Likewise.
4de2d33d 968 * ldemul.c: Likewise.
5cc18311 969 * ldemul.h: Likewise.
4de2d33d 970 * ldexp.c: Likewise.
5cc18311 971 * ldexp.h: Likewise.
4de2d33d 972 * ldfile.c: Likewise.
5cc18311 973 * ldfile.h: Likewise.
4de2d33d 974 * ldlang.c: Likewise.
5cc18311
KH
975 * ldlang.h: Likewise.
976 * lexsup.c: Likewise.
977 * mri.c: Likewise.
978 * pe-dll.c: Likewise.
4de2d33d 979
45b1f63c
DD
9802000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
981
982 * pe-dll.c (process_def_file): Uninitialized data wasn't
983 exported with --export-all-symbols switch.
d952f17a 984
45b1f63c
DD
9852000-09-28 DJ Delorie <dj@redhat.com>
986
987 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
988 noname work properly.
989
47d89dba
AM
9902000-09-28 Alan Modra <alan@linuxcare.com.au>
991
992 * ld.texinfo (HPPA ELF32): New section.
993
994 * emultempl/hppaelf.em (group_size): New.
995 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
996 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
997 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
998 options to prevent abbreviations matching.
999 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
1000 (PARSE_AND_LIST_ARGS_CASES): Handle it.
1001
36bdbeec
NC
10022000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1003
1004 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
1005 on the m68*-*-elf target. Make it support COFF input objects.
1006
6d5e62f8
KH
10072000-09-21 Kazu Hirata <kazu@hxi.com>
1008
1009 * ldmain.c: Fix formatting.
1010 * ldmisc.c: Likewise.
1011 * ldver.c: Likewise.
1012 * ldwrite.c: Likewise.
1013
e2eb67d9
AM
10142000-09-21 Alan Modra <alan@linuxcare.com.au>
1015
1016 * ldwrite.c (clone_section): Silence gcc warnings.
1017
b3ea3584
AM
10182000-09-20 Alan Modra <alan@linuxcare.com.au>
1019
1020 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
1021 out of memory failure.
1022
1023 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
1024 (clone_section): Handle out of memory failures. Rename var to
1025 avoid c++ reserved word.
1026
25f72752
AM
10272000-09-18 Alan Modra <alan@linuxcare.com.au>
1028
1029 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
1030 stub_name param to stub_sec_name.
1031 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
1032
0752970e
NC
10332000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1034
1035 * emultempl/m68kelf.em: New file.
1036 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
1037 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
1038 * Makefile.in: Regenerate.
1039
92b7e9d8
AM
10402000-09-15 Alan Modra <alan@linuxcare.com.au>
1041
1042 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
1043 only as needed.
1044
9b14b192
NC
10452000-09-13 Nick Clifton <nickc@redhat.com>
1046
1047 * ldmain.c (multiple_definition): Disable relaxation if
1048 multiple symbol definitions are encountered - otherwise the
1049 linker could abort with an assertion failure.
1050
891fa266
NC
10512000-09-10 Nick Clifton <nickc@redhat.com>
1052
1053 * mri.c: Fix formatting.
1054
5d64ca4e
L
10552000-09-07 H.J. Lu <hjl@gnu.org>
1056
1057 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1058 * configure: Rebuild.
1059
dd94604f
L
10602000-09-07 H.J. Lu <hjl@gnu.org>
1061
1062 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
1063 * Makefile.in: Rebuild.
1064
71bfc0ae
AM
10652000-09-07 Alan Modra <alan@linuxcare.com.au>
1066
1067 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
1068 broken list handling. Create __start_SECNAME and __stop_SECNAME
1069 when no place-holder. Add some comments. Test both SEC_CODE and
1070 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 1071 Handle case where no output section statement created.
71bfc0ae 1072
4a428502
AO
10732000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
1074
1075 * configure.tgt (sh-*-linux*): Added.
1076 * Makefile.am: Added eshelf_linux and eshlelf_linux.
1077 * Makefile.in: Rebuilt.
1078 * emulparams/shelf_linux.sh: New file.
1079 * emulparams/shlelf_linux.sh: New file.
1080
f9989030
AM
10812000-09-06 Alan Modra <alan@linuxcare.com.au>
1082
1083 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1084 try shuffling sections when the orphan happens to be the place
1085 holder. Keep count of unique section names generated so we speed
1086 the search for a new name.
1087
58cccadb
AO
10882000-09-06 Alexandre Oliva <aoliva@redhat.com>
1089
1090 * configure: Rebuilt with new libtool.m4.
1091
5b343f5a
NC
10922000-09-05 Nick Clifton <nickc@redhat.com>
1093
1094 * Makefile.in: Regenerate.
1095 * aclocal.m4: Regenerate.
1096 * configure: Regenerate.
1097 * config.in: Regenerate.
1098 * po/ld.pot: Regenerate.
1099
1100 * ldint.texinfo: Remove CVS revision marker - it foils local
1101 comparisons.
1102
1103 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 1104
a854a4a7
AM
11052000-09-05 Alan Modra <alan@linuxcare.com.au>
1106
3231d22e
AM
1107 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
1108 to stub section flags.
1109 (hppa_for_each_input_file_wrapper): New.
1110 (hppa_lang_for_each_input_file): New.
1111 (lang_for_each_input_file): Define to call above.
1112 (multi_subspace): New.
1113 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
1114 (PARSE_AND_LIST_PROLOGUE): Define.
1115 (PARSE_AND_LIST_LONGOPTS): Define.
1116 (PARSE_AND_LIST_OPTIONS): Define.
1117 (PARSE_AND_LIST_ARGS_CASES): Define.
1118 (hppaelf_finish): Call elf32_hppa_set_gp.
1119 (hppaelf_set_output_arch): Remove.
1120 (LDEMUL_SET_OUTPUT_ARCH): Remove.
1121
1122 * emulparams/hppalinux.sh (ELFSIZE): Define.
1123 (MACHINE): Define.
1124 (OTHER_READONLY_SECTIONS): Define.
1125 (DATA_PLT): Define.
1126 (GENERATE_SHLIB_SCRIPT): Define.
1127
5f992e62
AM
1128 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
1129 to const throughout. Change `void *' to `PTR' throughout.
1130 (lang_memory_default): Function is local to file, add `static'.
1131
1132 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
1133 (ehppalinux.c): Likewise.
1134 (earmelf.c): Likewise.
1135 (earmelf_linux.c): Likewise.
1136 (earmelf_linux26.c): Likewise.
1137 * Makefile.in: Regenerate.
1138
a854a4a7
AM
1139 * ld.h (ld_config_type): Add unique_orphan_sections.
1140 * lexsup.c (OPTION_UNIQUE): Define.
1141 (ld_options): Add "--unique".
1142 (parse_args): Handle it.
1143 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1144 search for an existing output section if unique_orphan_sections is
1145 set. Make use of bfd_get_unique_section_name rather than
1146 duplicating code here.
1147 * ld.texinfo: Describe --unique.
1148
1149 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
1150 optional arg to split-by-file.
1151 (parse_args): Handle them.
1152 * ld.texinfo: Update description of these options.
1153 * ldwrite.c (clone_section): Pass in the section name. Replace
1154 local code with bfd_get_unique_section_name.
1155 (split_sections): Tidy code and comments. Use a list traversal
1156 more appropriate to the list construction. Handle cooked section
1157 sizes. Split when split_by_reloc reached rather than exceeded.
1158 Track section size and split when split_by_file reached. Fix
1159 link_order_tail (even though it's not used).
1160 (ldwrite): Modify condition for calling split_sections to suit
1161 changed split_by_reloc and split_by_file.
1162 * ldmain.c (main): Init config.split_by_reloc and
1163 config.split_by_file to -1.
1164 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
1165 Change split_by_file to bfd_size_type.
1166
18e03609
NC
11672000-09-02 Nick Clifton <nickc@redhat.com>
1168
1169 * configure.in: Increase version number to 2.10.91.
1170 * NEWS: Mention new ability to support removal of duplicate DWARF2
1171 debug information.
1172 * configure: Regenerate.
1173 * aclocal.m4: Regenerate.
1174 * config.in: Regenerate.
1175
3a9d486c
NC
11762000-09-02 Daniel Berlin <dberlin@redhat.com>
1177
1178 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
1179 sections.
a2b64bed 1180 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
1181 * scripttempl/elfd10v.sc: Ditto.
1182 * scripttempl/elfd30v.sc: Ditto.
1183 * scripttempl/elfi370.sc: Ditto.
1184 * scripttempl/elfm68hc11.sc: Ditto.
1185 * scripttempl/elfm68hc12.sc: Ditto.
1186 * scripttempl/elfi386beos.sc: Ditto.
1187 * scripttempl/v850.sc: Ditto.
50bbae35 1188
ac48eca1
AO
11892000-08-31 Alexandre Oliva <aoliva@redhat.com>
1190
1191 * acinclude.m4: Include libtool and gettext macros from the
1192 top level.
1193 * aclocal.m4, configure: Rebuilt.
1194
c13b1b77
NC
11952000-08-25 Nick Clifton <nickc@redhat.com>
1196
1197 * ldlang.c (open_output): When choosing the target for a
1198 particular endianness, do nothing if the target is not
1199 supported.
1200
dcb0bd0e
L
12012000-08-25 H.J. Lu <hjl@gnu.org>
1202
1203 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
1204 check -rpath nor LD_RUN_PATH for cross link.
1205 * ld.texinfo: Document the change.
1206
5bcac8a4
HPN
12072000-08-24 Hans-Peter Nilsson <hp@axis.com>
1208
1209 * NEWS: Mention support for CRIS.
1210
6dd8c765
L
12112000-08-23 H.J. Lu <hjl@gnu.org>
1212
1213 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
1214 the current runpath list from bfd_elf_get_runpath_list ()
1215 before search.
1216
ec4eb78a
L
12172000-08-22 H.J. Lu <hjl@gnu.org>
1218
1219 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
1220 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
1221 LD_LIBRARY_PATH for native linker. Display the needed DSO if
1222 trace_file_tries is non-zero.
1223 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
1224 if trace_file_tries is non-zero.
1225
1226 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 1227 * NEWS: Mention it.
ec4eb78a 1228
22b36938
JE
12292000-08-14 Jason Eckhardt <jle@cygnus.com>
1230
1231 * NEWS: Mention i860 support.
1232
d73e9da0
AS
12332000-08-14 Andreas Schwab <schwab@suse.de>
1234
1235 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 1236 syntax.
d73e9da0 1237
9ac4db9c
GK
12382000-08-10 Geoff Keating <geoffk@cygnus.com>
1239
1240 * scripttempl/elf.sc: Add a comment giving the correspondence
1241 between sections, per-datum sections, and linkonce sections. Make
1242 the comment true even for .bss, .sdata, .sdata2, .sbss, and
1243 .sbss2.
1244
165589e4
JE
12452000-08-10 Jason Eckhardt <jle@cygnus.com>
1246
1247 * emulparams/elf32_i860.sh: New file.
1248 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
1249 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
1250 (eelf32_i860.c): New rule.
1251 * Makefile.in: Regenerate.
1252
345a835d
NC
12532000-08-10 Nick Clifton <nickc@cygnus.com>
1254
1255 * emulparams/mipspe.sh (ENTRY): Add definition.
1256
e374f1d9
NC
12572000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
1258
1259 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
1260 in error message.
1261
236d5abf
NC
12622000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1263
1264 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
1265 the final size of .bss section.
1266 * scripttempl/elfm68hc12.sc: Likewise.
1267
4b209b22
AM
12682000-08-04 Alan Modra <alan@linuxcare.com.au>
1269
1270 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
1271 gld${EMULATION_NAME}_parse_args for consistency. Combine
1272 lastoptind and prevoptind vars, and keep track of last optind.
1273 (gld_${EMULATION_NAME}_list_options): Rename to
1274 gld${EMULATION_NAME}_list_options.
1275
28423a68
AM
12762000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
1277
1278 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
1279 (i586-sco-sysv5uw7.1.0).
1280
b2009ff7
L
12812000-07-27 H.J. Lu <hjl@gnu.org>
1282
1283 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
1284 (PARSE_AND_LIST_PROLOGUE): New.
1285 (PARSE_AND_LIST_LONGOPTS): Likewise.
1286 (PARSE_AND_LIST_OPTIONS): Likewise.
1287 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1288 (PARSE_AND_LIST_EPILOGUE): Likewise.
1289
04925e1e
AM
12902000-07-28 Alan Modra <alan@linuxcare.com.au>
1291
41392f03
AM
1292 * emultempl/armelf.em: Elide functions common to elf32.em,
1293 ie. most of the file.
1294 (arm_elf_after_open): New. Do arm specific things then call
1295 gld${EMULATION_NAME}_after_open.
1296 (arm_elf_before_allocation): New. Call
1297 gld${EMULATION_NAME}_before_allocation then do arm specifics.
1298 (PARSE_AND_LIST_PROLOGUE): Define.
1299 (PARSE_AND_LIST_SHORTOPTS): Define.
1300 (PARSE_AND_LIST_LONGOPTS): Define.
1301 (PARSE_AND_LIST_OPTIONS): Define.
1302 (PARSE_AND_LIST_ARGS_CASES): Define.
1303 (LDEMUL_AFTER_OPEN): Define.
1304 (LDEMUL_BEFORE_ALLOCATION): Define.
1305 (LDEMUL_BEFORE_PARSE): Define.
1306 (LDEMUL_FINISH): Define.
1307
1308 * emultempl/hppaelf.em: Similarly zap most of this file.
1309 (hppaelf_add_stub_section): Prototype.
1310 (hppaelf_layaout_sections_again): Prototype.
1311 (hook_in_stub): Prototype.
1312 (LDEMUL_SET_OUTPUT_ARCH): Define.
1313 (LDEMUL_FINISH): Define.
1314 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
1315
1316 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
1317 (EXTRA_EM_FILE): New.
1318 * emulparams/armelf_linux.sh: Likewise.
1319 * emulparams/armelf_linux26.sh: Likewise.
1320 * emulparams/hppalinux.sh: Likewise.
1321 * emulparams/hppaelf.sh: Likewise.
1322 (NOP): Define.
1323
1324 * emultempl/elf32.em: Fix formatting.
1325 (EXTRA_EM_FILE): Source it.
1326 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1327 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1328 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1329 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1330 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1331 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1332 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1333 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1334 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
1335 allow functions in this file to be overridden.
1336 (PARSE_AND_LIST_SHORTOPTS): Handle it.
1337
1338 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
1339
04925e1e
AM
1340 * emultempl/elf32.em: Reorganize file.
1341
88cdf297
NC
13422000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
1343
1344 * emulparams/elf64alpha.sh: Implement "-taso" emulation
1345 specific option to fit 64-bit executable in the lower
1346 31-bit address range. This is done by changing start
1347 address of .interp (the very first section of executable)
1348 and then setting EF_ALPHA_32BIT elf header flag.
1349
20bccb34
NC
13502000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1351
1352 * emultempl/m68kcoff.em: New file.
1353 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
1354 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
1355 generic.em.
1356 * Makefile.in: Regenerate.
1357
699845ef
L
13582000-07-20 H.J. Lu <hjl@gnu.org>
1359
1360 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
1361 and "disable-new-dtags" to stop getopt from treating -d/-e as
1362 abbreviations for these options.
1363
6c1439be
L
13642000-07-20 H.J. Lu <hjl@gnu.org>
1365
1366 * ld.texinfo: Add documentation for --disable-new-dtags and
1367 --enable-new-dtags.
1368
1369 * ldmain.c (main): Initialize link_info.new_dtags to false.
1370
1371 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
1372 --disable-new-dtags and --enable-new-dtags.
1373 (gld_${EMULATION_NAME}_list_options): Likewise.
1374
28c309a2
NC
13752000-07-05 Kenneth Block <krblock@computer.org>
1376
a2b64bed
NC
1377 * lexsup.c: Add optional style to demangle switch
1378 * ld.texinfo: Document optional style to demangle switch.
50bbae35 1379
9d06555c
HPN
13802000-07-20 Hans-Peter Nilsson <hp@axis.com>
1381
1382 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
1383 ecrislinux.o.
1384 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
1385 Regenerate dependencies.
1386 * Makefile.in: Rebuild.
1387 * configure.tgt (cris-*-*): New target.
1388 * emulparams/crisaout.sh, emulparams/criself.sh,
1389 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
1390 * po/POTFILES.in, po/ld.pot: Regenerate.
1391
19e3be22
L
13922000-07-20 H.J. Lu <hjl@gnu.org>
1393
1394 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
1395 Print out ignored -z options.
1396
e0ee487b
L
13972000-07-19 H.J. Lu <hjl@gnu.org>
1398
19e3be22
L
1399 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
1400 (PARSE_AND_LIST_PROLOGUE): New.
1401 (PARSE_AND_LIST_LONGOPTS): Likewise.
1402 (PARSE_AND_LIST_OPTIONS): Likewise.
1403 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1404
1405 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
1406
1407 * lexsup.c (ld_options): Comment out 'z'.
1408 (parse_args): Likewise.
1409
1410 * emultempl/elf32.em: Include "elf/common.h".
1411 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
1412 options.
1413 (gld_${EMULATION_NAME}_list_options): Likewise.
1414
1415 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 1416
49e56c49
L
14172000-07-19 H.J. Lu <hjl@gnu.org>
1418
1419 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
1420 bfd_elf_set_dt_needed_soname ().
1421
9d68bc82
DD
14222000-07-18 DJ Delorie <dj@cygnus.com>
1423
1424 * pe-dll.c (pe_dll_id_target): check object target name also
1425
53db15ed
HPN
14262000-07-18 Hans-Peter Nilsson <hp@axis.com>
1427
1428 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
1429 ${INIT_END} if relocating.
1430 (.fini): Likewise ${FINI_START} and ${FINI_END}.
1431
0ad8cf4c
DD
14322000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
1433
a2b64bed 1434 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
1435 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1436 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1437 errors introduced by the old dynamic lib search order.
1438
874c8c99
DD
14392000-07-17 DJ Delorie <dj@cygnus.com>
1440
1441 * pe-dll.c (process_def_file): auto-export data items also
1442 (pe_process_import_defs): also see if _imp_ form needed
1443
5b4cf3f4
DD
14442000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
1445
1446 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1447 for dll import libraries
1448
062739d1
NC
14492000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
1450
1451 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 1452 gcc 2.95.2 and later.
062739d1 1453
1c64c4ed
NC
14542000-07-11 Kazu Hirata <kazu@hxi.com>
1455
50bbae35
AM
1456 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1457 message.
1c64c4ed 1458
b71e2778
AM
14592000-07-10 Alan Modra <alan@linuxcare.com.au>
1460
1461 * ldemul.h (struct lang_input_statement_struct): Remove forward
1462 declaration.
1463 (struct search_dirs): Likewise.
1464 * ldfile.h (struct lang_input_statement_struct): Likewise.
1465 Protect file from multiple inclusion.
1466 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1467 declaration from macro to file scope.
1468
1469 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1470 * ldgram.y: Likewise here.
1471 * ldlang.c: And here.
1472 * ldmain.c: And here.
1473 * mpw-elfmips.c: And here.
1474 * mpw-eppcmac.c: And here.
1475 * emultempl/aix.em: And here.
1476 * emultempl/armcoff.em: And here.
1477 * emultempl/armelf.em: And here.
1478 * emultempl/armelf_oabi.em: And here.
1479 * emultempl/beos.em: And here.
1480 * emultempl/elf32.em: And here.
1481 * emultempl/hppaelf.em: And here.
1482 * emultempl/linux.em: And here.
1483 * emultempl/lnk960.em: And here.
1484 * emultempl/pe.em: And here.
1485 * emultempl/sunos.em: And here.
1486 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1487 * mpw-idtmips.c: Ditto.
1488 * emultempl/generic.em: Ditto.
1489 * emultempl/gld960.em: Ditto.
1490 * emultempl/gld960c.em: Ditto.
1491 * emultempl/mipsecoff.em: Ditto.
1492 * emultempl/ticoff.em: Ditto.
1493 * emultempl/vanilla.em: Ditto.
1494
1495 * pe-dll.c: Include ldfile.h
1496 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1497
1498 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1499 arguments to bfd_elf32_size_dynamic_sections call.
1500 (gldelf32ebmip_place_orphan): Add missing arguments to
1501 lang_leave_output_section_statement call.
1502
2ef53d66
L
15032000-07-10 H.J. Lu <hjl@gnu.org>
1504
1505 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1506 DLL_SUPPORT.
1507 (strhash): Likewise.
1508 (compute_dll_image_base): Likewise.
1509 (pe_undef_found_sym): Likewise.
1510 (pe_undef_cdecl_match): Likewise.
1511 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1512 argument "arch" with ATTRIBUTE_UNUSED.
1513
9a8cbb09
AM
15142000-07-10 Alan Modra <alan@linuxcare.com.au>
1515
1516 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1517
1518 From Ryan Bradetich <rbradetich@uswest.net>
1519 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 1520
4900fc06
AM
15212000-07-09 Alan Modra <alan@linuxcare.com.au>
1522
1523 Changes to create multiple linker stubs, positioned immediately
1524 before the section where they are required.
1525 * emultempl/hppaelf.em: Include elf32-hppa.h.
1526 (stub_sec, file_chain): Delete.
1527 (hppaelf_create_output_section_statements): Don't make a stub
1528 section here.
1529 (hook_stub_info): New struct.
1530 (hook_in_stub): New function.
1531 (hppaelf_add_stub_section): New function.
1532 (hppaelf_finish): Do nothing for relocateable links. Modify the
1533 call to elf32_hppa_size_stubs. Move code for updating section
1534 layout from here...
1535 (hppaelf_layaout_sections_again): ..to here, a new function.
1536
1537 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1538 broken list handling. Pass in a pointer to the list.
1539 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
1540 for above changes.
1541 (hppaelf_before_parse): Prototype.
1542 (hppaelf_set_output_arch): Prototype.
1543 (hppaelf_create_output_section_statements): Prototype.
1544 (hppaelf_delete_padding_statements): Prototype.
1545 (hppaelf_finish): Prototype.
1546
1547 Merge from elf32.em
1548 * emultempl/hppaelf.em: Include ctype.h.
1549 (struct orphan_save): New.
1550 (gld${EMULATION_NAME}_place_orphan): New.
1551 (output_rel_find): New.
1552 (hppaelf_get_script): Update from elf32.em.
1553 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1554 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 1555 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
1556
1557 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
1558 ehppalinux.o, sort it. Regenerate dependencies.
1559 (ehppalinux.c): Depend on hppaelf.em
1560 * Makefile.in: Regenerate.
1561
1562 * configure.tgt: targ_emul=hppalinux for hppa*linux
1563
1564 * emulparams/hppalinux.sh: New.
1565 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1566
227aeb07
AM
15672000-07-08 Alan Modra <alan@linuxcare.com.au>
1568
1569 * lexsup.c (parse_args): Copy section name.
1570
28609fd4 15712000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 1572
2ef53d66 1573 * emultempl/pe.em: institute the following search order for
602e90d3
DD
1574 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
1575 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
1576 static lib (libfoo.a) if none of the above are found.
1577
5f577f7d
DD
15782000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
1579
50bbae35 1580 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 1581 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 1582 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
1583 (gld_${EMULATION_NAME}_parse): Handle.
1584 (strhash): New static function.
50bbae35 1585 (compute_dll_image_base): New static function.
5f577f7d
DD
1586 (gld_${EMULATION_NAME}_set_symbols): Use.
1587
9a8cbb09 15882000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
1589
1590 * MAINTAINERS: new
1591
3548145d 15922000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
1593
1594 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
1595 * emulparams/elf32btsmip.sh: New file.
1596 * Makefile.am: Add traditional mips target.
1597 * Makefile.in: Rebuild.
1598
67798033
L
15992000-07-01 H.J. Lu <hjl@gnu.org>
1600
1601 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
1602 automake to use YLWRAP.
1603 * Makefile.in: Rebuild.
1604
0bdaf48b
AM
16052000-07-01 Alan Modra <alan@linuxcare.com.au>
1606
1607 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1608 (CLEANFILES): Add DEPA.
1609 * Makefile.in: Regenerate.
1610
c9e769c2
TW
16112000-06-30 Timothy Wall <twall@ppc>
1612
1613 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
1614 the page in the upper octet of the address.
1615
65aa24b6
NC
16162000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
1617
1618 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
1619
4667035e
AM
16202000-06-24 Alan Modra <alan@linuxcare.com.au>
1621
1622 * NEWS: arm-elf does --gc-sections too.
1623
1581f8c9
AM
16242000-06-22 Alan Modra <alan@linuxcare.com.au>
1625
1626 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1627 find one.
1628 * Makefile.in: Regenerate.
1629
01580992
L
16302000-06-21 H.J. Lu <hjl@gnu.org>
1631
1632 * Makefile.am: Rebuild dependency.
1633 * Makefile.in: Rebuild.
1634
bbeb2e03
L
16352000-06-20 H.J. Lu <hjl@gnu.org>
1636
1637 * Makefile.am: Rebuild dependency.
1638 * Makefile.in: Rebuild.
1639
74459f0e
TW
16402000-06-20 Timothy Wall <twall@cygnus.com>
1641
1642 * scripttempl/tic54xcoff.sc: New.
1643 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
1644 * gen-doc.texi: Add flag for TI COFF.
1645 * ld.texinfo: Add documentation for TI COFF handling switches.
1646 * emultempl/ticoff.em: New. TI COFF handling.
1647 * configure.tgt: Add tic54x target.
1648 * Makefile.am: Add tic54x target.
1649 * Makefile.in: Ditto.
1650
2ab47eed
AM
16512000-06-20 Alan Modra <alan@linuxcare.com.au>
1652
1653 * ldmain.c (set_scripts_dir): Correct pointer comparison when
1654 checking for backslashes.
1655
919e4093
AM
16562000-06-19 Alan Modra <alan@linuxcare.com.au>
1657
1658 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
1659
987fd5b4
AM
16602000-06-18 Alan Modra <alan@linuxcare.com.au>
1661
1662 * NEWS: Update list of targets supporting --gc-sections.
1663
1664 * scripttempl/elf.sc: KEEP .eh_frame contents.
1665 * scripttempl/elfd30v.sc: Same here.
1666
60bcf0fa
NC
16672000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
1668
1669 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
1670 and m68hc11 (elf).
1671 * Makefile.in: Rebuild.
1672 * configure.tgt: Recognize m68hc12 and m68hc11.
1673 * scripttempl/elfm68hc12.sc: New file.
1674 * emulparams/m68hc12elfb: New emulation.
1675 * emulparams/m68hc12elf: New emulation.
1676 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
1677 (includes a memory.x script to define the ROM and RAM banks).
1678 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
1679 New configuration files for support of Motorola 68hc11
1680
c7c54483
AM
16812000-06-15 Alan Modra <alan@linuxcare.com.au>
1682
1683 * ldmain.c (main): Only change SEC_READONLY for final link.
1684
bcef29e6
L
16852000-06-13 H.J. Lu <hjl@gnu.org>
1686
1687 * configure: Regenerate.
1688
946efd95
DB
16892000-06-08 David O'Brien <obrien@FreeBSD.org>
1690
1691 * configure.in (VERSION): Update to show this is the CVS mainline.
1692
57a6fd07
DB
16932000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1694
1695 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
1696 input objects to be ECOFF.
1697 (check_sections): einfo takes %B, not %P, to print a BFD name.
1698
e06cae36
L
16992000-06-05 Michael Matz <matz@ifh.de>
1700
1701 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 1702 version scripts.
e06cae36 1703
d952f17a 1704 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 1705
2f0b56c0
DC
17062000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
1707
1708 * emulparams/avr1200.sh (STACK): Define as 0.
1709 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
1710 * emulparams/avr4433.sh (STACK): Likewise.
1711 * emulparams/avr44x4.sh (STACK): Likewise.
1712 * emulparams/avr85xx.sh (STACK): Likewise.
1713 * emulparams/avrmega103.sh (STACK): Likewise.
1714 * emulparams/avrmega161.sh (STACK): Likewise.
1715 * emulparams/avrmega603.sh (STACK): Likewise.
1716 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
1717 (__stack): Define from ${STACK} for main().
1718
2114f57b
AM
17192000-05-26 Alan Modra <alan@linuxcare.com.au>
1720
1721 * Makefile.am: Update dependencies with "make dep-am"
1722 * Makefile.in: Regenerate.
1723
5af11cab
AM
17242000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1725
1726 * ldmain.c: Include filenames.h.
1727 (set_scripts_dir): Support backslashes in program name.
1728
1f0df59a
NC
17292000-05-22 Igor Shevlyakov <igor@windriver.com>
1730
1731 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
1732 read-only, don't forget to reset SEC_READONLY because it
1733 could be already set.
1f0df59a 1734
176355da
NC
17352000-05-22 Thomas de Lellis <tdel@windriver.com>
1736
50bbae35
AM
1737 * ld.1: Add documentation for new command line option:
1738 --section-start <sectionname>=<sectionorg>
1739 This is a generic version of -Ttext etc. which accepts
1740 any section name as a parameter instead of just text/data/
1741 bss.
1742 * ld.texinfo: More docs.
1743 * NEWS: More docs.
1744 * lexsup.c: (parse_args): Recognize new command line option.
176355da 1745 (ld_options): Add new option.
50bbae35 1746
8c5ff972
L
17472000-05-18 H.J. Lu <hjl@gnu.org>
1748
1749 * lexsup.c (parse_args): `i' == `r', not `q'.
1750
0b76fe77
JL
1751Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
1752
1753 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
1754
a712da20
NC
17552000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
1756 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 1757
a712da20
NC
1758 Add support for '-q' == '--emit-relocs' switch.
1759 * ldmain.c (main): Default to false.
1760 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
1761 * NEWS: Describe the emitrelocations switch.
1762 * ld.texinfo: Describe the emitrelocations switch.
1763
690a460e
NC
17642000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
1765
a2b64bed 1766 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
1767 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
1768 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
1769 link options.
50bbae35 1770
c2f1343c
AM
17712000-05-15 David O'Brien <obrien@FreeBSD.org>
1772
1773 * lexsup.c (parse_args): Update the year in the copyright notice.
1774
897083bd
AM
17752000-05-13 Alan Modra <alan@linuxcare.com.au>
1776
1777 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
1778 Replace defines with those from intl/libgettext.h to quieten gcc
1779 warnings.
1780
cd4c806a
L
17812000-05-10 H.J. Lu <hjl@gnu.org>
1782
1783 * ldlang.c (open_input_bfds): Don't load the same file within
1784 a group again if the whole archive has been loaded already.
1785
93697284
AM
17862000-05-03 Alan Modra <alan@linuxcare.com.au>
1787
1788 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
1789 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
1790 strtoul.
1791
ebd6fc29
JW
1792Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
1793
99a4150f 1794 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 1795
ebd6fc29
JW
1796 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1797 host "ia64-*-linux-gnu*".
1798
a1934524
AM
17992000-04-29 Andreas Jaeger <aj@suse.de>
1800
1801 * ld.h: Correctly check GCC version.
1802
730a39a0
JL
1803Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
1804
1805 * Makefile.am: Add PA64 support. Add missing dependencies for
1806 PA32 elf support.
1807 * Makefile.in: Rebuilt.
1808 * configure.tgt: Add PA64 support (currently disabled).
1809
aea4bd9d
AM
18102000-04-25 Alan Modra <alan@linuxcare.com.au>
1811
1812 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
1813 (output_rel_find): New function.
1814 (hold_section, hold_use): Delete.
1815 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1816 hold_interp): Make local to place_orphan.
1817 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
1818 rather than place_section to find possible previous use of orphan.
1819 Similarly find the place-holder output sections. Use returned
1820 value from lang_enter_output_section_statement rather than calling
1821 lang_output_section_statement_lookup.
1822 * emultempl/armelf.em: Same here.
1823 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
1824
1825 * ldlang.c (lang_enter_output_section_statement): Return output
1826 section statement.
1827 * ldlang.h (lang_enter_output_section_statement): Change
1828 declaration too.
1829
1830 * ldlang.h (lang_output_section_statement): Export it.
1831 * ldlang.c (lang_output_section_statement): Ditto.
1832
2b5fc1f5
NC
18332000-04-24 Nick Clifton <nickc@cygnus.com>
1834
1835 * ld.texinfo (Output Section Data): Add note that section data
1836 commands cannot appear outside of section directives.
1837
d8475ff6
JL
18382000-04-2 Matthew Green <mrg@cygnus.com>
1839
1840 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
1841
800eeca4
JW
1842Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
1843 David Mosberger <davidm@hpl.hp.com>
1844
1845 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
1846 (eelf64_ia64.c): New rule.
1847 * Makefile.in: Rebuild.
1848 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
1849 * emulparams/elf64_ia64.sh: New file.
50bbae35 1850
c9637625
RH
18512000-04-21 Richard Henderson <rth@cygnus.com>
1852
1853 * scripttempl/elfd30v.sc: Place .gcc_except_table.
1854
28ea9521
AM
18552000-04-19 Alan Modra <alan@linuxcare.com.au>
1856
1857 * dep-in.sed: Match space at start of file name, not at end.
1858
20d04697
L
18592000-04-18 H.J. Lu <hjl@gnu.org>
1860
1861 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
1862 lang_leave_output_section_statement () after calling
1863 lang_enter_output_section_statement ().
1864 * emultempl/armelf.em: Likewise.
1865
5ba47421
AM
18662000-04-18 Alan Modra <alan@linuxcare.com.au>
1867
1868 * emultempl/elf32.em (struct orphan_save): Add section field.
1869 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
1870 better order, and place first orphan section as we did before the
1871 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
1872 Don't call make_bfd_section here, let wild_doit do the job for us.
1873 Don't build a statement list when we'll only throw it away.
1874 * emultempl/armelf.em: Ditto.
1875 * emultempl/pe.em: Similarly.
1876
bdbe5705
GK
18772000-04-14 Geoff Keating <geoffk@cygnus.com>
1878
1879 * scripttempl/elfppc.sc: Remove.
1880 * emulparams/elf32ppc.sh: Use elf.sc.
1881 * emulparams/elf32lppc.sh: Use elf.sc.
1882 * emulparams/elf32ppclinux.sh: Use elf.sc.
1883 * emulparams/elf32ppcsim.sh: New file.
1884 * emulparams/elf32lppcsim.sh: New file.
1885 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
1886 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
1887 * Makefile.in: Regenerate.
1888 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
1889
01cc8ff8
AM
18902000-04-14 Alan Modra <alan@linuxcare.com.au>
1891
5ba47421 1892 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 1893 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
1894 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1895 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
1896 Also set all relocateable section start addresses.
1897
6c86c541
GK
18982000-04-13 Geoff Keating <geoffk@cygnus.com>
1899
1900 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
1901 Add new BSS_PLT variable for when .plt need not be contained in
1902 the file. Move _etext so that it is also after .fini, and provide
1903 both etext and _etext with a leading underscore. Mark the start
1904 and end of .sbss.
1905
6a345e87
AM
19062000-04-12 Alan Modra <alan@linuxcare.com.au>
1907
1908 * emultempl/elf32.em (struct orphan_save): New.
1909 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1910 hold_interp): Make them struct orphan_save.
1911 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
1912 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
1913 the end of the relevant section list. Also add associated section
1914 statements to the end of any previous orphan statements.
1915 * emultempl/armelf.em: Similarly.
1916 * emultempl/pe.em: Similarly.
1917
8be86746
AM
19182000-04-11 Alan Modra <alan@linuxcare.com.au>
1919
1920 * ld.texinfo (Simple Example): Remove extraneous paragraph.
1921
a2d91340 1922Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 1923
a2d91340 1924 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 1925 --enable-build-warnings option.
a2d91340
AC
1926 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1927 * Makefile.in, configure: Re-generate.
1928
41b49281
AM
19292000-04-04 Alan Modra <alan@linuxcare.com.au>
1930
8ad3436c
AM
1931 * po/ld.pot: Regenerate.
1932
1933 * lexsup.c (help): Restore translated part of bug string.
1934
41b49281
AM
1935 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1936 (DEP): Quote when passing vars to sub-make. Add warning message
1937 to end.
1938 (DEP1): Rewrite for "gcc -MM".
1939 (CLEANFILES): Add DEP2.
1940 Update dependencies.
1941 * Makefile.in: Regenerate.
1942
c20f4f8c
AM
19432000-04-03 Alan Modra <alan@linuxcare.com.au>
1944
1945 * ld.h: #include "bin-bugs.h"
1946 * lexsup.c (help): Use REPORT_BUGS_TO.
1947
adde6300
AM
19482000-03-27 Denis Chertykov <denisc@overta.ru>
1949
1950 * configure.tgt (avr-*-*): New target support.
1951 * Makefile.am: Likewise.
1952 * scripttempl/elf32avr.sc: New script file.
1953 * emulparams/avr1200.sh: New file.
1954 * emulparams/avr23xx.sh: New file.
1955 * emulparams/avr4433.sh New file.
1956 * emulparams/avr44x4.sh New file.
1957 * emulparams/avr85xx.sh New file.
1958 * emulparams/avrmega103.sh New file.
1959 * emulparams/avrmega161.sh New file.
1960 * emulparams/avrmega603.sh New file.
1961 * Makefile.in: Regenerate.
1962
9282ff41
L
19632000-03-09 Andreas Jaeger <aj@suse.de>
1964
1965 * Makefile.am (check-DEJAGNU): Also unset LANG.
1966 * Makefile.in: Rebuild.
1967
a9998805
ILT
19682000-03-06 Ian Lance Taylor <ian@zembu.com>
1969
1970 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
1971 archive.
1972
f9bc20e7
NC
19732000-03-02 H.J. Lu <hjl@gnu.org>
1974
1975 * emulparams/elf32mcore.sh: Include "getopt.h".
1976
4e277b38
ILT
19772000-03-01 Ian Lance Taylor <ian@zembu.com>
1978
1979 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
1980
f0c87f88
NC
19812000-03-01 H.J. Lu <hjl@gnu.org>
1982
1983 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
1984 * emulparams/shpe.sh: Likewise.
1985
19862000-03-01 Nick Clifton <nickc@cygnus.com>
1987
1988 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
1989 to unused parameters.
1990
1991 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
1992 functions only used by DLL code.
1993 (_place_orphan): Initialise 'dollar'.
1994
b6f29aaa
L
19952000-03-01 H.J. Lu <hjl@gnu.org>
1996
1997 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
1998 indicate if the undefined symbol is a fatal error or not.
1999 Don't delete the output file if "fatal" is false.
2000
af28fce3
L
20012000-02-29 H.J. Lu <hjl@gnu.org>
2002
50bbae35 2003 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
2004 Set LC_COLLATE and LC_ALL to null and export them. It is for
2005 sort which expects the C locale.
2006 Add $(LIBS) to all $(HOSTING_LIBS).
2007 * Makefile.in: Rebuild.
2008
40d109bf
AM
20092000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
2010
2011 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
2012 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
2013 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
2014 (ld_emulation_xfer_struct): Add missing NULL initialiser for
2015 find_potential_libraries.
2016
db5be682
JB
20172000-02-28 Jim Blandy <jimb@redhat.com>
2018
2019 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 2020 list entries; the lexer considers commas to be valid part of a
db5be682
JB
2021 filename, so in something like `foo, bar' the comma is considered
2022 part of the first filename, `foo,'.
2023 * ld.texinfo: Update section on EXCLUDE_FILE lists.
2024
3558ff4c
ILT
20252000-02-27 Loren J. Rittle <ljrittle@acm.org>
2026
2027 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2028 host "i[3456]86-*-freebsdelf*".
2029
4eee2681
ILT
20302000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
2031
2032 * scripttempl/i386go32.sc: Move misplaced semicolons.
2033
8d75d12d
ILT
20342000-02-25 Ian Lance Taylor <ian@zembu.com>
2035
2036 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
2037 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
2038 (eelf64hppa.c, ehppaelf.c): Remove targets.
2039 * Makefile.in: Rebuild.
2040
a1836d49
AO
20412000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2042
ad51fb57
AO
2043 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
2044 GNU/Linux/sparc, but keep the default as 32.
2045
a1836d49
AO
2046 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
2047 it default if sparcv9 or sparc64.
2048
344a211f
NC
20492000-02-24 Nick Clifton <nickc@cygnus.com>
2050
2051 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
2052 * Makefile.in: Regenerate.
2053 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
2054
2055 * ldemul.h (ld_emulation_xfer_struct): Add new field:
2056 find_potential_libraries.
2057 * ldemul.c (ldemul_find_potential_libraries): New function.
2058
2059 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 2060 exported.
344a211f
NC
2061 (ldfile_open_file): Call ldemul_find_potential_libraries.
2062 * ldfile.h: Add prototype for ldfile_open_file_search.
2063
2064 * pe-dll.c: Add support for ARM, MIPS and SH targets.
2065
2066 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
2067 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
2068
2069 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
2070 (gld_X_find_potential_libraries): New function. Search for
2071 libraries called "*.lib".
2072
a2b64bed 2073 * scripttempl/pe.sc: Add .pdata section.
344a211f 2074
eaba1dd3
RH
20752000-02-23 Richard Henderson <rth@cygnus.com>
2076
2077 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
2078 Add and use memory regions.
2079
5b93d8bb
AM
20802000-02-23 Linas Vepstas (linas@linas.org)
2081
2082 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
2083
2084 * Makefile.am: Add support for Linux/IBM 370.
2085 * configure.tgt: Likewise.
2086
2087 * Makefile.in: Regenerate.
2088
f6af82bd
AM
20892000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2090
2091 * ldlang.c (print_input_section, print_data_statement,
2092 print_reloc_statement, print_padding_statement, insert_pad,
2093 size_input_section, lang_check_section_addresses,
2094 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 2095 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
2096 (lang_do_assignments): Also change `size' to unsigned.
2097
9e673ad1
RH
20982000-02-16 Richard Henderson <rth@cygnus.com>
2099
2100 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
2101
562d3460
TW
21022000-02-16 Timothy Wall <twall@cygnus.com>
2103
2104 * mri.c (mri_draw_tree): Add default LMA region argument to call
2105 to lang_leave_output_section_statement.
2106 * ldlang.h: Update prototypes with LMA region arguments.
2107 * ldlang.c (lang_size_sections): Encapsulate region bounds
2108 checking in os_check_region call.
2109 (os_check_region): New function.
2110 (lang_output_section_statement_lookup): Initialize lma_region.
2111 (lang_leave_output_section_statement): Add LMA region argument.
2112 (lang_leave_overlay): Ditto.
2113 * ldgram.y: Handle LMA region syntax.
2114 * ld.texinfo (Output Section Description): Describe LMA region usage.
2115 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 2116 lma region in call to lang_leave_output_section_statement.
562d3460 2117 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 2118 lma region in call to lang_leave_output_section_statement.
562d3460 2119 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 2120 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
2121
2122
9e4ed18c
TW
21232000-02-04 Timothy Wall <twall@redhat.com>
2124
2125 * ldlang.c (lang_check_section_addresses): Use bytes instead of
2126 octets when calculating section end addresses.
2127
32edc927
TW
21282000-02-04 Timothy Wall <twall@redhat.com>
2129
2130 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
2131
4cbfc3ac
TW
21322000-02-03 Timothy Wall <twall@redhat.com>
2133
a2b64bed 2134 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 2135 octet count.
a2b64bed 2136 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
2137 print_reloc_statement, print_padding_statement): Print target
2138 address values and section sizes as bytes, not octets.
2139 (insert_pad) Calculate padding size in octets, and adjust "dot"
2140 by bytes.
2141 (size_input_section) Always adjust "dot" by bytes, not octets.
2142 (lang_check_section_addresses, lang_do_assignments) Adjust
2143 "dot" by bytes, not octets. Use the larger of the directive size
2144 or octets_per_byte for the number of octets actually allocated in
2145 the output section.
2146 (lang_set_startof) Make sure STARTOF returns a target address.
2147 (lang_one_common) Record size changes in octets.
2148 (lang_abs_symbol_at_end_of) Section end symbol's value is
2149 recorded in target bytes.
2150 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
2151 to be clear about behavior when an octet is smaller than one byte.
50bbae35 2152
305c7206
AM
21532000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2154
2155 * ldcref.c (output_cref): Don't pass message strings to printf
2156 as format arg.
2157 Update copyright.
2158
2159 * ldmisc.c (vfinfo): Same here.
2160 Update copyright.
2161
e1c47aa4
AM
21622000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
2163
2164 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
2165 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
2166 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
2167 Add missing NULL initialisers, and comments.
2168
2169 * testsuite/ld-srec/sr3.cc (__rethrow): New.
2170
13392b77
NC
21712000-01-21 Nick Clifton <nickc@cygnus.com>
2172
2173 * ldlang.c (lang_size_sections): Fix typo in comment.
2174
cce4c4c5
NC
21752000-01-18 H.J. Lu <hjl@gnu.org>
2176
2177 * ldlang.c (lang_size_sections): Also update the current
2178 address of a region if the SEC_NEVER_LOAD bit is not set.
2179
0decc840
NC
21802000-01-10 Philip Blundell <pb@futuretv.com>
2181
2182 * configure.tgt (arm*-*-conix*): New target.
2183
4e53152f
NC
21842000-01-07 Nick Clifton <nickc@cygnus.com>
2185
2186 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
2187 line switches with -Wl, (or whatever is appropriate) if it is
2188 being invoked by a comnpiler driver program.
50bbae35 2189 Fix description of the behaviour of the -n command line switch.
4e53152f 2190
18625d54
CM
2191Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
2192
2193 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
2194 (name_list): New.
2195 * ld.texinfo (EXCLUDE_FILE): Update documentation.
2196 * ldgram.y (wildcard_spec): Support a list of excluded_files.
2197 (exclude_name_list): New.
2198 ldlang.c (walk_wild_section): Support list of excluded files.
2199 (print_wild_statement): Likewise.
2200 (lang_add_wild): Likewise.
2201 * ldlang.h (lang_wild_statement_type): Likewise.
2202 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 2203
5aaace27
NC
22042000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2205
870df5dc
NC
2206 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
2207 (process_def_file): Use.
2208 (pe_dll_compat_implib): New variable.
2209 (make_one): Use.
50bbae35 2210
870df5dc
NC
2211 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
2212 pe_dll_compat_implib.
50bbae35
AM
2213
2214 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
2215 compat-implib options.
2216 (gld_${EMULATION_NAME}_list_options): List new options.
2217 (gld_${EMULATION_NAME}_parse_args): Handle.
2218
50bbae35 2219 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 2220 dll.
50bbae35
AM
2221
2222 * deffilep.y (opt_name): Allow "." in name.
5aaace27 2223
2f6d2f85 2224For older changes see ChangeLog-9899
252b5132
RH
2225\f
2226Local Variables:
2227mode: change-log
2228left-margin: 8
2229fill-column: 74
2230version-control: never
2231End:
This page took 0.213303 seconds and 4 git commands to generate.