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