* ld-cris/libdso-2.d: Tweak for combreloc now default on.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
b4477fa8
NC
12002-05-27 Per Lundberg <per@caleb.dnsalias.org>
2
3 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
4 * Makefile.in: Regenerate.
5 * emulparams/elf_chaos.sh: Use elf_chaos script.
6 * scripttempl/elf_chaos.sc: New file.
7
ee3cc2e2
RS
82002-05-27 Richard Sandiford <rsandifo@redhat.com>
9
10 * ldlang.c (lang_size_sections_1): Move check for conflicting load
11 addresses and regions from here...
12 (lang_get_regions): ...to this new function.
13 (lang_leave_output_section_statement): Use lang_get_regions.
14 (lang_leave_overlay): Likewise.
15 * mri.c (mri_draw_tree): Pass null as last argument to
16 lang_leave_output_section_statement.
17 * emultempl/elf32.em (gld*_place_orphan): Likewise.
18 * emultempl/mmo.em (mmo_place_orphan): Likewise.
19 * emultempl/pe.em (gld*_place_orphan): Likewise.
20
aa501e5c
JT
212002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
22
23 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
24
658957db
KH
252002-05-25 Kazu Hirata <kazu@cs.umass.edu>
26
27 * ldemul.c: Fix formatting.
28 * ldfile.c: Likewise.
29 * pe-dll.c: Likewise.
30 * pe-dll.h: Likewise.
31
3511b595
AM
322002-05-25 Alan Modra <amodra@bigpond.net.au>
33
0d6d936f
AM
34 * ldlang.c (lang_process): Formatting, grammar.
35
3511b595
AM
36 * ldlex.l: Use #include "" instead of <> for local header files.
37
436e8db0
NC
382002-05-24 TAMURA Kent <kent@netbsd.org>
39
40 * configure.tgt: Add a target for i386-netbsdpe.
41
13ae64f3
JJ
422002-05-23 Jakub Jelinek <jakub@redhat.com>
43
44 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
45 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
46 output section if necessary. Handle .tbss.
47 (lang_size_sections): Clear _raw_size for .tbss section
48 (it allocates space in PT_TLS segment only).
49 * ldwrite.c (build_link_order): Build link order for .tbss too.
50
68b2fc7a
AM
512002-05-23 Alan Modra <amodra@bigpond.net.au>
52
53 * configure.in: Correct spelling of AC_PREREQ.
54
70b0be79
CF
552002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
56
57 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
58 default.
59 (autofilter_objlist): Add crtbegin.o, crtend.o.
60
612002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
62
63 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
64 (longopts): Add new option --exclude-libs.
65 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
66 (gld_${EMULATION_NAME}_parse_args): Use it.
67 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
68 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
69 from whole archives.
70 (pe_dll_add_excludes): Set excludes->type.
71 (auto_export): Add new variable libname and set to archive basename if
72 abfd. Use it when filtering default and user-specified libarary
73 excludes. Let string "ALL" mean all libs when filtering user-specified
74 libs.
75 * ld.texinfo: Document --exclude-libs.
76
fac1652d
AM
772002-05-22 Alan Modra <amodra@bigpond.net.au>
78
79 * ldemul.c (ldemul_new_vers_pattern): New function.
80 * ldemul.h (ldemul_new_vers_pattern): Declare.
81 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
82 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
83 * emultempl/ppc64elf.em (dotsyms): New static var.
84 (gld${EMULATION_NAME}_new_vers_pattern): New function.
85 (LDEMUL_NEW_VERS_PATTERN): Define.
86 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
87 (PARSE_AND_LIST_LONGOPTS): Likewise.
88 (PARSE_AND_LIST_ARGS_CASES): Handle them.
89 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
90 initialiser.
91 * emultempl/armcoff.em: Likewise.
92 * emultempl/armelf_oabi.em: Likewise.
93 * emultempl/beos.em: Likewise.
94 * emultempl/elf32.em: Likewise.
95 * emultempl/generic.em: Likewise.
96 * emultempl/gld960.em: Likewise.
97 * emultempl/gld960c.em: Likewise.
98 * emultempl/linux.em: Likewise.
99 * emultempl/lnk960.em: Likewise.
100 * emultempl/m68kcoff.em: Likewise.
101 * emultempl/mipsecoff.em: Likewise.
102 * emultempl/pe.em: Likewise.
103 * emultempl/sunos.em: Likewise.
104 * emultempl/ticoff.em: Likewise.
105 * emultempl/vanilla.em: Likewise.
106
eb3d6bb8
AM
1072002-05-22 Alan Modra <amodra@bigpond.net.au>
108
109 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
110 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
111 (LIB_SEARCH_DIRS): No need to use "tr".
112 (COMPILE_IN): Only set for native targets.
113 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
114 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
115 * configure.tgt (powerpc*): Set tdir_*.
116 (powerpcle*): Correct targ_extra_emuls.
117 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
118 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
119
54f24647
AM
1202002-05-22 Alan Modra <amodra@bigpond.net.au>
121
122 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
123 calling lang_add_entry.
124
aa713662
L
1252002-05-21 H.J. Lu (hjl@gnu.org)
126
127 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
128 "-z muldefs".
129 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
130
131 * ld.texinfo: Updated for --allow-multiple-definition and
132 "-z muldefs".
133
134 * ldmain.c (main): Initialize the allow_multiple_definition
135 field to false.
136
137 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
138 (ld_options): Add --allow-multiple-definition.
139 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
140
658f2588
JT
1412002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
142
143 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
144 (earmelfb_nbsd.c): New rule.
145 * Makefile.in: Regenerate.
146 * configure.tgt (armeb-*-netbsdelf*): New target.
147 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
148 (arm-*-netbsd*): Likewise.
149 * emulparams/armelfb_nbsd.sh: New file.
150
ca10c62d
TR
1512002-05-18 Tom Rix <trix@redhat.com>
152
153 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
154 support.
155
fae1e84f
MM
1562002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
157
158 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
159 * Makefile.in: Regenerate.
160 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
161
7c8bf1e8
MM
1622002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
163
164 * emulparams/avr1.sh: New file.
165 * emulparams/avr2.sh: New file.
166 * emulparams/avr3.sh: New file.
167 * emulparams/avr4.sh: New file.
168 * emulparams/avr5.sh: New file.
169 * scripttempl/avr.sc: New file.
170
c2c01aa7
AM
1712002-05-15 Alan Modra <amodra@bigpond.net.au>
172
173 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
174 (lang_place_orphans): Abort if just_syms_flag.
175
f1f0d9ab
TR
1762002-05-10 Tom Rix <trix@redhat.com>
177
178 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
179 architecture and machine information in the output bfd.
180 (gld*_before_parse): Remove old arch and machine code.
181 (choose_target): Rename to gld*_choose_target.
182 (rtld): Change type to int.
183 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
184 objects in XCOFF archives.
185 * ldfile.h: Update copyright date.
186
f4d73366
JJ
1872002-05-10 Jakub Jelinek <jakub@redhat.com>
188
189 * ldmain.c (main): Enable -z combreloc by default.
190
d3d8a9ee
NC
1912002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
192
193 * Makefile.am: Honour DESTDIR.
194 * Makefile.in: Regenerate.
195
9f88b410
RS
1962002-05-07 Richard Sandiford <rsandifo@redhat.com>
197
198 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
199 (lang_enter_overlay): Remove the last two parameters.
200 (lang_leave_overlay): Take them here instead.
201 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
202 (section): Pass LMA and crossref flag to lang_leave_overlay rather
203 than lang_enter_overlay.
204 * ldlang.c (lang_memory_region_lookup): Return null for null names.
205 (lang_output_section_statement_lookup): Initialize update_dot_tree.
206 (lang_size_sections_1): Evaluate it.
207 (lang_leave_output_section_statement): Rework LMA lookup.
208 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 209 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
210 (lang_enter_overlay_section): Don't set the LMA here.
211 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
212 assignment to the last section's update_dot_tree. Unconditionally
213 use the load and run-time regions specified in the OVERLAY statement.
214 Likewise the first section's LMA. Only set the other sections' LMAs
215 when no load region is given.
216
b9a743c8
NC
2172002-05-06 Nick Clifton <nickc@redhat.com>
218
219 * po/sv.po: New translation.
220
a3d60be3
AM
2212002-05-04 Alan Modra <amodra@bigpond.net.au>
222
223 * emultempl/hppaelf.em (build_section_lists): New function.
224 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
225 and build_section_lists.
226
b7a26f91
KH
2272002-05-03 Kazu Hirata <kazu@cs.umass.edu>
228
229 * ld.h: Fix formatting.
230 * ldexp.c: Likewise.
231 * ldfile.c: Likewise.
232 * ldlang.c: Likewise.
233 * ldmain.c: Likewise.
234 * lexsup.c: Likewise.
235 * pe-dll.c: Likewise.
236
805fc799
AM
2372002-05-02 Alan Modra <amodra@bigpond.net.au>
238
239 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
240 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
241 (build_section_lists): Do output_section tests here.
242
cc7e59b2
TR
2432002-04-30 Tom Rix <trix@redhat.com>
244
245 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
246
9c1d81c1
AM
2472002-05-01 Alan Modra <amodra@bigpond.net.au>
248
249 Long branch stubs, multiple stub sections.
250 * emultempl/ppc64elf.em: Include ldctor.h.
251 (stub_file): New var.
252 (group_size): New var.
253 (ppc_create_output_section_statements): New function.
254 (struct hook_stub_info): New.
255 (hook_in_stub): New function.
256 (ppc_add_stub_section): New function.
257 (ppc_layout_sections_again): New function.
258 (build_section_lists): New function.
259 (gld${EMULATION_NAME}_finish): Rewrite.
260 (real_func): New var.
261 (ppc_for_each_input_file_wrapper): New function.
262 (ppc_lang_for_each_input_file): New function.
263 (lang_for_each_input_file): Define.
264 (PARSE_AND_LIST_PROLOGUE): Define.
265 (PARSE_AND_LIST_LONGOPTS): Define.
266 (PARSE_AND_LIST_OPTIONS): Define.
267 (PARSE_AND_LIST_ARGS_CASES): Define.
268 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
269
aa67bccf
TR
2702002-04-30 Tom Rix <trix@redhat.com>
271
272 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
273 -blibpath, -bnolibpath support.
274
94349e12
MM
2752002-04-30 Mark Mitchell <mark@codesourcery.com>
276
277 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
278 (eelf32ppcwindiss.c): New target.
279 * Makefile.in: Regenerated.
280 * configure.tgt: Add support for powerpc-*-windiss.
281 * emulparams/elf32ppcwindiss.sh: New file.
282
7b17f854
RS
2832002-04-30 Richard Sandiford <rsandifo@redhat.com>
284
285 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
286 * ldexp.c (exp_print_token): Add "infix_p" argument.
287 (exp_print_tree): Update accordingly.
288
596dafeb
AM
2892002-04-28 Alan Modra <amodra@bigpond.net.au>
290
291 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
292 * Makefile.in: Regenerate.
293 * mpw-elfmips.c: Delete.
294 * mpw-eppcmac.c: Delete.
295 * mpw-esh.c: Delete.
296 * mpw-idtmips.c: Delete.
297
a44d7f9c
JR
298Wed Apr 17 19:23:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
299
300 * emulparams/shelf32.sh (MACHINE): Now sh5.
301
944cd72c
TS
3022002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
303
304 * ldgram.y: Fix syntax warning.
305
5835c212
NC
3062002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
307
308 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
309 to prevent "-n" from being taken as an abbreviation for
310 "--no-pipeline-knowledge".
311
024531e2
AM
3122002-04-08 Alan Modra <amodra@bigpond.net.au>
313
d08a14c3
AM
314 * ldlang.c (lang_size_sections_1): Don't complain about
315 SEC_NEVER_LOAD sections having no memory region specified.
316
024531e2
AM
317 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
318
c657a1f0
MG
3192002-04-07 matthew green <mrg@redhat.com>
320
321 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
322
61bef6f1
AM
3232002-04-04 Alan Modra <amodra@bigpond.net.au>
324
325 * dep-in.sed: Cope with absolute paths.
326 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
327 Run "make dep-am".
328 * Makefile.in: Regenerate.
329
49ba2791
TS
3302002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
331
332 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
333
50e60fb5
JJ
3342002-04-03 Jakub Jelinek <jakub@redhat.com>
335
336 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
337 is smaller than maximum, round dot up to common page boundary.
338
6f12f4ca
AM
3392002-03-28 Alan Modra <amodra@bigpond.net.au>
340
341 * configure.host: Set up for generic hosts first, then tweak as
342 necessary in more specific targets.
343 (HOSTING_LIBS): Include libgcc_eh.a if found.
344
a8f1f017
AJ
3452002-03-23 Andreas Jaeger <aj@suse.de>
346
347 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
348
1d3fdf38
AM
3492002-03-21 Alan Modra <amodra@bigpond.net.au>
350
351 * Makefile.am: Run "make dep-am".
352 * Makefile.in: Regenerate.
353
79b1faa8
AM
3542002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
355
356 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
357
fcf0e35b
AM
3582002-03-20 Alan Modra <amodra@bigpond.net.au>
359
360 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
361 add the symbol to the linker hash table immediately.
362 (lang_place_undefineds): Split symbol creation out..
363 (insert_undefined): ..to here.
364
fed2999d
DB
3652002-03-18 David O'Brien <obrien@FreeBSD.org>
366
367 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
368 the contents of the buffer returned from basename function will are
369 getting overwritten while still being used.
370
beb43bb9
JH
371Mon Mar 18 17:38:39 CET 2002 Jan Hubicka <jh@suse.cz>
372 Andreas Jaeger <aj@suse.de>
373 Andreas Schwab <schwab@suse.de>
374
375 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
376 * elf_x86_64.sh (ARCH): Set to i386:x86-64
377 set libraries to default to lib64 paths.
378
eb1e0e80
NC
3792002-03-18 Tom Rix <trix@redhat.com>
380
381 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
382 * configure.tgt : Same.
383 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
384 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
385 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
386 emulation parameters for better -b32, -b64 support.
387 * emulparms/aixrs6.sh : Same.
388 * emulparms/ppcmacos.sh : Same.
389 * emultempl/aix.em (choose_target) : Use new emulation parameters
390 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
391 * Makefile.in : Regenerate.
392
a1c259a1
NC
3932002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
394
395 * po/fr.po: Updated version.
396
862120bd
AM
3972002-03-18 Alan Modra <amodra@bigpond.net.au>
398
399 * ldmain.c (main): Move .text readonly flag fudges from here..
400 * ldlang.c (lang_process): ..to here.
401
d35a52e2
AM
4022002-03-14 Alan Modra <amodra@bigpond.net.au>
403
404 * ldlang.c (lang_check): Remove the word size check added in last
405 change. Treat emitrelocations case as for relocatable links.
406
9ce88e60
NC
4072002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
408
409 * po/fr.po: Updated version.
410
30cba025
AM
4112002-03-13 Alan Modra <amodra@bigpond.net.au>
412
413 * ldlang.c (lang_check): Do relocatable link checks first, so that
414 warn_mismatch can't override. Check compatible and word size too.
415
84ec0e6d
DJ
4162002-03-07 Daniel Jacobowitz <drow@mvista.com>
417
418 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
419
2d13d8c5
JJ
4202002-03-05 Jakub Jelinek <jakub@redhat.com>
421
422 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
423 DATA_SEGMENT_ALIGN.
424
b5090659
L
4252002-03-04 H.J. Lu <hjl@gnu.org>
426
427 * scripttempl/elf.sc: Put .preinit_array, .init_array and
428 .fini_array in the data segment.
429
f42ce16e
AM
4302002-03-04 Alan Modra <amodra@bigpond.net.au>
431
432 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
433
de77b6ac
RH
4342002-03-01 David Mosberger <davidm@hpl.hp.com>
435
436 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
437 .init_array, and .fini_array.
438
997e08c0
AS
4392002-02-20 Andreas Schwab <schwab@suse.de>
440
441 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
442 .IA64_unwind* in a relocatable link.
443
9a66911f
NC
4442002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
445
446 * NEWS: Mark 2.12 branch.
447
d86bcc10
MS
4482002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
449
450 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
451 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
452
69f284c7
TR
4532002-02-18 Tom Rix <trix@redhat.com>
454
455 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
456 (gld*_before_allocation): Same.
a8f1f017 457 (gld*_create_output_section_statements): Generate
69f284c7
TR
458 __rtinit if run time linking. Add librtl.a to the link.
459 (gld*_read_file): Clean.
460
82bd7b59
AM
4612002-02-18 Alan Modra <amodra@bigpond.net.au>
462
463 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
464
ac3e50bf
DB
4652002-02-18 David O'Brien <obrien@FreeBSD.org>
466
6a7f963b 467 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
468 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
469 and eelf64alpha_fbsd.
6a7f963b 470 * Makefile.in: Regenerate.
ac3e50bf
DB
471 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
472 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
473 use a FreeBSD-specific emulation rather than the psABI one.
474 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
475 for all FreeBSD ELF systems.
476 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
477 emulation.
478 * emulparams/elf32ppc_fbsd.sh: Likewise.
479 * emulparams/elf64_ia64_fbsd.sh: Likewise.
480 * emulparams/elf64_sparc_fbsd.sh: Likewise.
481 * emulparams/elf64alpha_fbsd.sh: Likewise.
482 * emulparams/elf_i386_fbsd.sh: Likewise.
483 * emulparams/elf_x86_64_fbsd.sh: Likewise.
484
6ad738c5
NC
4852002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
486
487 * po/tr.po: Updated version.
488
9673c93c
AM
4892002-02-18 Alan Modra <amodra@bigpond.net.au>
490
491 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
492 (FILL): Likewise.
493
1c5e6447
HPN
4942002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
495
496 * emultempl/mmo.em (mmo_after_open): Don't call
497 _bfd_mmix_check_all_relocs when producing ELF output.
498
8bb57516
RH
4992002-02-15 Richard Henderson <rth@redhat.com>
500
de77b6ac 501 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
502 definition. Emit a unop+nop pair.
503
49fda6c8
HPN
5042002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
505
83c2d653
HPN
506 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
507 for presence of .MMIX.reg_contents.linker_allocated before early
508 exit.
509
49fda6c8
HPN
510 * NEWS: Mention support for MMIX.
511
2c382fb6
AM
5122002-02-15 Alan Modra <amodra@bigpond.net.au>
513
514 Support arbitrary length fill patterns.
a139d329
AM
515 * ld.texinfo (Output Section Fill): Describe fill expressions.
516 (FILL): Refer to the above.
2c382fb6
AM
517 * ldexp.h (etree_value_type): Add "str" field.
518 (union etree_union): Add "str" to "value" struct.
519 (exp_bigintop): Declare.
520 (exp_get_fill): Declare.
521 * ldexp.c: Include "safe-ctype.h".
522 (exp_intop): Set value.str to NULL.
523 (exp_bigintop): New function.
524 (new_rel): Pass in "str", and set new.str from it.
525 (new_rel_from_section): Set new.str to NULL.
526 (fold_name): Adjust calls to new_rel.
527 (exp_fold_tree): Likewise.
528 (exp_get_fill): New function.
529 * ldgram.y (struct big_int bigint, fill_type *fill): New.
530 (INT): Returns a "bigint". Adjust all code handling INTs.
531 (fill_opt): Returns a "fill".
532 (fill_exp): Split out of fill_opt, use for FILL.
533 * ldlang.h (struct _fill_type): New.
534 (fill_type): Move typedef to ldexp.h.
535 (lang_output_section_statement_type): "fill" is now a pointer.
536 (lang_fill_statement_type): Likewise.
537 (lang_padding_statement_type): Likewise.
538 (lang_add_fill): Now takes a "fill_type *" param.
539 (lang_leave_output_section_statement): Likewise.
540 (lang_do_assignments): Likewise.
541 (lang_size_sections): Likewise.
542 (lang_leave_overlay_section): Likewise.
543 (lang_leave_overlay): Likewise.
544 * ldlang.c: Include ldgram.h after ldexp.h.
545 (lang_output_section_statement_lookup): Adjust for fill_type change.
546 (print_fill_statement): Likewise.
547 (print_padding_statement): Likewise.
548 (insert_pad): Now takes a "fill_type *" arg.
549 (size_input_section): Likewise.
550 (lang_size_sections_1): Likewise.
551 (lang_size_sections): Likewise.
552 (lang_do_assignments): Likewise.
553 (lang_add_fill): Likewise.
554 (lang_leave_output_section_statement): Likewise.
555 (lang_leave_overlay_section): Likewise.
556 (lang_leave_overlay): Likewise.
557 Adjust all callers of the above function.
558 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
559 starting with "0X" as well as "0x". Return bigint.str for hex
560 numbers starting with "0x" or "0X", zero bigint.str otherwise.
561 Always use base 16 for numbers starting with "$".
562 * ldmain.c: Include ldgram.h after ldexp.h.
563 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
564 of bfd_fill_link_order.
565 * pe-dll.c: Adjust lang_do_assignments calls.
566 * emultempl/elf32.em: Likewise.
567 * emultempl/hppaelf.em: Likewise.
568 * emultempl/ppc64elf.em: Likewise.
569 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
570 lang_add_assignment call.
571 * emultempl/pe.em: Likewise.
572
313e35ee
AM
5732002-02-14 Phil Edwards <pme@gcc.gnu.org>
574
a139d329 575 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
576 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
577 the pattern in question is not a regexp.
578 * ldlang.c: Likewise.
579 * ldlang.h: Likewise.
580 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
581
2d20f7bf
JJ
5822002-02-12 Jakub Jelinek <jakub@redhat.com>
583
584 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
585 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
586 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
587 * ldexp.c (exp_data_seg): New variable.
588 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
589 (fold_binary): Handle DATA_SEGMENT_ALIGN.
590 (exp_fold_tree): Handle DATA_SEGMENT_END.
591 Pass allocation_done when recursing instead of hardcoding
592 lang_allocating_phase_enum.
593 * ldexp.h (exp_data_seg): New.
594 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
595 (lang_size_sections): New.
596 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
597 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
598 if COMMONPAGESIZE is defined.
599 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
600 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
601 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
602 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
603 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
604 libraries only.
605
06880219
AM
6062002-02-11 Alan Modra <amodra@bigpond.net.au>
607
608 * Makefile.in: Regenerate.
609
37b0ac0f
DJ
6102002-02-10 Daniel Jacobowitz <drow@mvista.com>
611
612 * lexsup.c: Remove strtoul declaration.
613
4e5bae56
DJ
6142002-02-10 Daniel Jacobowitz <drow@mvista.com>
615
616 * ldmain.c: Add prototype for main ().
617 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
618 * emultempl/lnk960.em (lnk960_choose_target): Function should
619 take two arguments.
620
1e281515
AM
6212002-02-10 Alan Modra <amodra@bigpond.net.au>
622
623 * ldlang.c (entry_section): New initialised variable.
624 (lang_finish): Use it.
625 * ldlang.h (entry_section): Declare.
626 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
627 entry_section to ".opd".
628
f92d92ff 6292002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
630
631 * ld.texinfo (Options): Add back in -nostdlib documentation,
632 which had been inadvertently removed.
633
74c44237
HPN
6342002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
635
636 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
637 register section vma to a sane value after emitting error. Make
638 fatal conditions cause program exit when emitting message.
639
5e37cc46
NC
6402002-02-08 Ivan Guzvinec <ivang@opencores.org>
641
642 * configure.tgt: Add or32-*-rtems target.
643
2d92cb7d
AO
6442002-02-08 Alexandre Oliva <aoliva@redhat.com>
645
646 Contribute sh64-elf.
647 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
648 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
649 in OTHER_RELOCATABLE_SECTIONS.
650 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
651 * emulparams/shelf32.sh (STACK_ADDR): Define.
652 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
653 (OTHER_SECTIONS): this. Removed stack settings.
654 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
655 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
656 2001-03-12 DJ Delorie <dj@redhat.com>
657 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
658 relaxing if any shmedia or mixed sections are found.
659 2001-03-07 DJ Delorie <dj@redhat.com>
660 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
661 einfo. Gracefully decline to output to non-elf formats.
662 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
663 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
664 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
665 * emulparams/shelf32.sh: Ditto.
666 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
667 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
668 comment.
669 2001-01-10 Ben Elliston <bje@redhat.com>
670 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
671 non-portable shell constructs. From Hans-Peter Nilsson.
672 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
673 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
674 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
675 dependencies to the shell script include chain.
676 * Makefile.in: Regenerate.
677 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
678 * emultempl/sh64elf.em: Update and tweak comments.
679 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
680 make a .cranges section SEC_IN_MEMORY.
681 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
682 * emultempl/sh64elf.em
683 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
684 .cranges section found to be necessary; continue and set stored
685 section contents flags for sections with non-mixed contents.
686 Use a struct sh64_section_data container and sh64_elf_section_data
687 to store contents-type flags.
688 Remove unused update of "isec".
689 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
690 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
691 access contents-type flags. Assert that the associated container
692 is initialized. Use that container, not elf_gp_size, to hold size
693 of linker-generated cranges contents.
694 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
695 * emultempl/sh64elf.em
696 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
697 there's already a .cranges section. When section flag difference
698 is found, don't NULL-check cranges a second time. Tweak comments.
699 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
700 merging, not max size, as size of ld-generated .cranges contents.
701 Don't set ELF section flags in output section. When checking for
702 needed .cranges descriptors, don't use a variable; compare
703 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
704 comments.
705 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
706 * emultempl/sh64elf.em: New file.
707 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
708 * Makefile.in: Regenerate.
709 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
710 (OTHER_RELOCATING_SECTIONS): Ditto.
711 (EXTRA_EM_FILE): New, set to sh64elf if not set.
712 * emulparams/shlelf32.sh: Stub out all settings except
713 OUTPUT_FORMAT. Source shelf32.sh.
714 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
715 OTHER_RELOCATING_SECTIONS.
716 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
717 * emulparams/shlelf64.sh: Stub out all settings except
718 OUTPUT_FORMAT. Source shelf64.sh.
719 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
720 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
721 .cranges section.
722 (DATA_START_SYMBOLS): Define, provide ___data.
723 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
724 for consecutive .data section.
725 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
726 section after .data section.
727 * emulparams/shlelf64.sh: Ditto.
728 * emulparams/shelf32.sh: Ditto.
729 (ALIGNMENT): Define to 8.
730 * emulparams/shelf32.sh: Ditto.
731 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
732 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
733 built-in linker scripts.
734 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
735 * emulparams/shlelf64.sh: New.
736 * emulparams/shelf64.sh: New.
737 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
738 targ_extra_emuls.
739 * Makefile.am: Add support for shlelf64 and shelf64.
740 * Makefile.in: Regenerate.
741 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
742 * configure.tgt (sh64-*-elf*): Add shelf as default.
743 Add shlelf to targ_extra_emuls.
744 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
745 * emulparams/shelf32.sh: New file.
746 * emulparams/shlelf32.sh: New file.
747 * Makefile.am: Add support for shlelf32 and shelf32.
748 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
749 * Makefile.in: Regenerate.
750
e3dc8847
HPN
7512002-02-05 Hans-Peter Nilsson <hp@axis.com>
752
753 * ldlang.c (lang_reset_memory_regions): Rename from
754 reset_memory_regions. Change all callers. Make public.
755 * ldlang.h (lang_reset_memory_regions): Prototype.
756 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
757 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
758 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
759 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 760
8017dbcb
HPN
7612002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
762
763 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
764 arithmetic when checking for too many global registers.
765
006336b8
JT
7662002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
767
768 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
769 (ehppanbsd.c): New rule.
770 * Makefile.in: Regenerate.
771 * configure.tgt (hppa*-*-netbsd*): New target.
772 * emulparams/hppalinux.sh: Add comment to check other files
773 that source this file it is modified, and list which
774 files that do.
775 * emulparams/hppanbsd.sh: New file.
776
da1f2fec
GK
7772002-02-01 Geoffrey Keating <geoffk@redhat.com>
778
779 * scripttempl/xstormy16.sc: Don't allocate extra space for the
780 stack.
781
48fa4a5d
HPN
7822002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
783
784 Support on-demand global register allocation from
785 R_MMIX_BASE_PLUS_OFFSET relocs.
786 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
787 mmix_set_reg_section_vma. Call
788 _bfd_mmix_finalize_linker_allocated_gregs.
789 (mmix_before_allocation): New function.
790 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
791 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
792 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
793 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
794 before .MMIX.reg_contents.
795 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
796 (mmo_after_open): New function.
797 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
798 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
799 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
800
3b16e843
NC
8012002-01-31 Ivan Guzvinec <ivang@opencores.org>
802
803 * emulparams/or32.sh: New file.
804 * emulparams/or32elf.sh: New file.
805 * scripttempl/or32.sc: New file.
806 * configure.tgt : Add support for or32.
807 * configure: Regenerate
808 * Makefile.am: Add support for or32.
809 * Makefile.in: Regenerate.
810 * NEWS: Mention support for or32.
811 * po/ld.pot: Regenerate.
812
f744d540 8132002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 814 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
815
816 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
817 * emultempl/mipself.em: New file to handle MIPS ELF embedded
818 reloc creation (ld --embedded-relocs).
819
4867be41
DJ
8202002-01-27 Daniel Jacobowitz <drow@mvista.com>
821
822 * configure: Regenerated.
823
cd8e197b
HPN
8242002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
825
826 * Makefile.am (install): Depend on install-info.
827 * Makefile.in: Regenerate.
828
9cb61eab
AM
8292002-01-26 Christian Rose <menthos@menthos.com>
830
831 * ldmain.c (main): Use full sentences to ease translation.
832
1caa7b23
NC
8332002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
834
835 * po/fr.po: Updated version.
836
1ddbd152
NC
8372002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
838
839 * po/es.po: Updated version.
840
1e84433f
AJ
8412002-01-25 Andreas Jaeger <aj@suse.de>
842
843 * ldlex.l (yy_input): Correct error check.
844
6d39955e
AM
8452002-01-25 Alan Modra <amodra@bigpond.net.au>
846
847 * ldmisc.c (demangle): Put back dots when string not demangled.
848
a9ed1e1b
RH
8492002-01-22 Richard Henderson <rth@redhat.com>
850
851 * emulparams/elf64alpha.sh (NOP): Use unop.
852
968ec2b9
AJ
8532002-01-21 Andreas Jaeger <aj@suse.de>
854
855 * ldlex.l: Use fread instead of read.
856
9596feea
JT
8572002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
858
859 * configure.tgt (ia64-*-netbsd*): New target.
860
493a6d47
L
8612002-01-21 H.J. Lu <hjl@gnu.org>
862
863 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
864 0.
865 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
866
2a538ba5
AJ
8672002-01-18 Andreas Jaeger <aj@suse.de>
868
869 * ldver.c (ldversion): Update year.
870
328577ad
NC
8712002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
872
873 * po/ld.pot: Regenerate.
874
1f808cd5
AM
8752002-01-16 Alan Modra <amodra@bigpond.net.au>
876
877 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
878 * Makefile.in: Regenerate.
879 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
880 * emultempl/ppc64elf.em: New file.
881
335c5610
DD
8822002-01-15 DJ Delorie <dj@redhat.com>
883
884 * scripttempl/pe.sc: Add support for constructor priorities.
885
c40bbade
DC
8862002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
887
888 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
889 * emulparams/avr23xx.sh: Likewise.
890 * emulparams/avr4433.sh: Likewise.
891 * emulparams/avr44x4.sh: Likewise.
892 * emulparams/avr85xx.sh: Likewise.
893 * emulparams/avrmega103.sh: Likewise.
894 * emulparams/avrmega161.sh: Likewise.
895 * emulparams/avrmega603.sh: Likewise.
896 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
897
34efb449
AO
8982002-01-08 Alexandre Oliva <aoliva@redhat.com>
899
900 * ldlang.c (walk_wild_section): Exclude object file if enclosing
901 archive is excluded.
902
8d05742f
JT
9032002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
904
905 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 906 (eshelf_nbsd.c): New rule.
8d05742f
JT
907 (eshlelf_nbsd.c): New rule.
908 * Makefile.in: Regenerate.
909 * configure.tgt (sh*le-*-netbsdelf*): New target.
910 (sh*-*-netbsdelf*): New target.
911 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
912 * ld/emulparams/shelf_nbsd.sh: New emulation.
913 * ld/emulparams/shlelf_nbsd.sh: New emulation.
914
be2d1673
NC
9152002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
916
917 * po/es.po: New file: Spanish translation.
918 * configure.in (ALL_LINGUAS): Add es.
919 * configure: Regenerate.
920
dbab7a7b
NC
9212002-01-06 John Marshall <jmarshall@acm.org>
922
923 * ld.texinfo: Note that --emit-relocs is currently only
924 implemented for ELF.
925
3dfe7a8c
AM
9262002-01-05 Alan Modra <amodra@bigpond.net.au>
927
928 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
929 of bfd_section_list_remove and bfd_section_list_insert macros.
930 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
931 * emultempl/mmo.em (mmo_place_orphan): Likewise.
932
8a8b2d4b
AJ
9332002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
934
935 * configure.tgt (x86_64-*-netbsd*): New target.
936
9a4c7f16
TR
9372001-12-21 Tom Rix <trix@redhat.com>
938
8a8b2d4b 939 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
940 For -binitfini support.
941 * emultempl/aix.em (gld*_before_parse): Fix comment.
942 * emultempl/aix.em (gld*_parse_args): Fix comment.
943
3695c299
AM
9442001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
945
cf86e6df
AM
946 * configure.tgt (mips*-dec-netbsd*): Delete alias for
947 mips*el-*-netbsd*.
948 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
949
3695c299
AM
950 * configure.tgt (arm-*-netbsdelf*): Add target.
951 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
952 * emulparams/armelf_nbsd.sh: Added.
953 * Makefile.am: Add rules for earmelf_nbsd.
954 * Makefile.in: Regenerate.
955
97cb79ae
AJ
9562001-12-19 Andreas Jaeger <aj@suse.de>,
957 Susanne Oberhauser <froh@suse.de>
958
959 * configure.host: Add rules for x86_64-*linux-gnu. Change
960 s390x-linux entry to use gcc to report configuration, replace gcc
961 with $CC in s390-linux
962
9d201f2f
AJ
9632001-12-19 Andreas Jaeger <aj@suse.de>
964
965 * ld.texinfo (VERSION): Fix markup.
966
0b69cd08
MG
9672001-12-18 matthew green <mrg@eterna.com.au>
968
969 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
970 (m68kelfnbsd.c): New rule.
971 * Makefile.in: Regenerate.
972 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
973 (m68*-*-netbsd*4k*): .. this.
974 (m68*-*-netbsdelf*): New target.
975 (m68*-*-netbsd*): Also include ELF support.
976 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
977 * emulparams/m68kelfnbsd.sh: New emulation.
978
6b9b879a
JJ
9792001-12-18 Jakub Jelinek <jakub@redhat.com>
980
981 * ldgram.y (vers_node): Support anonymous version tags.
982 * ldlang.c (lang_register_vers_node): Ensure anonymous version
983 tag is not defined together with non-anonymous versions.
984 * ld.texinfo: Document it.
985
9fc877ed
NC
9862001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
987
988 * po/tr.po: New file: Turkish translation.
989 * configure.in (ALL_LINGUAS): Add tr.
990 * configure: Regenerate.
991
fc18a3f3
RH
9922001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
993
994 * Makefile.am: Add rules for eelf64alpha_nbsd.
995 * Makefile.in: Regenerate.
996 * configure.tgt (alpha*-*-netbsd*): Set
997 targ_emul to elf64alpha_nbsd.
998 * emulparams/elf64alpha_nbsd.sh: Added.
999
76f63e91
AM
10002001-12-17 Alan Modra <amodra@bigpond.net.au>
1001
1002 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1003 section_tail when fiddling with section list.
1004 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1005 broken into separate strings to make translation easier.
1006 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1007 fiddling with section list.
1008 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1009
d03b89bd
HPN
10102001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1011
1012 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1013
320fec9a
AM
10142001-12-15 Alan Modra <amodra@bigpond.net.au>
1015
1016 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1017
65765700
JJ
10182001-12-13 Jakub Jelinek <jakub@redhat.com>
1019
1020 * emultempl/elf32.em (finish): Supply output_bfd
1021 to bfd_elf*_discard_info.
1022 (OPTION_EH_FRAME_HDR): Define.
1023 (longopts): Add --eh-frame-hdr.
1024 (parse_args): Handle it.
1025 (list_options): Add --eh-frame-hdr to help.
1026 * emultempl/hppaelf.em (finish): Supply output_bfd
1027 to bfd_elf*_discard_info.
1028 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1029
89894c62
AM
10302001-12-13 Alan Modra <amodra@bigpond.net.au>
1031
1032 * lexsup.c (parse_args): Don't pass shortopts to second call to
1033 getopt functions. Restore optind rather than decrementing before
1034 second call. Remove errind as it now duplicates last_optind.
1035
583f1926
CF
10362001-12-11 Christopher Faylor <cgf@redhat.com>
1037
1038 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1039
93fbbb04
GK
10402001-12-07 Geoffrey Keating <geoffk@redhat.com>
1041 Richard Henderson <rth@redhat.com>
1042
1043 * Makefile.am: Add support for xstormy16.
1044 * configure.tgt: Add support for xstormy16.
1045 * Makefile.in: Regenerate.
1046 * emulparams/elf32xstormy16.sh: New file.
1047 * scripttempl/xstormy16.sc: New file.
1048
583f1926
CF
10492001-10-01 Christopher Faylor <cgf@cygnus.com>
1050
fc18a3f3
RH
1051 * Makefile.in (LIB_PATH): Make configurable.
1052 (GENSCRIPTS): Set LIB_PATH in environment.
1053 * configure.in: Substitute LIB_PATH.
1054 * configure: Regenerate.
1055 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1056 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1057
ff291a48
NC
10582001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1059
1060 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1061 describing the -N option so that it is easier to translate into
1062 foreign languages.
1063
e3c8793a
NC
10642001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1065
1066 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1067 statements describing a single option with a single, newline
1068 escaped fprintf. This allows better translation into other
1069 languages.
9d201f2f 1070
fc18a3f3
RH
1071 * ldmain.c (add_archive_element): Combine multiple strings
1072 into a single string to permit better translation into other
1073 languages.
e3c8793a 1074
f2eab0af
TR
10752001-12-05 Tom Rix <trix@redhat.com>
1076
1077 * Makefile.am: Remove eaixppc64.
9d201f2f 1078 * Makefile.in: Regenerate.
f2eab0af 1079
249172c3
TR
10802001-12-04 Tom Rix <trix@redhat.com>
1081
9d201f2f 1082 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
1083 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1084 warning.
1085 (gld*_read_file): Fix typo.
1086 (change_symbol_mode): Add prototype.
1087 (is_syscall): Same.
9d201f2f 1088
249172c3
TR
1089 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1090 * emulparams/aixrs6.sh : Same.
1091 * emulparams/ppcmacos.sh : Same.
1092 * emulparams/aixppc64.sh : Delete file.
1093 * emultempl/aix.em : Formatting changes.
1094
5b5cd1b0
HPN
10952001-12-04 Hans-Peter Nilsson <hp@axis.com>
1096
1097 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1098 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1099 __Sbss.
1100 (OTHER_END_SYMBOLS): Fix formatting.
1101 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1102 (OTHER_END_SYMBOLS): Fix formatting.
1103
7cecdbff
AM
11042001-12-04 Alan Modra <amodra@bigpond.net.au>
1105
1106 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1107
742aeb63 11082001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 1109
742aeb63 1110 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 1111 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
1112 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1113 (ldemul_default_target): Same.
1114 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
1115 * emultempl/gld960c.em (gld960_choose_target): Same.
1116 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
1117 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1118 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1119 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 1120 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
1121 -b32 and -b64.
1122
48459341
L
11232001-11-27 H.J. Lu <hjl@gnu.org>
1124
1125 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1126 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1127 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1128 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1129 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1130 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1131 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1132 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1133
7cecdbff 1134 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
1135 is not empty.
1136 (SDATA): Likewise.
1137 (REL_SDATA): Likewise.
1138 (REL_SBSS): Likewise.
1139 (REL_SDATA2): Likewise.
1140 (REL_SBSS2): Likewise.
1141 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1142 (SDATA2): Likewise.
1143
ecfdd20c
SC
11442001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1145
1146 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1147 destructor in rom.
7cecdbff 1148 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 1149
da54c6eb
L
11502001-11-22 H.J. Lu <hjl@gnu.org>
1151
1152 * Makefile.in: Regenerated with automake based on automake
1153 1.4-8 in RedHat 7.1.
1154
465bc359
AM
11552001-11-22 Alan Modra <amodra@bigpond.net.au>
1156
1157 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1158 (config.status): Delete rule.
1159 Add extra dependencies to cover sourced emulparams files.
1160 * Makefile.in: Regenerate.
1161
1162 * scripttempl/elf.sc: Order <section>, <section>.* and
1163 corresponding linkonce sections as seen in input files.
1164 Formatting fixes. Zero vma of all sections if not relocating.
1165 (STACK): Define and insert if STACK_ADDR defined.
1166 (OTHER_RELOCATING_SECTIONS): Delete.
1167 (OTHER_END_SYMBOLS): Define.
1168 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1169 (OTHER_READWRITE_SECTIONS): Likewise.
1170 (OTHER_GOT_SECTIONS): Likewise.
1171 (OTHER_SDATA_SECTIONS): Likewise.
1172 (OTHER_BSS_SECTIONS): Likewise.
1173 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1174 (OTHER_READWRITE_SECTIONS): Likewise.
1175 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1176 (OTHER_READWRITE_SECTIONS): Likewise
1177
1178 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1179 (STACK_ADDR): Define.
1180 * emulparams/armelf_oabi.sh: As for armelf.sh.
1181 * emulparams/elf32mcore.sh: As for armelf.sh.
1182 * emulparams/h8300elf.sh: As for armelf.sh.
1183 * emulparams/mn10200.sh: As for armelf.sh.
1184 * emulparams/shelf.sh: As for armelf.sh.
1185
1186 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1187 (OTHER_END_SYMBOLS): Define.
1188 * emulparams/m32relf.sh: As for elf32fr30.sh.
1189 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1190 * emulparams/h8300self.sh: As for elf32fr30.sh.
1191
1192 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1193 defines with RELOCATING test.
1194 (OTHER_SDATA_SECTIONS): Likewise.
1195 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1196 (OTHER_END_SYMBOLS): ..this.
1197 * emulparams/crislinux.sh: As for criself.sh.
1198
1199 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1200 if not relocating.
1201 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1202 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1203 normal and linkonce sections as seen in input files.
1204 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1205 (TEXT_DYNAMIC): Likewise.
1206 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1207 (OTHER_SDATA_SECTIONS): Likewise.
1208 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1209 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1210 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1211 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1212 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1213 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1214 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1215 sections as seen in input files.
1216 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1217 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1218 if not relocating.
1219 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1220 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1221 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1222 (OTHER_SECTIONS): Instead, use this..
1223 (OTHER_END_SYMBOLS): ..and this.
1224
1225 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1226 * emulparams/elf32bsmip.sh: Likewise.
1227 * emulparams/elf32btsmip.sh: Likewise.
1228 * emulparams/elf32ebmip.sh: Likewise.
1229 * emulparams/elf32lmip.sh: Likewise.
1230 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1231 * emulparams/elf32lsmip.sh: Likewise.
1232 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1233 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1234 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1235 * emulparams/elf64btsmip.sh: Likewise.
1236 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1237 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1238 * emulparams/elf32ppclinux.sh: Likewise.
1239 * emulparams/elf32ppcsim.sh: Likewise.
1240 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1241 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1242 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1243 * emulparams/h8300self.sh: Likewise.
1244 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1245 * emulparams/sh.sh: Comment.
1246 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1247 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1248 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1249
abc6ab0a
AM
12502001-11-21 David Heine <dlheine@tensilica.com>
1251 Alan Modra <amodra@bigpond.net.au>
1252
1253 * ldlang.c (map_input_to_output_sections): Replace "break"
1254 accidentally removed with 2001-08-03 change.
1255 (lang_gc_sections_1): Likewise.
1256
2181f54f
AM
12572001-11-21 Alan Modra <amodra@bigpond.net.au>
1258
1259 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1260
ca0b5847
AM
12612001-11-20 Angela Marie Thomas <angela@redhat.com>
1262
1263 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
1264 of false when calling lang_size_sections.
1265 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 1266
c56feb2b
AM
12672001-11-15 Alan Modra <amodra@bigpond.net.au>
1268
1269 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1270 function when LDEMUL_FINISH isn't set to the same name. Don't
1271 call ${LDEMUL_FINISH}.
1272 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1273 * emultempl/armelf.em (arm_elf_finish): Call
1274 gld${EMULATION_NAME}_finish.
1275 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1276 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1277 hppaelf_layout_sections_again if necessary.
1278 (need_laying_out): New var.
1279 (hppaelf_layaout_sections_again): Rename to
1280 hppaelf_layout_sections_again. Clear need_laying_out.
1281 (PARSE_AND_LIST_OPTIONS): Format text.
1282
a48ca7f2
L
12832001-11-14 H.J. Lu <hjl@gnu.org>
1284
1285 * emultempl/armelf.em (arm_elf_finish): Renamed from
1286 gld${EMULATION_NAME}_finish.
1287 (LDEMUL_FINISH): Set to arm_elf_finish.
1288
73d074b4
DJ
12892001-11-14 Daniel Jacobowitz <drow@mvista.com>
1290
1291 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1292 (struct ld_emulation_xfer_struct): Use it.
1293
3b16e843 12942001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 1295
465bc359 1296 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
1297 additional symbols referenced by newer crt0.o files from HP.
1298
f11b7027
NC
12992001-11-12 Anthony Green <green@redhat.com>
1300
1301 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1302
3bf2994f
AM
13032001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1304
1305 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1306 * Makefile.in: Regenerate.
1307
ff5dcc92
SC
13082001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1309
1310 * ld.texinfo: Use @command for commands, @option for options.
1311 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1312 the page man title.
1313 * Makefile.in: Rebuild.
1314
9fb9af6e
CD
13152001-11-04 Chris Demetriou <cgd@broadcom.com>
1316
1317 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1318 Add support for targets.
2181f54f 1319
3c62831e
NC
13202001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1321
1322 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1323 * configure: Regernate.
1324 * po/fr.po: New file.
1325 * po/sv.po: New file.
1326
3a9091c4
NC
13272001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1328
1329 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1330 as little endian default and to support big endian.
2181f54f 1331
361b220e
CD
13322001-11-01 Chris Demetriou <cgd@broadcom.com>
1333
1334 * ld.texinfo (Options): Document new option, -nostdlib.
1335 * lexsup.c (OPTION_NOSTDLIB): New definition.
1336 (ld_options): Add entry for "nostdlib".
1337 (parse_args): Handle OPTIONS_NOSTDLIB.
1338 * ldfile.c (ldfile_add_library_path): Don't add directories
1339 to the search path if they weren't specified on the command line
1340 and -nostdlib was specified.
1341 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1342
210a7bd1
NC
13432001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1344
1345 * lexsup.c (parse_args): Prevent infinite parsing loop when
1346 "-rpath.a" is specified on the command line.
1347 Replace calls to fprintf with calls to einfo.
1348
114283d8
NC
13492001-10-31 John Marshall <jmarshall@acm.org>
1350
1351 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1352 appear only once across all the linker scripts involved in a link
1353 invocation no longer applies. Make the documentation reflect
1354 that.
1355
7649aa50
NC
13562001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1357
1358 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1359 targets.
1360 (sh-*-linux*): Added targ_extra_libpath.
1361
6e814ff8
AM
13622001-10-31 David Heine <dlheine@tensilica.com>
1363
1364 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1365 for padding statements.
1366
3c3bdf30
NC
13672001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1368
1369 * configure.tgt (mmix-*-*): New target.
1370 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1371 Add dependencies to match.
1372 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1373 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1374 scripttempl/mmo.sc: New files.
1375 * gen-doc.texi: @set MMIX.
1376 * ld.texinfo: Ditto.
6e814ff8 1377 [MMIX] Add MMIX node.
3c3bdf30
NC
1378 * Makefile.in: Regenerate.
1379
ca0c1d3e
KH
13802001-10-29 Kazu Hirata <kazu@hxi.com>
1381
1382 * ldlang.c: Fix a comment typo.
1383
1a3d33ce
AM
13842001-10-23 Alan Modra <amodra@bigpond.net.au>
1385
1386 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1387 entries, and match *-*-linux*.
1388
b47c4208
AM
13892001-10-20 Alan Modra <amodra@bigpond.net.au>
1390
1391 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1392 with ldlex_script, ldlex_popstate.
1393 (ifile_p1): Likewise.
1394 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
1395 correct slot.
1396 (lex_push_file): Save current lineno to lineno_stack. Set lineno
1397 to 1. Don't BEGIN(SCRIPT).
1398 (lex_redirect): Similarly.
1399 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
1400
fd521b47
NC
14012001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
1402
1403 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
1404 __EH_FRAME_END__ and accept eh frames into data section.
1405 Add ctor and dtor sections.
1406
59d28a94
DD
14072001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1408
1409 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
1410 (auto-export): Fix indentation.
1411
663dd378
DD
14122001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1413
1414 * pe-dll.c (autofilter_objectlist): Add startup objects
1415 for profiling.
1416 (auto-export): Constify char * p.
6e814ff8 1417 Extract file basename and use strcmp rather than ststr
663dd378
DD
1418 for object lookup.
1419
31d677f9
CD
14202001-10-18 Chris Demetriou <cgd@broadcom.com>
1421
1422 * ldmain.c (get_emulation): Improve comment about the handling
1423 of -mipsN options.
1424
aa200fe8
AM
14252001-10-17 Alan Modra <amodra@bigpond.net.au>
1426
1427 * po/POTFILES.in: Regenerate.
1428
146e7110
AM
14292001-10-16 Vassili Karpov <malc@pulsesoft.com>
1430
1431 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
1432 -z nocopyreloc and -z nocombreloc usage strings.
1433
b4330e85
NC
14342001-10-12 Vassili Karpov <malc@pulsesoft.com>
1435
146e7110 1436 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
1437 in usage.
1438
5af8a2fb
NC
14392001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
1440
1441 * scripttempl/armaout.sc: Place .bss section after end of aligned
1442 data section to match behaviour of aout code in constructrion of
1443 header.
1444
5b784096
DD
14452001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1446
1447 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
1448 startup files for mingw32 dlls to list.
1449
61585df2
CD
14502001-10-10 Chris Demetriou <cgd@broadcom.com>
1451
1452 * emultempl/elf32.em: Fix shell 'if' usage for portability.
1453
45cf6f3e
AH
14542001-10-08 Aldy Hernandez <aldyh@redhat.com>
1455
1456 * configure.tgt (targ): Add arm9e-*-elf.
1457
e24d7c12
L
14582001-10-05 H.J. Lu <hjl@gnu.org>
1459
1460 * genscripts.sh: Fix a typo in the last change.
1461
ec38dd05
JJ
14622001-10-05 Jakub Jelinek <jakub@redhat.com>
1463
1464 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
1465 -z nocombreloc in usage.
1466
cedd6b0d
JB
14672001-10-03 Jim Blandy <jimb@redhat.com>
1468
1469 * genscripts.sh: Include a comment at the top of each generated
1470 script, explaining its purpose.
1471
8bd621d8
AM
14722001-10-03 Vassili Karpov <malc@pulsesoft.com>
1473
1474 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
1475 * NEWS: Mention -z nocopyreloc.
1476 * ld.texinfo (Options): Describe nocopyreloc.
1477
fcd8210c
AM
14782001-10-03 Alan Modra <amodra@bigpond.net.au>
1479
1480 * configure: Regenerate.
1481
d32820f2
AM
14822001-10-02 Alan Modra <amodra@bigpond.net.au>
1483
1484 * ldver.h (ld_program_version): Remove declaration.
1485 * lexsup.c (parse_args): Move printing of copyright message..
1486 * ldver.c (ldversion): .. to here.
1487 Use BFD_VERSION_STRING in place of BFD_VERSION.
1488 (ld_program_version): Remove.
1489 * Makefile.am (Makefile): Depend on bfd/configure.in.
1490 Run "make dep-am".
1491 * Makefile.in: Regenerate.
1492
af46bcdc
HPN
14932001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1494
1495 * Makefile.am: Update dependencies with "make dep-am".
1496 * Makefile.in: Regenerate.
1497
4818e05f 14982001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 1499
4818e05f
AM
1500 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
1501 * lexsup.c: Add --no-define-common commandline option.
1502 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
1503 * ldlex.l: Likewise.
1504 * ld.h: Add command_line.inhibit_common_definition.
1505 * ldmain.c (main): Initialize.
1506 * ld.texinfo: Document.
862517b6 1507
d5e0ebeb
AM
15082001-09-26 Alan Modra <amodra@bigpond.net.au>
1509
1510 * ldmisc.c (USE_STDARG): Remove.
1511 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1512 (einfo): Likewise.
1513 (minfo): Likewise.
1514 (lfinfo): Likewise.
1515
1516 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
1517 declarations. Update copyright.
1518
2f8d8971
NC
15192001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1520
85c77458
NC
1521 * pe-dll.c: Remove obsoleted declaration of
1522 pe_get_data_import_dll_name.
1523 (pe_create_import_fixup): Fix thinko.
1524
2f8d8971
NC
1525 * ld.texinfo(enable-auto-import): Clarify the explanation.
1526
15272001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
1528
1529 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
1530 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
1531 DLL_SUPPORT controlled code.
1532
72358f65 15332001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 1534
72358f65
NC
1535 * emultempl/pe.em(pe_data_import_dll): Make static.
1536 (pe_get_data_import_dll_name): New accessor function.
146e7110 1537 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
1538 pe_get_data_import_dll_name() from pe.em, instead of
1539 directly accessing pe_data_import_dll variable from pe.em.
1540
3882b010
L
15412001-09-18 Bruno Haible <haible@clisp.cons.org>
1542
1543 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
1544 (def_file_add_directive): Use ISSPACE instead of isspace.
1545 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
1546 isdigit/isxdigit/isalpha/isalnum.
1547 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
1548 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
1549 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
1550 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
1551 isalnum.
1552 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
1553 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
1554 isupper/tolower.
1555 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
1556 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
1557 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
1558 (ctor_prio): Use ISDIGIT instead of isdigit.
1559 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
1560 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
1561 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
1562 isupper/tolower.
1563 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
1564 (stricpy): Use TOLOWER instead of isupper/tolower.
1565 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
1566 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
1567 (lex_warn_invalid): Use ISPRINT instead of isprint.
1568 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
1569 (main): For gettext, also set the LC_CTYPE locate facet.
1570 (add_keepsyms_file): Use ISSPACE instead of isspace.
1571 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
1572 (is_num, parse_args): Use ISDIGIT instead of isdigit.
1573 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
1574 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
1575 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
1576 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
1577 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
1578 (quoteput): Use ISSPACE instead of isspace.
1579 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
1580 instead of isalnum.
1581
db09f25b
AM
15822001-09-18 Alan Modra <amodra@bigpond.net.au>
1583
1584 * deffilep.y (def_stash_module): Constify "name" param.
1585
1586 * pe-dll.c: Replace CONST with const throughout.
1587 (quick_symbol): Constify "n1", "n2", "n3" params.
1588 (make_singleton_name_thunk): Constify "import" param. Make
1589 "buffer_len" a size_t.
1590 (make_import_fixup_entry): Constify "name", "fixup_name",
1591 "dll_symname" params.
1592 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
1593 (pe_get32): Likewise.
1594 (pe_implied_import_dll): Likewise.
1595
1596 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
1597 (sort_by_section_name): Likewise.
1598
1599 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
1600 (make_import_fixup): Cast printf arg, rel->address to long rather
1601 than int.
1602 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
1603
74699268
AM
16042001-09-15 Alan Modra <amodra@bigpond.net.au>
1605
1606 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
1607 defines BufferSize. Increase buffer size by one.
1608
775cabad
NC
16092001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
1610
1611 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
1612
056a1d49
NC
16132001-09-14 Kevin Lo <kevlo@openbsd.org>
1614
1615 * configure.tgt: Add arm-openbsd target.
1616
a7d792bb
L
16172001-09-12 H.J. Lu <hjl@gnu.org>
1618
1619 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
1620 eelf64lppc.o to ...
1621 (ALL_64_EMULATIONS): Here.
1622 * Makefile.in: Regenerated.
1623
0d888aac
CW
16242001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1625
1626 * emultempl/pe.em(make_import_fixup): change signature to
1627 take asection as well as arelec; we need this for proper
146e7110 1628 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
1629 there is no attempt to add a constant addend to the reloc;
1630 otherwise, report error condition.
1631 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
1632 since final argument is a pointer to make_import_fixup().
1633 Change call to cb() to match make_import_fixup() signature.
1634 (make_import_fixup_mark): make buffer_len unsigned.
1635 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
1636
16372001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
1638
1639 * ld.texinfo: add verbose documentation for auto-import
146e7110 1640 direct-addressing workaround, to compliment the terse
0d888aac
CW
1641 error message.
1642
cedacdc0
CM
16432001-09-12 Andrew MacLeod <amacleod@redhat.com>
1644
146e7110 1645 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 1646
3b16e843 16472001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
1648
1649 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
1650 * emulparams/h8300self.sh: Similarly.
1651
559e4713
NC
16522001-09-05 Danny Smith <dannysmith@users.souceforge.net>
1653
1654 * ld.texinfo (Options, --stack): Correct default value for stack
1655 reserve.
1656
1fdf0249
TR
16572001-09-05 Tom Rix <trix@redhat.com>
1658
1659 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 1660
9b5799b8
AJ
16612001-09-03 Andreas Jaeger <aj@suse.de>
1662
1663 * emultempl/beos.em: Declare prototypes for comparions functions,
1664 adjust definitions.
1665
48f6162b
AJ
16662001-09-02 Andreas Jaeger <aj@suse.de>
1667
1668 * emultempl/aix.em: Add missing prototype.
1669 * emultempl/lnk960.em: Likewise.
1670 * emultempl/vanilla.em: Likewise.
1671 * emultempl/armcoff.em: Likewise.
1672 * emultempl/armelf_oabi.em: Likewise.
1673 * emultempl/beos.em: Likewise.
1674 * emultempl/gld960c.em: Likewise.
1675 * emultempl/gld960.em: Likewise.
1676
1677 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
1678 for prototype declaration.
1679
39e5585e
EC
16802001-08-31 Eric Christopher <echristo@redhat.com>
1681 Jason Eckhardt <jle@redhat.com>
1682
1683 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
1684
3fc90ddb
AJ
16852001-08-31 Andreas Jaeger <aj@suse.de>
1686
1687 * emultempl/pe.em: Add missing prototypes.
1688 (gld_${EMULATION_NAME}_after_open): Remove extra args to
1689 pe_find_data_imports.
1690 (pr_sym): Add unused attribute.
1691
d43ded80
PB
16922001-08-29 Joel Sherrill <joel@OARcorp.com>
1693
39e5585e 1694 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
1695 default from coff to elf.
1696
3946dd2f
JL
16972001-08-29 Jeff Law <law@redhat.com>
1698
1699 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
1700 ARCH specification.
1701 * emulparams/h8300self.sh: Similarly.
1702
3b16e843 17032001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
1704
1705 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
1706 eh8300self.o .
1707 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
1708 * configure.tgt (h8300-*-elf*): New case.
1709 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
1710 * emulparams/h8300self.sh: New file.
1711 * Makefile.in: Regenerated.
1712
70d0c6e9
NC
17132001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
1714
1715 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
1716 with macro name.
1717
5c67d4bb
AM
17182001-08-27 Linus Nordberg <linus@swox.com>
1719 Alan Modra <amodra@bigpond.net.au>
1720
1721 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
1722 (eelf64ppc.c, eelf64lppc.c): Add make targets.
1723 Run "make dep-am"
1724 * Makefile.in: Regenerate.
1725 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
1726 entries to correct alphabetical position.
1727 * emulparams/elf64ppc.sh: New.
1728 * emulparams/elf64lppc.sh: New.
1729
08131015
NC
17302001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
1731
1732 * ldmain.c (main): Declare BSIZE as static.
1733
db6751f2
JJ
17342001-08-23 Jakub Jelinek <jakub@redhat.com>
1735
1736 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
1737 into .rel.dyn resp. .rela.dyn if combreloc.
1738 (get_script): If .x linker script is equal to .xn, only put it
1739 once into the binary.
1740 Add .xc and .xsc scripts.
1741 (parse_args): Handle -z combreloc and -z nocombreloc.
1742 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
1743 For .xc and .xsc scripts put all .rel* or .rela* input sections
1744 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
1745 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
1746 is elf.
1747 Strip trailing whitespace from script.
1748 Generate .xc and .xsc scripts if requested.
1749 * ldmain.c (main): Initialize link_info.combreloc and
1750 link_info.spare_dynamic_tags.
1751 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
1752 (ld_options): Add --spare-dynamic-tags option.
1753 (parse_args): Likewise.
1754 * ld.texinfo: Document -z combreloc and -z nocombreloc.
1755 * ldint.texinfo: Document .xc and .xsc linker scripts.
1756 * NEWS: Add notes about -z combreloc and SHF_MERGE.
1757
63d069c0
L
17582001-08-22 H.J. Lu <hjl@gnu.org>
1759
1760 * emulparams/elf32fr30.sh: Add a newline.
1761
948f9114
AJ
17622001-08-21 Andreas Jaeger <aj@suse.de>
1763
1764 * deffilep.y: Add missing prototypes.
1765 * pe-dll.c: Likewise.
1766
ae7fb08f
AM
17672001-08-20 Alan Modra <amodra@bigpond.net.au>
1768
2af02257
AM
1769 * ldlang.c (insert_pad): Fix typos in last patch.
1770
1771 * ldlang.c: When traversing lang_statement_union_type lists,
1772 consistently use "header.next" rather than "next".
1773 * mpw-eppcmac.c: Likewise.
1774 * emultempl/beos.em: Likewise.
1775 * emultempl/hppaelf.em: Likewise.
1776 * emultempl/pe.em: Likewise.
1777 * ldlang.h (union lang_statement_union): Remove "next" field.
1778
c0c330a7
AM
1779 * ldlang.c (insert_pad): Use offsetof macro.
1780 (lang_size_sections): Always neuter padding statements.
1781 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
1782
ae7fb08f
AM
1783 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
1784 passed to lang_size_sections.
1785 (pe_exe_fill_sections): Likewise.
1786 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
1787 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
1788
fab80407
AM
17892001-08-18 Alan Modra <amodra@bigpond.net.au>
1790
1791 * emultempl/aix.em: Formatting fixes.
1792
b3327aad
AM
17932001-08-18 Alan Modra <amodra@bigpond.net.au>
1794
1795 * ldlang.c (insert_pad): Make use of an existing pad statement if
1796 available. Move code calculating alignment, adjusting section
1797 alignment power, and adjusting dot to ..
1798 (size_input_section): .. here. Remove unused relax param.
1799 (lang_size_sections): Change boolean `relax' param to boolean *.
1800 Adjust call to size_input_section. Make use of insert_pad to
1801 place pad after the assignment statement. If relaxing, zap
1802 padding statements.
1803 (reset_memory_regions): Reset output_bfd section sizes too.
1804 (relax_again): Move to..
1805 (lang_process): ..here. Adjust call to lang_size_sections, and
1806 remove duplicated code.
1807 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
1808
563e308f
AM
18092001-08-17 Alan Modra <amodra@bigpond.net.au>
1810
1811 * ld.texinfo: Document that fill values now use the four least
1812 significant bytes.
1813 * emulparams/elf32fr30.sh (NOP): Update.
1814 * emulparams/elf32mcore.sh: Likewise.
1815 * emulparams/elf64_s390.sh: Likewise.
1816 * emulparams/elf_i386.sh: Likewise.
1817 * emulparams/elf_i386_be.sh: Likewise.
1818 * emulparams/elf_i386_chaos.sh: Likewise.
1819 * emulparams/elf_i386_ldso.sh: Likewise.
1820 * emulparams/elf_s390.sh: Likewise.
1821 * emulparams/elf_x86_64.sh: Likewise.
1822 * emulparams/i386moss.sh: Likewise.
1823 * emulparams/i386nw.sh: Likewise.
1824 * emulparams/m68kelf.sh: Likewise.
1825 * scripttempl/elf.sc: Update NOP comment.
1826 * scripttempl/elfi370.sc: Likewise.
1827 * scripttempl/elfm68hc11.sc: Likewise.
1828 * scripttempl/elfm68hc12.sc: Likewise.
1829 * scripttempl/nw.sc: Likewise.
1830
b90e1c6f
TR
18312001-08-15 Tom Rix <trix@redhat.com>
1832
1833 * ldgram.y (saved_script_handle): Initialize to NULL.
1834 * ldmain.c (main): Change check on saved_script_handle.
948f9114 1835
39dcfe18
AM
18362001-08-14 Alan Modra <amodra@bigpond.net.au>
1837
cde43e70
AM
1838 * emultempl/elf32.em: Formatting fixes.
1839 (output_prev_sec_find): Test for bfd_ind_section too; do so by
1840 looking at sec->owner.
1841 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
1842 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
1843 unused code, and reorganize orphan section placement code.
1844
39dcfe18
AM
1845 * ldlang.c (wild_doit): Rename to lang_add_section.
1846 * ldlang.h: Here too.
1847 * mpw-elfmips.c: And here.
1848 * emultempl/beos.em: And here.
1849 * emultempl/elf32.em: And here.
1850 * emultempl/hppaelf.em: And here.
1851 * emultempl/pe.em: And here.
1852
908d20b3
RH
18532001-08-13 Richard Henderson <rth@redhat.com>
1854
1855 * emultempl/needrelax.em: New file.
1856 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
1857 * Makefile.am (eelf64_ia64.c): Depend on it.
1858 * Makefile.in: Rebuild.
1859
0f33d40b
AM
18602001-08-13 Alan Modra <amodra@bigpond.net.au>
1861
22af9fd3
AM
1862 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
1863 output_section is set non-NULL.
1864
0f33d40b
AM
1865 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
1866 `true' for SEC_EXCLUDE sections so that the generic code doesn't
1867 needlessly create an output_section_statement. Treat a correctly
1868 named output_section_statement with NULL bfd_section as compatible.
1869
55ab6103
HPN
18702001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
1871
1872 * emultempl/generic.em: Support EXTRA_EM_FILE.
1873 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
1874 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1875 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1876 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1877 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1878 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1879 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1880 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1881 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1882 LDEMUL_FIND_POTENTIAL_LIBRARIES.
1883
24098abb
RH
18842001-08-12 Richard Henderson <rth@redhat.com>
1885
1886 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
1887 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
1888 scripttempl/v850.sc: Keep .jcr data.
1889
b9a8de1e 18902001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
1891 Andrew Haley <aph@cambridge.redhat.com>
1892 Nick Clifton <nickc@redhat.com>
b9a8de1e 1893
146e7110 1894 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
1895 Change type to file handle.
1896 * ld.h (had_script): Rename and retype.
1897 * ldfile.c (ldfile_open_command_file): Save the file handle
1898 used in saved_script_handle.
1899 * lexsup.c (parse_args): Do not allow -c option to alter
1900 saved_script_handle.
1901 * ldmain.c (main): Print out the linker script used if
1902 --verbose is given. Check saved_script_handle to obtain the
1903 external linker script used, or if NULL, dump the builtin
1904 script.
1905 * ld.texinfo: Document that --verbose now dumps the linker
1906 script used, regardless of whether it was an internal or an
1907 external script.
1908
0218d1e4
AJ
19092001-08-10 Andreas Jaeger <aj@suse.de>
1910
1911 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1912 to build warnings.
1913 * configure: Regenerate.
1914
5253f23b
AM
19152001-08-09 Alan Modra <amodra@bigpond.net.au>
1916
73810896
AM
1917 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
1918
5253f23b
AM
1919 * scripttempl/elf.sc: Move non-text .dynamic section before
1920 .plt/.got/.sdata* group.
1921 (OTHER_GOT_SECTIONS): Move to immediately after .got.
1922 (OTHER_SDATA_SECTIONS): Add.
1923 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
1924 OTHER_GOT_SECTIONS.
1925 * emulparams/crislinux.sh: Likewise.
1926 * emulparams/elf32b4300.sh: Likewise.
1927 * emulparams/elf32bmip.sh: Likewise.
1928 * emulparams/elf32bmipn32.sh: Likewise.
1929 * emulparams/elf32bsmip.sh: Likewise.
1930 * emulparams/elf32btsmip.sh: Likewise.
1931 * emulparams/elf32ebmip.sh: Likewise.
1932 * emulparams/elf32elmip.sh: Likewise.
1933 * emulparams/elf32l4300.sh: Likewise.
1934 * emulparams/elf32lmip.sh: Likewise.
1935 * emulparams/elf32lsmip.sh: Likewise.
1936 * emulparams/elf32ltsmip.sh: Likewise.
1937 * emulparams/elf64bmip.sh: Likewise.
1938 * emulparams/elf64btsmip.sh: Likewise.
1939 * emulparams/elf64ltsmip.sh: Likewise.
1940
179c732c
AM
19412001-08-08 Alan Modra <amodra@bigpond.net.au>
1942
1943 * genscripts.sh: Source the emulparams script before each output
1944 script is generated so that variables like `RELOCATING' may affect
1945 variables defined in the emulparams script.
1946
3fd36710
AM
19472001-08-04 Alan Modra <amodra@bigpond.net.au>
1948
20713691
AM
1949 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
1950 order.
1951
3fd36710
AM
1952 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
1953 ie. iterate over wild_statement.section_list.
1954 (gld${EMULATION_NAME}_place_orphan): Likewise.
1955
de0b1853
SC
19562001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1957
1958 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
1959 .fini[0-4] sections used by _exit
1960 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
1961 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
1962 * scripttempl/elfm68hc11.sc: Likewise.
1963
ff7e6f88
L
19642001-08-03 H.J. Lu <hjl@gnu.org>
1965
1966 * emultempl/beos.em (init): Add the missing initialization.
1967
b6bf44ba
AM
19682001-08-03 Alan Modra <amodra@bigpond.net.au>
1969
1970 * ld.texinfo (Input Section Basics): Clarify ordering of output
1971 sections.
1972 * ldlang.c (callback_t): Add wildcard_list param.
1973 (walk_wild_section): Remove "section" param. Rewrite for
1974 lang_wild_statement_type change. Remove unique_section_p test.
1975 (walk_wild_file): Remove "section" param.
1976 (walk_wild): Remove "section" and "file" params.
1977 (lang_gc_wild): Likewise.
1978 (wild): Likewise. Modify for lang_wild_statement_type change.
1979 (wild_sort): Likewise. Add "sec" param.
1980 (gc_section_callback): Likewise.
1981 (output_section_callback): Likewise. Do unique_section_p test.
1982 (map_input_to_output_sections): Modify call to wild.
1983 (lang_gc_sections_1): Likewise.
1984 (print_wild_statement): Modify for lang_wild_statement_type
1985 change.
1986 (lang_add_wild): Replace filename, filenames_sorted param with
1987 filespec. Replace section_name, sections_sorted,
1988 exclude_filename_list with section_list.
1989 * ldlang.h (lang_add_wild): Here too.
1990 (lang_wild_statement_type): Replace section_name, sections_sorted,
1991 and exclude_filename_list with section_list.
1992 * ldgram.y (current_file): Delete.
1993 (%union): Add wildcard_list.
1994 (file_NAME_list): Set type to wildcard_list. Build a linked list
1995 rather than calling lang_add_wild for each entry.
1996 (input_section_spec_no_keep): Call lang_add_wild here instead.
1997 * ld.h (struct wildcard_list): Declare.
1998 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
1999
b044cda1
CW
20002001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2001
2002 * ldmain.c (main): initialize link_info.pei386_auto_import
2003 * pe-dll.c: new tables for auto-export filtering
2004 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2005 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2006 "by hand".
2007
20082001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2009
b6bf44ba
AM
2010 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2011 static variable current_sec (static struct sec *). Add
b044cda1 2012 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2013 (process_def_file): Don't export undefined symbols. Do not
2014 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2015 with new API.
2016 (pe_walk_relocs_of_symbol): New function.
2017 (generate_reloc): add optional extra debugging
b6bf44ba 2018 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2019 line in output
b6bf44ba 2020 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2021 (DATA auto-import support).
2022 (make_singleton_name_thunk): New function.
2023 (make_import_fixup_mark): New function.
2024 (make_import_fixup_entry): New function.
2025 (pe_create_import_fixup): New function.
b6bf44ba 2026 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2027 char *.
b6bf44ba
AM
2028 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2029 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2030 pe_create_import_fixup.
2031 * emultempl/pe.em: add new options --enable-auto-import,
2032 --disable-auto-import, and --enable-extra-pe-debug.
2033 (make_import_fixup): New function.
2034 (pe_find_data_imports): New function.
2035 (pr_sym): New function.
b6bf44ba 2036 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2037 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2038 CODE.
2039
20402001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2041
b044cda1
CW
2042 * ld.texinfo: add additional documentation for
2043 --export-all-symbols. Document --out-implib,
2044 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2045 --dll-search-prefix, --enable-auto-import, and
2046 --disable-auto-import.
b044cda1
CW
2047 * ldint.texinfo: Add detailed documentation on auto-import
2048 implementation.
2049
156e34dd
NC
20502001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2051
2052 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2053 example.
2054
d6231427
AM
20552001-07-24 Alan Modra <amodra@bigpond.net.au>
2056
2057 * Makefile.am: Update dependencies with "make dep-am".
2058 * Makefile.in: Regenerate
2059
e14ec88b
AM
20602001-07-23 Alan Modra <amodra@bigpond.net.au>
2061
2062 * ldcref.c (check_section_sym_xref): New function.
2063 (check_nocrossrefs): Call it.
2064 (check_nocrossref): Interate over h->refs here instead of..
2065 (check_refs): ..here. Pass in the symbol name, section, and bfd
2066 rather than hash_entry pointers.
2067 (struct check_refs_info): Keep symbol name rather than hash entry.
2068 Remove "same".
2069 (check_reloc_refs): Tweak for above changes in check_refs_info.
2070 Only report references to section syms when symname is NULL to
2071 prevent duplicate messages for the same reloc.
2072
1b577b00
NC
20732001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2074
c7d701b0
NC
2075 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2076 available. Do not print NULL trees.
2077 (exp_print_token): Print unknown tokens with values > 126 as
2078 decimal values not ASCII characters.
2079
1545243b
NC
2080 * ldlang.c (lang_leave_overlay): If a region is specified assign
2081 it to all sections inside the overlay unless they have been
2082 assigned to the own, non-default, memory region.
2083
1b577b00
NC
2084 * README: Add header for consistency with other README files.
2085
5030876b
L
20862001-07-14 H.J. Lu <hjl@gnu.org>
2087
2088 * emultempl/elf32.em (output_prev_sec_find): Never return
2089 bfd_abs_section_ptr, bfd_com_section_ptr nor
2090 bfd_und_section_ptr.
2091
18c7a9a5
NC
20922001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2093
22af9fd3 2094 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
2095 elf32.em.
2096 * Makefile.in: Regenerate.
2097
9ffecff1
MG
20982001-07-14 matthew green <mrg@eterna.com.au>
2099
2100 * configure.tgt (i386-*-netbsdelf*): New target.
2101 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2102
95500e1c
JJ
21032001-07-13 Jakub Jelinek <jakub@redhat.com>
2104
2105 * emultempl/elf32.em (output_prev_sec_find): New.
2106 (place_orphan): Use it.
2107
e97cb84f
L
21082001-07-11 H.J. Lu <hjl@gnu.org>
2109
2110 * ldmain.c (main): Fix typos in the last change.
2111
7333607e
JJ
21122001-07-11 Jakub Jelinek <jakub@redhat.com>
2113
2114 * ldmain.c (main): Disallow -F and -f without -shared.
2115
d29d80f2
NC
21162001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2117
2118 * emultempl/pe.em (after_open): Check for the output_bfd not
2119 having any coff_data structure allocated to it.
2120
c2a1a436
DB
21212001-07-09 David O'Brien <obrien@FreeBSD.org>
2122
2123 * emultempl/elf32.em: Do not assuming that contents of the buffer
2124 returned from basename function will remain unchanged accross other
2125 function calls.
2126
63653551
L
21272001-07-03 H.J. Lu <hjl@gnu.org>
2128
2129 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2130 2001-07-03. It creates dynamic entries even for static binaries.
2131
d303a449
L
21322001-07-03 Jakub Jelinek <jakub@redhat.com>
2133
2134 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2135 (DYNAMIC): Use it to reserve few dynamic entries for
2136 post-linking tools.
2137
9f22353f
AM
21382001-06-27 Alan Modra <amodra@bigpond.net.au>
2139
2140 * emulparams/hppa64linux.sh: New file.
2141 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2142 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2143 (ehppa64linux.c): Add rule to make it.
2144 Run "make dep-am".
2145 * Makefile.in: Regenerate.
2146
62bf86b4
HPN
21472001-06-21 Hans-Peter Nilsson <hp@axis.com>
2148
2149 * ld.texinfo (Options, -r): Mention restrictions when using
2150 different object formats.
2151
429d935d
HPN
21522001-06-19 Hans-Peter Nilsson <hp@axis.com>
2153
2154 * ldlang.c (lang_check): Emit fatal error if relocatable link
2155 between different object flavours with relocations in input.
2156
cb840a31
L
21572001-06-19 H.J. Lu <hjl@gnu.org>
2158
2159 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2160 (--version-script): Mention the language support.
2161
9bf03acc
L
21622001-06-19 H.J. Lu <hjl@gnu.org>
2163
2164 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2165
c45021f2
NC
21662001-06-18 H.J. Lu <hjl@gnu.org>
2167
b6bf44ba
AM
2168 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2169 (diststuff): Add $(MANS).
2170 * Makefile.in: Regenerated.
c45021f2 2171
b6bf44ba 2172 * ld.1: Removed.
c45021f2 2173
6caa99ab
HPN
21742001-06-18 Hans-Peter Nilsson <hp@axis.com>
2175
605d9b3a
HPN
2176 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2177 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2178 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2179 * ld.h (args_type): Remove member export_dynamic. All users
2180 changed to use struct bfd_link_info member.
2181
6caa99ab
HPN
2182 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2183 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2184 * Makefile.in: Regenerate.
2185
6f9efd97
L
21862001-06-18 H.J. Lu <hjl@gnu.org>
2187
2188 * ldlang.c (init_os): Add the newline to the einfo call.
2189 (lang_check): Likewise.
2190 (lang_do_version_exports_section): Likewise.
2191
5af9fd8b
L
21922001-06-15 H.J. Lu <hjl@gnu.org>
2193
2194 * lexsup.c (parse_args); Save optind to report unrecognized
2195 option.
2196
2a096f04
HPN
21972001-06-15 Hans-Peter Nilsson <hp@axis.com>
2198
7e66c3f5
HPN
2199 * ldlang.c (lang_check): Emit fatal error if relocatable link
2200 between different object flavours.
2201
2a096f04
HPN
2202 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2203 Set new link_info member export_dynamic.
2204 * ldmain.c (main): Initialize new link_info member export_dynamic.
2205
6770ec8c
NC
22062001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2207
2208 * ldlang.c (walk_wild): Only call walk_wild_file if
2209 lookup_name returns something.
b6bf44ba 2210 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 2211 (load_symbols): Change to a boolean function.
b6bf44ba 2212 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
2213 executable.
2214
8529105a
AM
22152001-06-08 Alan Modra <amodra@bigpond.net.au>
2216
2217 * ldlang.c (record_bfd_errors): Remove.
2218
2219 * emultempl/aix.em: Fix copyright dates.
2220
8f3aa7a0
AJ
22212001-06-07 Andreas Jaeger <aj@suse.de>
2222
2223 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2224 (TEXT_START_ADDR): Likewise.
2225
3277f888
AM
22262001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2227
2228 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2229
3763134d
DD
22302001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2231
2232 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2233
5929ebc0
L
22342001-05-31 H.J. Lu <hjl@gnu.org>
2235
2236 * ldlang.c (open_input_bfds): Don't change the bfd error
2237 handler whilst loading symbols.
2238
c04a062d
NC
22392001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2240
2241 * configure.tgt: Remove i370-mvs architecture, it is not currently
2242 supported.
2243
96fcab3e
L
22442001-05-25 H.J. Lu <hjl@gnu.org>
2245
2246 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2247 like emulparams/aixppc.sh.
2248
db8d4f23
L
22492001-05-25 H.J. Lu <hjl@gnu.org>
2250
2251 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2252 setting of output_filename after bfd_scan_arch.
2253 * emultempl/pe.em: Likewise.
2254
5f642101
L
22552001-05-25 H.J. Lu <hjl@gnu.org>
2256
2257 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2258 like emulparams/aixppc.sh.
2259
2260 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2261 instead of ${srcdir}/emultempl/stringify.sed.
2262
64e9ece0
TW
22632001-05-25 Timothy Wall <twall@oculustech.com>
2264
2265 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 2266 output.
64e9ece0 2267
c709b096
AM
22682001-05-25 Alan Modra <amodra@one.net.au>
2269
2270 * configure.host: Replace linuxoldld with linux*oldld.
2271 * configure.tgt: Likewise.
2272
6cbdcc6f
L
22732001-05-24 H.J. Lu <hjl@gnu.org>
2274
2275 * emultempl/stringify.sed: Removed again.
2276
86af25fe
L
22772001-05-24 H.J. Lu <hjl@gnu.org>
2278
2279 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2280 (gld${EMULATION_NAME}_before_parse): Initialize
2281 ldfile_output_architecture, ldfile_output_machine and
2282 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2283 * emultempl/beos.em: Likewise.
2284 * emultempl/elf32.em: Likewise.
2285 * emultempl/linux.em: Likewise.
2286 * emultempl/mipsecoff.em: Likewise.
2287 * emultempl/pe.em: Likewise.
2288 * emultempl/sunos.em: Likewise.
2289
3b1b01cf
TR
22902001-05-24 Tom Rix <trix@redhat.com>
2291
8f3aa7a0 2292 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
2293 udate import file format.
2294 (change_symbol_mode) New, same
2295 (is_syscall) New, same
2296 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2297 * emulparams/aixppc64.sh : same
2298 * emulparams/aixrs6.sh : same
2299 * emulparams/ppcmacos.sh : same
2300 * emultempl/aix.em : use strtoull to parse options
2301 * Makefile.am : add eaixppc64 emulation for xcoff64
2302 * Makefile.in : same
2303 * configure.tgt : same
2304
2305 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 2306 default data section offset to 0x20000000
3b1b01cf 2307 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 2308 loader and debug sections use the currect section offset.
3b1b01cf
TR
2309
2310 * emultempl/aix.em : Add xcoff64 support
2311 Add -binitfini support
8f3aa7a0 2312 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 2313 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 2314 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
2315 sections
2316
2317 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 2318
57e6abd2
AO
23192001-05-23 Alexandre Oliva <aoliva@redhat.com>
2320
2321 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2322 variable to avoid non-portable shell construct.
2323
d1cf510e
NC
23242001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2325
2326 * ldmain.c (get_emulation): Add -mips5 command line argument.
2327
506eee22
NC
23282001-05-22 Alexandre Oliva <aoliva@redhat.com>
2329
2330 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2331 (ELF_INTERPRETER_NAME): Define it.
2332 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2333 it.
2334 * configure.tgt (targ_emul, targ_extra_emuls)
2335 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2336 as primary, elf_i386 as extra.
2337 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2338 (eelf_i386_ldso.c): New rule.
2339 * Makefile.in: Rebuilt.
2340
23412001-05-22 Nick Clifton <nickc@redhat.com>
2342
2343 * lexsup.c (ld_options): Allow -I to be an alias for
2344 --dynamic-linker. This is for Solaris compatability.
2345 * ld.texinfo: Document that -I can be used.
2346 * ld.1: Regenerate.
2347
d1778b88
AM
23482001-05-16 Alan Modra <amodra@one.net.au>
2349
2350 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2351 whether an input section is the first one assigned to an output
2352 section.
2353 Assorted formatting fixes.
2354
02649152
DD
23552001-05-14 DJ Delorie <dj@delorie.com>
2356
2357 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2358 * Makefile.in: Ditto.
2359
579f31ac
JJ
23602001-05-11 Jakub Jelinek <jakub@redhat.com>
2361
2362 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2363 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2364 output sections.
2365 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2366
8550eb6e
JJ
23672001-05-11 Jakub Jelinek <jakub@redhat.com>
2368
2369 * ldlang.c (lang_process): Call bfd_merge_sections.
2370
8e5a525c
AM
23712001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2372
2373 * ldgram.y: Fix typo.
2374
1c9acd94
L
23752001-05-03 H.J. Lu <hjl@gnu.org>
2376
2377 * emultempl/elf32.em: Include "libiberty.h".
2378 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2379 basename of the bfd filename.
2380 (gld${EMULATION_NAME}_stat_needed): Likewise.
2381 (gld${EMULATION_NAME}_try_needed): Likewise.
2382 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2383
14fe918e
L
23842001-05-02 H.J. Lu <hjl@gnu.org>
2385
2386 * emultempl/pe.em: Include <ctype.h>.
2387
c7e40348
NC
23882001-05-02 Johan Rydberg <jrydberg@opencores.org>
2389
b6bf44ba 2390 * emulparams/elf32openrisc.sh: New file.
c7e40348 2391
b6bf44ba
AM
2392 * Makefile.am: Add OpenRISC target.
2393 * Makefile.in: Regenerated.
c7e40348 2394
b6bf44ba 2395 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
2396
23972001-05-02 Nick Clifton <nickc@redhat.com>
2398
2399 * emultempl/aix.em: Replace buystring with xstrdup.
2400 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 2401
d1b2b2dc
L
24022001-05-02 H.J. Lu <hjl@gnu.org>
2403
2404 * ldfile.c: Include "libiberty.h".
2405 * ldlex.l: Likewise.
2406
2407 * ldmisc.c (buystring): Removed.
2408 * ldmisc.h: Likewise.
2409
2410 * ldfile.c: Replace buystring with xstrdup.
2411 * ldlang.c: Likewise.
2412 * ldlex.l: Likewise.
2413 * ldmain.c: Likewise.
2414 * ldmisc.c: Likewise.
2415 * lexsup.c: Likewise.
2416 * mpw-eppcmac.c: Likewise.
2417
35714f2a
AJ
24182001-04-30 Andreas Jaeger <aj@suse.de>
2419
2420 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
2421
884fb58e
NC
24222001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2423
b6bf44ba
AM
2424 * ldlang.c (load_symbols): Give emulation a chance
2425 to process unrecognized file before fatal error is
2426 reported, not after.
884fb58e 2427
87748b32
NC
24282001-04-27 Sean McNeil <sean@mcneil.com>
2429
2430 * configure.tgt: Add arm-vxworks target.
2431 * scripttempl/armcoff.sc: Support .text or .data as a section name
2432 prefix.
2433 Define _etext.
35714f2a 2434
7ce691ae
C
24352001-04-13 J.T. Conklin <jtc@redback.com>
2436
2437 * ld.texinfo: Document --fatal-warnings.
2438 * ld.1: Regenerate.
2439
2440 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 2441 warnings have been turned into errors.
7ce691ae
C
2442 * lexsup.c (OPTION_WARN_FATAL): Define.
2443 (ld_options): Entry for --fatal-warnings.
2444 (parse_args): Handle OPTION_WARN_FATAL.
2445 * ld.h (ld_config_type): Add fatal_warnings field.
2446
f5fa8ca2
JJ
24472001-04-13 Jakub Jelinek <jakub@redhat.com>
2448
2449 * ldmain.c (main): Default to discard_sec_merge.
2450 * lexsup.c (OPTION_DISCARD_NONE): Define.
2451 (ld_options): Add --discard-none.
2452 (parse_args): Handle OPTION_DISCARD_NONE.
2453 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
2454 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
2455 all its input sections match.
2456
fdec3cfc
L
24572001-04-05 Steven J. Hill <sjhill@cotw.com>
2458
2459 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
2460 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
2461 (eelf32ltsmip.c): New target.
2462 (eelf64btsmip.c): Likewise.
2463 (eelf64ltsmip.c): Likewise.
2464 * Makefile.in: Regenerated.
2465
2466 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
2467 target.
2468 (mips*-*-linux-gnu*): Likewise.
2469
2470 * emulparams/elf32ltsmip.sh: New. Traditional little endian
2471 MIPS taget.
35714f2a 2472 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
2473 target.
2474 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
2475 endian target.
2476
589bad82
HPN
24772001-04-05 Hans-Peter Nilsson <hp@axis.com>
2478
2479 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
2480 correct value of __Stext here.
2481 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
2482 .startup section.
2483
2484 * emulparams/crislinux.sh: Remove FIXME.
2485
94202e16
AM
24862001-04-02 Alan Modra <alan@linuxcare.com.au>
2487
2488 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
2489 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
2490
1268a053
HPN
24912001-03-27 Hans-Peter Nilsson <hp@axis.com>
2492
2493 * configure.tgt (cris-*-*): Change default emulation to criself.
2494 (cris-*-*aout*): New rule.
2495
d85e9ff7
AM
24962001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
2497
2498 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
2499 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2500
0879a67a
AJ
25012001-03-26 Andreas Jaeger <aj@suse.de>
2502
2503 * ld.texinfo (Overview): Fix syntax in texi code.
2504
0285c67d
NC
25052001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2506
2507 * ld.texinfo: Put @c man indications to generate the ld man page.
2508 When generating man, define all the variables. Define SEEALSO
2509 and SYNOPSIS. Re-organize some lines to avoid the cross references.
2510 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
2511 (ld.1): Generate from ld.texinfo.
2512 * Makefile.in: Regenerate.
2513
c20ec07b
NC
25142001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
2515
2516 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 2517 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 2518
cc5ce052
UD
25192001-03-17 Ulrich Drepper <drepper@redhat.com>
2520
2521 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
2522 is an absolute path look only for this file and not along the path.
2523
a1ab1d2a
UD
25242001-03-17 Ulrich Drepper <drepper@redhat.com>
2525
2526 * emultempl/elf32.em (OPTION_GROUP): New macro.
2527 Add new option Bgroup to longopts.
2528 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
2529 (gld*_list_options): Add -Bgroup and -z defs.
2530 * ld.1: Document -Bgroup and -z defs.
2531 * ld.texinfo: Likewise.
2532
788fca5a
MM
25332001-03-07 Michael Meissner <meissner@redhat.com>
2534
2535 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
2536 with sections created by -fdata-sections.
2537 (.dynbss,.bss): Ditto.
2538
1c7566d1
AM
25392001-03-05 Alan Modra <alan@linuxcare.com.au>
2540
2541 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
2542 after_allocation_default, not gld..._before_allocation.
2543
27b7e12d
AM
25442001-02-27 Alan Modra <alan@linuxcare.com.au>
2545
2546 * configure.in (BFD_VERSION): New.
2547 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2548 * configure: Regenerate.
2549 * Makefile.am: Run "make dep-am"
2550 * Makefile.in: Regenerate.
2551
2bc551c7
TW
25522001-02-26 Timothy Wall <twall@cygnus.com>
2553
2554 * emulparams/elf64_aix.sh: Add additional read-only sections;
2555 uncomment lines which are now required.
2556
1276aefa
NC
25572001-02-26 H.J. Lu <hjl@gnu.org>
2558
2559 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
2560 that problems can be caught whilst loading symbols.
2561 (record_bfd_errors): New function: Report BFD errors and mark
2562 the executable output as being invalid.
1276aefa 2563
41c49998
TW
25642001-02-22 Timothy Wall <twall@cygnus.com>
2565
2566 * configure.host: Add configuration for ia64-*-aix*.
2567 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
2568 Add dependencies for eelf64_aix.c.
2569 * Makefile.in: Regenerate.
2570 * configure.tgt: Add ia64-*-aix* mapping.
2571 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 2572 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
2573 AIX-specific test.
2574
78f85fd7
L
25752001-02-20 H.J. Lu <hjl@gnu.org>
2576
2577 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
2578 false if we found the file.
2579
1ac7e077 25802001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
2581
2582 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
2583 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
2584
e135f41b
NC
25852001-02-18 lars brinkhoff <lars@nocrew.org>
2586
2587 * Makefile.am: Add PDP-11 target.
2588 * configure.tgt: Likewise.
2589 * emulparams/pdp11.sh: New file.
2590
a842aceb
DB
25912001-02-17 David O'Brien <obrien@FreeBSD.org>
2592
2593 * configure.host: Add a generic FreeBSD configuration entry such that
2594 all [modern] FreeBSD systems on all platforms will look the same.
2595
24174db0
L
25962001-02-14 H.J. Lu <hjl@gnu.org>
2597
2598 * configure.tgt: Remove mention of earmelf_linux26.
2599
30c3c13a
RH
26002001-02-13 Richard Henderson <rth@redhat.com>
2601
2602 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2603
b46a87b1
L
26042001-02-13 H.J. Lu <hjl@gnu.org>
2605
2606 * ldexp.h (node_type): Add etree_provided.
2607 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
2608 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 2609 for etree_provided.
b46a87b1
L
2610 (exp_print_tree): Handle etree_provided.
2611 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
2612 etree_provided.
2613
f3988fd9
RH
26142001-02-09 David Mosberger <davidm@hpl.hp.com>
2615
2616 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
2617 .IA_64.unwind.* pattern to unwind table section and
2618 .IA_64.unwind_info* pattern to unwind info section.
2619
a85d7ed0
NC
26202001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2621
2622 * Makefile.am: Add linux target for S/390.
2623 * Makefile.in: Likewise.
2624 * configure.host: Likewise.
2625 * configure.tgt: Likewise.
2626 * emulparams/elf64_s390.sh: New file.
2627 * emulparams/elf_s390.sh: New file.
2628
780248c4
JJ
26292001-02-09 Jakub Jelinek <jakub@redhat.com>
2630
2631 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
2632 targ_extra_libpath.
2633 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2634
0e2534bd
PB
26352001-02-06 Philip Blundell <philb@gnu.org>
2636
2637 * Makefile.am: Remove mention of earmelf_linux26.
2638 * Makefile.in: Regenerate.
2639
46c1ea57
PB
26402001-02-04 Philip Blundell <philb@gnu.org>
2641
2642 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
2643 * emulparams/armelf_linux26.sh: Delete.
2644 * configure.tgt: Remove mention of armelf_linux26 emulation.
2645
0088edd2
NC
26462001-02-01 Nick Clifton <nickc@redhat.com>
2647
2648 * ld.1: Replace occurances of -oformat with --oformat.
2649
02aa14fb
AM
26502001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
2651
2652 * ldlang.c (lang_leave_overlay): Don't set lma_region when
2653 load_base is specified.
2654
f813923c
HPN
26552001-01-24 Hans-Peter Nilsson <hp@axis.com>
2656
2657 * emultempl/elf32.em: Correct spelling in comments and listed
2658 options.
2659
c1eb1488
AM
26602001-01-23 Alan Modra <alan@linuxcare.com.au>
2661
2662 * ldlang.c (lang_leave_overlay): Only set lma_region from the
2663 default for the first section of a group of overlay sections.
2664
d9fc3714
AM
26652001-01-22 Alan Modra <alan@linuxcare.com.au>
2666
2667 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
2668 * Makefile.in: Regenerate.
2669 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
2670 Check for null tool_dir.
2671
6be0ca94
JW
26722001-01-16 Jim Wilson <wilson@redhat.com>
2673
2674 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
2675 and IA_64.unwind.info.
2676
b9247304
L
26772001-01-16 H.J. Lu <hjl@gnu.org>
2678
2679 * ldlang.c (lang_check): Merge the private data only if the
2680 input file has contents.
2681
577a0623
AM
26822001-01-14 Alan Modra <alan@linuxcare.com.au>
2683
d952f17a
AM
2684 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
2685
ffd6e9de
AM
2686 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
2687 enabling search for libmilli. On a relocatable link, make .text
2688 sections unique.
2689 (LDEMUL_AFTER_PARSE): Define.
2690 (hppaelf_finish): Correct spelling of relocatable in comments.
2691
577a0623
AM
2692 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2693 rummage through the script for sections on the unique list.
2694 Correct length of strncmp for ".note".
2695 (gld${EMULATION_NAME}_check_needed): Rearrange function.
2696
2697 * ldlang.c (unique_section_list): New var.
2698 (unique_section_p): New function.
2699 (walk_wild_section): Don't match sections on unique_section_list.
2700 (lang_add_unique): New function.
ffd6e9de 2701 Correct spelling of relocatable in comments.
577a0623
AM
2702
2703 * ldlang.h (struct unique_sections): Declare.
2704 (unique_section_list): Declare.
2705 (unique_section_p): Declare.
2706 (lang_add_unique): Declare.
2707
2708 * lexsup.c (ld_options): Allow --unique to take an optional arg.
2709 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
2710
2711 * ld.texinfo (--unique): Update.
2712
b7ed8fad
NC
27132001-01-13 Nick Clifton <nickc@redhat.com>
2714
2715 * lexsup.c (parse_args): Remove spurious white space.
2716
d0398d6a
NC
27172001-01-12 Nick Clifton <nickc@redhat.com>
2718
2719 * lexsup.c (parse_args): Update copyright date.
2720
350fdb00
PB
27212001-01-12 Philip Blundell <pb@futuretv.com>
2722
2723 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
2724
60c6797e
KH
27252001-01-10 Kazu Hirata <kazu@hxi.com>
2726
2727 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
2728 * scripttempl/h8300h.sc: Fix formatting.
2729 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
2730 * scripttempl/h8500.sc: Likewise.
2731 * scripttempl/h8500b.sc: Likewise.
2732 * scripttempl/h8500c.sc: Likewise.
2733 * scripttempl/h8500m.sc: Likewise.
2734 * scripttempl/h8500s.sc: Likewise.
60c6797e 2735
482e8b32
DB
27362000-01-07 David O'Brien <obrien@BSDi.com>
2737
2738 * emultempl/elf32.em: Only perform Linux ld hints processing when
2739 targeting Linux.
2740
d7ed7ca6
PB
27412001-01-07 Philip Blundell <philb@gnu.org>
2742
2743 * ld.texinfo (Bug Reporting): Update email address for reports.
2744
0fc3347a
NC
27452000-12-31 Nick Clifton <nickc@redhat.com>
2746
2747 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
2748 options by checking for a return value of '?' not -1.
2749
e4897a32
NC
27502000-12-28 Nick Clifton <nickc@redhat.com>
2751
2752 * lexsup.c (struct ld_option): Add new enum value:
2753 EXACTLY_TWO_DASHES.
2754 (ld_options[]): Change -omagic, -output and -oformat options
2755 to be EXACTLY_TWO_DASHES.
2756 (OUTPUT_COUNT): Use ARRAY_SIZE.
2757 (parse_args): Change parameter 'argc' to unsigned.
2758 Place EXACTLY_TWO_DASHES options into new really_longopts
2759 array.
2760 If getopt_long_only fails, try calling getopt_long using the
2761 really_longopts array.
2762 (help): Print a double dash for both EXACTLY_TWO_DASHES and
2763 TWO_DASHES options.
2764
2765 * ldlex.h: Fix prototype of parse_args.
2766
2767 * ld.texinfo: Document that long options starting with 'o'
2768 must be preceeded by two dashes. Change example of a single
2769 dashed long option from -oformat to -trace-symbol.
2770
1122a5fc
NC
27712000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2772
2773 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
2774 (longopts[]): New --no-default-excludes option.
2775 (gld_${EMULATION_NAME}_list_options): Document.
2776 (gld_${EMULATION_NAME}_parse_args): Handle.
2777
037849a9
NC
27782000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2779
2780 * ldlang.c (new_stat): Revert the last beautification with "innocent"
2781 whitespace, it breaks the K&R C preprocessor.
2782
7ec229ce
DD
27832000-12-11 DJ Delorie <dj@redhat.com>
2784
2785 * ld.texinfo: Add notes about --whole-archive and gcc.
2786
b79e8c78
NC
27872000-11-18 Fred Fish <fnf@be.com>
2788
2789 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
2790 (ld_options): Entry for --allow-shlib-undefined.
2791 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
2792 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
2793 to false.
2794 * ld.texinfo: Document new command line switch.
d952f17a 2795
9a8e2505
GK
27962000-12-12 Geoffrey Keating <geoffk@redhat.com>
2797
2798 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
2799 .fixup is actually read/write.
2800 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
2801 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2802 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2803
3b16e843 28042000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2805
2806 * NEWS: Add note about x86_64 architecture.
2807
93b63cd3
DD
28082000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
2809
2810 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
2811 Set DWARF2 sections to a VMA of zero.
2812
68b2fc7a 28132000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 2814
d952f17a 2815 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
2816 New targets.
2817 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
2818 (sparc*-*-rtems*): Switched from a.out to ELF.
2819
2be3aa03
NC
28202000-11-30 Jan Hubicka <jh@suse.cz>
2821
2822 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
2823 (eelf_x86_64.c): New.
2824 * Makefile.in: Regenerate.
2825 * configure.tgt: Add support for x86_64-*-linux-gnu*.
2826 * emulparams/elf_x86_64.sh: New.
2827
8c899858
HPN
28282000-11-30 Hans-Peter Nilsson <hp@axis.com>
2829
2830 * emulparams/crislinux.sh (ENTRY): Change back to _start.
2831 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
2832
2833 * scripttempl/crisaout.sc: Change all RELOCATING not related to
2834 merging non-a.out sections into CONSTRUCTING.
2835
e47b9e39
NC
28362000-11-28 Nick Clifton <nickc@redhat.com>
2837
2838 * ld.1 (COPYING): Mention that the GNU Free Documentation
2839 License is present in the sources, but not the output, and
2840 also available from the GNU website.
2841 (GNU Free Documentation License): Comment out this section.
2842
ad95f82a
DB
28432000-11-28 David O'Brien <obrien@dragon.nuxi.com>
2844
2845 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
2846 does not use them.
2847
fd89e65f
DB
28482000-11-25 David O'Brien <obrien@FreeBSD.org>
2849
2850 * ld.1: Remove old date so it does not give the impression the manpage
2851 is way out of date.
2852
077b8428
NC
28532000-11-24 Nick Clifton <nickc@redhat.com>
2854
2855 * configure.tgt (xscale-coff): Add target.
2856 (xscale-elf): Add target.
2857
49425d28
NC
28582000-11-24 Fred Fish <fnf@be.com>
2859
d952f17a
AM
2860 * ldmain.c (main): Remove redundant init of config.make_executable
2861 to true.
49425d28 2862
d3480244
RH
28632000-11-15 Richard Henderson <rth@redhat.com>
2864
2865 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
2866
1ce7de8b
KH
28672000-11-14 Kazu Hirata <kazu@hxi.com>
2868
2869 * scripttempl/h8300.sc: Fix formatting.
2870 * scripttempl/h8300h.sc: Likewise.
2871 * scripttempl/h8300s.sc: Likewise.
2872
3b16e843 28732000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
2874
2875 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
2876
2e418547
PB
28772000-11-09 Philip Blundell <pb@futuretv.com>
2878
2879 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
2880 around orphan sections whose names can be represented in C.
2881
c940e6fc
JW
28822000-11-07 Jim Wilson <wilson@redhat.com>
2883
2884 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
2885 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
2886
704c465c
NC
28872000-11-06 Nick Clifton <nickc@redhat.com>
2888
2889 * ld.texinfo: Add GNU Free Documentation License.
2890 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 2891 * ld.1: Add GNU Free Documentation License.
704c465c 2892
dca7760f
AM
28932000-11-05 Alan Modra <alan@linuxcare.com.au>
2894
2895 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
2896 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
2897
2898 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
2899 Move 2000-11-02 Makefile.in changes to this file.
2900 * Makefile.in: Regenerate.
2901
40a633d5
NC
29022000-11-03 Nick Clifton <nickc@redhat.com>
2903
2904 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
2905 constructors and destructors.
2906 * scripttempl/h8300h.sc: Ditto.
2907 * scripttempl/h8300s.sc: Ditto.
2908 * scripttempl/h8500.sc: Ditto.
2909 * scripttempl/h8500b.sc: Ditto.
2910 * scripttempl/h8500c.sc: Ditto.
2911 * scripttempl/h8500m.sc: Ditto.
2912 * scripttempl/h8500s.sc: Ditto.
2913 * scripttempl/v850.sc: Ditto.
2914 * scripttempl/w65.sc: Ditto.
2915 * scripttempl/z8000.sc: Ditto.
2916
59ff2774
NC
29172000-11-02 Per Lundberg <plundis@chaosdev.org>
2918
2919 * Makefile.in (e_i386_chaos.c): New rule.
2920 (ALL_EMULATIONS): Added e_i386_chaos.o.
2921 * emulparams/elf_i386_chaos.sh: New file.
2922 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
2923
645571e1
JJ
29242000-10-20 Jakub Jelinek <jakub@redhat.com>
2925
2926 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
2927 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
2928 Fix sed invocation, so that it coped with '/' in Solaris 64bit
2929 library path suffix.
2930 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2931
c5975a45
HPN
29322000-10-18 Hans-Peter Nilsson <hp@axis.com>
2933
2934 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
2935 for consecutive sections.
2936
ea20a7da
CC
29372000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2938
d952f17a
AM
2939 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
2940 options.
2941 * ld.texinfo: Added notes about this new option.
ea20a7da 2942
6e45556a
NC
29432000-10-16 Nick Clifton <nickc@redhat.com>
2944
2945 * emultempl/pe.em (_after_open): Add tests of return values from
2946 bfd functions. Emit appropriate error messages if necessary.
2947
b9a69188
NC
29482000-10-13 Nick Clifton <nickc@redhat.com>
2949
2950 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
2951 local variables - they are not used, but leave in the call to
2952 bfd_canonicalize_symtab.
b9a69188
NC
2953 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
2954 pe_dll_search_prefix.
2955
627427de 29562000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 2957
627427de
DD
2958 * emultempl/pe.em (pe_dll_search_prefix): New variable,
2959 (longopts): New --dll-search-prefix option.
2960 (gld_${EMULATION_NAME}_list_options): Document.
2961 (gld_${EMULATION_NAME}_parse_args): Handle.
2962 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
2963 dynamically, search for a dll named '<prefix><basename>.dll'
2964 in preference to 'lib<basename>.dll' if --dll-search-prefix
2965 is specified.
2966
24376d1b
AM
29672000-10-12 Alan Modra <alan@linuxcare.com.au>
2968
2969 * ldlang.c (section_already_linked): Set kept_section instead of
2970 sec->comdat->sec.
2971
e47d05ad
KH
29722000-10-10 Kazu Hirata <kazu@hxi.com>
2973
2974 * deffile.h: Fix formatting.
2975 * lexsup.c: Likewise.
2976 * mri.c: Likewise.
2977
23a87948
DD
29782000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2979
2980 * pe-dll.c (make_one): Do not generate code thunk for DATA
2981 exports.
2982 (process_def_file): deduce DATA flag for auto-export sumbols.
2983
86b1cc60
KH
29842000-10-09 Kazu Hirata <kazu@hxi.com>
2985
89cdebba
KH
2986 * ld.h: Fix formatting.
2987 * ldcref.c: Likewise.
2988 * ldctor.h: Likewise.
2989 * ldemul.c: Likewise.
2990 * ldemul.h: Likewise.
2991 * ldexp.c: Likewise.
2992 * ldexp.h: Likewise.
2993 * ldfile.c: Likewise.
2994 * ldfile.h: Likewise.
2995 * ldlang.c: Likewise.
2996 * ldlang.h: Likewise.
2997 * ldmain.c: Likewise.
7bfd51a3
KH
2998 * pe-dll.c: Likewise.
2999
3000 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3001
d643799d
KH
30022000-10-08 Kazu Hirata <kazu@hxi.com>
3003
3004 * pe-dll.c: Fix formatting.
3005
08da4cac
KH
30062000-10-05 Kazu Hirata <kazu@hxi.com>
3007
3008 * ldlang.c: Fix formatting.
3009
c2a94a7a
DD
30102000-10-03 DJ Delorie <dj@redhat.com>
3011
3012 * pe-dll.c (fill_edata): initialize entire block
3013 (make_one): fill in correct section.
3014
8c95a62e
KH
30152000-10-03 Kazu Hirata <kazu@hxi.com>
3016
3017 * ldexp.c: Fix formatting.
3018
486e80e2
DD
30192000-10-02 DJ Delorie <dj@redhat.com>
3020
3021 * emultempl/pe.em (gld_*_after_open): detect case where there two
3022 import libraries for same dll; rename one to ensure proper link
3023 order.
3024
3025 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3026 typo
3027 (generate_edata): fix typo
3028
24dd9f75
HPN
30292000-09-29 Hans-Peter Nilsson <hp@axis.com>
3030
3031 * scripttempl/crisaout.sc (ENTRY): Now __start.
3032 (.text): Add default setting for __start.
3033 Remove CONSTRUCTORS handling.
3034 (/DISCARD/): Add .gnu.warning.*.
3035 * emulparams/crislinux.sh (ENTRY): Now __start.
3036 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3037 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3038 (ENTRY): Now __start.
3039 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3040 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3041
4de2d33d
KH
30422000-09-29 Kazu Hirata <kazu@hxi.com>
3043
5cc18311
KH
3044 * deffile.h: Fix formatting.
3045 * ld.h: Likewise.
3046 * ldcref.c: Likewise.
4de2d33d 3047 * ldctor.c: Likewise.
5cc18311 3048 * ldctor.h: Likewise.
4de2d33d 3049 * ldemul.c: Likewise.
5cc18311 3050 * ldemul.h: Likewise.
4de2d33d 3051 * ldexp.c: Likewise.
5cc18311 3052 * ldexp.h: Likewise.
4de2d33d 3053 * ldfile.c: Likewise.
5cc18311 3054 * ldfile.h: Likewise.
4de2d33d 3055 * ldlang.c: Likewise.
5cc18311
KH
3056 * ldlang.h: Likewise.
3057 * lexsup.c: Likewise.
3058 * mri.c: Likewise.
3059 * pe-dll.c: Likewise.
4de2d33d 3060
45b1f63c
DD
30612000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3062
3063 * pe-dll.c (process_def_file): Uninitialized data wasn't
3064 exported with --export-all-symbols switch.
d952f17a 3065
45b1f63c
DD
30662000-09-28 DJ Delorie <dj@redhat.com>
3067
3068 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3069 noname work properly.
3070
47d89dba
AM
30712000-09-28 Alan Modra <alan@linuxcare.com.au>
3072
3073 * ld.texinfo (HPPA ELF32): New section.
3074
3075 * emultempl/hppaelf.em (group_size): New.
3076 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3077 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3078 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3079 options to prevent abbreviations matching.
3080 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3081 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3082
36bdbeec
NC
30832000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3084
3085 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3086 on the m68*-*-elf target. Make it support COFF input objects.
3087
6d5e62f8
KH
30882000-09-21 Kazu Hirata <kazu@hxi.com>
3089
3090 * ldmain.c: Fix formatting.
3091 * ldmisc.c: Likewise.
3092 * ldver.c: Likewise.
3093 * ldwrite.c: Likewise.
3094
e2eb67d9
AM
30952000-09-21 Alan Modra <alan@linuxcare.com.au>
3096
3097 * ldwrite.c (clone_section): Silence gcc warnings.
3098
b3ea3584
AM
30992000-09-20 Alan Modra <alan@linuxcare.com.au>
3100
3101 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3102 out of memory failure.
3103
3104 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3105 (clone_section): Handle out of memory failures. Rename var to
3106 avoid c++ reserved word.
3107
25f72752
AM
31082000-09-18 Alan Modra <alan@linuxcare.com.au>
3109
3110 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3111 stub_name param to stub_sec_name.
3112 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3113
0752970e
NC
31142000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3115
3116 * emultempl/m68kelf.em: New file.
3117 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3118 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3119 * Makefile.in: Regenerate.
3120
92b7e9d8
AM
31212000-09-15 Alan Modra <alan@linuxcare.com.au>
3122
3123 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3124 only as needed.
3125
9b14b192
NC
31262000-09-13 Nick Clifton <nickc@redhat.com>
3127
3128 * ldmain.c (multiple_definition): Disable relaxation if
3129 multiple symbol definitions are encountered - otherwise the
3130 linker could abort with an assertion failure.
3131
891fa266
NC
31322000-09-10 Nick Clifton <nickc@redhat.com>
3133
3134 * mri.c: Fix formatting.
3135
5d64ca4e
L
31362000-09-07 H.J. Lu <hjl@gnu.org>
3137
3138 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3139 * configure: Rebuild.
3140
dd94604f
L
31412000-09-07 H.J. Lu <hjl@gnu.org>
3142
3143 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3144 * Makefile.in: Rebuild.
3145
71bfc0ae
AM
31462000-09-07 Alan Modra <alan@linuxcare.com.au>
3147
3148 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3149 broken list handling. Create __start_SECNAME and __stop_SECNAME
3150 when no place-holder. Add some comments. Test both SEC_CODE and
3151 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 3152 Handle case where no output section statement created.
71bfc0ae 3153
4a428502
AO
31542000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3155
3156 * configure.tgt (sh-*-linux*): Added.
3157 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3158 * Makefile.in: Rebuilt.
3159 * emulparams/shelf_linux.sh: New file.
3160 * emulparams/shlelf_linux.sh: New file.
3161
f9989030
AM
31622000-09-06 Alan Modra <alan@linuxcare.com.au>
3163
3164 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3165 try shuffling sections when the orphan happens to be the place
3166 holder. Keep count of unique section names generated so we speed
3167 the search for a new name.
3168
58cccadb
AO
31692000-09-06 Alexandre Oliva <aoliva@redhat.com>
3170
3171 * configure: Rebuilt with new libtool.m4.
3172
5b343f5a
NC
31732000-09-05 Nick Clifton <nickc@redhat.com>
3174
3175 * Makefile.in: Regenerate.
3176 * aclocal.m4: Regenerate.
3177 * configure: Regenerate.
3178 * config.in: Regenerate.
3179 * po/ld.pot: Regenerate.
3180
3181 * ldint.texinfo: Remove CVS revision marker - it foils local
3182 comparisons.
3183
3184 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 3185
a854a4a7
AM
31862000-09-05 Alan Modra <alan@linuxcare.com.au>
3187
3231d22e
AM
3188 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3189 to stub section flags.
3190 (hppa_for_each_input_file_wrapper): New.
3191 (hppa_lang_for_each_input_file): New.
3192 (lang_for_each_input_file): Define to call above.
3193 (multi_subspace): New.
3194 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3195 (PARSE_AND_LIST_PROLOGUE): Define.
3196 (PARSE_AND_LIST_LONGOPTS): Define.
3197 (PARSE_AND_LIST_OPTIONS): Define.
3198 (PARSE_AND_LIST_ARGS_CASES): Define.
3199 (hppaelf_finish): Call elf32_hppa_set_gp.
3200 (hppaelf_set_output_arch): Remove.
3201 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3202
3203 * emulparams/hppalinux.sh (ELFSIZE): Define.
3204 (MACHINE): Define.
3205 (OTHER_READONLY_SECTIONS): Define.
3206 (DATA_PLT): Define.
3207 (GENERATE_SHLIB_SCRIPT): Define.
3208
5f992e62
AM
3209 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3210 to const throughout. Change `void *' to `PTR' throughout.
3211 (lang_memory_default): Function is local to file, add `static'.
3212
3213 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3214 (ehppalinux.c): Likewise.
3215 (earmelf.c): Likewise.
3216 (earmelf_linux.c): Likewise.
3217 (earmelf_linux26.c): Likewise.
3218 * Makefile.in: Regenerate.
3219
a854a4a7
AM
3220 * ld.h (ld_config_type): Add unique_orphan_sections.
3221 * lexsup.c (OPTION_UNIQUE): Define.
3222 (ld_options): Add "--unique".
3223 (parse_args): Handle it.
3224 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3225 search for an existing output section if unique_orphan_sections is
3226 set. Make use of bfd_get_unique_section_name rather than
3227 duplicating code here.
3228 * ld.texinfo: Describe --unique.
3229
3230 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3231 optional arg to split-by-file.
3232 (parse_args): Handle them.
3233 * ld.texinfo: Update description of these options.
3234 * ldwrite.c (clone_section): Pass in the section name. Replace
3235 local code with bfd_get_unique_section_name.
3236 (split_sections): Tidy code and comments. Use a list traversal
3237 more appropriate to the list construction. Handle cooked section
3238 sizes. Split when split_by_reloc reached rather than exceeded.
3239 Track section size and split when split_by_file reached. Fix
3240 link_order_tail (even though it's not used).
3241 (ldwrite): Modify condition for calling split_sections to suit
3242 changed split_by_reloc and split_by_file.
3243 * ldmain.c (main): Init config.split_by_reloc and
3244 config.split_by_file to -1.
3245 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3246 Change split_by_file to bfd_size_type.
3247
18e03609
NC
32482000-09-02 Nick Clifton <nickc@redhat.com>
3249
3250 * configure.in: Increase version number to 2.10.91.
3251 * NEWS: Mention new ability to support removal of duplicate DWARF2
3252 debug information.
3253 * configure: Regenerate.
3254 * aclocal.m4: Regenerate.
3255 * config.in: Regenerate.
3256
3a9d486c
NC
32572000-09-02 Daniel Berlin <dberlin@redhat.com>
3258
3259 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3260 sections.
a2b64bed 3261 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
3262 * scripttempl/elfd10v.sc: Ditto.
3263 * scripttempl/elfd30v.sc: Ditto.
3264 * scripttempl/elfi370.sc: Ditto.
3265 * scripttempl/elfm68hc11.sc: Ditto.
3266 * scripttempl/elfm68hc12.sc: Ditto.
3267 * scripttempl/elfi386beos.sc: Ditto.
3268 * scripttempl/v850.sc: Ditto.
50bbae35 3269
ac48eca1
AO
32702000-08-31 Alexandre Oliva <aoliva@redhat.com>
3271
3272 * acinclude.m4: Include libtool and gettext macros from the
3273 top level.
3274 * aclocal.m4, configure: Rebuilt.
3275
c13b1b77
NC
32762000-08-25 Nick Clifton <nickc@redhat.com>
3277
3278 * ldlang.c (open_output): When choosing the target for a
3279 particular endianness, do nothing if the target is not
3280 supported.
3281
dcb0bd0e
L
32822000-08-25 H.J. Lu <hjl@gnu.org>
3283
3284 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3285 check -rpath nor LD_RUN_PATH for cross link.
3286 * ld.texinfo: Document the change.
3287
5bcac8a4
HPN
32882000-08-24 Hans-Peter Nilsson <hp@axis.com>
3289
3290 * NEWS: Mention support for CRIS.
3291
6dd8c765
L
32922000-08-23 H.J. Lu <hjl@gnu.org>
3293
3294 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3295 the current runpath list from bfd_elf_get_runpath_list ()
3296 before search.
3297
ec4eb78a
L
32982000-08-22 H.J. Lu <hjl@gnu.org>
3299
3300 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3301 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3302 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3303 trace_file_tries is non-zero.
3304 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3305 if trace_file_tries is non-zero.
3306
3307 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 3308 * NEWS: Mention it.
ec4eb78a 3309
22b36938
JE
33102000-08-14 Jason Eckhardt <jle@cygnus.com>
3311
3312 * NEWS: Mention i860 support.
3313
d73e9da0
AS
33142000-08-14 Andreas Schwab <schwab@suse.de>
3315
3316 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 3317 syntax.
d73e9da0 3318
9ac4db9c
GK
33192000-08-10 Geoff Keating <geoffk@cygnus.com>
3320
3321 * scripttempl/elf.sc: Add a comment giving the correspondence
3322 between sections, per-datum sections, and linkonce sections. Make
3323 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3324 .sbss2.
3325
165589e4
JE
33262000-08-10 Jason Eckhardt <jle@cygnus.com>
3327
3328 * emulparams/elf32_i860.sh: New file.
3329 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3330 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3331 (eelf32_i860.c): New rule.
3332 * Makefile.in: Regenerate.
3333
345a835d
NC
33342000-08-10 Nick Clifton <nickc@cygnus.com>
3335
3336 * emulparams/mipspe.sh (ENTRY): Add definition.
3337
e374f1d9
NC
33382000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3339
3340 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3341 in error message.
3342
236d5abf
NC
33432000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3344
3345 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3346 the final size of .bss section.
3347 * scripttempl/elfm68hc12.sc: Likewise.
3348
4b209b22
AM
33492000-08-04 Alan Modra <alan@linuxcare.com.au>
3350
3351 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3352 gld${EMULATION_NAME}_parse_args for consistency. Combine
3353 lastoptind and prevoptind vars, and keep track of last optind.
3354 (gld_${EMULATION_NAME}_list_options): Rename to
3355 gld${EMULATION_NAME}_list_options.
3356
28423a68
AM
33572000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3358
3359 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3360 (i586-sco-sysv5uw7.1.0).
3361
b2009ff7
L
33622000-07-27 H.J. Lu <hjl@gnu.org>
3363
3364 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3365 (PARSE_AND_LIST_PROLOGUE): New.
3366 (PARSE_AND_LIST_LONGOPTS): Likewise.
3367 (PARSE_AND_LIST_OPTIONS): Likewise.
3368 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3369 (PARSE_AND_LIST_EPILOGUE): Likewise.
3370
04925e1e
AM
33712000-07-28 Alan Modra <alan@linuxcare.com.au>
3372
41392f03
AM
3373 * emultempl/armelf.em: Elide functions common to elf32.em,
3374 ie. most of the file.
3375 (arm_elf_after_open): New. Do arm specific things then call
3376 gld${EMULATION_NAME}_after_open.
3377 (arm_elf_before_allocation): New. Call
3378 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3379 (PARSE_AND_LIST_PROLOGUE): Define.
3380 (PARSE_AND_LIST_SHORTOPTS): Define.
3381 (PARSE_AND_LIST_LONGOPTS): Define.
3382 (PARSE_AND_LIST_OPTIONS): Define.
3383 (PARSE_AND_LIST_ARGS_CASES): Define.
3384 (LDEMUL_AFTER_OPEN): Define.
3385 (LDEMUL_BEFORE_ALLOCATION): Define.
3386 (LDEMUL_BEFORE_PARSE): Define.
3387 (LDEMUL_FINISH): Define.
3388
3389 * emultempl/hppaelf.em: Similarly zap most of this file.
3390 (hppaelf_add_stub_section): Prototype.
3391 (hppaelf_layaout_sections_again): Prototype.
3392 (hook_in_stub): Prototype.
3393 (LDEMUL_SET_OUTPUT_ARCH): Define.
3394 (LDEMUL_FINISH): Define.
3395 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
3396
3397 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
3398 (EXTRA_EM_FILE): New.
3399 * emulparams/armelf_linux.sh: Likewise.
3400 * emulparams/armelf_linux26.sh: Likewise.
3401 * emulparams/hppalinux.sh: Likewise.
3402 * emulparams/hppaelf.sh: Likewise.
3403 (NOP): Define.
3404
3405 * emultempl/elf32.em: Fix formatting.
3406 (EXTRA_EM_FILE): Source it.
3407 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
3408 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
3409 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
3410 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
3411 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
3412 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
3413 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
3414 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
3415 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
3416 allow functions in this file to be overridden.
3417 (PARSE_AND_LIST_SHORTOPTS): Handle it.
3418
3419 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
3420
04925e1e
AM
3421 * emultempl/elf32.em: Reorganize file.
3422
88cdf297
NC
34232000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
3424
3425 * emulparams/elf64alpha.sh: Implement "-taso" emulation
3426 specific option to fit 64-bit executable in the lower
3427 31-bit address range. This is done by changing start
3428 address of .interp (the very first section of executable)
3429 and then setting EF_ALPHA_32BIT elf header flag.
3430
20bccb34
NC
34312000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3432
3433 * emultempl/m68kcoff.em: New file.
3434 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
3435 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
3436 generic.em.
3437 * Makefile.in: Regenerate.
3438
699845ef
L
34392000-07-20 H.J. Lu <hjl@gnu.org>
3440
3441 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
3442 and "disable-new-dtags" to stop getopt from treating -d/-e as
3443 abbreviations for these options.
3444
6c1439be
L
34452000-07-20 H.J. Lu <hjl@gnu.org>
3446
3447 * ld.texinfo: Add documentation for --disable-new-dtags and
3448 --enable-new-dtags.
3449
3450 * ldmain.c (main): Initialize link_info.new_dtags to false.
3451
3452 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
3453 --disable-new-dtags and --enable-new-dtags.
3454 (gld_${EMULATION_NAME}_list_options): Likewise.
3455
28c309a2
NC
34562000-07-05 Kenneth Block <krblock@computer.org>
3457
a2b64bed
NC
3458 * lexsup.c: Add optional style to demangle switch
3459 * ld.texinfo: Document optional style to demangle switch.
50bbae35 3460
9d06555c
HPN
34612000-07-20 Hans-Peter Nilsson <hp@axis.com>
3462
3463 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
3464 ecrislinux.o.
3465 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
3466 Regenerate dependencies.
3467 * Makefile.in: Rebuild.
3468 * configure.tgt (cris-*-*): New target.
3469 * emulparams/crisaout.sh, emulparams/criself.sh,
3470 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
3471 * po/POTFILES.in, po/ld.pot: Regenerate.
3472
19e3be22
L
34732000-07-20 H.J. Lu <hjl@gnu.org>
3474
3475 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
3476 Print out ignored -z options.
3477
e0ee487b
L
34782000-07-19 H.J. Lu <hjl@gnu.org>
3479
19e3be22
L
3480 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
3481 (PARSE_AND_LIST_PROLOGUE): New.
3482 (PARSE_AND_LIST_LONGOPTS): Likewise.
3483 (PARSE_AND_LIST_OPTIONS): Likewise.
3484 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3485
3486 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
3487
3488 * lexsup.c (ld_options): Comment out 'z'.
3489 (parse_args): Likewise.
3490
3491 * emultempl/elf32.em: Include "elf/common.h".
3492 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
3493 options.
3494 (gld_${EMULATION_NAME}_list_options): Likewise.
3495
3496 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 3497
49e56c49
L
34982000-07-19 H.J. Lu <hjl@gnu.org>
3499
3500 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
3501 bfd_elf_set_dt_needed_soname ().
3502
9d68bc82
DD
35032000-07-18 DJ Delorie <dj@cygnus.com>
3504
3505 * pe-dll.c (pe_dll_id_target): check object target name also
3506
53db15ed
HPN
35072000-07-18 Hans-Peter Nilsson <hp@axis.com>
3508
3509 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
3510 ${INIT_END} if relocating.
3511 (.fini): Likewise ${FINI_START} and ${FINI_END}.
3512
0ad8cf4c
DD
35132000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
3514
a2b64bed 3515 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
3516 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
3517 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
3518 errors introduced by the old dynamic lib search order.
3519
874c8c99
DD
35202000-07-17 DJ Delorie <dj@cygnus.com>
3521
3522 * pe-dll.c (process_def_file): auto-export data items also
3523 (pe_process_import_defs): also see if _imp_ form needed
3524
5b4cf3f4
DD
35252000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
3526
3527 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
3528 for dll import libraries
3529
062739d1
NC
35302000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
3531
3532 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 3533 gcc 2.95.2 and later.
062739d1 3534
1c64c4ed
NC
35352000-07-11 Kazu Hirata <kazu@hxi.com>
3536
50bbae35
AM
3537 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
3538 message.
1c64c4ed 3539
b71e2778
AM
35402000-07-10 Alan Modra <alan@linuxcare.com.au>
3541
3542 * ldemul.h (struct lang_input_statement_struct): Remove forward
3543 declaration.
3544 (struct search_dirs): Likewise.
3545 * ldfile.h (struct lang_input_statement_struct): Likewise.
3546 Protect file from multiple inclusion.
3547 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
3548 declaration from macro to file scope.
3549
3550 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
3551 * ldgram.y: Likewise here.
3552 * ldlang.c: And here.
3553 * ldmain.c: And here.
3554 * mpw-elfmips.c: And here.
3555 * mpw-eppcmac.c: And here.
3556 * emultempl/aix.em: And here.
3557 * emultempl/armcoff.em: And here.
3558 * emultempl/armelf.em: And here.
3559 * emultempl/armelf_oabi.em: And here.
3560 * emultempl/beos.em: And here.
3561 * emultempl/elf32.em: And here.
3562 * emultempl/hppaelf.em: And here.
3563 * emultempl/linux.em: And here.
3564 * emultempl/lnk960.em: And here.
3565 * emultempl/pe.em: And here.
3566 * emultempl/sunos.em: And here.
3567 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
3568 * mpw-idtmips.c: Ditto.
3569 * emultempl/generic.em: Ditto.
3570 * emultempl/gld960.em: Ditto.
3571 * emultempl/gld960c.em: Ditto.
3572 * emultempl/mipsecoff.em: Ditto.
3573 * emultempl/ticoff.em: Ditto.
3574 * emultempl/vanilla.em: Ditto.
3575
3576 * pe-dll.c: Include ldfile.h
3577 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
3578
3579 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
3580 arguments to bfd_elf32_size_dynamic_sections call.
3581 (gldelf32ebmip_place_orphan): Add missing arguments to
3582 lang_leave_output_section_statement call.
3583
2ef53d66
L
35842000-07-10 H.J. Lu <hjl@gnu.org>
3585
3586 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
3587 DLL_SUPPORT.
3588 (strhash): Likewise.
3589 (compute_dll_image_base): Likewise.
3590 (pe_undef_found_sym): Likewise.
3591 (pe_undef_cdecl_match): Likewise.
3592 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
3593 argument "arch" with ATTRIBUTE_UNUSED.
3594
9a8cbb09
AM
35952000-07-10 Alan Modra <alan@linuxcare.com.au>
3596
3597 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
3598
3599 From Ryan Bradetich <rbradetich@uswest.net>
3600 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 3601
4900fc06
AM
36022000-07-09 Alan Modra <alan@linuxcare.com.au>
3603
3604 Changes to create multiple linker stubs, positioned immediately
3605 before the section where they are required.
3606 * emultempl/hppaelf.em: Include elf32-hppa.h.
3607 (stub_sec, file_chain): Delete.
3608 (hppaelf_create_output_section_statements): Don't make a stub
3609 section here.
3610 (hook_stub_info): New struct.
3611 (hook_in_stub): New function.
3612 (hppaelf_add_stub_section): New function.
3613 (hppaelf_finish): Do nothing for relocateable links. Modify the
3614 call to elf32_hppa_size_stubs. Move code for updating section
3615 layout from here...
3616 (hppaelf_layaout_sections_again): ..to here, a new function.
3617
3618 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
3619 broken list handling. Pass in a pointer to the list.
3620 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
3621 for above changes.
3622 (hppaelf_before_parse): Prototype.
3623 (hppaelf_set_output_arch): Prototype.
3624 (hppaelf_create_output_section_statements): Prototype.
3625 (hppaelf_delete_padding_statements): Prototype.
3626 (hppaelf_finish): Prototype.
3627
3628 Merge from elf32.em
3629 * emultempl/hppaelf.em: Include ctype.h.
3630 (struct orphan_save): New.
3631 (gld${EMULATION_NAME}_place_orphan): New.
3632 (output_rel_find): New.
3633 (hppaelf_get_script): Update from elf32.em.
3634 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
3635 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 3636 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
3637
3638 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
3639 ehppalinux.o, sort it. Regenerate dependencies.
3640 (ehppalinux.c): Depend on hppaelf.em
3641 * Makefile.in: Regenerate.
3642
3643 * configure.tgt: targ_emul=hppalinux for hppa*linux
3644
3645 * emulparams/hppalinux.sh: New.
3646 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
3647
227aeb07
AM
36482000-07-08 Alan Modra <alan@linuxcare.com.au>
3649
3650 * lexsup.c (parse_args): Copy section name.
3651
28609fd4 36522000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 3653
2ef53d66 3654 * emultempl/pe.em: institute the following search order for
602e90d3
DD
3655 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
3656 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
3657 static lib (libfoo.a) if none of the above are found.
3658
5f577f7d
DD
36592000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
3660
50bbae35 3661 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 3662 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 3663 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
3664 (gld_${EMULATION_NAME}_parse): Handle.
3665 (strhash): New static function.
50bbae35 3666 (compute_dll_image_base): New static function.
5f577f7d
DD
3667 (gld_${EMULATION_NAME}_set_symbols): Use.
3668
9a8cbb09 36692000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
3670
3671 * MAINTAINERS: new
3672
3548145d 36732000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
3674
3675 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
3676 * emulparams/elf32btsmip.sh: New file.
3677 * Makefile.am: Add traditional mips target.
3678 * Makefile.in: Rebuild.
3679
67798033
L
36802000-07-01 H.J. Lu <hjl@gnu.org>
3681
3682 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
3683 automake to use YLWRAP.
3684 * Makefile.in: Rebuild.
3685
0bdaf48b
AM
36862000-07-01 Alan Modra <alan@linuxcare.com.au>
3687
3688 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3689 (CLEANFILES): Add DEPA.
3690 * Makefile.in: Regenerate.
3691
c9e769c2
TW
36922000-06-30 Timothy Wall <twall@ppc>
3693
3694 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
3695 the page in the upper octet of the address.
3696
65aa24b6
NC
36972000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
3698
3699 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
3700
4667035e
AM
37012000-06-24 Alan Modra <alan@linuxcare.com.au>
3702
3703 * NEWS: arm-elf does --gc-sections too.
3704
1581f8c9
AM
37052000-06-22 Alan Modra <alan@linuxcare.com.au>
3706
3707 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3708 find one.
3709 * Makefile.in: Regenerate.
3710
01580992
L
37112000-06-21 H.J. Lu <hjl@gnu.org>
3712
3713 * Makefile.am: Rebuild dependency.
3714 * Makefile.in: Rebuild.
3715
bbeb2e03
L
37162000-06-20 H.J. Lu <hjl@gnu.org>
3717
3718 * Makefile.am: Rebuild dependency.
3719 * Makefile.in: Rebuild.
3720
74459f0e
TW
37212000-06-20 Timothy Wall <twall@cygnus.com>
3722
3723 * scripttempl/tic54xcoff.sc: New.
3724 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
3725 * gen-doc.texi: Add flag for TI COFF.
3726 * ld.texinfo: Add documentation for TI COFF handling switches.
3727 * emultempl/ticoff.em: New. TI COFF handling.
3728 * configure.tgt: Add tic54x target.
3729 * Makefile.am: Add tic54x target.
3730 * Makefile.in: Ditto.
3731
2ab47eed
AM
37322000-06-20 Alan Modra <alan@linuxcare.com.au>
3733
3734 * ldmain.c (set_scripts_dir): Correct pointer comparison when
3735 checking for backslashes.
3736
919e4093
AM
37372000-06-19 Alan Modra <alan@linuxcare.com.au>
3738
3739 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
3740
987fd5b4
AM
37412000-06-18 Alan Modra <alan@linuxcare.com.au>
3742
3743 * NEWS: Update list of targets supporting --gc-sections.
3744
3745 * scripttempl/elf.sc: KEEP .eh_frame contents.
3746 * scripttempl/elfd30v.sc: Same here.
3747
60bcf0fa
NC
37482000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
3749
3750 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
3751 and m68hc11 (elf).
3752 * Makefile.in: Rebuild.
3753 * configure.tgt: Recognize m68hc12 and m68hc11.
3754 * scripttempl/elfm68hc12.sc: New file.
3755 * emulparams/m68hc12elfb: New emulation.
3756 * emulparams/m68hc12elf: New emulation.
3757 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
3758 (includes a memory.x script to define the ROM and RAM banks).
3759 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
3760 New configuration files for support of Motorola 68hc11
3761
c7c54483
AM
37622000-06-15 Alan Modra <alan@linuxcare.com.au>
3763
3764 * ldmain.c (main): Only change SEC_READONLY for final link.
3765
bcef29e6
L
37662000-06-13 H.J. Lu <hjl@gnu.org>
3767
3768 * configure: Regenerate.
3769
946efd95
DB
37702000-06-08 David O'Brien <obrien@FreeBSD.org>
3771
3772 * configure.in (VERSION): Update to show this is the CVS mainline.
3773
57a6fd07
DB
37742000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3775
3776 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
3777 input objects to be ECOFF.
3778 (check_sections): einfo takes %B, not %P, to print a BFD name.
3779
e06cae36
L
37802000-06-05 Michael Matz <matz@ifh.de>
3781
3782 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 3783 version scripts.
e06cae36 3784
d952f17a 3785 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 3786
2f0b56c0
DC
37872000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
3788
3789 * emulparams/avr1200.sh (STACK): Define as 0.
3790 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
3791 * emulparams/avr4433.sh (STACK): Likewise.
3792 * emulparams/avr44x4.sh (STACK): Likewise.
3793 * emulparams/avr85xx.sh (STACK): Likewise.
3794 * emulparams/avrmega103.sh (STACK): Likewise.
3795 * emulparams/avrmega161.sh (STACK): Likewise.
3796 * emulparams/avrmega603.sh (STACK): Likewise.
3797 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
3798 (__stack): Define from ${STACK} for main().
3799
2114f57b
AM
38002000-05-26 Alan Modra <alan@linuxcare.com.au>
3801
3802 * Makefile.am: Update dependencies with "make dep-am"
3803 * Makefile.in: Regenerate.
3804
5af11cab
AM
38052000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3806
3807 * ldmain.c: Include filenames.h.
3808 (set_scripts_dir): Support backslashes in program name.
3809
1f0df59a
NC
38102000-05-22 Igor Shevlyakov <igor@windriver.com>
3811
3812 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
3813 read-only, don't forget to reset SEC_READONLY because it
3814 could be already set.
1f0df59a 3815
176355da
NC
38162000-05-22 Thomas de Lellis <tdel@windriver.com>
3817
50bbae35
AM
3818 * ld.1: Add documentation for new command line option:
3819 --section-start <sectionname>=<sectionorg>
3820 This is a generic version of -Ttext etc. which accepts
3821 any section name as a parameter instead of just text/data/
3822 bss.
3823 * ld.texinfo: More docs.
3824 * NEWS: More docs.
3825 * lexsup.c: (parse_args): Recognize new command line option.
176355da 3826 (ld_options): Add new option.
50bbae35 3827
8c5ff972
L
38282000-05-18 H.J. Lu <hjl@gnu.org>
3829
3830 * lexsup.c (parse_args): `i' == `r', not `q'.
3831
3b16e843 38322000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
3833
3834 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
3835
a712da20
NC
38362000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
3837 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 3838
a712da20
NC
3839 Add support for '-q' == '--emit-relocs' switch.
3840 * ldmain.c (main): Default to false.
3841 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
3842 * NEWS: Describe the emitrelocations switch.
3843 * ld.texinfo: Describe the emitrelocations switch.
3844
690a460e
NC
38452000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
3846
a2b64bed 3847 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
3848 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
3849 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
3850 link options.
50bbae35 3851
c2f1343c
AM
38522000-05-15 David O'Brien <obrien@FreeBSD.org>
3853
3854 * lexsup.c (parse_args): Update the year in the copyright notice.
3855
897083bd
AM
38562000-05-13 Alan Modra <alan@linuxcare.com.au>
3857
3858 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
3859 Replace defines with those from intl/libgettext.h to quieten gcc
3860 warnings.
3861
cd4c806a
L
38622000-05-10 H.J. Lu <hjl@gnu.org>
3863
3864 * ldlang.c (open_input_bfds): Don't load the same file within
3865 a group again if the whole archive has been loaded already.
3866
93697284
AM
38672000-05-03 Alan Modra <alan@linuxcare.com.au>
3868
3869 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
3870 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
3871 strtoul.
3872
3b16e843 38732000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 3874
99a4150f 3875 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 3876
ebd6fc29
JW
3877 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3878 host "ia64-*-linux-gnu*".
3879
a1934524
AM
38802000-04-29 Andreas Jaeger <aj@suse.de>
3881
3882 * ld.h: Correctly check GCC version.
3883
3b16e843 38842000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
3885
3886 * Makefile.am: Add PA64 support. Add missing dependencies for
3887 PA32 elf support.
3888 * Makefile.in: Rebuilt.
3889 * configure.tgt: Add PA64 support (currently disabled).
3890
aea4bd9d
AM
38912000-04-25 Alan Modra <alan@linuxcare.com.au>
3892
3893 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
3894 (output_rel_find): New function.
3895 (hold_section, hold_use): Delete.
3896 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3897 hold_interp): Make local to place_orphan.
3898 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
3899 rather than place_section to find possible previous use of orphan.
3900 Similarly find the place-holder output sections. Use returned
3901 value from lang_enter_output_section_statement rather than calling
3902 lang_output_section_statement_lookup.
3903 * emultempl/armelf.em: Same here.
3904 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
3905
3906 * ldlang.c (lang_enter_output_section_statement): Return output
3907 section statement.
3908 * ldlang.h (lang_enter_output_section_statement): Change
3909 declaration too.
3910
3911 * ldlang.h (lang_output_section_statement): Export it.
3912 * ldlang.c (lang_output_section_statement): Ditto.
3913
2b5fc1f5
NC
39142000-04-24 Nick Clifton <nickc@cygnus.com>
3915
3916 * ld.texinfo (Output Section Data): Add note that section data
3917 commands cannot appear outside of section directives.
3918
d8475ff6
JL
39192000-04-2 Matthew Green <mrg@cygnus.com>
3920
3921 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
3922
3b16e843
NC
39232000-04-21 Richard Henderson <rth@cygnus.com>
3924 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
3925
3926 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
3927 (eelf64_ia64.c): New rule.
3928 * Makefile.in: Rebuild.
3929 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
3930 * emulparams/elf64_ia64.sh: New file.
50bbae35 3931
c9637625
RH
39322000-04-21 Richard Henderson <rth@cygnus.com>
3933
3934 * scripttempl/elfd30v.sc: Place .gcc_except_table.
3935
28ea9521
AM
39362000-04-19 Alan Modra <alan@linuxcare.com.au>
3937
3938 * dep-in.sed: Match space at start of file name, not at end.
3939
20d04697
L
39402000-04-18 H.J. Lu <hjl@gnu.org>
3941
3942 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
3943 lang_leave_output_section_statement () after calling
3944 lang_enter_output_section_statement ().
3945 * emultempl/armelf.em: Likewise.
3946
5ba47421
AM
39472000-04-18 Alan Modra <alan@linuxcare.com.au>
3948
3949 * emultempl/elf32.em (struct orphan_save): Add section field.
3950 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
3951 better order, and place first orphan section as we did before the
3952 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
3953 Don't call make_bfd_section here, let wild_doit do the job for us.
3954 Don't build a statement list when we'll only throw it away.
3955 * emultempl/armelf.em: Ditto.
3956 * emultempl/pe.em: Similarly.
3957
bdbe5705
GK
39582000-04-14 Geoff Keating <geoffk@cygnus.com>
3959
3960 * scripttempl/elfppc.sc: Remove.
3961 * emulparams/elf32ppc.sh: Use elf.sc.
3962 * emulparams/elf32lppc.sh: Use elf.sc.
3963 * emulparams/elf32ppclinux.sh: Use elf.sc.
3964 * emulparams/elf32ppcsim.sh: New file.
3965 * emulparams/elf32lppcsim.sh: New file.
3966 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
3967 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
3968 * Makefile.in: Regenerate.
3969 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
3970
01cc8ff8
AM
39712000-04-14 Alan Modra <alan@linuxcare.com.au>
3972
5ba47421 3973 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 3974 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
3975 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3976 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
3977 Also set all relocateable section start addresses.
3978
6c86c541
GK
39792000-04-13 Geoff Keating <geoffk@cygnus.com>
3980
3981 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
3982 Add new BSS_PLT variable for when .plt need not be contained in
3983 the file. Move _etext so that it is also after .fini, and provide
3984 both etext and _etext with a leading underscore. Mark the start
3985 and end of .sbss.
3986
6a345e87
AM
39872000-04-12 Alan Modra <alan@linuxcare.com.au>
3988
3989 * emultempl/elf32.em (struct orphan_save): New.
3990 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3991 hold_interp): Make them struct orphan_save.
3992 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
3993 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
3994 the end of the relevant section list. Also add associated section
3995 statements to the end of any previous orphan statements.
3996 * emultempl/armelf.em: Similarly.
3997 * emultempl/pe.em: Similarly.
3998
8be86746
AM
39992000-04-11 Alan Modra <alan@linuxcare.com.au>
4000
4001 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4002
3b16e843 40032000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4004
a2d91340 4005 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4006 --enable-build-warnings option.
a2d91340
AC
4007 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4008 * Makefile.in, configure: Re-generate.
4009
41b49281
AM
40102000-04-04 Alan Modra <alan@linuxcare.com.au>
4011
8ad3436c
AM
4012 * po/ld.pot: Regenerate.
4013
4014 * lexsup.c (help): Restore translated part of bug string.
4015
41b49281
AM
4016 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4017 (DEP): Quote when passing vars to sub-make. Add warning message
4018 to end.
4019 (DEP1): Rewrite for "gcc -MM".
4020 (CLEANFILES): Add DEP2.
4021 Update dependencies.
4022 * Makefile.in: Regenerate.
4023
c20f4f8c
AM
40242000-04-03 Alan Modra <alan@linuxcare.com.au>
4025
4026 * ld.h: #include "bin-bugs.h"
4027 * lexsup.c (help): Use REPORT_BUGS_TO.
4028
adde6300
AM
40292000-03-27 Denis Chertykov <denisc@overta.ru>
4030
4031 * configure.tgt (avr-*-*): New target support.
4032 * Makefile.am: Likewise.
4033 * scripttempl/elf32avr.sc: New script file.
4034 * emulparams/avr1200.sh: New file.
4035 * emulparams/avr23xx.sh: New file.
4036 * emulparams/avr4433.sh New file.
4037 * emulparams/avr44x4.sh New file.
4038 * emulparams/avr85xx.sh New file.
4039 * emulparams/avrmega103.sh New file.
4040 * emulparams/avrmega161.sh New file.
4041 * emulparams/avrmega603.sh New file.
4042 * Makefile.in: Regenerate.
4043
9282ff41
L
40442000-03-09 Andreas Jaeger <aj@suse.de>
4045
4046 * Makefile.am (check-DEJAGNU): Also unset LANG.
4047 * Makefile.in: Rebuild.
4048
a9998805
ILT
40492000-03-06 Ian Lance Taylor <ian@zembu.com>
4050
4051 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4052 archive.
4053
f9bc20e7
NC
40542000-03-02 H.J. Lu <hjl@gnu.org>
4055
4056 * emulparams/elf32mcore.sh: Include "getopt.h".
4057
4e277b38
ILT
40582000-03-01 Ian Lance Taylor <ian@zembu.com>
4059
4060 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4061
f0c87f88
NC
40622000-03-01 H.J. Lu <hjl@gnu.org>
4063
4064 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4065 * emulparams/shpe.sh: Likewise.
4066
40672000-03-01 Nick Clifton <nickc@cygnus.com>
4068
4069 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4070 to unused parameters.
4071
4072 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4073 functions only used by DLL code.
4074 (_place_orphan): Initialise 'dollar'.
4075
b6f29aaa
L
40762000-03-01 H.J. Lu <hjl@gnu.org>
4077
4078 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4079 indicate if the undefined symbol is a fatal error or not.
4080 Don't delete the output file if "fatal" is false.
4081
af28fce3
L
40822000-02-29 H.J. Lu <hjl@gnu.org>
4083
50bbae35 4084 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
4085 Set LC_COLLATE and LC_ALL to null and export them. It is for
4086 sort which expects the C locale.
4087 Add $(LIBS) to all $(HOSTING_LIBS).
4088 * Makefile.in: Rebuild.
4089
40d109bf
AM
40902000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4091
4092 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4093 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4094 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4095 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4096 find_potential_libraries.
4097
db5be682
JB
40982000-02-28 Jim Blandy <jimb@redhat.com>
4099
4100 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 4101 list entries; the lexer considers commas to be valid part of a
db5be682
JB
4102 filename, so in something like `foo, bar' the comma is considered
4103 part of the first filename, `foo,'.
4104 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4105
3558ff4c
ILT
41062000-02-27 Loren J. Rittle <ljrittle@acm.org>
4107
4108 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4109 host "i[3456]86-*-freebsdelf*".
4110
4eee2681
ILT
41112000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4112
4113 * scripttempl/i386go32.sc: Move misplaced semicolons.
4114
8d75d12d
ILT
41152000-02-25 Ian Lance Taylor <ian@zembu.com>
4116
4117 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4118 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4119 (eelf64hppa.c, ehppaelf.c): Remove targets.
4120 * Makefile.in: Rebuild.
4121
a1836d49
AO
41222000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4123
ad51fb57
AO
4124 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4125 GNU/Linux/sparc, but keep the default as 32.
4126
a1836d49
AO
4127 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4128 it default if sparcv9 or sparc64.
4129
344a211f
NC
41302000-02-24 Nick Clifton <nickc@cygnus.com>
4131
4132 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4133 * Makefile.in: Regenerate.
4134 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4135
4136 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4137 find_potential_libraries.
4138 * ldemul.c (ldemul_find_potential_libraries): New function.
4139
4140 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 4141 exported.
344a211f
NC
4142 (ldfile_open_file): Call ldemul_find_potential_libraries.
4143 * ldfile.h: Add prototype for ldfile_open_file_search.
4144
4145 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4146
4147 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4148 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4149
4150 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4151 (gld_X_find_potential_libraries): New function. Search for
4152 libraries called "*.lib".
4153
a2b64bed 4154 * scripttempl/pe.sc: Add .pdata section.
344a211f 4155
eaba1dd3
RH
41562000-02-23 Richard Henderson <rth@cygnus.com>
4157
4158 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4159 Add and use memory regions.
4160
5b93d8bb
AM
41612000-02-23 Linas Vepstas (linas@linas.org)
4162
4163 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4164
4165 * Makefile.am: Add support for Linux/IBM 370.
4166 * configure.tgt: Likewise.
4167
4168 * Makefile.in: Regenerate.
4169
f6af82bd
AM
41702000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4171
4172 * ldlang.c (print_input_section, print_data_statement,
4173 print_reloc_statement, print_padding_statement, insert_pad,
4174 size_input_section, lang_check_section_addresses,
4175 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 4176 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
4177 (lang_do_assignments): Also change `size' to unsigned.
4178
9e673ad1
RH
41792000-02-16 Richard Henderson <rth@cygnus.com>
4180
4181 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4182
562d3460
TW
41832000-02-16 Timothy Wall <twall@cygnus.com>
4184
4185 * mri.c (mri_draw_tree): Add default LMA region argument to call
4186 to lang_leave_output_section_statement.
4187 * ldlang.h: Update prototypes with LMA region arguments.
4188 * ldlang.c (lang_size_sections): Encapsulate region bounds
4189 checking in os_check_region call.
4190 (os_check_region): New function.
4191 (lang_output_section_statement_lookup): Initialize lma_region.
4192 (lang_leave_output_section_statement): Add LMA region argument.
4193 (lang_leave_overlay): Ditto.
4194 * ldgram.y: Handle LMA region syntax.
4195 * ld.texinfo (Output Section Description): Describe LMA region usage.
4196 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 4197 lma region in call to lang_leave_output_section_statement.
562d3460 4198 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 4199 lma region in call to lang_leave_output_section_statement.
562d3460 4200 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 4201 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
4202
4203
9e4ed18c
TW
42042000-02-04 Timothy Wall <twall@redhat.com>
4205
4206 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4207 octets when calculating section end addresses.
4208
32edc927
TW
42092000-02-04 Timothy Wall <twall@redhat.com>
4210
4211 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4212
4cbfc3ac
TW
42132000-02-03 Timothy Wall <twall@redhat.com>
4214
a2b64bed 4215 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 4216 octet count.
a2b64bed 4217 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
4218 print_reloc_statement, print_padding_statement): Print target
4219 address values and section sizes as bytes, not octets.
4220 (insert_pad) Calculate padding size in octets, and adjust "dot"
4221 by bytes.
4222 (size_input_section) Always adjust "dot" by bytes, not octets.
4223 (lang_check_section_addresses, lang_do_assignments) Adjust
4224 "dot" by bytes, not octets. Use the larger of the directive size
4225 or octets_per_byte for the number of octets actually allocated in
4226 the output section.
4227 (lang_set_startof) Make sure STARTOF returns a target address.
4228 (lang_one_common) Record size changes in octets.
4229 (lang_abs_symbol_at_end_of) Section end symbol's value is
4230 recorded in target bytes.
68b2fc7a 4231 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 4232 to be clear about behavior when an octet is smaller than one byte.
50bbae35 4233
305c7206
AM
42342000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4235
4236 * ldcref.c (output_cref): Don't pass message strings to printf
4237 as format arg.
4238 Update copyright.
4239
4240 * ldmisc.c (vfinfo): Same here.
4241 Update copyright.
4242
e1c47aa4
AM
42432000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4244
4245 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4246 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4247 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4248 Add missing NULL initialisers, and comments.
4249
4250 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4251
13392b77
NC
42522000-01-21 Nick Clifton <nickc@cygnus.com>
4253
4254 * ldlang.c (lang_size_sections): Fix typo in comment.
4255
cce4c4c5
NC
42562000-01-18 H.J. Lu <hjl@gnu.org>
4257
4258 * ldlang.c (lang_size_sections): Also update the current
4259 address of a region if the SEC_NEVER_LOAD bit is not set.
4260
0decc840
NC
42612000-01-10 Philip Blundell <pb@futuretv.com>
4262
4263 * configure.tgt (arm*-*-conix*): New target.
4264
4e53152f
NC
42652000-01-07 Nick Clifton <nickc@cygnus.com>
4266
4267 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
4268 line switches with -Wl, (or whatever is appropriate) if it is
4269 being invoked by a comnpiler driver program.
50bbae35 4270 Fix description of the behaviour of the -n command line switch.
4e53152f 4271
3b16e843 42722000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
4273
4274 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4275 (name_list): New.
4276 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4277 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4278 (exclude_name_list): New.
4279 ldlang.c (walk_wild_section): Support list of excluded files.
4280 (print_wild_statement): Likewise.
4281 (lang_add_wild): Likewise.
4282 * ldlang.h (lang_wild_statement_type): Likewise.
4283 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 4284
5aaace27
NC
42852000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4286
870df5dc
NC
4287 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4288 (process_def_file): Use.
4289 (pe_dll_compat_implib): New variable.
4290 (make_one): Use.
50bbae35 4291
870df5dc
NC
4292 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4293 pe_dll_compat_implib.
50bbae35
AM
4294
4295 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
4296 compat-implib options.
4297 (gld_${EMULATION_NAME}_list_options): List new options.
4298 (gld_${EMULATION_NAME}_parse_args): Handle.
4299
50bbae35 4300 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 4301 dll.
50bbae35
AM
4302
4303 * deffilep.y (opt_name): Allow "." in name.
5aaace27 4304
2f6d2f85 4305For older changes see ChangeLog-9899
252b5132
RH
4306\f
4307Local Variables:
4308mode: change-log
4309left-margin: 8
4310fill-column: 74
4311version-control: never
4312End:
This page took 0.379084 seconds and 4 git commands to generate.