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