* ld-cris: New testsuite directory.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
968ec2b9
AJ
12002-01-21 Andreas Jaeger <aj@suse.de>
2
3 * ldlex.l: Use fread instead of read.
4
9596feea
JT
52002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
6
7 * configure.tgt (ia64-*-netbsd*): New target.
8
493a6d47
L
92002-01-21 H.J. Lu <hjl@gnu.org>
10
11 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
12 0.
13 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
14
2a538ba5
AJ
152002-01-18 Andreas Jaeger <aj@suse.de>
16
17 * ldver.c (ldversion): Update year.
18
328577ad
NC
192002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
20
21 * po/ld.pot: Regenerate.
22
1f808cd5
AM
232002-01-16 Alan Modra <amodra@bigpond.net.au>
24
25 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
26 * Makefile.in: Regenerate.
27 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
28 * emultempl/ppc64elf.em: New file.
29
335c5610
DD
302002-01-15 DJ Delorie <dj@redhat.com>
31
32 * scripttempl/pe.sc: Add support for constructor priorities.
33
c40bbade
DC
342002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
35
36 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
37 * emulparams/avr23xx.sh: Likewise.
38 * emulparams/avr4433.sh: Likewise.
39 * emulparams/avr44x4.sh: Likewise.
40 * emulparams/avr85xx.sh: Likewise.
41 * emulparams/avrmega103.sh: Likewise.
42 * emulparams/avrmega161.sh: Likewise.
43 * emulparams/avrmega603.sh: Likewise.
44 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
45
34efb449
AO
462002-01-08 Alexandre Oliva <aoliva@redhat.com>
47
48 * ldlang.c (walk_wild_section): Exclude object file if enclosing
49 archive is excluded.
50
8d05742f
JT
512002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
52
53 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 54 (eshelf_nbsd.c): New rule.
8d05742f
JT
55 (eshlelf_nbsd.c): New rule.
56 * Makefile.in: Regenerate.
57 * configure.tgt (sh*le-*-netbsdelf*): New target.
58 (sh*-*-netbsdelf*): New target.
59 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
60 * ld/emulparams/shelf_nbsd.sh: New emulation.
61 * ld/emulparams/shlelf_nbsd.sh: New emulation.
62
be2d1673
NC
632002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
64
65 * po/es.po: New file: Spanish translation.
66 * configure.in (ALL_LINGUAS): Add es.
67 * configure: Regenerate.
68
dbab7a7b
NC
692002-01-06 John Marshall <jmarshall@acm.org>
70
71 * ld.texinfo: Note that --emit-relocs is currently only
72 implemented for ELF.
73
3dfe7a8c
AM
742002-01-05 Alan Modra <amodra@bigpond.net.au>
75
76 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
77 of bfd_section_list_remove and bfd_section_list_insert macros.
78 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
79 * emultempl/mmo.em (mmo_place_orphan): Likewise.
80
8a8b2d4b
AJ
812002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
82
83 * configure.tgt (x86_64-*-netbsd*): New target.
84
9a4c7f16
TR
852001-12-21 Tom Rix <trix@redhat.com>
86
8a8b2d4b 87 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
88 For -binitfini support.
89 * emultempl/aix.em (gld*_before_parse): Fix comment.
90 * emultempl/aix.em (gld*_parse_args): Fix comment.
91
3695c299
AM
922001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
93
cf86e6df
AM
94 * configure.tgt (mips*-dec-netbsd*): Delete alias for
95 mips*el-*-netbsd*.
96 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
97
3695c299
AM
98 * configure.tgt (arm-*-netbsdelf*): Add target.
99 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
100 * emulparams/armelf_nbsd.sh: Added.
101 * Makefile.am: Add rules for earmelf_nbsd.
102 * Makefile.in: Regenerate.
103
97cb79ae
AJ
1042001-12-19 Andreas Jaeger <aj@suse.de>,
105 Susanne Oberhauser <froh@suse.de>
106
107 * configure.host: Add rules for x86_64-*linux-gnu. Change
108 s390x-linux entry to use gcc to report configuration, replace gcc
109 with $CC in s390-linux
110
9d201f2f
AJ
1112001-12-19 Andreas Jaeger <aj@suse.de>
112
113 * ld.texinfo (VERSION): Fix markup.
114
0b69cd08
MG
1152001-12-18 matthew green <mrg@eterna.com.au>
116
117 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
118 (m68kelfnbsd.c): New rule.
119 * Makefile.in: Regenerate.
120 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
121 (m68*-*-netbsd*4k*): .. this.
122 (m68*-*-netbsdelf*): New target.
123 (m68*-*-netbsd*): Also include ELF support.
124 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
125 * emulparams/m68kelfnbsd.sh: New emulation.
126
6b9b879a
JJ
1272001-12-18 Jakub Jelinek <jakub@redhat.com>
128
129 * ldgram.y (vers_node): Support anonymous version tags.
130 * ldlang.c (lang_register_vers_node): Ensure anonymous version
131 tag is not defined together with non-anonymous versions.
132 * ld.texinfo: Document it.
133
9fc877ed
NC
1342001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
135
136 * po/tr.po: New file: Turkish translation.
137 * configure.in (ALL_LINGUAS): Add tr.
138 * configure: Regenerate.
139
fc18a3f3
RH
1402001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
141
142 * Makefile.am: Add rules for eelf64alpha_nbsd.
143 * Makefile.in: Regenerate.
144 * configure.tgt (alpha*-*-netbsd*): Set
145 targ_emul to elf64alpha_nbsd.
146 * emulparams/elf64alpha_nbsd.sh: Added.
147
76f63e91
AM
1482001-12-17 Alan Modra <amodra@bigpond.net.au>
149
150 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
151 section_tail when fiddling with section list.
152 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
153 broken into separate strings to make translation easier.
154 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
155 fiddling with section list.
156 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
157
d03b89bd
HPN
1582001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
159
160 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
161
320fec9a
AM
1622001-12-15 Alan Modra <amodra@bigpond.net.au>
163
164 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
165
65765700
JJ
1662001-12-13 Jakub Jelinek <jakub@redhat.com>
167
168 * emultempl/elf32.em (finish): Supply output_bfd
169 to bfd_elf*_discard_info.
170 (OPTION_EH_FRAME_HDR): Define.
171 (longopts): Add --eh-frame-hdr.
172 (parse_args): Handle it.
173 (list_options): Add --eh-frame-hdr to help.
174 * emultempl/hppaelf.em (finish): Supply output_bfd
175 to bfd_elf*_discard_info.
176 * scripttempl/elf.sc (.eh_frame_hdr): Add.
177
89894c62
AM
1782001-12-13 Alan Modra <amodra@bigpond.net.au>
179
180 * lexsup.c (parse_args): Don't pass shortopts to second call to
181 getopt functions. Restore optind rather than decrementing before
182 second call. Remove errind as it now duplicates last_optind.
183
583f1926
CF
1842001-12-11 Christopher Faylor <cgf@redhat.com>
185
186 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
187
93fbbb04
GK
1882001-12-07 Geoffrey Keating <geoffk@redhat.com>
189 Richard Henderson <rth@redhat.com>
190
191 * Makefile.am: Add support for xstormy16.
192 * configure.tgt: Add support for xstormy16.
193 * Makefile.in: Regenerate.
194 * emulparams/elf32xstormy16.sh: New file.
195 * scripttempl/xstormy16.sc: New file.
196
583f1926
CF
1972001-10-01 Christopher Faylor <cgf@cygnus.com>
198
fc18a3f3
RH
199 * Makefile.in (LIB_PATH): Make configurable.
200 (GENSCRIPTS): Set LIB_PATH in environment.
201 * configure.in: Substitute LIB_PATH.
202 * configure: Regenerate.
203 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
204 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 205
ff291a48
NC
2062001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
207
208 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
209 describing the -N option so that it is easier to translate into
210 foreign languages.
211
e3c8793a
NC
2122001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
213
214 * emultempl/pe.em (..._list_options): Replace multiple fprintf
215 statements describing a single option with a single, newline
216 escaped fprintf. This allows better translation into other
217 languages.
9d201f2f 218
fc18a3f3
RH
219 * ldmain.c (add_archive_element): Combine multiple strings
220 into a single string to permit better translation into other
221 languages.
e3c8793a 222
f2eab0af
TR
2232001-12-05 Tom Rix <trix@redhat.com>
224
225 * Makefile.am: Remove eaixppc64.
9d201f2f 226 * Makefile.in: Regenerate.
f2eab0af 227
249172c3
TR
2282001-12-04 Tom Rix <trix@redhat.com>
229
9d201f2f 230 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
231 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
232 warning.
233 (gld*_read_file): Fix typo.
234 (change_symbol_mode): Add prototype.
235 (is_syscall): Same.
9d201f2f 236
249172c3
TR
237 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
238 * emulparams/aixrs6.sh : Same.
239 * emulparams/ppcmacos.sh : Same.
240 * emulparams/aixppc64.sh : Delete file.
241 * emultempl/aix.em : Formatting changes.
242
5b5cd1b0
HPN
2432001-12-04 Hans-Peter Nilsson <hp@axis.com>
244
245 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
246 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
247 __Sbss.
248 (OTHER_END_SYMBOLS): Fix formatting.
249 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
250 (OTHER_END_SYMBOLS): Fix formatting.
251
7cecdbff
AM
2522001-12-04 Alan Modra <amodra@bigpond.net.au>
253
254 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
255
742aeb63 2562001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 257
742aeb63 258 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 259 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
260 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
261 (ldemul_default_target): Same.
262 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
263 * emultempl/gld960c.em (gld960_choose_target): Same.
264 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
265 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
266 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
267 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 268 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
269 -b32 and -b64.
270
48459341
L
2712001-11-27 H.J. Lu <hjl@gnu.org>
272
273 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
274 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
275 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
276 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
277 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
278 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
279 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
280 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
281
7cecdbff 282 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
283 is not empty.
284 (SDATA): Likewise.
285 (REL_SDATA): Likewise.
286 (REL_SBSS): Likewise.
287 (REL_SDATA2): Likewise.
288 (REL_SBSS2): Likewise.
289 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
290 (SDATA2): Likewise.
291
ecfdd20c
SC
2922001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
293
294 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
295 destructor in rom.
7cecdbff 296 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 297
da54c6eb
L
2982001-11-22 H.J. Lu <hjl@gnu.org>
299
300 * Makefile.in: Regenerated with automake based on automake
301 1.4-8 in RedHat 7.1.
302
465bc359
AM
3032001-11-22 Alan Modra <amodra@bigpond.net.au>
304
305 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
306 (config.status): Delete rule.
307 Add extra dependencies to cover sourced emulparams files.
308 * Makefile.in: Regenerate.
309
310 * scripttempl/elf.sc: Order <section>, <section>.* and
311 corresponding linkonce sections as seen in input files.
312 Formatting fixes. Zero vma of all sections if not relocating.
313 (STACK): Define and insert if STACK_ADDR defined.
314 (OTHER_RELOCATING_SECTIONS): Delete.
315 (OTHER_END_SYMBOLS): Define.
316 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
317 (OTHER_READWRITE_SECTIONS): Likewise.
318 (OTHER_GOT_SECTIONS): Likewise.
319 (OTHER_SDATA_SECTIONS): Likewise.
320 (OTHER_BSS_SECTIONS): Likewise.
321 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
322 (OTHER_READWRITE_SECTIONS): Likewise.
323 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
324 (OTHER_READWRITE_SECTIONS): Likewise
325
326 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
327 (STACK_ADDR): Define.
328 * emulparams/armelf_oabi.sh: As for armelf.sh.
329 * emulparams/elf32mcore.sh: As for armelf.sh.
330 * emulparams/h8300elf.sh: As for armelf.sh.
331 * emulparams/mn10200.sh: As for armelf.sh.
332 * emulparams/shelf.sh: As for armelf.sh.
333
334 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
335 (OTHER_END_SYMBOLS): Define.
336 * emulparams/m32relf.sh: As for elf32fr30.sh.
337 * emulparams/h8300helf.sh: As for elf32fr30.sh.
338 * emulparams/h8300self.sh: As for elf32fr30.sh.
339
340 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
341 defines with RELOCATING test.
342 (OTHER_SDATA_SECTIONS): Likewise.
343 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
344 (OTHER_END_SYMBOLS): ..this.
345 * emulparams/crislinux.sh: As for criself.sh.
346
347 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
348 if not relocating.
349 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
350 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
351 normal and linkonce sections as seen in input files.
352 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
353 (TEXT_DYNAMIC): Likewise.
354 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
355 (OTHER_SDATA_SECTIONS): Likewise.
356 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
357 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
358 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
359 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
360 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
361 (OTHER_PLT_RELOC_SECTIONS): Likewise.
362 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
363 sections as seen in input files.
364 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
365 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
366 if not relocating.
367 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
368 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
369 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
370 (OTHER_SECTIONS): Instead, use this..
371 (OTHER_END_SYMBOLS): ..and this.
372
373 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
374 * emulparams/elf32bsmip.sh: Likewise.
375 * emulparams/elf32btsmip.sh: Likewise.
376 * emulparams/elf32ebmip.sh: Likewise.
377 * emulparams/elf32lmip.sh: Likewise.
378 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
379 * emulparams/elf32lsmip.sh: Likewise.
380 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
381 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
382 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
383 * emulparams/elf64btsmip.sh: Likewise.
384 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
385 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
386 * emulparams/elf32ppclinux.sh: Likewise.
387 * emulparams/elf32ppcsim.sh: Likewise.
388 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
389 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
390 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
391 * emulparams/h8300self.sh: Likewise.
392 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
393 * emulparams/sh.sh: Comment.
394 * emulparams/shl.sh: Source sh.sh, remove duplicates.
395 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
396 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
397
abc6ab0a
AM
3982001-11-21 David Heine <dlheine@tensilica.com>
399 Alan Modra <amodra@bigpond.net.au>
400
401 * ldlang.c (map_input_to_output_sections): Replace "break"
402 accidentally removed with 2001-08-03 change.
403 (lang_gc_sections_1): Likewise.
404
2181f54f
AM
4052001-11-21 Alan Modra <amodra@bigpond.net.au>
406
407 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
408
ca0b5847
AM
4092001-11-20 Angela Marie Thomas <angela@redhat.com>
410
411 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
412 of false when calling lang_size_sections.
413 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 414
c56feb2b
AM
4152001-11-15 Alan Modra <amodra@bigpond.net.au>
416
417 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
418 function when LDEMUL_FINISH isn't set to the same name. Don't
419 call ${LDEMUL_FINISH}.
420 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
421 * emultempl/armelf.em (arm_elf_finish): Call
422 gld${EMULATION_NAME}_finish.
423 * emultempl/hppaelf.em (hppaelf_finish): Rename to
424 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
425 hppaelf_layout_sections_again if necessary.
426 (need_laying_out): New var.
427 (hppaelf_layaout_sections_again): Rename to
428 hppaelf_layout_sections_again. Clear need_laying_out.
429 (PARSE_AND_LIST_OPTIONS): Format text.
430
a48ca7f2
L
4312001-11-14 H.J. Lu <hjl@gnu.org>
432
433 * emultempl/armelf.em (arm_elf_finish): Renamed from
434 gld${EMULATION_NAME}_finish.
435 (LDEMUL_FINISH): Set to arm_elf_finish.
436
73d074b4
DJ
4372001-11-14 Daniel Jacobowitz <drow@mvista.com>
438
439 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
440 (struct ld_emulation_xfer_struct): Use it.
441
fc65c602
JL
442Tue Nov 13 11:27:14 2001 Ross Alexander <ross.alexander@uk.neceur.com>
443
465bc359 444 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
445 additional symbols referenced by newer crt0.o files from HP.
446
f11b7027
NC
4472001-11-12 Anthony Green <green@redhat.com>
448
449 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
450
3bf2994f
AM
4512001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
452
453 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
454 * Makefile.in: Regenerate.
455
ff5dcc92
SC
4562001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
457
458 * ld.texinfo: Use @command for commands, @option for options.
459 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
460 the page man title.
461 * Makefile.in: Rebuild.
462
9fb9af6e
CD
4632001-11-04 Chris Demetriou <cgd@broadcom.com>
464
465 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
466 Add support for targets.
2181f54f 467
3c62831e
NC
4682001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
469
470 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
471 * configure: Regernate.
472 * po/fr.po: New file.
473 * po/sv.po: New file.
474
3a9091c4
NC
4752001-11-01 NIIBE Yutaka <gniibe@m17n.org>
476
477 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
478 as little endian default and to support big endian.
2181f54f 479
361b220e
CD
4802001-11-01 Chris Demetriou <cgd@broadcom.com>
481
482 * ld.texinfo (Options): Document new option, -nostdlib.
483 * lexsup.c (OPTION_NOSTDLIB): New definition.
484 (ld_options): Add entry for "nostdlib".
485 (parse_args): Handle OPTIONS_NOSTDLIB.
486 * ldfile.c (ldfile_add_library_path): Don't add directories
487 to the search path if they weren't specified on the command line
488 and -nostdlib was specified.
489 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
490
210a7bd1
NC
4912001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
492
493 * lexsup.c (parse_args): Prevent infinite parsing loop when
494 "-rpath.a" is specified on the command line.
495 Replace calls to fprintf with calls to einfo.
496
114283d8
NC
4972001-10-31 John Marshall <jmarshall@acm.org>
498
499 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
500 appear only once across all the linker scripts involved in a link
501 invocation no longer applies. Make the documentation reflect
502 that.
503
7649aa50
NC
5042001-10-31 NIIBE Yutaka <gniibe@m17n.org>
505
506 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
507 targets.
508 (sh-*-linux*): Added targ_extra_libpath.
509
6e814ff8
AM
5102001-10-31 David Heine <dlheine@tensilica.com>
511
512 * ldlang.c (lang_size_sections): Keep a valid output_offset field
513 for padding statements.
514
3c3bdf30
NC
5152001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
516
517 * configure.tgt (mmix-*-*): New target.
518 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
519 Add dependencies to match.
520 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
521 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
522 scripttempl/mmo.sc: New files.
523 * gen-doc.texi: @set MMIX.
524 * ld.texinfo: Ditto.
6e814ff8 525 [MMIX] Add MMIX node.
3c3bdf30
NC
526 * Makefile.in: Regenerate.
527
ca0c1d3e
KH
5282001-10-29 Kazu Hirata <kazu@hxi.com>
529
530 * ldlang.c: Fix a comment typo.
531
1a3d33ce
AM
5322001-10-23 Alan Modra <amodra@bigpond.net.au>
533
534 * configure.host: Move alpha*-*-linux-gnu* entry to generic
535 entries, and match *-*-linux*.
536
b47c4208
AM
5372001-10-20 Alan Modra <amodra@bigpond.net.au>
538
539 * ldgram.y (mri_script_command): Surround processing of INCLUDE
540 with ldlex_script, ldlex_popstate.
541 (ifile_p1): Likewise.
542 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
543 correct slot.
544 (lex_push_file): Save current lineno to lineno_stack. Set lineno
545 to 1. Don't BEGIN(SCRIPT).
546 (lex_redirect): Similarly.
547 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
548
fd521b47
NC
5492001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
550
551 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
552 __EH_FRAME_END__ and accept eh frames into data section.
553 Add ctor and dtor sections.
554
59d28a94
DD
5552001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
556
557 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
558 (auto-export): Fix indentation.
559
663dd378
DD
5602001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
561
562 * pe-dll.c (autofilter_objectlist): Add startup objects
563 for profiling.
564 (auto-export): Constify char * p.
6e814ff8 565 Extract file basename and use strcmp rather than ststr
663dd378
DD
566 for object lookup.
567
31d677f9
CD
5682001-10-18 Chris Demetriou <cgd@broadcom.com>
569
570 * ldmain.c (get_emulation): Improve comment about the handling
571 of -mipsN options.
572
aa200fe8
AM
5732001-10-17 Alan Modra <amodra@bigpond.net.au>
574
575 * po/POTFILES.in: Regenerate.
576
146e7110
AM
5772001-10-16 Vassili Karpov <malc@pulsesoft.com>
578
579 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
580 -z nocopyreloc and -z nocombreloc usage strings.
581
b4330e85
NC
5822001-10-12 Vassili Karpov <malc@pulsesoft.com>
583
146e7110 584 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
585 in usage.
586
5af8a2fb
NC
5872001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
588
589 * scripttempl/armaout.sc: Place .bss section after end of aligned
590 data section to match behaviour of aout code in constructrion of
591 header.
592
5b784096
DD
5932001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
594
595 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
596 startup files for mingw32 dlls to list.
597
61585df2
CD
5982001-10-10 Chris Demetriou <cgd@broadcom.com>
599
600 * emultempl/elf32.em: Fix shell 'if' usage for portability.
601
45cf6f3e
AH
6022001-10-08 Aldy Hernandez <aldyh@redhat.com>
603
604 * configure.tgt (targ): Add arm9e-*-elf.
605
e24d7c12
L
6062001-10-05 H.J. Lu <hjl@gnu.org>
607
608 * genscripts.sh: Fix a typo in the last change.
609
ec38dd05
JJ
6102001-10-05 Jakub Jelinek <jakub@redhat.com>
611
612 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
613 -z nocombreloc in usage.
614
cedd6b0d
JB
6152001-10-03 Jim Blandy <jimb@redhat.com>
616
617 * genscripts.sh: Include a comment at the top of each generated
618 script, explaining its purpose.
619
8bd621d8
AM
6202001-10-03 Vassili Karpov <malc@pulsesoft.com>
621
622 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
623 * NEWS: Mention -z nocopyreloc.
624 * ld.texinfo (Options): Describe nocopyreloc.
625
fcd8210c
AM
6262001-10-03 Alan Modra <amodra@bigpond.net.au>
627
628 * configure: Regenerate.
629
d32820f2
AM
6302001-10-02 Alan Modra <amodra@bigpond.net.au>
631
632 * ldver.h (ld_program_version): Remove declaration.
633 * lexsup.c (parse_args): Move printing of copyright message..
634 * ldver.c (ldversion): .. to here.
635 Use BFD_VERSION_STRING in place of BFD_VERSION.
636 (ld_program_version): Remove.
637 * Makefile.am (Makefile): Depend on bfd/configure.in.
638 Run "make dep-am".
639 * Makefile.in: Regenerate.
640
af46bcdc
HPN
6412001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
642
643 * Makefile.am: Update dependencies with "make dep-am".
644 * Makefile.in: Regenerate.
645
4818e05f 6462001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 647
4818e05f
AM
648 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
649 * lexsup.c: Add --no-define-common commandline option.
650 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
651 * ldlex.l: Likewise.
652 * ld.h: Add command_line.inhibit_common_definition.
653 * ldmain.c (main): Initialize.
654 * ld.texinfo: Document.
862517b6 655
d5e0ebeb
AM
6562001-09-26 Alan Modra <amodra@bigpond.net.au>
657
658 * ldmisc.c (USE_STDARG): Remove.
659 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
660 (einfo): Likewise.
661 (minfo): Likewise.
662 (lfinfo): Likewise.
663
664 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
665 declarations. Update copyright.
666
2f8d8971
NC
6672001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
668
85c77458
NC
669 * pe-dll.c: Remove obsoleted declaration of
670 pe_get_data_import_dll_name.
671 (pe_create_import_fixup): Fix thinko.
672
2f8d8971
NC
673 * ld.texinfo(enable-auto-import): Clarify the explanation.
674
6752001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
676
677 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
678 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
679 DLL_SUPPORT controlled code.
680
72358f65 6812001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 682
72358f65
NC
683 * emultempl/pe.em(pe_data_import_dll): Make static.
684 (pe_get_data_import_dll_name): New accessor function.
146e7110 685 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
686 pe_get_data_import_dll_name() from pe.em, instead of
687 directly accessing pe_data_import_dll variable from pe.em.
688
3882b010
L
6892001-09-18 Bruno Haible <haible@clisp.cons.org>
690
691 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
692 (def_file_add_directive): Use ISSPACE instead of isspace.
693 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
694 isdigit/isxdigit/isalpha/isalnum.
695 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
696 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
697 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
698 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
699 isalnum.
700 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
701 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
702 isupper/tolower.
703 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
704 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
705 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
706 (ctor_prio): Use ISDIGIT instead of isdigit.
707 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
708 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
709 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
710 isupper/tolower.
711 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
712 (stricpy): Use TOLOWER instead of isupper/tolower.
713 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
714 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
715 (lex_warn_invalid): Use ISPRINT instead of isprint.
716 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
717 (main): For gettext, also set the LC_CTYPE locate facet.
718 (add_keepsyms_file): Use ISSPACE instead of isspace.
719 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
720 (is_num, parse_args): Use ISDIGIT instead of isdigit.
721 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
722 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
723 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
724 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
725 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
726 (quoteput): Use ISSPACE instead of isspace.
727 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
728 instead of isalnum.
729
db09f25b
AM
7302001-09-18 Alan Modra <amodra@bigpond.net.au>
731
732 * deffilep.y (def_stash_module): Constify "name" param.
733
734 * pe-dll.c: Replace CONST with const throughout.
735 (quick_symbol): Constify "n1", "n2", "n3" params.
736 (make_singleton_name_thunk): Constify "import" param. Make
737 "buffer_len" a size_t.
738 (make_import_fixup_entry): Constify "name", "fixup_name",
739 "dll_symname" params.
740 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
741 (pe_get32): Likewise.
742 (pe_implied_import_dll): Likewise.
743
744 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
745 (sort_by_section_name): Likewise.
746
747 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
748 (make_import_fixup): Cast printf arg, rel->address to long rather
749 than int.
750 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
751
74699268
AM
7522001-09-15 Alan Modra <amodra@bigpond.net.au>
753
754 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
755 defines BufferSize. Increase buffer size by one.
756
775cabad
NC
7572001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
758
759 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
760
056a1d49
NC
7612001-09-14 Kevin Lo <kevlo@openbsd.org>
762
763 * configure.tgt: Add arm-openbsd target.
764
a7d792bb
L
7652001-09-12 H.J. Lu <hjl@gnu.org>
766
767 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
768 eelf64lppc.o to ...
769 (ALL_64_EMULATIONS): Here.
770 * Makefile.in: Regenerated.
771
0d888aac
CW
7722001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
773
774 * emultempl/pe.em(make_import_fixup): change signature to
775 take asection as well as arelec; we need this for proper
146e7110 776 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
777 there is no attempt to add a constant addend to the reloc;
778 otherwise, report error condition.
779 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
780 since final argument is a pointer to make_import_fixup().
781 Change call to cb() to match make_import_fixup() signature.
782 (make_import_fixup_mark): make buffer_len unsigned.
783 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
784
7852001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
786
787 * ld.texinfo: add verbose documentation for auto-import
146e7110 788 direct-addressing workaround, to compliment the terse
0d888aac
CW
789 error message.
790
cedacdc0
CM
7912001-09-12 Andrew MacLeod <amacleod@redhat.com>
792
146e7110 793 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 794
38be0bb1
JL
795Fri Sep 7 11:34:24 2001 Jeffrey A Law (law@cygnus.com)
796
797 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
798 * emulparams/h8300self.sh: Similarly.
799
559e4713
NC
8002001-09-05 Danny Smith <dannysmith@users.souceforge.net>
801
802 * ld.texinfo (Options, --stack): Correct default value for stack
803 reserve.
804
1fdf0249
TR
8052001-09-05 Tom Rix <trix@redhat.com>
806
807 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 808
9b5799b8
AJ
8092001-09-03 Andreas Jaeger <aj@suse.de>
810
811 * emultempl/beos.em: Declare prototypes for comparions functions,
812 adjust definitions.
813
48f6162b
AJ
8142001-09-02 Andreas Jaeger <aj@suse.de>
815
816 * emultempl/aix.em: Add missing prototype.
817 * emultempl/lnk960.em: Likewise.
818 * emultempl/vanilla.em: Likewise.
819 * emultempl/armcoff.em: Likewise.
820 * emultempl/armelf_oabi.em: Likewise.
821 * emultempl/beos.em: Likewise.
822 * emultempl/gld960c.em: Likewise.
823 * emultempl/gld960.em: Likewise.
824
825 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
826 for prototype declaration.
827
39e5585e
EC
8282001-08-31 Eric Christopher <echristo@redhat.com>
829 Jason Eckhardt <jle@redhat.com>
830
831 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
832
3fc90ddb
AJ
8332001-08-31 Andreas Jaeger <aj@suse.de>
834
835 * emultempl/pe.em: Add missing prototypes.
836 (gld_${EMULATION_NAME}_after_open): Remove extra args to
837 pe_find_data_imports.
838 (pr_sym): Add unused attribute.
839
d43ded80
PB
8402001-08-29 Joel Sherrill <joel@OARcorp.com>
841
39e5585e 842 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
843 default from coff to elf.
844
3946dd2f
JL
8452001-08-29 Jeff Law <law@redhat.com>
846
847 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
848 ARCH specification.
849 * emulparams/h8300self.sh: Similarly.
850
851Wed Aug 28 13:37:20 2001 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
852
853 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
854 eh8300self.o .
855 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
856 * configure.tgt (h8300-*-elf*): New case.
857 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
858 * emulparams/h8300self.sh: New file.
859 * Makefile.in: Regenerated.
860
70d0c6e9
NC
8612001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
862
863 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
864 with macro name.
865
5c67d4bb
AM
8662001-08-27 Linus Nordberg <linus@swox.com>
867 Alan Modra <amodra@bigpond.net.au>
868
869 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
870 (eelf64ppc.c, eelf64lppc.c): Add make targets.
871 Run "make dep-am"
872 * Makefile.in: Regenerate.
873 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
874 entries to correct alphabetical position.
875 * emulparams/elf64ppc.sh: New.
876 * emulparams/elf64lppc.sh: New.
877
08131015
NC
8782001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
879
880 * ldmain.c (main): Declare BSIZE as static.
881
db6751f2
JJ
8822001-08-23 Jakub Jelinek <jakub@redhat.com>
883
884 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
885 into .rel.dyn resp. .rela.dyn if combreloc.
886 (get_script): If .x linker script is equal to .xn, only put it
887 once into the binary.
888 Add .xc and .xsc scripts.
889 (parse_args): Handle -z combreloc and -z nocombreloc.
890 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
891 For .xc and .xsc scripts put all .rel* or .rela* input sections
892 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
893 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
894 is elf.
895 Strip trailing whitespace from script.
896 Generate .xc and .xsc scripts if requested.
897 * ldmain.c (main): Initialize link_info.combreloc and
898 link_info.spare_dynamic_tags.
899 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
900 (ld_options): Add --spare-dynamic-tags option.
901 (parse_args): Likewise.
902 * ld.texinfo: Document -z combreloc and -z nocombreloc.
903 * ldint.texinfo: Document .xc and .xsc linker scripts.
904 * NEWS: Add notes about -z combreloc and SHF_MERGE.
905
63d069c0
L
9062001-08-22 H.J. Lu <hjl@gnu.org>
907
908 * emulparams/elf32fr30.sh: Add a newline.
909
948f9114
AJ
9102001-08-21 Andreas Jaeger <aj@suse.de>
911
912 * deffilep.y: Add missing prototypes.
913 * pe-dll.c: Likewise.
914
ae7fb08f
AM
9152001-08-20 Alan Modra <amodra@bigpond.net.au>
916
2af02257
AM
917 * ldlang.c (insert_pad): Fix typos in last patch.
918
919 * ldlang.c: When traversing lang_statement_union_type lists,
920 consistently use "header.next" rather than "next".
921 * mpw-eppcmac.c: Likewise.
922 * emultempl/beos.em: Likewise.
923 * emultempl/hppaelf.em: Likewise.
924 * emultempl/pe.em: Likewise.
925 * ldlang.h (union lang_statement_union): Remove "next" field.
926
c0c330a7
AM
927 * ldlang.c (insert_pad): Use offsetof macro.
928 (lang_size_sections): Always neuter padding statements.
929 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
930
ae7fb08f
AM
931 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
932 passed to lang_size_sections.
933 (pe_exe_fill_sections): Likewise.
934 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
935 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
936
fab80407
AM
9372001-08-18 Alan Modra <amodra@bigpond.net.au>
938
939 * emultempl/aix.em: Formatting fixes.
940
b3327aad
AM
9412001-08-18 Alan Modra <amodra@bigpond.net.au>
942
943 * ldlang.c (insert_pad): Make use of an existing pad statement if
944 available. Move code calculating alignment, adjusting section
945 alignment power, and adjusting dot to ..
946 (size_input_section): .. here. Remove unused relax param.
947 (lang_size_sections): Change boolean `relax' param to boolean *.
948 Adjust call to size_input_section. Make use of insert_pad to
949 place pad after the assignment statement. If relaxing, zap
950 padding statements.
951 (reset_memory_regions): Reset output_bfd section sizes too.
952 (relax_again): Move to..
953 (lang_process): ..here. Adjust call to lang_size_sections, and
954 remove duplicated code.
955 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
956
563e308f
AM
9572001-08-17 Alan Modra <amodra@bigpond.net.au>
958
959 * ld.texinfo: Document that fill values now use the four least
960 significant bytes.
961 * emulparams/elf32fr30.sh (NOP): Update.
962 * emulparams/elf32mcore.sh: Likewise.
963 * emulparams/elf64_s390.sh: Likewise.
964 * emulparams/elf_i386.sh: Likewise.
965 * emulparams/elf_i386_be.sh: Likewise.
966 * emulparams/elf_i386_chaos.sh: Likewise.
967 * emulparams/elf_i386_ldso.sh: Likewise.
968 * emulparams/elf_s390.sh: Likewise.
969 * emulparams/elf_x86_64.sh: Likewise.
970 * emulparams/i386moss.sh: Likewise.
971 * emulparams/i386nw.sh: Likewise.
972 * emulparams/m68kelf.sh: Likewise.
973 * scripttempl/elf.sc: Update NOP comment.
974 * scripttempl/elfi370.sc: Likewise.
975 * scripttempl/elfm68hc11.sc: Likewise.
976 * scripttempl/elfm68hc12.sc: Likewise.
977 * scripttempl/nw.sc: Likewise.
978
b90e1c6f
TR
9792001-08-15 Tom Rix <trix@redhat.com>
980
981 * ldgram.y (saved_script_handle): Initialize to NULL.
982 * ldmain.c (main): Change check on saved_script_handle.
948f9114 983
39dcfe18
AM
9842001-08-14 Alan Modra <amodra@bigpond.net.au>
985
cde43e70
AM
986 * emultempl/elf32.em: Formatting fixes.
987 (output_prev_sec_find): Test for bfd_ind_section too; do so by
988 looking at sec->owner.
989 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
990 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
991 unused code, and reorganize orphan section placement code.
992
39dcfe18
AM
993 * ldlang.c (wild_doit): Rename to lang_add_section.
994 * ldlang.h: Here too.
995 * mpw-elfmips.c: And here.
996 * emultempl/beos.em: And here.
997 * emultempl/elf32.em: And here.
998 * emultempl/hppaelf.em: And here.
999 * emultempl/pe.em: And here.
1000
908d20b3
RH
10012001-08-13 Richard Henderson <rth@redhat.com>
1002
1003 * emultempl/needrelax.em: New file.
1004 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
1005 * Makefile.am (eelf64_ia64.c): Depend on it.
1006 * Makefile.in: Rebuild.
1007
0f33d40b
AM
10082001-08-13 Alan Modra <amodra@bigpond.net.au>
1009
22af9fd3
AM
1010 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
1011 output_section is set non-NULL.
1012
0f33d40b
AM
1013 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
1014 `true' for SEC_EXCLUDE sections so that the generic code doesn't
1015 needlessly create an output_section_statement. Treat a correctly
1016 named output_section_statement with NULL bfd_section as compatible.
1017
55ab6103
HPN
10182001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
1019
1020 * emultempl/generic.em: Support EXTRA_EM_FILE.
1021 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
1022 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1023 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1024 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1025 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1026 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1027 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1028 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1029 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1030 LDEMUL_FIND_POTENTIAL_LIBRARIES.
1031
24098abb
RH
10322001-08-12 Richard Henderson <rth@redhat.com>
1033
1034 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
1035 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
1036 scripttempl/v850.sc: Keep .jcr data.
1037
b9a8de1e 10382001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
1039 Andrew Haley <aph@cambridge.redhat.com>
1040 Nick Clifton <nickc@redhat.com>
b9a8de1e 1041
146e7110 1042 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
1043 Change type to file handle.
1044 * ld.h (had_script): Rename and retype.
1045 * ldfile.c (ldfile_open_command_file): Save the file handle
1046 used in saved_script_handle.
1047 * lexsup.c (parse_args): Do not allow -c option to alter
1048 saved_script_handle.
1049 * ldmain.c (main): Print out the linker script used if
1050 --verbose is given. Check saved_script_handle to obtain the
1051 external linker script used, or if NULL, dump the builtin
1052 script.
1053 * ld.texinfo: Document that --verbose now dumps the linker
1054 script used, regardless of whether it was an internal or an
1055 external script.
1056
0218d1e4
AJ
10572001-08-10 Andreas Jaeger <aj@suse.de>
1058
1059 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1060 to build warnings.
1061 * configure: Regenerate.
1062
5253f23b
AM
10632001-08-09 Alan Modra <amodra@bigpond.net.au>
1064
73810896
AM
1065 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
1066
5253f23b
AM
1067 * scripttempl/elf.sc: Move non-text .dynamic section before
1068 .plt/.got/.sdata* group.
1069 (OTHER_GOT_SECTIONS): Move to immediately after .got.
1070 (OTHER_SDATA_SECTIONS): Add.
1071 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
1072 OTHER_GOT_SECTIONS.
1073 * emulparams/crislinux.sh: Likewise.
1074 * emulparams/elf32b4300.sh: Likewise.
1075 * emulparams/elf32bmip.sh: Likewise.
1076 * emulparams/elf32bmipn32.sh: Likewise.
1077 * emulparams/elf32bsmip.sh: Likewise.
1078 * emulparams/elf32btsmip.sh: Likewise.
1079 * emulparams/elf32ebmip.sh: Likewise.
1080 * emulparams/elf32elmip.sh: Likewise.
1081 * emulparams/elf32l4300.sh: Likewise.
1082 * emulparams/elf32lmip.sh: Likewise.
1083 * emulparams/elf32lsmip.sh: Likewise.
1084 * emulparams/elf32ltsmip.sh: Likewise.
1085 * emulparams/elf64bmip.sh: Likewise.
1086 * emulparams/elf64btsmip.sh: Likewise.
1087 * emulparams/elf64ltsmip.sh: Likewise.
1088
179c732c
AM
10892001-08-08 Alan Modra <amodra@bigpond.net.au>
1090
1091 * genscripts.sh: Source the emulparams script before each output
1092 script is generated so that variables like `RELOCATING' may affect
1093 variables defined in the emulparams script.
1094
3fd36710
AM
10952001-08-04 Alan Modra <amodra@bigpond.net.au>
1096
20713691
AM
1097 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
1098 order.
1099
3fd36710
AM
1100 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
1101 ie. iterate over wild_statement.section_list.
1102 (gld${EMULATION_NAME}_place_orphan): Likewise.
1103
de0b1853
SC
11042001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1105
1106 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
1107 .fini[0-4] sections used by _exit
1108 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
1109 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
1110 * scripttempl/elfm68hc11.sc: Likewise.
1111
ff7e6f88
L
11122001-08-03 H.J. Lu <hjl@gnu.org>
1113
1114 * emultempl/beos.em (init): Add the missing initialization.
1115
b6bf44ba
AM
11162001-08-03 Alan Modra <amodra@bigpond.net.au>
1117
1118 * ld.texinfo (Input Section Basics): Clarify ordering of output
1119 sections.
1120 * ldlang.c (callback_t): Add wildcard_list param.
1121 (walk_wild_section): Remove "section" param. Rewrite for
1122 lang_wild_statement_type change. Remove unique_section_p test.
1123 (walk_wild_file): Remove "section" param.
1124 (walk_wild): Remove "section" and "file" params.
1125 (lang_gc_wild): Likewise.
1126 (wild): Likewise. Modify for lang_wild_statement_type change.
1127 (wild_sort): Likewise. Add "sec" param.
1128 (gc_section_callback): Likewise.
1129 (output_section_callback): Likewise. Do unique_section_p test.
1130 (map_input_to_output_sections): Modify call to wild.
1131 (lang_gc_sections_1): Likewise.
1132 (print_wild_statement): Modify for lang_wild_statement_type
1133 change.
1134 (lang_add_wild): Replace filename, filenames_sorted param with
1135 filespec. Replace section_name, sections_sorted,
1136 exclude_filename_list with section_list.
1137 * ldlang.h (lang_add_wild): Here too.
1138 (lang_wild_statement_type): Replace section_name, sections_sorted,
1139 and exclude_filename_list with section_list.
1140 * ldgram.y (current_file): Delete.
1141 (%union): Add wildcard_list.
1142 (file_NAME_list): Set type to wildcard_list. Build a linked list
1143 rather than calling lang_add_wild for each entry.
1144 (input_section_spec_no_keep): Call lang_add_wild here instead.
1145 * ld.h (struct wildcard_list): Declare.
1146 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
1147
b044cda1
CW
11482001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1149
1150 * ldmain.c (main): initialize link_info.pei386_auto_import
1151 * pe-dll.c: new tables for auto-export filtering
1152 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 1153 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
1154 "by hand".
1155
11562001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
1157
b6bf44ba
AM
1158 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
1159 static variable current_sec (static struct sec *). Add
b044cda1 1160 forward declaration for add_bfd_to_link.
b6bf44ba
AM
1161 (process_def_file): Don't export undefined symbols. Do not
1162 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
1163 with new API.
1164 (pe_walk_relocs_of_symbol): New function.
1165 (generate_reloc): add optional extra debugging
b6bf44ba 1166 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 1167 line in output
b6bf44ba 1168 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
1169 (DATA auto-import support).
1170 (make_singleton_name_thunk): New function.
1171 (make_import_fixup_mark): New function.
1172 (make_import_fixup_entry): New function.
1173 (pe_create_import_fixup): New function.
b6bf44ba 1174 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 1175 char *.
b6bf44ba
AM
1176 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
1177 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
1178 pe_create_import_fixup.
1179 * emultempl/pe.em: add new options --enable-auto-import,
1180 --disable-auto-import, and --enable-extra-pe-debug.
1181 (make_import_fixup): New function.
1182 (pe_find_data_imports): New function.
1183 (pr_sym): New function.
b6bf44ba 1184 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
1185 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
1186 CODE.
1187
11882001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 1189
b044cda1
CW
1190 * ld.texinfo: add additional documentation for
1191 --export-all-symbols. Document --out-implib,
1192 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
1193 --dll-search-prefix, --enable-auto-import, and
1194 --disable-auto-import.
b044cda1
CW
1195 * ldint.texinfo: Add detailed documentation on auto-import
1196 implementation.
1197
156e34dd
NC
11982001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1199
1200 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
1201 example.
1202
d6231427
AM
12032001-07-24 Alan Modra <amodra@bigpond.net.au>
1204
1205 * Makefile.am: Update dependencies with "make dep-am".
1206 * Makefile.in: Regenerate
1207
e14ec88b
AM
12082001-07-23 Alan Modra <amodra@bigpond.net.au>
1209
1210 * ldcref.c (check_section_sym_xref): New function.
1211 (check_nocrossrefs): Call it.
1212 (check_nocrossref): Interate over h->refs here instead of..
1213 (check_refs): ..here. Pass in the symbol name, section, and bfd
1214 rather than hash_entry pointers.
1215 (struct check_refs_info): Keep symbol name rather than hash entry.
1216 Remove "same".
1217 (check_reloc_refs): Tweak for above changes in check_refs_info.
1218 Only report references to section syms when symname is NULL to
1219 prevent duplicate messages for the same reloc.
1220
1b577b00
NC
12212001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1222
c7d701b0
NC
1223 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
1224 available. Do not print NULL trees.
1225 (exp_print_token): Print unknown tokens with values > 126 as
1226 decimal values not ASCII characters.
1227
1545243b
NC
1228 * ldlang.c (lang_leave_overlay): If a region is specified assign
1229 it to all sections inside the overlay unless they have been
1230 assigned to the own, non-default, memory region.
1231
1b577b00
NC
1232 * README: Add header for consistency with other README files.
1233
5030876b
L
12342001-07-14 H.J. Lu <hjl@gnu.org>
1235
1236 * emultempl/elf32.em (output_prev_sec_find): Never return
1237 bfd_abs_section_ptr, bfd_com_section_ptr nor
1238 bfd_und_section_ptr.
1239
18c7a9a5
NC
12402001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
1241
22af9fd3 1242 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
1243 elf32.em.
1244 * Makefile.in: Regenerate.
1245
9ffecff1
MG
12462001-07-14 matthew green <mrg@eterna.com.au>
1247
1248 * configure.tgt (i386-*-netbsdelf*): New target.
1249 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
1250
95500e1c
JJ
12512001-07-13 Jakub Jelinek <jakub@redhat.com>
1252
1253 * emultempl/elf32.em (output_prev_sec_find): New.
1254 (place_orphan): Use it.
1255
e97cb84f
L
12562001-07-11 H.J. Lu <hjl@gnu.org>
1257
1258 * ldmain.c (main): Fix typos in the last change.
1259
7333607e
JJ
12602001-07-11 Jakub Jelinek <jakub@redhat.com>
1261
1262 * ldmain.c (main): Disallow -F and -f without -shared.
1263
d29d80f2
NC
12642001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1265
1266 * emultempl/pe.em (after_open): Check for the output_bfd not
1267 having any coff_data structure allocated to it.
1268
c2a1a436
DB
12692001-07-09 David O'Brien <obrien@FreeBSD.org>
1270
1271 * emultempl/elf32.em: Do not assuming that contents of the buffer
1272 returned from basename function will remain unchanged accross other
1273 function calls.
1274
63653551
L
12752001-07-03 H.J. Lu <hjl@gnu.org>
1276
1277 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
1278 2001-07-03. It creates dynamic entries even for static binaries.
1279
d303a449
L
12802001-07-03 Jakub Jelinek <jakub@redhat.com>
1281
1282 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
1283 (DYNAMIC): Use it to reserve few dynamic entries for
1284 post-linking tools.
1285
9f22353f
AM
12862001-06-27 Alan Modra <amodra@bigpond.net.au>
1287
1288 * emulparams/hppa64linux.sh: New file.
1289 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
1290 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
1291 (ehppa64linux.c): Add rule to make it.
1292 Run "make dep-am".
1293 * Makefile.in: Regenerate.
1294
62bf86b4
HPN
12952001-06-21 Hans-Peter Nilsson <hp@axis.com>
1296
1297 * ld.texinfo (Options, -r): Mention restrictions when using
1298 different object formats.
1299
429d935d
HPN
13002001-06-19 Hans-Peter Nilsson <hp@axis.com>
1301
1302 * ldlang.c (lang_check): Emit fatal error if relocatable link
1303 between different object flavours with relocations in input.
1304
cb840a31
L
13052001-06-19 H.J. Lu <hjl@gnu.org>
1306
1307 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
1308 (--version-script): Mention the language support.
1309
9bf03acc
L
13102001-06-19 H.J. Lu <hjl@gnu.org>
1311
1312 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
1313
c45021f2
NC
13142001-06-18 H.J. Lu <hjl@gnu.org>
1315
b6bf44ba
AM
1316 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
1317 (diststuff): Add $(MANS).
1318 * Makefile.in: Regenerated.
c45021f2 1319
b6bf44ba 1320 * ld.1: Removed.
c45021f2 1321
6caa99ab
HPN
13222001-06-18 Hans-Peter Nilsson <hp@axis.com>
1323
605d9b3a
HPN
1324 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1325 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
1326 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
1327 * ld.h (args_type): Remove member export_dynamic. All users
1328 changed to use struct bfd_link_info member.
1329
6caa99ab
HPN
1330 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
1331 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
1332 * Makefile.in: Regenerate.
1333
6f9efd97
L
13342001-06-18 H.J. Lu <hjl@gnu.org>
1335
1336 * ldlang.c (init_os): Add the newline to the einfo call.
1337 (lang_check): Likewise.
1338 (lang_do_version_exports_section): Likewise.
1339
5af9fd8b
L
13402001-06-15 H.J. Lu <hjl@gnu.org>
1341
1342 * lexsup.c (parse_args); Save optind to report unrecognized
1343 option.
1344
2a096f04
HPN
13452001-06-15 Hans-Peter Nilsson <hp@axis.com>
1346
7e66c3f5
HPN
1347 * ldlang.c (lang_check): Emit fatal error if relocatable link
1348 between different object flavours.
1349
2a096f04
HPN
1350 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
1351 Set new link_info member export_dynamic.
1352 * ldmain.c (main): Initialize new link_info member export_dynamic.
1353
6770ec8c
NC
13542001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
1355
1356 * ldlang.c (walk_wild): Only call walk_wild_file if
1357 lookup_name returns something.
b6bf44ba 1358 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 1359 (load_symbols): Change to a boolean function.
b6bf44ba 1360 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
1361 executable.
1362
8529105a
AM
13632001-06-08 Alan Modra <amodra@bigpond.net.au>
1364
1365 * ldlang.c (record_bfd_errors): Remove.
1366
1367 * emultempl/aix.em: Fix copyright dates.
1368
8f3aa7a0
AJ
13692001-06-07 Andreas Jaeger <aj@suse.de>
1370
1371 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
1372 (TEXT_START_ADDR): Likewise.
1373
3277f888
AM
13742001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1375
1376 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
1377
3763134d
DD
13782001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1379
1380 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
1381
5929ebc0
L
13822001-05-31 H.J. Lu <hjl@gnu.org>
1383
1384 * ldlang.c (open_input_bfds): Don't change the bfd error
1385 handler whilst loading symbols.
1386
c04a062d
NC
13872001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1388
1389 * configure.tgt: Remove i370-mvs architecture, it is not currently
1390 supported.
1391
96fcab3e
L
13922001-05-25 H.J. Lu <hjl@gnu.org>
1393
1394 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1395 like emulparams/aixppc.sh.
1396
db8d4f23
L
13972001-05-25 H.J. Lu <hjl@gnu.org>
1398
1399 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
1400 setting of output_filename after bfd_scan_arch.
1401 * emultempl/pe.em: Likewise.
1402
5f642101
L
14032001-05-25 H.J. Lu <hjl@gnu.org>
1404
1405 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1406 like emulparams/aixppc.sh.
1407
1408 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
1409 instead of ${srcdir}/emultempl/stringify.sed.
1410
64e9ece0
TW
14112001-05-25 Timothy Wall <twall@oculustech.com>
1412
1413 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 1414 output.
64e9ece0 1415
c709b096
AM
14162001-05-25 Alan Modra <amodra@one.net.au>
1417
1418 * configure.host: Replace linuxoldld with linux*oldld.
1419 * configure.tgt: Likewise.
1420
6cbdcc6f
L
14212001-05-24 H.J. Lu <hjl@gnu.org>
1422
1423 * emultempl/stringify.sed: Removed again.
1424
86af25fe
L
14252001-05-24 H.J. Lu <hjl@gnu.org>
1426
1427 * emultempl/aix.em (OUTPUT_ARCH): Defined.
1428 (gld${EMULATION_NAME}_before_parse): Initialize
1429 ldfile_output_architecture, ldfile_output_machine and
1430 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
1431 * emultempl/beos.em: Likewise.
1432 * emultempl/elf32.em: Likewise.
1433 * emultempl/linux.em: Likewise.
1434 * emultempl/mipsecoff.em: Likewise.
1435 * emultempl/pe.em: Likewise.
1436 * emultempl/sunos.em: Likewise.
1437
3b1b01cf
TR
14382001-05-24 Tom Rix <trix@redhat.com>
1439
8f3aa7a0 1440 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
1441 udate import file format.
1442 (change_symbol_mode) New, same
1443 (is_syscall) New, same
1444 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
1445 * emulparams/aixppc64.sh : same
1446 * emulparams/aixrs6.sh : same
1447 * emulparams/ppcmacos.sh : same
1448 * emultempl/aix.em : use strtoull to parse options
1449 * Makefile.am : add eaixppc64 emulation for xcoff64
1450 * Makefile.in : same
1451 * configure.tgt : same
1452
1453 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 1454 default data section offset to 0x20000000
3b1b01cf 1455 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 1456 loader and debug sections use the currect section offset.
3b1b01cf
TR
1457
1458 * emultempl/aix.em : Add xcoff64 support
1459 Add -binitfini support
8f3aa7a0 1460 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 1461 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 1462 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
1463 sections
1464
1465 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 1466
57e6abd2
AO
14672001-05-23 Alexandre Oliva <aoliva@redhat.com>
1468
1469 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
1470 variable to avoid non-portable shell construct.
1471
d1cf510e
NC
14722001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1473
1474 * ldmain.c (get_emulation): Add -mips5 command line argument.
1475
506eee22
NC
14762001-05-22 Alexandre Oliva <aoliva@redhat.com>
1477
1478 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1479 (ELF_INTERPRETER_NAME): Define it.
1480 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1481 it.
1482 * configure.tgt (targ_emul, targ_extra_emuls)
1483 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1484 as primary, elf_i386 as extra.
1485 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1486 (eelf_i386_ldso.c): New rule.
1487 * Makefile.in: Rebuilt.
1488
14892001-05-22 Nick Clifton <nickc@redhat.com>
1490
1491 * lexsup.c (ld_options): Allow -I to be an alias for
1492 --dynamic-linker. This is for Solaris compatability.
1493 * ld.texinfo: Document that -I can be used.
1494 * ld.1: Regenerate.
1495
d1778b88
AM
14962001-05-16 Alan Modra <amodra@one.net.au>
1497
1498 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1499 whether an input section is the first one assigned to an output
1500 section.
1501 Assorted formatting fixes.
1502
02649152
DD
15032001-05-14 DJ Delorie <dj@delorie.com>
1504
1505 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1506 * Makefile.in: Ditto.
1507
579f31ac
JJ
15082001-05-11 Jakub Jelinek <jakub@redhat.com>
1509
1510 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1511 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1512 output sections.
1513 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1514
8550eb6e
JJ
15152001-05-11 Jakub Jelinek <jakub@redhat.com>
1516
1517 * ldlang.c (lang_process): Call bfd_merge_sections.
1518
8e5a525c
AM
15192001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1520
1521 * ldgram.y: Fix typo.
1522
1c9acd94
L
15232001-05-03 H.J. Lu <hjl@gnu.org>
1524
1525 * emultempl/elf32.em: Include "libiberty.h".
1526 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1527 basename of the bfd filename.
1528 (gld${EMULATION_NAME}_stat_needed): Likewise.
1529 (gld${EMULATION_NAME}_try_needed): Likewise.
1530 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1531
14fe918e
L
15322001-05-02 H.J. Lu <hjl@gnu.org>
1533
1534 * emultempl/pe.em: Include <ctype.h>.
1535
c7e40348
NC
15362001-05-02 Johan Rydberg <jrydberg@opencores.org>
1537
b6bf44ba 1538 * emulparams/elf32openrisc.sh: New file.
c7e40348 1539
b6bf44ba
AM
1540 * Makefile.am: Add OpenRISC target.
1541 * Makefile.in: Regenerated.
c7e40348 1542
b6bf44ba 1543 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
1544
15452001-05-02 Nick Clifton <nickc@redhat.com>
1546
1547 * emultempl/aix.em: Replace buystring with xstrdup.
1548 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 1549
d1b2b2dc
L
15502001-05-02 H.J. Lu <hjl@gnu.org>
1551
1552 * ldfile.c: Include "libiberty.h".
1553 * ldlex.l: Likewise.
1554
1555 * ldmisc.c (buystring): Removed.
1556 * ldmisc.h: Likewise.
1557
1558 * ldfile.c: Replace buystring with xstrdup.
1559 * ldlang.c: Likewise.
1560 * ldlex.l: Likewise.
1561 * ldmain.c: Likewise.
1562 * ldmisc.c: Likewise.
1563 * lexsup.c: Likewise.
1564 * mpw-eppcmac.c: Likewise.
1565
35714f2a
AJ
15662001-04-30 Andreas Jaeger <aj@suse.de>
1567
1568 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1569
884fb58e
NC
15702001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1571
b6bf44ba
AM
1572 * ldlang.c (load_symbols): Give emulation a chance
1573 to process unrecognized file before fatal error is
1574 reported, not after.
884fb58e 1575
87748b32
NC
15762001-04-27 Sean McNeil <sean@mcneil.com>
1577
1578 * configure.tgt: Add arm-vxworks target.
1579 * scripttempl/armcoff.sc: Support .text or .data as a section name
1580 prefix.
1581 Define _etext.
35714f2a 1582
7ce691ae
C
15832001-04-13 J.T. Conklin <jtc@redback.com>
1584
1585 * ld.texinfo: Document --fatal-warnings.
1586 * ld.1: Regenerate.
1587
1588 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 1589 warnings have been turned into errors.
7ce691ae
C
1590 * lexsup.c (OPTION_WARN_FATAL): Define.
1591 (ld_options): Entry for --fatal-warnings.
1592 (parse_args): Handle OPTION_WARN_FATAL.
1593 * ld.h (ld_config_type): Add fatal_warnings field.
1594
f5fa8ca2
JJ
15952001-04-13 Jakub Jelinek <jakub@redhat.com>
1596
1597 * ldmain.c (main): Default to discard_sec_merge.
1598 * lexsup.c (OPTION_DISCARD_NONE): Define.
1599 (ld_options): Add --discard-none.
1600 (parse_args): Handle OPTION_DISCARD_NONE.
1601 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
1602 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
1603 all its input sections match.
1604
fdec3cfc
L
16052001-04-05 Steven J. Hill <sjhill@cotw.com>
1606
1607 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
1608 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
1609 (eelf32ltsmip.c): New target.
1610 (eelf64btsmip.c): Likewise.
1611 (eelf64ltsmip.c): Likewise.
1612 * Makefile.in: Regenerated.
1613
1614 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
1615 target.
1616 (mips*-*-linux-gnu*): Likewise.
1617
1618 * emulparams/elf32ltsmip.sh: New. Traditional little endian
1619 MIPS taget.
35714f2a 1620 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
1621 target.
1622 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
1623 endian target.
1624
589bad82
HPN
16252001-04-05 Hans-Peter Nilsson <hp@axis.com>
1626
1627 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
1628 correct value of __Stext here.
1629 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
1630 .startup section.
1631
1632 * emulparams/crislinux.sh: Remove FIXME.
1633
94202e16
AM
16342001-04-02 Alan Modra <alan@linuxcare.com.au>
1635
1636 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
1637 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
1638
1268a053
HPN
16392001-03-27 Hans-Peter Nilsson <hp@axis.com>
1640
1641 * configure.tgt (cris-*-*): Change default emulation to criself.
1642 (cris-*-*aout*): New rule.
1643
d85e9ff7
AM
16442001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
1645
1646 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
1647 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
1648
0879a67a
AJ
16492001-03-26 Andreas Jaeger <aj@suse.de>
1650
1651 * ld.texinfo (Overview): Fix syntax in texi code.
1652
0285c67d
NC
16532001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1654
1655 * ld.texinfo: Put @c man indications to generate the ld man page.
1656 When generating man, define all the variables. Define SEEALSO
1657 and SYNOPSIS. Re-organize some lines to avoid the cross references.
1658 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
1659 (ld.1): Generate from ld.texinfo.
1660 * Makefile.in: Regenerate.
1661
c20ec07b
NC
16622001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
1663
1664 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 1665 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 1666
cc5ce052
UD
16672001-03-17 Ulrich Drepper <drepper@redhat.com>
1668
1669 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
1670 is an absolute path look only for this file and not along the path.
1671
a1ab1d2a
UD
16722001-03-17 Ulrich Drepper <drepper@redhat.com>
1673
1674 * emultempl/elf32.em (OPTION_GROUP): New macro.
1675 Add new option Bgroup to longopts.
1676 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
1677 (gld*_list_options): Add -Bgroup and -z defs.
1678 * ld.1: Document -Bgroup and -z defs.
1679 * ld.texinfo: Likewise.
1680
788fca5a
MM
16812001-03-07 Michael Meissner <meissner@redhat.com>
1682
1683 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
1684 with sections created by -fdata-sections.
1685 (.dynbss,.bss): Ditto.
1686
1c7566d1
AM
16872001-03-05 Alan Modra <alan@linuxcare.com.au>
1688
1689 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
1690 after_allocation_default, not gld..._before_allocation.
1691
27b7e12d
AM
16922001-02-27 Alan Modra <alan@linuxcare.com.au>
1693
1694 * configure.in (BFD_VERSION): New.
1695 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1696 * configure: Regenerate.
1697 * Makefile.am: Run "make dep-am"
1698 * Makefile.in: Regenerate.
1699
2bc551c7
TW
17002001-02-26 Timothy Wall <twall@cygnus.com>
1701
1702 * emulparams/elf64_aix.sh: Add additional read-only sections;
1703 uncomment lines which are now required.
1704
1276aefa
NC
17052001-02-26 H.J. Lu <hjl@gnu.org>
1706
1707 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
1708 that problems can be caught whilst loading symbols.
1709 (record_bfd_errors): New function: Report BFD errors and mark
1710 the executable output as being invalid.
1276aefa 1711
41c49998
TW
17122001-02-22 Timothy Wall <twall@cygnus.com>
1713
1714 * configure.host: Add configuration for ia64-*-aix*.
1715 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
1716 Add dependencies for eelf64_aix.c.
1717 * Makefile.in: Regenerate.
1718 * configure.tgt: Add ia64-*-aix* mapping.
1719 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 1720 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
1721 AIX-specific test.
1722
78f85fd7
L
17232001-02-20 H.J. Lu <hjl@gnu.org>
1724
1725 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
1726 false if we found the file.
1727
1ac7e077 17282001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
1729
1730 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
1731 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
1732
e135f41b
NC
17332001-02-18 lars brinkhoff <lars@nocrew.org>
1734
1735 * Makefile.am: Add PDP-11 target.
1736 * configure.tgt: Likewise.
1737 * emulparams/pdp11.sh: New file.
1738
a842aceb
DB
17392001-02-17 David O'Brien <obrien@FreeBSD.org>
1740
1741 * configure.host: Add a generic FreeBSD configuration entry such that
1742 all [modern] FreeBSD systems on all platforms will look the same.
1743
24174db0
L
17442001-02-14 H.J. Lu <hjl@gnu.org>
1745
1746 * configure.tgt: Remove mention of earmelf_linux26.
1747
30c3c13a
RH
17482001-02-13 Richard Henderson <rth@redhat.com>
1749
1750 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
1751
b46a87b1
L
17522001-02-13 H.J. Lu <hjl@gnu.org>
1753
1754 * ldexp.h (node_type): Add etree_provided.
1755 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
1756 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 1757 for etree_provided.
b46a87b1
L
1758 (exp_print_tree): Handle etree_provided.
1759 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
1760 etree_provided.
1761
f3988fd9
RH
17622001-02-09 David Mosberger <davidm@hpl.hp.com>
1763
1764 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
1765 .IA_64.unwind.* pattern to unwind table section and
1766 .IA_64.unwind_info* pattern to unwind info section.
1767
a85d7ed0
NC
17682001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1769
1770 * Makefile.am: Add linux target for S/390.
1771 * Makefile.in: Likewise.
1772 * configure.host: Likewise.
1773 * configure.tgt: Likewise.
1774 * emulparams/elf64_s390.sh: New file.
1775 * emulparams/elf_s390.sh: New file.
1776
780248c4
JJ
17772001-02-09 Jakub Jelinek <jakub@redhat.com>
1778
1779 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
1780 targ_extra_libpath.
1781 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
1782
0e2534bd
PB
17832001-02-06 Philip Blundell <philb@gnu.org>
1784
1785 * Makefile.am: Remove mention of earmelf_linux26.
1786 * Makefile.in: Regenerate.
1787
46c1ea57
PB
17882001-02-04 Philip Blundell <philb@gnu.org>
1789
1790 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
1791 * emulparams/armelf_linux26.sh: Delete.
1792 * configure.tgt: Remove mention of armelf_linux26 emulation.
1793
0088edd2
NC
17942001-02-01 Nick Clifton <nickc@redhat.com>
1795
1796 * ld.1: Replace occurances of -oformat with --oformat.
1797
02aa14fb
AM
17982001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
1799
1800 * ldlang.c (lang_leave_overlay): Don't set lma_region when
1801 load_base is specified.
1802
f813923c
HPN
18032001-01-24 Hans-Peter Nilsson <hp@axis.com>
1804
1805 * emultempl/elf32.em: Correct spelling in comments and listed
1806 options.
1807
c1eb1488
AM
18082001-01-23 Alan Modra <alan@linuxcare.com.au>
1809
1810 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1811 default for the first section of a group of overlay sections.
1812
d9fc3714
AM
18132001-01-22 Alan Modra <alan@linuxcare.com.au>
1814
1815 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1816 * Makefile.in: Regenerate.
1817 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1818 Check for null tool_dir.
1819
6be0ca94
JW
18202001-01-16 Jim Wilson <wilson@redhat.com>
1821
1822 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1823 and IA_64.unwind.info.
1824
b9247304
L
18252001-01-16 H.J. Lu <hjl@gnu.org>
1826
1827 * ldlang.c (lang_check): Merge the private data only if the
1828 input file has contents.
1829
577a0623
AM
18302001-01-14 Alan Modra <alan@linuxcare.com.au>
1831
d952f17a
AM
1832 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1833
ffd6e9de
AM
1834 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1835 enabling search for libmilli. On a relocatable link, make .text
1836 sections unique.
1837 (LDEMUL_AFTER_PARSE): Define.
1838 (hppaelf_finish): Correct spelling of relocatable in comments.
1839
577a0623
AM
1840 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1841 rummage through the script for sections on the unique list.
1842 Correct length of strncmp for ".note".
1843 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1844
1845 * ldlang.c (unique_section_list): New var.
1846 (unique_section_p): New function.
1847 (walk_wild_section): Don't match sections on unique_section_list.
1848 (lang_add_unique): New function.
ffd6e9de 1849 Correct spelling of relocatable in comments.
577a0623
AM
1850
1851 * ldlang.h (struct unique_sections): Declare.
1852 (unique_section_list): Declare.
1853 (unique_section_p): Declare.
1854 (lang_add_unique): Declare.
1855
1856 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1857 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1858
1859 * ld.texinfo (--unique): Update.
1860
b7ed8fad
NC
18612001-01-13 Nick Clifton <nickc@redhat.com>
1862
1863 * lexsup.c (parse_args): Remove spurious white space.
1864
d0398d6a
NC
18652001-01-12 Nick Clifton <nickc@redhat.com>
1866
1867 * lexsup.c (parse_args): Update copyright date.
1868
350fdb00
PB
18692001-01-12 Philip Blundell <pb@futuretv.com>
1870
1871 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1872
60c6797e
KH
18732001-01-10 Kazu Hirata <kazu@hxi.com>
1874
1875 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1876 * scripttempl/h8300h.sc: Fix formatting.
1877 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
1878 * scripttempl/h8500.sc: Likewise.
1879 * scripttempl/h8500b.sc: Likewise.
1880 * scripttempl/h8500c.sc: Likewise.
1881 * scripttempl/h8500m.sc: Likewise.
1882 * scripttempl/h8500s.sc: Likewise.
60c6797e 1883
482e8b32
DB
18842000-01-07 David O'Brien <obrien@BSDi.com>
1885
1886 * emultempl/elf32.em: Only perform Linux ld hints processing when
1887 targeting Linux.
1888
d7ed7ca6
PB
18892001-01-07 Philip Blundell <philb@gnu.org>
1890
1891 * ld.texinfo (Bug Reporting): Update email address for reports.
1892
0fc3347a
NC
18932000-12-31 Nick Clifton <nickc@redhat.com>
1894
1895 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1896 options by checking for a return value of '?' not -1.
1897
e4897a32
NC
18982000-12-28 Nick Clifton <nickc@redhat.com>
1899
1900 * lexsup.c (struct ld_option): Add new enum value:
1901 EXACTLY_TWO_DASHES.
1902 (ld_options[]): Change -omagic, -output and -oformat options
1903 to be EXACTLY_TWO_DASHES.
1904 (OUTPUT_COUNT): Use ARRAY_SIZE.
1905 (parse_args): Change parameter 'argc' to unsigned.
1906 Place EXACTLY_TWO_DASHES options into new really_longopts
1907 array.
1908 If getopt_long_only fails, try calling getopt_long using the
1909 really_longopts array.
1910 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1911 TWO_DASHES options.
1912
1913 * ldlex.h: Fix prototype of parse_args.
1914
1915 * ld.texinfo: Document that long options starting with 'o'
1916 must be preceeded by two dashes. Change example of a single
1917 dashed long option from -oformat to -trace-symbol.
1918
1122a5fc
NC
19192000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1920
1921 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1922 (longopts[]): New --no-default-excludes option.
1923 (gld_${EMULATION_NAME}_list_options): Document.
1924 (gld_${EMULATION_NAME}_parse_args): Handle.
1925
037849a9
NC
19262000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1927
1928 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1929 whitespace, it breaks the K&R C preprocessor.
1930
7ec229ce
DD
19312000-12-11 DJ Delorie <dj@redhat.com>
1932
1933 * ld.texinfo: Add notes about --whole-archive and gcc.
1934
b79e8c78
NC
19352000-11-18 Fred Fish <fnf@be.com>
1936
1937 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1938 (ld_options): Entry for --allow-shlib-undefined.
1939 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1940 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1941 to false.
1942 * ld.texinfo: Document new command line switch.
d952f17a 1943
9a8e2505
GK
19442000-12-12 Geoffrey Keating <geoffk@redhat.com>
1945
1946 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1947 .fixup is actually read/write.
1948 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1949 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1950 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1951
b8355149
JH
1952Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
1953
1954 * NEWS: Add note about x86_64 architecture.
1955
93b63cd3
DD
19562000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
1957
1958 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1959 Set DWARF2 sections to a VMA of zero.
1960
24f6971a
NC
19612000-12-01 Joel Sherrill <joel@OARcorp.com>
1962
d952f17a 1963 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
1964 New targets.
1965 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1966 (sparc*-*-rtems*): Switched from a.out to ELF.
1967
2be3aa03
NC
19682000-11-30 Jan Hubicka <jh@suse.cz>
1969
1970 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1971 (eelf_x86_64.c): New.
1972 * Makefile.in: Regenerate.
1973 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1974 * emulparams/elf_x86_64.sh: New.
1975
8c899858
HPN
19762000-11-30 Hans-Peter Nilsson <hp@axis.com>
1977
1978 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1979 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1980
1981 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1982 merging non-a.out sections into CONSTRUCTING.
1983
e47b9e39
NC
19842000-11-28 Nick Clifton <nickc@redhat.com>
1985
1986 * ld.1 (COPYING): Mention that the GNU Free Documentation
1987 License is present in the sources, but not the output, and
1988 also available from the GNU website.
1989 (GNU Free Documentation License): Comment out this section.
1990
ad95f82a
DB
19912000-11-28 David O'Brien <obrien@dragon.nuxi.com>
1992
1993 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1994 does not use them.
1995
fd89e65f
DB
19962000-11-25 David O'Brien <obrien@FreeBSD.org>
1997
1998 * ld.1: Remove old date so it does not give the impression the manpage
1999 is way out of date.
2000
077b8428
NC
20012000-11-24 Nick Clifton <nickc@redhat.com>
2002
2003 * configure.tgt (xscale-coff): Add target.
2004 (xscale-elf): Add target.
2005
49425d28
NC
20062000-11-24 Fred Fish <fnf@be.com>
2007
d952f17a
AM
2008 * ldmain.c (main): Remove redundant init of config.make_executable
2009 to true.
49425d28 2010
d3480244
RH
20112000-11-15 Richard Henderson <rth@redhat.com>
2012
2013 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
2014
1ce7de8b
KH
20152000-11-14 Kazu Hirata <kazu@hxi.com>
2016
2017 * scripttempl/h8300.sc: Fix formatting.
2018 * scripttempl/h8300h.sc: Likewise.
2019 * scripttempl/h8300s.sc: Likewise.
2020
208d5cd0
DC
2021Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
2022
2023 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
2024
2e418547
PB
20252000-11-09 Philip Blundell <pb@futuretv.com>
2026
2027 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
2028 around orphan sections whose names can be represented in C.
2029
c940e6fc
JW
20302000-11-07 Jim Wilson <wilson@redhat.com>
2031
2032 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
2033 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
2034
704c465c
NC
20352000-11-06 Nick Clifton <nickc@redhat.com>
2036
2037 * ld.texinfo: Add GNU Free Documentation License.
2038 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 2039 * ld.1: Add GNU Free Documentation License.
704c465c 2040
dca7760f
AM
20412000-11-05 Alan Modra <alan@linuxcare.com.au>
2042
2043 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
2044 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
2045
2046 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
2047 Move 2000-11-02 Makefile.in changes to this file.
2048 * Makefile.in: Regenerate.
2049
40a633d5
NC
20502000-11-03 Nick Clifton <nickc@redhat.com>
2051
2052 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
2053 constructors and destructors.
2054 * scripttempl/h8300h.sc: Ditto.
2055 * scripttempl/h8300s.sc: Ditto.
2056 * scripttempl/h8500.sc: Ditto.
2057 * scripttempl/h8500b.sc: Ditto.
2058 * scripttempl/h8500c.sc: Ditto.
2059 * scripttempl/h8500m.sc: Ditto.
2060 * scripttempl/h8500s.sc: Ditto.
2061 * scripttempl/v850.sc: Ditto.
2062 * scripttempl/w65.sc: Ditto.
2063 * scripttempl/z8000.sc: Ditto.
2064
59ff2774
NC
20652000-11-02 Per Lundberg <plundis@chaosdev.org>
2066
2067 * Makefile.in (e_i386_chaos.c): New rule.
2068 (ALL_EMULATIONS): Added e_i386_chaos.o.
2069 * emulparams/elf_i386_chaos.sh: New file.
2070 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
2071
645571e1
JJ
20722000-10-20 Jakub Jelinek <jakub@redhat.com>
2073
2074 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
2075 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
2076 Fix sed invocation, so that it coped with '/' in Solaris 64bit
2077 library path suffix.
2078 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2079
c5975a45
HPN
20802000-10-18 Hans-Peter Nilsson <hp@axis.com>
2081
2082 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
2083 for consecutive sections.
2084
ea20a7da
CC
20852000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2086
d952f17a
AM
2087 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
2088 options.
2089 * ld.texinfo: Added notes about this new option.
ea20a7da 2090
6e45556a
NC
20912000-10-16 Nick Clifton <nickc@redhat.com>
2092
2093 * emultempl/pe.em (_after_open): Add tests of return values from
2094 bfd functions. Emit appropriate error messages if necessary.
2095
b9a69188
NC
20962000-10-13 Nick Clifton <nickc@redhat.com>
2097
2098 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
2099 local variables - they are not used, but leave in the call to
2100 bfd_canonicalize_symtab.
b9a69188
NC
2101 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
2102 pe_dll_search_prefix.
2103
627427de 21042000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 2105
627427de
DD
2106 * emultempl/pe.em (pe_dll_search_prefix): New variable,
2107 (longopts): New --dll-search-prefix option.
2108 (gld_${EMULATION_NAME}_list_options): Document.
2109 (gld_${EMULATION_NAME}_parse_args): Handle.
2110 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
2111 dynamically, search for a dll named '<prefix><basename>.dll'
2112 in preference to 'lib<basename>.dll' if --dll-search-prefix
2113 is specified.
2114
24376d1b
AM
21152000-10-12 Alan Modra <alan@linuxcare.com.au>
2116
2117 * ldlang.c (section_already_linked): Set kept_section instead of
2118 sec->comdat->sec.
2119
e47d05ad
KH
21202000-10-10 Kazu Hirata <kazu@hxi.com>
2121
2122 * deffile.h: Fix formatting.
2123 * lexsup.c: Likewise.
2124 * mri.c: Likewise.
2125
23a87948
DD
21262000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2127
2128 * pe-dll.c (make_one): Do not generate code thunk for DATA
2129 exports.
2130 (process_def_file): deduce DATA flag for auto-export sumbols.
2131
86b1cc60
KH
21322000-10-09 Kazu Hirata <kazu@hxi.com>
2133
89cdebba
KH
2134 * ld.h: Fix formatting.
2135 * ldcref.c: Likewise.
2136 * ldctor.h: Likewise.
2137 * ldemul.c: Likewise.
2138 * ldemul.h: Likewise.
2139 * ldexp.c: Likewise.
2140 * ldexp.h: Likewise.
2141 * ldfile.c: Likewise.
2142 * ldfile.h: Likewise.
2143 * ldlang.c: Likewise.
2144 * ldlang.h: Likewise.
2145 * ldmain.c: Likewise.
7bfd51a3
KH
2146 * pe-dll.c: Likewise.
2147
2148 * pe-dll.c: Revert some formatting fixes.
86b1cc60 2149
d643799d
KH
21502000-10-08 Kazu Hirata <kazu@hxi.com>
2151
2152 * pe-dll.c: Fix formatting.
2153
08da4cac
KH
21542000-10-05 Kazu Hirata <kazu@hxi.com>
2155
2156 * ldlang.c: Fix formatting.
2157
c2a94a7a
DD
21582000-10-03 DJ Delorie <dj@redhat.com>
2159
2160 * pe-dll.c (fill_edata): initialize entire block
2161 (make_one): fill in correct section.
2162
8c95a62e
KH
21632000-10-03 Kazu Hirata <kazu@hxi.com>
2164
2165 * ldexp.c: Fix formatting.
2166
486e80e2
DD
21672000-10-02 DJ Delorie <dj@redhat.com>
2168
2169 * emultempl/pe.em (gld_*_after_open): detect case where there two
2170 import libraries for same dll; rename one to ensure proper link
2171 order.
2172
2173 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
2174 typo
2175 (generate_edata): fix typo
2176
24dd9f75
HPN
21772000-09-29 Hans-Peter Nilsson <hp@axis.com>
2178
2179 * scripttempl/crisaout.sc (ENTRY): Now __start.
2180 (.text): Add default setting for __start.
2181 Remove CONSTRUCTORS handling.
2182 (/DISCARD/): Add .gnu.warning.*.
2183 * emulparams/crislinux.sh (ENTRY): Now __start.
2184 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
2185 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
2186 (ENTRY): Now __start.
2187 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
2188 (EXECUTABLE_SYMBOLS): Add default setting for __start.
2189
4de2d33d
KH
21902000-09-29 Kazu Hirata <kazu@hxi.com>
2191
5cc18311
KH
2192 * deffile.h: Fix formatting.
2193 * ld.h: Likewise.
2194 * ldcref.c: Likewise.
4de2d33d 2195 * ldctor.c: Likewise.
5cc18311 2196 * ldctor.h: Likewise.
4de2d33d 2197 * ldemul.c: Likewise.
5cc18311 2198 * ldemul.h: Likewise.
4de2d33d 2199 * ldexp.c: Likewise.
5cc18311 2200 * ldexp.h: Likewise.
4de2d33d 2201 * ldfile.c: Likewise.
5cc18311 2202 * ldfile.h: Likewise.
4de2d33d 2203 * ldlang.c: Likewise.
5cc18311
KH
2204 * ldlang.h: Likewise.
2205 * lexsup.c: Likewise.
2206 * mri.c: Likewise.
2207 * pe-dll.c: Likewise.
4de2d33d 2208
45b1f63c
DD
22092000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2210
2211 * pe-dll.c (process_def_file): Uninitialized data wasn't
2212 exported with --export-all-symbols switch.
d952f17a 2213
45b1f63c
DD
22142000-09-28 DJ Delorie <dj@redhat.com>
2215
2216 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
2217 noname work properly.
2218
47d89dba
AM
22192000-09-28 Alan Modra <alan@linuxcare.com.au>
2220
2221 * ld.texinfo (HPPA ELF32): New section.
2222
2223 * emultempl/hppaelf.em (group_size): New.
2224 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
2225 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
2226 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
2227 options to prevent abbreviations matching.
2228 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
2229 (PARSE_AND_LIST_ARGS_CASES): Handle it.
2230
36bdbeec
NC
22312000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2232
2233 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
2234 on the m68*-*-elf target. Make it support COFF input objects.
2235
6d5e62f8
KH
22362000-09-21 Kazu Hirata <kazu@hxi.com>
2237
2238 * ldmain.c: Fix formatting.
2239 * ldmisc.c: Likewise.
2240 * ldver.c: Likewise.
2241 * ldwrite.c: Likewise.
2242
e2eb67d9
AM
22432000-09-21 Alan Modra <alan@linuxcare.com.au>
2244
2245 * ldwrite.c (clone_section): Silence gcc warnings.
2246
b3ea3584
AM
22472000-09-20 Alan Modra <alan@linuxcare.com.au>
2248
2249 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
2250 out of memory failure.
2251
2252 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
2253 (clone_section): Handle out of memory failures. Rename var to
2254 avoid c++ reserved word.
2255
25f72752
AM
22562000-09-18 Alan Modra <alan@linuxcare.com.au>
2257
2258 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
2259 stub_name param to stub_sec_name.
2260 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2261
0752970e
NC
22622000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2263
2264 * emultempl/m68kelf.em: New file.
2265 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
2266 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
2267 * Makefile.in: Regenerate.
2268
92b7e9d8
AM
22692000-09-15 Alan Modra <alan@linuxcare.com.au>
2270
2271 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
2272 only as needed.
2273
9b14b192
NC
22742000-09-13 Nick Clifton <nickc@redhat.com>
2275
2276 * ldmain.c (multiple_definition): Disable relaxation if
2277 multiple symbol definitions are encountered - otherwise the
2278 linker could abort with an assertion failure.
2279
891fa266
NC
22802000-09-10 Nick Clifton <nickc@redhat.com>
2281
2282 * mri.c: Fix formatting.
2283
5d64ca4e
L
22842000-09-07 H.J. Lu <hjl@gnu.org>
2285
2286 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2287 * configure: Rebuild.
2288
dd94604f
L
22892000-09-07 H.J. Lu <hjl@gnu.org>
2290
2291 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
2292 * Makefile.in: Rebuild.
2293
71bfc0ae
AM
22942000-09-07 Alan Modra <alan@linuxcare.com.au>
2295
2296 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
2297 broken list handling. Create __start_SECNAME and __stop_SECNAME
2298 when no place-holder. Add some comments. Test both SEC_CODE and
2299 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 2300 Handle case where no output section statement created.
71bfc0ae 2301
4a428502
AO
23022000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
2303
2304 * configure.tgt (sh-*-linux*): Added.
2305 * Makefile.am: Added eshelf_linux and eshlelf_linux.
2306 * Makefile.in: Rebuilt.
2307 * emulparams/shelf_linux.sh: New file.
2308 * emulparams/shlelf_linux.sh: New file.
2309
f9989030
AM
23102000-09-06 Alan Modra <alan@linuxcare.com.au>
2311
2312 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2313 try shuffling sections when the orphan happens to be the place
2314 holder. Keep count of unique section names generated so we speed
2315 the search for a new name.
2316
58cccadb
AO
23172000-09-06 Alexandre Oliva <aoliva@redhat.com>
2318
2319 * configure: Rebuilt with new libtool.m4.
2320
5b343f5a
NC
23212000-09-05 Nick Clifton <nickc@redhat.com>
2322
2323 * Makefile.in: Regenerate.
2324 * aclocal.m4: Regenerate.
2325 * configure: Regenerate.
2326 * config.in: Regenerate.
2327 * po/ld.pot: Regenerate.
2328
2329 * ldint.texinfo: Remove CVS revision marker - it foils local
2330 comparisons.
2331
2332 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 2333
a854a4a7
AM
23342000-09-05 Alan Modra <alan@linuxcare.com.au>
2335
3231d22e
AM
2336 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
2337 to stub section flags.
2338 (hppa_for_each_input_file_wrapper): New.
2339 (hppa_lang_for_each_input_file): New.
2340 (lang_for_each_input_file): Define to call above.
2341 (multi_subspace): New.
2342 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
2343 (PARSE_AND_LIST_PROLOGUE): Define.
2344 (PARSE_AND_LIST_LONGOPTS): Define.
2345 (PARSE_AND_LIST_OPTIONS): Define.
2346 (PARSE_AND_LIST_ARGS_CASES): Define.
2347 (hppaelf_finish): Call elf32_hppa_set_gp.
2348 (hppaelf_set_output_arch): Remove.
2349 (LDEMUL_SET_OUTPUT_ARCH): Remove.
2350
2351 * emulparams/hppalinux.sh (ELFSIZE): Define.
2352 (MACHINE): Define.
2353 (OTHER_READONLY_SECTIONS): Define.
2354 (DATA_PLT): Define.
2355 (GENERATE_SHLIB_SCRIPT): Define.
2356
5f992e62
AM
2357 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
2358 to const throughout. Change `void *' to `PTR' throughout.
2359 (lang_memory_default): Function is local to file, add `static'.
2360
2361 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
2362 (ehppalinux.c): Likewise.
2363 (earmelf.c): Likewise.
2364 (earmelf_linux.c): Likewise.
2365 (earmelf_linux26.c): Likewise.
2366 * Makefile.in: Regenerate.
2367
a854a4a7
AM
2368 * ld.h (ld_config_type): Add unique_orphan_sections.
2369 * lexsup.c (OPTION_UNIQUE): Define.
2370 (ld_options): Add "--unique".
2371 (parse_args): Handle it.
2372 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2373 search for an existing output section if unique_orphan_sections is
2374 set. Make use of bfd_get_unique_section_name rather than
2375 duplicating code here.
2376 * ld.texinfo: Describe --unique.
2377
2378 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
2379 optional arg to split-by-file.
2380 (parse_args): Handle them.
2381 * ld.texinfo: Update description of these options.
2382 * ldwrite.c (clone_section): Pass in the section name. Replace
2383 local code with bfd_get_unique_section_name.
2384 (split_sections): Tidy code and comments. Use a list traversal
2385 more appropriate to the list construction. Handle cooked section
2386 sizes. Split when split_by_reloc reached rather than exceeded.
2387 Track section size and split when split_by_file reached. Fix
2388 link_order_tail (even though it's not used).
2389 (ldwrite): Modify condition for calling split_sections to suit
2390 changed split_by_reloc and split_by_file.
2391 * ldmain.c (main): Init config.split_by_reloc and
2392 config.split_by_file to -1.
2393 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
2394 Change split_by_file to bfd_size_type.
2395
18e03609
NC
23962000-09-02 Nick Clifton <nickc@redhat.com>
2397
2398 * configure.in: Increase version number to 2.10.91.
2399 * NEWS: Mention new ability to support removal of duplicate DWARF2
2400 debug information.
2401 * configure: Regenerate.
2402 * aclocal.m4: Regenerate.
2403 * config.in: Regenerate.
2404
3a9d486c
NC
24052000-09-02 Daniel Berlin <dberlin@redhat.com>
2406
2407 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
2408 sections.
a2b64bed 2409 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
2410 * scripttempl/elfd10v.sc: Ditto.
2411 * scripttempl/elfd30v.sc: Ditto.
2412 * scripttempl/elfi370.sc: Ditto.
2413 * scripttempl/elfm68hc11.sc: Ditto.
2414 * scripttempl/elfm68hc12.sc: Ditto.
2415 * scripttempl/elfi386beos.sc: Ditto.
2416 * scripttempl/v850.sc: Ditto.
50bbae35 2417
ac48eca1
AO
24182000-08-31 Alexandre Oliva <aoliva@redhat.com>
2419
2420 * acinclude.m4: Include libtool and gettext macros from the
2421 top level.
2422 * aclocal.m4, configure: Rebuilt.
2423
c13b1b77
NC
24242000-08-25 Nick Clifton <nickc@redhat.com>
2425
2426 * ldlang.c (open_output): When choosing the target for a
2427 particular endianness, do nothing if the target is not
2428 supported.
2429
dcb0bd0e
L
24302000-08-25 H.J. Lu <hjl@gnu.org>
2431
2432 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
2433 check -rpath nor LD_RUN_PATH for cross link.
2434 * ld.texinfo: Document the change.
2435
5bcac8a4
HPN
24362000-08-24 Hans-Peter Nilsson <hp@axis.com>
2437
2438 * NEWS: Mention support for CRIS.
2439
6dd8c765
L
24402000-08-23 H.J. Lu <hjl@gnu.org>
2441
2442 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
2443 the current runpath list from bfd_elf_get_runpath_list ()
2444 before search.
2445
ec4eb78a
L
24462000-08-22 H.J. Lu <hjl@gnu.org>
2447
2448 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
2449 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
2450 LD_LIBRARY_PATH for native linker. Display the needed DSO if
2451 trace_file_tries is non-zero.
2452 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
2453 if trace_file_tries is non-zero.
2454
2455 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 2456 * NEWS: Mention it.
ec4eb78a 2457
22b36938
JE
24582000-08-14 Jason Eckhardt <jle@cygnus.com>
2459
2460 * NEWS: Mention i860 support.
2461
d73e9da0
AS
24622000-08-14 Andreas Schwab <schwab@suse.de>
2463
2464 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 2465 syntax.
d73e9da0 2466
9ac4db9c
GK
24672000-08-10 Geoff Keating <geoffk@cygnus.com>
2468
2469 * scripttempl/elf.sc: Add a comment giving the correspondence
2470 between sections, per-datum sections, and linkonce sections. Make
2471 the comment true even for .bss, .sdata, .sdata2, .sbss, and
2472 .sbss2.
2473
165589e4
JE
24742000-08-10 Jason Eckhardt <jle@cygnus.com>
2475
2476 * emulparams/elf32_i860.sh: New file.
2477 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
2478 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2479 (eelf32_i860.c): New rule.
2480 * Makefile.in: Regenerate.
2481
345a835d
NC
24822000-08-10 Nick Clifton <nickc@cygnus.com>
2483
2484 * emulparams/mipspe.sh (ENTRY): Add definition.
2485
e374f1d9
NC
24862000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
2487
2488 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2489 in error message.
2490
236d5abf
NC
24912000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2492
2493 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2494 the final size of .bss section.
2495 * scripttempl/elfm68hc12.sc: Likewise.
2496
4b209b22
AM
24972000-08-04 Alan Modra <alan@linuxcare.com.au>
2498
2499 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2500 gld${EMULATION_NAME}_parse_args for consistency. Combine
2501 lastoptind and prevoptind vars, and keep track of last optind.
2502 (gld_${EMULATION_NAME}_list_options): Rename to
2503 gld${EMULATION_NAME}_list_options.
2504
28423a68
AM
25052000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
2506
2507 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2508 (i586-sco-sysv5uw7.1.0).
2509
b2009ff7
L
25102000-07-27 H.J. Lu <hjl@gnu.org>
2511
2512 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2513 (PARSE_AND_LIST_PROLOGUE): New.
2514 (PARSE_AND_LIST_LONGOPTS): Likewise.
2515 (PARSE_AND_LIST_OPTIONS): Likewise.
2516 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2517 (PARSE_AND_LIST_EPILOGUE): Likewise.
2518
04925e1e
AM
25192000-07-28 Alan Modra <alan@linuxcare.com.au>
2520
41392f03
AM
2521 * emultempl/armelf.em: Elide functions common to elf32.em,
2522 ie. most of the file.
2523 (arm_elf_after_open): New. Do arm specific things then call
2524 gld${EMULATION_NAME}_after_open.
2525 (arm_elf_before_allocation): New. Call
2526 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2527 (PARSE_AND_LIST_PROLOGUE): Define.
2528 (PARSE_AND_LIST_SHORTOPTS): Define.
2529 (PARSE_AND_LIST_LONGOPTS): Define.
2530 (PARSE_AND_LIST_OPTIONS): Define.
2531 (PARSE_AND_LIST_ARGS_CASES): Define.
2532 (LDEMUL_AFTER_OPEN): Define.
2533 (LDEMUL_BEFORE_ALLOCATION): Define.
2534 (LDEMUL_BEFORE_PARSE): Define.
2535 (LDEMUL_FINISH): Define.
2536
2537 * emultempl/hppaelf.em: Similarly zap most of this file.
2538 (hppaelf_add_stub_section): Prototype.
2539 (hppaelf_layaout_sections_again): Prototype.
2540 (hook_in_stub): Prototype.
2541 (LDEMUL_SET_OUTPUT_ARCH): Define.
2542 (LDEMUL_FINISH): Define.
2543 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2544
2545 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2546 (EXTRA_EM_FILE): New.
2547 * emulparams/armelf_linux.sh: Likewise.
2548 * emulparams/armelf_linux26.sh: Likewise.
2549 * emulparams/hppalinux.sh: Likewise.
2550 * emulparams/hppaelf.sh: Likewise.
2551 (NOP): Define.
2552
2553 * emultempl/elf32.em: Fix formatting.
2554 (EXTRA_EM_FILE): Source it.
2555 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2556 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2557 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2558 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2559 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2560 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2561 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2562 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2563 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2564 allow functions in this file to be overridden.
2565 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2566
2567 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2568
04925e1e
AM
2569 * emultempl/elf32.em: Reorganize file.
2570
88cdf297
NC
25712000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
2572
2573 * emulparams/elf64alpha.sh: Implement "-taso" emulation
2574 specific option to fit 64-bit executable in the lower
2575 31-bit address range. This is done by changing start
2576 address of .interp (the very first section of executable)
2577 and then setting EF_ALPHA_32BIT elf header flag.
2578
20bccb34
NC
25792000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2580
2581 * emultempl/m68kcoff.em: New file.
2582 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
2583 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
2584 generic.em.
2585 * Makefile.in: Regenerate.
2586
699845ef
L
25872000-07-20 H.J. Lu <hjl@gnu.org>
2588
2589 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2590 and "disable-new-dtags" to stop getopt from treating -d/-e as
2591 abbreviations for these options.
2592
6c1439be
L
25932000-07-20 H.J. Lu <hjl@gnu.org>
2594
2595 * ld.texinfo: Add documentation for --disable-new-dtags and
2596 --enable-new-dtags.
2597
2598 * ldmain.c (main): Initialize link_info.new_dtags to false.
2599
2600 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
2601 --disable-new-dtags and --enable-new-dtags.
2602 (gld_${EMULATION_NAME}_list_options): Likewise.
2603
28c309a2
NC
26042000-07-05 Kenneth Block <krblock@computer.org>
2605
a2b64bed
NC
2606 * lexsup.c: Add optional style to demangle switch
2607 * ld.texinfo: Document optional style to demangle switch.
50bbae35 2608
9d06555c
HPN
26092000-07-20 Hans-Peter Nilsson <hp@axis.com>
2610
2611 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
2612 ecrislinux.o.
2613 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
2614 Regenerate dependencies.
2615 * Makefile.in: Rebuild.
2616 * configure.tgt (cris-*-*): New target.
2617 * emulparams/crisaout.sh, emulparams/criself.sh,
2618 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
2619 * po/POTFILES.in, po/ld.pot: Regenerate.
2620
19e3be22
L
26212000-07-20 H.J. Lu <hjl@gnu.org>
2622
2623 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
2624 Print out ignored -z options.
2625
e0ee487b
L
26262000-07-19 H.J. Lu <hjl@gnu.org>
2627
19e3be22
L
2628 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
2629 (PARSE_AND_LIST_PROLOGUE): New.
2630 (PARSE_AND_LIST_LONGOPTS): Likewise.
2631 (PARSE_AND_LIST_OPTIONS): Likewise.
2632 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2633
2634 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
2635
2636 * lexsup.c (ld_options): Comment out 'z'.
2637 (parse_args): Likewise.
2638
2639 * emultempl/elf32.em: Include "elf/common.h".
2640 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
2641 options.
2642 (gld_${EMULATION_NAME}_list_options): Likewise.
2643
2644 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 2645
49e56c49
L
26462000-07-19 H.J. Lu <hjl@gnu.org>
2647
2648 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
2649 bfd_elf_set_dt_needed_soname ().
2650
9d68bc82
DD
26512000-07-18 DJ Delorie <dj@cygnus.com>
2652
2653 * pe-dll.c (pe_dll_id_target): check object target name also
2654
53db15ed
HPN
26552000-07-18 Hans-Peter Nilsson <hp@axis.com>
2656
2657 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
2658 ${INIT_END} if relocating.
2659 (.fini): Likewise ${FINI_START} and ${FINI_END}.
2660
0ad8cf4c
DD
26612000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
2662
a2b64bed 2663 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
2664 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
2665 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
2666 errors introduced by the old dynamic lib search order.
2667
874c8c99
DD
26682000-07-17 DJ Delorie <dj@cygnus.com>
2669
2670 * pe-dll.c (process_def_file): auto-export data items also
2671 (pe_process_import_defs): also see if _imp_ form needed
2672
5b4cf3f4
DD
26732000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
2674
2675 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
2676 for dll import libraries
2677
062739d1
NC
26782000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
2679
2680 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 2681 gcc 2.95.2 and later.
062739d1 2682
1c64c4ed
NC
26832000-07-11 Kazu Hirata <kazu@hxi.com>
2684
50bbae35
AM
2685 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
2686 message.
1c64c4ed 2687
b71e2778
AM
26882000-07-10 Alan Modra <alan@linuxcare.com.au>
2689
2690 * ldemul.h (struct lang_input_statement_struct): Remove forward
2691 declaration.
2692 (struct search_dirs): Likewise.
2693 * ldfile.h (struct lang_input_statement_struct): Likewise.
2694 Protect file from multiple inclusion.
2695 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
2696 declaration from macro to file scope.
2697
2698 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
2699 * ldgram.y: Likewise here.
2700 * ldlang.c: And here.
2701 * ldmain.c: And here.
2702 * mpw-elfmips.c: And here.
2703 * mpw-eppcmac.c: And here.
2704 * emultempl/aix.em: And here.
2705 * emultempl/armcoff.em: And here.
2706 * emultempl/armelf.em: And here.
2707 * emultempl/armelf_oabi.em: And here.
2708 * emultempl/beos.em: And here.
2709 * emultempl/elf32.em: And here.
2710 * emultempl/hppaelf.em: And here.
2711 * emultempl/linux.em: And here.
2712 * emultempl/lnk960.em: And here.
2713 * emultempl/pe.em: And here.
2714 * emultempl/sunos.em: And here.
2715 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
2716 * mpw-idtmips.c: Ditto.
2717 * emultempl/generic.em: Ditto.
2718 * emultempl/gld960.em: Ditto.
2719 * emultempl/gld960c.em: Ditto.
2720 * emultempl/mipsecoff.em: Ditto.
2721 * emultempl/ticoff.em: Ditto.
2722 * emultempl/vanilla.em: Ditto.
2723
2724 * pe-dll.c: Include ldfile.h
2725 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
2726
2727 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
2728 arguments to bfd_elf32_size_dynamic_sections call.
2729 (gldelf32ebmip_place_orphan): Add missing arguments to
2730 lang_leave_output_section_statement call.
2731
2ef53d66
L
27322000-07-10 H.J. Lu <hjl@gnu.org>
2733
2734 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
2735 DLL_SUPPORT.
2736 (strhash): Likewise.
2737 (compute_dll_image_base): Likewise.
2738 (pe_undef_found_sym): Likewise.
2739 (pe_undef_cdecl_match): Likewise.
2740 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
2741 argument "arch" with ATTRIBUTE_UNUSED.
2742
9a8cbb09
AM
27432000-07-10 Alan Modra <alan@linuxcare.com.au>
2744
2745 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
2746
2747 From Ryan Bradetich <rbradetich@uswest.net>
2748 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 2749
4900fc06
AM
27502000-07-09 Alan Modra <alan@linuxcare.com.au>
2751
2752 Changes to create multiple linker stubs, positioned immediately
2753 before the section where they are required.
2754 * emultempl/hppaelf.em: Include elf32-hppa.h.
2755 (stub_sec, file_chain): Delete.
2756 (hppaelf_create_output_section_statements): Don't make a stub
2757 section here.
2758 (hook_stub_info): New struct.
2759 (hook_in_stub): New function.
2760 (hppaelf_add_stub_section): New function.
2761 (hppaelf_finish): Do nothing for relocateable links. Modify the
2762 call to elf32_hppa_size_stubs. Move code for updating section
2763 layout from here...
2764 (hppaelf_layaout_sections_again): ..to here, a new function.
2765
2766 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
2767 broken list handling. Pass in a pointer to the list.
2768 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
2769 for above changes.
2770 (hppaelf_before_parse): Prototype.
2771 (hppaelf_set_output_arch): Prototype.
2772 (hppaelf_create_output_section_statements): Prototype.
2773 (hppaelf_delete_padding_statements): Prototype.
2774 (hppaelf_finish): Prototype.
2775
2776 Merge from elf32.em
2777 * emultempl/hppaelf.em: Include ctype.h.
2778 (struct orphan_save): New.
2779 (gld${EMULATION_NAME}_place_orphan): New.
2780 (output_rel_find): New.
2781 (hppaelf_get_script): Update from elf32.em.
2782 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
2783 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 2784 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
2785
2786 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
2787 ehppalinux.o, sort it. Regenerate dependencies.
2788 (ehppalinux.c): Depend on hppaelf.em
2789 * Makefile.in: Regenerate.
2790
2791 * configure.tgt: targ_emul=hppalinux for hppa*linux
2792
2793 * emulparams/hppalinux.sh: New.
2794 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2795
227aeb07
AM
27962000-07-08 Alan Modra <alan@linuxcare.com.au>
2797
2798 * lexsup.c (parse_args): Copy section name.
2799
28609fd4 28002000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 2801
2ef53d66 2802 * emultempl/pe.em: institute the following search order for
602e90d3
DD
2803 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2804 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2805 static lib (libfoo.a) if none of the above are found.
2806
5f577f7d
DD
28072000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
2808
50bbae35 2809 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 2810 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 2811 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
2812 (gld_${EMULATION_NAME}_parse): Handle.
2813 (strhash): New static function.
50bbae35 2814 (compute_dll_image_base): New static function.
5f577f7d
DD
2815 (gld_${EMULATION_NAME}_set_symbols): Use.
2816
9a8cbb09 28172000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
2818
2819 * MAINTAINERS: new
2820
3548145d 28212000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
2822
2823 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2824 * emulparams/elf32btsmip.sh: New file.
2825 * Makefile.am: Add traditional mips target.
2826 * Makefile.in: Rebuild.
2827
67798033
L
28282000-07-01 H.J. Lu <hjl@gnu.org>
2829
2830 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2831 automake to use YLWRAP.
2832 * Makefile.in: Rebuild.
2833
0bdaf48b
AM
28342000-07-01 Alan Modra <alan@linuxcare.com.au>
2835
2836 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2837 (CLEANFILES): Add DEPA.
2838 * Makefile.in: Regenerate.
2839
c9e769c2
TW
28402000-06-30 Timothy Wall <twall@ppc>
2841
2842 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2843 the page in the upper octet of the address.
2844
65aa24b6
NC
28452000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2846
2847 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2848
4667035e
AM
28492000-06-24 Alan Modra <alan@linuxcare.com.au>
2850
2851 * NEWS: arm-elf does --gc-sections too.
2852
1581f8c9
AM
28532000-06-22 Alan Modra <alan@linuxcare.com.au>
2854
2855 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2856 find one.
2857 * Makefile.in: Regenerate.
2858
01580992
L
28592000-06-21 H.J. Lu <hjl@gnu.org>
2860
2861 * Makefile.am: Rebuild dependency.
2862 * Makefile.in: Rebuild.
2863
bbeb2e03
L
28642000-06-20 H.J. Lu <hjl@gnu.org>
2865
2866 * Makefile.am: Rebuild dependency.
2867 * Makefile.in: Rebuild.
2868
74459f0e
TW
28692000-06-20 Timothy Wall <twall@cygnus.com>
2870
2871 * scripttempl/tic54xcoff.sc: New.
2872 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2873 * gen-doc.texi: Add flag for TI COFF.
2874 * ld.texinfo: Add documentation for TI COFF handling switches.
2875 * emultempl/ticoff.em: New. TI COFF handling.
2876 * configure.tgt: Add tic54x target.
2877 * Makefile.am: Add tic54x target.
2878 * Makefile.in: Ditto.
2879
2ab47eed
AM
28802000-06-20 Alan Modra <alan@linuxcare.com.au>
2881
2882 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2883 checking for backslashes.
2884
919e4093
AM
28852000-06-19 Alan Modra <alan@linuxcare.com.au>
2886
2887 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2888
987fd5b4
AM
28892000-06-18 Alan Modra <alan@linuxcare.com.au>
2890
2891 * NEWS: Update list of targets supporting --gc-sections.
2892
2893 * scripttempl/elf.sc: KEEP .eh_frame contents.
2894 * scripttempl/elfd30v.sc: Same here.
2895
60bcf0fa
NC
28962000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2897
2898 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2899 and m68hc11 (elf).
2900 * Makefile.in: Rebuild.
2901 * configure.tgt: Recognize m68hc12 and m68hc11.
2902 * scripttempl/elfm68hc12.sc: New file.
2903 * emulparams/m68hc12elfb: New emulation.
2904 * emulparams/m68hc12elf: New emulation.
2905 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2906 (includes a memory.x script to define the ROM and RAM banks).
2907 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2908 New configuration files for support of Motorola 68hc11
2909
c7c54483
AM
29102000-06-15 Alan Modra <alan@linuxcare.com.au>
2911
2912 * ldmain.c (main): Only change SEC_READONLY for final link.
2913
bcef29e6
L
29142000-06-13 H.J. Lu <hjl@gnu.org>
2915
2916 * configure: Regenerate.
2917
946efd95
DB
29182000-06-08 David O'Brien <obrien@FreeBSD.org>
2919
2920 * configure.in (VERSION): Update to show this is the CVS mainline.
2921
57a6fd07
DB
29222000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2923
2924 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2925 input objects to be ECOFF.
2926 (check_sections): einfo takes %B, not %P, to print a BFD name.
2927
e06cae36
L
29282000-06-05 Michael Matz <matz@ifh.de>
2929
2930 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 2931 version scripts.
e06cae36 2932
d952f17a 2933 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 2934
2f0b56c0
DC
29352000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
2936
2937 * emulparams/avr1200.sh (STACK): Define as 0.
2938 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2939 * emulparams/avr4433.sh (STACK): Likewise.
2940 * emulparams/avr44x4.sh (STACK): Likewise.
2941 * emulparams/avr85xx.sh (STACK): Likewise.
2942 * emulparams/avrmega103.sh (STACK): Likewise.
2943 * emulparams/avrmega161.sh (STACK): Likewise.
2944 * emulparams/avrmega603.sh (STACK): Likewise.
2945 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2946 (__stack): Define from ${STACK} for main().
2947
2114f57b
AM
29482000-05-26 Alan Modra <alan@linuxcare.com.au>
2949
2950 * Makefile.am: Update dependencies with "make dep-am"
2951 * Makefile.in: Regenerate.
2952
5af11cab
AM
29532000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2954
2955 * ldmain.c: Include filenames.h.
2956 (set_scripts_dir): Support backslashes in program name.
2957
1f0df59a
NC
29582000-05-22 Igor Shevlyakov <igor@windriver.com>
2959
2960 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
2961 read-only, don't forget to reset SEC_READONLY because it
2962 could be already set.
1f0df59a 2963
176355da
NC
29642000-05-22 Thomas de Lellis <tdel@windriver.com>
2965
50bbae35
AM
2966 * ld.1: Add documentation for new command line option:
2967 --section-start <sectionname>=<sectionorg>
2968 This is a generic version of -Ttext etc. which accepts
2969 any section name as a parameter instead of just text/data/
2970 bss.
2971 * ld.texinfo: More docs.
2972 * NEWS: More docs.
2973 * lexsup.c: (parse_args): Recognize new command line option.
176355da 2974 (ld_options): Add new option.
50bbae35 2975
8c5ff972
L
29762000-05-18 H.J. Lu <hjl@gnu.org>
2977
2978 * lexsup.c (parse_args): `i' == `r', not `q'.
2979
0b76fe77
JL
2980Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
2981
2982 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2983
a712da20
NC
29842000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
2985 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 2986
a712da20
NC
2987 Add support for '-q' == '--emit-relocs' switch.
2988 * ldmain.c (main): Default to false.
2989 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2990 * NEWS: Describe the emitrelocations switch.
2991 * ld.texinfo: Describe the emitrelocations switch.
2992
690a460e
NC
29932000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
2994
a2b64bed 2995 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
2996 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2997 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2998 link options.
50bbae35 2999
c2f1343c
AM
30002000-05-15 David O'Brien <obrien@FreeBSD.org>
3001
3002 * lexsup.c (parse_args): Update the year in the copyright notice.
3003
897083bd
AM
30042000-05-13 Alan Modra <alan@linuxcare.com.au>
3005
3006 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
3007 Replace defines with those from intl/libgettext.h to quieten gcc
3008 warnings.
3009
cd4c806a
L
30102000-05-10 H.J. Lu <hjl@gnu.org>
3011
3012 * ldlang.c (open_input_bfds): Don't load the same file within
3013 a group again if the whole archive has been loaded already.
3014
93697284
AM
30152000-05-03 Alan Modra <alan@linuxcare.com.au>
3016
3017 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
3018 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
3019 strtoul.
3020
ebd6fc29
JW
3021Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
3022
99a4150f 3023 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 3024
ebd6fc29
JW
3025 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3026 host "ia64-*-linux-gnu*".
3027
a1934524
AM
30282000-04-29 Andreas Jaeger <aj@suse.de>
3029
3030 * ld.h: Correctly check GCC version.
3031
730a39a0
JL
3032Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
3033
3034 * Makefile.am: Add PA64 support. Add missing dependencies for
3035 PA32 elf support.
3036 * Makefile.in: Rebuilt.
3037 * configure.tgt: Add PA64 support (currently disabled).
3038
aea4bd9d
AM
30392000-04-25 Alan Modra <alan@linuxcare.com.au>
3040
3041 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
3042 (output_rel_find): New function.
3043 (hold_section, hold_use): Delete.
3044 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3045 hold_interp): Make local to place_orphan.
3046 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
3047 rather than place_section to find possible previous use of orphan.
3048 Similarly find the place-holder output sections. Use returned
3049 value from lang_enter_output_section_statement rather than calling
3050 lang_output_section_statement_lookup.
3051 * emultempl/armelf.em: Same here.
3052 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
3053
3054 * ldlang.c (lang_enter_output_section_statement): Return output
3055 section statement.
3056 * ldlang.h (lang_enter_output_section_statement): Change
3057 declaration too.
3058
3059 * ldlang.h (lang_output_section_statement): Export it.
3060 * ldlang.c (lang_output_section_statement): Ditto.
3061
2b5fc1f5
NC
30622000-04-24 Nick Clifton <nickc@cygnus.com>
3063
3064 * ld.texinfo (Output Section Data): Add note that section data
3065 commands cannot appear outside of section directives.
3066
d8475ff6
JL
30672000-04-2 Matthew Green <mrg@cygnus.com>
3068
3069 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
3070
800eeca4
JW
3071Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
3072 David Mosberger <davidm@hpl.hp.com>
3073
3074 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
3075 (eelf64_ia64.c): New rule.
3076 * Makefile.in: Rebuild.
3077 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
3078 * emulparams/elf64_ia64.sh: New file.
50bbae35 3079
c9637625
RH
30802000-04-21 Richard Henderson <rth@cygnus.com>
3081
3082 * scripttempl/elfd30v.sc: Place .gcc_except_table.
3083
28ea9521
AM
30842000-04-19 Alan Modra <alan@linuxcare.com.au>
3085
3086 * dep-in.sed: Match space at start of file name, not at end.
3087
20d04697
L
30882000-04-18 H.J. Lu <hjl@gnu.org>
3089
3090 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
3091 lang_leave_output_section_statement () after calling
3092 lang_enter_output_section_statement ().
3093 * emultempl/armelf.em: Likewise.
3094
5ba47421
AM
30952000-04-18 Alan Modra <alan@linuxcare.com.au>
3096
3097 * emultempl/elf32.em (struct orphan_save): Add section field.
3098 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
3099 better order, and place first orphan section as we did before the
3100 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
3101 Don't call make_bfd_section here, let wild_doit do the job for us.
3102 Don't build a statement list when we'll only throw it away.
3103 * emultempl/armelf.em: Ditto.
3104 * emultempl/pe.em: Similarly.
3105
bdbe5705
GK
31062000-04-14 Geoff Keating <geoffk@cygnus.com>
3107
3108 * scripttempl/elfppc.sc: Remove.
3109 * emulparams/elf32ppc.sh: Use elf.sc.
3110 * emulparams/elf32lppc.sh: Use elf.sc.
3111 * emulparams/elf32ppclinux.sh: Use elf.sc.
3112 * emulparams/elf32ppcsim.sh: New file.
3113 * emulparams/elf32lppcsim.sh: New file.
3114 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
3115 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
3116 * Makefile.in: Regenerate.
3117 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
3118
01cc8ff8
AM
31192000-04-14 Alan Modra <alan@linuxcare.com.au>
3120
5ba47421 3121 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 3122 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
3123 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3124 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
3125 Also set all relocateable section start addresses.
3126
6c86c541
GK
31272000-04-13 Geoff Keating <geoffk@cygnus.com>
3128
3129 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
3130 Add new BSS_PLT variable for when .plt need not be contained in
3131 the file. Move _etext so that it is also after .fini, and provide
3132 both etext and _etext with a leading underscore. Mark the start
3133 and end of .sbss.
3134
6a345e87
AM
31352000-04-12 Alan Modra <alan@linuxcare.com.au>
3136
3137 * emultempl/elf32.em (struct orphan_save): New.
3138 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3139 hold_interp): Make them struct orphan_save.
3140 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
3141 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
3142 the end of the relevant section list. Also add associated section
3143 statements to the end of any previous orphan statements.
3144 * emultempl/armelf.em: Similarly.
3145 * emultempl/pe.em: Similarly.
3146
8be86746
AM
31472000-04-11 Alan Modra <alan@linuxcare.com.au>
3148
3149 * ld.texinfo (Simple Example): Remove extraneous paragraph.
3150
a2d91340 3151Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 3152
a2d91340 3153 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 3154 --enable-build-warnings option.
a2d91340
AC
3155 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3156 * Makefile.in, configure: Re-generate.
3157
41b49281
AM
31582000-04-04 Alan Modra <alan@linuxcare.com.au>
3159
8ad3436c
AM
3160 * po/ld.pot: Regenerate.
3161
3162 * lexsup.c (help): Restore translated part of bug string.
3163
41b49281
AM
3164 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3165 (DEP): Quote when passing vars to sub-make. Add warning message
3166 to end.
3167 (DEP1): Rewrite for "gcc -MM".
3168 (CLEANFILES): Add DEP2.
3169 Update dependencies.
3170 * Makefile.in: Regenerate.
3171
c20f4f8c
AM
31722000-04-03 Alan Modra <alan@linuxcare.com.au>
3173
3174 * ld.h: #include "bin-bugs.h"
3175 * lexsup.c (help): Use REPORT_BUGS_TO.
3176
adde6300
AM
31772000-03-27 Denis Chertykov <denisc@overta.ru>
3178
3179 * configure.tgt (avr-*-*): New target support.
3180 * Makefile.am: Likewise.
3181 * scripttempl/elf32avr.sc: New script file.
3182 * emulparams/avr1200.sh: New file.
3183 * emulparams/avr23xx.sh: New file.
3184 * emulparams/avr4433.sh New file.
3185 * emulparams/avr44x4.sh New file.
3186 * emulparams/avr85xx.sh New file.
3187 * emulparams/avrmega103.sh New file.
3188 * emulparams/avrmega161.sh New file.
3189 * emulparams/avrmega603.sh New file.
3190 * Makefile.in: Regenerate.
3191
9282ff41
L
31922000-03-09 Andreas Jaeger <aj@suse.de>
3193
3194 * Makefile.am (check-DEJAGNU): Also unset LANG.
3195 * Makefile.in: Rebuild.
3196
a9998805
ILT
31972000-03-06 Ian Lance Taylor <ian@zembu.com>
3198
3199 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
3200 archive.
3201
f9bc20e7
NC
32022000-03-02 H.J. Lu <hjl@gnu.org>
3203
3204 * emulparams/elf32mcore.sh: Include "getopt.h".
3205
4e277b38
ILT
32062000-03-01 Ian Lance Taylor <ian@zembu.com>
3207
3208 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
3209
f0c87f88
NC
32102000-03-01 H.J. Lu <hjl@gnu.org>
3211
3212 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
3213 * emulparams/shpe.sh: Likewise.
3214
32152000-03-01 Nick Clifton <nickc@cygnus.com>
3216
3217 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
3218 to unused parameters.
3219
3220 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
3221 functions only used by DLL code.
3222 (_place_orphan): Initialise 'dollar'.
3223
b6f29aaa
L
32242000-03-01 H.J. Lu <hjl@gnu.org>
3225
3226 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
3227 indicate if the undefined symbol is a fatal error or not.
3228 Don't delete the output file if "fatal" is false.
3229
af28fce3
L
32302000-02-29 H.J. Lu <hjl@gnu.org>
3231
50bbae35 3232 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
3233 Set LC_COLLATE and LC_ALL to null and export them. It is for
3234 sort which expects the C locale.
3235 Add $(LIBS) to all $(HOSTING_LIBS).
3236 * Makefile.in: Rebuild.
3237
40d109bf
AM
32382000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
3239
3240 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
3241 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
3242 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
3243 (ld_emulation_xfer_struct): Add missing NULL initialiser for
3244 find_potential_libraries.
3245
db5be682
JB
32462000-02-28 Jim Blandy <jimb@redhat.com>
3247
3248 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 3249 list entries; the lexer considers commas to be valid part of a
db5be682
JB
3250 filename, so in something like `foo, bar' the comma is considered
3251 part of the first filename, `foo,'.
3252 * ld.texinfo: Update section on EXCLUDE_FILE lists.
3253
3558ff4c
ILT
32542000-02-27 Loren J. Rittle <ljrittle@acm.org>
3255
3256 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3257 host "i[3456]86-*-freebsdelf*".
3258
4eee2681
ILT
32592000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
3260
3261 * scripttempl/i386go32.sc: Move misplaced semicolons.
3262
8d75d12d
ILT
32632000-02-25 Ian Lance Taylor <ian@zembu.com>
3264
3265 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
3266 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
3267 (eelf64hppa.c, ehppaelf.c): Remove targets.
3268 * Makefile.in: Rebuild.
3269
a1836d49
AO
32702000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3271
ad51fb57
AO
3272 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
3273 GNU/Linux/sparc, but keep the default as 32.
3274
a1836d49
AO
3275 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
3276 it default if sparcv9 or sparc64.
3277
344a211f
NC
32782000-02-24 Nick Clifton <nickc@cygnus.com>
3279
3280 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
3281 * Makefile.in: Regenerate.
3282 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
3283
3284 * ldemul.h (ld_emulation_xfer_struct): Add new field:
3285 find_potential_libraries.
3286 * ldemul.c (ldemul_find_potential_libraries): New function.
3287
3288 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 3289 exported.
344a211f
NC
3290 (ldfile_open_file): Call ldemul_find_potential_libraries.
3291 * ldfile.h: Add prototype for ldfile_open_file_search.
3292
3293 * pe-dll.c: Add support for ARM, MIPS and SH targets.
3294
3295 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
3296 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
3297
3298 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
3299 (gld_X_find_potential_libraries): New function. Search for
3300 libraries called "*.lib".
3301
a2b64bed 3302 * scripttempl/pe.sc: Add .pdata section.
344a211f 3303
eaba1dd3
RH
33042000-02-23 Richard Henderson <rth@cygnus.com>
3305
3306 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
3307 Add and use memory regions.
3308
5b93d8bb
AM
33092000-02-23 Linas Vepstas (linas@linas.org)
3310
3311 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
3312
3313 * Makefile.am: Add support for Linux/IBM 370.
3314 * configure.tgt: Likewise.
3315
3316 * Makefile.in: Regenerate.
3317
f6af82bd
AM
33182000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3319
3320 * ldlang.c (print_input_section, print_data_statement,
3321 print_reloc_statement, print_padding_statement, insert_pad,
3322 size_input_section, lang_check_section_addresses,
3323 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 3324 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
3325 (lang_do_assignments): Also change `size' to unsigned.
3326
9e673ad1
RH
33272000-02-16 Richard Henderson <rth@cygnus.com>
3328
3329 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
3330
562d3460
TW
33312000-02-16 Timothy Wall <twall@cygnus.com>
3332
3333 * mri.c (mri_draw_tree): Add default LMA region argument to call
3334 to lang_leave_output_section_statement.
3335 * ldlang.h: Update prototypes with LMA region arguments.
3336 * ldlang.c (lang_size_sections): Encapsulate region bounds
3337 checking in os_check_region call.
3338 (os_check_region): New function.
3339 (lang_output_section_statement_lookup): Initialize lma_region.
3340 (lang_leave_output_section_statement): Add LMA region argument.
3341 (lang_leave_overlay): Ditto.
3342 * ldgram.y: Handle LMA region syntax.
3343 * ld.texinfo (Output Section Description): Describe LMA region usage.
3344 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 3345 lma region in call to lang_leave_output_section_statement.
562d3460 3346 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 3347 lma region in call to lang_leave_output_section_statement.
562d3460 3348 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 3349 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
3350
3351
9e4ed18c
TW
33522000-02-04 Timothy Wall <twall@redhat.com>
3353
3354 * ldlang.c (lang_check_section_addresses): Use bytes instead of
3355 octets when calculating section end addresses.
3356
32edc927
TW
33572000-02-04 Timothy Wall <twall@redhat.com>
3358
3359 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
3360
4cbfc3ac
TW
33612000-02-03 Timothy Wall <twall@redhat.com>
3362
a2b64bed 3363 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 3364 octet count.
a2b64bed 3365 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
3366 print_reloc_statement, print_padding_statement): Print target
3367 address values and section sizes as bytes, not octets.
3368 (insert_pad) Calculate padding size in octets, and adjust "dot"
3369 by bytes.
3370 (size_input_section) Always adjust "dot" by bytes, not octets.
3371 (lang_check_section_addresses, lang_do_assignments) Adjust
3372 "dot" by bytes, not octets. Use the larger of the directive size
3373 or octets_per_byte for the number of octets actually allocated in
3374 the output section.
3375 (lang_set_startof) Make sure STARTOF returns a target address.
3376 (lang_one_common) Record size changes in octets.
3377 (lang_abs_symbol_at_end_of) Section end symbol's value is
3378 recorded in target bytes.
3379 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
3380 to be clear about behavior when an octet is smaller than one byte.
50bbae35 3381
305c7206
AM
33822000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3383
3384 * ldcref.c (output_cref): Don't pass message strings to printf
3385 as format arg.
3386 Update copyright.
3387
3388 * ldmisc.c (vfinfo): Same here.
3389 Update copyright.
3390
e1c47aa4
AM
33912000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
3392
3393 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
3394 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
3395 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
3396 Add missing NULL initialisers, and comments.
3397
3398 * testsuite/ld-srec/sr3.cc (__rethrow): New.
3399
13392b77
NC
34002000-01-21 Nick Clifton <nickc@cygnus.com>
3401
3402 * ldlang.c (lang_size_sections): Fix typo in comment.
3403
cce4c4c5
NC
34042000-01-18 H.J. Lu <hjl@gnu.org>
3405
3406 * ldlang.c (lang_size_sections): Also update the current
3407 address of a region if the SEC_NEVER_LOAD bit is not set.
3408
0decc840
NC
34092000-01-10 Philip Blundell <pb@futuretv.com>
3410
3411 * configure.tgt (arm*-*-conix*): New target.
3412
4e53152f
NC
34132000-01-07 Nick Clifton <nickc@cygnus.com>
3414
3415 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
3416 line switches with -Wl, (or whatever is appropriate) if it is
3417 being invoked by a comnpiler driver program.
50bbae35 3418 Fix description of the behaviour of the -n command line switch.
4e53152f 3419
18625d54
CM
3420Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
3421
3422 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
3423 (name_list): New.
3424 * ld.texinfo (EXCLUDE_FILE): Update documentation.
3425 * ldgram.y (wildcard_spec): Support a list of excluded_files.
3426 (exclude_name_list): New.
3427 ldlang.c (walk_wild_section): Support list of excluded files.
3428 (print_wild_statement): Likewise.
3429 (lang_add_wild): Likewise.
3430 * ldlang.h (lang_wild_statement_type): Likewise.
3431 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 3432
5aaace27
NC
34332000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3434
870df5dc
NC
3435 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
3436 (process_def_file): Use.
3437 (pe_dll_compat_implib): New variable.
3438 (make_one): Use.
50bbae35 3439
870df5dc
NC
3440 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
3441 pe_dll_compat_implib.
50bbae35
AM
3442
3443 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
3444 compat-implib options.
3445 (gld_${EMULATION_NAME}_list_options): List new options.
3446 (gld_${EMULATION_NAME}_parse_args): Handle.
3447
50bbae35 3448 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 3449 dll.
50bbae35
AM
3450
3451 * deffilep.y (opt_name): Allow "." in name.
5aaace27 3452
2f6d2f85 3453For older changes see ChangeLog-9899
252b5132
RH
3454\f
3455Local Variables:
3456mode: change-log
3457left-margin: 8
3458fill-column: 74
3459version-control: never
3460End:
This page took 0.46405 seconds and 4 git commands to generate.