Add comment
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
361b220e
CD
12001-11-01 Chris Demetriou <cgd@broadcom.com>
2
3 * ld.texinfo (Options): Document new option, -nostdlib.
4 * lexsup.c (OPTION_NOSTDLIB): New definition.
5 (ld_options): Add entry for "nostdlib".
6 (parse_args): Handle OPTIONS_NOSTDLIB.
7 * ldfile.c (ldfile_add_library_path): Don't add directories
8 to the search path if they weren't specified on the command line
9 and -nostdlib was specified.
10 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
11
210a7bd1
NC
122001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
13
14 * lexsup.c (parse_args): Prevent infinite parsing loop when
15 "-rpath.a" is specified on the command line.
16 Replace calls to fprintf with calls to einfo.
17
114283d8
NC
182001-10-31 John Marshall <jmarshall@acm.org>
19
20 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
21 appear only once across all the linker scripts involved in a link
22 invocation no longer applies. Make the documentation reflect
23 that.
24
7649aa50
NC
252001-10-31 NIIBE Yutaka <gniibe@m17n.org>
26
27 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
28 targets.
29 (sh-*-linux*): Added targ_extra_libpath.
30
6e814ff8
AM
312001-10-31 David Heine <dlheine@tensilica.com>
32
33 * ldlang.c (lang_size_sections): Keep a valid output_offset field
34 for padding statements.
35
3c3bdf30
NC
362001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
37
38 * configure.tgt (mmix-*-*): New target.
39 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
40 Add dependencies to match.
41 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
42 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
43 scripttempl/mmo.sc: New files.
44 * gen-doc.texi: @set MMIX.
45 * ld.texinfo: Ditto.
6e814ff8 46 [MMIX] Add MMIX node.
3c3bdf30
NC
47 * Makefile.in: Regenerate.
48
ca0c1d3e
KH
492001-10-29 Kazu Hirata <kazu@hxi.com>
50
51 * ldlang.c: Fix a comment typo.
52
1a3d33ce
AM
532001-10-23 Alan Modra <amodra@bigpond.net.au>
54
55 * configure.host: Move alpha*-*-linux-gnu* entry to generic
56 entries, and match *-*-linux*.
57
b47c4208
AM
582001-10-20 Alan Modra <amodra@bigpond.net.au>
59
60 * ldgram.y (mri_script_command): Surround processing of INCLUDE
61 with ldlex_script, ldlex_popstate.
62 (ifile_p1): Likewise.
63 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
64 correct slot.
65 (lex_push_file): Save current lineno to lineno_stack. Set lineno
66 to 1. Don't BEGIN(SCRIPT).
67 (lex_redirect): Similarly.
68 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
69
fd521b47
NC
702001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
71
72 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
73 __EH_FRAME_END__ and accept eh frames into data section.
74 Add ctor and dtor sections.
75
59d28a94
DD
762001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
77
78 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
79 (auto-export): Fix indentation.
80
663dd378
DD
812001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
82
83 * pe-dll.c (autofilter_objectlist): Add startup objects
84 for profiling.
85 (auto-export): Constify char * p.
6e814ff8 86 Extract file basename and use strcmp rather than ststr
663dd378
DD
87 for object lookup.
88
31d677f9
CD
892001-10-18 Chris Demetriou <cgd@broadcom.com>
90
91 * ldmain.c (get_emulation): Improve comment about the handling
92 of -mipsN options.
93
aa200fe8
AM
942001-10-17 Alan Modra <amodra@bigpond.net.au>
95
96 * po/POTFILES.in: Regenerate.
97
146e7110
AM
982001-10-16 Vassili Karpov <malc@pulsesoft.com>
99
100 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
101 -z nocopyreloc and -z nocombreloc usage strings.
102
b4330e85
NC
1032001-10-12 Vassili Karpov <malc@pulsesoft.com>
104
146e7110 105 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
106 in usage.
107
5af8a2fb
NC
1082001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
109
110 * scripttempl/armaout.sc: Place .bss section after end of aligned
111 data section to match behaviour of aout code in constructrion of
112 header.
113
5b784096
DD
1142001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
115
116 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
117 startup files for mingw32 dlls to list.
118
61585df2
CD
1192001-10-10 Chris Demetriou <cgd@broadcom.com>
120
121 * emultempl/elf32.em: Fix shell 'if' usage for portability.
122
45cf6f3e
AH
1232001-10-08 Aldy Hernandez <aldyh@redhat.com>
124
125 * configure.tgt (targ): Add arm9e-*-elf.
126
e24d7c12
L
1272001-10-05 H.J. Lu <hjl@gnu.org>
128
129 * genscripts.sh: Fix a typo in the last change.
130
ec38dd05
JJ
1312001-10-05 Jakub Jelinek <jakub@redhat.com>
132
133 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
134 -z nocombreloc in usage.
135
cedd6b0d
JB
1362001-10-03 Jim Blandy <jimb@redhat.com>
137
138 * genscripts.sh: Include a comment at the top of each generated
139 script, explaining its purpose.
140
8bd621d8
AM
1412001-10-03 Vassili Karpov <malc@pulsesoft.com>
142
143 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
144 * NEWS: Mention -z nocopyreloc.
145 * ld.texinfo (Options): Describe nocopyreloc.
146
fcd8210c
AM
1472001-10-03 Alan Modra <amodra@bigpond.net.au>
148
149 * configure: Regenerate.
150
d32820f2
AM
1512001-10-02 Alan Modra <amodra@bigpond.net.au>
152
153 * ldver.h (ld_program_version): Remove declaration.
154 * lexsup.c (parse_args): Move printing of copyright message..
155 * ldver.c (ldversion): .. to here.
156 Use BFD_VERSION_STRING in place of BFD_VERSION.
157 (ld_program_version): Remove.
158 * Makefile.am (Makefile): Depend on bfd/configure.in.
159 Run "make dep-am".
160 * Makefile.in: Regenerate.
161
af46bcdc
HPN
1622001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
163
164 * Makefile.am: Update dependencies with "make dep-am".
165 * Makefile.in: Regenerate.
166
4818e05f 1672001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 168
4818e05f
AM
169 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
170 * lexsup.c: Add --no-define-common commandline option.
171 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
172 * ldlex.l: Likewise.
173 * ld.h: Add command_line.inhibit_common_definition.
174 * ldmain.c (main): Initialize.
175 * ld.texinfo: Document.
862517b6 176
d5e0ebeb
AM
1772001-09-26 Alan Modra <amodra@bigpond.net.au>
178
179 * ldmisc.c (USE_STDARG): Remove.
180 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
181 (einfo): Likewise.
182 (minfo): Likewise.
183 (lfinfo): Likewise.
184
185 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
186 declarations. Update copyright.
187
2f8d8971
NC
1882001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
189
85c77458
NC
190 * pe-dll.c: Remove obsoleted declaration of
191 pe_get_data_import_dll_name.
192 (pe_create_import_fixup): Fix thinko.
193
2f8d8971
NC
194 * ld.texinfo(enable-auto-import): Clarify the explanation.
195
1962001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
197
198 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
199 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
200 DLL_SUPPORT controlled code.
201
72358f65 2022001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 203
72358f65
NC
204 * emultempl/pe.em(pe_data_import_dll): Make static.
205 (pe_get_data_import_dll_name): New accessor function.
146e7110 206 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
207 pe_get_data_import_dll_name() from pe.em, instead of
208 directly accessing pe_data_import_dll variable from pe.em.
209
3882b010
L
2102001-09-18 Bruno Haible <haible@clisp.cons.org>
211
212 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
213 (def_file_add_directive): Use ISSPACE instead of isspace.
214 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
215 isdigit/isxdigit/isalpha/isalnum.
216 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
217 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
218 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
219 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
220 isalnum.
221 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
222 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
223 isupper/tolower.
224 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
225 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
226 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
227 (ctor_prio): Use ISDIGIT instead of isdigit.
228 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
229 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
230 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
231 isupper/tolower.
232 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
233 (stricpy): Use TOLOWER instead of isupper/tolower.
234 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
235 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
236 (lex_warn_invalid): Use ISPRINT instead of isprint.
237 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
238 (main): For gettext, also set the LC_CTYPE locate facet.
239 (add_keepsyms_file): Use ISSPACE instead of isspace.
240 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
241 (is_num, parse_args): Use ISDIGIT instead of isdigit.
242 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
243 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
244 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
245 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
246 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
247 (quoteput): Use ISSPACE instead of isspace.
248 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
249 instead of isalnum.
250
db09f25b
AM
2512001-09-18 Alan Modra <amodra@bigpond.net.au>
252
253 * deffilep.y (def_stash_module): Constify "name" param.
254
255 * pe-dll.c: Replace CONST with const throughout.
256 (quick_symbol): Constify "n1", "n2", "n3" params.
257 (make_singleton_name_thunk): Constify "import" param. Make
258 "buffer_len" a size_t.
259 (make_import_fixup_entry): Constify "name", "fixup_name",
260 "dll_symname" params.
261 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
262 (pe_get32): Likewise.
263 (pe_implied_import_dll): Likewise.
264
265 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
266 (sort_by_section_name): Likewise.
267
268 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
269 (make_import_fixup): Cast printf arg, rel->address to long rather
270 than int.
271 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
272
74699268
AM
2732001-09-15 Alan Modra <amodra@bigpond.net.au>
274
275 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
276 defines BufferSize. Increase buffer size by one.
277
775cabad
NC
2782001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
279
280 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
281
056a1d49
NC
2822001-09-14 Kevin Lo <kevlo@openbsd.org>
283
284 * configure.tgt: Add arm-openbsd target.
285
a7d792bb
L
2862001-09-12 H.J. Lu <hjl@gnu.org>
287
288 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
289 eelf64lppc.o to ...
290 (ALL_64_EMULATIONS): Here.
291 * Makefile.in: Regenerated.
292
0d888aac
CW
2932001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
294
295 * emultempl/pe.em(make_import_fixup): change signature to
296 take asection as well as arelec; we need this for proper
146e7110 297 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
298 there is no attempt to add a constant addend to the reloc;
299 otherwise, report error condition.
300 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
301 since final argument is a pointer to make_import_fixup().
302 Change call to cb() to match make_import_fixup() signature.
303 (make_import_fixup_mark): make buffer_len unsigned.
304 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
305
3062001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
307
308 * ld.texinfo: add verbose documentation for auto-import
146e7110 309 direct-addressing workaround, to compliment the terse
0d888aac
CW
310 error message.
311
cedacdc0
CM
3122001-09-12 Andrew MacLeod <amacleod@redhat.com>
313
146e7110 314 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 315
38be0bb1
JL
316Fri Sep 7 11:34:24 2001 Jeffrey A Law (law@cygnus.com)
317
318 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
319 * emulparams/h8300self.sh: Similarly.
320
559e4713
NC
3212001-09-05 Danny Smith <dannysmith@users.souceforge.net>
322
323 * ld.texinfo (Options, --stack): Correct default value for stack
324 reserve.
325
1fdf0249
TR
3262001-09-05 Tom Rix <trix@redhat.com>
327
328 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 329
9b5799b8
AJ
3302001-09-03 Andreas Jaeger <aj@suse.de>
331
332 * emultempl/beos.em: Declare prototypes for comparions functions,
333 adjust definitions.
334
48f6162b
AJ
3352001-09-02 Andreas Jaeger <aj@suse.de>
336
337 * emultempl/aix.em: Add missing prototype.
338 * emultempl/lnk960.em: Likewise.
339 * emultempl/vanilla.em: Likewise.
340 * emultempl/armcoff.em: Likewise.
341 * emultempl/armelf_oabi.em: Likewise.
342 * emultempl/beos.em: Likewise.
343 * emultempl/gld960c.em: Likewise.
344 * emultempl/gld960.em: Likewise.
345
346 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
347 for prototype declaration.
348
39e5585e
EC
3492001-08-31 Eric Christopher <echristo@redhat.com>
350 Jason Eckhardt <jle@redhat.com>
351
352 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
353
3fc90ddb
AJ
3542001-08-31 Andreas Jaeger <aj@suse.de>
355
356 * emultempl/pe.em: Add missing prototypes.
357 (gld_${EMULATION_NAME}_after_open): Remove extra args to
358 pe_find_data_imports.
359 (pr_sym): Add unused attribute.
360
d43ded80
PB
3612001-08-29 Joel Sherrill <joel@OARcorp.com>
362
39e5585e 363 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
364 default from coff to elf.
365
3946dd2f
JL
3662001-08-29 Jeff Law <law@redhat.com>
367
368 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
369 ARCH specification.
370 * emulparams/h8300self.sh: Similarly.
371
372Wed Aug 28 13:37:20 2001 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
373
374 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
375 eh8300self.o .
376 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
377 * configure.tgt (h8300-*-elf*): New case.
378 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
379 * emulparams/h8300self.sh: New file.
380 * Makefile.in: Regenerated.
381
70d0c6e9
NC
3822001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
383
384 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
385 with macro name.
386
5c67d4bb
AM
3872001-08-27 Linus Nordberg <linus@swox.com>
388 Alan Modra <amodra@bigpond.net.au>
389
390 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
391 (eelf64ppc.c, eelf64lppc.c): Add make targets.
392 Run "make dep-am"
393 * Makefile.in: Regenerate.
394 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
395 entries to correct alphabetical position.
396 * emulparams/elf64ppc.sh: New.
397 * emulparams/elf64lppc.sh: New.
398
08131015
NC
3992001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
400
401 * ldmain.c (main): Declare BSIZE as static.
402
db6751f2
JJ
4032001-08-23 Jakub Jelinek <jakub@redhat.com>
404
405 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
406 into .rel.dyn resp. .rela.dyn if combreloc.
407 (get_script): If .x linker script is equal to .xn, only put it
408 once into the binary.
409 Add .xc and .xsc scripts.
410 (parse_args): Handle -z combreloc and -z nocombreloc.
411 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
412 For .xc and .xsc scripts put all .rel* or .rela* input sections
413 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
414 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
415 is elf.
416 Strip trailing whitespace from script.
417 Generate .xc and .xsc scripts if requested.
418 * ldmain.c (main): Initialize link_info.combreloc and
419 link_info.spare_dynamic_tags.
420 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
421 (ld_options): Add --spare-dynamic-tags option.
422 (parse_args): Likewise.
423 * ld.texinfo: Document -z combreloc and -z nocombreloc.
424 * ldint.texinfo: Document .xc and .xsc linker scripts.
425 * NEWS: Add notes about -z combreloc and SHF_MERGE.
426
63d069c0
L
4272001-08-22 H.J. Lu <hjl@gnu.org>
428
429 * emulparams/elf32fr30.sh: Add a newline.
430
948f9114
AJ
4312001-08-21 Andreas Jaeger <aj@suse.de>
432
433 * deffilep.y: Add missing prototypes.
434 * pe-dll.c: Likewise.
435
ae7fb08f
AM
4362001-08-20 Alan Modra <amodra@bigpond.net.au>
437
2af02257
AM
438 * ldlang.c (insert_pad): Fix typos in last patch.
439
440 * ldlang.c: When traversing lang_statement_union_type lists,
441 consistently use "header.next" rather than "next".
442 * mpw-eppcmac.c: Likewise.
443 * emultempl/beos.em: Likewise.
444 * emultempl/hppaelf.em: Likewise.
445 * emultempl/pe.em: Likewise.
446 * ldlang.h (union lang_statement_union): Remove "next" field.
447
c0c330a7
AM
448 * ldlang.c (insert_pad): Use offsetof macro.
449 (lang_size_sections): Always neuter padding statements.
450 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
451
ae7fb08f
AM
452 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
453 passed to lang_size_sections.
454 (pe_exe_fill_sections): Likewise.
455 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
456 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
457
fab80407
AM
4582001-08-18 Alan Modra <amodra@bigpond.net.au>
459
460 * emultempl/aix.em: Formatting fixes.
461
b3327aad
AM
4622001-08-18 Alan Modra <amodra@bigpond.net.au>
463
464 * ldlang.c (insert_pad): Make use of an existing pad statement if
465 available. Move code calculating alignment, adjusting section
466 alignment power, and adjusting dot to ..
467 (size_input_section): .. here. Remove unused relax param.
468 (lang_size_sections): Change boolean `relax' param to boolean *.
469 Adjust call to size_input_section. Make use of insert_pad to
470 place pad after the assignment statement. If relaxing, zap
471 padding statements.
472 (reset_memory_regions): Reset output_bfd section sizes too.
473 (relax_again): Move to..
474 (lang_process): ..here. Adjust call to lang_size_sections, and
475 remove duplicated code.
476 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
477
563e308f
AM
4782001-08-17 Alan Modra <amodra@bigpond.net.au>
479
480 * ld.texinfo: Document that fill values now use the four least
481 significant bytes.
482 * emulparams/elf32fr30.sh (NOP): Update.
483 * emulparams/elf32mcore.sh: Likewise.
484 * emulparams/elf64_s390.sh: Likewise.
485 * emulparams/elf_i386.sh: Likewise.
486 * emulparams/elf_i386_be.sh: Likewise.
487 * emulparams/elf_i386_chaos.sh: Likewise.
488 * emulparams/elf_i386_ldso.sh: Likewise.
489 * emulparams/elf_s390.sh: Likewise.
490 * emulparams/elf_x86_64.sh: Likewise.
491 * emulparams/i386moss.sh: Likewise.
492 * emulparams/i386nw.sh: Likewise.
493 * emulparams/m68kelf.sh: Likewise.
494 * scripttempl/elf.sc: Update NOP comment.
495 * scripttempl/elfi370.sc: Likewise.
496 * scripttempl/elfm68hc11.sc: Likewise.
497 * scripttempl/elfm68hc12.sc: Likewise.
498 * scripttempl/nw.sc: Likewise.
499
b90e1c6f
TR
5002001-08-15 Tom Rix <trix@redhat.com>
501
502 * ldgram.y (saved_script_handle): Initialize to NULL.
503 * ldmain.c (main): Change check on saved_script_handle.
948f9114 504
39dcfe18
AM
5052001-08-14 Alan Modra <amodra@bigpond.net.au>
506
cde43e70
AM
507 * emultempl/elf32.em: Formatting fixes.
508 (output_prev_sec_find): Test for bfd_ind_section too; do so by
509 looking at sec->owner.
510 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
511 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
512 unused code, and reorganize orphan section placement code.
513
39dcfe18
AM
514 * ldlang.c (wild_doit): Rename to lang_add_section.
515 * ldlang.h: Here too.
516 * mpw-elfmips.c: And here.
517 * emultempl/beos.em: And here.
518 * emultempl/elf32.em: And here.
519 * emultempl/hppaelf.em: And here.
520 * emultempl/pe.em: And here.
521
908d20b3
RH
5222001-08-13 Richard Henderson <rth@redhat.com>
523
524 * emultempl/needrelax.em: New file.
525 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
526 * Makefile.am (eelf64_ia64.c): Depend on it.
527 * Makefile.in: Rebuild.
528
0f33d40b
AM
5292001-08-13 Alan Modra <amodra@bigpond.net.au>
530
22af9fd3
AM
531 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
532 output_section is set non-NULL.
533
0f33d40b
AM
534 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
535 `true' for SEC_EXCLUDE sections so that the generic code doesn't
536 needlessly create an output_section_statement. Treat a correctly
537 named output_section_statement with NULL bfd_section as compatible.
538
55ab6103
HPN
5392001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
540
541 * emultempl/generic.em: Support EXTRA_EM_FILE.
542 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
543 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
544 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
545 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
546 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
547 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
548 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
549 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
550 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
551 LDEMUL_FIND_POTENTIAL_LIBRARIES.
552
24098abb
RH
5532001-08-12 Richard Henderson <rth@redhat.com>
554
555 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
556 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
557 scripttempl/v850.sc: Keep .jcr data.
558
b9a8de1e 5592001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
560 Andrew Haley <aph@cambridge.redhat.com>
561 Nick Clifton <nickc@redhat.com>
b9a8de1e 562
146e7110 563 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
564 Change type to file handle.
565 * ld.h (had_script): Rename and retype.
566 * ldfile.c (ldfile_open_command_file): Save the file handle
567 used in saved_script_handle.
568 * lexsup.c (parse_args): Do not allow -c option to alter
569 saved_script_handle.
570 * ldmain.c (main): Print out the linker script used if
571 --verbose is given. Check saved_script_handle to obtain the
572 external linker script used, or if NULL, dump the builtin
573 script.
574 * ld.texinfo: Document that --verbose now dumps the linker
575 script used, regardless of whether it was an internal or an
576 external script.
577
0218d1e4
AJ
5782001-08-10 Andreas Jaeger <aj@suse.de>
579
580 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
581 to build warnings.
582 * configure: Regenerate.
583
5253f23b
AM
5842001-08-09 Alan Modra <amodra@bigpond.net.au>
585
73810896
AM
586 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
587
5253f23b
AM
588 * scripttempl/elf.sc: Move non-text .dynamic section before
589 .plt/.got/.sdata* group.
590 (OTHER_GOT_SECTIONS): Move to immediately after .got.
591 (OTHER_SDATA_SECTIONS): Add.
592 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
593 OTHER_GOT_SECTIONS.
594 * emulparams/crislinux.sh: Likewise.
595 * emulparams/elf32b4300.sh: Likewise.
596 * emulparams/elf32bmip.sh: Likewise.
597 * emulparams/elf32bmipn32.sh: Likewise.
598 * emulparams/elf32bsmip.sh: Likewise.
599 * emulparams/elf32btsmip.sh: Likewise.
600 * emulparams/elf32ebmip.sh: Likewise.
601 * emulparams/elf32elmip.sh: Likewise.
602 * emulparams/elf32l4300.sh: Likewise.
603 * emulparams/elf32lmip.sh: Likewise.
604 * emulparams/elf32lsmip.sh: Likewise.
605 * emulparams/elf32ltsmip.sh: Likewise.
606 * emulparams/elf64bmip.sh: Likewise.
607 * emulparams/elf64btsmip.sh: Likewise.
608 * emulparams/elf64ltsmip.sh: Likewise.
609
179c732c
AM
6102001-08-08 Alan Modra <amodra@bigpond.net.au>
611
612 * genscripts.sh: Source the emulparams script before each output
613 script is generated so that variables like `RELOCATING' may affect
614 variables defined in the emulparams script.
615
3fd36710
AM
6162001-08-04 Alan Modra <amodra@bigpond.net.au>
617
20713691
AM
618 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
619 order.
620
3fd36710
AM
621 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
622 ie. iterate over wild_statement.section_list.
623 (gld${EMULATION_NAME}_place_orphan): Likewise.
624
de0b1853
SC
6252001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
626
627 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
628 .fini[0-4] sections used by _exit
629 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
630 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
631 * scripttempl/elfm68hc11.sc: Likewise.
632
ff7e6f88
L
6332001-08-03 H.J. Lu <hjl@gnu.org>
634
635 * emultempl/beos.em (init): Add the missing initialization.
636
b6bf44ba
AM
6372001-08-03 Alan Modra <amodra@bigpond.net.au>
638
639 * ld.texinfo (Input Section Basics): Clarify ordering of output
640 sections.
641 * ldlang.c (callback_t): Add wildcard_list param.
642 (walk_wild_section): Remove "section" param. Rewrite for
643 lang_wild_statement_type change. Remove unique_section_p test.
644 (walk_wild_file): Remove "section" param.
645 (walk_wild): Remove "section" and "file" params.
646 (lang_gc_wild): Likewise.
647 (wild): Likewise. Modify for lang_wild_statement_type change.
648 (wild_sort): Likewise. Add "sec" param.
649 (gc_section_callback): Likewise.
650 (output_section_callback): Likewise. Do unique_section_p test.
651 (map_input_to_output_sections): Modify call to wild.
652 (lang_gc_sections_1): Likewise.
653 (print_wild_statement): Modify for lang_wild_statement_type
654 change.
655 (lang_add_wild): Replace filename, filenames_sorted param with
656 filespec. Replace section_name, sections_sorted,
657 exclude_filename_list with section_list.
658 * ldlang.h (lang_add_wild): Here too.
659 (lang_wild_statement_type): Replace section_name, sections_sorted,
660 and exclude_filename_list with section_list.
661 * ldgram.y (current_file): Delete.
662 (%union): Add wildcard_list.
663 (file_NAME_list): Set type to wildcard_list. Build a linked list
664 rather than calling lang_add_wild for each entry.
665 (input_section_spec_no_keep): Call lang_add_wild here instead.
666 * ld.h (struct wildcard_list): Declare.
667 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
668
b044cda1
CW
6692001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
670
671 * ldmain.c (main): initialize link_info.pei386_auto_import
672 * pe-dll.c: new tables for auto-export filtering
673 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 674 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
675 "by hand".
676
6772001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
678
b6bf44ba
AM
679 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
680 static variable current_sec (static struct sec *). Add
b044cda1 681 forward declaration for add_bfd_to_link.
b6bf44ba
AM
682 (process_def_file): Don't export undefined symbols. Do not
683 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
684 with new API.
685 (pe_walk_relocs_of_symbol): New function.
686 (generate_reloc): add optional extra debugging
b6bf44ba 687 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 688 line in output
b6bf44ba 689 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
690 (DATA auto-import support).
691 (make_singleton_name_thunk): New function.
692 (make_import_fixup_mark): New function.
693 (make_import_fixup_entry): New function.
694 (pe_create_import_fixup): New function.
b6bf44ba 695 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 696 char *.
b6bf44ba
AM
697 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
698 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
699 pe_create_import_fixup.
700 * emultempl/pe.em: add new options --enable-auto-import,
701 --disable-auto-import, and --enable-extra-pe-debug.
702 (make_import_fixup): New function.
703 (pe_find_data_imports): New function.
704 (pr_sym): New function.
b6bf44ba 705 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
706 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
707 CODE.
708
7092001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 710
b044cda1
CW
711 * ld.texinfo: add additional documentation for
712 --export-all-symbols. Document --out-implib,
713 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
714 --dll-search-prefix, --enable-auto-import, and
715 --disable-auto-import.
b044cda1
CW
716 * ldint.texinfo: Add detailed documentation on auto-import
717 implementation.
718
156e34dd
NC
7192001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
720
721 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
722 example.
723
d6231427
AM
7242001-07-24 Alan Modra <amodra@bigpond.net.au>
725
726 * Makefile.am: Update dependencies with "make dep-am".
727 * Makefile.in: Regenerate
728
e14ec88b
AM
7292001-07-23 Alan Modra <amodra@bigpond.net.au>
730
731 * ldcref.c (check_section_sym_xref): New function.
732 (check_nocrossrefs): Call it.
733 (check_nocrossref): Interate over h->refs here instead of..
734 (check_refs): ..here. Pass in the symbol name, section, and bfd
735 rather than hash_entry pointers.
736 (struct check_refs_info): Keep symbol name rather than hash entry.
737 Remove "same".
738 (check_reloc_refs): Tweak for above changes in check_refs_info.
739 Only report references to section syms when symname is NULL to
740 prevent duplicate messages for the same reloc.
741
1b577b00
NC
7422001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
743
c7d701b0
NC
744 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
745 available. Do not print NULL trees.
746 (exp_print_token): Print unknown tokens with values > 126 as
747 decimal values not ASCII characters.
748
1545243b
NC
749 * ldlang.c (lang_leave_overlay): If a region is specified assign
750 it to all sections inside the overlay unless they have been
751 assigned to the own, non-default, memory region.
752
1b577b00
NC
753 * README: Add header for consistency with other README files.
754
5030876b
L
7552001-07-14 H.J. Lu <hjl@gnu.org>
756
757 * emultempl/elf32.em (output_prev_sec_find): Never return
758 bfd_abs_section_ptr, bfd_com_section_ptr nor
759 bfd_und_section_ptr.
760
18c7a9a5
NC
7612001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
762
22af9fd3 763 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
764 elf32.em.
765 * Makefile.in: Regenerate.
766
9ffecff1
MG
7672001-07-14 matthew green <mrg@eterna.com.au>
768
769 * configure.tgt (i386-*-netbsdelf*): New target.
770 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
771
95500e1c
JJ
7722001-07-13 Jakub Jelinek <jakub@redhat.com>
773
774 * emultempl/elf32.em (output_prev_sec_find): New.
775 (place_orphan): Use it.
776
e97cb84f
L
7772001-07-11 H.J. Lu <hjl@gnu.org>
778
779 * ldmain.c (main): Fix typos in the last change.
780
7333607e
JJ
7812001-07-11 Jakub Jelinek <jakub@redhat.com>
782
783 * ldmain.c (main): Disallow -F and -f without -shared.
784
d29d80f2
NC
7852001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
786
787 * emultempl/pe.em (after_open): Check for the output_bfd not
788 having any coff_data structure allocated to it.
789
c2a1a436
DB
7902001-07-09 David O'Brien <obrien@FreeBSD.org>
791
792 * emultempl/elf32.em: Do not assuming that contents of the buffer
793 returned from basename function will remain unchanged accross other
794 function calls.
795
63653551
L
7962001-07-03 H.J. Lu <hjl@gnu.org>
797
798 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
799 2001-07-03. It creates dynamic entries even for static binaries.
800
d303a449
L
8012001-07-03 Jakub Jelinek <jakub@redhat.com>
802
803 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
804 (DYNAMIC): Use it to reserve few dynamic entries for
805 post-linking tools.
806
9f22353f
AM
8072001-06-27 Alan Modra <amodra@bigpond.net.au>
808
809 * emulparams/hppa64linux.sh: New file.
810 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
811 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
812 (ehppa64linux.c): Add rule to make it.
813 Run "make dep-am".
814 * Makefile.in: Regenerate.
815
62bf86b4
HPN
8162001-06-21 Hans-Peter Nilsson <hp@axis.com>
817
818 * ld.texinfo (Options, -r): Mention restrictions when using
819 different object formats.
820
429d935d
HPN
8212001-06-19 Hans-Peter Nilsson <hp@axis.com>
822
823 * ldlang.c (lang_check): Emit fatal error if relocatable link
824 between different object flavours with relocations in input.
825
cb840a31
L
8262001-06-19 H.J. Lu <hjl@gnu.org>
827
828 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
829 (--version-script): Mention the language support.
830
9bf03acc
L
8312001-06-19 H.J. Lu <hjl@gnu.org>
832
833 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
834
c45021f2
NC
8352001-06-18 H.J. Lu <hjl@gnu.org>
836
b6bf44ba
AM
837 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
838 (diststuff): Add $(MANS).
839 * Makefile.in: Regenerated.
c45021f2 840
b6bf44ba 841 * ld.1: Removed.
c45021f2 842
6caa99ab
HPN
8432001-06-18 Hans-Peter Nilsson <hp@axis.com>
844
605d9b3a
HPN
845 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
846 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
847 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
848 * ld.h (args_type): Remove member export_dynamic. All users
849 changed to use struct bfd_link_info member.
850
6caa99ab
HPN
851 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
852 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
853 * Makefile.in: Regenerate.
854
6f9efd97
L
8552001-06-18 H.J. Lu <hjl@gnu.org>
856
857 * ldlang.c (init_os): Add the newline to the einfo call.
858 (lang_check): Likewise.
859 (lang_do_version_exports_section): Likewise.
860
5af9fd8b
L
8612001-06-15 H.J. Lu <hjl@gnu.org>
862
863 * lexsup.c (parse_args); Save optind to report unrecognized
864 option.
865
2a096f04
HPN
8662001-06-15 Hans-Peter Nilsson <hp@axis.com>
867
7e66c3f5
HPN
868 * ldlang.c (lang_check): Emit fatal error if relocatable link
869 between different object flavours.
870
2a096f04
HPN
871 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
872 Set new link_info member export_dynamic.
873 * ldmain.c (main): Initialize new link_info member export_dynamic.
874
6770ec8c
NC
8752001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
876
877 * ldlang.c (walk_wild): Only call walk_wild_file if
878 lookup_name returns something.
b6bf44ba 879 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 880 (load_symbols): Change to a boolean function.
b6bf44ba 881 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
882 executable.
883
8529105a
AM
8842001-06-08 Alan Modra <amodra@bigpond.net.au>
885
886 * ldlang.c (record_bfd_errors): Remove.
887
888 * emultempl/aix.em: Fix copyright dates.
889
8f3aa7a0
AJ
8902001-06-07 Andreas Jaeger <aj@suse.de>
891
892 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
893 (TEXT_START_ADDR): Likewise.
894
3277f888
AM
8952001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
896
897 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
898
3763134d
DD
8992001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
900
901 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
902
5929ebc0
L
9032001-05-31 H.J. Lu <hjl@gnu.org>
904
905 * ldlang.c (open_input_bfds): Don't change the bfd error
906 handler whilst loading symbols.
907
c04a062d
NC
9082001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
909
910 * configure.tgt: Remove i370-mvs architecture, it is not currently
911 supported.
912
96fcab3e
L
9132001-05-25 H.J. Lu <hjl@gnu.org>
914
915 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
916 like emulparams/aixppc.sh.
917
db8d4f23
L
9182001-05-25 H.J. Lu <hjl@gnu.org>
919
920 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
921 setting of output_filename after bfd_scan_arch.
922 * emultempl/pe.em: Likewise.
923
5f642101
L
9242001-05-25 H.J. Lu <hjl@gnu.org>
925
926 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
927 like emulparams/aixppc.sh.
928
929 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
930 instead of ${srcdir}/emultempl/stringify.sed.
931
64e9ece0
TW
9322001-05-25 Timothy Wall <twall@oculustech.com>
933
934 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 935 output.
64e9ece0 936
c709b096
AM
9372001-05-25 Alan Modra <amodra@one.net.au>
938
939 * configure.host: Replace linuxoldld with linux*oldld.
940 * configure.tgt: Likewise.
941
6cbdcc6f
L
9422001-05-24 H.J. Lu <hjl@gnu.org>
943
944 * emultempl/stringify.sed: Removed again.
945
86af25fe
L
9462001-05-24 H.J. Lu <hjl@gnu.org>
947
948 * emultempl/aix.em (OUTPUT_ARCH): Defined.
949 (gld${EMULATION_NAME}_before_parse): Initialize
950 ldfile_output_architecture, ldfile_output_machine and
951 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
952 * emultempl/beos.em: Likewise.
953 * emultempl/elf32.em: Likewise.
954 * emultempl/linux.em: Likewise.
955 * emultempl/mipsecoff.em: Likewise.
956 * emultempl/pe.em: Likewise.
957 * emultempl/sunos.em: Likewise.
958
3b1b01cf
TR
9592001-05-24 Tom Rix <trix@redhat.com>
960
8f3aa7a0 961 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
962 udate import file format.
963 (change_symbol_mode) New, same
964 (is_syscall) New, same
965 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
966 * emulparams/aixppc64.sh : same
967 * emulparams/aixrs6.sh : same
968 * emulparams/ppcmacos.sh : same
969 * emultempl/aix.em : use strtoull to parse options
970 * Makefile.am : add eaixppc64 emulation for xcoff64
971 * Makefile.in : same
972 * configure.tgt : same
973
974 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 975 default data section offset to 0x20000000
3b1b01cf 976 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 977 loader and debug sections use the currect section offset.
3b1b01cf
TR
978
979 * emultempl/aix.em : Add xcoff64 support
980 Add -binitfini support
8f3aa7a0 981 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 982 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 983 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
984 sections
985
986 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 987
57e6abd2
AO
9882001-05-23 Alexandre Oliva <aoliva@redhat.com>
989
990 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
991 variable to avoid non-portable shell construct.
992
d1cf510e
NC
9932001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
994
995 * ldmain.c (get_emulation): Add -mips5 command line argument.
996
506eee22
NC
9972001-05-22 Alexandre Oliva <aoliva@redhat.com>
998
999 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1000 (ELF_INTERPRETER_NAME): Define it.
1001 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1002 it.
1003 * configure.tgt (targ_emul, targ_extra_emuls)
1004 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1005 as primary, elf_i386 as extra.
1006 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1007 (eelf_i386_ldso.c): New rule.
1008 * Makefile.in: Rebuilt.
1009
10102001-05-22 Nick Clifton <nickc@redhat.com>
1011
1012 * lexsup.c (ld_options): Allow -I to be an alias for
1013 --dynamic-linker. This is for Solaris compatability.
1014 * ld.texinfo: Document that -I can be used.
1015 * ld.1: Regenerate.
1016
d1778b88
AM
10172001-05-16 Alan Modra <amodra@one.net.au>
1018
1019 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1020 whether an input section is the first one assigned to an output
1021 section.
1022 Assorted formatting fixes.
1023
02649152
DD
10242001-05-14 DJ Delorie <dj@delorie.com>
1025
1026 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1027 * Makefile.in: Ditto.
1028
579f31ac
JJ
10292001-05-11 Jakub Jelinek <jakub@redhat.com>
1030
1031 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1032 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1033 output sections.
1034 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1035
8550eb6e
JJ
10362001-05-11 Jakub Jelinek <jakub@redhat.com>
1037
1038 * ldlang.c (lang_process): Call bfd_merge_sections.
1039
8e5a525c
AM
10402001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1041
1042 * ldgram.y: Fix typo.
1043
1c9acd94
L
10442001-05-03 H.J. Lu <hjl@gnu.org>
1045
1046 * emultempl/elf32.em: Include "libiberty.h".
1047 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1048 basename of the bfd filename.
1049 (gld${EMULATION_NAME}_stat_needed): Likewise.
1050 (gld${EMULATION_NAME}_try_needed): Likewise.
1051 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1052
14fe918e
L
10532001-05-02 H.J. Lu <hjl@gnu.org>
1054
1055 * emultempl/pe.em: Include <ctype.h>.
1056
c7e40348
NC
10572001-05-02 Johan Rydberg <jrydberg@opencores.org>
1058
b6bf44ba 1059 * emulparams/elf32openrisc.sh: New file.
c7e40348 1060
b6bf44ba
AM
1061 * Makefile.am: Add OpenRISC target.
1062 * Makefile.in: Regenerated.
c7e40348 1063
b6bf44ba 1064 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
1065
10662001-05-02 Nick Clifton <nickc@redhat.com>
1067
1068 * emultempl/aix.em: Replace buystring with xstrdup.
1069 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 1070
d1b2b2dc
L
10712001-05-02 H.J. Lu <hjl@gnu.org>
1072
1073 * ldfile.c: Include "libiberty.h".
1074 * ldlex.l: Likewise.
1075
1076 * ldmisc.c (buystring): Removed.
1077 * ldmisc.h: Likewise.
1078
1079 * ldfile.c: Replace buystring with xstrdup.
1080 * ldlang.c: Likewise.
1081 * ldlex.l: Likewise.
1082 * ldmain.c: Likewise.
1083 * ldmisc.c: Likewise.
1084 * lexsup.c: Likewise.
1085 * mpw-eppcmac.c: Likewise.
1086
35714f2a
AJ
10872001-04-30 Andreas Jaeger <aj@suse.de>
1088
1089 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1090
884fb58e
NC
10912001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1092
b6bf44ba
AM
1093 * ldlang.c (load_symbols): Give emulation a chance
1094 to process unrecognized file before fatal error is
1095 reported, not after.
884fb58e 1096
87748b32
NC
10972001-04-27 Sean McNeil <sean@mcneil.com>
1098
1099 * configure.tgt: Add arm-vxworks target.
1100 * scripttempl/armcoff.sc: Support .text or .data as a section name
1101 prefix.
1102 Define _etext.
35714f2a 1103
7ce691ae
C
11042001-04-13 J.T. Conklin <jtc@redback.com>
1105
1106 * ld.texinfo: Document --fatal-warnings.
1107 * ld.1: Regenerate.
1108
1109 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 1110 warnings have been turned into errors.
7ce691ae
C
1111 * lexsup.c (OPTION_WARN_FATAL): Define.
1112 (ld_options): Entry for --fatal-warnings.
1113 (parse_args): Handle OPTION_WARN_FATAL.
1114 * ld.h (ld_config_type): Add fatal_warnings field.
1115
f5fa8ca2
JJ
11162001-04-13 Jakub Jelinek <jakub@redhat.com>
1117
1118 * ldmain.c (main): Default to discard_sec_merge.
1119 * lexsup.c (OPTION_DISCARD_NONE): Define.
1120 (ld_options): Add --discard-none.
1121 (parse_args): Handle OPTION_DISCARD_NONE.
1122 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
1123 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
1124 all its input sections match.
1125
fdec3cfc
L
11262001-04-05 Steven J. Hill <sjhill@cotw.com>
1127
1128 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
1129 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
1130 (eelf32ltsmip.c): New target.
1131 (eelf64btsmip.c): Likewise.
1132 (eelf64ltsmip.c): Likewise.
1133 * Makefile.in: Regenerated.
1134
1135 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
1136 target.
1137 (mips*-*-linux-gnu*): Likewise.
1138
1139 * emulparams/elf32ltsmip.sh: New. Traditional little endian
1140 MIPS taget.
35714f2a 1141 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
1142 target.
1143 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
1144 endian target.
1145
589bad82
HPN
11462001-04-05 Hans-Peter Nilsson <hp@axis.com>
1147
1148 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
1149 correct value of __Stext here.
1150 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
1151 .startup section.
1152
1153 * emulparams/crislinux.sh: Remove FIXME.
1154
94202e16
AM
11552001-04-02 Alan Modra <alan@linuxcare.com.au>
1156
1157 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
1158 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
1159
1268a053
HPN
11602001-03-27 Hans-Peter Nilsson <hp@axis.com>
1161
1162 * configure.tgt (cris-*-*): Change default emulation to criself.
1163 (cris-*-*aout*): New rule.
1164
d85e9ff7
AM
11652001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
1166
1167 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
1168 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
1169
0879a67a
AJ
11702001-03-26 Andreas Jaeger <aj@suse.de>
1171
1172 * ld.texinfo (Overview): Fix syntax in texi code.
1173
0285c67d
NC
11742001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1175
1176 * ld.texinfo: Put @c man indications to generate the ld man page.
1177 When generating man, define all the variables. Define SEEALSO
1178 and SYNOPSIS. Re-organize some lines to avoid the cross references.
1179 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
1180 (ld.1): Generate from ld.texinfo.
1181 * Makefile.in: Regenerate.
1182
c20ec07b
NC
11832001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
1184
1185 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 1186 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 1187
cc5ce052
UD
11882001-03-17 Ulrich Drepper <drepper@redhat.com>
1189
1190 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
1191 is an absolute path look only for this file and not along the path.
1192
a1ab1d2a
UD
11932001-03-17 Ulrich Drepper <drepper@redhat.com>
1194
1195 * emultempl/elf32.em (OPTION_GROUP): New macro.
1196 Add new option Bgroup to longopts.
1197 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
1198 (gld*_list_options): Add -Bgroup and -z defs.
1199 * ld.1: Document -Bgroup and -z defs.
1200 * ld.texinfo: Likewise.
1201
788fca5a
MM
12022001-03-07 Michael Meissner <meissner@redhat.com>
1203
1204 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
1205 with sections created by -fdata-sections.
1206 (.dynbss,.bss): Ditto.
1207
1c7566d1
AM
12082001-03-05 Alan Modra <alan@linuxcare.com.au>
1209
1210 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
1211 after_allocation_default, not gld..._before_allocation.
1212
27b7e12d
AM
12132001-02-27 Alan Modra <alan@linuxcare.com.au>
1214
1215 * configure.in (BFD_VERSION): New.
1216 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1217 * configure: Regenerate.
1218 * Makefile.am: Run "make dep-am"
1219 * Makefile.in: Regenerate.
1220
2bc551c7
TW
12212001-02-26 Timothy Wall <twall@cygnus.com>
1222
1223 * emulparams/elf64_aix.sh: Add additional read-only sections;
1224 uncomment lines which are now required.
1225
1276aefa
NC
12262001-02-26 H.J. Lu <hjl@gnu.org>
1227
1228 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
1229 that problems can be caught whilst loading symbols.
1230 (record_bfd_errors): New function: Report BFD errors and mark
1231 the executable output as being invalid.
1276aefa 1232
41c49998
TW
12332001-02-22 Timothy Wall <twall@cygnus.com>
1234
1235 * configure.host: Add configuration for ia64-*-aix*.
1236 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
1237 Add dependencies for eelf64_aix.c.
1238 * Makefile.in: Regenerate.
1239 * configure.tgt: Add ia64-*-aix* mapping.
1240 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 1241 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
1242 AIX-specific test.
1243
78f85fd7
L
12442001-02-20 H.J. Lu <hjl@gnu.org>
1245
1246 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
1247 false if we found the file.
1248
1ac7e077 12492001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
1250
1251 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
1252 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
1253
e135f41b
NC
12542001-02-18 lars brinkhoff <lars@nocrew.org>
1255
1256 * Makefile.am: Add PDP-11 target.
1257 * configure.tgt: Likewise.
1258 * emulparams/pdp11.sh: New file.
1259
a842aceb
DB
12602001-02-17 David O'Brien <obrien@FreeBSD.org>
1261
1262 * configure.host: Add a generic FreeBSD configuration entry such that
1263 all [modern] FreeBSD systems on all platforms will look the same.
1264
24174db0
L
12652001-02-14 H.J. Lu <hjl@gnu.org>
1266
1267 * configure.tgt: Remove mention of earmelf_linux26.
1268
30c3c13a
RH
12692001-02-13 Richard Henderson <rth@redhat.com>
1270
1271 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
1272
b46a87b1
L
12732001-02-13 H.J. Lu <hjl@gnu.org>
1274
1275 * ldexp.h (node_type): Add etree_provided.
1276 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
1277 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 1278 for etree_provided.
b46a87b1
L
1279 (exp_print_tree): Handle etree_provided.
1280 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
1281 etree_provided.
1282
f3988fd9
RH
12832001-02-09 David Mosberger <davidm@hpl.hp.com>
1284
1285 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
1286 .IA_64.unwind.* pattern to unwind table section and
1287 .IA_64.unwind_info* pattern to unwind info section.
1288
a85d7ed0
NC
12892001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1290
1291 * Makefile.am: Add linux target for S/390.
1292 * Makefile.in: Likewise.
1293 * configure.host: Likewise.
1294 * configure.tgt: Likewise.
1295 * emulparams/elf64_s390.sh: New file.
1296 * emulparams/elf_s390.sh: New file.
1297
780248c4
JJ
12982001-02-09 Jakub Jelinek <jakub@redhat.com>
1299
1300 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
1301 targ_extra_libpath.
1302 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
1303
0e2534bd
PB
13042001-02-06 Philip Blundell <philb@gnu.org>
1305
1306 * Makefile.am: Remove mention of earmelf_linux26.
1307 * Makefile.in: Regenerate.
1308
46c1ea57
PB
13092001-02-04 Philip Blundell <philb@gnu.org>
1310
1311 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
1312 * emulparams/armelf_linux26.sh: Delete.
1313 * configure.tgt: Remove mention of armelf_linux26 emulation.
1314
0088edd2
NC
13152001-02-01 Nick Clifton <nickc@redhat.com>
1316
1317 * ld.1: Replace occurances of -oformat with --oformat.
1318
02aa14fb
AM
13192001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
1320
1321 * ldlang.c (lang_leave_overlay): Don't set lma_region when
1322 load_base is specified.
1323
f813923c
HPN
13242001-01-24 Hans-Peter Nilsson <hp@axis.com>
1325
1326 * emultempl/elf32.em: Correct spelling in comments and listed
1327 options.
1328
c1eb1488
AM
13292001-01-23 Alan Modra <alan@linuxcare.com.au>
1330
1331 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1332 default for the first section of a group of overlay sections.
1333
d9fc3714
AM
13342001-01-22 Alan Modra <alan@linuxcare.com.au>
1335
1336 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1337 * Makefile.in: Regenerate.
1338 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1339 Check for null tool_dir.
1340
6be0ca94
JW
13412001-01-16 Jim Wilson <wilson@redhat.com>
1342
1343 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1344 and IA_64.unwind.info.
1345
b9247304
L
13462001-01-16 H.J. Lu <hjl@gnu.org>
1347
1348 * ldlang.c (lang_check): Merge the private data only if the
1349 input file has contents.
1350
577a0623
AM
13512001-01-14 Alan Modra <alan@linuxcare.com.au>
1352
d952f17a
AM
1353 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1354
ffd6e9de
AM
1355 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1356 enabling search for libmilli. On a relocatable link, make .text
1357 sections unique.
1358 (LDEMUL_AFTER_PARSE): Define.
1359 (hppaelf_finish): Correct spelling of relocatable in comments.
1360
577a0623
AM
1361 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1362 rummage through the script for sections on the unique list.
1363 Correct length of strncmp for ".note".
1364 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1365
1366 * ldlang.c (unique_section_list): New var.
1367 (unique_section_p): New function.
1368 (walk_wild_section): Don't match sections on unique_section_list.
1369 (lang_add_unique): New function.
ffd6e9de 1370 Correct spelling of relocatable in comments.
577a0623
AM
1371
1372 * ldlang.h (struct unique_sections): Declare.
1373 (unique_section_list): Declare.
1374 (unique_section_p): Declare.
1375 (lang_add_unique): Declare.
1376
1377 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1378 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1379
1380 * ld.texinfo (--unique): Update.
1381
b7ed8fad
NC
13822001-01-13 Nick Clifton <nickc@redhat.com>
1383
1384 * lexsup.c (parse_args): Remove spurious white space.
1385
d0398d6a
NC
13862001-01-12 Nick Clifton <nickc@redhat.com>
1387
1388 * lexsup.c (parse_args): Update copyright date.
1389
350fdb00
PB
13902001-01-12 Philip Blundell <pb@futuretv.com>
1391
1392 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1393
60c6797e
KH
13942001-01-10 Kazu Hirata <kazu@hxi.com>
1395
1396 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1397 * scripttempl/h8300h.sc: Fix formatting.
1398 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
1399 * scripttempl/h8500.sc: Likewise.
1400 * scripttempl/h8500b.sc: Likewise.
1401 * scripttempl/h8500c.sc: Likewise.
1402 * scripttempl/h8500m.sc: Likewise.
1403 * scripttempl/h8500s.sc: Likewise.
60c6797e 1404
482e8b32
DB
14052000-01-07 David O'Brien <obrien@BSDi.com>
1406
1407 * emultempl/elf32.em: Only perform Linux ld hints processing when
1408 targeting Linux.
1409
d7ed7ca6
PB
14102001-01-07 Philip Blundell <philb@gnu.org>
1411
1412 * ld.texinfo (Bug Reporting): Update email address for reports.
1413
0fc3347a
NC
14142000-12-31 Nick Clifton <nickc@redhat.com>
1415
1416 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1417 options by checking for a return value of '?' not -1.
1418
e4897a32
NC
14192000-12-28 Nick Clifton <nickc@redhat.com>
1420
1421 * lexsup.c (struct ld_option): Add new enum value:
1422 EXACTLY_TWO_DASHES.
1423 (ld_options[]): Change -omagic, -output and -oformat options
1424 to be EXACTLY_TWO_DASHES.
1425 (OUTPUT_COUNT): Use ARRAY_SIZE.
1426 (parse_args): Change parameter 'argc' to unsigned.
1427 Place EXACTLY_TWO_DASHES options into new really_longopts
1428 array.
1429 If getopt_long_only fails, try calling getopt_long using the
1430 really_longopts array.
1431 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1432 TWO_DASHES options.
1433
1434 * ldlex.h: Fix prototype of parse_args.
1435
1436 * ld.texinfo: Document that long options starting with 'o'
1437 must be preceeded by two dashes. Change example of a single
1438 dashed long option from -oformat to -trace-symbol.
1439
1122a5fc
NC
14402000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1441
1442 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1443 (longopts[]): New --no-default-excludes option.
1444 (gld_${EMULATION_NAME}_list_options): Document.
1445 (gld_${EMULATION_NAME}_parse_args): Handle.
1446
037849a9
NC
14472000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1448
1449 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1450 whitespace, it breaks the K&R C preprocessor.
1451
7ec229ce
DD
14522000-12-11 DJ Delorie <dj@redhat.com>
1453
1454 * ld.texinfo: Add notes about --whole-archive and gcc.
1455
b79e8c78
NC
14562000-11-18 Fred Fish <fnf@be.com>
1457
1458 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1459 (ld_options): Entry for --allow-shlib-undefined.
1460 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1461 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1462 to false.
1463 * ld.texinfo: Document new command line switch.
d952f17a 1464
9a8e2505
GK
14652000-12-12 Geoffrey Keating <geoffk@redhat.com>
1466
1467 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1468 .fixup is actually read/write.
1469 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1470 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1471 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1472
b8355149
JH
1473Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
1474
1475 * NEWS: Add note about x86_64 architecture.
1476
93b63cd3
DD
14772000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
1478
1479 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1480 Set DWARF2 sections to a VMA of zero.
1481
24f6971a
NC
14822000-12-01 Joel Sherrill <joel@OARcorp.com>
1483
d952f17a 1484 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
1485 New targets.
1486 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1487 (sparc*-*-rtems*): Switched from a.out to ELF.
1488
2be3aa03
NC
14892000-11-30 Jan Hubicka <jh@suse.cz>
1490
1491 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1492 (eelf_x86_64.c): New.
1493 * Makefile.in: Regenerate.
1494 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1495 * emulparams/elf_x86_64.sh: New.
1496
8c899858
HPN
14972000-11-30 Hans-Peter Nilsson <hp@axis.com>
1498
1499 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1500 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1501
1502 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1503 merging non-a.out sections into CONSTRUCTING.
1504
e47b9e39
NC
15052000-11-28 Nick Clifton <nickc@redhat.com>
1506
1507 * ld.1 (COPYING): Mention that the GNU Free Documentation
1508 License is present in the sources, but not the output, and
1509 also available from the GNU website.
1510 (GNU Free Documentation License): Comment out this section.
1511
ad95f82a
DB
15122000-11-28 David O'Brien <obrien@dragon.nuxi.com>
1513
1514 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1515 does not use them.
1516
fd89e65f
DB
15172000-11-25 David O'Brien <obrien@FreeBSD.org>
1518
1519 * ld.1: Remove old date so it does not give the impression the manpage
1520 is way out of date.
1521
077b8428
NC
15222000-11-24 Nick Clifton <nickc@redhat.com>
1523
1524 * configure.tgt (xscale-coff): Add target.
1525 (xscale-elf): Add target.
1526
49425d28
NC
15272000-11-24 Fred Fish <fnf@be.com>
1528
d952f17a
AM
1529 * ldmain.c (main): Remove redundant init of config.make_executable
1530 to true.
49425d28 1531
d3480244
RH
15322000-11-15 Richard Henderson <rth@redhat.com>
1533
1534 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
1535
1ce7de8b
KH
15362000-11-14 Kazu Hirata <kazu@hxi.com>
1537
1538 * scripttempl/h8300.sc: Fix formatting.
1539 * scripttempl/h8300h.sc: Likewise.
1540 * scripttempl/h8300s.sc: Likewise.
1541
208d5cd0
DC
1542Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
1543
1544 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
1545
2e418547
PB
15462000-11-09 Philip Blundell <pb@futuretv.com>
1547
1548 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
1549 around orphan sections whose names can be represented in C.
1550
c940e6fc
JW
15512000-11-07 Jim Wilson <wilson@redhat.com>
1552
1553 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
1554 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
1555
704c465c
NC
15562000-11-06 Nick Clifton <nickc@redhat.com>
1557
1558 * ld.texinfo: Add GNU Free Documentation License.
1559 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 1560 * ld.1: Add GNU Free Documentation License.
704c465c 1561
dca7760f
AM
15622000-11-05 Alan Modra <alan@linuxcare.com.au>
1563
1564 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
1565 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
1566
1567 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
1568 Move 2000-11-02 Makefile.in changes to this file.
1569 * Makefile.in: Regenerate.
1570
40a633d5
NC
15712000-11-03 Nick Clifton <nickc@redhat.com>
1572
1573 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
1574 constructors and destructors.
1575 * scripttempl/h8300h.sc: Ditto.
1576 * scripttempl/h8300s.sc: Ditto.
1577 * scripttempl/h8500.sc: Ditto.
1578 * scripttempl/h8500b.sc: Ditto.
1579 * scripttempl/h8500c.sc: Ditto.
1580 * scripttempl/h8500m.sc: Ditto.
1581 * scripttempl/h8500s.sc: Ditto.
1582 * scripttempl/v850.sc: Ditto.
1583 * scripttempl/w65.sc: Ditto.
1584 * scripttempl/z8000.sc: Ditto.
1585
59ff2774
NC
15862000-11-02 Per Lundberg <plundis@chaosdev.org>
1587
1588 * Makefile.in (e_i386_chaos.c): New rule.
1589 (ALL_EMULATIONS): Added e_i386_chaos.o.
1590 * emulparams/elf_i386_chaos.sh: New file.
1591 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
1592
645571e1
JJ
15932000-10-20 Jakub Jelinek <jakub@redhat.com>
1594
1595 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
1596 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
1597 Fix sed invocation, so that it coped with '/' in Solaris 64bit
1598 library path suffix.
1599 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
1600
c5975a45
HPN
16012000-10-18 Hans-Peter Nilsson <hp@axis.com>
1602
1603 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
1604 for consecutive sections.
1605
ea20a7da
CC
16062000-10-17 Chandrakala Chavva <cchavva@redhat.com>
1607
d952f17a
AM
1608 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
1609 options.
1610 * ld.texinfo: Added notes about this new option.
ea20a7da 1611
6e45556a
NC
16122000-10-16 Nick Clifton <nickc@redhat.com>
1613
1614 * emultempl/pe.em (_after_open): Add tests of return values from
1615 bfd functions. Emit appropriate error messages if necessary.
1616
b9a69188
NC
16172000-10-13 Nick Clifton <nickc@redhat.com>
1618
1619 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
1620 local variables - they are not used, but leave in the call to
1621 bfd_canonicalize_symtab.
b9a69188
NC
1622 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
1623 pe_dll_search_prefix.
1624
627427de 16252000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 1626
627427de
DD
1627 * emultempl/pe.em (pe_dll_search_prefix): New variable,
1628 (longopts): New --dll-search-prefix option.
1629 (gld_${EMULATION_NAME}_list_options): Document.
1630 (gld_${EMULATION_NAME}_parse_args): Handle.
1631 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
1632 dynamically, search for a dll named '<prefix><basename>.dll'
1633 in preference to 'lib<basename>.dll' if --dll-search-prefix
1634 is specified.
1635
24376d1b
AM
16362000-10-12 Alan Modra <alan@linuxcare.com.au>
1637
1638 * ldlang.c (section_already_linked): Set kept_section instead of
1639 sec->comdat->sec.
1640
e47d05ad
KH
16412000-10-10 Kazu Hirata <kazu@hxi.com>
1642
1643 * deffile.h: Fix formatting.
1644 * lexsup.c: Likewise.
1645 * mri.c: Likewise.
1646
23a87948
DD
16472000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1648
1649 * pe-dll.c (make_one): Do not generate code thunk for DATA
1650 exports.
1651 (process_def_file): deduce DATA flag for auto-export sumbols.
1652
86b1cc60
KH
16532000-10-09 Kazu Hirata <kazu@hxi.com>
1654
89cdebba
KH
1655 * ld.h: Fix formatting.
1656 * ldcref.c: Likewise.
1657 * ldctor.h: Likewise.
1658 * ldemul.c: Likewise.
1659 * ldemul.h: Likewise.
1660 * ldexp.c: Likewise.
1661 * ldexp.h: Likewise.
1662 * ldfile.c: Likewise.
1663 * ldfile.h: Likewise.
1664 * ldlang.c: Likewise.
1665 * ldlang.h: Likewise.
1666 * ldmain.c: Likewise.
7bfd51a3
KH
1667 * pe-dll.c: Likewise.
1668
1669 * pe-dll.c: Revert some formatting fixes.
86b1cc60 1670
d643799d
KH
16712000-10-08 Kazu Hirata <kazu@hxi.com>
1672
1673 * pe-dll.c: Fix formatting.
1674
08da4cac
KH
16752000-10-05 Kazu Hirata <kazu@hxi.com>
1676
1677 * ldlang.c: Fix formatting.
1678
c2a94a7a
DD
16792000-10-03 DJ Delorie <dj@redhat.com>
1680
1681 * pe-dll.c (fill_edata): initialize entire block
1682 (make_one): fill in correct section.
1683
8c95a62e
KH
16842000-10-03 Kazu Hirata <kazu@hxi.com>
1685
1686 * ldexp.c: Fix formatting.
1687
486e80e2
DD
16882000-10-02 DJ Delorie <dj@redhat.com>
1689
1690 * emultempl/pe.em (gld_*_after_open): detect case where there two
1691 import libraries for same dll; rename one to ensure proper link
1692 order.
1693
1694 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
1695 typo
1696 (generate_edata): fix typo
1697
24dd9f75
HPN
16982000-09-29 Hans-Peter Nilsson <hp@axis.com>
1699
1700 * scripttempl/crisaout.sc (ENTRY): Now __start.
1701 (.text): Add default setting for __start.
1702 Remove CONSTRUCTORS handling.
1703 (/DISCARD/): Add .gnu.warning.*.
1704 * emulparams/crislinux.sh (ENTRY): Now __start.
1705 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
1706 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
1707 (ENTRY): Now __start.
1708 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
1709 (EXECUTABLE_SYMBOLS): Add default setting for __start.
1710
4de2d33d
KH
17112000-09-29 Kazu Hirata <kazu@hxi.com>
1712
5cc18311
KH
1713 * deffile.h: Fix formatting.
1714 * ld.h: Likewise.
1715 * ldcref.c: Likewise.
4de2d33d 1716 * ldctor.c: Likewise.
5cc18311 1717 * ldctor.h: Likewise.
4de2d33d 1718 * ldemul.c: Likewise.
5cc18311 1719 * ldemul.h: Likewise.
4de2d33d 1720 * ldexp.c: Likewise.
5cc18311 1721 * ldexp.h: Likewise.
4de2d33d 1722 * ldfile.c: Likewise.
5cc18311 1723 * ldfile.h: Likewise.
4de2d33d 1724 * ldlang.c: Likewise.
5cc18311
KH
1725 * ldlang.h: Likewise.
1726 * lexsup.c: Likewise.
1727 * mri.c: Likewise.
1728 * pe-dll.c: Likewise.
4de2d33d 1729
45b1f63c
DD
17302000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1731
1732 * pe-dll.c (process_def_file): Uninitialized data wasn't
1733 exported with --export-all-symbols switch.
d952f17a 1734
45b1f63c
DD
17352000-09-28 DJ Delorie <dj@redhat.com>
1736
1737 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
1738 noname work properly.
1739
47d89dba
AM
17402000-09-28 Alan Modra <alan@linuxcare.com.au>
1741
1742 * ld.texinfo (HPPA ELF32): New section.
1743
1744 * emultempl/hppaelf.em (group_size): New.
1745 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
1746 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
1747 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
1748 options to prevent abbreviations matching.
1749 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
1750 (PARSE_AND_LIST_ARGS_CASES): Handle it.
1751
36bdbeec
NC
17522000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1753
1754 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
1755 on the m68*-*-elf target. Make it support COFF input objects.
1756
6d5e62f8
KH
17572000-09-21 Kazu Hirata <kazu@hxi.com>
1758
1759 * ldmain.c: Fix formatting.
1760 * ldmisc.c: Likewise.
1761 * ldver.c: Likewise.
1762 * ldwrite.c: Likewise.
1763
e2eb67d9
AM
17642000-09-21 Alan Modra <alan@linuxcare.com.au>
1765
1766 * ldwrite.c (clone_section): Silence gcc warnings.
1767
b3ea3584
AM
17682000-09-20 Alan Modra <alan@linuxcare.com.au>
1769
1770 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
1771 out of memory failure.
1772
1773 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
1774 (clone_section): Handle out of memory failures. Rename var to
1775 avoid c++ reserved word.
1776
25f72752
AM
17772000-09-18 Alan Modra <alan@linuxcare.com.au>
1778
1779 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
1780 stub_name param to stub_sec_name.
1781 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
1782
0752970e
NC
17832000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1784
1785 * emultempl/m68kelf.em: New file.
1786 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
1787 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
1788 * Makefile.in: Regenerate.
1789
92b7e9d8
AM
17902000-09-15 Alan Modra <alan@linuxcare.com.au>
1791
1792 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
1793 only as needed.
1794
9b14b192
NC
17952000-09-13 Nick Clifton <nickc@redhat.com>
1796
1797 * ldmain.c (multiple_definition): Disable relaxation if
1798 multiple symbol definitions are encountered - otherwise the
1799 linker could abort with an assertion failure.
1800
891fa266
NC
18012000-09-10 Nick Clifton <nickc@redhat.com>
1802
1803 * mri.c: Fix formatting.
1804
5d64ca4e
L
18052000-09-07 H.J. Lu <hjl@gnu.org>
1806
1807 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1808 * configure: Rebuild.
1809
dd94604f
L
18102000-09-07 H.J. Lu <hjl@gnu.org>
1811
1812 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
1813 * Makefile.in: Rebuild.
1814
71bfc0ae
AM
18152000-09-07 Alan Modra <alan@linuxcare.com.au>
1816
1817 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
1818 broken list handling. Create __start_SECNAME and __stop_SECNAME
1819 when no place-holder. Add some comments. Test both SEC_CODE and
1820 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 1821 Handle case where no output section statement created.
71bfc0ae 1822
4a428502
AO
18232000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
1824
1825 * configure.tgt (sh-*-linux*): Added.
1826 * Makefile.am: Added eshelf_linux and eshlelf_linux.
1827 * Makefile.in: Rebuilt.
1828 * emulparams/shelf_linux.sh: New file.
1829 * emulparams/shlelf_linux.sh: New file.
1830
f9989030
AM
18312000-09-06 Alan Modra <alan@linuxcare.com.au>
1832
1833 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1834 try shuffling sections when the orphan happens to be the place
1835 holder. Keep count of unique section names generated so we speed
1836 the search for a new name.
1837
58cccadb
AO
18382000-09-06 Alexandre Oliva <aoliva@redhat.com>
1839
1840 * configure: Rebuilt with new libtool.m4.
1841
5b343f5a
NC
18422000-09-05 Nick Clifton <nickc@redhat.com>
1843
1844 * Makefile.in: Regenerate.
1845 * aclocal.m4: Regenerate.
1846 * configure: Regenerate.
1847 * config.in: Regenerate.
1848 * po/ld.pot: Regenerate.
1849
1850 * ldint.texinfo: Remove CVS revision marker - it foils local
1851 comparisons.
1852
1853 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 1854
a854a4a7
AM
18552000-09-05 Alan Modra <alan@linuxcare.com.au>
1856
3231d22e
AM
1857 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
1858 to stub section flags.
1859 (hppa_for_each_input_file_wrapper): New.
1860 (hppa_lang_for_each_input_file): New.
1861 (lang_for_each_input_file): Define to call above.
1862 (multi_subspace): New.
1863 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
1864 (PARSE_AND_LIST_PROLOGUE): Define.
1865 (PARSE_AND_LIST_LONGOPTS): Define.
1866 (PARSE_AND_LIST_OPTIONS): Define.
1867 (PARSE_AND_LIST_ARGS_CASES): Define.
1868 (hppaelf_finish): Call elf32_hppa_set_gp.
1869 (hppaelf_set_output_arch): Remove.
1870 (LDEMUL_SET_OUTPUT_ARCH): Remove.
1871
1872 * emulparams/hppalinux.sh (ELFSIZE): Define.
1873 (MACHINE): Define.
1874 (OTHER_READONLY_SECTIONS): Define.
1875 (DATA_PLT): Define.
1876 (GENERATE_SHLIB_SCRIPT): Define.
1877
5f992e62
AM
1878 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
1879 to const throughout. Change `void *' to `PTR' throughout.
1880 (lang_memory_default): Function is local to file, add `static'.
1881
1882 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
1883 (ehppalinux.c): Likewise.
1884 (earmelf.c): Likewise.
1885 (earmelf_linux.c): Likewise.
1886 (earmelf_linux26.c): Likewise.
1887 * Makefile.in: Regenerate.
1888
a854a4a7
AM
1889 * ld.h (ld_config_type): Add unique_orphan_sections.
1890 * lexsup.c (OPTION_UNIQUE): Define.
1891 (ld_options): Add "--unique".
1892 (parse_args): Handle it.
1893 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1894 search for an existing output section if unique_orphan_sections is
1895 set. Make use of bfd_get_unique_section_name rather than
1896 duplicating code here.
1897 * ld.texinfo: Describe --unique.
1898
1899 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
1900 optional arg to split-by-file.
1901 (parse_args): Handle them.
1902 * ld.texinfo: Update description of these options.
1903 * ldwrite.c (clone_section): Pass in the section name. Replace
1904 local code with bfd_get_unique_section_name.
1905 (split_sections): Tidy code and comments. Use a list traversal
1906 more appropriate to the list construction. Handle cooked section
1907 sizes. Split when split_by_reloc reached rather than exceeded.
1908 Track section size and split when split_by_file reached. Fix
1909 link_order_tail (even though it's not used).
1910 (ldwrite): Modify condition for calling split_sections to suit
1911 changed split_by_reloc and split_by_file.
1912 * ldmain.c (main): Init config.split_by_reloc and
1913 config.split_by_file to -1.
1914 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
1915 Change split_by_file to bfd_size_type.
1916
18e03609
NC
19172000-09-02 Nick Clifton <nickc@redhat.com>
1918
1919 * configure.in: Increase version number to 2.10.91.
1920 * NEWS: Mention new ability to support removal of duplicate DWARF2
1921 debug information.
1922 * configure: Regenerate.
1923 * aclocal.m4: Regenerate.
1924 * config.in: Regenerate.
1925
3a9d486c
NC
19262000-09-02 Daniel Berlin <dberlin@redhat.com>
1927
1928 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
1929 sections.
a2b64bed 1930 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
1931 * scripttempl/elfd10v.sc: Ditto.
1932 * scripttempl/elfd30v.sc: Ditto.
1933 * scripttempl/elfi370.sc: Ditto.
1934 * scripttempl/elfm68hc11.sc: Ditto.
1935 * scripttempl/elfm68hc12.sc: Ditto.
1936 * scripttempl/elfi386beos.sc: Ditto.
1937 * scripttempl/v850.sc: Ditto.
50bbae35 1938
ac48eca1
AO
19392000-08-31 Alexandre Oliva <aoliva@redhat.com>
1940
1941 * acinclude.m4: Include libtool and gettext macros from the
1942 top level.
1943 * aclocal.m4, configure: Rebuilt.
1944
c13b1b77
NC
19452000-08-25 Nick Clifton <nickc@redhat.com>
1946
1947 * ldlang.c (open_output): When choosing the target for a
1948 particular endianness, do nothing if the target is not
1949 supported.
1950
dcb0bd0e
L
19512000-08-25 H.J. Lu <hjl@gnu.org>
1952
1953 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
1954 check -rpath nor LD_RUN_PATH for cross link.
1955 * ld.texinfo: Document the change.
1956
5bcac8a4
HPN
19572000-08-24 Hans-Peter Nilsson <hp@axis.com>
1958
1959 * NEWS: Mention support for CRIS.
1960
6dd8c765
L
19612000-08-23 H.J. Lu <hjl@gnu.org>
1962
1963 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
1964 the current runpath list from bfd_elf_get_runpath_list ()
1965 before search.
1966
ec4eb78a
L
19672000-08-22 H.J. Lu <hjl@gnu.org>
1968
1969 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
1970 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
1971 LD_LIBRARY_PATH for native linker. Display the needed DSO if
1972 trace_file_tries is non-zero.
1973 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
1974 if trace_file_tries is non-zero.
1975
1976 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 1977 * NEWS: Mention it.
ec4eb78a 1978
22b36938
JE
19792000-08-14 Jason Eckhardt <jle@cygnus.com>
1980
1981 * NEWS: Mention i860 support.
1982
d73e9da0
AS
19832000-08-14 Andreas Schwab <schwab@suse.de>
1984
1985 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 1986 syntax.
d73e9da0 1987
9ac4db9c
GK
19882000-08-10 Geoff Keating <geoffk@cygnus.com>
1989
1990 * scripttempl/elf.sc: Add a comment giving the correspondence
1991 between sections, per-datum sections, and linkonce sections. Make
1992 the comment true even for .bss, .sdata, .sdata2, .sbss, and
1993 .sbss2.
1994
165589e4
JE
19952000-08-10 Jason Eckhardt <jle@cygnus.com>
1996
1997 * emulparams/elf32_i860.sh: New file.
1998 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
1999 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2000 (eelf32_i860.c): New rule.
2001 * Makefile.in: Regenerate.
2002
345a835d
NC
20032000-08-10 Nick Clifton <nickc@cygnus.com>
2004
2005 * emulparams/mipspe.sh (ENTRY): Add definition.
2006
e374f1d9
NC
20072000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
2008
2009 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2010 in error message.
2011
236d5abf
NC
20122000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2013
2014 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2015 the final size of .bss section.
2016 * scripttempl/elfm68hc12.sc: Likewise.
2017
4b209b22
AM
20182000-08-04 Alan Modra <alan@linuxcare.com.au>
2019
2020 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2021 gld${EMULATION_NAME}_parse_args for consistency. Combine
2022 lastoptind and prevoptind vars, and keep track of last optind.
2023 (gld_${EMULATION_NAME}_list_options): Rename to
2024 gld${EMULATION_NAME}_list_options.
2025
28423a68
AM
20262000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
2027
2028 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2029 (i586-sco-sysv5uw7.1.0).
2030
b2009ff7
L
20312000-07-27 H.J. Lu <hjl@gnu.org>
2032
2033 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2034 (PARSE_AND_LIST_PROLOGUE): New.
2035 (PARSE_AND_LIST_LONGOPTS): Likewise.
2036 (PARSE_AND_LIST_OPTIONS): Likewise.
2037 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2038 (PARSE_AND_LIST_EPILOGUE): Likewise.
2039
04925e1e
AM
20402000-07-28 Alan Modra <alan@linuxcare.com.au>
2041
41392f03
AM
2042 * emultempl/armelf.em: Elide functions common to elf32.em,
2043 ie. most of the file.
2044 (arm_elf_after_open): New. Do arm specific things then call
2045 gld${EMULATION_NAME}_after_open.
2046 (arm_elf_before_allocation): New. Call
2047 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2048 (PARSE_AND_LIST_PROLOGUE): Define.
2049 (PARSE_AND_LIST_SHORTOPTS): Define.
2050 (PARSE_AND_LIST_LONGOPTS): Define.
2051 (PARSE_AND_LIST_OPTIONS): Define.
2052 (PARSE_AND_LIST_ARGS_CASES): Define.
2053 (LDEMUL_AFTER_OPEN): Define.
2054 (LDEMUL_BEFORE_ALLOCATION): Define.
2055 (LDEMUL_BEFORE_PARSE): Define.
2056 (LDEMUL_FINISH): Define.
2057
2058 * emultempl/hppaelf.em: Similarly zap most of this file.
2059 (hppaelf_add_stub_section): Prototype.
2060 (hppaelf_layaout_sections_again): Prototype.
2061 (hook_in_stub): Prototype.
2062 (LDEMUL_SET_OUTPUT_ARCH): Define.
2063 (LDEMUL_FINISH): Define.
2064 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2065
2066 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2067 (EXTRA_EM_FILE): New.
2068 * emulparams/armelf_linux.sh: Likewise.
2069 * emulparams/armelf_linux26.sh: Likewise.
2070 * emulparams/hppalinux.sh: Likewise.
2071 * emulparams/hppaelf.sh: Likewise.
2072 (NOP): Define.
2073
2074 * emultempl/elf32.em: Fix formatting.
2075 (EXTRA_EM_FILE): Source it.
2076 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2077 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2078 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2079 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2080 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2081 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2082 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2083 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2084 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2085 allow functions in this file to be overridden.
2086 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2087
2088 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2089
04925e1e
AM
2090 * emultempl/elf32.em: Reorganize file.
2091
88cdf297
NC
20922000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
2093
2094 * emulparams/elf64alpha.sh: Implement "-taso" emulation
2095 specific option to fit 64-bit executable in the lower
2096 31-bit address range. This is done by changing start
2097 address of .interp (the very first section of executable)
2098 and then setting EF_ALPHA_32BIT elf header flag.
2099
20bccb34
NC
21002000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2101
2102 * emultempl/m68kcoff.em: New file.
2103 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
2104 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
2105 generic.em.
2106 * Makefile.in: Regenerate.
2107
699845ef
L
21082000-07-20 H.J. Lu <hjl@gnu.org>
2109
2110 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2111 and "disable-new-dtags" to stop getopt from treating -d/-e as
2112 abbreviations for these options.
2113
6c1439be
L
21142000-07-20 H.J. Lu <hjl@gnu.org>
2115
2116 * ld.texinfo: Add documentation for --disable-new-dtags and
2117 --enable-new-dtags.
2118
2119 * ldmain.c (main): Initialize link_info.new_dtags to false.
2120
2121 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
2122 --disable-new-dtags and --enable-new-dtags.
2123 (gld_${EMULATION_NAME}_list_options): Likewise.
2124
28c309a2
NC
21252000-07-05 Kenneth Block <krblock@computer.org>
2126
a2b64bed
NC
2127 * lexsup.c: Add optional style to demangle switch
2128 * ld.texinfo: Document optional style to demangle switch.
50bbae35 2129
9d06555c
HPN
21302000-07-20 Hans-Peter Nilsson <hp@axis.com>
2131
2132 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
2133 ecrislinux.o.
2134 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
2135 Regenerate dependencies.
2136 * Makefile.in: Rebuild.
2137 * configure.tgt (cris-*-*): New target.
2138 * emulparams/crisaout.sh, emulparams/criself.sh,
2139 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
2140 * po/POTFILES.in, po/ld.pot: Regenerate.
2141
19e3be22
L
21422000-07-20 H.J. Lu <hjl@gnu.org>
2143
2144 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
2145 Print out ignored -z options.
2146
e0ee487b
L
21472000-07-19 H.J. Lu <hjl@gnu.org>
2148
19e3be22
L
2149 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
2150 (PARSE_AND_LIST_PROLOGUE): New.
2151 (PARSE_AND_LIST_LONGOPTS): Likewise.
2152 (PARSE_AND_LIST_OPTIONS): Likewise.
2153 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2154
2155 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
2156
2157 * lexsup.c (ld_options): Comment out 'z'.
2158 (parse_args): Likewise.
2159
2160 * emultempl/elf32.em: Include "elf/common.h".
2161 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
2162 options.
2163 (gld_${EMULATION_NAME}_list_options): Likewise.
2164
2165 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 2166
49e56c49
L
21672000-07-19 H.J. Lu <hjl@gnu.org>
2168
2169 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
2170 bfd_elf_set_dt_needed_soname ().
2171
9d68bc82
DD
21722000-07-18 DJ Delorie <dj@cygnus.com>
2173
2174 * pe-dll.c (pe_dll_id_target): check object target name also
2175
53db15ed
HPN
21762000-07-18 Hans-Peter Nilsson <hp@axis.com>
2177
2178 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
2179 ${INIT_END} if relocating.
2180 (.fini): Likewise ${FINI_START} and ${FINI_END}.
2181
0ad8cf4c
DD
21822000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
2183
a2b64bed 2184 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
2185 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
2186 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
2187 errors introduced by the old dynamic lib search order.
2188
874c8c99
DD
21892000-07-17 DJ Delorie <dj@cygnus.com>
2190
2191 * pe-dll.c (process_def_file): auto-export data items also
2192 (pe_process_import_defs): also see if _imp_ form needed
2193
5b4cf3f4
DD
21942000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
2195
2196 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
2197 for dll import libraries
2198
062739d1
NC
21992000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
2200
2201 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 2202 gcc 2.95.2 and later.
062739d1 2203
1c64c4ed
NC
22042000-07-11 Kazu Hirata <kazu@hxi.com>
2205
50bbae35
AM
2206 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
2207 message.
1c64c4ed 2208
b71e2778
AM
22092000-07-10 Alan Modra <alan@linuxcare.com.au>
2210
2211 * ldemul.h (struct lang_input_statement_struct): Remove forward
2212 declaration.
2213 (struct search_dirs): Likewise.
2214 * ldfile.h (struct lang_input_statement_struct): Likewise.
2215 Protect file from multiple inclusion.
2216 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
2217 declaration from macro to file scope.
2218
2219 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
2220 * ldgram.y: Likewise here.
2221 * ldlang.c: And here.
2222 * ldmain.c: And here.
2223 * mpw-elfmips.c: And here.
2224 * mpw-eppcmac.c: And here.
2225 * emultempl/aix.em: And here.
2226 * emultempl/armcoff.em: And here.
2227 * emultempl/armelf.em: And here.
2228 * emultempl/armelf_oabi.em: And here.
2229 * emultempl/beos.em: And here.
2230 * emultempl/elf32.em: And here.
2231 * emultempl/hppaelf.em: And here.
2232 * emultempl/linux.em: And here.
2233 * emultempl/lnk960.em: And here.
2234 * emultempl/pe.em: And here.
2235 * emultempl/sunos.em: And here.
2236 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
2237 * mpw-idtmips.c: Ditto.
2238 * emultempl/generic.em: Ditto.
2239 * emultempl/gld960.em: Ditto.
2240 * emultempl/gld960c.em: Ditto.
2241 * emultempl/mipsecoff.em: Ditto.
2242 * emultempl/ticoff.em: Ditto.
2243 * emultempl/vanilla.em: Ditto.
2244
2245 * pe-dll.c: Include ldfile.h
2246 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
2247
2248 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
2249 arguments to bfd_elf32_size_dynamic_sections call.
2250 (gldelf32ebmip_place_orphan): Add missing arguments to
2251 lang_leave_output_section_statement call.
2252
2ef53d66
L
22532000-07-10 H.J. Lu <hjl@gnu.org>
2254
2255 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
2256 DLL_SUPPORT.
2257 (strhash): Likewise.
2258 (compute_dll_image_base): Likewise.
2259 (pe_undef_found_sym): Likewise.
2260 (pe_undef_cdecl_match): Likewise.
2261 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
2262 argument "arch" with ATTRIBUTE_UNUSED.
2263
9a8cbb09
AM
22642000-07-10 Alan Modra <alan@linuxcare.com.au>
2265
2266 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
2267
2268 From Ryan Bradetich <rbradetich@uswest.net>
2269 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 2270
4900fc06
AM
22712000-07-09 Alan Modra <alan@linuxcare.com.au>
2272
2273 Changes to create multiple linker stubs, positioned immediately
2274 before the section where they are required.
2275 * emultempl/hppaelf.em: Include elf32-hppa.h.
2276 (stub_sec, file_chain): Delete.
2277 (hppaelf_create_output_section_statements): Don't make a stub
2278 section here.
2279 (hook_stub_info): New struct.
2280 (hook_in_stub): New function.
2281 (hppaelf_add_stub_section): New function.
2282 (hppaelf_finish): Do nothing for relocateable links. Modify the
2283 call to elf32_hppa_size_stubs. Move code for updating section
2284 layout from here...
2285 (hppaelf_layaout_sections_again): ..to here, a new function.
2286
2287 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
2288 broken list handling. Pass in a pointer to the list.
2289 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
2290 for above changes.
2291 (hppaelf_before_parse): Prototype.
2292 (hppaelf_set_output_arch): Prototype.
2293 (hppaelf_create_output_section_statements): Prototype.
2294 (hppaelf_delete_padding_statements): Prototype.
2295 (hppaelf_finish): Prototype.
2296
2297 Merge from elf32.em
2298 * emultempl/hppaelf.em: Include ctype.h.
2299 (struct orphan_save): New.
2300 (gld${EMULATION_NAME}_place_orphan): New.
2301 (output_rel_find): New.
2302 (hppaelf_get_script): Update from elf32.em.
2303 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
2304 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 2305 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
2306
2307 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
2308 ehppalinux.o, sort it. Regenerate dependencies.
2309 (ehppalinux.c): Depend on hppaelf.em
2310 * Makefile.in: Regenerate.
2311
2312 * configure.tgt: targ_emul=hppalinux for hppa*linux
2313
2314 * emulparams/hppalinux.sh: New.
2315 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2316
227aeb07
AM
23172000-07-08 Alan Modra <alan@linuxcare.com.au>
2318
2319 * lexsup.c (parse_args): Copy section name.
2320
28609fd4 23212000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 2322
2ef53d66 2323 * emultempl/pe.em: institute the following search order for
602e90d3
DD
2324 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2325 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2326 static lib (libfoo.a) if none of the above are found.
2327
5f577f7d
DD
23282000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
2329
50bbae35 2330 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 2331 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 2332 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
2333 (gld_${EMULATION_NAME}_parse): Handle.
2334 (strhash): New static function.
50bbae35 2335 (compute_dll_image_base): New static function.
5f577f7d
DD
2336 (gld_${EMULATION_NAME}_set_symbols): Use.
2337
9a8cbb09 23382000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
2339
2340 * MAINTAINERS: new
2341
3548145d 23422000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
2343
2344 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2345 * emulparams/elf32btsmip.sh: New file.
2346 * Makefile.am: Add traditional mips target.
2347 * Makefile.in: Rebuild.
2348
67798033
L
23492000-07-01 H.J. Lu <hjl@gnu.org>
2350
2351 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2352 automake to use YLWRAP.
2353 * Makefile.in: Rebuild.
2354
0bdaf48b
AM
23552000-07-01 Alan Modra <alan@linuxcare.com.au>
2356
2357 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2358 (CLEANFILES): Add DEPA.
2359 * Makefile.in: Regenerate.
2360
c9e769c2
TW
23612000-06-30 Timothy Wall <twall@ppc>
2362
2363 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2364 the page in the upper octet of the address.
2365
65aa24b6
NC
23662000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2367
2368 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2369
4667035e
AM
23702000-06-24 Alan Modra <alan@linuxcare.com.au>
2371
2372 * NEWS: arm-elf does --gc-sections too.
2373
1581f8c9
AM
23742000-06-22 Alan Modra <alan@linuxcare.com.au>
2375
2376 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2377 find one.
2378 * Makefile.in: Regenerate.
2379
01580992
L
23802000-06-21 H.J. Lu <hjl@gnu.org>
2381
2382 * Makefile.am: Rebuild dependency.
2383 * Makefile.in: Rebuild.
2384
bbeb2e03
L
23852000-06-20 H.J. Lu <hjl@gnu.org>
2386
2387 * Makefile.am: Rebuild dependency.
2388 * Makefile.in: Rebuild.
2389
74459f0e
TW
23902000-06-20 Timothy Wall <twall@cygnus.com>
2391
2392 * scripttempl/tic54xcoff.sc: New.
2393 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2394 * gen-doc.texi: Add flag for TI COFF.
2395 * ld.texinfo: Add documentation for TI COFF handling switches.
2396 * emultempl/ticoff.em: New. TI COFF handling.
2397 * configure.tgt: Add tic54x target.
2398 * Makefile.am: Add tic54x target.
2399 * Makefile.in: Ditto.
2400
2ab47eed
AM
24012000-06-20 Alan Modra <alan@linuxcare.com.au>
2402
2403 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2404 checking for backslashes.
2405
919e4093
AM
24062000-06-19 Alan Modra <alan@linuxcare.com.au>
2407
2408 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2409
987fd5b4
AM
24102000-06-18 Alan Modra <alan@linuxcare.com.au>
2411
2412 * NEWS: Update list of targets supporting --gc-sections.
2413
2414 * scripttempl/elf.sc: KEEP .eh_frame contents.
2415 * scripttempl/elfd30v.sc: Same here.
2416
60bcf0fa
NC
24172000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2418
2419 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2420 and m68hc11 (elf).
2421 * Makefile.in: Rebuild.
2422 * configure.tgt: Recognize m68hc12 and m68hc11.
2423 * scripttempl/elfm68hc12.sc: New file.
2424 * emulparams/m68hc12elfb: New emulation.
2425 * emulparams/m68hc12elf: New emulation.
2426 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2427 (includes a memory.x script to define the ROM and RAM banks).
2428 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2429 New configuration files for support of Motorola 68hc11
2430
c7c54483
AM
24312000-06-15 Alan Modra <alan@linuxcare.com.au>
2432
2433 * ldmain.c (main): Only change SEC_READONLY for final link.
2434
bcef29e6
L
24352000-06-13 H.J. Lu <hjl@gnu.org>
2436
2437 * configure: Regenerate.
2438
946efd95
DB
24392000-06-08 David O'Brien <obrien@FreeBSD.org>
2440
2441 * configure.in (VERSION): Update to show this is the CVS mainline.
2442
57a6fd07
DB
24432000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2444
2445 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2446 input objects to be ECOFF.
2447 (check_sections): einfo takes %B, not %P, to print a BFD name.
2448
e06cae36
L
24492000-06-05 Michael Matz <matz@ifh.de>
2450
2451 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 2452 version scripts.
e06cae36 2453
d952f17a 2454 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 2455
2f0b56c0
DC
24562000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
2457
2458 * emulparams/avr1200.sh (STACK): Define as 0.
2459 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2460 * emulparams/avr4433.sh (STACK): Likewise.
2461 * emulparams/avr44x4.sh (STACK): Likewise.
2462 * emulparams/avr85xx.sh (STACK): Likewise.
2463 * emulparams/avrmega103.sh (STACK): Likewise.
2464 * emulparams/avrmega161.sh (STACK): Likewise.
2465 * emulparams/avrmega603.sh (STACK): Likewise.
2466 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2467 (__stack): Define from ${STACK} for main().
2468
2114f57b
AM
24692000-05-26 Alan Modra <alan@linuxcare.com.au>
2470
2471 * Makefile.am: Update dependencies with "make dep-am"
2472 * Makefile.in: Regenerate.
2473
5af11cab
AM
24742000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2475
2476 * ldmain.c: Include filenames.h.
2477 (set_scripts_dir): Support backslashes in program name.
2478
1f0df59a
NC
24792000-05-22 Igor Shevlyakov <igor@windriver.com>
2480
2481 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
2482 read-only, don't forget to reset SEC_READONLY because it
2483 could be already set.
1f0df59a 2484
176355da
NC
24852000-05-22 Thomas de Lellis <tdel@windriver.com>
2486
50bbae35
AM
2487 * ld.1: Add documentation for new command line option:
2488 --section-start <sectionname>=<sectionorg>
2489 This is a generic version of -Ttext etc. which accepts
2490 any section name as a parameter instead of just text/data/
2491 bss.
2492 * ld.texinfo: More docs.
2493 * NEWS: More docs.
2494 * lexsup.c: (parse_args): Recognize new command line option.
176355da 2495 (ld_options): Add new option.
50bbae35 2496
8c5ff972
L
24972000-05-18 H.J. Lu <hjl@gnu.org>
2498
2499 * lexsup.c (parse_args): `i' == `r', not `q'.
2500
0b76fe77
JL
2501Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
2502
2503 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2504
a712da20
NC
25052000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
2506 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 2507
a712da20
NC
2508 Add support for '-q' == '--emit-relocs' switch.
2509 * ldmain.c (main): Default to false.
2510 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2511 * NEWS: Describe the emitrelocations switch.
2512 * ld.texinfo: Describe the emitrelocations switch.
2513
690a460e
NC
25142000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
2515
a2b64bed 2516 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
2517 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2518 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2519 link options.
50bbae35 2520
c2f1343c
AM
25212000-05-15 David O'Brien <obrien@FreeBSD.org>
2522
2523 * lexsup.c (parse_args): Update the year in the copyright notice.
2524
897083bd
AM
25252000-05-13 Alan Modra <alan@linuxcare.com.au>
2526
2527 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
2528 Replace defines with those from intl/libgettext.h to quieten gcc
2529 warnings.
2530
cd4c806a
L
25312000-05-10 H.J. Lu <hjl@gnu.org>
2532
2533 * ldlang.c (open_input_bfds): Don't load the same file within
2534 a group again if the whole archive has been loaded already.
2535
93697284
AM
25362000-05-03 Alan Modra <alan@linuxcare.com.au>
2537
2538 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
2539 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
2540 strtoul.
2541
ebd6fc29
JW
2542Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
2543
99a4150f 2544 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 2545
ebd6fc29
JW
2546 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2547 host "ia64-*-linux-gnu*".
2548
a1934524
AM
25492000-04-29 Andreas Jaeger <aj@suse.de>
2550
2551 * ld.h: Correctly check GCC version.
2552
730a39a0
JL
2553Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
2554
2555 * Makefile.am: Add PA64 support. Add missing dependencies for
2556 PA32 elf support.
2557 * Makefile.in: Rebuilt.
2558 * configure.tgt: Add PA64 support (currently disabled).
2559
aea4bd9d
AM
25602000-04-25 Alan Modra <alan@linuxcare.com.au>
2561
2562 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
2563 (output_rel_find): New function.
2564 (hold_section, hold_use): Delete.
2565 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2566 hold_interp): Make local to place_orphan.
2567 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
2568 rather than place_section to find possible previous use of orphan.
2569 Similarly find the place-holder output sections. Use returned
2570 value from lang_enter_output_section_statement rather than calling
2571 lang_output_section_statement_lookup.
2572 * emultempl/armelf.em: Same here.
2573 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
2574
2575 * ldlang.c (lang_enter_output_section_statement): Return output
2576 section statement.
2577 * ldlang.h (lang_enter_output_section_statement): Change
2578 declaration too.
2579
2580 * ldlang.h (lang_output_section_statement): Export it.
2581 * ldlang.c (lang_output_section_statement): Ditto.
2582
2b5fc1f5
NC
25832000-04-24 Nick Clifton <nickc@cygnus.com>
2584
2585 * ld.texinfo (Output Section Data): Add note that section data
2586 commands cannot appear outside of section directives.
2587
d8475ff6
JL
25882000-04-2 Matthew Green <mrg@cygnus.com>
2589
2590 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
2591
800eeca4
JW
2592Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
2593 David Mosberger <davidm@hpl.hp.com>
2594
2595 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
2596 (eelf64_ia64.c): New rule.
2597 * Makefile.in: Rebuild.
2598 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
2599 * emulparams/elf64_ia64.sh: New file.
50bbae35 2600
c9637625
RH
26012000-04-21 Richard Henderson <rth@cygnus.com>
2602
2603 * scripttempl/elfd30v.sc: Place .gcc_except_table.
2604
28ea9521
AM
26052000-04-19 Alan Modra <alan@linuxcare.com.au>
2606
2607 * dep-in.sed: Match space at start of file name, not at end.
2608
20d04697
L
26092000-04-18 H.J. Lu <hjl@gnu.org>
2610
2611 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
2612 lang_leave_output_section_statement () after calling
2613 lang_enter_output_section_statement ().
2614 * emultempl/armelf.em: Likewise.
2615
5ba47421
AM
26162000-04-18 Alan Modra <alan@linuxcare.com.au>
2617
2618 * emultempl/elf32.em (struct orphan_save): Add section field.
2619 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
2620 better order, and place first orphan section as we did before the
2621 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
2622 Don't call make_bfd_section here, let wild_doit do the job for us.
2623 Don't build a statement list when we'll only throw it away.
2624 * emultempl/armelf.em: Ditto.
2625 * emultempl/pe.em: Similarly.
2626
bdbe5705
GK
26272000-04-14 Geoff Keating <geoffk@cygnus.com>
2628
2629 * scripttempl/elfppc.sc: Remove.
2630 * emulparams/elf32ppc.sh: Use elf.sc.
2631 * emulparams/elf32lppc.sh: Use elf.sc.
2632 * emulparams/elf32ppclinux.sh: Use elf.sc.
2633 * emulparams/elf32ppcsim.sh: New file.
2634 * emulparams/elf32lppcsim.sh: New file.
2635 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
2636 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
2637 * Makefile.in: Regenerate.
2638 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2639
01cc8ff8
AM
26402000-04-14 Alan Modra <alan@linuxcare.com.au>
2641
5ba47421 2642 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 2643 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
2644 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
2645 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
2646 Also set all relocateable section start addresses.
2647
6c86c541
GK
26482000-04-13 Geoff Keating <geoffk@cygnus.com>
2649
2650 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
2651 Add new BSS_PLT variable for when .plt need not be contained in
2652 the file. Move _etext so that it is also after .fini, and provide
2653 both etext and _etext with a leading underscore. Mark the start
2654 and end of .sbss.
2655
6a345e87
AM
26562000-04-12 Alan Modra <alan@linuxcare.com.au>
2657
2658 * emultempl/elf32.em (struct orphan_save): New.
2659 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2660 hold_interp): Make them struct orphan_save.
2661 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
2662 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
2663 the end of the relevant section list. Also add associated section
2664 statements to the end of any previous orphan statements.
2665 * emultempl/armelf.em: Similarly.
2666 * emultempl/pe.em: Similarly.
2667
8be86746
AM
26682000-04-11 Alan Modra <alan@linuxcare.com.au>
2669
2670 * ld.texinfo (Simple Example): Remove extraneous paragraph.
2671
a2d91340 2672Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 2673
a2d91340 2674 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 2675 --enable-build-warnings option.
a2d91340
AC
2676 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2677 * Makefile.in, configure: Re-generate.
2678
41b49281
AM
26792000-04-04 Alan Modra <alan@linuxcare.com.au>
2680
8ad3436c
AM
2681 * po/ld.pot: Regenerate.
2682
2683 * lexsup.c (help): Restore translated part of bug string.
2684
41b49281
AM
2685 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2686 (DEP): Quote when passing vars to sub-make. Add warning message
2687 to end.
2688 (DEP1): Rewrite for "gcc -MM".
2689 (CLEANFILES): Add DEP2.
2690 Update dependencies.
2691 * Makefile.in: Regenerate.
2692
c20f4f8c
AM
26932000-04-03 Alan Modra <alan@linuxcare.com.au>
2694
2695 * ld.h: #include "bin-bugs.h"
2696 * lexsup.c (help): Use REPORT_BUGS_TO.
2697
adde6300
AM
26982000-03-27 Denis Chertykov <denisc@overta.ru>
2699
2700 * configure.tgt (avr-*-*): New target support.
2701 * Makefile.am: Likewise.
2702 * scripttempl/elf32avr.sc: New script file.
2703 * emulparams/avr1200.sh: New file.
2704 * emulparams/avr23xx.sh: New file.
2705 * emulparams/avr4433.sh New file.
2706 * emulparams/avr44x4.sh New file.
2707 * emulparams/avr85xx.sh New file.
2708 * emulparams/avrmega103.sh New file.
2709 * emulparams/avrmega161.sh New file.
2710 * emulparams/avrmega603.sh New file.
2711 * Makefile.in: Regenerate.
2712
9282ff41
L
27132000-03-09 Andreas Jaeger <aj@suse.de>
2714
2715 * Makefile.am (check-DEJAGNU): Also unset LANG.
2716 * Makefile.in: Rebuild.
2717
a9998805
ILT
27182000-03-06 Ian Lance Taylor <ian@zembu.com>
2719
2720 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
2721 archive.
2722
f9bc20e7
NC
27232000-03-02 H.J. Lu <hjl@gnu.org>
2724
2725 * emulparams/elf32mcore.sh: Include "getopt.h".
2726
4e277b38
ILT
27272000-03-01 Ian Lance Taylor <ian@zembu.com>
2728
2729 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
2730
f0c87f88
NC
27312000-03-01 H.J. Lu <hjl@gnu.org>
2732
2733 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
2734 * emulparams/shpe.sh: Likewise.
2735
27362000-03-01 Nick Clifton <nickc@cygnus.com>
2737
2738 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
2739 to unused parameters.
2740
2741 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
2742 functions only used by DLL code.
2743 (_place_orphan): Initialise 'dollar'.
2744
b6f29aaa
L
27452000-03-01 H.J. Lu <hjl@gnu.org>
2746
2747 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
2748 indicate if the undefined symbol is a fatal error or not.
2749 Don't delete the output file if "fatal" is false.
2750
af28fce3
L
27512000-02-29 H.J. Lu <hjl@gnu.org>
2752
50bbae35 2753 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
2754 Set LC_COLLATE and LC_ALL to null and export them. It is for
2755 sort which expects the C locale.
2756 Add $(LIBS) to all $(HOSTING_LIBS).
2757 * Makefile.in: Rebuild.
2758
40d109bf
AM
27592000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
2760
2761 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
2762 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
2763 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
2764 (ld_emulation_xfer_struct): Add missing NULL initialiser for
2765 find_potential_libraries.
2766
db5be682
JB
27672000-02-28 Jim Blandy <jimb@redhat.com>
2768
2769 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 2770 list entries; the lexer considers commas to be valid part of a
db5be682
JB
2771 filename, so in something like `foo, bar' the comma is considered
2772 part of the first filename, `foo,'.
2773 * ld.texinfo: Update section on EXCLUDE_FILE lists.
2774
3558ff4c
ILT
27752000-02-27 Loren J. Rittle <ljrittle@acm.org>
2776
2777 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2778 host "i[3456]86-*-freebsdelf*".
2779
4eee2681
ILT
27802000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
2781
2782 * scripttempl/i386go32.sc: Move misplaced semicolons.
2783
8d75d12d
ILT
27842000-02-25 Ian Lance Taylor <ian@zembu.com>
2785
2786 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
2787 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
2788 (eelf64hppa.c, ehppaelf.c): Remove targets.
2789 * Makefile.in: Rebuild.
2790
a1836d49
AO
27912000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2792
ad51fb57
AO
2793 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
2794 GNU/Linux/sparc, but keep the default as 32.
2795
a1836d49
AO
2796 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
2797 it default if sparcv9 or sparc64.
2798
344a211f
NC
27992000-02-24 Nick Clifton <nickc@cygnus.com>
2800
2801 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
2802 * Makefile.in: Regenerate.
2803 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
2804
2805 * ldemul.h (ld_emulation_xfer_struct): Add new field:
2806 find_potential_libraries.
2807 * ldemul.c (ldemul_find_potential_libraries): New function.
2808
2809 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 2810 exported.
344a211f
NC
2811 (ldfile_open_file): Call ldemul_find_potential_libraries.
2812 * ldfile.h: Add prototype for ldfile_open_file_search.
2813
2814 * pe-dll.c: Add support for ARM, MIPS and SH targets.
2815
2816 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
2817 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
2818
2819 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
2820 (gld_X_find_potential_libraries): New function. Search for
2821 libraries called "*.lib".
2822
a2b64bed 2823 * scripttempl/pe.sc: Add .pdata section.
344a211f 2824
eaba1dd3
RH
28252000-02-23 Richard Henderson <rth@cygnus.com>
2826
2827 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
2828 Add and use memory regions.
2829
5b93d8bb
AM
28302000-02-23 Linas Vepstas (linas@linas.org)
2831
2832 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
2833
2834 * Makefile.am: Add support for Linux/IBM 370.
2835 * configure.tgt: Likewise.
2836
2837 * Makefile.in: Regenerate.
2838
f6af82bd
AM
28392000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2840
2841 * ldlang.c (print_input_section, print_data_statement,
2842 print_reloc_statement, print_padding_statement, insert_pad,
2843 size_input_section, lang_check_section_addresses,
2844 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 2845 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
2846 (lang_do_assignments): Also change `size' to unsigned.
2847
9e673ad1
RH
28482000-02-16 Richard Henderson <rth@cygnus.com>
2849
2850 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
2851
562d3460
TW
28522000-02-16 Timothy Wall <twall@cygnus.com>
2853
2854 * mri.c (mri_draw_tree): Add default LMA region argument to call
2855 to lang_leave_output_section_statement.
2856 * ldlang.h: Update prototypes with LMA region arguments.
2857 * ldlang.c (lang_size_sections): Encapsulate region bounds
2858 checking in os_check_region call.
2859 (os_check_region): New function.
2860 (lang_output_section_statement_lookup): Initialize lma_region.
2861 (lang_leave_output_section_statement): Add LMA region argument.
2862 (lang_leave_overlay): Ditto.
2863 * ldgram.y: Handle LMA region syntax.
2864 * ld.texinfo (Output Section Description): Describe LMA region usage.
2865 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 2866 lma region in call to lang_leave_output_section_statement.
562d3460 2867 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 2868 lma region in call to lang_leave_output_section_statement.
562d3460 2869 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 2870 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
2871
2872
9e4ed18c
TW
28732000-02-04 Timothy Wall <twall@redhat.com>
2874
2875 * ldlang.c (lang_check_section_addresses): Use bytes instead of
2876 octets when calculating section end addresses.
2877
32edc927
TW
28782000-02-04 Timothy Wall <twall@redhat.com>
2879
2880 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
2881
4cbfc3ac
TW
28822000-02-03 Timothy Wall <twall@redhat.com>
2883
a2b64bed 2884 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 2885 octet count.
a2b64bed 2886 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
2887 print_reloc_statement, print_padding_statement): Print target
2888 address values and section sizes as bytes, not octets.
2889 (insert_pad) Calculate padding size in octets, and adjust "dot"
2890 by bytes.
2891 (size_input_section) Always adjust "dot" by bytes, not octets.
2892 (lang_check_section_addresses, lang_do_assignments) Adjust
2893 "dot" by bytes, not octets. Use the larger of the directive size
2894 or octets_per_byte for the number of octets actually allocated in
2895 the output section.
2896 (lang_set_startof) Make sure STARTOF returns a target address.
2897 (lang_one_common) Record size changes in octets.
2898 (lang_abs_symbol_at_end_of) Section end symbol's value is
2899 recorded in target bytes.
2900 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
2901 to be clear about behavior when an octet is smaller than one byte.
50bbae35 2902
305c7206
AM
29032000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2904
2905 * ldcref.c (output_cref): Don't pass message strings to printf
2906 as format arg.
2907 Update copyright.
2908
2909 * ldmisc.c (vfinfo): Same here.
2910 Update copyright.
2911
e1c47aa4
AM
29122000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
2913
2914 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
2915 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
2916 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
2917 Add missing NULL initialisers, and comments.
2918
2919 * testsuite/ld-srec/sr3.cc (__rethrow): New.
2920
13392b77
NC
29212000-01-21 Nick Clifton <nickc@cygnus.com>
2922
2923 * ldlang.c (lang_size_sections): Fix typo in comment.
2924
cce4c4c5
NC
29252000-01-18 H.J. Lu <hjl@gnu.org>
2926
2927 * ldlang.c (lang_size_sections): Also update the current
2928 address of a region if the SEC_NEVER_LOAD bit is not set.
2929
0decc840
NC
29302000-01-10 Philip Blundell <pb@futuretv.com>
2931
2932 * configure.tgt (arm*-*-conix*): New target.
2933
4e53152f
NC
29342000-01-07 Nick Clifton <nickc@cygnus.com>
2935
2936 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
2937 line switches with -Wl, (or whatever is appropriate) if it is
2938 being invoked by a comnpiler driver program.
50bbae35 2939 Fix description of the behaviour of the -n command line switch.
4e53152f 2940
18625d54
CM
2941Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
2942
2943 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
2944 (name_list): New.
2945 * ld.texinfo (EXCLUDE_FILE): Update documentation.
2946 * ldgram.y (wildcard_spec): Support a list of excluded_files.
2947 (exclude_name_list): New.
2948 ldlang.c (walk_wild_section): Support list of excluded files.
2949 (print_wild_statement): Likewise.
2950 (lang_add_wild): Likewise.
2951 * ldlang.h (lang_wild_statement_type): Likewise.
2952 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 2953
5aaace27
NC
29542000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2955
870df5dc
NC
2956 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
2957 (process_def_file): Use.
2958 (pe_dll_compat_implib): New variable.
2959 (make_one): Use.
50bbae35 2960
870df5dc
NC
2961 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
2962 pe_dll_compat_implib.
50bbae35
AM
2963
2964 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
2965 compat-implib options.
2966 (gld_${EMULATION_NAME}_list_options): List new options.
2967 (gld_${EMULATION_NAME}_parse_args): Handle.
2968
50bbae35 2969 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 2970 dll.
50bbae35
AM
2971
2972 * deffilep.y (opt_name): Allow "." in name.
5aaace27 2973
2f6d2f85 2974For older changes see ChangeLog-9899
252b5132
RH
2975\f
2976Local Variables:
2977mode: change-log
2978left-margin: 8
2979fill-column: 74
2980version-control: never
2981End:
This page took 0.268056 seconds and 4 git commands to generate.