* write.c (relax_segment <rs_space>): Check the section of a
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
96fcab3e
L
12001-05-25 H.J. Lu <hjl@gnu.org>
2
3 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
4 like emulparams/aixppc.sh.
5
db8d4f23
L
62001-05-25 H.J. Lu <hjl@gnu.org>
7
8 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
9 setting of output_filename after bfd_scan_arch.
10 * emultempl/pe.em: Likewise.
11
5f642101
L
122001-05-25 H.J. Lu <hjl@gnu.org>
13
14 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
15 like emulparams/aixppc.sh.
16
17 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
18 instead of ${srcdir}/emultempl/stringify.sed.
19
64e9ece0
TW
202001-05-25 Timothy Wall <twall@oculustech.com>
21
22 * emulparams/elf64_aix.sh: Change settings to match IBM linker
23 output.
24
c709b096
AM
252001-05-25 Alan Modra <amodra@one.net.au>
26
27 * configure.host: Replace linuxoldld with linux*oldld.
28 * configure.tgt: Likewise.
29
6cbdcc6f
L
302001-05-24 H.J. Lu <hjl@gnu.org>
31
32 * emultempl/stringify.sed: Removed again.
33
86af25fe
L
342001-05-24 H.J. Lu <hjl@gnu.org>
35
36 * emultempl/aix.em (OUTPUT_ARCH): Defined.
37 (gld${EMULATION_NAME}_before_parse): Initialize
38 ldfile_output_architecture, ldfile_output_machine and
39 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
40 * emultempl/beos.em: Likewise.
41 * emultempl/elf32.em: Likewise.
42 * emultempl/linux.em: Likewise.
43 * emultempl/mipsecoff.em: Likewise.
44 * emultempl/pe.em: Likewise.
45 * emultempl/sunos.em: Likewise.
46
3b1b01cf
TR
472001-05-24 Tom Rix <trix@redhat.com>
48
49 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
50 udate import file format.
51 (change_symbol_mode) New, same
52 (is_syscall) New, same
53 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
54 * emulparams/aixppc64.sh : same
55 * emulparams/aixrs6.sh : same
56 * emulparams/ppcmacos.sh : same
57 * emultempl/aix.em : use strtoull to parse options
58 * Makefile.am : add eaixppc64 emulation for xcoff64
59 * Makefile.in : same
60 * configure.tgt : same
61
62 * scripttempl/aix.sc : default text section offset to 0x10000000
63 default data section offset to 0x20000000
64 add .sv3264 and .sv64 pseudo sections
65 loader and debug sections use the currect section offset.
66
67 * emultempl/aix.em : Add xcoff64 support
68 Add -binitfini support
69 (gld${EMULATION_NAME}_before_parse) -binitfini
70 (gld${EMULATION_NAME}_parse_args) same
71 (gld${EMULATION_NAME}_before_allocation) format change for special
72 sections
73
74 * emulparams/aixppc64.sh : New file for xcoff64 support
75
762000-01-18 H.J. Lu <hjl@gnu.org>
77
57e6abd2
AO
782001-05-23 Alexandre Oliva <aoliva@redhat.com>
79
80 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
81 variable to avoid non-portable shell construct.
82
d1cf510e
NC
832001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
84
85 * ldmain.c (get_emulation): Add -mips5 command line argument.
86
506eee22
NC
872001-05-22 Alexandre Oliva <aoliva@redhat.com>
88
89 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
90 (ELF_INTERPRETER_NAME): Define it.
91 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
92 it.
93 * configure.tgt (targ_emul, targ_extra_emuls)
94 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
95 as primary, elf_i386 as extra.
96 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
97 (eelf_i386_ldso.c): New rule.
98 * Makefile.in: Rebuilt.
99
1002001-05-22 Nick Clifton <nickc@redhat.com>
101
102 * lexsup.c (ld_options): Allow -I to be an alias for
103 --dynamic-linker. This is for Solaris compatability.
104 * ld.texinfo: Document that -I can be used.
105 * ld.1: Regenerate.
106
d1778b88
AM
1072001-05-16 Alan Modra <amodra@one.net.au>
108
109 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
110 whether an input section is the first one assigned to an output
111 section.
112 Assorted formatting fixes.
113
02649152
DD
1142001-05-14 DJ Delorie <dj@delorie.com>
115
116 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
117 * Makefile.in: Ditto.
118
579f31ac
JJ
1192001-05-11 Jakub Jelinek <jakub@redhat.com>
120
121 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
122 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
123 output sections.
124 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
125
8550eb6e
JJ
1262001-05-11 Jakub Jelinek <jakub@redhat.com>
127
128 * ldlang.c (lang_process): Call bfd_merge_sections.
129
8e5a525c
AM
1302001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
131
132 * ldgram.y: Fix typo.
133
1c9acd94
L
1342001-05-03 H.J. Lu <hjl@gnu.org>
135
136 * emultempl/elf32.em: Include "libiberty.h".
137 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
138 basename of the bfd filename.
139 (gld${EMULATION_NAME}_stat_needed): Likewise.
140 (gld${EMULATION_NAME}_try_needed): Likewise.
141 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
142
14fe918e
L
1432001-05-02 H.J. Lu <hjl@gnu.org>
144
145 * emultempl/pe.em: Include <ctype.h>.
146
c7e40348
NC
1472001-05-02 Johan Rydberg <jrydberg@opencores.org>
148
149 * emulparams/elf32openrisc.sh: New file.
150
151 * Makefile.am: Add OpenRISC target.
152 * Makefile.in: Regenerated.
153
154 * configure.tgt: Add openrisc-*-* mapping.
155
1562001-05-02 Nick Clifton <nickc@redhat.com>
157
158 * emultempl/aix.em: Replace buystring with xstrdup.
159 * emultempl/beos.em: Replace buystring with xstrdup.
160
d1b2b2dc
L
1612001-05-02 H.J. Lu <hjl@gnu.org>
162
163 * ldfile.c: Include "libiberty.h".
164 * ldlex.l: Likewise.
165
166 * ldmisc.c (buystring): Removed.
167 * ldmisc.h: Likewise.
168
169 * ldfile.c: Replace buystring with xstrdup.
170 * ldlang.c: Likewise.
171 * ldlex.l: Likewise.
172 * ldmain.c: Likewise.
173 * ldmisc.c: Likewise.
174 * lexsup.c: Likewise.
175 * mpw-eppcmac.c: Likewise.
176
35714f2a
AJ
1772001-04-30 Andreas Jaeger <aj@suse.de>
178
179 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
180
884fb58e
NC
1812001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
182
183 * ldlang.c (load_symbols): Give emulation a chance
184 to process unrecognized file before fatal error is
185 reported, not after.
186
87748b32
NC
1872001-04-27 Sean McNeil <sean@mcneil.com>
188
189 * configure.tgt: Add arm-vxworks target.
190 * scripttempl/armcoff.sc: Support .text or .data as a section name
191 prefix.
192 Define _etext.
35714f2a 193
7ce691ae
C
1942001-04-13 J.T. Conklin <jtc@redback.com>
195
196 * ld.texinfo: Document --fatal-warnings.
197 * ld.1: Regenerate.
198
199 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 200 warnings have been turned into errors.
7ce691ae
C
201 * lexsup.c (OPTION_WARN_FATAL): Define.
202 (ld_options): Entry for --fatal-warnings.
203 (parse_args): Handle OPTION_WARN_FATAL.
204 * ld.h (ld_config_type): Add fatal_warnings field.
205
f5fa8ca2
JJ
2062001-04-13 Jakub Jelinek <jakub@redhat.com>
207
208 * ldmain.c (main): Default to discard_sec_merge.
209 * lexsup.c (OPTION_DISCARD_NONE): Define.
210 (ld_options): Add --discard-none.
211 (parse_args): Handle OPTION_DISCARD_NONE.
212 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
213 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
214 all its input sections match.
215
fdec3cfc
L
2162001-04-05 Steven J. Hill <sjhill@cotw.com>
217
218 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
219 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
220 (eelf32ltsmip.c): New target.
221 (eelf64btsmip.c): Likewise.
222 (eelf64ltsmip.c): Likewise.
223 * Makefile.in: Regenerated.
224
225 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
226 target.
227 (mips*-*-linux-gnu*): Likewise.
228
229 * emulparams/elf32ltsmip.sh: New. Traditional little endian
230 MIPS taget.
35714f2a 231 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
232 target.
233 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
234 endian target.
235
589bad82
HPN
2362001-04-05 Hans-Peter Nilsson <hp@axis.com>
237
238 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
239 correct value of __Stext here.
240 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
241 .startup section.
242
243 * emulparams/crislinux.sh: Remove FIXME.
244
94202e16
AM
2452001-04-02 Alan Modra <alan@linuxcare.com.au>
246
247 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
248 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
249
1268a053
HPN
2502001-03-27 Hans-Peter Nilsson <hp@axis.com>
251
252 * configure.tgt (cris-*-*): Change default emulation to criself.
253 (cris-*-*aout*): New rule.
254
d85e9ff7
AM
2552001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
256
257 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
258 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
259
0879a67a
AJ
2602001-03-26 Andreas Jaeger <aj@suse.de>
261
262 * ld.texinfo (Overview): Fix syntax in texi code.
263
0285c67d
NC
2642001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
265
266 * ld.texinfo: Put @c man indications to generate the ld man page.
267 When generating man, define all the variables. Define SEEALSO
268 and SYNOPSIS. Re-organize some lines to avoid the cross references.
269 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
270 (ld.1): Generate from ld.texinfo.
271 * Makefile.in: Regenerate.
272
c20ec07b
NC
2732001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
274
275 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
276 and '-fdata-sections'. Set the VMA of STABS sections to zero.
277
cc5ce052
UD
2782001-03-17 Ulrich Drepper <drepper@redhat.com>
279
280 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
281 is an absolute path look only for this file and not along the path.
282
a1ab1d2a
UD
2832001-03-17 Ulrich Drepper <drepper@redhat.com>
284
285 * emultempl/elf32.em (OPTION_GROUP): New macro.
286 Add new option Bgroup to longopts.
287 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
288 (gld*_list_options): Add -Bgroup and -z defs.
289 * ld.1: Document -Bgroup and -z defs.
290 * ld.texinfo: Likewise.
291
788fca5a
MM
2922001-03-07 Michael Meissner <meissner@redhat.com>
293
294 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
295 with sections created by -fdata-sections.
296 (.dynbss,.bss): Ditto.
297
1c7566d1
AM
2982001-03-05 Alan Modra <alan@linuxcare.com.au>
299
300 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
301 after_allocation_default, not gld..._before_allocation.
302
1688b748
MH
3032001-02-28 Matt Hiller <hiller@redhat.com>
304
305 * testsuite/ld-scripts/crossref.exp: Initialize flags to
306 [big_or_little_endian].
307 * testsuite/ld-undefined/undefined.exp: Ditto, and include $flags
308 in ld invocations.
309 * testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB,
c19bd1c6 310 -eb, -EL and -el.
1688b748
MH
311 (is_endian_output_format): New function.
312 (default_ld_link): Set flags to [big_or_little_endian] only if ld
313 is being invoked such that the output format being used is of
314 known endianness.
315 (default_ld_simple_link): Ditto.
316
27b7e12d
AM
3172001-02-27 Alan Modra <alan@linuxcare.com.au>
318
319 * configure.in (BFD_VERSION): New.
320 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
321 * configure: Regenerate.
322 * Makefile.am: Run "make dep-am"
323 * Makefile.in: Regenerate.
324
2bc551c7
TW
3252001-02-26 Timothy Wall <twall@cygnus.com>
326
327 * emulparams/elf64_aix.sh: Add additional read-only sections;
328 uncomment lines which are now required.
329
1276aefa
NC
3302001-02-26 H.J. Lu <hjl@gnu.org>
331
332 * ldlang.c (open_input_bfds): Set the bfd error handler so
333 that problems can be caught whilst loading symbols.
334 (record_bfd_errors): New function: Report BFD errors and mark
335 the executable output as being invalid.
336
41c49998
TW
3372001-02-22 Timothy Wall <twall@cygnus.com>
338
339 * configure.host: Add configuration for ia64-*-aix*.
340 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
341 Add dependencies for eelf64_aix.c.
342 * Makefile.in: Regenerate.
343 * configure.tgt: Add ia64-*-aix* mapping.
344 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 345 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
346 AIX-specific test.
347
78f85fd7
L
3482001-02-20 H.J. Lu <hjl@gnu.org>
349
350 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
351 false if we found the file.
352
1ac7e077 3532001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
354
355 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
356 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
357
e135f41b
NC
3582001-02-18 lars brinkhoff <lars@nocrew.org>
359
360 * Makefile.am: Add PDP-11 target.
361 * configure.tgt: Likewise.
362 * emulparams/pdp11.sh: New file.
363
a842aceb
DB
3642001-02-17 David O'Brien <obrien@FreeBSD.org>
365
366 * configure.host: Add a generic FreeBSD configuration entry such that
367 all [modern] FreeBSD systems on all platforms will look the same.
368
24174db0
L
3692001-02-14 H.J. Lu <hjl@gnu.org>
370
371 * configure.tgt: Remove mention of earmelf_linux26.
372
30c3c13a
RH
3732001-02-13 Richard Henderson <rth@redhat.com>
374
375 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
376
b46a87b1
L
3772001-02-13 H.J. Lu <hjl@gnu.org>
378
379 * ldexp.h (node_type): Add etree_provided.
380 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
381 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 382 for etree_provided.
b46a87b1
L
383 (exp_print_tree): Handle etree_provided.
384 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
385 etree_provided.
386
f3988fd9
RH
3872001-02-09 David Mosberger <davidm@hpl.hp.com>
388
389 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
390 .IA_64.unwind.* pattern to unwind table section and
391 .IA_64.unwind_info* pattern to unwind info section.
392
a85d7ed0
NC
3932001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
394
395 * Makefile.am: Add linux target for S/390.
396 * Makefile.in: Likewise.
397 * configure.host: Likewise.
398 * configure.tgt: Likewise.
399 * emulparams/elf64_s390.sh: New file.
400 * emulparams/elf_s390.sh: New file.
401
780248c4
JJ
4022001-02-09 Jakub Jelinek <jakub@redhat.com>
403
404 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
405 targ_extra_libpath.
406 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
407
0e2534bd
PB
4082001-02-06 Philip Blundell <philb@gnu.org>
409
410 * Makefile.am: Remove mention of earmelf_linux26.
411 * Makefile.in: Regenerate.
412
46c1ea57
PB
4132001-02-04 Philip Blundell <philb@gnu.org>
414
415 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
416 * emulparams/armelf_linux26.sh: Delete.
417 * configure.tgt: Remove mention of armelf_linux26 emulation.
418
0088edd2
NC
4192001-02-01 Nick Clifton <nickc@redhat.com>
420
421 * ld.1: Replace occurances of -oformat with --oformat.
422
02aa14fb
AM
4232001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
424
425 * ldlang.c (lang_leave_overlay): Don't set lma_region when
426 load_base is specified.
427
f813923c
HPN
4282001-01-24 Hans-Peter Nilsson <hp@axis.com>
429
430 * emultempl/elf32.em: Correct spelling in comments and listed
431 options.
432
c1eb1488
AM
4332001-01-23 Alan Modra <alan@linuxcare.com.au>
434
435 * ldlang.c (lang_leave_overlay): Only set lma_region from the
436 default for the first section of a group of overlay sections.
437
d9fc3714
AM
4382001-01-22 Alan Modra <alan@linuxcare.com.au>
439
440 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
441 * Makefile.in: Regenerate.
442 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
443 Check for null tool_dir.
444
6be0ca94
JW
4452001-01-16 Jim Wilson <wilson@redhat.com>
446
447 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
448 and IA_64.unwind.info.
449
b9247304
L
4502001-01-16 H.J. Lu <hjl@gnu.org>
451
452 * ldlang.c (lang_check): Merge the private data only if the
453 input file has contents.
454
577a0623
AM
4552001-01-14 Alan Modra <alan@linuxcare.com.au>
456
d952f17a
AM
457 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
458
ffd6e9de
AM
459 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
460 enabling search for libmilli. On a relocatable link, make .text
461 sections unique.
462 (LDEMUL_AFTER_PARSE): Define.
463 (hppaelf_finish): Correct spelling of relocatable in comments.
464
577a0623
AM
465 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
466 rummage through the script for sections on the unique list.
467 Correct length of strncmp for ".note".
468 (gld${EMULATION_NAME}_check_needed): Rearrange function.
469
470 * ldlang.c (unique_section_list): New var.
471 (unique_section_p): New function.
472 (walk_wild_section): Don't match sections on unique_section_list.
473 (lang_add_unique): New function.
ffd6e9de 474 Correct spelling of relocatable in comments.
577a0623
AM
475
476 * ldlang.h (struct unique_sections): Declare.
477 (unique_section_list): Declare.
478 (unique_section_p): Declare.
479 (lang_add_unique): Declare.
480
481 * lexsup.c (ld_options): Allow --unique to take an optional arg.
482 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
483
484 * ld.texinfo (--unique): Update.
485
b7ed8fad
NC
4862001-01-13 Nick Clifton <nickc@redhat.com>
487
488 * lexsup.c (parse_args): Remove spurious white space.
489
d0398d6a
NC
4902001-01-12 Nick Clifton <nickc@redhat.com>
491
492 * lexsup.c (parse_args): Update copyright date.
493
350fdb00
PB
4942001-01-12 Philip Blundell <pb@futuretv.com>
495
496 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
497
60c6797e
KH
4982001-01-10 Kazu Hirata <kazu@hxi.com>
499
500 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
501 * scripttempl/h8300h.sc: Fix formatting.
502 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
503 * scripttempl/h8500.sc: Likewise.
504 * scripttempl/h8500b.sc: Likewise.
505 * scripttempl/h8500c.sc: Likewise.
506 * scripttempl/h8500m.sc: Likewise.
507 * scripttempl/h8500s.sc: Likewise.
60c6797e 508
482e8b32
DB
5092000-01-07 David O'Brien <obrien@BSDi.com>
510
511 * emultempl/elf32.em: Only perform Linux ld hints processing when
512 targeting Linux.
513
d7ed7ca6
PB
5142001-01-07 Philip Blundell <philb@gnu.org>
515
516 * ld.texinfo (Bug Reporting): Update email address for reports.
517
0fc3347a
NC
5182000-12-31 Nick Clifton <nickc@redhat.com>
519
520 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
521 options by checking for a return value of '?' not -1.
522
e4897a32
NC
5232000-12-28 Nick Clifton <nickc@redhat.com>
524
525 * lexsup.c (struct ld_option): Add new enum value:
526 EXACTLY_TWO_DASHES.
527 (ld_options[]): Change -omagic, -output and -oformat options
528 to be EXACTLY_TWO_DASHES.
529 (OUTPUT_COUNT): Use ARRAY_SIZE.
530 (parse_args): Change parameter 'argc' to unsigned.
531 Place EXACTLY_TWO_DASHES options into new really_longopts
532 array.
533 If getopt_long_only fails, try calling getopt_long using the
534 really_longopts array.
535 (help): Print a double dash for both EXACTLY_TWO_DASHES and
536 TWO_DASHES options.
537
538 * ldlex.h: Fix prototype of parse_args.
539
540 * ld.texinfo: Document that long options starting with 'o'
541 must be preceeded by two dashes. Change example of a single
542 dashed long option from -oformat to -trace-symbol.
543
1122a5fc
NC
5442000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
545
546 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
547 (longopts[]): New --no-default-excludes option.
548 (gld_${EMULATION_NAME}_list_options): Document.
549 (gld_${EMULATION_NAME}_parse_args): Handle.
550
037849a9
NC
5512000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
552
553 * ldlang.c (new_stat): Revert the last beautification with "innocent"
554 whitespace, it breaks the K&R C preprocessor.
555
7ec229ce
DD
5562000-12-11 DJ Delorie <dj@redhat.com>
557
558 * ld.texinfo: Add notes about --whole-archive and gcc.
559
b79e8c78
NC
5602000-11-18 Fred Fish <fnf@be.com>
561
562 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
563 (ld_options): Entry for --allow-shlib-undefined.
564 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
565 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
566 to false.
567 * ld.texinfo: Document new command line switch.
d952f17a 568
9a8e2505
GK
5692000-12-12 Geoffrey Keating <geoffk@redhat.com>
570
571 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
572 .fixup is actually read/write.
573 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
574 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
575 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
576
b8355149
JH
577Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
578
579 * NEWS: Add note about x86_64 architecture.
580
93b63cd3
DD
5812000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
582
583 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
584 Set DWARF2 sections to a VMA of zero.
585
24f6971a
NC
5862000-12-01 Joel Sherrill <joel@OARcorp.com>
587
d952f17a 588 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
589 New targets.
590 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
591 (sparc*-*-rtems*): Switched from a.out to ELF.
592
2be3aa03
NC
5932000-11-30 Jan Hubicka <jh@suse.cz>
594
595 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
596 (eelf_x86_64.c): New.
597 * Makefile.in: Regenerate.
598 * configure.tgt: Add support for x86_64-*-linux-gnu*.
599 * emulparams/elf_x86_64.sh: New.
600
8c899858
HPN
6012000-11-30 Hans-Peter Nilsson <hp@axis.com>
602
603 * emulparams/crislinux.sh (ENTRY): Change back to _start.
604 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
605
606 * scripttempl/crisaout.sc: Change all RELOCATING not related to
607 merging non-a.out sections into CONSTRUCTING.
608
e47b9e39
NC
6092000-11-28 Nick Clifton <nickc@redhat.com>
610
611 * ld.1 (COPYING): Mention that the GNU Free Documentation
612 License is present in the sources, but not the output, and
613 also available from the GNU website.
614 (GNU Free Documentation License): Comment out this section.
615
ad95f82a
DB
6162000-11-28 David O'Brien <obrien@dragon.nuxi.com>
617
618 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
619 does not use them.
620
fd89e65f
DB
6212000-11-25 David O'Brien <obrien@FreeBSD.org>
622
623 * ld.1: Remove old date so it does not give the impression the manpage
624 is way out of date.
625
077b8428
NC
6262000-11-24 Nick Clifton <nickc@redhat.com>
627
628 * configure.tgt (xscale-coff): Add target.
629 (xscale-elf): Add target.
630
49425d28
NC
6312000-11-24 Fred Fish <fnf@be.com>
632
d952f17a
AM
633 * ldmain.c (main): Remove redundant init of config.make_executable
634 to true.
49425d28 635
d3480244
RH
6362000-11-15 Richard Henderson <rth@redhat.com>
637
638 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
639
1ce7de8b
KH
6402000-11-14 Kazu Hirata <kazu@hxi.com>
641
642 * scripttempl/h8300.sc: Fix formatting.
643 * scripttempl/h8300h.sc: Likewise.
644 * scripttempl/h8300s.sc: Likewise.
645
208d5cd0
DC
646Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
647
648 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
649
2e418547
PB
6502000-11-09 Philip Blundell <pb@futuretv.com>
651
652 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
653 around orphan sections whose names can be represented in C.
654
c940e6fc
JW
6552000-11-07 Jim Wilson <wilson@redhat.com>
656
657 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
658 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
659
704c465c
NC
6602000-11-06 Nick Clifton <nickc@redhat.com>
661
662 * ld.texinfo: Add GNU Free Documentation License.
663 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 664 * ld.1: Add GNU Free Documentation License.
704c465c 665
dca7760f
AM
6662000-11-05 Alan Modra <alan@linuxcare.com.au>
667
668 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
669 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
670
671 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
672 Move 2000-11-02 Makefile.in changes to this file.
673 * Makefile.in: Regenerate.
674
40a633d5
NC
6752000-11-03 Nick Clifton <nickc@redhat.com>
676
677 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
678 constructors and destructors.
679 * scripttempl/h8300h.sc: Ditto.
680 * scripttempl/h8300s.sc: Ditto.
681 * scripttempl/h8500.sc: Ditto.
682 * scripttempl/h8500b.sc: Ditto.
683 * scripttempl/h8500c.sc: Ditto.
684 * scripttempl/h8500m.sc: Ditto.
685 * scripttempl/h8500s.sc: Ditto.
686 * scripttempl/v850.sc: Ditto.
687 * scripttempl/w65.sc: Ditto.
688 * scripttempl/z8000.sc: Ditto.
689
59ff2774
NC
6902000-11-02 Per Lundberg <plundis@chaosdev.org>
691
692 * Makefile.in (e_i386_chaos.c): New rule.
693 (ALL_EMULATIONS): Added e_i386_chaos.o.
694 * emulparams/elf_i386_chaos.sh: New file.
695 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
696
645571e1
JJ
6972000-10-20 Jakub Jelinek <jakub@redhat.com>
698
699 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
700 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
701 Fix sed invocation, so that it coped with '/' in Solaris 64bit
702 library path suffix.
703 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
704
c5975a45
HPN
7052000-10-18 Hans-Peter Nilsson <hp@axis.com>
706
707 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
708 for consecutive sections.
709
ea20a7da
CC
7102000-10-17 Chandrakala Chavva <cchavva@redhat.com>
711
d952f17a
AM
712 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
713 options.
714 * ld.texinfo: Added notes about this new option.
ea20a7da 715
6e45556a
NC
7162000-10-16 Nick Clifton <nickc@redhat.com>
717
718 * emultempl/pe.em (_after_open): Add tests of return values from
719 bfd functions. Emit appropriate error messages if necessary.
720
b9a69188
NC
7212000-10-13 Nick Clifton <nickc@redhat.com>
722
723 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
724 local variables - they are not used, but leave in the call to
725 bfd_canonicalize_symtab.
b9a69188
NC
726 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
727 pe_dll_search_prefix.
728
627427de 7292000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 730
627427de
DD
731 * emultempl/pe.em (pe_dll_search_prefix): New variable,
732 (longopts): New --dll-search-prefix option.
733 (gld_${EMULATION_NAME}_list_options): Document.
734 (gld_${EMULATION_NAME}_parse_args): Handle.
735 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
736 dynamically, search for a dll named '<prefix><basename>.dll'
737 in preference to 'lib<basename>.dll' if --dll-search-prefix
738 is specified.
739
24376d1b
AM
7402000-10-12 Alan Modra <alan@linuxcare.com.au>
741
742 * ldlang.c (section_already_linked): Set kept_section instead of
743 sec->comdat->sec.
744
e47d05ad
KH
7452000-10-10 Kazu Hirata <kazu@hxi.com>
746
747 * deffile.h: Fix formatting.
748 * lexsup.c: Likewise.
749 * mri.c: Likewise.
750
23a87948
DD
7512000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
752
753 * pe-dll.c (make_one): Do not generate code thunk for DATA
754 exports.
755 (process_def_file): deduce DATA flag for auto-export sumbols.
756
86b1cc60
KH
7572000-10-09 Kazu Hirata <kazu@hxi.com>
758
89cdebba
KH
759 * ld.h: Fix formatting.
760 * ldcref.c: Likewise.
761 * ldctor.h: Likewise.
762 * ldemul.c: Likewise.
763 * ldemul.h: Likewise.
764 * ldexp.c: Likewise.
765 * ldexp.h: Likewise.
766 * ldfile.c: Likewise.
767 * ldfile.h: Likewise.
768 * ldlang.c: Likewise.
769 * ldlang.h: Likewise.
770 * ldmain.c: Likewise.
7bfd51a3
KH
771 * pe-dll.c: Likewise.
772
773 * pe-dll.c: Revert some formatting fixes.
86b1cc60 774
d643799d
KH
7752000-10-08 Kazu Hirata <kazu@hxi.com>
776
777 * pe-dll.c: Fix formatting.
778
08da4cac
KH
7792000-10-05 Kazu Hirata <kazu@hxi.com>
780
781 * ldlang.c: Fix formatting.
782
c2a94a7a
DD
7832000-10-03 DJ Delorie <dj@redhat.com>
784
785 * pe-dll.c (fill_edata): initialize entire block
786 (make_one): fill in correct section.
787
8c95a62e
KH
7882000-10-03 Kazu Hirata <kazu@hxi.com>
789
790 * ldexp.c: Fix formatting.
791
486e80e2
DD
7922000-10-02 DJ Delorie <dj@redhat.com>
793
794 * emultempl/pe.em (gld_*_after_open): detect case where there two
795 import libraries for same dll; rename one to ensure proper link
796 order.
797
798 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
799 typo
800 (generate_edata): fix typo
801
24dd9f75
HPN
8022000-09-29 Hans-Peter Nilsson <hp@axis.com>
803
804 * scripttempl/crisaout.sc (ENTRY): Now __start.
805 (.text): Add default setting for __start.
806 Remove CONSTRUCTORS handling.
807 (/DISCARD/): Add .gnu.warning.*.
808 * emulparams/crislinux.sh (ENTRY): Now __start.
809 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
810 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
811 (ENTRY): Now __start.
812 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
813 (EXECUTABLE_SYMBOLS): Add default setting for __start.
814
4de2d33d
KH
8152000-09-29 Kazu Hirata <kazu@hxi.com>
816
5cc18311
KH
817 * deffile.h: Fix formatting.
818 * ld.h: Likewise.
819 * ldcref.c: Likewise.
4de2d33d 820 * ldctor.c: Likewise.
5cc18311 821 * ldctor.h: Likewise.
4de2d33d 822 * ldemul.c: Likewise.
5cc18311 823 * ldemul.h: Likewise.
4de2d33d 824 * ldexp.c: Likewise.
5cc18311 825 * ldexp.h: Likewise.
4de2d33d 826 * ldfile.c: Likewise.
5cc18311 827 * ldfile.h: Likewise.
4de2d33d 828 * ldlang.c: Likewise.
5cc18311
KH
829 * ldlang.h: Likewise.
830 * lexsup.c: Likewise.
831 * mri.c: Likewise.
832 * pe-dll.c: Likewise.
4de2d33d 833
45b1f63c
DD
8342000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
835
836 * pe-dll.c (process_def_file): Uninitialized data wasn't
837 exported with --export-all-symbols switch.
d952f17a 838
45b1f63c
DD
8392000-09-28 DJ Delorie <dj@redhat.com>
840
841 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
842 noname work properly.
843
47d89dba
AM
8442000-09-28 Alan Modra <alan@linuxcare.com.au>
845
846 * ld.texinfo (HPPA ELF32): New section.
847
848 * emultempl/hppaelf.em (group_size): New.
849 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
850 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
851 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
852 options to prevent abbreviations matching.
853 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
854 (PARSE_AND_LIST_ARGS_CASES): Handle it.
855
36bdbeec
NC
8562000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
857
858 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
859 on the m68*-*-elf target. Make it support COFF input objects.
860
6d5e62f8
KH
8612000-09-21 Kazu Hirata <kazu@hxi.com>
862
863 * ldmain.c: Fix formatting.
864 * ldmisc.c: Likewise.
865 * ldver.c: Likewise.
866 * ldwrite.c: Likewise.
867
e2eb67d9
AM
8682000-09-21 Alan Modra <alan@linuxcare.com.au>
869
870 * ldwrite.c (clone_section): Silence gcc warnings.
871
b3ea3584
AM
8722000-09-20 Alan Modra <alan@linuxcare.com.au>
873
874 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
875 out of memory failure.
876
877 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
878 (clone_section): Handle out of memory failures. Rename var to
879 avoid c++ reserved word.
880
25f72752
AM
8812000-09-18 Alan Modra <alan@linuxcare.com.au>
882
883 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
884 stub_name param to stub_sec_name.
885 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
886
0752970e
NC
8872000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
888
889 * emultempl/m68kelf.em: New file.
890 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
891 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
892 * Makefile.in: Regenerate.
893
92b7e9d8
AM
8942000-09-15 Alan Modra <alan@linuxcare.com.au>
895
896 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
897 only as needed.
898
9b14b192
NC
8992000-09-13 Nick Clifton <nickc@redhat.com>
900
901 * ldmain.c (multiple_definition): Disable relaxation if
902 multiple symbol definitions are encountered - otherwise the
903 linker could abort with an assertion failure.
904
891fa266
NC
9052000-09-10 Nick Clifton <nickc@redhat.com>
906
907 * mri.c: Fix formatting.
908
5d64ca4e
L
9092000-09-07 H.J. Lu <hjl@gnu.org>
910
911 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
912 * configure: Rebuild.
913
dd94604f
L
9142000-09-07 H.J. Lu <hjl@gnu.org>
915
916 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
917 * Makefile.in: Rebuild.
918
71bfc0ae
AM
9192000-09-07 Alan Modra <alan@linuxcare.com.au>
920
921 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
922 broken list handling. Create __start_SECNAME and __stop_SECNAME
923 when no place-holder. Add some comments. Test both SEC_CODE and
924 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 925 Handle case where no output section statement created.
71bfc0ae 926
4a428502
AO
9272000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
928
929 * configure.tgt (sh-*-linux*): Added.
930 * Makefile.am: Added eshelf_linux and eshlelf_linux.
931 * Makefile.in: Rebuilt.
932 * emulparams/shelf_linux.sh: New file.
933 * emulparams/shlelf_linux.sh: New file.
934
f9989030
AM
9352000-09-06 Alan Modra <alan@linuxcare.com.au>
936
937 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
938 try shuffling sections when the orphan happens to be the place
939 holder. Keep count of unique section names generated so we speed
940 the search for a new name.
941
58cccadb
AO
9422000-09-06 Alexandre Oliva <aoliva@redhat.com>
943
944 * configure: Rebuilt with new libtool.m4.
945
5b343f5a
NC
9462000-09-05 Nick Clifton <nickc@redhat.com>
947
948 * Makefile.in: Regenerate.
949 * aclocal.m4: Regenerate.
950 * configure: Regenerate.
951 * config.in: Regenerate.
952 * po/ld.pot: Regenerate.
953
954 * ldint.texinfo: Remove CVS revision marker - it foils local
955 comparisons.
956
957 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 958
a854a4a7
AM
9592000-09-05 Alan Modra <alan@linuxcare.com.au>
960
3231d22e
AM
961 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
962 to stub section flags.
963 (hppa_for_each_input_file_wrapper): New.
964 (hppa_lang_for_each_input_file): New.
965 (lang_for_each_input_file): Define to call above.
966 (multi_subspace): New.
967 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
968 (PARSE_AND_LIST_PROLOGUE): Define.
969 (PARSE_AND_LIST_LONGOPTS): Define.
970 (PARSE_AND_LIST_OPTIONS): Define.
971 (PARSE_AND_LIST_ARGS_CASES): Define.
972 (hppaelf_finish): Call elf32_hppa_set_gp.
973 (hppaelf_set_output_arch): Remove.
974 (LDEMUL_SET_OUTPUT_ARCH): Remove.
975
976 * emulparams/hppalinux.sh (ELFSIZE): Define.
977 (MACHINE): Define.
978 (OTHER_READONLY_SECTIONS): Define.
979 (DATA_PLT): Define.
980 (GENERATE_SHLIB_SCRIPT): Define.
981
5f992e62
AM
982 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
983 to const throughout. Change `void *' to `PTR' throughout.
984 (lang_memory_default): Function is local to file, add `static'.
985
986 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
987 (ehppalinux.c): Likewise.
988 (earmelf.c): Likewise.
989 (earmelf_linux.c): Likewise.
990 (earmelf_linux26.c): Likewise.
991 * Makefile.in: Regenerate.
992
a854a4a7
AM
993 * ld.h (ld_config_type): Add unique_orphan_sections.
994 * lexsup.c (OPTION_UNIQUE): Define.
995 (ld_options): Add "--unique".
996 (parse_args): Handle it.
997 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
998 search for an existing output section if unique_orphan_sections is
999 set. Make use of bfd_get_unique_section_name rather than
1000 duplicating code here.
1001 * ld.texinfo: Describe --unique.
1002
1003 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
1004 optional arg to split-by-file.
1005 (parse_args): Handle them.
1006 * ld.texinfo: Update description of these options.
1007 * ldwrite.c (clone_section): Pass in the section name. Replace
1008 local code with bfd_get_unique_section_name.
1009 (split_sections): Tidy code and comments. Use a list traversal
1010 more appropriate to the list construction. Handle cooked section
1011 sizes. Split when split_by_reloc reached rather than exceeded.
1012 Track section size and split when split_by_file reached. Fix
1013 link_order_tail (even though it's not used).
1014 (ldwrite): Modify condition for calling split_sections to suit
1015 changed split_by_reloc and split_by_file.
1016 * ldmain.c (main): Init config.split_by_reloc and
1017 config.split_by_file to -1.
1018 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
1019 Change split_by_file to bfd_size_type.
1020
18e03609
NC
10212000-09-02 Nick Clifton <nickc@redhat.com>
1022
1023 * configure.in: Increase version number to 2.10.91.
1024 * NEWS: Mention new ability to support removal of duplicate DWARF2
1025 debug information.
1026 * configure: Regenerate.
1027 * aclocal.m4: Regenerate.
1028 * config.in: Regenerate.
1029
3a9d486c
NC
10302000-09-02 Daniel Berlin <dberlin@redhat.com>
1031
1032 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
1033 sections.
a2b64bed 1034 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
1035 * scripttempl/elfd10v.sc: Ditto.
1036 * scripttempl/elfd30v.sc: Ditto.
1037 * scripttempl/elfi370.sc: Ditto.
1038 * scripttempl/elfm68hc11.sc: Ditto.
1039 * scripttempl/elfm68hc12.sc: Ditto.
1040 * scripttempl/elfi386beos.sc: Ditto.
1041 * scripttempl/v850.sc: Ditto.
50bbae35 1042
ac48eca1
AO
10432000-08-31 Alexandre Oliva <aoliva@redhat.com>
1044
1045 * acinclude.m4: Include libtool and gettext macros from the
1046 top level.
1047 * aclocal.m4, configure: Rebuilt.
1048
c13b1b77
NC
10492000-08-25 Nick Clifton <nickc@redhat.com>
1050
1051 * ldlang.c (open_output): When choosing the target for a
1052 particular endianness, do nothing if the target is not
1053 supported.
1054
dcb0bd0e
L
10552000-08-25 H.J. Lu <hjl@gnu.org>
1056
1057 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
1058 check -rpath nor LD_RUN_PATH for cross link.
1059 * ld.texinfo: Document the change.
1060
5bcac8a4
HPN
10612000-08-24 Hans-Peter Nilsson <hp@axis.com>
1062
1063 * NEWS: Mention support for CRIS.
1064
6dd8c765
L
10652000-08-23 H.J. Lu <hjl@gnu.org>
1066
1067 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
1068 the current runpath list from bfd_elf_get_runpath_list ()
1069 before search.
1070
ec4eb78a
L
10712000-08-22 H.J. Lu <hjl@gnu.org>
1072
1073 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
1074 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
1075 LD_LIBRARY_PATH for native linker. Display the needed DSO if
1076 trace_file_tries is non-zero.
1077 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
1078 if trace_file_tries is non-zero.
1079
1080 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 1081 * NEWS: Mention it.
ec4eb78a 1082
22b36938
JE
10832000-08-14 Jason Eckhardt <jle@cygnus.com>
1084
1085 * NEWS: Mention i860 support.
1086
d73e9da0
AS
10872000-08-14 Andreas Schwab <schwab@suse.de>
1088
1089 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 1090 syntax.
d73e9da0 1091
9ac4db9c
GK
10922000-08-10 Geoff Keating <geoffk@cygnus.com>
1093
1094 * scripttempl/elf.sc: Add a comment giving the correspondence
1095 between sections, per-datum sections, and linkonce sections. Make
1096 the comment true even for .bss, .sdata, .sdata2, .sbss, and
1097 .sbss2.
1098
165589e4
JE
10992000-08-10 Jason Eckhardt <jle@cygnus.com>
1100
1101 * emulparams/elf32_i860.sh: New file.
1102 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
1103 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
1104 (eelf32_i860.c): New rule.
1105 * Makefile.in: Regenerate.
1106
345a835d
NC
11072000-08-10 Nick Clifton <nickc@cygnus.com>
1108
1109 * emulparams/mipspe.sh (ENTRY): Add definition.
1110
e374f1d9
NC
11112000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
1112
1113 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
1114 in error message.
1115
236d5abf
NC
11162000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1117
1118 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
1119 the final size of .bss section.
1120 * scripttempl/elfm68hc12.sc: Likewise.
1121
4b209b22
AM
11222000-08-04 Alan Modra <alan@linuxcare.com.au>
1123
1124 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
1125 gld${EMULATION_NAME}_parse_args for consistency. Combine
1126 lastoptind and prevoptind vars, and keep track of last optind.
1127 (gld_${EMULATION_NAME}_list_options): Rename to
1128 gld${EMULATION_NAME}_list_options.
1129
28423a68
AM
11302000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
1131
1132 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
1133 (i586-sco-sysv5uw7.1.0).
1134
b2009ff7
L
11352000-07-27 H.J. Lu <hjl@gnu.org>
1136
1137 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
1138 (PARSE_AND_LIST_PROLOGUE): New.
1139 (PARSE_AND_LIST_LONGOPTS): Likewise.
1140 (PARSE_AND_LIST_OPTIONS): Likewise.
1141 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1142 (PARSE_AND_LIST_EPILOGUE): Likewise.
1143
04925e1e
AM
11442000-07-28 Alan Modra <alan@linuxcare.com.au>
1145
41392f03
AM
1146 * emultempl/armelf.em: Elide functions common to elf32.em,
1147 ie. most of the file.
1148 (arm_elf_after_open): New. Do arm specific things then call
1149 gld${EMULATION_NAME}_after_open.
1150 (arm_elf_before_allocation): New. Call
1151 gld${EMULATION_NAME}_before_allocation then do arm specifics.
1152 (PARSE_AND_LIST_PROLOGUE): Define.
1153 (PARSE_AND_LIST_SHORTOPTS): Define.
1154 (PARSE_AND_LIST_LONGOPTS): Define.
1155 (PARSE_AND_LIST_OPTIONS): Define.
1156 (PARSE_AND_LIST_ARGS_CASES): Define.
1157 (LDEMUL_AFTER_OPEN): Define.
1158 (LDEMUL_BEFORE_ALLOCATION): Define.
1159 (LDEMUL_BEFORE_PARSE): Define.
1160 (LDEMUL_FINISH): Define.
1161
1162 * emultempl/hppaelf.em: Similarly zap most of this file.
1163 (hppaelf_add_stub_section): Prototype.
1164 (hppaelf_layaout_sections_again): Prototype.
1165 (hook_in_stub): Prototype.
1166 (LDEMUL_SET_OUTPUT_ARCH): Define.
1167 (LDEMUL_FINISH): Define.
1168 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
1169
1170 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
1171 (EXTRA_EM_FILE): New.
1172 * emulparams/armelf_linux.sh: Likewise.
1173 * emulparams/armelf_linux26.sh: Likewise.
1174 * emulparams/hppalinux.sh: Likewise.
1175 * emulparams/hppaelf.sh: Likewise.
1176 (NOP): Define.
1177
1178 * emultempl/elf32.em: Fix formatting.
1179 (EXTRA_EM_FILE): Source it.
1180 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1181 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1182 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1183 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1184 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1185 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1186 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1187 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1188 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
1189 allow functions in this file to be overridden.
1190 (PARSE_AND_LIST_SHORTOPTS): Handle it.
1191
1192 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
1193
04925e1e
AM
1194 * emultempl/elf32.em: Reorganize file.
1195
88cdf297
NC
11962000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
1197
1198 * emulparams/elf64alpha.sh: Implement "-taso" emulation
1199 specific option to fit 64-bit executable in the lower
1200 31-bit address range. This is done by changing start
1201 address of .interp (the very first section of executable)
1202 and then setting EF_ALPHA_32BIT elf header flag.
1203
20bccb34
NC
12042000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1205
1206 * emultempl/m68kcoff.em: New file.
1207 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
1208 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
1209 generic.em.
1210 * Makefile.in: Regenerate.
1211
699845ef
L
12122000-07-20 H.J. Lu <hjl@gnu.org>
1213
1214 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
1215 and "disable-new-dtags" to stop getopt from treating -d/-e as
1216 abbreviations for these options.
1217
6c1439be
L
12182000-07-20 H.J. Lu <hjl@gnu.org>
1219
1220 * ld.texinfo: Add documentation for --disable-new-dtags and
1221 --enable-new-dtags.
1222
1223 * ldmain.c (main): Initialize link_info.new_dtags to false.
1224
1225 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
1226 --disable-new-dtags and --enable-new-dtags.
1227 (gld_${EMULATION_NAME}_list_options): Likewise.
1228
28c309a2
NC
12292000-07-05 Kenneth Block <krblock@computer.org>
1230
a2b64bed
NC
1231 * lexsup.c: Add optional style to demangle switch
1232 * ld.texinfo: Document optional style to demangle switch.
50bbae35 1233
9d06555c
HPN
12342000-07-20 Hans-Peter Nilsson <hp@axis.com>
1235
1236 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
1237 ecrislinux.o.
1238 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
1239 Regenerate dependencies.
1240 * Makefile.in: Rebuild.
1241 * configure.tgt (cris-*-*): New target.
1242 * emulparams/crisaout.sh, emulparams/criself.sh,
1243 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
1244 * po/POTFILES.in, po/ld.pot: Regenerate.
1245
19e3be22
L
12462000-07-20 H.J. Lu <hjl@gnu.org>
1247
1248 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
1249 Print out ignored -z options.
1250
e0ee487b
L
12512000-07-19 H.J. Lu <hjl@gnu.org>
1252
19e3be22
L
1253 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
1254 (PARSE_AND_LIST_PROLOGUE): New.
1255 (PARSE_AND_LIST_LONGOPTS): Likewise.
1256 (PARSE_AND_LIST_OPTIONS): Likewise.
1257 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1258
1259 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
1260
1261 * lexsup.c (ld_options): Comment out 'z'.
1262 (parse_args): Likewise.
1263
1264 * emultempl/elf32.em: Include "elf/common.h".
1265 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
1266 options.
1267 (gld_${EMULATION_NAME}_list_options): Likewise.
1268
1269 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 1270
49e56c49
L
12712000-07-19 H.J. Lu <hjl@gnu.org>
1272
1273 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
1274 bfd_elf_set_dt_needed_soname ().
1275
9d68bc82
DD
12762000-07-18 DJ Delorie <dj@cygnus.com>
1277
1278 * pe-dll.c (pe_dll_id_target): check object target name also
1279
53db15ed
HPN
12802000-07-18 Hans-Peter Nilsson <hp@axis.com>
1281
1282 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
1283 ${INIT_END} if relocating.
1284 (.fini): Likewise ${FINI_START} and ${FINI_END}.
1285
0ad8cf4c
DD
12862000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
1287
a2b64bed 1288 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
1289 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1290 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1291 errors introduced by the old dynamic lib search order.
1292
874c8c99
DD
12932000-07-17 DJ Delorie <dj@cygnus.com>
1294
1295 * pe-dll.c (process_def_file): auto-export data items also
1296 (pe_process_import_defs): also see if _imp_ form needed
1297
5b4cf3f4
DD
12982000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
1299
1300 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1301 for dll import libraries
1302
062739d1
NC
13032000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
1304
1305 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 1306 gcc 2.95.2 and later.
062739d1 1307
1c64c4ed
NC
13082000-07-11 Kazu Hirata <kazu@hxi.com>
1309
50bbae35
AM
1310 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1311 message.
1c64c4ed 1312
b71e2778
AM
13132000-07-10 Alan Modra <alan@linuxcare.com.au>
1314
1315 * ldemul.h (struct lang_input_statement_struct): Remove forward
1316 declaration.
1317 (struct search_dirs): Likewise.
1318 * ldfile.h (struct lang_input_statement_struct): Likewise.
1319 Protect file from multiple inclusion.
1320 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1321 declaration from macro to file scope.
1322
1323 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1324 * ldgram.y: Likewise here.
1325 * ldlang.c: And here.
1326 * ldmain.c: And here.
1327 * mpw-elfmips.c: And here.
1328 * mpw-eppcmac.c: And here.
1329 * emultempl/aix.em: And here.
1330 * emultempl/armcoff.em: And here.
1331 * emultempl/armelf.em: And here.
1332 * emultempl/armelf_oabi.em: And here.
1333 * emultempl/beos.em: And here.
1334 * emultempl/elf32.em: And here.
1335 * emultempl/hppaelf.em: And here.
1336 * emultempl/linux.em: And here.
1337 * emultempl/lnk960.em: And here.
1338 * emultempl/pe.em: And here.
1339 * emultempl/sunos.em: And here.
1340 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1341 * mpw-idtmips.c: Ditto.
1342 * emultempl/generic.em: Ditto.
1343 * emultempl/gld960.em: Ditto.
1344 * emultempl/gld960c.em: Ditto.
1345 * emultempl/mipsecoff.em: Ditto.
1346 * emultempl/ticoff.em: Ditto.
1347 * emultempl/vanilla.em: Ditto.
1348
1349 * pe-dll.c: Include ldfile.h
1350 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1351
1352 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1353 arguments to bfd_elf32_size_dynamic_sections call.
1354 (gldelf32ebmip_place_orphan): Add missing arguments to
1355 lang_leave_output_section_statement call.
1356
2ef53d66
L
13572000-07-10 H.J. Lu <hjl@gnu.org>
1358
1359 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1360 DLL_SUPPORT.
1361 (strhash): Likewise.
1362 (compute_dll_image_base): Likewise.
1363 (pe_undef_found_sym): Likewise.
1364 (pe_undef_cdecl_match): Likewise.
1365 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1366 argument "arch" with ATTRIBUTE_UNUSED.
1367
9a8cbb09
AM
13682000-07-10 Alan Modra <alan@linuxcare.com.au>
1369
1370 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1371
1372 From Ryan Bradetich <rbradetich@uswest.net>
1373 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 1374
4900fc06
AM
13752000-07-09 Alan Modra <alan@linuxcare.com.au>
1376
1377 Changes to create multiple linker stubs, positioned immediately
1378 before the section where they are required.
1379 * emultempl/hppaelf.em: Include elf32-hppa.h.
1380 (stub_sec, file_chain): Delete.
1381 (hppaelf_create_output_section_statements): Don't make a stub
1382 section here.
1383 (hook_stub_info): New struct.
1384 (hook_in_stub): New function.
1385 (hppaelf_add_stub_section): New function.
1386 (hppaelf_finish): Do nothing for relocateable links. Modify the
1387 call to elf32_hppa_size_stubs. Move code for updating section
1388 layout from here...
1389 (hppaelf_layaout_sections_again): ..to here, a new function.
1390
1391 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1392 broken list handling. Pass in a pointer to the list.
1393 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
1394 for above changes.
1395 (hppaelf_before_parse): Prototype.
1396 (hppaelf_set_output_arch): Prototype.
1397 (hppaelf_create_output_section_statements): Prototype.
1398 (hppaelf_delete_padding_statements): Prototype.
1399 (hppaelf_finish): Prototype.
1400
1401 Merge from elf32.em
1402 * emultempl/hppaelf.em: Include ctype.h.
1403 (struct orphan_save): New.
1404 (gld${EMULATION_NAME}_place_orphan): New.
1405 (output_rel_find): New.
1406 (hppaelf_get_script): Update from elf32.em.
1407 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1408 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 1409 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
1410
1411 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
1412 ehppalinux.o, sort it. Regenerate dependencies.
1413 (ehppalinux.c): Depend on hppaelf.em
1414 * Makefile.in: Regenerate.
1415
1416 * configure.tgt: targ_emul=hppalinux for hppa*linux
1417
1418 * emulparams/hppalinux.sh: New.
1419 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1420
227aeb07
AM
14212000-07-08 Alan Modra <alan@linuxcare.com.au>
1422
1423 * lexsup.c (parse_args): Copy section name.
1424
28609fd4 14252000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 1426
2ef53d66 1427 * emultempl/pe.em: institute the following search order for
602e90d3
DD
1428 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
1429 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
1430 static lib (libfoo.a) if none of the above are found.
1431
5f577f7d
DD
14322000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
1433
50bbae35 1434 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 1435 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 1436 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
1437 (gld_${EMULATION_NAME}_parse): Handle.
1438 (strhash): New static function.
50bbae35 1439 (compute_dll_image_base): New static function.
5f577f7d
DD
1440 (gld_${EMULATION_NAME}_set_symbols): Use.
1441
9a8cbb09 14422000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
1443
1444 * MAINTAINERS: new
1445
3548145d 14462000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
1447
1448 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
1449 * emulparams/elf32btsmip.sh: New file.
1450 * Makefile.am: Add traditional mips target.
1451 * Makefile.in: Rebuild.
1452
67798033
L
14532000-07-01 H.J. Lu <hjl@gnu.org>
1454
1455 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
1456 automake to use YLWRAP.
1457 * Makefile.in: Rebuild.
1458
0bdaf48b
AM
14592000-07-01 Alan Modra <alan@linuxcare.com.au>
1460
1461 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1462 (CLEANFILES): Add DEPA.
1463 * Makefile.in: Regenerate.
1464
c9e769c2
TW
14652000-06-30 Timothy Wall <twall@ppc>
1466
1467 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
1468 the page in the upper octet of the address.
1469
65aa24b6
NC
14702000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
1471
1472 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
1473
4667035e
AM
14742000-06-24 Alan Modra <alan@linuxcare.com.au>
1475
1476 * NEWS: arm-elf does --gc-sections too.
1477
1581f8c9
AM
14782000-06-22 Alan Modra <alan@linuxcare.com.au>
1479
1480 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1481 find one.
1482 * Makefile.in: Regenerate.
1483
01580992
L
14842000-06-21 H.J. Lu <hjl@gnu.org>
1485
1486 * Makefile.am: Rebuild dependency.
1487 * Makefile.in: Rebuild.
1488
bbeb2e03
L
14892000-06-20 H.J. Lu <hjl@gnu.org>
1490
1491 * Makefile.am: Rebuild dependency.
1492 * Makefile.in: Rebuild.
1493
74459f0e
TW
14942000-06-20 Timothy Wall <twall@cygnus.com>
1495
1496 * scripttempl/tic54xcoff.sc: New.
1497 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
1498 * gen-doc.texi: Add flag for TI COFF.
1499 * ld.texinfo: Add documentation for TI COFF handling switches.
1500 * emultempl/ticoff.em: New. TI COFF handling.
1501 * configure.tgt: Add tic54x target.
1502 * Makefile.am: Add tic54x target.
1503 * Makefile.in: Ditto.
1504
2ab47eed
AM
15052000-06-20 Alan Modra <alan@linuxcare.com.au>
1506
1507 * ldmain.c (set_scripts_dir): Correct pointer comparison when
1508 checking for backslashes.
1509
919e4093
AM
15102000-06-19 Alan Modra <alan@linuxcare.com.au>
1511
1512 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
1513
987fd5b4
AM
15142000-06-18 Alan Modra <alan@linuxcare.com.au>
1515
1516 * NEWS: Update list of targets supporting --gc-sections.
1517
1518 * scripttempl/elf.sc: KEEP .eh_frame contents.
1519 * scripttempl/elfd30v.sc: Same here.
1520
60bcf0fa
NC
15212000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
1522
1523 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
1524 and m68hc11 (elf).
1525 * Makefile.in: Rebuild.
1526 * configure.tgt: Recognize m68hc12 and m68hc11.
1527 * scripttempl/elfm68hc12.sc: New file.
1528 * emulparams/m68hc12elfb: New emulation.
1529 * emulparams/m68hc12elf: New emulation.
1530 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
1531 (includes a memory.x script to define the ROM and RAM banks).
1532 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
1533 New configuration files for support of Motorola 68hc11
1534
c7c54483
AM
15352000-06-15 Alan Modra <alan@linuxcare.com.au>
1536
1537 * ldmain.c (main): Only change SEC_READONLY for final link.
1538
bcef29e6
L
15392000-06-13 H.J. Lu <hjl@gnu.org>
1540
1541 * configure: Regenerate.
1542
946efd95
DB
15432000-06-08 David O'Brien <obrien@FreeBSD.org>
1544
1545 * configure.in (VERSION): Update to show this is the CVS mainline.
1546
57a6fd07
DB
15472000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1548
1549 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
1550 input objects to be ECOFF.
1551 (check_sections): einfo takes %B, not %P, to print a BFD name.
1552
e06cae36
L
15532000-06-05 Michael Matz <matz@ifh.de>
1554
1555 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 1556 version scripts.
e06cae36 1557
d952f17a 1558 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 1559
2f0b56c0
DC
15602000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
1561
1562 * emulparams/avr1200.sh (STACK): Define as 0.
1563 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
1564 * emulparams/avr4433.sh (STACK): Likewise.
1565 * emulparams/avr44x4.sh (STACK): Likewise.
1566 * emulparams/avr85xx.sh (STACK): Likewise.
1567 * emulparams/avrmega103.sh (STACK): Likewise.
1568 * emulparams/avrmega161.sh (STACK): Likewise.
1569 * emulparams/avrmega603.sh (STACK): Likewise.
1570 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
1571 (__stack): Define from ${STACK} for main().
1572
2114f57b
AM
15732000-05-26 Alan Modra <alan@linuxcare.com.au>
1574
1575 * Makefile.am: Update dependencies with "make dep-am"
1576 * Makefile.in: Regenerate.
1577
5af11cab
AM
15782000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1579
1580 * ldmain.c: Include filenames.h.
1581 (set_scripts_dir): Support backslashes in program name.
1582
1f0df59a
NC
15832000-05-22 Igor Shevlyakov <igor@windriver.com>
1584
1585 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
1586 read-only, don't forget to reset SEC_READONLY because it
1587 could be already set.
1f0df59a 1588
176355da
NC
15892000-05-22 Thomas de Lellis <tdel@windriver.com>
1590
50bbae35
AM
1591 * ld.1: Add documentation for new command line option:
1592 --section-start <sectionname>=<sectionorg>
1593 This is a generic version of -Ttext etc. which accepts
1594 any section name as a parameter instead of just text/data/
1595 bss.
1596 * ld.texinfo: More docs.
1597 * NEWS: More docs.
1598 * lexsup.c: (parse_args): Recognize new command line option.
176355da 1599 (ld_options): Add new option.
50bbae35 1600
8c5ff972
L
16012000-05-18 H.J. Lu <hjl@gnu.org>
1602
1603 * lexsup.c (parse_args): `i' == `r', not `q'.
1604
0b76fe77
JL
1605Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
1606
1607 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
1608
a712da20
NC
16092000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
1610 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 1611
a712da20
NC
1612 Add support for '-q' == '--emit-relocs' switch.
1613 * ldmain.c (main): Default to false.
1614 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
1615 * NEWS: Describe the emitrelocations switch.
1616 * ld.texinfo: Describe the emitrelocations switch.
1617
690a460e
NC
16182000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
1619
a2b64bed 1620 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
1621 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
1622 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
1623 link options.
50bbae35 1624
c2f1343c
AM
16252000-05-15 David O'Brien <obrien@FreeBSD.org>
1626
1627 * lexsup.c (parse_args): Update the year in the copyright notice.
1628
897083bd
AM
16292000-05-13 Alan Modra <alan@linuxcare.com.au>
1630
1631 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
1632 Replace defines with those from intl/libgettext.h to quieten gcc
1633 warnings.
1634
cd4c806a
L
16352000-05-10 H.J. Lu <hjl@gnu.org>
1636
1637 * ldlang.c (open_input_bfds): Don't load the same file within
1638 a group again if the whole archive has been loaded already.
1639
93697284
AM
16402000-05-03 Alan Modra <alan@linuxcare.com.au>
1641
1642 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
1643 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
1644 strtoul.
1645
ebd6fc29
JW
1646Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
1647
99a4150f 1648 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 1649
ebd6fc29
JW
1650 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1651 host "ia64-*-linux-gnu*".
1652
a1934524
AM
16532000-04-29 Andreas Jaeger <aj@suse.de>
1654
1655 * ld.h: Correctly check GCC version.
1656
730a39a0
JL
1657Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
1658
1659 * Makefile.am: Add PA64 support. Add missing dependencies for
1660 PA32 elf support.
1661 * Makefile.in: Rebuilt.
1662 * configure.tgt: Add PA64 support (currently disabled).
1663
aea4bd9d
AM
16642000-04-25 Alan Modra <alan@linuxcare.com.au>
1665
1666 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
1667 (output_rel_find): New function.
1668 (hold_section, hold_use): Delete.
1669 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1670 hold_interp): Make local to place_orphan.
1671 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
1672 rather than place_section to find possible previous use of orphan.
1673 Similarly find the place-holder output sections. Use returned
1674 value from lang_enter_output_section_statement rather than calling
1675 lang_output_section_statement_lookup.
1676 * emultempl/armelf.em: Same here.
1677 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
1678
1679 * ldlang.c (lang_enter_output_section_statement): Return output
1680 section statement.
1681 * ldlang.h (lang_enter_output_section_statement): Change
1682 declaration too.
1683
1684 * ldlang.h (lang_output_section_statement): Export it.
1685 * ldlang.c (lang_output_section_statement): Ditto.
1686
2b5fc1f5
NC
16872000-04-24 Nick Clifton <nickc@cygnus.com>
1688
1689 * ld.texinfo (Output Section Data): Add note that section data
1690 commands cannot appear outside of section directives.
1691
d8475ff6
JL
16922000-04-2 Matthew Green <mrg@cygnus.com>
1693
1694 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
1695
800eeca4
JW
1696Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
1697 David Mosberger <davidm@hpl.hp.com>
1698
1699 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
1700 (eelf64_ia64.c): New rule.
1701 * Makefile.in: Rebuild.
1702 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
1703 * emulparams/elf64_ia64.sh: New file.
50bbae35 1704
c9637625
RH
17052000-04-21 Richard Henderson <rth@cygnus.com>
1706
1707 * scripttempl/elfd30v.sc: Place .gcc_except_table.
1708
28ea9521
AM
17092000-04-19 Alan Modra <alan@linuxcare.com.au>
1710
1711 * dep-in.sed: Match space at start of file name, not at end.
1712
20d04697
L
17132000-04-18 H.J. Lu <hjl@gnu.org>
1714
1715 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
1716 lang_leave_output_section_statement () after calling
1717 lang_enter_output_section_statement ().
1718 * emultempl/armelf.em: Likewise.
1719
5ba47421
AM
17202000-04-18 Alan Modra <alan@linuxcare.com.au>
1721
1722 * emultempl/elf32.em (struct orphan_save): Add section field.
1723 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
1724 better order, and place first orphan section as we did before the
1725 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
1726 Don't call make_bfd_section here, let wild_doit do the job for us.
1727 Don't build a statement list when we'll only throw it away.
1728 * emultempl/armelf.em: Ditto.
1729 * emultempl/pe.em: Similarly.
1730
bdbe5705
GK
17312000-04-14 Geoff Keating <geoffk@cygnus.com>
1732
1733 * scripttempl/elfppc.sc: Remove.
1734 * emulparams/elf32ppc.sh: Use elf.sc.
1735 * emulparams/elf32lppc.sh: Use elf.sc.
1736 * emulparams/elf32ppclinux.sh: Use elf.sc.
1737 * emulparams/elf32ppcsim.sh: New file.
1738 * emulparams/elf32lppcsim.sh: New file.
1739 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
1740 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
1741 * Makefile.in: Regenerate.
1742 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
1743
01cc8ff8
AM
17442000-04-14 Alan Modra <alan@linuxcare.com.au>
1745
5ba47421 1746 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 1747 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
1748 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1749 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
1750 Also set all relocateable section start addresses.
1751
6c86c541
GK
17522000-04-13 Geoff Keating <geoffk@cygnus.com>
1753
1754 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
1755 Add new BSS_PLT variable for when .plt need not be contained in
1756 the file. Move _etext so that it is also after .fini, and provide
1757 both etext and _etext with a leading underscore. Mark the start
1758 and end of .sbss.
1759
6a345e87
AM
17602000-04-12 Alan Modra <alan@linuxcare.com.au>
1761
1762 * emultempl/elf32.em (struct orphan_save): New.
1763 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1764 hold_interp): Make them struct orphan_save.
1765 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
1766 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
1767 the end of the relevant section list. Also add associated section
1768 statements to the end of any previous orphan statements.
1769 * emultempl/armelf.em: Similarly.
1770 * emultempl/pe.em: Similarly.
1771
8be86746
AM
17722000-04-11 Alan Modra <alan@linuxcare.com.au>
1773
1774 * ld.texinfo (Simple Example): Remove extraneous paragraph.
1775
a2d91340 1776Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 1777
a2d91340 1778 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 1779 --enable-build-warnings option.
a2d91340
AC
1780 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1781 * Makefile.in, configure: Re-generate.
1782
41b49281
AM
17832000-04-04 Alan Modra <alan@linuxcare.com.au>
1784
8ad3436c
AM
1785 * po/ld.pot: Regenerate.
1786
1787 * lexsup.c (help): Restore translated part of bug string.
1788
41b49281
AM
1789 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1790 (DEP): Quote when passing vars to sub-make. Add warning message
1791 to end.
1792 (DEP1): Rewrite for "gcc -MM".
1793 (CLEANFILES): Add DEP2.
1794 Update dependencies.
1795 * Makefile.in: Regenerate.
1796
c20f4f8c
AM
17972000-04-03 Alan Modra <alan@linuxcare.com.au>
1798
1799 * ld.h: #include "bin-bugs.h"
1800 * lexsup.c (help): Use REPORT_BUGS_TO.
1801
adde6300
AM
18022000-03-27 Denis Chertykov <denisc@overta.ru>
1803
1804 * configure.tgt (avr-*-*): New target support.
1805 * Makefile.am: Likewise.
1806 * scripttempl/elf32avr.sc: New script file.
1807 * emulparams/avr1200.sh: New file.
1808 * emulparams/avr23xx.sh: New file.
1809 * emulparams/avr4433.sh New file.
1810 * emulparams/avr44x4.sh New file.
1811 * emulparams/avr85xx.sh New file.
1812 * emulparams/avrmega103.sh New file.
1813 * emulparams/avrmega161.sh New file.
1814 * emulparams/avrmega603.sh New file.
1815 * Makefile.in: Regenerate.
1816
9282ff41
L
18172000-03-09 Andreas Jaeger <aj@suse.de>
1818
1819 * Makefile.am (check-DEJAGNU): Also unset LANG.
1820 * Makefile.in: Rebuild.
1821
a9998805
ILT
18222000-03-06 Ian Lance Taylor <ian@zembu.com>
1823
1824 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
1825 archive.
1826
f9bc20e7
NC
18272000-03-02 H.J. Lu <hjl@gnu.org>
1828
1829 * emulparams/elf32mcore.sh: Include "getopt.h".
1830
4e277b38
ILT
18312000-03-01 Ian Lance Taylor <ian@zembu.com>
1832
1833 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
1834
f0c87f88
NC
18352000-03-01 H.J. Lu <hjl@gnu.org>
1836
1837 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
1838 * emulparams/shpe.sh: Likewise.
1839
18402000-03-01 Nick Clifton <nickc@cygnus.com>
1841
1842 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
1843 to unused parameters.
1844
1845 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
1846 functions only used by DLL code.
1847 (_place_orphan): Initialise 'dollar'.
1848
b6f29aaa
L
18492000-03-01 H.J. Lu <hjl@gnu.org>
1850
1851 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
1852 indicate if the undefined symbol is a fatal error or not.
1853 Don't delete the output file if "fatal" is false.
1854
af28fce3
L
18552000-02-29 H.J. Lu <hjl@gnu.org>
1856
50bbae35 1857 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
1858 Set LC_COLLATE and LC_ALL to null and export them. It is for
1859 sort which expects the C locale.
1860 Add $(LIBS) to all $(HOSTING_LIBS).
1861 * Makefile.in: Rebuild.
1862
40d109bf
AM
18632000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
1864
1865 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
1866 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
1867 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
1868 (ld_emulation_xfer_struct): Add missing NULL initialiser for
1869 find_potential_libraries.
1870
db5be682
JB
18712000-02-28 Jim Blandy <jimb@redhat.com>
1872
1873 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 1874 list entries; the lexer considers commas to be valid part of a
db5be682
JB
1875 filename, so in something like `foo, bar' the comma is considered
1876 part of the first filename, `foo,'.
1877 * ld.texinfo: Update section on EXCLUDE_FILE lists.
1878
3558ff4c
ILT
18792000-02-27 Loren J. Rittle <ljrittle@acm.org>
1880
1881 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1882 host "i[3456]86-*-freebsdelf*".
1883
4eee2681
ILT
18842000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
1885
1886 * scripttempl/i386go32.sc: Move misplaced semicolons.
1887
8d75d12d
ILT
18882000-02-25 Ian Lance Taylor <ian@zembu.com>
1889
1890 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
1891 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
1892 (eelf64hppa.c, ehppaelf.c): Remove targets.
1893 * Makefile.in: Rebuild.
1894
a1836d49
AO
18952000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1896
ad51fb57
AO
1897 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
1898 GNU/Linux/sparc, but keep the default as 32.
1899
a1836d49
AO
1900 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
1901 it default if sparcv9 or sparc64.
1902
344a211f
NC
19032000-02-24 Nick Clifton <nickc@cygnus.com>
1904
1905 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
1906 * Makefile.in: Regenerate.
1907 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
1908
1909 * ldemul.h (ld_emulation_xfer_struct): Add new field:
1910 find_potential_libraries.
1911 * ldemul.c (ldemul_find_potential_libraries): New function.
1912
1913 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 1914 exported.
344a211f
NC
1915 (ldfile_open_file): Call ldemul_find_potential_libraries.
1916 * ldfile.h: Add prototype for ldfile_open_file_search.
1917
1918 * pe-dll.c: Add support for ARM, MIPS and SH targets.
1919
1920 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
1921 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
1922
1923 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
1924 (gld_X_find_potential_libraries): New function. Search for
1925 libraries called "*.lib".
1926
a2b64bed 1927 * scripttempl/pe.sc: Add .pdata section.
344a211f 1928
eaba1dd3
RH
19292000-02-23 Richard Henderson <rth@cygnus.com>
1930
1931 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
1932 Add and use memory regions.
1933
5b93d8bb
AM
19342000-02-23 Linas Vepstas (linas@linas.org)
1935
1936 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
1937
1938 * Makefile.am: Add support for Linux/IBM 370.
1939 * configure.tgt: Likewise.
1940
1941 * Makefile.in: Regenerate.
1942
f6af82bd
AM
19432000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1944
1945 * ldlang.c (print_input_section, print_data_statement,
1946 print_reloc_statement, print_padding_statement, insert_pad,
1947 size_input_section, lang_check_section_addresses,
1948 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 1949 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
1950 (lang_do_assignments): Also change `size' to unsigned.
1951
9e673ad1
RH
19522000-02-16 Richard Henderson <rth@cygnus.com>
1953
1954 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
1955
562d3460
TW
19562000-02-16 Timothy Wall <twall@cygnus.com>
1957
1958 * mri.c (mri_draw_tree): Add default LMA region argument to call
1959 to lang_leave_output_section_statement.
1960 * ldlang.h: Update prototypes with LMA region arguments.
1961 * ldlang.c (lang_size_sections): Encapsulate region bounds
1962 checking in os_check_region call.
1963 (os_check_region): New function.
1964 (lang_output_section_statement_lookup): Initialize lma_region.
1965 (lang_leave_output_section_statement): Add LMA region argument.
1966 (lang_leave_overlay): Ditto.
1967 * ldgram.y: Handle LMA region syntax.
1968 * ld.texinfo (Output Section Description): Describe LMA region usage.
1969 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 1970 lma region in call to lang_leave_output_section_statement.
562d3460 1971 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 1972 lma region in call to lang_leave_output_section_statement.
562d3460 1973 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 1974 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
1975
1976
9e4ed18c
TW
19772000-02-04 Timothy Wall <twall@redhat.com>
1978
1979 * ldlang.c (lang_check_section_addresses): Use bytes instead of
1980 octets when calculating section end addresses.
1981
32edc927
TW
19822000-02-04 Timothy Wall <twall@redhat.com>
1983
1984 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
1985
4cbfc3ac
TW
19862000-02-03 Timothy Wall <twall@redhat.com>
1987
a2b64bed 1988 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 1989 octet count.
a2b64bed 1990 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
1991 print_reloc_statement, print_padding_statement): Print target
1992 address values and section sizes as bytes, not octets.
1993 (insert_pad) Calculate padding size in octets, and adjust "dot"
1994 by bytes.
1995 (size_input_section) Always adjust "dot" by bytes, not octets.
1996 (lang_check_section_addresses, lang_do_assignments) Adjust
1997 "dot" by bytes, not octets. Use the larger of the directive size
1998 or octets_per_byte for the number of octets actually allocated in
1999 the output section.
2000 (lang_set_startof) Make sure STARTOF returns a target address.
2001 (lang_one_common) Record size changes in octets.
2002 (lang_abs_symbol_at_end_of) Section end symbol's value is
2003 recorded in target bytes.
2004 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
2005 to be clear about behavior when an octet is smaller than one byte.
50bbae35 2006
305c7206
AM
20072000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2008
2009 * ldcref.c (output_cref): Don't pass message strings to printf
2010 as format arg.
2011 Update copyright.
2012
2013 * ldmisc.c (vfinfo): Same here.
2014 Update copyright.
2015
e1c47aa4
AM
20162000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
2017
2018 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
2019 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
2020 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
2021 Add missing NULL initialisers, and comments.
2022
2023 * testsuite/ld-srec/sr3.cc (__rethrow): New.
2024
13392b77
NC
20252000-01-21 Nick Clifton <nickc@cygnus.com>
2026
2027 * ldlang.c (lang_size_sections): Fix typo in comment.
2028
cce4c4c5
NC
20292000-01-18 H.J. Lu <hjl@gnu.org>
2030
2031 * ldlang.c (lang_size_sections): Also update the current
2032 address of a region if the SEC_NEVER_LOAD bit is not set.
2033
0decc840
NC
20342000-01-10 Philip Blundell <pb@futuretv.com>
2035
2036 * configure.tgt (arm*-*-conix*): New target.
2037
4e53152f
NC
20382000-01-07 Nick Clifton <nickc@cygnus.com>
2039
2040 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
2041 line switches with -Wl, (or whatever is appropriate) if it is
2042 being invoked by a comnpiler driver program.
50bbae35 2043 Fix description of the behaviour of the -n command line switch.
4e53152f 2044
18625d54
CM
2045Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
2046
2047 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
2048 (name_list): New.
2049 * ld.texinfo (EXCLUDE_FILE): Update documentation.
2050 * ldgram.y (wildcard_spec): Support a list of excluded_files.
2051 (exclude_name_list): New.
2052 ldlang.c (walk_wild_section): Support list of excluded files.
2053 (print_wild_statement): Likewise.
2054 (lang_add_wild): Likewise.
2055 * ldlang.h (lang_wild_statement_type): Likewise.
2056 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 2057
5aaace27
NC
20582000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2059
870df5dc
NC
2060 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
2061 (process_def_file): Use.
2062 (pe_dll_compat_implib): New variable.
2063 (make_one): Use.
50bbae35 2064
870df5dc
NC
2065 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
2066 pe_dll_compat_implib.
50bbae35
AM
2067
2068 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
2069 compat-implib options.
2070 (gld_${EMULATION_NAME}_list_options): List new options.
2071 (gld_${EMULATION_NAME}_parse_args): Handle.
2072
50bbae35 2073 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 2074 dll.
50bbae35
AM
2075
2076 * deffilep.y (opt_name): Allow "." in name.
5aaace27 2077
2f6d2f85 2078For older changes see ChangeLog-9899
252b5132
RH
2079\f
2080Local Variables:
2081mode: change-log
2082left-margin: 8
2083fill-column: 74
2084version-control: never
2085End:
This page took 0.204097 seconds and 4 git commands to generate.