Add spanish translation files
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
be2d1673
NC
12002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
2
3 * po/es.po: New file: Spanish translation.
4 * configure.in (ALL_LINGUAS): Add es.
5 * configure: Regenerate.
6
dbab7a7b
NC
72002-01-06 John Marshall <jmarshall@acm.org>
8
9 * ld.texinfo: Note that --emit-relocs is currently only
10 implemented for ELF.
11
3dfe7a8c
AM
122002-01-05 Alan Modra <amodra@bigpond.net.au>
13
14 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
15 of bfd_section_list_remove and bfd_section_list_insert macros.
16 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
17 * emultempl/mmo.em (mmo_place_orphan): Likewise.
18
8a8b2d4b
AJ
192002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
20
21 * configure.tgt (x86_64-*-netbsd*): New target.
22
9a4c7f16
TR
232001-12-21 Tom Rix <trix@redhat.com>
24
8a8b2d4b 25 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
26 For -binitfini support.
27 * emultempl/aix.em (gld*_before_parse): Fix comment.
28 * emultempl/aix.em (gld*_parse_args): Fix comment.
29
3695c299
AM
302001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
31
cf86e6df
AM
32 * configure.tgt (mips*-dec-netbsd*): Delete alias for
33 mips*el-*-netbsd*.
34 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
35
3695c299
AM
36 * configure.tgt (arm-*-netbsdelf*): Add target.
37 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
38 * emulparams/armelf_nbsd.sh: Added.
39 * Makefile.am: Add rules for earmelf_nbsd.
40 * Makefile.in: Regenerate.
41
97cb79ae
AJ
422001-12-19 Andreas Jaeger <aj@suse.de>,
43 Susanne Oberhauser <froh@suse.de>
44
45 * configure.host: Add rules for x86_64-*linux-gnu. Change
46 s390x-linux entry to use gcc to report configuration, replace gcc
47 with $CC in s390-linux
48
9d201f2f
AJ
492001-12-19 Andreas Jaeger <aj@suse.de>
50
51 * ld.texinfo (VERSION): Fix markup.
52
0b69cd08
MG
532001-12-18 matthew green <mrg@eterna.com.au>
54
55 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
56 (m68kelfnbsd.c): New rule.
57 * Makefile.in: Regenerate.
58 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
59 (m68*-*-netbsd*4k*): .. this.
60 (m68*-*-netbsdelf*): New target.
61 (m68*-*-netbsd*): Also include ELF support.
62 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
63 * emulparams/m68kelfnbsd.sh: New emulation.
64
6b9b879a
JJ
652001-12-18 Jakub Jelinek <jakub@redhat.com>
66
67 * ldgram.y (vers_node): Support anonymous version tags.
68 * ldlang.c (lang_register_vers_node): Ensure anonymous version
69 tag is not defined together with non-anonymous versions.
70 * ld.texinfo: Document it.
71
9fc877ed
NC
722001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
73
74 * po/tr.po: New file: Turkish translation.
75 * configure.in (ALL_LINGUAS): Add tr.
76 * configure: Regenerate.
77
fc18a3f3
RH
782001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
79
80 * Makefile.am: Add rules for eelf64alpha_nbsd.
81 * Makefile.in: Regenerate.
82 * configure.tgt (alpha*-*-netbsd*): Set
83 targ_emul to elf64alpha_nbsd.
84 * emulparams/elf64alpha_nbsd.sh: Added.
85
76f63e91
AM
862001-12-17 Alan Modra <amodra@bigpond.net.au>
87
88 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
89 section_tail when fiddling with section list.
90 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
91 broken into separate strings to make translation easier.
92 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
93 fiddling with section list.
94 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
95
d03b89bd
HPN
962001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
97
98 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
99
320fec9a
AM
1002001-12-15 Alan Modra <amodra@bigpond.net.au>
101
102 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
103
65765700
JJ
1042001-12-13 Jakub Jelinek <jakub@redhat.com>
105
106 * emultempl/elf32.em (finish): Supply output_bfd
107 to bfd_elf*_discard_info.
108 (OPTION_EH_FRAME_HDR): Define.
109 (longopts): Add --eh-frame-hdr.
110 (parse_args): Handle it.
111 (list_options): Add --eh-frame-hdr to help.
112 * emultempl/hppaelf.em (finish): Supply output_bfd
113 to bfd_elf*_discard_info.
114 * scripttempl/elf.sc (.eh_frame_hdr): Add.
115
89894c62
AM
1162001-12-13 Alan Modra <amodra@bigpond.net.au>
117
118 * lexsup.c (parse_args): Don't pass shortopts to second call to
119 getopt functions. Restore optind rather than decrementing before
120 second call. Remove errind as it now duplicates last_optind.
121
583f1926
CF
1222001-12-11 Christopher Faylor <cgf@redhat.com>
123
124 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
125
93fbbb04
GK
1262001-12-07 Geoffrey Keating <geoffk@redhat.com>
127 Richard Henderson <rth@redhat.com>
128
129 * Makefile.am: Add support for xstormy16.
130 * configure.tgt: Add support for xstormy16.
131 * Makefile.in: Regenerate.
132 * emulparams/elf32xstormy16.sh: New file.
133 * scripttempl/xstormy16.sc: New file.
134
583f1926
CF
1352001-10-01 Christopher Faylor <cgf@cygnus.com>
136
fc18a3f3
RH
137 * Makefile.in (LIB_PATH): Make configurable.
138 (GENSCRIPTS): Set LIB_PATH in environment.
139 * configure.in: Substitute LIB_PATH.
140 * configure: Regenerate.
141 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
142 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 143
ff291a48
NC
1442001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
145
146 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
147 describing the -N option so that it is easier to translate into
148 foreign languages.
149
e3c8793a
NC
1502001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
151
152 * emultempl/pe.em (..._list_options): Replace multiple fprintf
153 statements describing a single option with a single, newline
154 escaped fprintf. This allows better translation into other
155 languages.
9d201f2f 156
fc18a3f3
RH
157 * ldmain.c (add_archive_element): Combine multiple strings
158 into a single string to permit better translation into other
159 languages.
e3c8793a 160
f2eab0af
TR
1612001-12-05 Tom Rix <trix@redhat.com>
162
163 * Makefile.am: Remove eaixppc64.
9d201f2f 164 * Makefile.in: Regenerate.
f2eab0af 165
249172c3
TR
1662001-12-04 Tom Rix <trix@redhat.com>
167
9d201f2f 168 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
169 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
170 warning.
171 (gld*_read_file): Fix typo.
172 (change_symbol_mode): Add prototype.
173 (is_syscall): Same.
9d201f2f 174
249172c3
TR
175 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
176 * emulparams/aixrs6.sh : Same.
177 * emulparams/ppcmacos.sh : Same.
178 * emulparams/aixppc64.sh : Delete file.
179 * emultempl/aix.em : Formatting changes.
180
5b5cd1b0
HPN
1812001-12-04 Hans-Peter Nilsson <hp@axis.com>
182
183 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
184 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
185 __Sbss.
186 (OTHER_END_SYMBOLS): Fix formatting.
187 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
188 (OTHER_END_SYMBOLS): Fix formatting.
189
7cecdbff
AM
1902001-12-04 Alan Modra <amodra@bigpond.net.au>
191
192 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
193
742aeb63 1942001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 195
742aeb63 196 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 197 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
198 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
199 (ldemul_default_target): Same.
200 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
201 * emultempl/gld960c.em (gld960_choose_target): Same.
202 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
203 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
204 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
205 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 206 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
207 -b32 and -b64.
208
48459341
L
2092001-11-27 H.J. Lu <hjl@gnu.org>
210
211 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
212 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
213 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
214 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
215 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
216 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
217 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
218 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
219
7cecdbff 220 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
221 is not empty.
222 (SDATA): Likewise.
223 (REL_SDATA): Likewise.
224 (REL_SBSS): Likewise.
225 (REL_SDATA2): Likewise.
226 (REL_SBSS2): Likewise.
227 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
228 (SDATA2): Likewise.
229
ecfdd20c
SC
2302001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
231
232 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
233 destructor in rom.
7cecdbff 234 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 235
da54c6eb
L
2362001-11-22 H.J. Lu <hjl@gnu.org>
237
238 * Makefile.in: Regenerated with automake based on automake
239 1.4-8 in RedHat 7.1.
240
465bc359
AM
2412001-11-22 Alan Modra <amodra@bigpond.net.au>
242
243 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
244 (config.status): Delete rule.
245 Add extra dependencies to cover sourced emulparams files.
246 * Makefile.in: Regenerate.
247
248 * scripttempl/elf.sc: Order <section>, <section>.* and
249 corresponding linkonce sections as seen in input files.
250 Formatting fixes. Zero vma of all sections if not relocating.
251 (STACK): Define and insert if STACK_ADDR defined.
252 (OTHER_RELOCATING_SECTIONS): Delete.
253 (OTHER_END_SYMBOLS): Define.
254 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
255 (OTHER_READWRITE_SECTIONS): Likewise.
256 (OTHER_GOT_SECTIONS): Likewise.
257 (OTHER_SDATA_SECTIONS): Likewise.
258 (OTHER_BSS_SECTIONS): Likewise.
259 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
260 (OTHER_READWRITE_SECTIONS): Likewise.
261 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
262 (OTHER_READWRITE_SECTIONS): Likewise
263
264 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
265 (STACK_ADDR): Define.
266 * emulparams/armelf_oabi.sh: As for armelf.sh.
267 * emulparams/elf32mcore.sh: As for armelf.sh.
268 * emulparams/h8300elf.sh: As for armelf.sh.
269 * emulparams/mn10200.sh: As for armelf.sh.
270 * emulparams/shelf.sh: As for armelf.sh.
271
272 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
273 (OTHER_END_SYMBOLS): Define.
274 * emulparams/m32relf.sh: As for elf32fr30.sh.
275 * emulparams/h8300helf.sh: As for elf32fr30.sh.
276 * emulparams/h8300self.sh: As for elf32fr30.sh.
277
278 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
279 defines with RELOCATING test.
280 (OTHER_SDATA_SECTIONS): Likewise.
281 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
282 (OTHER_END_SYMBOLS): ..this.
283 * emulparams/crislinux.sh: As for criself.sh.
284
285 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
286 if not relocating.
287 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
288 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
289 normal and linkonce sections as seen in input files.
290 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
291 (TEXT_DYNAMIC): Likewise.
292 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
293 (OTHER_SDATA_SECTIONS): Likewise.
294 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
295 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
296 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
297 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
298 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
299 (OTHER_PLT_RELOC_SECTIONS): Likewise.
300 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
301 sections as seen in input files.
302 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
303 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
304 if not relocating.
305 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
306 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
307 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
308 (OTHER_SECTIONS): Instead, use this..
309 (OTHER_END_SYMBOLS): ..and this.
310
311 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
312 * emulparams/elf32bsmip.sh: Likewise.
313 * emulparams/elf32btsmip.sh: Likewise.
314 * emulparams/elf32ebmip.sh: Likewise.
315 * emulparams/elf32lmip.sh: Likewise.
316 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
317 * emulparams/elf32lsmip.sh: Likewise.
318 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
319 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
320 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
321 * emulparams/elf64btsmip.sh: Likewise.
322 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
323 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
324 * emulparams/elf32ppclinux.sh: Likewise.
325 * emulparams/elf32ppcsim.sh: Likewise.
326 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
327 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
328 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
329 * emulparams/h8300self.sh: Likewise.
330 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
331 * emulparams/sh.sh: Comment.
332 * emulparams/shl.sh: Source sh.sh, remove duplicates.
333 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
334 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
335
abc6ab0a
AM
3362001-11-21 David Heine <dlheine@tensilica.com>
337 Alan Modra <amodra@bigpond.net.au>
338
339 * ldlang.c (map_input_to_output_sections): Replace "break"
340 accidentally removed with 2001-08-03 change.
341 (lang_gc_sections_1): Likewise.
342
2181f54f
AM
3432001-11-21 Alan Modra <amodra@bigpond.net.au>
344
345 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
346
ca0b5847
AM
3472001-11-20 Angela Marie Thomas <angela@redhat.com>
348
349 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
350 of false when calling lang_size_sections.
351 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 352
c56feb2b
AM
3532001-11-15 Alan Modra <amodra@bigpond.net.au>
354
355 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
356 function when LDEMUL_FINISH isn't set to the same name. Don't
357 call ${LDEMUL_FINISH}.
358 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
359 * emultempl/armelf.em (arm_elf_finish): Call
360 gld${EMULATION_NAME}_finish.
361 * emultempl/hppaelf.em (hppaelf_finish): Rename to
362 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
363 hppaelf_layout_sections_again if necessary.
364 (need_laying_out): New var.
365 (hppaelf_layaout_sections_again): Rename to
366 hppaelf_layout_sections_again. Clear need_laying_out.
367 (PARSE_AND_LIST_OPTIONS): Format text.
368
a48ca7f2
L
3692001-11-14 H.J. Lu <hjl@gnu.org>
370
371 * emultempl/armelf.em (arm_elf_finish): Renamed from
372 gld${EMULATION_NAME}_finish.
373 (LDEMUL_FINISH): Set to arm_elf_finish.
374
73d074b4
DJ
3752001-11-14 Daniel Jacobowitz <drow@mvista.com>
376
377 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
378 (struct ld_emulation_xfer_struct): Use it.
379
fc65c602
JL
380Tue Nov 13 11:27:14 2001 Ross Alexander <ross.alexander@uk.neceur.com>
381
465bc359 382 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
383 additional symbols referenced by newer crt0.o files from HP.
384
f11b7027
NC
3852001-11-12 Anthony Green <green@redhat.com>
386
387 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
388
3bf2994f
AM
3892001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
390
391 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
392 * Makefile.in: Regenerate.
393
ff5dcc92
SC
3942001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
395
396 * ld.texinfo: Use @command for commands, @option for options.
397 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
398 the page man title.
399 * Makefile.in: Rebuild.
400
9fb9af6e
CD
4012001-11-04 Chris Demetriou <cgd@broadcom.com>
402
403 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
404 Add support for targets.
2181f54f 405
3c62831e
NC
4062001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
407
408 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
409 * configure: Regernate.
410 * po/fr.po: New file.
411 * po/sv.po: New file.
412
3a9091c4
NC
4132001-11-01 NIIBE Yutaka <gniibe@m17n.org>
414
415 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
416 as little endian default and to support big endian.
2181f54f 417
361b220e
CD
4182001-11-01 Chris Demetriou <cgd@broadcom.com>
419
420 * ld.texinfo (Options): Document new option, -nostdlib.
421 * lexsup.c (OPTION_NOSTDLIB): New definition.
422 (ld_options): Add entry for "nostdlib".
423 (parse_args): Handle OPTIONS_NOSTDLIB.
424 * ldfile.c (ldfile_add_library_path): Don't add directories
425 to the search path if they weren't specified on the command line
426 and -nostdlib was specified.
427 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
428
210a7bd1
NC
4292001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
430
431 * lexsup.c (parse_args): Prevent infinite parsing loop when
432 "-rpath.a" is specified on the command line.
433 Replace calls to fprintf with calls to einfo.
434
114283d8
NC
4352001-10-31 John Marshall <jmarshall@acm.org>
436
437 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
438 appear only once across all the linker scripts involved in a link
439 invocation no longer applies. Make the documentation reflect
440 that.
441
7649aa50
NC
4422001-10-31 NIIBE Yutaka <gniibe@m17n.org>
443
444 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
445 targets.
446 (sh-*-linux*): Added targ_extra_libpath.
447
6e814ff8
AM
4482001-10-31 David Heine <dlheine@tensilica.com>
449
450 * ldlang.c (lang_size_sections): Keep a valid output_offset field
451 for padding statements.
452
3c3bdf30
NC
4532001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
454
455 * configure.tgt (mmix-*-*): New target.
456 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
457 Add dependencies to match.
458 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
459 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
460 scripttempl/mmo.sc: New files.
461 * gen-doc.texi: @set MMIX.
462 * ld.texinfo: Ditto.
6e814ff8 463 [MMIX] Add MMIX node.
3c3bdf30
NC
464 * Makefile.in: Regenerate.
465
ca0c1d3e
KH
4662001-10-29 Kazu Hirata <kazu@hxi.com>
467
468 * ldlang.c: Fix a comment typo.
469
1a3d33ce
AM
4702001-10-23 Alan Modra <amodra@bigpond.net.au>
471
472 * configure.host: Move alpha*-*-linux-gnu* entry to generic
473 entries, and match *-*-linux*.
474
b47c4208
AM
4752001-10-20 Alan Modra <amodra@bigpond.net.au>
476
477 * ldgram.y (mri_script_command): Surround processing of INCLUDE
478 with ldlex_script, ldlex_popstate.
479 (ifile_p1): Likewise.
480 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
481 correct slot.
482 (lex_push_file): Save current lineno to lineno_stack. Set lineno
483 to 1. Don't BEGIN(SCRIPT).
484 (lex_redirect): Similarly.
485 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
486
fd521b47
NC
4872001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
488
489 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
490 __EH_FRAME_END__ and accept eh frames into data section.
491 Add ctor and dtor sections.
492
59d28a94
DD
4932001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
494
495 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
496 (auto-export): Fix indentation.
497
663dd378
DD
4982001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
499
500 * pe-dll.c (autofilter_objectlist): Add startup objects
501 for profiling.
502 (auto-export): Constify char * p.
6e814ff8 503 Extract file basename and use strcmp rather than ststr
663dd378
DD
504 for object lookup.
505
31d677f9
CD
5062001-10-18 Chris Demetriou <cgd@broadcom.com>
507
508 * ldmain.c (get_emulation): Improve comment about the handling
509 of -mipsN options.
510
aa200fe8
AM
5112001-10-17 Alan Modra <amodra@bigpond.net.au>
512
513 * po/POTFILES.in: Regenerate.
514
146e7110
AM
5152001-10-16 Vassili Karpov <malc@pulsesoft.com>
516
517 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
518 -z nocopyreloc and -z nocombreloc usage strings.
519
b4330e85
NC
5202001-10-12 Vassili Karpov <malc@pulsesoft.com>
521
146e7110 522 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
523 in usage.
524
5af8a2fb
NC
5252001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
526
527 * scripttempl/armaout.sc: Place .bss section after end of aligned
528 data section to match behaviour of aout code in constructrion of
529 header.
530
5b784096
DD
5312001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
532
533 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
534 startup files for mingw32 dlls to list.
535
61585df2
CD
5362001-10-10 Chris Demetriou <cgd@broadcom.com>
537
538 * emultempl/elf32.em: Fix shell 'if' usage for portability.
539
45cf6f3e
AH
5402001-10-08 Aldy Hernandez <aldyh@redhat.com>
541
542 * configure.tgt (targ): Add arm9e-*-elf.
543
e24d7c12
L
5442001-10-05 H.J. Lu <hjl@gnu.org>
545
546 * genscripts.sh: Fix a typo in the last change.
547
ec38dd05
JJ
5482001-10-05 Jakub Jelinek <jakub@redhat.com>
549
550 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
551 -z nocombreloc in usage.
552
cedd6b0d
JB
5532001-10-03 Jim Blandy <jimb@redhat.com>
554
555 * genscripts.sh: Include a comment at the top of each generated
556 script, explaining its purpose.
557
8bd621d8
AM
5582001-10-03 Vassili Karpov <malc@pulsesoft.com>
559
560 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
561 * NEWS: Mention -z nocopyreloc.
562 * ld.texinfo (Options): Describe nocopyreloc.
563
fcd8210c
AM
5642001-10-03 Alan Modra <amodra@bigpond.net.au>
565
566 * configure: Regenerate.
567
d32820f2
AM
5682001-10-02 Alan Modra <amodra@bigpond.net.au>
569
570 * ldver.h (ld_program_version): Remove declaration.
571 * lexsup.c (parse_args): Move printing of copyright message..
572 * ldver.c (ldversion): .. to here.
573 Use BFD_VERSION_STRING in place of BFD_VERSION.
574 (ld_program_version): Remove.
575 * Makefile.am (Makefile): Depend on bfd/configure.in.
576 Run "make dep-am".
577 * Makefile.in: Regenerate.
578
af46bcdc
HPN
5792001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
580
581 * Makefile.am: Update dependencies with "make dep-am".
582 * Makefile.in: Regenerate.
583
4818e05f 5842001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 585
4818e05f
AM
586 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
587 * lexsup.c: Add --no-define-common commandline option.
588 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
589 * ldlex.l: Likewise.
590 * ld.h: Add command_line.inhibit_common_definition.
591 * ldmain.c (main): Initialize.
592 * ld.texinfo: Document.
862517b6 593
d5e0ebeb
AM
5942001-09-26 Alan Modra <amodra@bigpond.net.au>
595
596 * ldmisc.c (USE_STDARG): Remove.
597 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
598 (einfo): Likewise.
599 (minfo): Likewise.
600 (lfinfo): Likewise.
601
602 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
603 declarations. Update copyright.
604
2f8d8971
NC
6052001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
606
85c77458
NC
607 * pe-dll.c: Remove obsoleted declaration of
608 pe_get_data_import_dll_name.
609 (pe_create_import_fixup): Fix thinko.
610
2f8d8971
NC
611 * ld.texinfo(enable-auto-import): Clarify the explanation.
612
6132001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
614
615 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
616 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
617 DLL_SUPPORT controlled code.
618
72358f65 6192001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 620
72358f65
NC
621 * emultempl/pe.em(pe_data_import_dll): Make static.
622 (pe_get_data_import_dll_name): New accessor function.
146e7110 623 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
624 pe_get_data_import_dll_name() from pe.em, instead of
625 directly accessing pe_data_import_dll variable from pe.em.
626
3882b010
L
6272001-09-18 Bruno Haible <haible@clisp.cons.org>
628
629 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
630 (def_file_add_directive): Use ISSPACE instead of isspace.
631 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
632 isdigit/isxdigit/isalpha/isalnum.
633 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
634 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
635 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
636 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
637 isalnum.
638 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
639 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
640 isupper/tolower.
641 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
642 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
643 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
644 (ctor_prio): Use ISDIGIT instead of isdigit.
645 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
646 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
647 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
648 isupper/tolower.
649 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
650 (stricpy): Use TOLOWER instead of isupper/tolower.
651 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
652 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
653 (lex_warn_invalid): Use ISPRINT instead of isprint.
654 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
655 (main): For gettext, also set the LC_CTYPE locate facet.
656 (add_keepsyms_file): Use ISSPACE instead of isspace.
657 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
658 (is_num, parse_args): Use ISDIGIT instead of isdigit.
659 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
660 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
661 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
662 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
663 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
664 (quoteput): Use ISSPACE instead of isspace.
665 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
666 instead of isalnum.
667
db09f25b
AM
6682001-09-18 Alan Modra <amodra@bigpond.net.au>
669
670 * deffilep.y (def_stash_module): Constify "name" param.
671
672 * pe-dll.c: Replace CONST with const throughout.
673 (quick_symbol): Constify "n1", "n2", "n3" params.
674 (make_singleton_name_thunk): Constify "import" param. Make
675 "buffer_len" a size_t.
676 (make_import_fixup_entry): Constify "name", "fixup_name",
677 "dll_symname" params.
678 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
679 (pe_get32): Likewise.
680 (pe_implied_import_dll): Likewise.
681
682 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
683 (sort_by_section_name): Likewise.
684
685 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
686 (make_import_fixup): Cast printf arg, rel->address to long rather
687 than int.
688 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
689
74699268
AM
6902001-09-15 Alan Modra <amodra@bigpond.net.au>
691
692 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
693 defines BufferSize. Increase buffer size by one.
694
775cabad
NC
6952001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
696
697 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
698
056a1d49
NC
6992001-09-14 Kevin Lo <kevlo@openbsd.org>
700
701 * configure.tgt: Add arm-openbsd target.
702
a7d792bb
L
7032001-09-12 H.J. Lu <hjl@gnu.org>
704
705 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
706 eelf64lppc.o to ...
707 (ALL_64_EMULATIONS): Here.
708 * Makefile.in: Regenerated.
709
0d888aac
CW
7102001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
711
712 * emultempl/pe.em(make_import_fixup): change signature to
713 take asection as well as arelec; we need this for proper
146e7110 714 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
715 there is no attempt to add a constant addend to the reloc;
716 otherwise, report error condition.
717 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
718 since final argument is a pointer to make_import_fixup().
719 Change call to cb() to match make_import_fixup() signature.
720 (make_import_fixup_mark): make buffer_len unsigned.
721 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
722
7232001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
724
725 * ld.texinfo: add verbose documentation for auto-import
146e7110 726 direct-addressing workaround, to compliment the terse
0d888aac
CW
727 error message.
728
cedacdc0
CM
7292001-09-12 Andrew MacLeod <amacleod@redhat.com>
730
146e7110 731 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 732
38be0bb1
JL
733Fri Sep 7 11:34:24 2001 Jeffrey A Law (law@cygnus.com)
734
735 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
736 * emulparams/h8300self.sh: Similarly.
737
559e4713
NC
7382001-09-05 Danny Smith <dannysmith@users.souceforge.net>
739
740 * ld.texinfo (Options, --stack): Correct default value for stack
741 reserve.
742
1fdf0249
TR
7432001-09-05 Tom Rix <trix@redhat.com>
744
745 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 746
9b5799b8
AJ
7472001-09-03 Andreas Jaeger <aj@suse.de>
748
749 * emultempl/beos.em: Declare prototypes for comparions functions,
750 adjust definitions.
751
48f6162b
AJ
7522001-09-02 Andreas Jaeger <aj@suse.de>
753
754 * emultempl/aix.em: Add missing prototype.
755 * emultempl/lnk960.em: Likewise.
756 * emultempl/vanilla.em: Likewise.
757 * emultempl/armcoff.em: Likewise.
758 * emultempl/armelf_oabi.em: Likewise.
759 * emultempl/beos.em: Likewise.
760 * emultempl/gld960c.em: Likewise.
761 * emultempl/gld960.em: Likewise.
762
763 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
764 for prototype declaration.
765
39e5585e
EC
7662001-08-31 Eric Christopher <echristo@redhat.com>
767 Jason Eckhardt <jle@redhat.com>
768
769 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
770
3fc90ddb
AJ
7712001-08-31 Andreas Jaeger <aj@suse.de>
772
773 * emultempl/pe.em: Add missing prototypes.
774 (gld_${EMULATION_NAME}_after_open): Remove extra args to
775 pe_find_data_imports.
776 (pr_sym): Add unused attribute.
777
d43ded80
PB
7782001-08-29 Joel Sherrill <joel@OARcorp.com>
779
39e5585e 780 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
781 default from coff to elf.
782
3946dd2f
JL
7832001-08-29 Jeff Law <law@redhat.com>
784
785 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
786 ARCH specification.
787 * emulparams/h8300self.sh: Similarly.
788
789Wed Aug 28 13:37:20 2001 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
790
791 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
792 eh8300self.o .
793 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
794 * configure.tgt (h8300-*-elf*): New case.
795 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
796 * emulparams/h8300self.sh: New file.
797 * Makefile.in: Regenerated.
798
70d0c6e9
NC
7992001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
800
801 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
802 with macro name.
803
5c67d4bb
AM
8042001-08-27 Linus Nordberg <linus@swox.com>
805 Alan Modra <amodra@bigpond.net.au>
806
807 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
808 (eelf64ppc.c, eelf64lppc.c): Add make targets.
809 Run "make dep-am"
810 * Makefile.in: Regenerate.
811 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
812 entries to correct alphabetical position.
813 * emulparams/elf64ppc.sh: New.
814 * emulparams/elf64lppc.sh: New.
815
08131015
NC
8162001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
817
818 * ldmain.c (main): Declare BSIZE as static.
819
db6751f2
JJ
8202001-08-23 Jakub Jelinek <jakub@redhat.com>
821
822 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
823 into .rel.dyn resp. .rela.dyn if combreloc.
824 (get_script): If .x linker script is equal to .xn, only put it
825 once into the binary.
826 Add .xc and .xsc scripts.
827 (parse_args): Handle -z combreloc and -z nocombreloc.
828 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
829 For .xc and .xsc scripts put all .rel* or .rela* input sections
830 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
831 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
832 is elf.
833 Strip trailing whitespace from script.
834 Generate .xc and .xsc scripts if requested.
835 * ldmain.c (main): Initialize link_info.combreloc and
836 link_info.spare_dynamic_tags.
837 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
838 (ld_options): Add --spare-dynamic-tags option.
839 (parse_args): Likewise.
840 * ld.texinfo: Document -z combreloc and -z nocombreloc.
841 * ldint.texinfo: Document .xc and .xsc linker scripts.
842 * NEWS: Add notes about -z combreloc and SHF_MERGE.
843
63d069c0
L
8442001-08-22 H.J. Lu <hjl@gnu.org>
845
846 * emulparams/elf32fr30.sh: Add a newline.
847
948f9114
AJ
8482001-08-21 Andreas Jaeger <aj@suse.de>
849
850 * deffilep.y: Add missing prototypes.
851 * pe-dll.c: Likewise.
852
ae7fb08f
AM
8532001-08-20 Alan Modra <amodra@bigpond.net.au>
854
2af02257
AM
855 * ldlang.c (insert_pad): Fix typos in last patch.
856
857 * ldlang.c: When traversing lang_statement_union_type lists,
858 consistently use "header.next" rather than "next".
859 * mpw-eppcmac.c: Likewise.
860 * emultempl/beos.em: Likewise.
861 * emultempl/hppaelf.em: Likewise.
862 * emultempl/pe.em: Likewise.
863 * ldlang.h (union lang_statement_union): Remove "next" field.
864
c0c330a7
AM
865 * ldlang.c (insert_pad): Use offsetof macro.
866 (lang_size_sections): Always neuter padding statements.
867 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
868
ae7fb08f
AM
869 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
870 passed to lang_size_sections.
871 (pe_exe_fill_sections): Likewise.
872 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
873 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
874
fab80407
AM
8752001-08-18 Alan Modra <amodra@bigpond.net.au>
876
877 * emultempl/aix.em: Formatting fixes.
878
b3327aad
AM
8792001-08-18 Alan Modra <amodra@bigpond.net.au>
880
881 * ldlang.c (insert_pad): Make use of an existing pad statement if
882 available. Move code calculating alignment, adjusting section
883 alignment power, and adjusting dot to ..
884 (size_input_section): .. here. Remove unused relax param.
885 (lang_size_sections): Change boolean `relax' param to boolean *.
886 Adjust call to size_input_section. Make use of insert_pad to
887 place pad after the assignment statement. If relaxing, zap
888 padding statements.
889 (reset_memory_regions): Reset output_bfd section sizes too.
890 (relax_again): Move to..
891 (lang_process): ..here. Adjust call to lang_size_sections, and
892 remove duplicated code.
893 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
894
563e308f
AM
8952001-08-17 Alan Modra <amodra@bigpond.net.au>
896
897 * ld.texinfo: Document that fill values now use the four least
898 significant bytes.
899 * emulparams/elf32fr30.sh (NOP): Update.
900 * emulparams/elf32mcore.sh: Likewise.
901 * emulparams/elf64_s390.sh: Likewise.
902 * emulparams/elf_i386.sh: Likewise.
903 * emulparams/elf_i386_be.sh: Likewise.
904 * emulparams/elf_i386_chaos.sh: Likewise.
905 * emulparams/elf_i386_ldso.sh: Likewise.
906 * emulparams/elf_s390.sh: Likewise.
907 * emulparams/elf_x86_64.sh: Likewise.
908 * emulparams/i386moss.sh: Likewise.
909 * emulparams/i386nw.sh: Likewise.
910 * emulparams/m68kelf.sh: Likewise.
911 * scripttempl/elf.sc: Update NOP comment.
912 * scripttempl/elfi370.sc: Likewise.
913 * scripttempl/elfm68hc11.sc: Likewise.
914 * scripttempl/elfm68hc12.sc: Likewise.
915 * scripttempl/nw.sc: Likewise.
916
b90e1c6f
TR
9172001-08-15 Tom Rix <trix@redhat.com>
918
919 * ldgram.y (saved_script_handle): Initialize to NULL.
920 * ldmain.c (main): Change check on saved_script_handle.
948f9114 921
39dcfe18
AM
9222001-08-14 Alan Modra <amodra@bigpond.net.au>
923
cde43e70
AM
924 * emultempl/elf32.em: Formatting fixes.
925 (output_prev_sec_find): Test for bfd_ind_section too; do so by
926 looking at sec->owner.
927 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
928 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
929 unused code, and reorganize orphan section placement code.
930
39dcfe18
AM
931 * ldlang.c (wild_doit): Rename to lang_add_section.
932 * ldlang.h: Here too.
933 * mpw-elfmips.c: And here.
934 * emultempl/beos.em: And here.
935 * emultempl/elf32.em: And here.
936 * emultempl/hppaelf.em: And here.
937 * emultempl/pe.em: And here.
938
908d20b3
RH
9392001-08-13 Richard Henderson <rth@redhat.com>
940
941 * emultempl/needrelax.em: New file.
942 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
943 * Makefile.am (eelf64_ia64.c): Depend on it.
944 * Makefile.in: Rebuild.
945
0f33d40b
AM
9462001-08-13 Alan Modra <amodra@bigpond.net.au>
947
22af9fd3
AM
948 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
949 output_section is set non-NULL.
950
0f33d40b
AM
951 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
952 `true' for SEC_EXCLUDE sections so that the generic code doesn't
953 needlessly create an output_section_statement. Treat a correctly
954 named output_section_statement with NULL bfd_section as compatible.
955
55ab6103
HPN
9562001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
957
958 * emultempl/generic.em: Support EXTRA_EM_FILE.
959 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
960 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
961 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
962 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
963 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
964 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
965 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
966 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
967 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
968 LDEMUL_FIND_POTENTIAL_LIBRARIES.
969
24098abb
RH
9702001-08-12 Richard Henderson <rth@redhat.com>
971
972 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
973 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
974 scripttempl/v850.sc: Keep .jcr data.
975
b9a8de1e 9762001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
977 Andrew Haley <aph@cambridge.redhat.com>
978 Nick Clifton <nickc@redhat.com>
b9a8de1e 979
146e7110 980 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
981 Change type to file handle.
982 * ld.h (had_script): Rename and retype.
983 * ldfile.c (ldfile_open_command_file): Save the file handle
984 used in saved_script_handle.
985 * lexsup.c (parse_args): Do not allow -c option to alter
986 saved_script_handle.
987 * ldmain.c (main): Print out the linker script used if
988 --verbose is given. Check saved_script_handle to obtain the
989 external linker script used, or if NULL, dump the builtin
990 script.
991 * ld.texinfo: Document that --verbose now dumps the linker
992 script used, regardless of whether it was an internal or an
993 external script.
994
0218d1e4
AJ
9952001-08-10 Andreas Jaeger <aj@suse.de>
996
997 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
998 to build warnings.
999 * configure: Regenerate.
1000
5253f23b
AM
10012001-08-09 Alan Modra <amodra@bigpond.net.au>
1002
73810896
AM
1003 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
1004
5253f23b
AM
1005 * scripttempl/elf.sc: Move non-text .dynamic section before
1006 .plt/.got/.sdata* group.
1007 (OTHER_GOT_SECTIONS): Move to immediately after .got.
1008 (OTHER_SDATA_SECTIONS): Add.
1009 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
1010 OTHER_GOT_SECTIONS.
1011 * emulparams/crislinux.sh: Likewise.
1012 * emulparams/elf32b4300.sh: Likewise.
1013 * emulparams/elf32bmip.sh: Likewise.
1014 * emulparams/elf32bmipn32.sh: Likewise.
1015 * emulparams/elf32bsmip.sh: Likewise.
1016 * emulparams/elf32btsmip.sh: Likewise.
1017 * emulparams/elf32ebmip.sh: Likewise.
1018 * emulparams/elf32elmip.sh: Likewise.
1019 * emulparams/elf32l4300.sh: Likewise.
1020 * emulparams/elf32lmip.sh: Likewise.
1021 * emulparams/elf32lsmip.sh: Likewise.
1022 * emulparams/elf32ltsmip.sh: Likewise.
1023 * emulparams/elf64bmip.sh: Likewise.
1024 * emulparams/elf64btsmip.sh: Likewise.
1025 * emulparams/elf64ltsmip.sh: Likewise.
1026
179c732c
AM
10272001-08-08 Alan Modra <amodra@bigpond.net.au>
1028
1029 * genscripts.sh: Source the emulparams script before each output
1030 script is generated so that variables like `RELOCATING' may affect
1031 variables defined in the emulparams script.
1032
3fd36710
AM
10332001-08-04 Alan Modra <amodra@bigpond.net.au>
1034
20713691
AM
1035 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
1036 order.
1037
3fd36710
AM
1038 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
1039 ie. iterate over wild_statement.section_list.
1040 (gld${EMULATION_NAME}_place_orphan): Likewise.
1041
de0b1853
SC
10422001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1043
1044 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
1045 .fini[0-4] sections used by _exit
1046 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
1047 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
1048 * scripttempl/elfm68hc11.sc: Likewise.
1049
ff7e6f88
L
10502001-08-03 H.J. Lu <hjl@gnu.org>
1051
1052 * emultempl/beos.em (init): Add the missing initialization.
1053
b6bf44ba
AM
10542001-08-03 Alan Modra <amodra@bigpond.net.au>
1055
1056 * ld.texinfo (Input Section Basics): Clarify ordering of output
1057 sections.
1058 * ldlang.c (callback_t): Add wildcard_list param.
1059 (walk_wild_section): Remove "section" param. Rewrite for
1060 lang_wild_statement_type change. Remove unique_section_p test.
1061 (walk_wild_file): Remove "section" param.
1062 (walk_wild): Remove "section" and "file" params.
1063 (lang_gc_wild): Likewise.
1064 (wild): Likewise. Modify for lang_wild_statement_type change.
1065 (wild_sort): Likewise. Add "sec" param.
1066 (gc_section_callback): Likewise.
1067 (output_section_callback): Likewise. Do unique_section_p test.
1068 (map_input_to_output_sections): Modify call to wild.
1069 (lang_gc_sections_1): Likewise.
1070 (print_wild_statement): Modify for lang_wild_statement_type
1071 change.
1072 (lang_add_wild): Replace filename, filenames_sorted param with
1073 filespec. Replace section_name, sections_sorted,
1074 exclude_filename_list with section_list.
1075 * ldlang.h (lang_add_wild): Here too.
1076 (lang_wild_statement_type): Replace section_name, sections_sorted,
1077 and exclude_filename_list with section_list.
1078 * ldgram.y (current_file): Delete.
1079 (%union): Add wildcard_list.
1080 (file_NAME_list): Set type to wildcard_list. Build a linked list
1081 rather than calling lang_add_wild for each entry.
1082 (input_section_spec_no_keep): Call lang_add_wild here instead.
1083 * ld.h (struct wildcard_list): Declare.
1084 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
1085
b044cda1
CW
10862001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1087
1088 * ldmain.c (main): initialize link_info.pei386_auto_import
1089 * pe-dll.c: new tables for auto-export filtering
1090 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 1091 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
1092 "by hand".
1093
10942001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
1095
b6bf44ba
AM
1096 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
1097 static variable current_sec (static struct sec *). Add
b044cda1 1098 forward declaration for add_bfd_to_link.
b6bf44ba
AM
1099 (process_def_file): Don't export undefined symbols. Do not
1100 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
1101 with new API.
1102 (pe_walk_relocs_of_symbol): New function.
1103 (generate_reloc): add optional extra debugging
b6bf44ba 1104 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 1105 line in output
b6bf44ba 1106 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
1107 (DATA auto-import support).
1108 (make_singleton_name_thunk): New function.
1109 (make_import_fixup_mark): New function.
1110 (make_import_fixup_entry): New function.
1111 (pe_create_import_fixup): New function.
b6bf44ba 1112 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 1113 char *.
b6bf44ba
AM
1114 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
1115 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
1116 pe_create_import_fixup.
1117 * emultempl/pe.em: add new options --enable-auto-import,
1118 --disable-auto-import, and --enable-extra-pe-debug.
1119 (make_import_fixup): New function.
1120 (pe_find_data_imports): New function.
1121 (pr_sym): New function.
b6bf44ba 1122 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
1123 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
1124 CODE.
1125
11262001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 1127
b044cda1
CW
1128 * ld.texinfo: add additional documentation for
1129 --export-all-symbols. Document --out-implib,
1130 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
1131 --dll-search-prefix, --enable-auto-import, and
1132 --disable-auto-import.
b044cda1
CW
1133 * ldint.texinfo: Add detailed documentation on auto-import
1134 implementation.
1135
156e34dd
NC
11362001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1137
1138 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
1139 example.
1140
d6231427
AM
11412001-07-24 Alan Modra <amodra@bigpond.net.au>
1142
1143 * Makefile.am: Update dependencies with "make dep-am".
1144 * Makefile.in: Regenerate
1145
e14ec88b
AM
11462001-07-23 Alan Modra <amodra@bigpond.net.au>
1147
1148 * ldcref.c (check_section_sym_xref): New function.
1149 (check_nocrossrefs): Call it.
1150 (check_nocrossref): Interate over h->refs here instead of..
1151 (check_refs): ..here. Pass in the symbol name, section, and bfd
1152 rather than hash_entry pointers.
1153 (struct check_refs_info): Keep symbol name rather than hash entry.
1154 Remove "same".
1155 (check_reloc_refs): Tweak for above changes in check_refs_info.
1156 Only report references to section syms when symname is NULL to
1157 prevent duplicate messages for the same reloc.
1158
1b577b00
NC
11592001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1160
c7d701b0
NC
1161 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
1162 available. Do not print NULL trees.
1163 (exp_print_token): Print unknown tokens with values > 126 as
1164 decimal values not ASCII characters.
1165
1545243b
NC
1166 * ldlang.c (lang_leave_overlay): If a region is specified assign
1167 it to all sections inside the overlay unless they have been
1168 assigned to the own, non-default, memory region.
1169
1b577b00
NC
1170 * README: Add header for consistency with other README files.
1171
5030876b
L
11722001-07-14 H.J. Lu <hjl@gnu.org>
1173
1174 * emultempl/elf32.em (output_prev_sec_find): Never return
1175 bfd_abs_section_ptr, bfd_com_section_ptr nor
1176 bfd_und_section_ptr.
1177
18c7a9a5
NC
11782001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
1179
22af9fd3 1180 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
1181 elf32.em.
1182 * Makefile.in: Regenerate.
1183
9ffecff1
MG
11842001-07-14 matthew green <mrg@eterna.com.au>
1185
1186 * configure.tgt (i386-*-netbsdelf*): New target.
1187 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
1188
95500e1c
JJ
11892001-07-13 Jakub Jelinek <jakub@redhat.com>
1190
1191 * emultempl/elf32.em (output_prev_sec_find): New.
1192 (place_orphan): Use it.
1193
e97cb84f
L
11942001-07-11 H.J. Lu <hjl@gnu.org>
1195
1196 * ldmain.c (main): Fix typos in the last change.
1197
7333607e
JJ
11982001-07-11 Jakub Jelinek <jakub@redhat.com>
1199
1200 * ldmain.c (main): Disallow -F and -f without -shared.
1201
d29d80f2
NC
12022001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1203
1204 * emultempl/pe.em (after_open): Check for the output_bfd not
1205 having any coff_data structure allocated to it.
1206
c2a1a436
DB
12072001-07-09 David O'Brien <obrien@FreeBSD.org>
1208
1209 * emultempl/elf32.em: Do not assuming that contents of the buffer
1210 returned from basename function will remain unchanged accross other
1211 function calls.
1212
63653551
L
12132001-07-03 H.J. Lu <hjl@gnu.org>
1214
1215 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
1216 2001-07-03. It creates dynamic entries even for static binaries.
1217
d303a449
L
12182001-07-03 Jakub Jelinek <jakub@redhat.com>
1219
1220 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
1221 (DYNAMIC): Use it to reserve few dynamic entries for
1222 post-linking tools.
1223
9f22353f
AM
12242001-06-27 Alan Modra <amodra@bigpond.net.au>
1225
1226 * emulparams/hppa64linux.sh: New file.
1227 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
1228 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
1229 (ehppa64linux.c): Add rule to make it.
1230 Run "make dep-am".
1231 * Makefile.in: Regenerate.
1232
62bf86b4
HPN
12332001-06-21 Hans-Peter Nilsson <hp@axis.com>
1234
1235 * ld.texinfo (Options, -r): Mention restrictions when using
1236 different object formats.
1237
429d935d
HPN
12382001-06-19 Hans-Peter Nilsson <hp@axis.com>
1239
1240 * ldlang.c (lang_check): Emit fatal error if relocatable link
1241 between different object flavours with relocations in input.
1242
cb840a31
L
12432001-06-19 H.J. Lu <hjl@gnu.org>
1244
1245 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
1246 (--version-script): Mention the language support.
1247
9bf03acc
L
12482001-06-19 H.J. Lu <hjl@gnu.org>
1249
1250 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
1251
c45021f2
NC
12522001-06-18 H.J. Lu <hjl@gnu.org>
1253
b6bf44ba
AM
1254 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
1255 (diststuff): Add $(MANS).
1256 * Makefile.in: Regenerated.
c45021f2 1257
b6bf44ba 1258 * ld.1: Removed.
c45021f2 1259
6caa99ab
HPN
12602001-06-18 Hans-Peter Nilsson <hp@axis.com>
1261
605d9b3a
HPN
1262 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1263 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
1264 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
1265 * ld.h (args_type): Remove member export_dynamic. All users
1266 changed to use struct bfd_link_info member.
1267
6caa99ab
HPN
1268 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
1269 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
1270 * Makefile.in: Regenerate.
1271
6f9efd97
L
12722001-06-18 H.J. Lu <hjl@gnu.org>
1273
1274 * ldlang.c (init_os): Add the newline to the einfo call.
1275 (lang_check): Likewise.
1276 (lang_do_version_exports_section): Likewise.
1277
5af9fd8b
L
12782001-06-15 H.J. Lu <hjl@gnu.org>
1279
1280 * lexsup.c (parse_args); Save optind to report unrecognized
1281 option.
1282
2a096f04
HPN
12832001-06-15 Hans-Peter Nilsson <hp@axis.com>
1284
7e66c3f5
HPN
1285 * ldlang.c (lang_check): Emit fatal error if relocatable link
1286 between different object flavours.
1287
2a096f04
HPN
1288 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
1289 Set new link_info member export_dynamic.
1290 * ldmain.c (main): Initialize new link_info member export_dynamic.
1291
6770ec8c
NC
12922001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
1293
1294 * ldlang.c (walk_wild): Only call walk_wild_file if
1295 lookup_name returns something.
b6bf44ba 1296 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 1297 (load_symbols): Change to a boolean function.
b6bf44ba 1298 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
1299 executable.
1300
8529105a
AM
13012001-06-08 Alan Modra <amodra@bigpond.net.au>
1302
1303 * ldlang.c (record_bfd_errors): Remove.
1304
1305 * emultempl/aix.em: Fix copyright dates.
1306
8f3aa7a0
AJ
13072001-06-07 Andreas Jaeger <aj@suse.de>
1308
1309 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
1310 (TEXT_START_ADDR): Likewise.
1311
3277f888
AM
13122001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1313
1314 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
1315
3763134d
DD
13162001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1317
1318 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
1319
5929ebc0
L
13202001-05-31 H.J. Lu <hjl@gnu.org>
1321
1322 * ldlang.c (open_input_bfds): Don't change the bfd error
1323 handler whilst loading symbols.
1324
c04a062d
NC
13252001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1326
1327 * configure.tgt: Remove i370-mvs architecture, it is not currently
1328 supported.
1329
96fcab3e
L
13302001-05-25 H.J. Lu <hjl@gnu.org>
1331
1332 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1333 like emulparams/aixppc.sh.
1334
db8d4f23
L
13352001-05-25 H.J. Lu <hjl@gnu.org>
1336
1337 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
1338 setting of output_filename after bfd_scan_arch.
1339 * emultempl/pe.em: Likewise.
1340
5f642101
L
13412001-05-25 H.J. Lu <hjl@gnu.org>
1342
1343 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1344 like emulparams/aixppc.sh.
1345
1346 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
1347 instead of ${srcdir}/emultempl/stringify.sed.
1348
64e9ece0
TW
13492001-05-25 Timothy Wall <twall@oculustech.com>
1350
1351 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 1352 output.
64e9ece0 1353
c709b096
AM
13542001-05-25 Alan Modra <amodra@one.net.au>
1355
1356 * configure.host: Replace linuxoldld with linux*oldld.
1357 * configure.tgt: Likewise.
1358
6cbdcc6f
L
13592001-05-24 H.J. Lu <hjl@gnu.org>
1360
1361 * emultempl/stringify.sed: Removed again.
1362
86af25fe
L
13632001-05-24 H.J. Lu <hjl@gnu.org>
1364
1365 * emultempl/aix.em (OUTPUT_ARCH): Defined.
1366 (gld${EMULATION_NAME}_before_parse): Initialize
1367 ldfile_output_architecture, ldfile_output_machine and
1368 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
1369 * emultempl/beos.em: Likewise.
1370 * emultempl/elf32.em: Likewise.
1371 * emultempl/linux.em: Likewise.
1372 * emultempl/mipsecoff.em: Likewise.
1373 * emultempl/pe.em: Likewise.
1374 * emultempl/sunos.em: Likewise.
1375
3b1b01cf
TR
13762001-05-24 Tom Rix <trix@redhat.com>
1377
8f3aa7a0 1378 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
1379 udate import file format.
1380 (change_symbol_mode) New, same
1381 (is_syscall) New, same
1382 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
1383 * emulparams/aixppc64.sh : same
1384 * emulparams/aixrs6.sh : same
1385 * emulparams/ppcmacos.sh : same
1386 * emultempl/aix.em : use strtoull to parse options
1387 * Makefile.am : add eaixppc64 emulation for xcoff64
1388 * Makefile.in : same
1389 * configure.tgt : same
1390
1391 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 1392 default data section offset to 0x20000000
3b1b01cf 1393 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 1394 loader and debug sections use the currect section offset.
3b1b01cf
TR
1395
1396 * emultempl/aix.em : Add xcoff64 support
1397 Add -binitfini support
8f3aa7a0 1398 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 1399 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 1400 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
1401 sections
1402
1403 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 1404
57e6abd2
AO
14052001-05-23 Alexandre Oliva <aoliva@redhat.com>
1406
1407 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
1408 variable to avoid non-portable shell construct.
1409
d1cf510e
NC
14102001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1411
1412 * ldmain.c (get_emulation): Add -mips5 command line argument.
1413
506eee22
NC
14142001-05-22 Alexandre Oliva <aoliva@redhat.com>
1415
1416 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1417 (ELF_INTERPRETER_NAME): Define it.
1418 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1419 it.
1420 * configure.tgt (targ_emul, targ_extra_emuls)
1421 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1422 as primary, elf_i386 as extra.
1423 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1424 (eelf_i386_ldso.c): New rule.
1425 * Makefile.in: Rebuilt.
1426
14272001-05-22 Nick Clifton <nickc@redhat.com>
1428
1429 * lexsup.c (ld_options): Allow -I to be an alias for
1430 --dynamic-linker. This is for Solaris compatability.
1431 * ld.texinfo: Document that -I can be used.
1432 * ld.1: Regenerate.
1433
d1778b88
AM
14342001-05-16 Alan Modra <amodra@one.net.au>
1435
1436 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1437 whether an input section is the first one assigned to an output
1438 section.
1439 Assorted formatting fixes.
1440
02649152
DD
14412001-05-14 DJ Delorie <dj@delorie.com>
1442
1443 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1444 * Makefile.in: Ditto.
1445
579f31ac
JJ
14462001-05-11 Jakub Jelinek <jakub@redhat.com>
1447
1448 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1449 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1450 output sections.
1451 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1452
8550eb6e
JJ
14532001-05-11 Jakub Jelinek <jakub@redhat.com>
1454
1455 * ldlang.c (lang_process): Call bfd_merge_sections.
1456
8e5a525c
AM
14572001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1458
1459 * ldgram.y: Fix typo.
1460
1c9acd94
L
14612001-05-03 H.J. Lu <hjl@gnu.org>
1462
1463 * emultempl/elf32.em: Include "libiberty.h".
1464 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1465 basename of the bfd filename.
1466 (gld${EMULATION_NAME}_stat_needed): Likewise.
1467 (gld${EMULATION_NAME}_try_needed): Likewise.
1468 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1469
14fe918e
L
14702001-05-02 H.J. Lu <hjl@gnu.org>
1471
1472 * emultempl/pe.em: Include <ctype.h>.
1473
c7e40348
NC
14742001-05-02 Johan Rydberg <jrydberg@opencores.org>
1475
b6bf44ba 1476 * emulparams/elf32openrisc.sh: New file.
c7e40348 1477
b6bf44ba
AM
1478 * Makefile.am: Add OpenRISC target.
1479 * Makefile.in: Regenerated.
c7e40348 1480
b6bf44ba 1481 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
1482
14832001-05-02 Nick Clifton <nickc@redhat.com>
1484
1485 * emultempl/aix.em: Replace buystring with xstrdup.
1486 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 1487
d1b2b2dc
L
14882001-05-02 H.J. Lu <hjl@gnu.org>
1489
1490 * ldfile.c: Include "libiberty.h".
1491 * ldlex.l: Likewise.
1492
1493 * ldmisc.c (buystring): Removed.
1494 * ldmisc.h: Likewise.
1495
1496 * ldfile.c: Replace buystring with xstrdup.
1497 * ldlang.c: Likewise.
1498 * ldlex.l: Likewise.
1499 * ldmain.c: Likewise.
1500 * ldmisc.c: Likewise.
1501 * lexsup.c: Likewise.
1502 * mpw-eppcmac.c: Likewise.
1503
35714f2a
AJ
15042001-04-30 Andreas Jaeger <aj@suse.de>
1505
1506 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1507
884fb58e
NC
15082001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1509
b6bf44ba
AM
1510 * ldlang.c (load_symbols): Give emulation a chance
1511 to process unrecognized file before fatal error is
1512 reported, not after.
884fb58e 1513
87748b32
NC
15142001-04-27 Sean McNeil <sean@mcneil.com>
1515
1516 * configure.tgt: Add arm-vxworks target.
1517 * scripttempl/armcoff.sc: Support .text or .data as a section name
1518 prefix.
1519 Define _etext.
35714f2a 1520
7ce691ae
C
15212001-04-13 J.T. Conklin <jtc@redback.com>
1522
1523 * ld.texinfo: Document --fatal-warnings.
1524 * ld.1: Regenerate.
1525
1526 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 1527 warnings have been turned into errors.
7ce691ae
C
1528 * lexsup.c (OPTION_WARN_FATAL): Define.
1529 (ld_options): Entry for --fatal-warnings.
1530 (parse_args): Handle OPTION_WARN_FATAL.
1531 * ld.h (ld_config_type): Add fatal_warnings field.
1532
f5fa8ca2
JJ
15332001-04-13 Jakub Jelinek <jakub@redhat.com>
1534
1535 * ldmain.c (main): Default to discard_sec_merge.
1536 * lexsup.c (OPTION_DISCARD_NONE): Define.
1537 (ld_options): Add --discard-none.
1538 (parse_args): Handle OPTION_DISCARD_NONE.
1539 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
1540 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
1541 all its input sections match.
1542
fdec3cfc
L
15432001-04-05 Steven J. Hill <sjhill@cotw.com>
1544
1545 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
1546 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
1547 (eelf32ltsmip.c): New target.
1548 (eelf64btsmip.c): Likewise.
1549 (eelf64ltsmip.c): Likewise.
1550 * Makefile.in: Regenerated.
1551
1552 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
1553 target.
1554 (mips*-*-linux-gnu*): Likewise.
1555
1556 * emulparams/elf32ltsmip.sh: New. Traditional little endian
1557 MIPS taget.
35714f2a 1558 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
1559 target.
1560 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
1561 endian target.
1562
589bad82
HPN
15632001-04-05 Hans-Peter Nilsson <hp@axis.com>
1564
1565 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
1566 correct value of __Stext here.
1567 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
1568 .startup section.
1569
1570 * emulparams/crislinux.sh: Remove FIXME.
1571
94202e16
AM
15722001-04-02 Alan Modra <alan@linuxcare.com.au>
1573
1574 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
1575 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
1576
1268a053
HPN
15772001-03-27 Hans-Peter Nilsson <hp@axis.com>
1578
1579 * configure.tgt (cris-*-*): Change default emulation to criself.
1580 (cris-*-*aout*): New rule.
1581
d85e9ff7
AM
15822001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
1583
1584 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
1585 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
1586
0879a67a
AJ
15872001-03-26 Andreas Jaeger <aj@suse.de>
1588
1589 * ld.texinfo (Overview): Fix syntax in texi code.
1590
0285c67d
NC
15912001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1592
1593 * ld.texinfo: Put @c man indications to generate the ld man page.
1594 When generating man, define all the variables. Define SEEALSO
1595 and SYNOPSIS. Re-organize some lines to avoid the cross references.
1596 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
1597 (ld.1): Generate from ld.texinfo.
1598 * Makefile.in: Regenerate.
1599
c20ec07b
NC
16002001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
1601
1602 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 1603 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 1604
cc5ce052
UD
16052001-03-17 Ulrich Drepper <drepper@redhat.com>
1606
1607 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
1608 is an absolute path look only for this file and not along the path.
1609
a1ab1d2a
UD
16102001-03-17 Ulrich Drepper <drepper@redhat.com>
1611
1612 * emultempl/elf32.em (OPTION_GROUP): New macro.
1613 Add new option Bgroup to longopts.
1614 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
1615 (gld*_list_options): Add -Bgroup and -z defs.
1616 * ld.1: Document -Bgroup and -z defs.
1617 * ld.texinfo: Likewise.
1618
788fca5a
MM
16192001-03-07 Michael Meissner <meissner@redhat.com>
1620
1621 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
1622 with sections created by -fdata-sections.
1623 (.dynbss,.bss): Ditto.
1624
1c7566d1
AM
16252001-03-05 Alan Modra <alan@linuxcare.com.au>
1626
1627 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
1628 after_allocation_default, not gld..._before_allocation.
1629
27b7e12d
AM
16302001-02-27 Alan Modra <alan@linuxcare.com.au>
1631
1632 * configure.in (BFD_VERSION): New.
1633 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1634 * configure: Regenerate.
1635 * Makefile.am: Run "make dep-am"
1636 * Makefile.in: Regenerate.
1637
2bc551c7
TW
16382001-02-26 Timothy Wall <twall@cygnus.com>
1639
1640 * emulparams/elf64_aix.sh: Add additional read-only sections;
1641 uncomment lines which are now required.
1642
1276aefa
NC
16432001-02-26 H.J. Lu <hjl@gnu.org>
1644
1645 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
1646 that problems can be caught whilst loading symbols.
1647 (record_bfd_errors): New function: Report BFD errors and mark
1648 the executable output as being invalid.
1276aefa 1649
41c49998
TW
16502001-02-22 Timothy Wall <twall@cygnus.com>
1651
1652 * configure.host: Add configuration for ia64-*-aix*.
1653 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
1654 Add dependencies for eelf64_aix.c.
1655 * Makefile.in: Regenerate.
1656 * configure.tgt: Add ia64-*-aix* mapping.
1657 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 1658 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
1659 AIX-specific test.
1660
78f85fd7
L
16612001-02-20 H.J. Lu <hjl@gnu.org>
1662
1663 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
1664 false if we found the file.
1665
1ac7e077 16662001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
1667
1668 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
1669 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
1670
e135f41b
NC
16712001-02-18 lars brinkhoff <lars@nocrew.org>
1672
1673 * Makefile.am: Add PDP-11 target.
1674 * configure.tgt: Likewise.
1675 * emulparams/pdp11.sh: New file.
1676
a842aceb
DB
16772001-02-17 David O'Brien <obrien@FreeBSD.org>
1678
1679 * configure.host: Add a generic FreeBSD configuration entry such that
1680 all [modern] FreeBSD systems on all platforms will look the same.
1681
24174db0
L
16822001-02-14 H.J. Lu <hjl@gnu.org>
1683
1684 * configure.tgt: Remove mention of earmelf_linux26.
1685
30c3c13a
RH
16862001-02-13 Richard Henderson <rth@redhat.com>
1687
1688 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
1689
b46a87b1
L
16902001-02-13 H.J. Lu <hjl@gnu.org>
1691
1692 * ldexp.h (node_type): Add etree_provided.
1693 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
1694 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 1695 for etree_provided.
b46a87b1
L
1696 (exp_print_tree): Handle etree_provided.
1697 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
1698 etree_provided.
1699
f3988fd9
RH
17002001-02-09 David Mosberger <davidm@hpl.hp.com>
1701
1702 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
1703 .IA_64.unwind.* pattern to unwind table section and
1704 .IA_64.unwind_info* pattern to unwind info section.
1705
a85d7ed0
NC
17062001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1707
1708 * Makefile.am: Add linux target for S/390.
1709 * Makefile.in: Likewise.
1710 * configure.host: Likewise.
1711 * configure.tgt: Likewise.
1712 * emulparams/elf64_s390.sh: New file.
1713 * emulparams/elf_s390.sh: New file.
1714
780248c4
JJ
17152001-02-09 Jakub Jelinek <jakub@redhat.com>
1716
1717 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
1718 targ_extra_libpath.
1719 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
1720
0e2534bd
PB
17212001-02-06 Philip Blundell <philb@gnu.org>
1722
1723 * Makefile.am: Remove mention of earmelf_linux26.
1724 * Makefile.in: Regenerate.
1725
46c1ea57
PB
17262001-02-04 Philip Blundell <philb@gnu.org>
1727
1728 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
1729 * emulparams/armelf_linux26.sh: Delete.
1730 * configure.tgt: Remove mention of armelf_linux26 emulation.
1731
0088edd2
NC
17322001-02-01 Nick Clifton <nickc@redhat.com>
1733
1734 * ld.1: Replace occurances of -oformat with --oformat.
1735
02aa14fb
AM
17362001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
1737
1738 * ldlang.c (lang_leave_overlay): Don't set lma_region when
1739 load_base is specified.
1740
f813923c
HPN
17412001-01-24 Hans-Peter Nilsson <hp@axis.com>
1742
1743 * emultempl/elf32.em: Correct spelling in comments and listed
1744 options.
1745
c1eb1488
AM
17462001-01-23 Alan Modra <alan@linuxcare.com.au>
1747
1748 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1749 default for the first section of a group of overlay sections.
1750
d9fc3714
AM
17512001-01-22 Alan Modra <alan@linuxcare.com.au>
1752
1753 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1754 * Makefile.in: Regenerate.
1755 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1756 Check for null tool_dir.
1757
6be0ca94
JW
17582001-01-16 Jim Wilson <wilson@redhat.com>
1759
1760 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1761 and IA_64.unwind.info.
1762
b9247304
L
17632001-01-16 H.J. Lu <hjl@gnu.org>
1764
1765 * ldlang.c (lang_check): Merge the private data only if the
1766 input file has contents.
1767
577a0623
AM
17682001-01-14 Alan Modra <alan@linuxcare.com.au>
1769
d952f17a
AM
1770 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1771
ffd6e9de
AM
1772 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1773 enabling search for libmilli. On a relocatable link, make .text
1774 sections unique.
1775 (LDEMUL_AFTER_PARSE): Define.
1776 (hppaelf_finish): Correct spelling of relocatable in comments.
1777
577a0623
AM
1778 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1779 rummage through the script for sections on the unique list.
1780 Correct length of strncmp for ".note".
1781 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1782
1783 * ldlang.c (unique_section_list): New var.
1784 (unique_section_p): New function.
1785 (walk_wild_section): Don't match sections on unique_section_list.
1786 (lang_add_unique): New function.
ffd6e9de 1787 Correct spelling of relocatable in comments.
577a0623
AM
1788
1789 * ldlang.h (struct unique_sections): Declare.
1790 (unique_section_list): Declare.
1791 (unique_section_p): Declare.
1792 (lang_add_unique): Declare.
1793
1794 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1795 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1796
1797 * ld.texinfo (--unique): Update.
1798
b7ed8fad
NC
17992001-01-13 Nick Clifton <nickc@redhat.com>
1800
1801 * lexsup.c (parse_args): Remove spurious white space.
1802
d0398d6a
NC
18032001-01-12 Nick Clifton <nickc@redhat.com>
1804
1805 * lexsup.c (parse_args): Update copyright date.
1806
350fdb00
PB
18072001-01-12 Philip Blundell <pb@futuretv.com>
1808
1809 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1810
60c6797e
KH
18112001-01-10 Kazu Hirata <kazu@hxi.com>
1812
1813 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1814 * scripttempl/h8300h.sc: Fix formatting.
1815 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
1816 * scripttempl/h8500.sc: Likewise.
1817 * scripttempl/h8500b.sc: Likewise.
1818 * scripttempl/h8500c.sc: Likewise.
1819 * scripttempl/h8500m.sc: Likewise.
1820 * scripttempl/h8500s.sc: Likewise.
60c6797e 1821
482e8b32
DB
18222000-01-07 David O'Brien <obrien@BSDi.com>
1823
1824 * emultempl/elf32.em: Only perform Linux ld hints processing when
1825 targeting Linux.
1826
d7ed7ca6
PB
18272001-01-07 Philip Blundell <philb@gnu.org>
1828
1829 * ld.texinfo (Bug Reporting): Update email address for reports.
1830
0fc3347a
NC
18312000-12-31 Nick Clifton <nickc@redhat.com>
1832
1833 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1834 options by checking for a return value of '?' not -1.
1835
e4897a32
NC
18362000-12-28 Nick Clifton <nickc@redhat.com>
1837
1838 * lexsup.c (struct ld_option): Add new enum value:
1839 EXACTLY_TWO_DASHES.
1840 (ld_options[]): Change -omagic, -output and -oformat options
1841 to be EXACTLY_TWO_DASHES.
1842 (OUTPUT_COUNT): Use ARRAY_SIZE.
1843 (parse_args): Change parameter 'argc' to unsigned.
1844 Place EXACTLY_TWO_DASHES options into new really_longopts
1845 array.
1846 If getopt_long_only fails, try calling getopt_long using the
1847 really_longopts array.
1848 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1849 TWO_DASHES options.
1850
1851 * ldlex.h: Fix prototype of parse_args.
1852
1853 * ld.texinfo: Document that long options starting with 'o'
1854 must be preceeded by two dashes. Change example of a single
1855 dashed long option from -oformat to -trace-symbol.
1856
1122a5fc
NC
18572000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1858
1859 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1860 (longopts[]): New --no-default-excludes option.
1861 (gld_${EMULATION_NAME}_list_options): Document.
1862 (gld_${EMULATION_NAME}_parse_args): Handle.
1863
037849a9
NC
18642000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1865
1866 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1867 whitespace, it breaks the K&R C preprocessor.
1868
7ec229ce
DD
18692000-12-11 DJ Delorie <dj@redhat.com>
1870
1871 * ld.texinfo: Add notes about --whole-archive and gcc.
1872
b79e8c78
NC
18732000-11-18 Fred Fish <fnf@be.com>
1874
1875 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1876 (ld_options): Entry for --allow-shlib-undefined.
1877 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1878 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1879 to false.
1880 * ld.texinfo: Document new command line switch.
d952f17a 1881
9a8e2505
GK
18822000-12-12 Geoffrey Keating <geoffk@redhat.com>
1883
1884 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1885 .fixup is actually read/write.
1886 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1887 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1888 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1889
b8355149
JH
1890Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
1891
1892 * NEWS: Add note about x86_64 architecture.
1893
93b63cd3
DD
18942000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
1895
1896 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1897 Set DWARF2 sections to a VMA of zero.
1898
24f6971a
NC
18992000-12-01 Joel Sherrill <joel@OARcorp.com>
1900
d952f17a 1901 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
1902 New targets.
1903 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1904 (sparc*-*-rtems*): Switched from a.out to ELF.
1905
2be3aa03
NC
19062000-11-30 Jan Hubicka <jh@suse.cz>
1907
1908 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1909 (eelf_x86_64.c): New.
1910 * Makefile.in: Regenerate.
1911 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1912 * emulparams/elf_x86_64.sh: New.
1913
8c899858
HPN
19142000-11-30 Hans-Peter Nilsson <hp@axis.com>
1915
1916 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1917 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1918
1919 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1920 merging non-a.out sections into CONSTRUCTING.
1921
e47b9e39
NC
19222000-11-28 Nick Clifton <nickc@redhat.com>
1923
1924 * ld.1 (COPYING): Mention that the GNU Free Documentation
1925 License is present in the sources, but not the output, and
1926 also available from the GNU website.
1927 (GNU Free Documentation License): Comment out this section.
1928
ad95f82a
DB
19292000-11-28 David O'Brien <obrien@dragon.nuxi.com>
1930
1931 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1932 does not use them.
1933
fd89e65f
DB
19342000-11-25 David O'Brien <obrien@FreeBSD.org>
1935
1936 * ld.1: Remove old date so it does not give the impression the manpage
1937 is way out of date.
1938
077b8428
NC
19392000-11-24 Nick Clifton <nickc@redhat.com>
1940
1941 * configure.tgt (xscale-coff): Add target.
1942 (xscale-elf): Add target.
1943
49425d28
NC
19442000-11-24 Fred Fish <fnf@be.com>
1945
d952f17a
AM
1946 * ldmain.c (main): Remove redundant init of config.make_executable
1947 to true.
49425d28 1948
d3480244
RH
19492000-11-15 Richard Henderson <rth@redhat.com>
1950
1951 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
1952
1ce7de8b
KH
19532000-11-14 Kazu Hirata <kazu@hxi.com>
1954
1955 * scripttempl/h8300.sc: Fix formatting.
1956 * scripttempl/h8300h.sc: Likewise.
1957 * scripttempl/h8300s.sc: Likewise.
1958
208d5cd0
DC
1959Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
1960
1961 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
1962
2e418547
PB
19632000-11-09 Philip Blundell <pb@futuretv.com>
1964
1965 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
1966 around orphan sections whose names can be represented in C.
1967
c940e6fc
JW
19682000-11-07 Jim Wilson <wilson@redhat.com>
1969
1970 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
1971 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
1972
704c465c
NC
19732000-11-06 Nick Clifton <nickc@redhat.com>
1974
1975 * ld.texinfo: Add GNU Free Documentation License.
1976 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 1977 * ld.1: Add GNU Free Documentation License.
704c465c 1978
dca7760f
AM
19792000-11-05 Alan Modra <alan@linuxcare.com.au>
1980
1981 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
1982 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
1983
1984 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
1985 Move 2000-11-02 Makefile.in changes to this file.
1986 * Makefile.in: Regenerate.
1987
40a633d5
NC
19882000-11-03 Nick Clifton <nickc@redhat.com>
1989
1990 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
1991 constructors and destructors.
1992 * scripttempl/h8300h.sc: Ditto.
1993 * scripttempl/h8300s.sc: Ditto.
1994 * scripttempl/h8500.sc: Ditto.
1995 * scripttempl/h8500b.sc: Ditto.
1996 * scripttempl/h8500c.sc: Ditto.
1997 * scripttempl/h8500m.sc: Ditto.
1998 * scripttempl/h8500s.sc: Ditto.
1999 * scripttempl/v850.sc: Ditto.
2000 * scripttempl/w65.sc: Ditto.
2001 * scripttempl/z8000.sc: Ditto.
2002
59ff2774
NC
20032000-11-02 Per Lundberg <plundis@chaosdev.org>
2004
2005 * Makefile.in (e_i386_chaos.c): New rule.
2006 (ALL_EMULATIONS): Added e_i386_chaos.o.
2007 * emulparams/elf_i386_chaos.sh: New file.
2008 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
2009
645571e1
JJ
20102000-10-20 Jakub Jelinek <jakub@redhat.com>
2011
2012 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
2013 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
2014 Fix sed invocation, so that it coped with '/' in Solaris 64bit
2015 library path suffix.
2016 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2017
c5975a45
HPN
20182000-10-18 Hans-Peter Nilsson <hp@axis.com>
2019
2020 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
2021 for consecutive sections.
2022
ea20a7da
CC
20232000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2024
d952f17a
AM
2025 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
2026 options.
2027 * ld.texinfo: Added notes about this new option.
ea20a7da 2028
6e45556a
NC
20292000-10-16 Nick Clifton <nickc@redhat.com>
2030
2031 * emultempl/pe.em (_after_open): Add tests of return values from
2032 bfd functions. Emit appropriate error messages if necessary.
2033
b9a69188
NC
20342000-10-13 Nick Clifton <nickc@redhat.com>
2035
2036 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
2037 local variables - they are not used, but leave in the call to
2038 bfd_canonicalize_symtab.
b9a69188
NC
2039 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
2040 pe_dll_search_prefix.
2041
627427de 20422000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 2043
627427de
DD
2044 * emultempl/pe.em (pe_dll_search_prefix): New variable,
2045 (longopts): New --dll-search-prefix option.
2046 (gld_${EMULATION_NAME}_list_options): Document.
2047 (gld_${EMULATION_NAME}_parse_args): Handle.
2048 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
2049 dynamically, search for a dll named '<prefix><basename>.dll'
2050 in preference to 'lib<basename>.dll' if --dll-search-prefix
2051 is specified.
2052
24376d1b
AM
20532000-10-12 Alan Modra <alan@linuxcare.com.au>
2054
2055 * ldlang.c (section_already_linked): Set kept_section instead of
2056 sec->comdat->sec.
2057
e47d05ad
KH
20582000-10-10 Kazu Hirata <kazu@hxi.com>
2059
2060 * deffile.h: Fix formatting.
2061 * lexsup.c: Likewise.
2062 * mri.c: Likewise.
2063
23a87948
DD
20642000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2065
2066 * pe-dll.c (make_one): Do not generate code thunk for DATA
2067 exports.
2068 (process_def_file): deduce DATA flag for auto-export sumbols.
2069
86b1cc60
KH
20702000-10-09 Kazu Hirata <kazu@hxi.com>
2071
89cdebba
KH
2072 * ld.h: Fix formatting.
2073 * ldcref.c: Likewise.
2074 * ldctor.h: Likewise.
2075 * ldemul.c: Likewise.
2076 * ldemul.h: Likewise.
2077 * ldexp.c: Likewise.
2078 * ldexp.h: Likewise.
2079 * ldfile.c: Likewise.
2080 * ldfile.h: Likewise.
2081 * ldlang.c: Likewise.
2082 * ldlang.h: Likewise.
2083 * ldmain.c: Likewise.
7bfd51a3
KH
2084 * pe-dll.c: Likewise.
2085
2086 * pe-dll.c: Revert some formatting fixes.
86b1cc60 2087
d643799d
KH
20882000-10-08 Kazu Hirata <kazu@hxi.com>
2089
2090 * pe-dll.c: Fix formatting.
2091
08da4cac
KH
20922000-10-05 Kazu Hirata <kazu@hxi.com>
2093
2094 * ldlang.c: Fix formatting.
2095
c2a94a7a
DD
20962000-10-03 DJ Delorie <dj@redhat.com>
2097
2098 * pe-dll.c (fill_edata): initialize entire block
2099 (make_one): fill in correct section.
2100
8c95a62e
KH
21012000-10-03 Kazu Hirata <kazu@hxi.com>
2102
2103 * ldexp.c: Fix formatting.
2104
486e80e2
DD
21052000-10-02 DJ Delorie <dj@redhat.com>
2106
2107 * emultempl/pe.em (gld_*_after_open): detect case where there two
2108 import libraries for same dll; rename one to ensure proper link
2109 order.
2110
2111 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
2112 typo
2113 (generate_edata): fix typo
2114
24dd9f75
HPN
21152000-09-29 Hans-Peter Nilsson <hp@axis.com>
2116
2117 * scripttempl/crisaout.sc (ENTRY): Now __start.
2118 (.text): Add default setting for __start.
2119 Remove CONSTRUCTORS handling.
2120 (/DISCARD/): Add .gnu.warning.*.
2121 * emulparams/crislinux.sh (ENTRY): Now __start.
2122 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
2123 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
2124 (ENTRY): Now __start.
2125 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
2126 (EXECUTABLE_SYMBOLS): Add default setting for __start.
2127
4de2d33d
KH
21282000-09-29 Kazu Hirata <kazu@hxi.com>
2129
5cc18311
KH
2130 * deffile.h: Fix formatting.
2131 * ld.h: Likewise.
2132 * ldcref.c: Likewise.
4de2d33d 2133 * ldctor.c: Likewise.
5cc18311 2134 * ldctor.h: Likewise.
4de2d33d 2135 * ldemul.c: Likewise.
5cc18311 2136 * ldemul.h: Likewise.
4de2d33d 2137 * ldexp.c: Likewise.
5cc18311 2138 * ldexp.h: Likewise.
4de2d33d 2139 * ldfile.c: Likewise.
5cc18311 2140 * ldfile.h: Likewise.
4de2d33d 2141 * ldlang.c: Likewise.
5cc18311
KH
2142 * ldlang.h: Likewise.
2143 * lexsup.c: Likewise.
2144 * mri.c: Likewise.
2145 * pe-dll.c: Likewise.
4de2d33d 2146
45b1f63c
DD
21472000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2148
2149 * pe-dll.c (process_def_file): Uninitialized data wasn't
2150 exported with --export-all-symbols switch.
d952f17a 2151
45b1f63c
DD
21522000-09-28 DJ Delorie <dj@redhat.com>
2153
2154 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
2155 noname work properly.
2156
47d89dba
AM
21572000-09-28 Alan Modra <alan@linuxcare.com.au>
2158
2159 * ld.texinfo (HPPA ELF32): New section.
2160
2161 * emultempl/hppaelf.em (group_size): New.
2162 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
2163 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
2164 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
2165 options to prevent abbreviations matching.
2166 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
2167 (PARSE_AND_LIST_ARGS_CASES): Handle it.
2168
36bdbeec
NC
21692000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2170
2171 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
2172 on the m68*-*-elf target. Make it support COFF input objects.
2173
6d5e62f8
KH
21742000-09-21 Kazu Hirata <kazu@hxi.com>
2175
2176 * ldmain.c: Fix formatting.
2177 * ldmisc.c: Likewise.
2178 * ldver.c: Likewise.
2179 * ldwrite.c: Likewise.
2180
e2eb67d9
AM
21812000-09-21 Alan Modra <alan@linuxcare.com.au>
2182
2183 * ldwrite.c (clone_section): Silence gcc warnings.
2184
b3ea3584
AM
21852000-09-20 Alan Modra <alan@linuxcare.com.au>
2186
2187 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
2188 out of memory failure.
2189
2190 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
2191 (clone_section): Handle out of memory failures. Rename var to
2192 avoid c++ reserved word.
2193
25f72752
AM
21942000-09-18 Alan Modra <alan@linuxcare.com.au>
2195
2196 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
2197 stub_name param to stub_sec_name.
2198 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2199
0752970e
NC
22002000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2201
2202 * emultempl/m68kelf.em: New file.
2203 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
2204 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
2205 * Makefile.in: Regenerate.
2206
92b7e9d8
AM
22072000-09-15 Alan Modra <alan@linuxcare.com.au>
2208
2209 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
2210 only as needed.
2211
9b14b192
NC
22122000-09-13 Nick Clifton <nickc@redhat.com>
2213
2214 * ldmain.c (multiple_definition): Disable relaxation if
2215 multiple symbol definitions are encountered - otherwise the
2216 linker could abort with an assertion failure.
2217
891fa266
NC
22182000-09-10 Nick Clifton <nickc@redhat.com>
2219
2220 * mri.c: Fix formatting.
2221
5d64ca4e
L
22222000-09-07 H.J. Lu <hjl@gnu.org>
2223
2224 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2225 * configure: Rebuild.
2226
dd94604f
L
22272000-09-07 H.J. Lu <hjl@gnu.org>
2228
2229 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
2230 * Makefile.in: Rebuild.
2231
71bfc0ae
AM
22322000-09-07 Alan Modra <alan@linuxcare.com.au>
2233
2234 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
2235 broken list handling. Create __start_SECNAME and __stop_SECNAME
2236 when no place-holder. Add some comments. Test both SEC_CODE and
2237 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 2238 Handle case where no output section statement created.
71bfc0ae 2239
4a428502
AO
22402000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
2241
2242 * configure.tgt (sh-*-linux*): Added.
2243 * Makefile.am: Added eshelf_linux and eshlelf_linux.
2244 * Makefile.in: Rebuilt.
2245 * emulparams/shelf_linux.sh: New file.
2246 * emulparams/shlelf_linux.sh: New file.
2247
f9989030
AM
22482000-09-06 Alan Modra <alan@linuxcare.com.au>
2249
2250 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2251 try shuffling sections when the orphan happens to be the place
2252 holder. Keep count of unique section names generated so we speed
2253 the search for a new name.
2254
58cccadb
AO
22552000-09-06 Alexandre Oliva <aoliva@redhat.com>
2256
2257 * configure: Rebuilt with new libtool.m4.
2258
5b343f5a
NC
22592000-09-05 Nick Clifton <nickc@redhat.com>
2260
2261 * Makefile.in: Regenerate.
2262 * aclocal.m4: Regenerate.
2263 * configure: Regenerate.
2264 * config.in: Regenerate.
2265 * po/ld.pot: Regenerate.
2266
2267 * ldint.texinfo: Remove CVS revision marker - it foils local
2268 comparisons.
2269
2270 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 2271
a854a4a7
AM
22722000-09-05 Alan Modra <alan@linuxcare.com.au>
2273
3231d22e
AM
2274 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
2275 to stub section flags.
2276 (hppa_for_each_input_file_wrapper): New.
2277 (hppa_lang_for_each_input_file): New.
2278 (lang_for_each_input_file): Define to call above.
2279 (multi_subspace): New.
2280 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
2281 (PARSE_AND_LIST_PROLOGUE): Define.
2282 (PARSE_AND_LIST_LONGOPTS): Define.
2283 (PARSE_AND_LIST_OPTIONS): Define.
2284 (PARSE_AND_LIST_ARGS_CASES): Define.
2285 (hppaelf_finish): Call elf32_hppa_set_gp.
2286 (hppaelf_set_output_arch): Remove.
2287 (LDEMUL_SET_OUTPUT_ARCH): Remove.
2288
2289 * emulparams/hppalinux.sh (ELFSIZE): Define.
2290 (MACHINE): Define.
2291 (OTHER_READONLY_SECTIONS): Define.
2292 (DATA_PLT): Define.
2293 (GENERATE_SHLIB_SCRIPT): Define.
2294
5f992e62
AM
2295 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
2296 to const throughout. Change `void *' to `PTR' throughout.
2297 (lang_memory_default): Function is local to file, add `static'.
2298
2299 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
2300 (ehppalinux.c): Likewise.
2301 (earmelf.c): Likewise.
2302 (earmelf_linux.c): Likewise.
2303 (earmelf_linux26.c): Likewise.
2304 * Makefile.in: Regenerate.
2305
a854a4a7
AM
2306 * ld.h (ld_config_type): Add unique_orphan_sections.
2307 * lexsup.c (OPTION_UNIQUE): Define.
2308 (ld_options): Add "--unique".
2309 (parse_args): Handle it.
2310 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2311 search for an existing output section if unique_orphan_sections is
2312 set. Make use of bfd_get_unique_section_name rather than
2313 duplicating code here.
2314 * ld.texinfo: Describe --unique.
2315
2316 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
2317 optional arg to split-by-file.
2318 (parse_args): Handle them.
2319 * ld.texinfo: Update description of these options.
2320 * ldwrite.c (clone_section): Pass in the section name. Replace
2321 local code with bfd_get_unique_section_name.
2322 (split_sections): Tidy code and comments. Use a list traversal
2323 more appropriate to the list construction. Handle cooked section
2324 sizes. Split when split_by_reloc reached rather than exceeded.
2325 Track section size and split when split_by_file reached. Fix
2326 link_order_tail (even though it's not used).
2327 (ldwrite): Modify condition for calling split_sections to suit
2328 changed split_by_reloc and split_by_file.
2329 * ldmain.c (main): Init config.split_by_reloc and
2330 config.split_by_file to -1.
2331 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
2332 Change split_by_file to bfd_size_type.
2333
18e03609
NC
23342000-09-02 Nick Clifton <nickc@redhat.com>
2335
2336 * configure.in: Increase version number to 2.10.91.
2337 * NEWS: Mention new ability to support removal of duplicate DWARF2
2338 debug information.
2339 * configure: Regenerate.
2340 * aclocal.m4: Regenerate.
2341 * config.in: Regenerate.
2342
3a9d486c
NC
23432000-09-02 Daniel Berlin <dberlin@redhat.com>
2344
2345 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
2346 sections.
a2b64bed 2347 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
2348 * scripttempl/elfd10v.sc: Ditto.
2349 * scripttempl/elfd30v.sc: Ditto.
2350 * scripttempl/elfi370.sc: Ditto.
2351 * scripttempl/elfm68hc11.sc: Ditto.
2352 * scripttempl/elfm68hc12.sc: Ditto.
2353 * scripttempl/elfi386beos.sc: Ditto.
2354 * scripttempl/v850.sc: Ditto.
50bbae35 2355
ac48eca1
AO
23562000-08-31 Alexandre Oliva <aoliva@redhat.com>
2357
2358 * acinclude.m4: Include libtool and gettext macros from the
2359 top level.
2360 * aclocal.m4, configure: Rebuilt.
2361
c13b1b77
NC
23622000-08-25 Nick Clifton <nickc@redhat.com>
2363
2364 * ldlang.c (open_output): When choosing the target for a
2365 particular endianness, do nothing if the target is not
2366 supported.
2367
dcb0bd0e
L
23682000-08-25 H.J. Lu <hjl@gnu.org>
2369
2370 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
2371 check -rpath nor LD_RUN_PATH for cross link.
2372 * ld.texinfo: Document the change.
2373
5bcac8a4
HPN
23742000-08-24 Hans-Peter Nilsson <hp@axis.com>
2375
2376 * NEWS: Mention support for CRIS.
2377
6dd8c765
L
23782000-08-23 H.J. Lu <hjl@gnu.org>
2379
2380 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
2381 the current runpath list from bfd_elf_get_runpath_list ()
2382 before search.
2383
ec4eb78a
L
23842000-08-22 H.J. Lu <hjl@gnu.org>
2385
2386 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
2387 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
2388 LD_LIBRARY_PATH for native linker. Display the needed DSO if
2389 trace_file_tries is non-zero.
2390 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
2391 if trace_file_tries is non-zero.
2392
2393 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 2394 * NEWS: Mention it.
ec4eb78a 2395
22b36938
JE
23962000-08-14 Jason Eckhardt <jle@cygnus.com>
2397
2398 * NEWS: Mention i860 support.
2399
d73e9da0
AS
24002000-08-14 Andreas Schwab <schwab@suse.de>
2401
2402 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 2403 syntax.
d73e9da0 2404
9ac4db9c
GK
24052000-08-10 Geoff Keating <geoffk@cygnus.com>
2406
2407 * scripttempl/elf.sc: Add a comment giving the correspondence
2408 between sections, per-datum sections, and linkonce sections. Make
2409 the comment true even for .bss, .sdata, .sdata2, .sbss, and
2410 .sbss2.
2411
165589e4
JE
24122000-08-10 Jason Eckhardt <jle@cygnus.com>
2413
2414 * emulparams/elf32_i860.sh: New file.
2415 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
2416 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2417 (eelf32_i860.c): New rule.
2418 * Makefile.in: Regenerate.
2419
345a835d
NC
24202000-08-10 Nick Clifton <nickc@cygnus.com>
2421
2422 * emulparams/mipspe.sh (ENTRY): Add definition.
2423
e374f1d9
NC
24242000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
2425
2426 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2427 in error message.
2428
236d5abf
NC
24292000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2430
2431 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2432 the final size of .bss section.
2433 * scripttempl/elfm68hc12.sc: Likewise.
2434
4b209b22
AM
24352000-08-04 Alan Modra <alan@linuxcare.com.au>
2436
2437 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2438 gld${EMULATION_NAME}_parse_args for consistency. Combine
2439 lastoptind and prevoptind vars, and keep track of last optind.
2440 (gld_${EMULATION_NAME}_list_options): Rename to
2441 gld${EMULATION_NAME}_list_options.
2442
28423a68
AM
24432000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
2444
2445 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2446 (i586-sco-sysv5uw7.1.0).
2447
b2009ff7
L
24482000-07-27 H.J. Lu <hjl@gnu.org>
2449
2450 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2451 (PARSE_AND_LIST_PROLOGUE): New.
2452 (PARSE_AND_LIST_LONGOPTS): Likewise.
2453 (PARSE_AND_LIST_OPTIONS): Likewise.
2454 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2455 (PARSE_AND_LIST_EPILOGUE): Likewise.
2456
04925e1e
AM
24572000-07-28 Alan Modra <alan@linuxcare.com.au>
2458
41392f03
AM
2459 * emultempl/armelf.em: Elide functions common to elf32.em,
2460 ie. most of the file.
2461 (arm_elf_after_open): New. Do arm specific things then call
2462 gld${EMULATION_NAME}_after_open.
2463 (arm_elf_before_allocation): New. Call
2464 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2465 (PARSE_AND_LIST_PROLOGUE): Define.
2466 (PARSE_AND_LIST_SHORTOPTS): Define.
2467 (PARSE_AND_LIST_LONGOPTS): Define.
2468 (PARSE_AND_LIST_OPTIONS): Define.
2469 (PARSE_AND_LIST_ARGS_CASES): Define.
2470 (LDEMUL_AFTER_OPEN): Define.
2471 (LDEMUL_BEFORE_ALLOCATION): Define.
2472 (LDEMUL_BEFORE_PARSE): Define.
2473 (LDEMUL_FINISH): Define.
2474
2475 * emultempl/hppaelf.em: Similarly zap most of this file.
2476 (hppaelf_add_stub_section): Prototype.
2477 (hppaelf_layaout_sections_again): Prototype.
2478 (hook_in_stub): Prototype.
2479 (LDEMUL_SET_OUTPUT_ARCH): Define.
2480 (LDEMUL_FINISH): Define.
2481 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2482
2483 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2484 (EXTRA_EM_FILE): New.
2485 * emulparams/armelf_linux.sh: Likewise.
2486 * emulparams/armelf_linux26.sh: Likewise.
2487 * emulparams/hppalinux.sh: Likewise.
2488 * emulparams/hppaelf.sh: Likewise.
2489 (NOP): Define.
2490
2491 * emultempl/elf32.em: Fix formatting.
2492 (EXTRA_EM_FILE): Source it.
2493 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2494 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2495 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2496 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2497 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2498 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2499 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2500 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2501 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2502 allow functions in this file to be overridden.
2503 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2504
2505 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2506
04925e1e
AM
2507 * emultempl/elf32.em: Reorganize file.
2508
88cdf297
NC
25092000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
2510
2511 * emulparams/elf64alpha.sh: Implement "-taso" emulation
2512 specific option to fit 64-bit executable in the lower
2513 31-bit address range. This is done by changing start
2514 address of .interp (the very first section of executable)
2515 and then setting EF_ALPHA_32BIT elf header flag.
2516
20bccb34
NC
25172000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2518
2519 * emultempl/m68kcoff.em: New file.
2520 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
2521 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
2522 generic.em.
2523 * Makefile.in: Regenerate.
2524
699845ef
L
25252000-07-20 H.J. Lu <hjl@gnu.org>
2526
2527 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2528 and "disable-new-dtags" to stop getopt from treating -d/-e as
2529 abbreviations for these options.
2530
6c1439be
L
25312000-07-20 H.J. Lu <hjl@gnu.org>
2532
2533 * ld.texinfo: Add documentation for --disable-new-dtags and
2534 --enable-new-dtags.
2535
2536 * ldmain.c (main): Initialize link_info.new_dtags to false.
2537
2538 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
2539 --disable-new-dtags and --enable-new-dtags.
2540 (gld_${EMULATION_NAME}_list_options): Likewise.
2541
28c309a2
NC
25422000-07-05 Kenneth Block <krblock@computer.org>
2543
a2b64bed
NC
2544 * lexsup.c: Add optional style to demangle switch
2545 * ld.texinfo: Document optional style to demangle switch.
50bbae35 2546
9d06555c
HPN
25472000-07-20 Hans-Peter Nilsson <hp@axis.com>
2548
2549 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
2550 ecrislinux.o.
2551 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
2552 Regenerate dependencies.
2553 * Makefile.in: Rebuild.
2554 * configure.tgt (cris-*-*): New target.
2555 * emulparams/crisaout.sh, emulparams/criself.sh,
2556 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
2557 * po/POTFILES.in, po/ld.pot: Regenerate.
2558
19e3be22
L
25592000-07-20 H.J. Lu <hjl@gnu.org>
2560
2561 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
2562 Print out ignored -z options.
2563
e0ee487b
L
25642000-07-19 H.J. Lu <hjl@gnu.org>
2565
19e3be22
L
2566 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
2567 (PARSE_AND_LIST_PROLOGUE): New.
2568 (PARSE_AND_LIST_LONGOPTS): Likewise.
2569 (PARSE_AND_LIST_OPTIONS): Likewise.
2570 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2571
2572 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
2573
2574 * lexsup.c (ld_options): Comment out 'z'.
2575 (parse_args): Likewise.
2576
2577 * emultempl/elf32.em: Include "elf/common.h".
2578 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
2579 options.
2580 (gld_${EMULATION_NAME}_list_options): Likewise.
2581
2582 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 2583
49e56c49
L
25842000-07-19 H.J. Lu <hjl@gnu.org>
2585
2586 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
2587 bfd_elf_set_dt_needed_soname ().
2588
9d68bc82
DD
25892000-07-18 DJ Delorie <dj@cygnus.com>
2590
2591 * pe-dll.c (pe_dll_id_target): check object target name also
2592
53db15ed
HPN
25932000-07-18 Hans-Peter Nilsson <hp@axis.com>
2594
2595 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
2596 ${INIT_END} if relocating.
2597 (.fini): Likewise ${FINI_START} and ${FINI_END}.
2598
0ad8cf4c
DD
25992000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
2600
a2b64bed 2601 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
2602 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
2603 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
2604 errors introduced by the old dynamic lib search order.
2605
874c8c99
DD
26062000-07-17 DJ Delorie <dj@cygnus.com>
2607
2608 * pe-dll.c (process_def_file): auto-export data items also
2609 (pe_process_import_defs): also see if _imp_ form needed
2610
5b4cf3f4
DD
26112000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
2612
2613 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
2614 for dll import libraries
2615
062739d1
NC
26162000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
2617
2618 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 2619 gcc 2.95.2 and later.
062739d1 2620
1c64c4ed
NC
26212000-07-11 Kazu Hirata <kazu@hxi.com>
2622
50bbae35
AM
2623 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
2624 message.
1c64c4ed 2625
b71e2778
AM
26262000-07-10 Alan Modra <alan@linuxcare.com.au>
2627
2628 * ldemul.h (struct lang_input_statement_struct): Remove forward
2629 declaration.
2630 (struct search_dirs): Likewise.
2631 * ldfile.h (struct lang_input_statement_struct): Likewise.
2632 Protect file from multiple inclusion.
2633 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
2634 declaration from macro to file scope.
2635
2636 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
2637 * ldgram.y: Likewise here.
2638 * ldlang.c: And here.
2639 * ldmain.c: And here.
2640 * mpw-elfmips.c: And here.
2641 * mpw-eppcmac.c: And here.
2642 * emultempl/aix.em: And here.
2643 * emultempl/armcoff.em: And here.
2644 * emultempl/armelf.em: And here.
2645 * emultempl/armelf_oabi.em: And here.
2646 * emultempl/beos.em: And here.
2647 * emultempl/elf32.em: And here.
2648 * emultempl/hppaelf.em: And here.
2649 * emultempl/linux.em: And here.
2650 * emultempl/lnk960.em: And here.
2651 * emultempl/pe.em: And here.
2652 * emultempl/sunos.em: And here.
2653 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
2654 * mpw-idtmips.c: Ditto.
2655 * emultempl/generic.em: Ditto.
2656 * emultempl/gld960.em: Ditto.
2657 * emultempl/gld960c.em: Ditto.
2658 * emultempl/mipsecoff.em: Ditto.
2659 * emultempl/ticoff.em: Ditto.
2660 * emultempl/vanilla.em: Ditto.
2661
2662 * pe-dll.c: Include ldfile.h
2663 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
2664
2665 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
2666 arguments to bfd_elf32_size_dynamic_sections call.
2667 (gldelf32ebmip_place_orphan): Add missing arguments to
2668 lang_leave_output_section_statement call.
2669
2ef53d66
L
26702000-07-10 H.J. Lu <hjl@gnu.org>
2671
2672 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
2673 DLL_SUPPORT.
2674 (strhash): Likewise.
2675 (compute_dll_image_base): Likewise.
2676 (pe_undef_found_sym): Likewise.
2677 (pe_undef_cdecl_match): Likewise.
2678 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
2679 argument "arch" with ATTRIBUTE_UNUSED.
2680
9a8cbb09
AM
26812000-07-10 Alan Modra <alan@linuxcare.com.au>
2682
2683 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
2684
2685 From Ryan Bradetich <rbradetich@uswest.net>
2686 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 2687
4900fc06
AM
26882000-07-09 Alan Modra <alan@linuxcare.com.au>
2689
2690 Changes to create multiple linker stubs, positioned immediately
2691 before the section where they are required.
2692 * emultempl/hppaelf.em: Include elf32-hppa.h.
2693 (stub_sec, file_chain): Delete.
2694 (hppaelf_create_output_section_statements): Don't make a stub
2695 section here.
2696 (hook_stub_info): New struct.
2697 (hook_in_stub): New function.
2698 (hppaelf_add_stub_section): New function.
2699 (hppaelf_finish): Do nothing for relocateable links. Modify the
2700 call to elf32_hppa_size_stubs. Move code for updating section
2701 layout from here...
2702 (hppaelf_layaout_sections_again): ..to here, a new function.
2703
2704 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
2705 broken list handling. Pass in a pointer to the list.
2706 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
2707 for above changes.
2708 (hppaelf_before_parse): Prototype.
2709 (hppaelf_set_output_arch): Prototype.
2710 (hppaelf_create_output_section_statements): Prototype.
2711 (hppaelf_delete_padding_statements): Prototype.
2712 (hppaelf_finish): Prototype.
2713
2714 Merge from elf32.em
2715 * emultempl/hppaelf.em: Include ctype.h.
2716 (struct orphan_save): New.
2717 (gld${EMULATION_NAME}_place_orphan): New.
2718 (output_rel_find): New.
2719 (hppaelf_get_script): Update from elf32.em.
2720 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
2721 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 2722 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
2723
2724 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
2725 ehppalinux.o, sort it. Regenerate dependencies.
2726 (ehppalinux.c): Depend on hppaelf.em
2727 * Makefile.in: Regenerate.
2728
2729 * configure.tgt: targ_emul=hppalinux for hppa*linux
2730
2731 * emulparams/hppalinux.sh: New.
2732 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2733
227aeb07
AM
27342000-07-08 Alan Modra <alan@linuxcare.com.au>
2735
2736 * lexsup.c (parse_args): Copy section name.
2737
28609fd4 27382000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 2739
2ef53d66 2740 * emultempl/pe.em: institute the following search order for
602e90d3
DD
2741 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2742 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2743 static lib (libfoo.a) if none of the above are found.
2744
5f577f7d
DD
27452000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
2746
50bbae35 2747 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 2748 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 2749 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
2750 (gld_${EMULATION_NAME}_parse): Handle.
2751 (strhash): New static function.
50bbae35 2752 (compute_dll_image_base): New static function.
5f577f7d
DD
2753 (gld_${EMULATION_NAME}_set_symbols): Use.
2754
9a8cbb09 27552000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
2756
2757 * MAINTAINERS: new
2758
3548145d 27592000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
2760
2761 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2762 * emulparams/elf32btsmip.sh: New file.
2763 * Makefile.am: Add traditional mips target.
2764 * Makefile.in: Rebuild.
2765
67798033
L
27662000-07-01 H.J. Lu <hjl@gnu.org>
2767
2768 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2769 automake to use YLWRAP.
2770 * Makefile.in: Rebuild.
2771
0bdaf48b
AM
27722000-07-01 Alan Modra <alan@linuxcare.com.au>
2773
2774 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2775 (CLEANFILES): Add DEPA.
2776 * Makefile.in: Regenerate.
2777
c9e769c2
TW
27782000-06-30 Timothy Wall <twall@ppc>
2779
2780 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2781 the page in the upper octet of the address.
2782
65aa24b6
NC
27832000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2784
2785 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2786
4667035e
AM
27872000-06-24 Alan Modra <alan@linuxcare.com.au>
2788
2789 * NEWS: arm-elf does --gc-sections too.
2790
1581f8c9
AM
27912000-06-22 Alan Modra <alan@linuxcare.com.au>
2792
2793 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2794 find one.
2795 * Makefile.in: Regenerate.
2796
01580992
L
27972000-06-21 H.J. Lu <hjl@gnu.org>
2798
2799 * Makefile.am: Rebuild dependency.
2800 * Makefile.in: Rebuild.
2801
bbeb2e03
L
28022000-06-20 H.J. Lu <hjl@gnu.org>
2803
2804 * Makefile.am: Rebuild dependency.
2805 * Makefile.in: Rebuild.
2806
74459f0e
TW
28072000-06-20 Timothy Wall <twall@cygnus.com>
2808
2809 * scripttempl/tic54xcoff.sc: New.
2810 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2811 * gen-doc.texi: Add flag for TI COFF.
2812 * ld.texinfo: Add documentation for TI COFF handling switches.
2813 * emultempl/ticoff.em: New. TI COFF handling.
2814 * configure.tgt: Add tic54x target.
2815 * Makefile.am: Add tic54x target.
2816 * Makefile.in: Ditto.
2817
2ab47eed
AM
28182000-06-20 Alan Modra <alan@linuxcare.com.au>
2819
2820 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2821 checking for backslashes.
2822
919e4093
AM
28232000-06-19 Alan Modra <alan@linuxcare.com.au>
2824
2825 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2826
987fd5b4
AM
28272000-06-18 Alan Modra <alan@linuxcare.com.au>
2828
2829 * NEWS: Update list of targets supporting --gc-sections.
2830
2831 * scripttempl/elf.sc: KEEP .eh_frame contents.
2832 * scripttempl/elfd30v.sc: Same here.
2833
60bcf0fa
NC
28342000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2835
2836 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2837 and m68hc11 (elf).
2838 * Makefile.in: Rebuild.
2839 * configure.tgt: Recognize m68hc12 and m68hc11.
2840 * scripttempl/elfm68hc12.sc: New file.
2841 * emulparams/m68hc12elfb: New emulation.
2842 * emulparams/m68hc12elf: New emulation.
2843 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2844 (includes a memory.x script to define the ROM and RAM banks).
2845 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2846 New configuration files for support of Motorola 68hc11
2847
c7c54483
AM
28482000-06-15 Alan Modra <alan@linuxcare.com.au>
2849
2850 * ldmain.c (main): Only change SEC_READONLY for final link.
2851
bcef29e6
L
28522000-06-13 H.J. Lu <hjl@gnu.org>
2853
2854 * configure: Regenerate.
2855
946efd95
DB
28562000-06-08 David O'Brien <obrien@FreeBSD.org>
2857
2858 * configure.in (VERSION): Update to show this is the CVS mainline.
2859
57a6fd07
DB
28602000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2861
2862 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2863 input objects to be ECOFF.
2864 (check_sections): einfo takes %B, not %P, to print a BFD name.
2865
e06cae36
L
28662000-06-05 Michael Matz <matz@ifh.de>
2867
2868 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 2869 version scripts.
e06cae36 2870
d952f17a 2871 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 2872
2f0b56c0
DC
28732000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
2874
2875 * emulparams/avr1200.sh (STACK): Define as 0.
2876 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2877 * emulparams/avr4433.sh (STACK): Likewise.
2878 * emulparams/avr44x4.sh (STACK): Likewise.
2879 * emulparams/avr85xx.sh (STACK): Likewise.
2880 * emulparams/avrmega103.sh (STACK): Likewise.
2881 * emulparams/avrmega161.sh (STACK): Likewise.
2882 * emulparams/avrmega603.sh (STACK): Likewise.
2883 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2884 (__stack): Define from ${STACK} for main().
2885
2114f57b
AM
28862000-05-26 Alan Modra <alan@linuxcare.com.au>
2887
2888 * Makefile.am: Update dependencies with "make dep-am"
2889 * Makefile.in: Regenerate.
2890
5af11cab
AM
28912000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2892
2893 * ldmain.c: Include filenames.h.
2894 (set_scripts_dir): Support backslashes in program name.
2895
1f0df59a
NC
28962000-05-22 Igor Shevlyakov <igor@windriver.com>
2897
2898 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
2899 read-only, don't forget to reset SEC_READONLY because it
2900 could be already set.
1f0df59a 2901
176355da
NC
29022000-05-22 Thomas de Lellis <tdel@windriver.com>
2903
50bbae35
AM
2904 * ld.1: Add documentation for new command line option:
2905 --section-start <sectionname>=<sectionorg>
2906 This is a generic version of -Ttext etc. which accepts
2907 any section name as a parameter instead of just text/data/
2908 bss.
2909 * ld.texinfo: More docs.
2910 * NEWS: More docs.
2911 * lexsup.c: (parse_args): Recognize new command line option.
176355da 2912 (ld_options): Add new option.
50bbae35 2913
8c5ff972
L
29142000-05-18 H.J. Lu <hjl@gnu.org>
2915
2916 * lexsup.c (parse_args): `i' == `r', not `q'.
2917
0b76fe77
JL
2918Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
2919
2920 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2921
a712da20
NC
29222000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
2923 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 2924
a712da20
NC
2925 Add support for '-q' == '--emit-relocs' switch.
2926 * ldmain.c (main): Default to false.
2927 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2928 * NEWS: Describe the emitrelocations switch.
2929 * ld.texinfo: Describe the emitrelocations switch.
2930
690a460e
NC
29312000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
2932
a2b64bed 2933 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
2934 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2935 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2936 link options.
50bbae35 2937
c2f1343c
AM
29382000-05-15 David O'Brien <obrien@FreeBSD.org>
2939
2940 * lexsup.c (parse_args): Update the year in the copyright notice.
2941
897083bd
AM
29422000-05-13 Alan Modra <alan@linuxcare.com.au>
2943
2944 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
2945 Replace defines with those from intl/libgettext.h to quieten gcc
2946 warnings.
2947
cd4c806a
L
29482000-05-10 H.J. Lu <hjl@gnu.org>
2949
2950 * ldlang.c (open_input_bfds): Don't load the same file within
2951 a group again if the whole archive has been loaded already.
2952
93697284
AM
29532000-05-03 Alan Modra <alan@linuxcare.com.au>
2954
2955 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
2956 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
2957 strtoul.
2958
ebd6fc29
JW
2959Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
2960
99a4150f 2961 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 2962
ebd6fc29
JW
2963 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2964 host "ia64-*-linux-gnu*".
2965
a1934524
AM
29662000-04-29 Andreas Jaeger <aj@suse.de>
2967
2968 * ld.h: Correctly check GCC version.
2969
730a39a0
JL
2970Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
2971
2972 * Makefile.am: Add PA64 support. Add missing dependencies for
2973 PA32 elf support.
2974 * Makefile.in: Rebuilt.
2975 * configure.tgt: Add PA64 support (currently disabled).
2976
aea4bd9d
AM
29772000-04-25 Alan Modra <alan@linuxcare.com.au>
2978
2979 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
2980 (output_rel_find): New function.
2981 (hold_section, hold_use): Delete.
2982 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2983 hold_interp): Make local to place_orphan.
2984 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
2985 rather than place_section to find possible previous use of orphan.
2986 Similarly find the place-holder output sections. Use returned
2987 value from lang_enter_output_section_statement rather than calling
2988 lang_output_section_statement_lookup.
2989 * emultempl/armelf.em: Same here.
2990 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
2991
2992 * ldlang.c (lang_enter_output_section_statement): Return output
2993 section statement.
2994 * ldlang.h (lang_enter_output_section_statement): Change
2995 declaration too.
2996
2997 * ldlang.h (lang_output_section_statement): Export it.
2998 * ldlang.c (lang_output_section_statement): Ditto.
2999
2b5fc1f5
NC
30002000-04-24 Nick Clifton <nickc@cygnus.com>
3001
3002 * ld.texinfo (Output Section Data): Add note that section data
3003 commands cannot appear outside of section directives.
3004
d8475ff6
JL
30052000-04-2 Matthew Green <mrg@cygnus.com>
3006
3007 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
3008
800eeca4
JW
3009Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
3010 David Mosberger <davidm@hpl.hp.com>
3011
3012 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
3013 (eelf64_ia64.c): New rule.
3014 * Makefile.in: Rebuild.
3015 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
3016 * emulparams/elf64_ia64.sh: New file.
50bbae35 3017
c9637625
RH
30182000-04-21 Richard Henderson <rth@cygnus.com>
3019
3020 * scripttempl/elfd30v.sc: Place .gcc_except_table.
3021
28ea9521
AM
30222000-04-19 Alan Modra <alan@linuxcare.com.au>
3023
3024 * dep-in.sed: Match space at start of file name, not at end.
3025
20d04697
L
30262000-04-18 H.J. Lu <hjl@gnu.org>
3027
3028 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
3029 lang_leave_output_section_statement () after calling
3030 lang_enter_output_section_statement ().
3031 * emultempl/armelf.em: Likewise.
3032
5ba47421
AM
30332000-04-18 Alan Modra <alan@linuxcare.com.au>
3034
3035 * emultempl/elf32.em (struct orphan_save): Add section field.
3036 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
3037 better order, and place first orphan section as we did before the
3038 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
3039 Don't call make_bfd_section here, let wild_doit do the job for us.
3040 Don't build a statement list when we'll only throw it away.
3041 * emultempl/armelf.em: Ditto.
3042 * emultempl/pe.em: Similarly.
3043
bdbe5705
GK
30442000-04-14 Geoff Keating <geoffk@cygnus.com>
3045
3046 * scripttempl/elfppc.sc: Remove.
3047 * emulparams/elf32ppc.sh: Use elf.sc.
3048 * emulparams/elf32lppc.sh: Use elf.sc.
3049 * emulparams/elf32ppclinux.sh: Use elf.sc.
3050 * emulparams/elf32ppcsim.sh: New file.
3051 * emulparams/elf32lppcsim.sh: New file.
3052 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
3053 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
3054 * Makefile.in: Regenerate.
3055 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
3056
01cc8ff8
AM
30572000-04-14 Alan Modra <alan@linuxcare.com.au>
3058
5ba47421 3059 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 3060 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
3061 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3062 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
3063 Also set all relocateable section start addresses.
3064
6c86c541
GK
30652000-04-13 Geoff Keating <geoffk@cygnus.com>
3066
3067 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
3068 Add new BSS_PLT variable for when .plt need not be contained in
3069 the file. Move _etext so that it is also after .fini, and provide
3070 both etext and _etext with a leading underscore. Mark the start
3071 and end of .sbss.
3072
6a345e87
AM
30732000-04-12 Alan Modra <alan@linuxcare.com.au>
3074
3075 * emultempl/elf32.em (struct orphan_save): New.
3076 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3077 hold_interp): Make them struct orphan_save.
3078 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
3079 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
3080 the end of the relevant section list. Also add associated section
3081 statements to the end of any previous orphan statements.
3082 * emultempl/armelf.em: Similarly.
3083 * emultempl/pe.em: Similarly.
3084
8be86746
AM
30852000-04-11 Alan Modra <alan@linuxcare.com.au>
3086
3087 * ld.texinfo (Simple Example): Remove extraneous paragraph.
3088
a2d91340 3089Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 3090
a2d91340 3091 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 3092 --enable-build-warnings option.
a2d91340
AC
3093 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3094 * Makefile.in, configure: Re-generate.
3095
41b49281
AM
30962000-04-04 Alan Modra <alan@linuxcare.com.au>
3097
8ad3436c
AM
3098 * po/ld.pot: Regenerate.
3099
3100 * lexsup.c (help): Restore translated part of bug string.
3101
41b49281
AM
3102 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3103 (DEP): Quote when passing vars to sub-make. Add warning message
3104 to end.
3105 (DEP1): Rewrite for "gcc -MM".
3106 (CLEANFILES): Add DEP2.
3107 Update dependencies.
3108 * Makefile.in: Regenerate.
3109
c20f4f8c
AM
31102000-04-03 Alan Modra <alan@linuxcare.com.au>
3111
3112 * ld.h: #include "bin-bugs.h"
3113 * lexsup.c (help): Use REPORT_BUGS_TO.
3114
adde6300
AM
31152000-03-27 Denis Chertykov <denisc@overta.ru>
3116
3117 * configure.tgt (avr-*-*): New target support.
3118 * Makefile.am: Likewise.
3119 * scripttempl/elf32avr.sc: New script file.
3120 * emulparams/avr1200.sh: New file.
3121 * emulparams/avr23xx.sh: New file.
3122 * emulparams/avr4433.sh New file.
3123 * emulparams/avr44x4.sh New file.
3124 * emulparams/avr85xx.sh New file.
3125 * emulparams/avrmega103.sh New file.
3126 * emulparams/avrmega161.sh New file.
3127 * emulparams/avrmega603.sh New file.
3128 * Makefile.in: Regenerate.
3129
9282ff41
L
31302000-03-09 Andreas Jaeger <aj@suse.de>
3131
3132 * Makefile.am (check-DEJAGNU): Also unset LANG.
3133 * Makefile.in: Rebuild.
3134
a9998805
ILT
31352000-03-06 Ian Lance Taylor <ian@zembu.com>
3136
3137 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
3138 archive.
3139
f9bc20e7
NC
31402000-03-02 H.J. Lu <hjl@gnu.org>
3141
3142 * emulparams/elf32mcore.sh: Include "getopt.h".
3143
4e277b38
ILT
31442000-03-01 Ian Lance Taylor <ian@zembu.com>
3145
3146 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
3147
f0c87f88
NC
31482000-03-01 H.J. Lu <hjl@gnu.org>
3149
3150 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
3151 * emulparams/shpe.sh: Likewise.
3152
31532000-03-01 Nick Clifton <nickc@cygnus.com>
3154
3155 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
3156 to unused parameters.
3157
3158 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
3159 functions only used by DLL code.
3160 (_place_orphan): Initialise 'dollar'.
3161
b6f29aaa
L
31622000-03-01 H.J. Lu <hjl@gnu.org>
3163
3164 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
3165 indicate if the undefined symbol is a fatal error or not.
3166 Don't delete the output file if "fatal" is false.
3167
af28fce3
L
31682000-02-29 H.J. Lu <hjl@gnu.org>
3169
50bbae35 3170 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
3171 Set LC_COLLATE and LC_ALL to null and export them. It is for
3172 sort which expects the C locale.
3173 Add $(LIBS) to all $(HOSTING_LIBS).
3174 * Makefile.in: Rebuild.
3175
40d109bf
AM
31762000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
3177
3178 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
3179 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
3180 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
3181 (ld_emulation_xfer_struct): Add missing NULL initialiser for
3182 find_potential_libraries.
3183
db5be682
JB
31842000-02-28 Jim Blandy <jimb@redhat.com>
3185
3186 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 3187 list entries; the lexer considers commas to be valid part of a
db5be682
JB
3188 filename, so in something like `foo, bar' the comma is considered
3189 part of the first filename, `foo,'.
3190 * ld.texinfo: Update section on EXCLUDE_FILE lists.
3191
3558ff4c
ILT
31922000-02-27 Loren J. Rittle <ljrittle@acm.org>
3193
3194 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3195 host "i[3456]86-*-freebsdelf*".
3196
4eee2681
ILT
31972000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
3198
3199 * scripttempl/i386go32.sc: Move misplaced semicolons.
3200
8d75d12d
ILT
32012000-02-25 Ian Lance Taylor <ian@zembu.com>
3202
3203 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
3204 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
3205 (eelf64hppa.c, ehppaelf.c): Remove targets.
3206 * Makefile.in: Rebuild.
3207
a1836d49
AO
32082000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3209
ad51fb57
AO
3210 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
3211 GNU/Linux/sparc, but keep the default as 32.
3212
a1836d49
AO
3213 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
3214 it default if sparcv9 or sparc64.
3215
344a211f
NC
32162000-02-24 Nick Clifton <nickc@cygnus.com>
3217
3218 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
3219 * Makefile.in: Regenerate.
3220 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
3221
3222 * ldemul.h (ld_emulation_xfer_struct): Add new field:
3223 find_potential_libraries.
3224 * ldemul.c (ldemul_find_potential_libraries): New function.
3225
3226 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 3227 exported.
344a211f
NC
3228 (ldfile_open_file): Call ldemul_find_potential_libraries.
3229 * ldfile.h: Add prototype for ldfile_open_file_search.
3230
3231 * pe-dll.c: Add support for ARM, MIPS and SH targets.
3232
3233 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
3234 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
3235
3236 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
3237 (gld_X_find_potential_libraries): New function. Search for
3238 libraries called "*.lib".
3239
a2b64bed 3240 * scripttempl/pe.sc: Add .pdata section.
344a211f 3241
eaba1dd3
RH
32422000-02-23 Richard Henderson <rth@cygnus.com>
3243
3244 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
3245 Add and use memory regions.
3246
5b93d8bb
AM
32472000-02-23 Linas Vepstas (linas@linas.org)
3248
3249 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
3250
3251 * Makefile.am: Add support for Linux/IBM 370.
3252 * configure.tgt: Likewise.
3253
3254 * Makefile.in: Regenerate.
3255
f6af82bd
AM
32562000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3257
3258 * ldlang.c (print_input_section, print_data_statement,
3259 print_reloc_statement, print_padding_statement, insert_pad,
3260 size_input_section, lang_check_section_addresses,
3261 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 3262 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
3263 (lang_do_assignments): Also change `size' to unsigned.
3264
9e673ad1
RH
32652000-02-16 Richard Henderson <rth@cygnus.com>
3266
3267 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
3268
562d3460
TW
32692000-02-16 Timothy Wall <twall@cygnus.com>
3270
3271 * mri.c (mri_draw_tree): Add default LMA region argument to call
3272 to lang_leave_output_section_statement.
3273 * ldlang.h: Update prototypes with LMA region arguments.
3274 * ldlang.c (lang_size_sections): Encapsulate region bounds
3275 checking in os_check_region call.
3276 (os_check_region): New function.
3277 (lang_output_section_statement_lookup): Initialize lma_region.
3278 (lang_leave_output_section_statement): Add LMA region argument.
3279 (lang_leave_overlay): Ditto.
3280 * ldgram.y: Handle LMA region syntax.
3281 * ld.texinfo (Output Section Description): Describe LMA region usage.
3282 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 3283 lma region in call to lang_leave_output_section_statement.
562d3460 3284 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 3285 lma region in call to lang_leave_output_section_statement.
562d3460 3286 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 3287 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
3288
3289
9e4ed18c
TW
32902000-02-04 Timothy Wall <twall@redhat.com>
3291
3292 * ldlang.c (lang_check_section_addresses): Use bytes instead of
3293 octets when calculating section end addresses.
3294
32edc927
TW
32952000-02-04 Timothy Wall <twall@redhat.com>
3296
3297 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
3298
4cbfc3ac
TW
32992000-02-03 Timothy Wall <twall@redhat.com>
3300
a2b64bed 3301 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 3302 octet count.
a2b64bed 3303 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
3304 print_reloc_statement, print_padding_statement): Print target
3305 address values and section sizes as bytes, not octets.
3306 (insert_pad) Calculate padding size in octets, and adjust "dot"
3307 by bytes.
3308 (size_input_section) Always adjust "dot" by bytes, not octets.
3309 (lang_check_section_addresses, lang_do_assignments) Adjust
3310 "dot" by bytes, not octets. Use the larger of the directive size
3311 or octets_per_byte for the number of octets actually allocated in
3312 the output section.
3313 (lang_set_startof) Make sure STARTOF returns a target address.
3314 (lang_one_common) Record size changes in octets.
3315 (lang_abs_symbol_at_end_of) Section end symbol's value is
3316 recorded in target bytes.
3317 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
3318 to be clear about behavior when an octet is smaller than one byte.
50bbae35 3319
305c7206
AM
33202000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3321
3322 * ldcref.c (output_cref): Don't pass message strings to printf
3323 as format arg.
3324 Update copyright.
3325
3326 * ldmisc.c (vfinfo): Same here.
3327 Update copyright.
3328
e1c47aa4
AM
33292000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
3330
3331 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
3332 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
3333 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
3334 Add missing NULL initialisers, and comments.
3335
3336 * testsuite/ld-srec/sr3.cc (__rethrow): New.
3337
13392b77
NC
33382000-01-21 Nick Clifton <nickc@cygnus.com>
3339
3340 * ldlang.c (lang_size_sections): Fix typo in comment.
3341
cce4c4c5
NC
33422000-01-18 H.J. Lu <hjl@gnu.org>
3343
3344 * ldlang.c (lang_size_sections): Also update the current
3345 address of a region if the SEC_NEVER_LOAD bit is not set.
3346
0decc840
NC
33472000-01-10 Philip Blundell <pb@futuretv.com>
3348
3349 * configure.tgt (arm*-*-conix*): New target.
3350
4e53152f
NC
33512000-01-07 Nick Clifton <nickc@cygnus.com>
3352
3353 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
3354 line switches with -Wl, (or whatever is appropriate) if it is
3355 being invoked by a comnpiler driver program.
50bbae35 3356 Fix description of the behaviour of the -n command line switch.
4e53152f 3357
18625d54
CM
3358Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
3359
3360 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
3361 (name_list): New.
3362 * ld.texinfo (EXCLUDE_FILE): Update documentation.
3363 * ldgram.y (wildcard_spec): Support a list of excluded_files.
3364 (exclude_name_list): New.
3365 ldlang.c (walk_wild_section): Support list of excluded files.
3366 (print_wild_statement): Likewise.
3367 (lang_add_wild): Likewise.
3368 * ldlang.h (lang_wild_statement_type): Likewise.
3369 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 3370
5aaace27
NC
33712000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3372
870df5dc
NC
3373 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
3374 (process_def_file): Use.
3375 (pe_dll_compat_implib): New variable.
3376 (make_one): Use.
50bbae35 3377
870df5dc
NC
3378 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
3379 pe_dll_compat_implib.
50bbae35
AM
3380
3381 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
3382 compat-implib options.
3383 (gld_${EMULATION_NAME}_list_options): List new options.
3384 (gld_${EMULATION_NAME}_parse_args): Handle.
3385
50bbae35 3386 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 3387 dll.
50bbae35
AM
3388
3389 * deffilep.y (opt_name): Allow "." in name.
5aaace27 3390
2f6d2f85 3391For older changes see ChangeLog-9899
252b5132
RH
3392\f
3393Local Variables:
3394mode: change-log
3395left-margin: 8
3396fill-column: 74
3397version-control: never
3398End:
This page took 0.371659 seconds and 4 git commands to generate.