]> Git Repo - binutils.git/blame - ld/ChangeLog
Rotate ChangeLog
[binutils.git] / ld / ChangeLog
CommitLineData
3dfe7a8c
AM
12002-01-05 Alan Modra <[email protected]>
2
3 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
4 of bfd_section_list_remove and bfd_section_list_insert macros.
5 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
6 * emultempl/mmo.em (mmo_place_orphan): Likewise.
7
8a8b2d4b
AJ
82002-01-04 Jason Thorpe <[email protected]>
9
10 * configure.tgt (x86_64-*-netbsd*): New target.
11
9a4c7f16
TR
122001-12-21 Tom Rix <[email protected]>
13
8a8b2d4b 14 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
15 For -binitfini support.
16 * emultempl/aix.em (gld*_before_parse): Fix comment.
17 * emultempl/aix.em (gld*_parse_args): Fix comment.
18
3695c299
AM
192001-12-20 Jason Thorpe <[email protected]>
20
cf86e6df
AM
21 * configure.tgt (mips*-dec-netbsd*): Delete alias for
22 mips*el-*-netbsd*.
23 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
24
3695c299
AM
25 * configure.tgt (arm-*-netbsdelf*): Add target.
26 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
27 * emulparams/armelf_nbsd.sh: Added.
28 * Makefile.am: Add rules for earmelf_nbsd.
29 * Makefile.in: Regenerate.
30
97cb79ae
AJ
312001-12-19 Andreas Jaeger <[email protected]>,
32 Susanne Oberhauser <[email protected]>
33
34 * configure.host: Add rules for x86_64-*linux-gnu. Change
35 s390x-linux entry to use gcc to report configuration, replace gcc
36 with $CC in s390-linux
37
9d201f2f
AJ
382001-12-19 Andreas Jaeger <[email protected]>
39
40 * ld.texinfo (VERSION): Fix markup.
41
0b69cd08
MG
422001-12-18 matthew green <[email protected]>
43
44 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
45 (m68kelfnbsd.c): New rule.
46 * Makefile.in: Regenerate.
47 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
48 (m68*-*-netbsd*4k*): .. this.
49 (m68*-*-netbsdelf*): New target.
50 (m68*-*-netbsd*): Also include ELF support.
51 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
52 * emulparams/m68kelfnbsd.sh: New emulation.
53
6b9b879a
JJ
542001-12-18 Jakub Jelinek <[email protected]>
55
56 * ldgram.y (vers_node): Support anonymous version tags.
57 * ldlang.c (lang_register_vers_node): Ensure anonymous version
58 tag is not defined together with non-anonymous versions.
59 * ld.texinfo: Document it.
60
9fc877ed
NC
612001-12-18 Nick Clifton <[email protected]>
62
63 * po/tr.po: New file: Turkish translation.
64 * configure.in (ALL_LINGUAS): Add tr.
65 * configure: Regenerate.
66
fc18a3f3
RH
672001-12-17 Jason Thorpe <[email protected]>
68
69 * Makefile.am: Add rules for eelf64alpha_nbsd.
70 * Makefile.in: Regenerate.
71 * configure.tgt (alpha*-*-netbsd*): Set
72 targ_emul to elf64alpha_nbsd.
73 * emulparams/elf64alpha_nbsd.sh: Added.
74
76f63e91
AM
752001-12-17 Alan Modra <[email protected]>
76
77 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
78 section_tail when fiddling with section list.
79 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
80 broken into separate strings to make translation easier.
81 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
82 fiddling with section list.
83 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
84
d03b89bd
HPN
852001-12-16 Hans-Peter Nilsson <[email protected]>
86
87 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
88
320fec9a
AM
892001-12-15 Alan Modra <[email protected]>
90
91 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
92
65765700
JJ
932001-12-13 Jakub Jelinek <[email protected]>
94
95 * emultempl/elf32.em (finish): Supply output_bfd
96 to bfd_elf*_discard_info.
97 (OPTION_EH_FRAME_HDR): Define.
98 (longopts): Add --eh-frame-hdr.
99 (parse_args): Handle it.
100 (list_options): Add --eh-frame-hdr to help.
101 * emultempl/hppaelf.em (finish): Supply output_bfd
102 to bfd_elf*_discard_info.
103 * scripttempl/elf.sc (.eh_frame_hdr): Add.
104
89894c62
AM
1052001-12-13 Alan Modra <[email protected]>
106
107 * lexsup.c (parse_args): Don't pass shortopts to second call to
108 getopt functions. Restore optind rather than decrementing before
109 second call. Remove errind as it now duplicates last_optind.
110
583f1926
CF
1112001-12-11 Christopher Faylor <[email protected]>
112
113 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
114
93fbbb04
GK
1152001-12-07 Geoffrey Keating <[email protected]>
116 Richard Henderson <[email protected]>
117
118 * Makefile.am: Add support for xstormy16.
119 * configure.tgt: Add support for xstormy16.
120 * Makefile.in: Regenerate.
121 * emulparams/elf32xstormy16.sh: New file.
122 * scripttempl/xstormy16.sc: New file.
123
583f1926
CF
1242001-10-01 Christopher Faylor <[email protected]>
125
fc18a3f3
RH
126 * Makefile.in (LIB_PATH): Make configurable.
127 (GENSCRIPTS): Set LIB_PATH in environment.
128 * configure.in: Substitute LIB_PATH.
129 * configure: Regenerate.
130 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
131 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 132
ff291a48
NC
1332001-12-07 Nick Clifton <[email protected]>
134
135 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
136 describing the -N option so that it is easier to translate into
137 foreign languages.
138
e3c8793a
NC
1392001-12-05 Nick Clifton <[email protected]>
140
141 * emultempl/pe.em (..._list_options): Replace multiple fprintf
142 statements describing a single option with a single, newline
143 escaped fprintf. This allows better translation into other
144 languages.
9d201f2f 145
fc18a3f3
RH
146 * ldmain.c (add_archive_element): Combine multiple strings
147 into a single string to permit better translation into other
148 languages.
e3c8793a 149
f2eab0af
TR
1502001-12-05 Tom Rix <[email protected]>
151
152 * Makefile.am: Remove eaixppc64.
9d201f2f 153 * Makefile.in: Regenerate.
f2eab0af 154
249172c3
TR
1552001-12-04 Tom Rix <[email protected]>
156
9d201f2f 157 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
158 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
159 warning.
160 (gld*_read_file): Fix typo.
161 (change_symbol_mode): Add prototype.
162 (is_syscall): Same.
9d201f2f 163
249172c3
TR
164 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
165 * emulparams/aixrs6.sh : Same.
166 * emulparams/ppcmacos.sh : Same.
167 * emulparams/aixppc64.sh : Delete file.
168 * emultempl/aix.em : Formatting changes.
169
5b5cd1b0
HPN
1702001-12-04 Hans-Peter Nilsson <[email protected]>
171
172 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
173 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
174 __Sbss.
175 (OTHER_END_SYMBOLS): Fix formatting.
176 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
177 (OTHER_END_SYMBOLS): Fix formatting.
178
7cecdbff
AM
1792001-12-04 Alan Modra <[email protected]>
180
181 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
182
742aeb63 1832001-12-02 Tom Rix <[email protected]>
7cecdbff 184
742aeb63 185 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 186 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
187 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
188 (ldemul_default_target): Same.
189 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
190 * emultempl/gld960c.em (gld960_choose_target): Same.
191 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
192 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
193 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
194 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 195 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
196 -b32 and -b64.
197
48459341
L
1982001-11-27 H.J. Lu <[email protected]>
199
200 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
201 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
202 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
203 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
204 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
205 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
206 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
207 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
208
7cecdbff 209 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
210 is not empty.
211 (SDATA): Likewise.
212 (REL_SDATA): Likewise.
213 (REL_SBSS): Likewise.
214 (REL_SDATA2): Likewise.
215 (REL_SBSS2): Likewise.
216 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
217 (SDATA2): Likewise.
218
ecfdd20c
SC
2192001-11-25 Stephane Carrez <[email protected]>
220
221 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
222 destructor in rom.
7cecdbff 223 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 224
da54c6eb
L
2252001-11-22 H.J. Lu <[email protected]>
226
227 * Makefile.in: Regenerated with automake based on automake
228 1.4-8 in RedHat 7.1.
229
465bc359
AM
2302001-11-22 Alan Modra <[email protected]>
231
232 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
233 (config.status): Delete rule.
234 Add extra dependencies to cover sourced emulparams files.
235 * Makefile.in: Regenerate.
236
237 * scripttempl/elf.sc: Order <section>, <section>.* and
238 corresponding linkonce sections as seen in input files.
239 Formatting fixes. Zero vma of all sections if not relocating.
240 (STACK): Define and insert if STACK_ADDR defined.
241 (OTHER_RELOCATING_SECTIONS): Delete.
242 (OTHER_END_SYMBOLS): Define.
243 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
244 (OTHER_READWRITE_SECTIONS): Likewise.
245 (OTHER_GOT_SECTIONS): Likewise.
246 (OTHER_SDATA_SECTIONS): Likewise.
247 (OTHER_BSS_SECTIONS): Likewise.
248 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
249 (OTHER_READWRITE_SECTIONS): Likewise.
250 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
251 (OTHER_READWRITE_SECTIONS): Likewise
252
253 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
254 (STACK_ADDR): Define.
255 * emulparams/armelf_oabi.sh: As for armelf.sh.
256 * emulparams/elf32mcore.sh: As for armelf.sh.
257 * emulparams/h8300elf.sh: As for armelf.sh.
258 * emulparams/mn10200.sh: As for armelf.sh.
259 * emulparams/shelf.sh: As for armelf.sh.
260
261 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
262 (OTHER_END_SYMBOLS): Define.
263 * emulparams/m32relf.sh: As for elf32fr30.sh.
264 * emulparams/h8300helf.sh: As for elf32fr30.sh.
265 * emulparams/h8300self.sh: As for elf32fr30.sh.
266
267 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
268 defines with RELOCATING test.
269 (OTHER_SDATA_SECTIONS): Likewise.
270 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
271 (OTHER_END_SYMBOLS): ..this.
272 * emulparams/crislinux.sh: As for criself.sh.
273
274 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
275 if not relocating.
276 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
277 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
278 normal and linkonce sections as seen in input files.
279 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
280 (TEXT_DYNAMIC): Likewise.
281 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
282 (OTHER_SDATA_SECTIONS): Likewise.
283 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
284 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
285 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
286 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
287 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
288 (OTHER_PLT_RELOC_SECTIONS): Likewise.
289 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
290 sections as seen in input files.
291 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
292 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
293 if not relocating.
294 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
295 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
296 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
297 (OTHER_SECTIONS): Instead, use this..
298 (OTHER_END_SYMBOLS): ..and this.
299
300 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
301 * emulparams/elf32bsmip.sh: Likewise.
302 * emulparams/elf32btsmip.sh: Likewise.
303 * emulparams/elf32ebmip.sh: Likewise.
304 * emulparams/elf32lmip.sh: Likewise.
305 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
306 * emulparams/elf32lsmip.sh: Likewise.
307 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
308 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
309 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
310 * emulparams/elf64btsmip.sh: Likewise.
311 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
312 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
313 * emulparams/elf32ppclinux.sh: Likewise.
314 * emulparams/elf32ppcsim.sh: Likewise.
315 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
316 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
317 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
318 * emulparams/h8300self.sh: Likewise.
319 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
320 * emulparams/sh.sh: Comment.
321 * emulparams/shl.sh: Source sh.sh, remove duplicates.
322 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
323 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
324
abc6ab0a
AM
3252001-11-21 David Heine <[email protected]>
326 Alan Modra <[email protected]>
327
328 * ldlang.c (map_input_to_output_sections): Replace "break"
329 accidentally removed with 2001-08-03 change.
330 (lang_gc_sections_1): Likewise.
331
2181f54f
AM
3322001-11-21 Alan Modra <[email protected]>
333
334 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
335
ca0b5847
AM
3362001-11-20 Angela Marie Thomas <[email protected]>
337
338 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
339 of false when calling lang_size_sections.
340 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 341
c56feb2b
AM
3422001-11-15 Alan Modra <[email protected]>
343
344 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
345 function when LDEMUL_FINISH isn't set to the same name. Don't
346 call ${LDEMUL_FINISH}.
347 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
348 * emultempl/armelf.em (arm_elf_finish): Call
349 gld${EMULATION_NAME}_finish.
350 * emultempl/hppaelf.em (hppaelf_finish): Rename to
351 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
352 hppaelf_layout_sections_again if necessary.
353 (need_laying_out): New var.
354 (hppaelf_layaout_sections_again): Rename to
355 hppaelf_layout_sections_again. Clear need_laying_out.
356 (PARSE_AND_LIST_OPTIONS): Format text.
357
a48ca7f2
L
3582001-11-14 H.J. Lu <[email protected]>
359
360 * emultempl/armelf.em (arm_elf_finish): Renamed from
361 gld${EMULATION_NAME}_finish.
362 (LDEMUL_FINISH): Set to arm_elf_finish.
363
73d074b4
DJ
3642001-11-14 Daniel Jacobowitz <[email protected]>
365
366 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
367 (struct ld_emulation_xfer_struct): Use it.
368
fc65c602
JL
369Tue Nov 13 11:27:14 2001 Ross Alexander <[email protected]>
370
465bc359 371 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
372 additional symbols referenced by newer crt0.o files from HP.
373
f11b7027
NC
3742001-11-12 Anthony Green <[email protected]>
375
376 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
377
3bf2994f
AM
3782001-11-12 Alfred M. Szmidt <[email protected]>
379
380 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
381 * Makefile.in: Regenerate.
382
ff5dcc92
SC
3832001-11-02 Stephane Carrez <[email protected]>
384
385 * ld.texinfo: Use @command for commands, @option for options.
386 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
387 the page man title.
388 * Makefile.in: Rebuild.
389
9fb9af6e
CD
3902001-11-04 Chris Demetriou <[email protected]>
391
392 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
393 Add support for targets.
2181f54f 394
3c62831e
NC
3952001-11-02 Nick Clifton <[email protected]>
396
397 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
398 * configure: Regernate.
399 * po/fr.po: New file.
400 * po/sv.po: New file.
401
3a9091c4
NC
4022001-11-01 NIIBE Yutaka <[email protected]>
403
404 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
405 as little endian default and to support big endian.
2181f54f 406
361b220e
CD
4072001-11-01 Chris Demetriou <[email protected]>
408
409 * ld.texinfo (Options): Document new option, -nostdlib.
410 * lexsup.c (OPTION_NOSTDLIB): New definition.
411 (ld_options): Add entry for "nostdlib".
412 (parse_args): Handle OPTIONS_NOSTDLIB.
413 * ldfile.c (ldfile_add_library_path): Don't add directories
414 to the search path if they weren't specified on the command line
415 and -nostdlib was specified.
416 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
417
210a7bd1
NC
4182001-10-31 Nick Clifton <[email protected]>
419
420 * lexsup.c (parse_args): Prevent infinite parsing loop when
421 "-rpath.a" is specified on the command line.
422 Replace calls to fprintf with calls to einfo.
423
114283d8
NC
4242001-10-31 John Marshall <[email protected]>
425
426 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
427 appear only once across all the linker scripts involved in a link
428 invocation no longer applies. Make the documentation reflect
429 that.
430
7649aa50
NC
4312001-10-31 NIIBE Yutaka <[email protected]>
432
433 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
434 targets.
435 (sh-*-linux*): Added targ_extra_libpath.
436
6e814ff8
AM
4372001-10-31 David Heine <[email protected]>
438
439 * ldlang.c (lang_size_sections): Keep a valid output_offset field
440 for padding statements.
441
3c3bdf30
NC
4422001-10-30 Hans-Peter Nilsson <[email protected]>
443
444 * configure.tgt (mmix-*-*): New target.
445 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
446 Add dependencies to match.
447 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
448 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
449 scripttempl/mmo.sc: New files.
450 * gen-doc.texi: @set MMIX.
451 * ld.texinfo: Ditto.
6e814ff8 452 [MMIX] Add MMIX node.
3c3bdf30
NC
453 * Makefile.in: Regenerate.
454
ca0c1d3e
KH
4552001-10-29 Kazu Hirata <[email protected]>
456
457 * ldlang.c: Fix a comment typo.
458
1a3d33ce
AM
4592001-10-23 Alan Modra <[email protected]>
460
461 * configure.host: Move alpha*-*-linux-gnu* entry to generic
462 entries, and match *-*-linux*.
463
b47c4208
AM
4642001-10-20 Alan Modra <[email protected]>
465
466 * ldgram.y (mri_script_command): Surround processing of INCLUDE
467 with ldlex_script, ldlex_popstate.
468 (ifile_p1): Likewise.
469 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
470 correct slot.
471 (lex_push_file): Save current lineno to lineno_stack. Set lineno
472 to 1. Don't BEGIN(SCRIPT).
473 (lex_redirect): Similarly.
474 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
475
fd521b47
NC
4762001-10-20 Nick Clifton <[email protected]>
477
478 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
479 __EH_FRAME_END__ and accept eh frames into data section.
480 Add ctor and dtor sections.
481
59d28a94
DD
4822001-10-19 Danny Smith <[email protected]>
483
484 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
485 (auto-export): Fix indentation.
486
663dd378
DD
4872001-10-18 Danny Smith <[email protected]>
488
489 * pe-dll.c (autofilter_objectlist): Add startup objects
490 for profiling.
491 (auto-export): Constify char * p.
6e814ff8 492 Extract file basename and use strcmp rather than ststr
663dd378
DD
493 for object lookup.
494
31d677f9
CD
4952001-10-18 Chris Demetriou <[email protected]>
496
497 * ldmain.c (get_emulation): Improve comment about the handling
498 of -mipsN options.
499
aa200fe8
AM
5002001-10-17 Alan Modra <[email protected]>
501
502 * po/POTFILES.in: Regenerate.
503
146e7110
AM
5042001-10-16 Vassili Karpov <[email protected]>
505
506 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
507 -z nocopyreloc and -z nocombreloc usage strings.
508
b4330e85
NC
5092001-10-12 Vassili Karpov <[email protected]>
510
146e7110 511 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
512 in usage.
513
5af8a2fb
NC
5142001-10-11 Aleksey Romanov <[email protected]>
515
516 * scripttempl/armaout.sc: Place .bss section after end of aligned
517 data section to match behaviour of aout code in constructrion of
518 header.
519
5b784096
DD
5202001-10-11 Danny Smith <[email protected]>
521
522 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
523 startup files for mingw32 dlls to list.
524
61585df2
CD
5252001-10-10 Chris Demetriou <[email protected]>
526
527 * emultempl/elf32.em: Fix shell 'if' usage for portability.
528
45cf6f3e
AH
5292001-10-08 Aldy Hernandez <[email protected]>
530
531 * configure.tgt (targ): Add arm9e-*-elf.
532
e24d7c12
L
5332001-10-05 H.J. Lu <[email protected]>
534
535 * genscripts.sh: Fix a typo in the last change.
536
ec38dd05
JJ
5372001-10-05 Jakub Jelinek <[email protected]>
538
539 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
540 -z nocombreloc in usage.
541
cedd6b0d
JB
5422001-10-03 Jim Blandy <[email protected]>
543
544 * genscripts.sh: Include a comment at the top of each generated
545 script, explaining its purpose.
546
8bd621d8
AM
5472001-10-03 Vassili Karpov <[email protected]>
548
549 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
550 * NEWS: Mention -z nocopyreloc.
551 * ld.texinfo (Options): Describe nocopyreloc.
552
fcd8210c
AM
5532001-10-03 Alan Modra <[email protected]>
554
555 * configure: Regenerate.
556
d32820f2
AM
5572001-10-02 Alan Modra <[email protected]>
558
559 * ldver.h (ld_program_version): Remove declaration.
560 * lexsup.c (parse_args): Move printing of copyright message..
561 * ldver.c (ldversion): .. to here.
562 Use BFD_VERSION_STRING in place of BFD_VERSION.
563 (ld_program_version): Remove.
564 * Makefile.am (Makefile): Depend on bfd/configure.in.
565 Run "make dep-am".
566 * Makefile.in: Regenerate.
567
af46bcdc
HPN
5682001-09-30 Hans-Peter Nilsson <[email protected]>
569
570 * Makefile.am: Update dependencies with "make dep-am".
571 * Makefile.in: Regenerate.
572
4818e05f 5732001-09-29 John Reiser <[email protected]>
862517b6 574
4818e05f
AM
575 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
576 * lexsup.c: Add --no-define-common commandline option.
577 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
578 * ldlex.l: Likewise.
579 * ld.h: Add command_line.inhibit_common_definition.
580 * ldmain.c (main): Initialize.
581 * ld.texinfo: Document.
862517b6 582
d5e0ebeb
AM
5832001-09-26 Alan Modra <[email protected]>
584
585 * ldmisc.c (USE_STDARG): Remove.
586 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
587 (einfo): Likewise.
588 (minfo): Likewise.
589 (lfinfo): Likewise.
590
591 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
592 declarations. Update copyright.
593
2f8d8971
NC
5942001-09-24 Charles Wilson <[email protected]>
595
85c77458
NC
596 * pe-dll.c: Remove obsoleted declaration of
597 pe_get_data_import_dll_name.
598 (pe_create_import_fixup): Fix thinko.
599
2f8d8971
NC
600 * ld.texinfo(enable-auto-import): Clarify the explanation.
601
6022001-09-24 Nick Clifton <[email protected]>
603
604 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
605 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
606 DLL_SUPPORT controlled code.
607
72358f65 6082001-09-24 Charles Wilson <[email protected]>
146e7110 609
72358f65
NC
610 * emultempl/pe.em(pe_data_import_dll): Make static.
611 (pe_get_data_import_dll_name): New accessor function.
146e7110 612 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
613 pe_get_data_import_dll_name() from pe.em, instead of
614 directly accessing pe_data_import_dll variable from pe.em.
615
3882b010
L
6162001-09-18 Bruno Haible <[email protected]>
617
618 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
619 (def_file_add_directive): Use ISSPACE instead of isspace.
620 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
621 isdigit/isxdigit/isalpha/isalnum.
622 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
623 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
624 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
625 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
626 isalnum.
627 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
628 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
629 isupper/tolower.
630 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
631 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
632 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
633 (ctor_prio): Use ISDIGIT instead of isdigit.
634 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
635 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
636 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
637 isupper/tolower.
638 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
639 (stricpy): Use TOLOWER instead of isupper/tolower.
640 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
641 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
642 (lex_warn_invalid): Use ISPRINT instead of isprint.
643 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
644 (main): For gettext, also set the LC_CTYPE locate facet.
645 (add_keepsyms_file): Use ISSPACE instead of isspace.
646 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
647 (is_num, parse_args): Use ISDIGIT instead of isdigit.
648 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
649 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
650 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
651 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
652 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
653 (quoteput): Use ISSPACE instead of isspace.
654 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
655 instead of isalnum.
656
db09f25b
AM
6572001-09-18 Alan Modra <[email protected]>
658
659 * deffilep.y (def_stash_module): Constify "name" param.
660
661 * pe-dll.c: Replace CONST with const throughout.
662 (quick_symbol): Constify "n1", "n2", "n3" params.
663 (make_singleton_name_thunk): Constify "import" param. Make
664 "buffer_len" a size_t.
665 (make_import_fixup_entry): Constify "name", "fixup_name",
666 "dll_symname" params.
667 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
668 (pe_get32): Likewise.
669 (pe_implied_import_dll): Likewise.
670
671 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
672 (sort_by_section_name): Likewise.
673
674 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
675 (make_import_fixup): Cast printf arg, rel->address to long rather
676 than int.
677 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
678
74699268
AM
6792001-09-15 Alan Modra <[email protected]>
680
681 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
682 defines BufferSize. Increase buffer size by one.
683
775cabad
NC
6842001-09-14 Ralf Habacker <[email protected]>
685
686 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
687
056a1d49
NC
6882001-09-14 Kevin Lo <[email protected]>
689
690 * configure.tgt: Add arm-openbsd target.
691
a7d792bb
L
6922001-09-12 H.J. Lu <[email protected]>
693
694 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
695 eelf64lppc.o to ...
696 (ALL_64_EMULATIONS): Here.
697 * Makefile.in: Regenerated.
698
0d888aac
CW
6992001-09-12 Paul Sokolovsky <[email protected]>
700
701 * emultempl/pe.em(make_import_fixup): change signature to
702 take asection as well as arelec; we need this for proper
146e7110 703 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
704 there is no attempt to add a constant addend to the reloc;
705 otherwise, report error condition.
706 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
707 since final argument is a pointer to make_import_fixup().
708 Change call to cb() to match make_import_fixup() signature.
709 (make_import_fixup_mark): make buffer_len unsigned.
710 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
711
7122001-09-12 Charles Wilson <[email protected]>
713
714 * ld.texinfo: add verbose documentation for auto-import
146e7110 715 direct-addressing workaround, to compliment the terse
0d888aac
CW
716 error message.
717
cedacdc0
CM
7182001-09-12 Andrew MacLeod <[email protected]>
719
146e7110 720 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 721
38be0bb1
JL
722Fri Sep 7 11:34:24 2001 Jeffrey A Law ([email protected])
723
724 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
725 * emulparams/h8300self.sh: Similarly.
726
559e4713
NC
7272001-09-05 Danny Smith <[email protected]>
728
729 * ld.texinfo (Options, --stack): Correct default value for stack
730 reserve.
731
1fdf0249
TR
7322001-09-05 Tom Rix <[email protected]>
733
734 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 735
9b5799b8
AJ
7362001-09-03 Andreas Jaeger <[email protected]>
737
738 * emultempl/beos.em: Declare prototypes for comparions functions,
739 adjust definitions.
740
48f6162b
AJ
7412001-09-02 Andreas Jaeger <[email protected]>
742
743 * emultempl/aix.em: Add missing prototype.
744 * emultempl/lnk960.em: Likewise.
745 * emultempl/vanilla.em: Likewise.
746 * emultempl/armcoff.em: Likewise.
747 * emultempl/armelf_oabi.em: Likewise.
748 * emultempl/beos.em: Likewise.
749 * emultempl/gld960c.em: Likewise.
750 * emultempl/gld960.em: Likewise.
751
752 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
753 for prototype declaration.
754
39e5585e
EC
7552001-08-31 Eric Christopher <[email protected]>
756 Jason Eckhardt <[email protected]>
757
758 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
759
3fc90ddb
AJ
7602001-08-31 Andreas Jaeger <[email protected]>
761
762 * emultempl/pe.em: Add missing prototypes.
763 (gld_${EMULATION_NAME}_after_open): Remove extra args to
764 pe_find_data_imports.
765 (pr_sym): Add unused attribute.
766
d43ded80
PB
7672001-08-29 Joel Sherrill <[email protected]>
768
39e5585e 769 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
770 default from coff to elf.
771
3946dd2f
JL
7722001-08-29 Jeff Law <[email protected]>
773
774 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
775 ARCH specification.
776 * emulparams/h8300self.sh: Similarly.
777
778Wed Aug 28 13:37:20 2001 J"orn Rennecke <[email protected]>
8af6dd41
JR
779
780 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
781 eh8300self.o .
782 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
783 * configure.tgt (h8300-*-elf*): New case.
784 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
785 * emulparams/h8300self.sh: New file.
786 * Makefile.in: Regenerated.
787
70d0c6e9
NC
7882001-08-28 Nick Clifton <[email protected]>
789
790 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
791 with macro name.
792
5c67d4bb
AM
7932001-08-27 Linus Nordberg <[email protected]>
794 Alan Modra <[email protected]>
795
796 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
797 (eelf64ppc.c, eelf64lppc.c): Add make targets.
798 Run "make dep-am"
799 * Makefile.in: Regenerate.
800 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
801 entries to correct alphabetical position.
802 * emulparams/elf64ppc.sh: New.
803 * emulparams/elf64lppc.sh: New.
804
08131015
NC
8052001-08-27 Nick Clifton <[email protected]>
806
807 * ldmain.c (main): Declare BSIZE as static.
808
db6751f2
JJ
8092001-08-23 Jakub Jelinek <[email protected]>
810
811 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
812 into .rel.dyn resp. .rela.dyn if combreloc.
813 (get_script): If .x linker script is equal to .xn, only put it
814 once into the binary.
815 Add .xc and .xsc scripts.
816 (parse_args): Handle -z combreloc and -z nocombreloc.
817 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
818 For .xc and .xsc scripts put all .rel* or .rela* input sections
819 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
820 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
821 is elf.
822 Strip trailing whitespace from script.
823 Generate .xc and .xsc scripts if requested.
824 * ldmain.c (main): Initialize link_info.combreloc and
825 link_info.spare_dynamic_tags.
826 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
827 (ld_options): Add --spare-dynamic-tags option.
828 (parse_args): Likewise.
829 * ld.texinfo: Document -z combreloc and -z nocombreloc.
830 * ldint.texinfo: Document .xc and .xsc linker scripts.
831 * NEWS: Add notes about -z combreloc and SHF_MERGE.
832
63d069c0
L
8332001-08-22 H.J. Lu <[email protected]>
834
835 * emulparams/elf32fr30.sh: Add a newline.
836
948f9114
AJ
8372001-08-21 Andreas Jaeger <[email protected]>
838
839 * deffilep.y: Add missing prototypes.
840 * pe-dll.c: Likewise.
841
ae7fb08f
AM
8422001-08-20 Alan Modra <[email protected]>
843
2af02257
AM
844 * ldlang.c (insert_pad): Fix typos in last patch.
845
846 * ldlang.c: When traversing lang_statement_union_type lists,
847 consistently use "header.next" rather than "next".
848 * mpw-eppcmac.c: Likewise.
849 * emultempl/beos.em: Likewise.
850 * emultempl/hppaelf.em: Likewise.
851 * emultempl/pe.em: Likewise.
852 * ldlang.h (union lang_statement_union): Remove "next" field.
853
c0c330a7
AM
854 * ldlang.c (insert_pad): Use offsetof macro.
855 (lang_size_sections): Always neuter padding statements.
856 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
857
ae7fb08f
AM
858 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
859 passed to lang_size_sections.
860 (pe_exe_fill_sections): Likewise.
861 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
862 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
863
fab80407
AM
8642001-08-18 Alan Modra <[email protected]>
865
866 * emultempl/aix.em: Formatting fixes.
867
b3327aad
AM
8682001-08-18 Alan Modra <[email protected]>
869
870 * ldlang.c (insert_pad): Make use of an existing pad statement if
871 available. Move code calculating alignment, adjusting section
872 alignment power, and adjusting dot to ..
873 (size_input_section): .. here. Remove unused relax param.
874 (lang_size_sections): Change boolean `relax' param to boolean *.
875 Adjust call to size_input_section. Make use of insert_pad to
876 place pad after the assignment statement. If relaxing, zap
877 padding statements.
878 (reset_memory_regions): Reset output_bfd section sizes too.
879 (relax_again): Move to..
880 (lang_process): ..here. Adjust call to lang_size_sections, and
881 remove duplicated code.
882 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
883
563e308f
AM
8842001-08-17 Alan Modra <[email protected]>
885
886 * ld.texinfo: Document that fill values now use the four least
887 significant bytes.
888 * emulparams/elf32fr30.sh (NOP): Update.
889 * emulparams/elf32mcore.sh: Likewise.
890 * emulparams/elf64_s390.sh: Likewise.
891 * emulparams/elf_i386.sh: Likewise.
892 * emulparams/elf_i386_be.sh: Likewise.
893 * emulparams/elf_i386_chaos.sh: Likewise.
894 * emulparams/elf_i386_ldso.sh: Likewise.
895 * emulparams/elf_s390.sh: Likewise.
896 * emulparams/elf_x86_64.sh: Likewise.
897 * emulparams/i386moss.sh: Likewise.
898 * emulparams/i386nw.sh: Likewise.
899 * emulparams/m68kelf.sh: Likewise.
900 * scripttempl/elf.sc: Update NOP comment.
901 * scripttempl/elfi370.sc: Likewise.
902 * scripttempl/elfm68hc11.sc: Likewise.
903 * scripttempl/elfm68hc12.sc: Likewise.
904 * scripttempl/nw.sc: Likewise.
905
b90e1c6f
TR
9062001-08-15 Tom Rix <[email protected]>
907
908 * ldgram.y (saved_script_handle): Initialize to NULL.
909 * ldmain.c (main): Change check on saved_script_handle.
948f9114 910
39dcfe18
AM
9112001-08-14 Alan Modra <[email protected]>
912
cde43e70
AM
913 * emultempl/elf32.em: Formatting fixes.
914 (output_prev_sec_find): Test for bfd_ind_section too; do so by
915 looking at sec->owner.
916 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
917 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
918 unused code, and reorganize orphan section placement code.
919
39dcfe18
AM
920 * ldlang.c (wild_doit): Rename to lang_add_section.
921 * ldlang.h: Here too.
922 * mpw-elfmips.c: And here.
923 * emultempl/beos.em: And here.
924 * emultempl/elf32.em: And here.
925 * emultempl/hppaelf.em: And here.
926 * emultempl/pe.em: And here.
927
908d20b3
RH
9282001-08-13 Richard Henderson <[email protected]>
929
930 * emultempl/needrelax.em: New file.
931 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
932 * Makefile.am (eelf64_ia64.c): Depend on it.
933 * Makefile.in: Rebuild.
934
0f33d40b
AM
9352001-08-13 Alan Modra <[email protected]>
936
22af9fd3
AM
937 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
938 output_section is set non-NULL.
939
0f33d40b
AM
940 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
941 `true' for SEC_EXCLUDE sections so that the generic code doesn't
942 needlessly create an output_section_statement. Treat a correctly
943 named output_section_statement with NULL bfd_section as compatible.
944
55ab6103
HPN
9452001-08-13 Hans-Peter Nilsson <[email protected]>
946
947 * emultempl/generic.em: Support EXTRA_EM_FILE.
948 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
949 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
950 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
951 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
952 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
953 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
954 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
955 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
956 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
957 LDEMUL_FIND_POTENTIAL_LIBRARIES.
958
24098abb
RH
9592001-08-12 Richard Henderson <[email protected]>
960
961 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
962 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
963 scripttempl/v850.sc: Keep .jcr data.
964
b9a8de1e 9652001-08-12 H.J. Lu <[email protected]>
146e7110
AM
966 Andrew Haley <[email protected]>
967 Nick Clifton <[email protected]>
b9a8de1e 968
146e7110 969 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
970 Change type to file handle.
971 * ld.h (had_script): Rename and retype.
972 * ldfile.c (ldfile_open_command_file): Save the file handle
973 used in saved_script_handle.
974 * lexsup.c (parse_args): Do not allow -c option to alter
975 saved_script_handle.
976 * ldmain.c (main): Print out the linker script used if
977 --verbose is given. Check saved_script_handle to obtain the
978 external linker script used, or if NULL, dump the builtin
979 script.
980 * ld.texinfo: Document that --verbose now dumps the linker
981 script used, regardless of whether it was an internal or an
982 external script.
983
0218d1e4
AJ
9842001-08-10 Andreas Jaeger <[email protected]>
985
986 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
987 to build warnings.
988 * configure: Regenerate.
989
5253f23b
AM
9902001-08-09 Alan Modra <[email protected]>
991
73810896
AM
992 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
993
5253f23b
AM
994 * scripttempl/elf.sc: Move non-text .dynamic section before
995 .plt/.got/.sdata* group.
996 (OTHER_GOT_SECTIONS): Move to immediately after .got.
997 (OTHER_SDATA_SECTIONS): Add.
998 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
999 OTHER_GOT_SECTIONS.
1000 * emulparams/crislinux.sh: Likewise.
1001 * emulparams/elf32b4300.sh: Likewise.
1002 * emulparams/elf32bmip.sh: Likewise.
1003 * emulparams/elf32bmipn32.sh: Likewise.
1004 * emulparams/elf32bsmip.sh: Likewise.
1005 * emulparams/elf32btsmip.sh: Likewise.
1006 * emulparams/elf32ebmip.sh: Likewise.
1007 * emulparams/elf32elmip.sh: Likewise.
1008 * emulparams/elf32l4300.sh: Likewise.
1009 * emulparams/elf32lmip.sh: Likewise.
1010 * emulparams/elf32lsmip.sh: Likewise.
1011 * emulparams/elf32ltsmip.sh: Likewise.
1012 * emulparams/elf64bmip.sh: Likewise.
1013 * emulparams/elf64btsmip.sh: Likewise.
1014 * emulparams/elf64ltsmip.sh: Likewise.
1015
179c732c
AM
10162001-08-08 Alan Modra <[email protected]>
1017
1018 * genscripts.sh: Source the emulparams script before each output
1019 script is generated so that variables like `RELOCATING' may affect
1020 variables defined in the emulparams script.
1021
3fd36710
AM
10222001-08-04 Alan Modra <[email protected]>
1023
20713691
AM
1024 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
1025 order.
1026
3fd36710
AM
1027 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
1028 ie. iterate over wild_statement.section_list.
1029 (gld${EMULATION_NAME}_place_orphan): Likewise.
1030
de0b1853
SC
10312001-08-03 Stephane Carrez <[email protected]>
1032
1033 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
1034 .fini[0-4] sections used by _exit
1035 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
1036 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
1037 * scripttempl/elfm68hc11.sc: Likewise.
1038
ff7e6f88
L
10392001-08-03 H.J. Lu <[email protected]>
1040
1041 * emultempl/beos.em (init): Add the missing initialization.
1042
b6bf44ba
AM
10432001-08-03 Alan Modra <[email protected]>
1044
1045 * ld.texinfo (Input Section Basics): Clarify ordering of output
1046 sections.
1047 * ldlang.c (callback_t): Add wildcard_list param.
1048 (walk_wild_section): Remove "section" param. Rewrite for
1049 lang_wild_statement_type change. Remove unique_section_p test.
1050 (walk_wild_file): Remove "section" param.
1051 (walk_wild): Remove "section" and "file" params.
1052 (lang_gc_wild): Likewise.
1053 (wild): Likewise. Modify for lang_wild_statement_type change.
1054 (wild_sort): Likewise. Add "sec" param.
1055 (gc_section_callback): Likewise.
1056 (output_section_callback): Likewise. Do unique_section_p test.
1057 (map_input_to_output_sections): Modify call to wild.
1058 (lang_gc_sections_1): Likewise.
1059 (print_wild_statement): Modify for lang_wild_statement_type
1060 change.
1061 (lang_add_wild): Replace filename, filenames_sorted param with
1062 filespec. Replace section_name, sections_sorted,
1063 exclude_filename_list with section_list.
1064 * ldlang.h (lang_add_wild): Here too.
1065 (lang_wild_statement_type): Replace section_name, sections_sorted,
1066 and exclude_filename_list with section_list.
1067 * ldgram.y (current_file): Delete.
1068 (%union): Add wildcard_list.
1069 (file_NAME_list): Set type to wildcard_list. Build a linked list
1070 rather than calling lang_add_wild for each entry.
1071 (input_section_spec_no_keep): Call lang_add_wild here instead.
1072 * ld.h (struct wildcard_list): Declare.
1073 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
1074
b044cda1
CW
10752001-08-02 Charles Wilson <[email protected]>
1076
1077 * ldmain.c (main): initialize link_info.pei386_auto_import
1078 * pe-dll.c: new tables for auto-export filtering
1079 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 1080 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
1081 "by hand".
1082
10832001-08-02 Paul Sokolovsky <[email protected]>
1084
b6bf44ba
AM
1085 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
1086 static variable current_sec (static struct sec *). Add
b044cda1 1087 forward declaration for add_bfd_to_link.
b6bf44ba
AM
1088 (process_def_file): Don't export undefined symbols. Do not
1089 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
1090 with new API.
1091 (pe_walk_relocs_of_symbol): New function.
1092 (generate_reloc): add optional extra debugging
b6bf44ba 1093 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 1094 line in output
b6bf44ba 1095 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
1096 (DATA auto-import support).
1097 (make_singleton_name_thunk): New function.
1098 (make_import_fixup_mark): New function.
1099 (make_import_fixup_entry): New function.
1100 (pe_create_import_fixup): New function.
b6bf44ba 1101 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 1102 char *.
b6bf44ba
AM
1103 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
1104 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
1105 pe_create_import_fixup.
1106 * emultempl/pe.em: add new options --enable-auto-import,
1107 --disable-auto-import, and --enable-extra-pe-debug.
1108 (make_import_fixup): New function.
1109 (pe_find_data_imports): New function.
1110 (pr_sym): New function.
b6bf44ba 1111 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
1112 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
1113 CODE.
1114
11152001-08-02 Charles Wilson <[email protected]>
b6bf44ba 1116
b044cda1
CW
1117 * ld.texinfo: add additional documentation for
1118 --export-all-symbols. Document --out-implib,
1119 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
1120 --dll-search-prefix, --enable-auto-import, and
1121 --disable-auto-import.
b044cda1
CW
1122 * ldint.texinfo: Add detailed documentation on auto-import
1123 implementation.
1124
156e34dd
NC
11252001-07-30 Nick Clifton <[email protected]>
1126
1127 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
1128 example.
1129
d6231427
AM
11302001-07-24 Alan Modra <[email protected]>
1131
1132 * Makefile.am: Update dependencies with "make dep-am".
1133 * Makefile.in: Regenerate
1134
e14ec88b
AM
11352001-07-23 Alan Modra <[email protected]>
1136
1137 * ldcref.c (check_section_sym_xref): New function.
1138 (check_nocrossrefs): Call it.
1139 (check_nocrossref): Interate over h->refs here instead of..
1140 (check_refs): ..here. Pass in the symbol name, section, and bfd
1141 rather than hash_entry pointers.
1142 (struct check_refs_info): Keep symbol name rather than hash entry.
1143 Remove "same".
1144 (check_reloc_refs): Tweak for above changes in check_refs_info.
1145 Only report references to section syms when symname is NULL to
1146 prevent duplicate messages for the same reloc.
1147
1b577b00
NC
11482001-07-19 Nick Clifton <[email protected]>
1149
c7d701b0
NC
1150 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
1151 available. Do not print NULL trees.
1152 (exp_print_token): Print unknown tokens with values > 126 as
1153 decimal values not ASCII characters.
1154
1545243b
NC
1155 * ldlang.c (lang_leave_overlay): If a region is specified assign
1156 it to all sections inside the overlay unless they have been
1157 assigned to the own, non-default, memory region.
1158
1b577b00
NC
1159 * README: Add header for consistency with other README files.
1160
5030876b
L
11612001-07-14 H.J. Lu <[email protected]>
1162
1163 * emultempl/elf32.em (output_prev_sec_find): Never return
1164 bfd_abs_section_ptr, bfd_com_section_ptr nor
1165 bfd_und_section_ptr.
1166
18c7a9a5
NC
11672001-07-14 Nick Clifton <[email protected]>
1168
22af9fd3 1169 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
1170 elf32.em.
1171 * Makefile.in: Regenerate.
1172
9ffecff1
MG
11732001-07-14 matthew green <[email protected]>
1174
1175 * configure.tgt (i386-*-netbsdelf*): New target.
1176 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
1177
95500e1c
JJ
11782001-07-13 Jakub Jelinek <[email protected]>
1179
1180 * emultempl/elf32.em (output_prev_sec_find): New.
1181 (place_orphan): Use it.
1182
e97cb84f
L
11832001-07-11 H.J. Lu <[email protected]>
1184
1185 * ldmain.c (main): Fix typos in the last change.
1186
7333607e
JJ
11872001-07-11 Jakub Jelinek <[email protected]>
1188
1189 * ldmain.c (main): Disallow -F and -f without -shared.
1190
d29d80f2
NC
11912001-07-11 Nick Clifton <[email protected]>
1192
1193 * emultempl/pe.em (after_open): Check for the output_bfd not
1194 having any coff_data structure allocated to it.
1195
c2a1a436
DB
11962001-07-09 David O'Brien <[email protected]>
1197
1198 * emultempl/elf32.em: Do not assuming that contents of the buffer
1199 returned from basename function will remain unchanged accross other
1200 function calls.
1201
63653551
L
12022001-07-03 H.J. Lu <[email protected]>
1203
1204 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
1205 2001-07-03. It creates dynamic entries even for static binaries.
1206
d303a449
L
12072001-07-03 Jakub Jelinek <[email protected]>
1208
1209 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
1210 (DYNAMIC): Use it to reserve few dynamic entries for
1211 post-linking tools.
1212
9f22353f
AM
12132001-06-27 Alan Modra <[email protected]>
1214
1215 * emulparams/hppa64linux.sh: New file.
1216 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
1217 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
1218 (ehppa64linux.c): Add rule to make it.
1219 Run "make dep-am".
1220 * Makefile.in: Regenerate.
1221
62bf86b4
HPN
12222001-06-21 Hans-Peter Nilsson <[email protected]>
1223
1224 * ld.texinfo (Options, -r): Mention restrictions when using
1225 different object formats.
1226
429d935d
HPN
12272001-06-19 Hans-Peter Nilsson <[email protected]>
1228
1229 * ldlang.c (lang_check): Emit fatal error if relocatable link
1230 between different object flavours with relocations in input.
1231
cb840a31
L
12322001-06-19 H.J. Lu <[email protected]>
1233
1234 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
1235 (--version-script): Mention the language support.
1236
9bf03acc
L
12372001-06-19 H.J. Lu <[email protected]>
1238
1239 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
1240
c45021f2
NC
12412001-06-18 H.J. Lu <[email protected]>
1242
b6bf44ba
AM
1243 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
1244 (diststuff): Add $(MANS).
1245 * Makefile.in: Regenerated.
c45021f2 1246
b6bf44ba 1247 * ld.1: Removed.
c45021f2 1248
6caa99ab
HPN
12492001-06-18 Hans-Peter Nilsson <[email protected]>
1250
605d9b3a
HPN
1251 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1252 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
1253 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
1254 * ld.h (args_type): Remove member export_dynamic. All users
1255 changed to use struct bfd_link_info member.
1256
6caa99ab
HPN
1257 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
1258 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
1259 * Makefile.in: Regenerate.
1260
6f9efd97
L
12612001-06-18 H.J. Lu <[email protected]>
1262
1263 * ldlang.c (init_os): Add the newline to the einfo call.
1264 (lang_check): Likewise.
1265 (lang_do_version_exports_section): Likewise.
1266
5af9fd8b
L
12672001-06-15 H.J. Lu <[email protected]>
1268
1269 * lexsup.c (parse_args); Save optind to report unrecognized
1270 option.
1271
2a096f04
HPN
12722001-06-15 Hans-Peter Nilsson <[email protected]>
1273
7e66c3f5
HPN
1274 * ldlang.c (lang_check): Emit fatal error if relocatable link
1275 between different object flavours.
1276
2a096f04
HPN
1277 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
1278 Set new link_info member export_dynamic.
1279 * ldmain.c (main): Initialize new link_info member export_dynamic.
1280
6770ec8c
NC
12812001-06-12 Nick Clifton <[email protected]>
1282
1283 * ldlang.c (walk_wild): Only call walk_wild_file if
1284 lookup_name returns something.
b6bf44ba 1285 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 1286 (load_symbols): Change to a boolean function.
b6bf44ba 1287 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
1288 executable.
1289
8529105a
AM
12902001-06-08 Alan Modra <[email protected]>
1291
1292 * ldlang.c (record_bfd_errors): Remove.
1293
1294 * emultempl/aix.em: Fix copyright dates.
1295
8f3aa7a0
AJ
12962001-06-07 Andreas Jaeger <[email protected]>
1297
1298 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
1299 (TEXT_START_ADDR): Likewise.
1300
3277f888
AM
13012001-06-06 Martin Schwidefsky <[email protected]>
1302
1303 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
1304
3763134d
DD
13052001-06-05 Danny Smith <[email protected]>
1306
1307 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
1308
5929ebc0
L
13092001-05-31 H.J. Lu <[email protected]>
1310
1311 * ldlang.c (open_input_bfds): Don't change the bfd error
1312 handler whilst loading symbols.
1313
c04a062d
NC
13142001-05-28 Nick Clifton <[email protected]>
1315
1316 * configure.tgt: Remove i370-mvs architecture, it is not currently
1317 supported.
1318
96fcab3e
L
13192001-05-25 H.J. Lu <[email protected]>
1320
1321 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1322 like emulparams/aixppc.sh.
1323
db8d4f23
L
13242001-05-25 H.J. Lu <[email protected]>
1325
1326 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
1327 setting of output_filename after bfd_scan_arch.
1328 * emultempl/pe.em: Likewise.
1329
5f642101
L
13302001-05-25 H.J. Lu <[email protected]>
1331
1332 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1333 like emulparams/aixppc.sh.
1334
1335 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
1336 instead of ${srcdir}/emultempl/stringify.sed.
1337
64e9ece0
TW
13382001-05-25 Timothy Wall <[email protected]>
1339
1340 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 1341 output.
64e9ece0 1342
c709b096
AM
13432001-05-25 Alan Modra <[email protected]>
1344
1345 * configure.host: Replace linuxoldld with linux*oldld.
1346 * configure.tgt: Likewise.
1347
6cbdcc6f
L
13482001-05-24 H.J. Lu <[email protected]>
1349
1350 * emultempl/stringify.sed: Removed again.
1351
86af25fe
L
13522001-05-24 H.J. Lu <[email protected]>
1353
1354 * emultempl/aix.em (OUTPUT_ARCH): Defined.
1355 (gld${EMULATION_NAME}_before_parse): Initialize
1356 ldfile_output_architecture, ldfile_output_machine and
1357 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
1358 * emultempl/beos.em: Likewise.
1359 * emultempl/elf32.em: Likewise.
1360 * emultempl/linux.em: Likewise.
1361 * emultempl/mipsecoff.em: Likewise.
1362 * emultempl/pe.em: Likewise.
1363 * emultempl/sunos.em: Likewise.
1364
3b1b01cf
TR
13652001-05-24 Tom Rix <[email protected]>
1366
8f3aa7a0 1367 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
1368 udate import file format.
1369 (change_symbol_mode) New, same
1370 (is_syscall) New, same
1371 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
1372 * emulparams/aixppc64.sh : same
1373 * emulparams/aixrs6.sh : same
1374 * emulparams/ppcmacos.sh : same
1375 * emultempl/aix.em : use strtoull to parse options
1376 * Makefile.am : add eaixppc64 emulation for xcoff64
1377 * Makefile.in : same
1378 * configure.tgt : same
1379
1380 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 1381 default data section offset to 0x20000000
3b1b01cf 1382 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 1383 loader and debug sections use the currect section offset.
3b1b01cf
TR
1384
1385 * emultempl/aix.em : Add xcoff64 support
1386 Add -binitfini support
8f3aa7a0 1387 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 1388 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 1389 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
1390 sections
1391
1392 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 1393
57e6abd2
AO
13942001-05-23 Alexandre Oliva <[email protected]>
1395
1396 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
1397 variable to avoid non-portable shell construct.
1398
d1cf510e
NC
13992001-05-23 Thiemo Seufer <[email protected]>
1400
1401 * ldmain.c (get_emulation): Add -mips5 command line argument.
1402
506eee22
NC
14032001-05-22 Alexandre Oliva <[email protected]>
1404
1405 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1406 (ELF_INTERPRETER_NAME): Define it.
1407 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1408 it.
1409 * configure.tgt (targ_emul, targ_extra_emuls)
1410 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1411 as primary, elf_i386 as extra.
1412 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1413 (eelf_i386_ldso.c): New rule.
1414 * Makefile.in: Rebuilt.
1415
14162001-05-22 Nick Clifton <[email protected]>
1417
1418 * lexsup.c (ld_options): Allow -I to be an alias for
1419 --dynamic-linker. This is for Solaris compatability.
1420 * ld.texinfo: Document that -I can be used.
1421 * ld.1: Regenerate.
1422
d1778b88
AM
14232001-05-16 Alan Modra <[email protected]>
1424
1425 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1426 whether an input section is the first one assigned to an output
1427 section.
1428 Assorted formatting fixes.
1429
02649152
DD
14302001-05-14 DJ Delorie <[email protected]>
1431
1432 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1433 * Makefile.in: Ditto.
1434
579f31ac
JJ
14352001-05-11 Jakub Jelinek <[email protected]>
1436
1437 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1438 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1439 output sections.
1440 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1441
8550eb6e
JJ
14422001-05-11 Jakub Jelinek <[email protected]>
1443
1444 * ldlang.c (lang_process): Call bfd_merge_sections.
1445
8e5a525c
AM
14462001-05-07 Thiemo Seufer <[email protected]>
1447
1448 * ldgram.y: Fix typo.
1449
1c9acd94
L
14502001-05-03 H.J. Lu <[email protected]>
1451
1452 * emultempl/elf32.em: Include "libiberty.h".
1453 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1454 basename of the bfd filename.
1455 (gld${EMULATION_NAME}_stat_needed): Likewise.
1456 (gld${EMULATION_NAME}_try_needed): Likewise.
1457 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1458
14fe918e
L
14592001-05-02 H.J. Lu <[email protected]>
1460
1461 * emultempl/pe.em: Include <ctype.h>.
1462
c7e40348
NC
14632001-05-02 Johan Rydberg <[email protected]>
1464
b6bf44ba 1465 * emulparams/elf32openrisc.sh: New file.
c7e40348 1466
b6bf44ba
AM
1467 * Makefile.am: Add OpenRISC target.
1468 * Makefile.in: Regenerated.
c7e40348 1469
b6bf44ba 1470 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
1471
14722001-05-02 Nick Clifton <[email protected]>
1473
1474 * emultempl/aix.em: Replace buystring with xstrdup.
1475 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 1476
d1b2b2dc
L
14772001-05-02 H.J. Lu <[email protected]>
1478
1479 * ldfile.c: Include "libiberty.h".
1480 * ldlex.l: Likewise.
1481
1482 * ldmisc.c (buystring): Removed.
1483 * ldmisc.h: Likewise.
1484
1485 * ldfile.c: Replace buystring with xstrdup.
1486 * ldlang.c: Likewise.
1487 * ldlex.l: Likewise.
1488 * ldmain.c: Likewise.
1489 * ldmisc.c: Likewise.
1490 * lexsup.c: Likewise.
1491 * mpw-eppcmac.c: Likewise.
1492
35714f2a
AJ
14932001-04-30 Andreas Jaeger <[email protected]>
1494
1495 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1496
884fb58e
NC
14972001-04-28 Paul Sokolovsky <[email protected]>
1498
b6bf44ba
AM
1499 * ldlang.c (load_symbols): Give emulation a chance
1500 to process unrecognized file before fatal error is
1501 reported, not after.
884fb58e 1502
87748b32
NC
15032001-04-27 Sean McNeil <[email protected]>
1504
1505 * configure.tgt: Add arm-vxworks target.
1506 * scripttempl/armcoff.sc: Support .text or .data as a section name
1507 prefix.
1508 Define _etext.
35714f2a 1509
7ce691ae
C
15102001-04-13 J.T. Conklin <[email protected]>
1511
1512 * ld.texinfo: Document --fatal-warnings.
1513 * ld.1: Regenerate.
1514
1515 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 1516 warnings have been turned into errors.
7ce691ae
C
1517 * lexsup.c (OPTION_WARN_FATAL): Define.
1518 (ld_options): Entry for --fatal-warnings.
1519 (parse_args): Handle OPTION_WARN_FATAL.
1520 * ld.h (ld_config_type): Add fatal_warnings field.
1521
f5fa8ca2
JJ
15222001-04-13 Jakub Jelinek <[email protected]>
1523
1524 * ldmain.c (main): Default to discard_sec_merge.
1525 * lexsup.c (OPTION_DISCARD_NONE): Define.
1526 (ld_options): Add --discard-none.
1527 (parse_args): Handle OPTION_DISCARD_NONE.
1528 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
1529 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
1530 all its input sections match.
1531
fdec3cfc
L
15322001-04-05 Steven J. Hill <[email protected]>
1533
1534 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
1535 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
1536 (eelf32ltsmip.c): New target.
1537 (eelf64btsmip.c): Likewise.
1538 (eelf64ltsmip.c): Likewise.
1539 * Makefile.in: Regenerated.
1540
1541 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
1542 target.
1543 (mips*-*-linux-gnu*): Likewise.
1544
1545 * emulparams/elf32ltsmip.sh: New. Traditional little endian
1546 MIPS taget.
35714f2a 1547 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
1548 target.
1549 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
1550 endian target.
1551
589bad82
HPN
15522001-04-05 Hans-Peter Nilsson <[email protected]>
1553
1554 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
1555 correct value of __Stext here.
1556 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
1557 .startup section.
1558
1559 * emulparams/crislinux.sh: Remove FIXME.
1560
94202e16
AM
15612001-04-02 Alan Modra <[email protected]>
1562
1563 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
1564 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
1565
1268a053
HPN
15662001-03-27 Hans-Peter Nilsson <[email protected]>
1567
1568 * configure.tgt (cris-*-*): Change default emulation to criself.
1569 (cris-*-*aout*): New rule.
1570
d85e9ff7
AM
15712001-03-27 Matthew Wilcox <[email protected]>
1572
1573 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
1574 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
1575
0879a67a
AJ
15762001-03-26 Andreas Jaeger <[email protected]>
1577
1578 * ld.texinfo (Overview): Fix syntax in texi code.
1579
0285c67d
NC
15802001-03-25 Stephane Carrez <[email protected]>
1581
1582 * ld.texinfo: Put @c man indications to generate the ld man page.
1583 When generating man, define all the variables. Define SEEALSO
1584 and SYNOPSIS. Re-organize some lines to avoid the cross references.
1585 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
1586 (ld.1): Generate from ld.texinfo.
1587 * Makefile.in: Regenerate.
1588
c20ec07b
NC
15892001-03-23 Mark Elbrecht <[email protected]>
1590
1591 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 1592 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 1593
cc5ce052
UD
15942001-03-17 Ulrich Drepper <[email protected]>
1595
1596 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
1597 is an absolute path look only for this file and not along the path.
1598
a1ab1d2a
UD
15992001-03-17 Ulrich Drepper <[email protected]>
1600
1601 * emultempl/elf32.em (OPTION_GROUP): New macro.
1602 Add new option Bgroup to longopts.
1603 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
1604 (gld*_list_options): Add -Bgroup and -z defs.
1605 * ld.1: Document -Bgroup and -z defs.
1606 * ld.texinfo: Likewise.
1607
788fca5a
MM
16082001-03-07 Michael Meissner <[email protected]>
1609
1610 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
1611 with sections created by -fdata-sections.
1612 (.dynbss,.bss): Ditto.
1613
1c7566d1
AM
16142001-03-05 Alan Modra <[email protected]>
1615
1616 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
1617 after_allocation_default, not gld..._before_allocation.
1618
27b7e12d
AM
16192001-02-27 Alan Modra <[email protected]>
1620
1621 * configure.in (BFD_VERSION): New.
1622 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1623 * configure: Regenerate.
1624 * Makefile.am: Run "make dep-am"
1625 * Makefile.in: Regenerate.
1626
2bc551c7
TW
16272001-02-26 Timothy Wall <[email protected]>
1628
1629 * emulparams/elf64_aix.sh: Add additional read-only sections;
1630 uncomment lines which are now required.
1631
1276aefa
NC
16322001-02-26 H.J. Lu <[email protected]>
1633
1634 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
1635 that problems can be caught whilst loading symbols.
1636 (record_bfd_errors): New function: Report BFD errors and mark
1637 the executable output as being invalid.
1276aefa 1638
41c49998
TW
16392001-02-22 Timothy Wall <[email protected]>
1640
1641 * configure.host: Add configuration for ia64-*-aix*.
1642 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
1643 Add dependencies for eelf64_aix.c.
1644 * Makefile.in: Regenerate.
1645 * configure.tgt: Add ia64-*-aix* mapping.
1646 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 1647 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
1648 AIX-specific test.
1649
78f85fd7
L
16502001-02-20 H.J. Lu <[email protected]>
1651
1652 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
1653 false if we found the file.
1654
1ac7e077 16552001-02-18 David O'Brien <[email protected]>
fb33b906
DB
1656
1657 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
1658 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
1659
e135f41b
NC
16602001-02-18 lars brinkhoff <[email protected]>
1661
1662 * Makefile.am: Add PDP-11 target.
1663 * configure.tgt: Likewise.
1664 * emulparams/pdp11.sh: New file.
1665
a842aceb
DB
16662001-02-17 David O'Brien <[email protected]>
1667
1668 * configure.host: Add a generic FreeBSD configuration entry such that
1669 all [modern] FreeBSD systems on all platforms will look the same.
1670
24174db0
L
16712001-02-14 H.J. Lu <[email protected]>
1672
1673 * configure.tgt: Remove mention of earmelf_linux26.
1674
30c3c13a
RH
16752001-02-13 Richard Henderson <[email protected]>
1676
1677 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
1678
b46a87b1
L
16792001-02-13 H.J. Lu <[email protected]>
1680
1681 * ldexp.h (node_type): Add etree_provided.
1682 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
1683 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 1684 for etree_provided.
b46a87b1
L
1685 (exp_print_tree): Handle etree_provided.
1686 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
1687 etree_provided.
1688
f3988fd9
RH
16892001-02-09 David Mosberger <[email protected]>
1690
1691 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
1692 .IA_64.unwind.* pattern to unwind table section and
1693 .IA_64.unwind_info* pattern to unwind info section.
1694
a85d7ed0
NC
16952001-02-09 Martin Schwidefsky <[email protected]>
1696
1697 * Makefile.am: Add linux target for S/390.
1698 * Makefile.in: Likewise.
1699 * configure.host: Likewise.
1700 * configure.tgt: Likewise.
1701 * emulparams/elf64_s390.sh: New file.
1702 * emulparams/elf_s390.sh: New file.
1703
780248c4
JJ
17042001-02-09 Jakub Jelinek <[email protected]>
1705
1706 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
1707 targ_extra_libpath.
1708 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
1709
0e2534bd
PB
17102001-02-06 Philip Blundell <[email protected]>
1711
1712 * Makefile.am: Remove mention of earmelf_linux26.
1713 * Makefile.in: Regenerate.
1714
46c1ea57
PB
17152001-02-04 Philip Blundell <[email protected]>
1716
1717 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
1718 * emulparams/armelf_linux26.sh: Delete.
1719 * configure.tgt: Remove mention of armelf_linux26 emulation.
1720
0088edd2
NC
17212001-02-01 Nick Clifton <[email protected]>
1722
1723 * ld.1: Replace occurances of -oformat with --oformat.
1724
02aa14fb
AM
17252001-01-25 Jim Driftmyer <[email protected]>
1726
1727 * ldlang.c (lang_leave_overlay): Don't set lma_region when
1728 load_base is specified.
1729
f813923c
HPN
17302001-01-24 Hans-Peter Nilsson <[email protected]>
1731
1732 * emultempl/elf32.em: Correct spelling in comments and listed
1733 options.
1734
c1eb1488
AM
17352001-01-23 Alan Modra <[email protected]>
1736
1737 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1738 default for the first section of a group of overlay sections.
1739
d9fc3714
AM
17402001-01-22 Alan Modra <[email protected]>
1741
1742 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1743 * Makefile.in: Regenerate.
1744 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1745 Check for null tool_dir.
1746
6be0ca94
JW
17472001-01-16 Jim Wilson <[email protected]>
1748
1749 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1750 and IA_64.unwind.info.
1751
b9247304
L
17522001-01-16 H.J. Lu <[email protected]>
1753
1754 * ldlang.c (lang_check): Merge the private data only if the
1755 input file has contents.
1756
577a0623
AM
17572001-01-14 Alan Modra <[email protected]>
1758
d952f17a
AM
1759 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1760
ffd6e9de
AM
1761 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1762 enabling search for libmilli. On a relocatable link, make .text
1763 sections unique.
1764 (LDEMUL_AFTER_PARSE): Define.
1765 (hppaelf_finish): Correct spelling of relocatable in comments.
1766
577a0623
AM
1767 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1768 rummage through the script for sections on the unique list.
1769 Correct length of strncmp for ".note".
1770 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1771
1772 * ldlang.c (unique_section_list): New var.
1773 (unique_section_p): New function.
1774 (walk_wild_section): Don't match sections on unique_section_list.
1775 (lang_add_unique): New function.
ffd6e9de 1776 Correct spelling of relocatable in comments.
577a0623
AM
1777
1778 * ldlang.h (struct unique_sections): Declare.
1779 (unique_section_list): Declare.
1780 (unique_section_p): Declare.
1781 (lang_add_unique): Declare.
1782
1783 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1784 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1785
1786 * ld.texinfo (--unique): Update.
1787
b7ed8fad
NC
17882001-01-13 Nick Clifton <[email protected]>
1789
1790 * lexsup.c (parse_args): Remove spurious white space.
1791
d0398d6a
NC
17922001-01-12 Nick Clifton <[email protected]>
1793
1794 * lexsup.c (parse_args): Update copyright date.
1795
350fdb00
PB
17962001-01-12 Philip Blundell <[email protected]>
1797
1798 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1799
60c6797e
KH
18002001-01-10 Kazu Hirata <[email protected]>
1801
1802 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1803 * scripttempl/h8300h.sc: Fix formatting.
1804 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
1805 * scripttempl/h8500.sc: Likewise.
1806 * scripttempl/h8500b.sc: Likewise.
1807 * scripttempl/h8500c.sc: Likewise.
1808 * scripttempl/h8500m.sc: Likewise.
1809 * scripttempl/h8500s.sc: Likewise.
60c6797e 1810
482e8b32
DB
18112000-01-07 David O'Brien <[email protected]>
1812
1813 * emultempl/elf32.em: Only perform Linux ld hints processing when
1814 targeting Linux.
1815
d7ed7ca6
PB
18162001-01-07 Philip Blundell <[email protected]>
1817
1818 * ld.texinfo (Bug Reporting): Update email address for reports.
1819
0fc3347a
NC
18202000-12-31 Nick Clifton <[email protected]>
1821
1822 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1823 options by checking for a return value of '?' not -1.
1824
e4897a32
NC
18252000-12-28 Nick Clifton <[email protected]>
1826
1827 * lexsup.c (struct ld_option): Add new enum value:
1828 EXACTLY_TWO_DASHES.
1829 (ld_options[]): Change -omagic, -output and -oformat options
1830 to be EXACTLY_TWO_DASHES.
1831 (OUTPUT_COUNT): Use ARRAY_SIZE.
1832 (parse_args): Change parameter 'argc' to unsigned.
1833 Place EXACTLY_TWO_DASHES options into new really_longopts
1834 array.
1835 If getopt_long_only fails, try calling getopt_long using the
1836 really_longopts array.
1837 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1838 TWO_DASHES options.
1839
1840 * ldlex.h: Fix prototype of parse_args.
1841
1842 * ld.texinfo: Document that long options starting with 'o'
1843 must be preceeded by two dashes. Change example of a single
1844 dashed long option from -oformat to -trace-symbol.
1845
1122a5fc
NC
18462000-12-26 Danny Smith <[email protected]>
1847
1848 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1849 (longopts[]): New --no-default-excludes option.
1850 (gld_${EMULATION_NAME}_list_options): Document.
1851 (gld_${EMULATION_NAME}_parse_args): Handle.
1852
037849a9
NC
18532000-12-13 Michael Sokolov <[email protected]>
1854
1855 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1856 whitespace, it breaks the K&R C preprocessor.
1857
7ec229ce
DD
18582000-12-11 DJ Delorie <[email protected]>
1859
1860 * ld.texinfo: Add notes about --whole-archive and gcc.
1861
b79e8c78
NC
18622000-11-18 Fred Fish <[email protected]>
1863
1864 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1865 (ld_options): Entry for --allow-shlib-undefined.
1866 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1867 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1868 to false.
1869 * ld.texinfo: Document new command line switch.
d952f17a 1870
9a8e2505
GK
18712000-12-12 Geoffrey Keating <[email protected]>
1872
1873 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1874 .fixup is actually read/write.
1875 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1876 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1877 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1878
b8355149
JH
1879Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <[email protected]>
1880
1881 * NEWS: Add note about x86_64 architecture.
1882
93b63cd3
DD
18832000-12-06 Mark Elbrecht <[email protected]>
1884
1885 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1886 Set DWARF2 sections to a VMA of zero.
1887
24f6971a
NC
18882000-12-01 Joel Sherrill <[email protected]>
1889
d952f17a 1890 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
1891 New targets.
1892 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1893 (sparc*-*-rtems*): Switched from a.out to ELF.
1894
2be3aa03
NC
18952000-11-30 Jan Hubicka <[email protected]>
1896
1897 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1898 (eelf_x86_64.c): New.
1899 * Makefile.in: Regenerate.
1900 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1901 * emulparams/elf_x86_64.sh: New.
1902
8c899858
HPN
19032000-11-30 Hans-Peter Nilsson <[email protected]>
1904
1905 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1906 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1907
1908 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1909 merging non-a.out sections into CONSTRUCTING.
1910
e47b9e39
NC
19112000-11-28 Nick Clifton <[email protected]>
1912
1913 * ld.1 (COPYING): Mention that the GNU Free Documentation
1914 License is present in the sources, but not the output, and
1915 also available from the GNU website.
1916 (GNU Free Documentation License): Comment out this section.
1917
ad95f82a
DB
19182000-11-28 David O'Brien <[email protected]>
1919
1920 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1921 does not use them.
1922
fd89e65f
DB
19232000-11-25 David O'Brien <[email protected]>
1924
1925 * ld.1: Remove old date so it does not give the impression the manpage
1926 is way out of date.
1927
077b8428
NC
19282000-11-24 Nick Clifton <[email protected]>
1929
1930 * configure.tgt (xscale-coff): Add target.
1931 (xscale-elf): Add target.
1932
49425d28
NC
19332000-11-24 Fred Fish <[email protected]>
1934
d952f17a
AM
1935 * ldmain.c (main): Remove redundant init of config.make_executable
1936 to true.
49425d28 1937
d3480244
RH
19382000-11-15 Richard Henderson <[email protected]>
1939
1940 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
1941
1ce7de8b
KH
19422000-11-14 Kazu Hirata <[email protected]>
1943
1944 * scripttempl/h8300.sc: Fix formatting.
1945 * scripttempl/h8300h.sc: Likewise.
1946 * scripttempl/h8300s.sc: Likewise.
1947
208d5cd0
DC
1948Tue Nov 14 00:59:19 2000 Denis Chertykov <[email protected]>
1949
1950 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
1951
2e418547
PB
19522000-11-09 Philip Blundell <[email protected]>
1953
1954 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
1955 around orphan sections whose names can be represented in C.
1956
c940e6fc
JW
19572000-11-07 Jim Wilson <[email protected]>
1958
1959 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
1960 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
1961
704c465c
NC
19622000-11-06 Nick Clifton <[email protected]>
1963
1964 * ld.texinfo: Add GNU Free Documentation License.
1965 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 1966 * ld.1: Add GNU Free Documentation License.
704c465c 1967
dca7760f
AM
19682000-11-05 Alan Modra <[email protected]>
1969
1970 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
1971 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
1972
1973 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
1974 Move 2000-11-02 Makefile.in changes to this file.
1975 * Makefile.in: Regenerate.
1976
40a633d5
NC
19772000-11-03 Nick Clifton <[email protected]>
1978
1979 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
1980 constructors and destructors.
1981 * scripttempl/h8300h.sc: Ditto.
1982 * scripttempl/h8300s.sc: Ditto.
1983 * scripttempl/h8500.sc: Ditto.
1984 * scripttempl/h8500b.sc: Ditto.
1985 * scripttempl/h8500c.sc: Ditto.
1986 * scripttempl/h8500m.sc: Ditto.
1987 * scripttempl/h8500s.sc: Ditto.
1988 * scripttempl/v850.sc: Ditto.
1989 * scripttempl/w65.sc: Ditto.
1990 * scripttempl/z8000.sc: Ditto.
1991
59ff2774
NC
19922000-11-02 Per Lundberg <[email protected]>
1993
1994 * Makefile.in (e_i386_chaos.c): New rule.
1995 (ALL_EMULATIONS): Added e_i386_chaos.o.
1996 * emulparams/elf_i386_chaos.sh: New file.
1997 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
1998
645571e1
JJ
19992000-10-20 Jakub Jelinek <[email protected]>
2000
2001 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
2002 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
2003 Fix sed invocation, so that it coped with '/' in Solaris 64bit
2004 library path suffix.
2005 Based on patch by Andrew Macleod <[email protected]>.
2006
c5975a45
HPN
20072000-10-18 Hans-Peter Nilsson <[email protected]>
2008
2009 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
2010 for consecutive sections.
2011
ea20a7da
CC
20122000-10-17 Chandrakala Chavva <[email protected]>
2013
d952f17a
AM
2014 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
2015 options.
2016 * ld.texinfo: Added notes about this new option.
ea20a7da 2017
6e45556a
NC
20182000-10-16 Nick Clifton <[email protected]>
2019
2020 * emultempl/pe.em (_after_open): Add tests of return values from
2021 bfd functions. Emit appropriate error messages if necessary.
2022
b9a69188
NC
20232000-10-13 Nick Clifton <[email protected]>
2024
2025 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
2026 local variables - they are not used, but leave in the call to
2027 bfd_canonicalize_symtab.
b9a69188
NC
2028 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
2029 pe_dll_search_prefix.
2030
627427de 20312000-10-12 Charles Wilson <[email protected]>
d952f17a 2032
627427de
DD
2033 * emultempl/pe.em (pe_dll_search_prefix): New variable,
2034 (longopts): New --dll-search-prefix option.
2035 (gld_${EMULATION_NAME}_list_options): Document.
2036 (gld_${EMULATION_NAME}_parse_args): Handle.
2037 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
2038 dynamically, search for a dll named '<prefix><basename>.dll'
2039 in preference to 'lib<basename>.dll' if --dll-search-prefix
2040 is specified.
2041
24376d1b
AM
20422000-10-12 Alan Modra <[email protected]>
2043
2044 * ldlang.c (section_already_linked): Set kept_section instead of
2045 sec->comdat->sec.
2046
e47d05ad
KH
20472000-10-10 Kazu Hirata <[email protected]>
2048
2049 * deffile.h: Fix formatting.
2050 * lexsup.c: Likewise.
2051 * mri.c: Likewise.
2052
23a87948
DD
20532000-10-09 Paul Sokolovsky <[email protected]>
2054
2055 * pe-dll.c (make_one): Do not generate code thunk for DATA
2056 exports.
2057 (process_def_file): deduce DATA flag for auto-export sumbols.
2058
86b1cc60
KH
20592000-10-09 Kazu Hirata <[email protected]>
2060
89cdebba
KH
2061 * ld.h: Fix formatting.
2062 * ldcref.c: Likewise.
2063 * ldctor.h: Likewise.
2064 * ldemul.c: Likewise.
2065 * ldemul.h: Likewise.
2066 * ldexp.c: Likewise.
2067 * ldexp.h: Likewise.
2068 * ldfile.c: Likewise.
2069 * ldfile.h: Likewise.
2070 * ldlang.c: Likewise.
2071 * ldlang.h: Likewise.
2072 * ldmain.c: Likewise.
7bfd51a3
KH
2073 * pe-dll.c: Likewise.
2074
2075 * pe-dll.c: Revert some formatting fixes.
86b1cc60 2076
d643799d
KH
20772000-10-08 Kazu Hirata <[email protected]>
2078
2079 * pe-dll.c: Fix formatting.
2080
08da4cac
KH
20812000-10-05 Kazu Hirata <[email protected]>
2082
2083 * ldlang.c: Fix formatting.
2084
c2a94a7a
DD
20852000-10-03 DJ Delorie <[email protected]>
2086
2087 * pe-dll.c (fill_edata): initialize entire block
2088 (make_one): fill in correct section.
2089
8c95a62e
KH
20902000-10-03 Kazu Hirata <[email protected]>
2091
2092 * ldexp.c: Fix formatting.
2093
486e80e2
DD
20942000-10-02 DJ Delorie <[email protected]>
2095
2096 * emultempl/pe.em (gld_*_after_open): detect case where there two
2097 import libraries for same dll; rename one to ensure proper link
2098 order.
2099
2100 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
2101 typo
2102 (generate_edata): fix typo
2103
24dd9f75
HPN
21042000-09-29 Hans-Peter Nilsson <[email protected]>
2105
2106 * scripttempl/crisaout.sc (ENTRY): Now __start.
2107 (.text): Add default setting for __start.
2108 Remove CONSTRUCTORS handling.
2109 (/DISCARD/): Add .gnu.warning.*.
2110 * emulparams/crislinux.sh (ENTRY): Now __start.
2111 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
2112 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
2113 (ENTRY): Now __start.
2114 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
2115 (EXECUTABLE_SYMBOLS): Add default setting for __start.
2116
4de2d33d
KH
21172000-09-29 Kazu Hirata <[email protected]>
2118
5cc18311
KH
2119 * deffile.h: Fix formatting.
2120 * ld.h: Likewise.
2121 * ldcref.c: Likewise.
4de2d33d 2122 * ldctor.c: Likewise.
5cc18311 2123 * ldctor.h: Likewise.
4de2d33d 2124 * ldemul.c: Likewise.
5cc18311 2125 * ldemul.h: Likewise.
4de2d33d 2126 * ldexp.c: Likewise.
5cc18311 2127 * ldexp.h: Likewise.
4de2d33d 2128 * ldfile.c: Likewise.
5cc18311 2129 * ldfile.h: Likewise.
4de2d33d 2130 * ldlang.c: Likewise.
5cc18311
KH
2131 * ldlang.h: Likewise.
2132 * lexsup.c: Likewise.
2133 * mri.c: Likewise.
2134 * pe-dll.c: Likewise.
4de2d33d 2135
45b1f63c
DD
21362000-09-28 Paul Sokolovsky <[email protected]>
2137
2138 * pe-dll.c (process_def_file): Uninitialized data wasn't
2139 exported with --export-all-symbols switch.
d952f17a 2140
45b1f63c
DD
21412000-09-28 DJ Delorie <[email protected]>
2142
2143 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
2144 noname work properly.
2145
47d89dba
AM
21462000-09-28 Alan Modra <[email protected]>
2147
2148 * ld.texinfo (HPPA ELF32): New section.
2149
2150 * emultempl/hppaelf.em (group_size): New.
2151 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
2152 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
2153 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
2154 options to prevent abbreviations matching.
2155 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
2156 (PARSE_AND_LIST_ARGS_CASES): Handle it.
2157
36bdbeec
NC
21582000-09-21 Michael Sokolov <[email protected]>
2159
2160 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
2161 on the m68*-*-elf target. Make it support COFF input objects.
2162
6d5e62f8
KH
21632000-09-21 Kazu Hirata <[email protected]>
2164
2165 * ldmain.c: Fix formatting.
2166 * ldmisc.c: Likewise.
2167 * ldver.c: Likewise.
2168 * ldwrite.c: Likewise.
2169
e2eb67d9
AM
21702000-09-21 Alan Modra <[email protected]>
2171
2172 * ldwrite.c (clone_section): Silence gcc warnings.
2173
b3ea3584
AM
21742000-09-20 Alan Modra <[email protected]>
2175
2176 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
2177 out of memory failure.
2178
2179 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
2180 (clone_section): Handle out of memory failures. Rename var to
2181 avoid c++ reserved word.
2182
25f72752
AM
21832000-09-18 Alan Modra <[email protected]>
2184
2185 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
2186 stub_name param to stub_sec_name.
2187 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2188
0752970e
NC
21892000-09-10 Michael Sokolov <[email protected]>
2190
2191 * emultempl/m68kelf.em: New file.
2192 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
2193 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
2194 * Makefile.in: Regenerate.
2195
92b7e9d8
AM
21962000-09-15 Alan Modra <[email protected]>
2197
2198 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
2199 only as needed.
2200
9b14b192
NC
22012000-09-13 Nick Clifton <[email protected]>
2202
2203 * ldmain.c (multiple_definition): Disable relaxation if
2204 multiple symbol definitions are encountered - otherwise the
2205 linker could abort with an assertion failure.
2206
891fa266
NC
22072000-09-10 Nick Clifton <[email protected]>
2208
2209 * mri.c: Fix formatting.
2210
5d64ca4e
L
22112000-09-07 H.J. Lu <[email protected]>
2212
2213 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2214 * configure: Rebuild.
2215
dd94604f
L
22162000-09-07 H.J. Lu <[email protected]>
2217
2218 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
2219 * Makefile.in: Rebuild.
2220
71bfc0ae
AM
22212000-09-07 Alan Modra <[email protected]>
2222
2223 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
2224 broken list handling. Create __start_SECNAME and __stop_SECNAME
2225 when no place-holder. Add some comments. Test both SEC_CODE and
2226 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 2227 Handle case where no output section statement created.
71bfc0ae 2228
4a428502
AO
22292000-09-07 Niibe Yutaka <[email protected]>, Kaz Kojima <[email protected]>, Alexandre Oliva <[email protected]>
2230
2231 * configure.tgt (sh-*-linux*): Added.
2232 * Makefile.am: Added eshelf_linux and eshlelf_linux.
2233 * Makefile.in: Rebuilt.
2234 * emulparams/shelf_linux.sh: New file.
2235 * emulparams/shlelf_linux.sh: New file.
2236
f9989030
AM
22372000-09-06 Alan Modra <[email protected]>
2238
2239 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2240 try shuffling sections when the orphan happens to be the place
2241 holder. Keep count of unique section names generated so we speed
2242 the search for a new name.
2243
58cccadb
AO
22442000-09-06 Alexandre Oliva <[email protected]>
2245
2246 * configure: Rebuilt with new libtool.m4.
2247
5b343f5a
NC
22482000-09-05 Nick Clifton <[email protected]>
2249
2250 * Makefile.in: Regenerate.
2251 * aclocal.m4: Regenerate.
2252 * configure: Regenerate.
2253 * config.in: Regenerate.
2254 * po/ld.pot: Regenerate.
2255
2256 * ldint.texinfo: Remove CVS revision marker - it foils local
2257 comparisons.
2258
2259 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 2260
a854a4a7
AM
22612000-09-05 Alan Modra <[email protected]>
2262
3231d22e
AM
2263 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
2264 to stub section flags.
2265 (hppa_for_each_input_file_wrapper): New.
2266 (hppa_lang_for_each_input_file): New.
2267 (lang_for_each_input_file): Define to call above.
2268 (multi_subspace): New.
2269 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
2270 (PARSE_AND_LIST_PROLOGUE): Define.
2271 (PARSE_AND_LIST_LONGOPTS): Define.
2272 (PARSE_AND_LIST_OPTIONS): Define.
2273 (PARSE_AND_LIST_ARGS_CASES): Define.
2274 (hppaelf_finish): Call elf32_hppa_set_gp.
2275 (hppaelf_set_output_arch): Remove.
2276 (LDEMUL_SET_OUTPUT_ARCH): Remove.
2277
2278 * emulparams/hppalinux.sh (ELFSIZE): Define.
2279 (MACHINE): Define.
2280 (OTHER_READONLY_SECTIONS): Define.
2281 (DATA_PLT): Define.
2282 (GENERATE_SHLIB_SCRIPT): Define.
2283
5f992e62
AM
2284 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
2285 to const throughout. Change `void *' to `PTR' throughout.
2286 (lang_memory_default): Function is local to file, add `static'.
2287
2288 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
2289 (ehppalinux.c): Likewise.
2290 (earmelf.c): Likewise.
2291 (earmelf_linux.c): Likewise.
2292 (earmelf_linux26.c): Likewise.
2293 * Makefile.in: Regenerate.
2294
a854a4a7
AM
2295 * ld.h (ld_config_type): Add unique_orphan_sections.
2296 * lexsup.c (OPTION_UNIQUE): Define.
2297 (ld_options): Add "--unique".
2298 (parse_args): Handle it.
2299 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2300 search for an existing output section if unique_orphan_sections is
2301 set. Make use of bfd_get_unique_section_name rather than
2302 duplicating code here.
2303 * ld.texinfo: Describe --unique.
2304
2305 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
2306 optional arg to split-by-file.
2307 (parse_args): Handle them.
2308 * ld.texinfo: Update description of these options.
2309 * ldwrite.c (clone_section): Pass in the section name. Replace
2310 local code with bfd_get_unique_section_name.
2311 (split_sections): Tidy code and comments. Use a list traversal
2312 more appropriate to the list construction. Handle cooked section
2313 sizes. Split when split_by_reloc reached rather than exceeded.
2314 Track section size and split when split_by_file reached. Fix
2315 link_order_tail (even though it's not used).
2316 (ldwrite): Modify condition for calling split_sections to suit
2317 changed split_by_reloc and split_by_file.
2318 * ldmain.c (main): Init config.split_by_reloc and
2319 config.split_by_file to -1.
2320 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
2321 Change split_by_file to bfd_size_type.
2322
18e03609
NC
23232000-09-02 Nick Clifton <[email protected]>
2324
2325 * configure.in: Increase version number to 2.10.91.
2326 * NEWS: Mention new ability to support removal of duplicate DWARF2
2327 debug information.
2328 * configure: Regenerate.
2329 * aclocal.m4: Regenerate.
2330 * config.in: Regenerate.
2331
3a9d486c
NC
23322000-09-02 Daniel Berlin <[email protected]>
2333
2334 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
2335 sections.
a2b64bed 2336 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
2337 * scripttempl/elfd10v.sc: Ditto.
2338 * scripttempl/elfd30v.sc: Ditto.
2339 * scripttempl/elfi370.sc: Ditto.
2340 * scripttempl/elfm68hc11.sc: Ditto.
2341 * scripttempl/elfm68hc12.sc: Ditto.
2342 * scripttempl/elfi386beos.sc: Ditto.
2343 * scripttempl/v850.sc: Ditto.
50bbae35 2344
ac48eca1
AO
23452000-08-31 Alexandre Oliva <[email protected]>
2346
2347 * acinclude.m4: Include libtool and gettext macros from the
2348 top level.
2349 * aclocal.m4, configure: Rebuilt.
2350
c13b1b77
NC
23512000-08-25 Nick Clifton <[email protected]>
2352
2353 * ldlang.c (open_output): When choosing the target for a
2354 particular endianness, do nothing if the target is not
2355 supported.
2356
dcb0bd0e
L
23572000-08-25 H.J. Lu <[email protected]>
2358
2359 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
2360 check -rpath nor LD_RUN_PATH for cross link.
2361 * ld.texinfo: Document the change.
2362
5bcac8a4
HPN
23632000-08-24 Hans-Peter Nilsson <[email protected]>
2364
2365 * NEWS: Mention support for CRIS.
2366
6dd8c765
L
23672000-08-23 H.J. Lu <[email protected]>
2368
2369 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
2370 the current runpath list from bfd_elf_get_runpath_list ()
2371 before search.
2372
ec4eb78a
L
23732000-08-22 H.J. Lu <[email protected]>
2374
2375 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
2376 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
2377 LD_LIBRARY_PATH for native linker. Display the needed DSO if
2378 trace_file_tries is non-zero.
2379 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
2380 if trace_file_tries is non-zero.
2381
2382 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 2383 * NEWS: Mention it.
ec4eb78a 2384
22b36938
JE
23852000-08-14 Jason Eckhardt <[email protected]>
2386
2387 * NEWS: Mention i860 support.
2388
d73e9da0
AS
23892000-08-14 Andreas Schwab <[email protected]>
2390
2391 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 2392 syntax.
d73e9da0 2393
9ac4db9c
GK
23942000-08-10 Geoff Keating <[email protected]>
2395
2396 * scripttempl/elf.sc: Add a comment giving the correspondence
2397 between sections, per-datum sections, and linkonce sections. Make
2398 the comment true even for .bss, .sdata, .sdata2, .sbss, and
2399 .sbss2.
2400
165589e4
JE
24012000-08-10 Jason Eckhardt <[email protected]>
2402
2403 * emulparams/elf32_i860.sh: New file.
2404 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
2405 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2406 (eelf32_i860.c): New rule.
2407 * Makefile.in: Regenerate.
2408
345a835d
NC
24092000-08-10 Nick Clifton <[email protected]>
2410
2411 * emulparams/mipspe.sh (ENTRY): Add definition.
2412
e374f1d9
NC
24132000-08-08 Peter Jeremy <[email protected]>
2414
2415 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2416 in error message.
2417
236d5abf
NC
24182000-08-08 Stephane Carrez <[email protected]>
2419
2420 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2421 the final size of .bss section.
2422 * scripttempl/elfm68hc12.sc: Likewise.
2423
4b209b22
AM
24242000-08-04 Alan Modra <[email protected]>
2425
2426 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2427 gld${EMULATION_NAME}_parse_args for consistency. Combine
2428 lastoptind and prevoptind vars, and keep track of last optind.
2429 (gld_${EMULATION_NAME}_list_options): Rename to
2430 gld${EMULATION_NAME}_list_options.
2431
28423a68
AM
24322000-08-03 Rodney Brown <[email protected]>
2433
2434 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2435 (i586-sco-sysv5uw7.1.0).
2436
b2009ff7
L
24372000-07-27 H.J. Lu <[email protected]>
2438
2439 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2440 (PARSE_AND_LIST_PROLOGUE): New.
2441 (PARSE_AND_LIST_LONGOPTS): Likewise.
2442 (PARSE_AND_LIST_OPTIONS): Likewise.
2443 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2444 (PARSE_AND_LIST_EPILOGUE): Likewise.
2445
04925e1e
AM
24462000-07-28 Alan Modra <[email protected]>
2447
41392f03
AM
2448 * emultempl/armelf.em: Elide functions common to elf32.em,
2449 ie. most of the file.
2450 (arm_elf_after_open): New. Do arm specific things then call
2451 gld${EMULATION_NAME}_after_open.
2452 (arm_elf_before_allocation): New. Call
2453 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2454 (PARSE_AND_LIST_PROLOGUE): Define.
2455 (PARSE_AND_LIST_SHORTOPTS): Define.
2456 (PARSE_AND_LIST_LONGOPTS): Define.
2457 (PARSE_AND_LIST_OPTIONS): Define.
2458 (PARSE_AND_LIST_ARGS_CASES): Define.
2459 (LDEMUL_AFTER_OPEN): Define.
2460 (LDEMUL_BEFORE_ALLOCATION): Define.
2461 (LDEMUL_BEFORE_PARSE): Define.
2462 (LDEMUL_FINISH): Define.
2463
2464 * emultempl/hppaelf.em: Similarly zap most of this file.
2465 (hppaelf_add_stub_section): Prototype.
2466 (hppaelf_layaout_sections_again): Prototype.
2467 (hook_in_stub): Prototype.
2468 (LDEMUL_SET_OUTPUT_ARCH): Define.
2469 (LDEMUL_FINISH): Define.
2470 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2471
2472 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2473 (EXTRA_EM_FILE): New.
2474 * emulparams/armelf_linux.sh: Likewise.
2475 * emulparams/armelf_linux26.sh: Likewise.
2476 * emulparams/hppalinux.sh: Likewise.
2477 * emulparams/hppaelf.sh: Likewise.
2478 (NOP): Define.
2479
2480 * emultempl/elf32.em: Fix formatting.
2481 (EXTRA_EM_FILE): Source it.
2482 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2483 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2484 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2485 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2486 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2487 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2488 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2489 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2490 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2491 allow functions in this file to be overridden.
2492 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2493
2494 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2495
04925e1e
AM
2496 * emultempl/elf32.em: Reorganize file.
2497
88cdf297
NC
24982000-07-27 Ivan Kokshaysky <[email protected]>
2499
2500 * emulparams/elf64alpha.sh: Implement "-taso" emulation
2501 specific option to fit 64-bit executable in the lower
2502 31-bit address range. This is done by changing start
2503 address of .interp (the very first section of executable)
2504 and then setting EF_ALPHA_32BIT elf header flag.
2505
20bccb34
NC
25062000-07-21 Michael Sokolov <[email protected]>
2507
2508 * emultempl/m68kcoff.em: New file.
2509 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
2510 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
2511 generic.em.
2512 * Makefile.in: Regenerate.
2513
699845ef
L
25142000-07-20 H.J. Lu <[email protected]>
2515
2516 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2517 and "disable-new-dtags" to stop getopt from treating -d/-e as
2518 abbreviations for these options.
2519
6c1439be
L
25202000-07-20 H.J. Lu <[email protected]>
2521
2522 * ld.texinfo: Add documentation for --disable-new-dtags and
2523 --enable-new-dtags.
2524
2525 * ldmain.c (main): Initialize link_info.new_dtags to false.
2526
2527 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
2528 --disable-new-dtags and --enable-new-dtags.
2529 (gld_${EMULATION_NAME}_list_options): Likewise.
2530
28c309a2
NC
25312000-07-05 Kenneth Block <[email protected]>
2532
a2b64bed
NC
2533 * lexsup.c: Add optional style to demangle switch
2534 * ld.texinfo: Document optional style to demangle switch.
50bbae35 2535
9d06555c
HPN
25362000-07-20 Hans-Peter Nilsson <[email protected]>
2537
2538 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
2539 ecrislinux.o.
2540 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
2541 Regenerate dependencies.
2542 * Makefile.in: Rebuild.
2543 * configure.tgt (cris-*-*): New target.
2544 * emulparams/crisaout.sh, emulparams/criself.sh,
2545 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
2546 * po/POTFILES.in, po/ld.pot: Regenerate.
2547
19e3be22
L
25482000-07-20 H.J. Lu <[email protected]>
2549
2550 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
2551 Print out ignored -z options.
2552
e0ee487b
L
25532000-07-19 H.J. Lu <[email protected]>
2554
19e3be22
L
2555 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
2556 (PARSE_AND_LIST_PROLOGUE): New.
2557 (PARSE_AND_LIST_LONGOPTS): Likewise.
2558 (PARSE_AND_LIST_OPTIONS): Likewise.
2559 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2560
2561 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
2562
2563 * lexsup.c (ld_options): Comment out 'z'.
2564 (parse_args): Likewise.
2565
2566 * emultempl/elf32.em: Include "elf/common.h".
2567 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
2568 options.
2569 (gld_${EMULATION_NAME}_list_options): Likewise.
2570
2571 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 2572
49e56c49
L
25732000-07-19 H.J. Lu <[email protected]>
2574
2575 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
2576 bfd_elf_set_dt_needed_soname ().
2577
9d68bc82
DD
25782000-07-18 DJ Delorie <[email protected]>
2579
2580 * pe-dll.c (pe_dll_id_target): check object target name also
2581
53db15ed
HPN
25822000-07-18 Hans-Peter Nilsson <[email protected]>
2583
2584 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
2585 ${INIT_END} if relocating.
2586 (.fini): Likewise ${FINI_START} and ${FINI_END}.
2587
0ad8cf4c
DD
25882000-07-16 Charles Wilson <[email protected]>
2589
a2b64bed 2590 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
2591 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
2592 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
2593 errors introduced by the old dynamic lib search order.
2594
874c8c99
DD
25952000-07-17 DJ Delorie <[email protected]>
2596
2597 * pe-dll.c (process_def_file): auto-export data items also
2598 (pe_process_import_defs): also see if _imp_ form needed
2599
5b4cf3f4
DD
26002000-07-12 Charles Wilson <[email protected]>
2601
2602 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
2603 for dll import libraries
2604
062739d1
NC
26052000-07-12 Mark Elbrecht <[email protected]>
2606
2607 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 2608 gcc 2.95.2 and later.
062739d1 2609
1c64c4ed
NC
26102000-07-11 Kazu Hirata <[email protected]>
2611
50bbae35
AM
2612 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
2613 message.
1c64c4ed 2614
b71e2778
AM
26152000-07-10 Alan Modra <[email protected]>
2616
2617 * ldemul.h (struct lang_input_statement_struct): Remove forward
2618 declaration.
2619 (struct search_dirs): Likewise.
2620 * ldfile.h (struct lang_input_statement_struct): Likewise.
2621 Protect file from multiple inclusion.
2622 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
2623 declaration from macro to file scope.
2624
2625 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
2626 * ldgram.y: Likewise here.
2627 * ldlang.c: And here.
2628 * ldmain.c: And here.
2629 * mpw-elfmips.c: And here.
2630 * mpw-eppcmac.c: And here.
2631 * emultempl/aix.em: And here.
2632 * emultempl/armcoff.em: And here.
2633 * emultempl/armelf.em: And here.
2634 * emultempl/armelf_oabi.em: And here.
2635 * emultempl/beos.em: And here.
2636 * emultempl/elf32.em: And here.
2637 * emultempl/hppaelf.em: And here.
2638 * emultempl/linux.em: And here.
2639 * emultempl/lnk960.em: And here.
2640 * emultempl/pe.em: And here.
2641 * emultempl/sunos.em: And here.
2642 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
2643 * mpw-idtmips.c: Ditto.
2644 * emultempl/generic.em: Ditto.
2645 * emultempl/gld960.em: Ditto.
2646 * emultempl/gld960c.em: Ditto.
2647 * emultempl/mipsecoff.em: Ditto.
2648 * emultempl/ticoff.em: Ditto.
2649 * emultempl/vanilla.em: Ditto.
2650
2651 * pe-dll.c: Include ldfile.h
2652 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
2653
2654 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
2655 arguments to bfd_elf32_size_dynamic_sections call.
2656 (gldelf32ebmip_place_orphan): Add missing arguments to
2657 lang_leave_output_section_statement call.
2658
2ef53d66
L
26592000-07-10 H.J. Lu <[email protected]>
2660
2661 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
2662 DLL_SUPPORT.
2663 (strhash): Likewise.
2664 (compute_dll_image_base): Likewise.
2665 (pe_undef_found_sym): Likewise.
2666 (pe_undef_cdecl_match): Likewise.
2667 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
2668 argument "arch" with ATTRIBUTE_UNUSED.
2669
9a8cbb09
AM
26702000-07-10 Alan Modra <[email protected]>
2671
2672 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
2673
2674 From Ryan Bradetich <[email protected]>
2675 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 2676
4900fc06
AM
26772000-07-09 Alan Modra <[email protected]>
2678
2679 Changes to create multiple linker stubs, positioned immediately
2680 before the section where they are required.
2681 * emultempl/hppaelf.em: Include elf32-hppa.h.
2682 (stub_sec, file_chain): Delete.
2683 (hppaelf_create_output_section_statements): Don't make a stub
2684 section here.
2685 (hook_stub_info): New struct.
2686 (hook_in_stub): New function.
2687 (hppaelf_add_stub_section): New function.
2688 (hppaelf_finish): Do nothing for relocateable links. Modify the
2689 call to elf32_hppa_size_stubs. Move code for updating section
2690 layout from here...
2691 (hppaelf_layaout_sections_again): ..to here, a new function.
2692
2693 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
2694 broken list handling. Pass in a pointer to the list.
2695 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
2696 for above changes.
2697 (hppaelf_before_parse): Prototype.
2698 (hppaelf_set_output_arch): Prototype.
2699 (hppaelf_create_output_section_statements): Prototype.
2700 (hppaelf_delete_padding_statements): Prototype.
2701 (hppaelf_finish): Prototype.
2702
2703 Merge from elf32.em
2704 * emultempl/hppaelf.em: Include ctype.h.
2705 (struct orphan_save): New.
2706 (gld${EMULATION_NAME}_place_orphan): New.
2707 (output_rel_find): New.
2708 (hppaelf_get_script): Update from elf32.em.
2709 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
2710 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 2711 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
2712
2713 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
2714 ehppalinux.o, sort it. Regenerate dependencies.
2715 (ehppalinux.c): Depend on hppaelf.em
2716 * Makefile.in: Regenerate.
2717
2718 * configure.tgt: targ_emul=hppalinux for hppa*linux
2719
2720 * emulparams/hppalinux.sh: New.
2721 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2722
227aeb07
AM
27232000-07-08 Alan Modra <[email protected]>
2724
2725 * lexsup.c (parse_args): Copy section name.
2726
28609fd4 27272000-07-07 Charles Wilson <[email protected]>
602e90d3 2728
2ef53d66 2729 * emultempl/pe.em: institute the following search order for
602e90d3
DD
2730 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2731 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2732 static lib (libfoo.a) if none of the above are found.
2733
5f577f7d
DD
27342000-07-07 Mumit Khan <[email protected]>
2735
50bbae35 2736 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 2737 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 2738 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
2739 (gld_${EMULATION_NAME}_parse): Handle.
2740 (strhash): New static function.
50bbae35 2741 (compute_dll_image_base): New static function.
5f577f7d
DD
2742 (gld_${EMULATION_NAME}_set_symbols): Use.
2743
9a8cbb09 27442000-07-05 DJ Delorie <[email protected]>
302ab118
DD
2745
2746 * MAINTAINERS: new
2747
3548145d 27482000-07-01 Koundinya K <[email protected]>
50bbae35
AM
2749
2750 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2751 * emulparams/elf32btsmip.sh: New file.
2752 * Makefile.am: Add traditional mips target.
2753 * Makefile.in: Rebuild.
2754
67798033
L
27552000-07-01 H.J. Lu <[email protected]>
2756
2757 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2758 automake to use YLWRAP.
2759 * Makefile.in: Rebuild.
2760
0bdaf48b
AM
27612000-07-01 Alan Modra <[email protected]>
2762
2763 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2764 (CLEANFILES): Add DEPA.
2765 * Makefile.in: Regenerate.
2766
c9e769c2
TW
27672000-06-30 Timothy Wall <twall@ppc>
2768
2769 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2770 the page in the upper octet of the address.
2771
65aa24b6
NC
27722000-06-26 Marek Michalkiewicz <[email protected]>
2773
2774 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2775
4667035e
AM
27762000-06-24 Alan Modra <[email protected]>
2777
2778 * NEWS: arm-elf does --gc-sections too.
2779
1581f8c9
AM
27802000-06-22 Alan Modra <[email protected]>
2781
2782 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2783 find one.
2784 * Makefile.in: Regenerate.
2785
01580992
L
27862000-06-21 H.J. Lu <[email protected]>
2787
2788 * Makefile.am: Rebuild dependency.
2789 * Makefile.in: Rebuild.
2790
bbeb2e03
L
27912000-06-20 H.J. Lu <[email protected]>
2792
2793 * Makefile.am: Rebuild dependency.
2794 * Makefile.in: Rebuild.
2795
74459f0e
TW
27962000-06-20 Timothy Wall <[email protected]>
2797
2798 * scripttempl/tic54xcoff.sc: New.
2799 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2800 * gen-doc.texi: Add flag for TI COFF.
2801 * ld.texinfo: Add documentation for TI COFF handling switches.
2802 * emultempl/ticoff.em: New. TI COFF handling.
2803 * configure.tgt: Add tic54x target.
2804 * Makefile.am: Add tic54x target.
2805 * Makefile.in: Ditto.
2806
2ab47eed
AM
28072000-06-20 Alan Modra <[email protected]>
2808
2809 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2810 checking for backslashes.
2811
919e4093
AM
28122000-06-19 Alan Modra <[email protected]>
2813
2814 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2815
987fd5b4
AM
28162000-06-18 Alan Modra <[email protected]>
2817
2818 * NEWS: Update list of targets supporting --gc-sections.
2819
2820 * scripttempl/elf.sc: KEEP .eh_frame contents.
2821 * scripttempl/elfd30v.sc: Same here.
2822
60bcf0fa
NC
28232000-06-18 Stephane Carrez <[email protected]>
2824
2825 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2826 and m68hc11 (elf).
2827 * Makefile.in: Rebuild.
2828 * configure.tgt: Recognize m68hc12 and m68hc11.
2829 * scripttempl/elfm68hc12.sc: New file.
2830 * emulparams/m68hc12elfb: New emulation.
2831 * emulparams/m68hc12elf: New emulation.
2832 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2833 (includes a memory.x script to define the ROM and RAM banks).
2834 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2835 New configuration files for support of Motorola 68hc11
2836
c7c54483
AM
28372000-06-15 Alan Modra <[email protected]>
2838
2839 * ldmain.c (main): Only change SEC_READONLY for final link.
2840
bcef29e6
L
28412000-06-13 H.J. Lu <[email protected]>
2842
2843 * configure: Regenerate.
2844
946efd95
DB
28452000-06-08 David O'Brien <[email protected]>
2846
2847 * configure.in (VERSION): Update to show this is the CVS mainline.
2848
57a6fd07
DB
28492000-06-07 Michael Sokolov <[email protected]>
2850
2851 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2852 input objects to be ECOFF.
2853 (check_sections): einfo takes %B, not %P, to print a BFD name.
2854
e06cae36
L
28552000-06-05 Michael Matz <[email protected]>
2856
2857 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 2858 version scripts.
e06cae36 2859
d952f17a 2860 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 2861
2f0b56c0
DC
28622000-05-23 Marek Michalkiewicz <[email protected]>
2863
2864 * emulparams/avr1200.sh (STACK): Define as 0.
2865 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2866 * emulparams/avr4433.sh (STACK): Likewise.
2867 * emulparams/avr44x4.sh (STACK): Likewise.
2868 * emulparams/avr85xx.sh (STACK): Likewise.
2869 * emulparams/avrmega103.sh (STACK): Likewise.
2870 * emulparams/avrmega161.sh (STACK): Likewise.
2871 * emulparams/avrmega603.sh (STACK): Likewise.
2872 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2873 (__stack): Define from ${STACK} for main().
2874
2114f57b
AM
28752000-05-26 Alan Modra <[email protected]>
2876
2877 * Makefile.am: Update dependencies with "make dep-am"
2878 * Makefile.in: Regenerate.
2879
5af11cab
AM
28802000-05-26 Eli Zaretskii <[email protected]>
2881
2882 * ldmain.c: Include filenames.h.
2883 (set_scripts_dir): Support backslashes in program name.
2884
1f0df59a
NC
28852000-05-22 Igor Shevlyakov <[email protected]>
2886
2887 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
2888 read-only, don't forget to reset SEC_READONLY because it
2889 could be already set.
1f0df59a 2890
176355da
NC
28912000-05-22 Thomas de Lellis <[email protected]>
2892
50bbae35
AM
2893 * ld.1: Add documentation for new command line option:
2894 --section-start <sectionname>=<sectionorg>
2895 This is a generic version of -Ttext etc. which accepts
2896 any section name as a parameter instead of just text/data/
2897 bss.
2898 * ld.texinfo: More docs.
2899 * NEWS: More docs.
2900 * lexsup.c: (parse_args): Recognize new command line option.
176355da 2901 (ld_options): Add new option.
50bbae35 2902
8c5ff972
L
29032000-05-18 H.J. Lu <[email protected]>
2904
2905 * lexsup.c (parse_args): `i' == `r', not `q'.
2906
0b76fe77
JL
2907Thu May 18 10:47:57 2000 Jeffrey A Law ([email protected])
2908
2909 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2910
a712da20
NC
29112000-05-17 S. Bharadwaj Yadavalli <[email protected]>
2912 Rick Gorton <[email protected]>
50bbae35 2913
a712da20
NC
2914 Add support for '-q' == '--emit-relocs' switch.
2915 * ldmain.c (main): Default to false.
2916 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2917 * NEWS: Describe the emitrelocations switch.
2918 * ld.texinfo: Describe the emitrelocations switch.
2919
690a460e
NC
29202000-05-16 Charles Wilson <[email protected]>
2921
a2b64bed 2922 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
2923 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2924 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2925 link options.
50bbae35 2926
c2f1343c
AM
29272000-05-15 David O'Brien <[email protected]>
2928
2929 * lexsup.c (parse_args): Update the year in the copyright notice.
2930
897083bd
AM
29312000-05-13 Alan Modra <[email protected]>
2932
2933 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
2934 Replace defines with those from intl/libgettext.h to quieten gcc
2935 warnings.
2936
cd4c806a
L
29372000-05-10 H.J. Lu <[email protected]>
2938
2939 * ldlang.c (open_input_bfds): Don't load the same file within
2940 a group again if the whole archive has been loaded already.
2941
93697284
AM
29422000-05-03 Alan Modra <[email protected]>
2943
2944 From Ulf Carlsson <[email protected]> and Andreas Jaeger <[email protected]>
2945 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
2946 strtoul.
2947
ebd6fc29
JW
2948Mon May 1 17:34:34 2000 Jim Wilson <[email protected]>
2949
99a4150f 2950 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 2951
ebd6fc29
JW
2952 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2953 host "ia64-*-linux-gnu*".
2954
a1934524
AM
29552000-04-29 Andreas Jaeger <[email protected]>
2956
2957 * ld.h: Correctly check GCC version.
2958
730a39a0
JL
2959Tue Apr 25 11:20:43 2000 Jeffrey A Law ([email protected])
2960
2961 * Makefile.am: Add PA64 support. Add missing dependencies for
2962 PA32 elf support.
2963 * Makefile.in: Rebuilt.
2964 * configure.tgt: Add PA64 support (currently disabled).
2965
aea4bd9d
AM
29662000-04-25 Alan Modra <[email protected]>
2967
2968 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
2969 (output_rel_find): New function.
2970 (hold_section, hold_use): Delete.
2971 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2972 hold_interp): Make local to place_orphan.
2973 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
2974 rather than place_section to find possible previous use of orphan.
2975 Similarly find the place-holder output sections. Use returned
2976 value from lang_enter_output_section_statement rather than calling
2977 lang_output_section_statement_lookup.
2978 * emultempl/armelf.em: Same here.
2979 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
2980
2981 * ldlang.c (lang_enter_output_section_statement): Return output
2982 section statement.
2983 * ldlang.h (lang_enter_output_section_statement): Change
2984 declaration too.
2985
2986 * ldlang.h (lang_output_section_statement): Export it.
2987 * ldlang.c (lang_output_section_statement): Ditto.
2988
2b5fc1f5
NC
29892000-04-24 Nick Clifton <[email protected]>
2990
2991 * ld.texinfo (Output Section Data): Add note that section data
2992 commands cannot appear outside of section directives.
2993
d8475ff6
JL
29942000-04-2 Matthew Green <[email protected]>
2995
2996 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
2997
800eeca4
JW
2998Fri Apr 21 13:20:53 2000 Richard Henderson <[email protected]>
2999 David Mosberger <[email protected]>
3000
3001 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
3002 (eelf64_ia64.c): New rule.
3003 * Makefile.in: Rebuild.
3004 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
3005 * emulparams/elf64_ia64.sh: New file.
50bbae35 3006
c9637625
RH
30072000-04-21 Richard Henderson <[email protected]>
3008
3009 * scripttempl/elfd30v.sc: Place .gcc_except_table.
3010
28ea9521
AM
30112000-04-19 Alan Modra <[email protected]>
3012
3013 * dep-in.sed: Match space at start of file name, not at end.
3014
20d04697
L
30152000-04-18 H.J. Lu <[email protected]>
3016
3017 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
3018 lang_leave_output_section_statement () after calling
3019 lang_enter_output_section_statement ().
3020 * emultempl/armelf.em: Likewise.
3021
5ba47421
AM
30222000-04-18 Alan Modra <[email protected]>
3023
3024 * emultempl/elf32.em (struct orphan_save): Add section field.
3025 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
3026 better order, and place first orphan section as we did before the
3027 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
3028 Don't call make_bfd_section here, let wild_doit do the job for us.
3029 Don't build a statement list when we'll only throw it away.
3030 * emultempl/armelf.em: Ditto.
3031 * emultempl/pe.em: Similarly.
3032
bdbe5705
GK
30332000-04-14 Geoff Keating <[email protected]>
3034
3035 * scripttempl/elfppc.sc: Remove.
3036 * emulparams/elf32ppc.sh: Use elf.sc.
3037 * emulparams/elf32lppc.sh: Use elf.sc.
3038 * emulparams/elf32ppclinux.sh: Use elf.sc.
3039 * emulparams/elf32ppcsim.sh: New file.
3040 * emulparams/elf32lppcsim.sh: New file.
3041 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
3042 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
3043 * Makefile.in: Regenerate.
3044 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
3045
01cc8ff8
AM
30462000-04-14 Alan Modra <[email protected]>
3047
5ba47421 3048 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 3049 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
3050 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3051 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
3052 Also set all relocateable section start addresses.
3053
6c86c541
GK
30542000-04-13 Geoff Keating <[email protected]>
3055
3056 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
3057 Add new BSS_PLT variable for when .plt need not be contained in
3058 the file. Move _etext so that it is also after .fini, and provide
3059 both etext and _etext with a leading underscore. Mark the start
3060 and end of .sbss.
3061
6a345e87
AM
30622000-04-12 Alan Modra <[email protected]>
3063
3064 * emultempl/elf32.em (struct orphan_save): New.
3065 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3066 hold_interp): Make them struct orphan_save.
3067 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
3068 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
3069 the end of the relevant section list. Also add associated section
3070 statements to the end of any previous orphan statements.
3071 * emultempl/armelf.em: Similarly.
3072 * emultempl/pe.em: Similarly.
3073
8be86746
AM
30742000-04-11 Alan Modra <[email protected]>
3075
3076 * ld.texinfo (Simple Example): Remove extraneous paragraph.
3077
a2d91340 3078Fri Apr 7 15:56:57 2000 Andrew Cagney <[email protected]>
50bbae35 3079
a2d91340 3080 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 3081 --enable-build-warnings option.
a2d91340
AC
3082 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3083 * Makefile.in, configure: Re-generate.
3084
41b49281
AM
30852000-04-04 Alan Modra <[email protected]>
3086
8ad3436c
AM
3087 * po/ld.pot: Regenerate.
3088
3089 * lexsup.c (help): Restore translated part of bug string.
3090
41b49281
AM
3091 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3092 (DEP): Quote when passing vars to sub-make. Add warning message
3093 to end.
3094 (DEP1): Rewrite for "gcc -MM".
3095 (CLEANFILES): Add DEP2.
3096 Update dependencies.
3097 * Makefile.in: Regenerate.
3098
c20f4f8c
AM
30992000-04-03 Alan Modra <[email protected]>
3100
3101 * ld.h: #include "bin-bugs.h"
3102 * lexsup.c (help): Use REPORT_BUGS_TO.
3103
adde6300
AM
31042000-03-27 Denis Chertykov <[email protected]>
3105
3106 * configure.tgt (avr-*-*): New target support.
3107 * Makefile.am: Likewise.
3108 * scripttempl/elf32avr.sc: New script file.
3109 * emulparams/avr1200.sh: New file.
3110 * emulparams/avr23xx.sh: New file.
3111 * emulparams/avr4433.sh New file.
3112 * emulparams/avr44x4.sh New file.
3113 * emulparams/avr85xx.sh New file.
3114 * emulparams/avrmega103.sh New file.
3115 * emulparams/avrmega161.sh New file.
3116 * emulparams/avrmega603.sh New file.
3117 * Makefile.in: Regenerate.
3118
9282ff41
L
31192000-03-09 Andreas Jaeger <[email protected]>
3120
3121 * Makefile.am (check-DEJAGNU): Also unset LANG.
3122 * Makefile.in: Rebuild.
3123
a9998805
ILT
31242000-03-06 Ian Lance Taylor <[email protected]>
3125
3126 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
3127 archive.
3128
f9bc20e7
NC
31292000-03-02 H.J. Lu <[email protected]>
3130
3131 * emulparams/elf32mcore.sh: Include "getopt.h".
3132
4e277b38
ILT
31332000-03-01 Ian Lance Taylor <[email protected]>
3134
3135 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
3136
f0c87f88
NC
31372000-03-01 H.J. Lu <[email protected]>
3138
3139 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
3140 * emulparams/shpe.sh: Likewise.
3141
31422000-03-01 Nick Clifton <[email protected]>
3143
3144 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
3145 to unused parameters.
3146
3147 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
3148 functions only used by DLL code.
3149 (_place_orphan): Initialise 'dollar'.
3150
b6f29aaa
L
31512000-03-01 H.J. Lu <[email protected]>
3152
3153 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
3154 indicate if the undefined symbol is a fatal error or not.
3155 Don't delete the output file if "fatal" is false.
3156
af28fce3
L
31572000-02-29 H.J. Lu <[email protected]>
3158
50bbae35 3159 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
3160 Set LC_COLLATE and LC_ALL to null and export them. It is for
3161 sort which expects the C locale.
3162 Add $(LIBS) to all $(HOSTING_LIBS).
3163 * Makefile.in: Rebuild.
3164
40d109bf
AM
31652000-02-29 Alan Modra <[email protected]>
3166
3167 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
3168 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
3169 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
3170 (ld_emulation_xfer_struct): Add missing NULL initialiser for
3171 find_potential_libraries.
3172
db5be682
JB
31732000-02-28 Jim Blandy <[email protected]>
3174
3175 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 3176 list entries; the lexer considers commas to be valid part of a
db5be682
JB
3177 filename, so in something like `foo, bar' the comma is considered
3178 part of the first filename, `foo,'.
3179 * ld.texinfo: Update section on EXCLUDE_FILE lists.
3180
3558ff4c
ILT
31812000-02-27 Loren J. Rittle <[email protected]>
3182
3183 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3184 host "i[3456]86-*-freebsdelf*".
3185
4eee2681
ILT
31862000-02-27 Mark Elbrecht <[email protected]>
3187
3188 * scripttempl/i386go32.sc: Move misplaced semicolons.
3189
8d75d12d
ILT
31902000-02-25 Ian Lance Taylor <[email protected]>
3191
3192 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
3193 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
3194 (eelf64hppa.c, ehppaelf.c): Remove targets.
3195 * Makefile.in: Rebuild.
3196
a1836d49
AO
31972000-02-25 Alexandre Oliva <[email protected]>
3198
ad51fb57
AO
3199 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
3200 GNU/Linux/sparc, but keep the default as 32.
3201
a1836d49
AO
3202 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
3203 it default if sparcv9 or sparc64.
3204
344a211f
NC
32052000-02-24 Nick Clifton <[email protected]>
3206
3207 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
3208 * Makefile.in: Regenerate.
3209 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
3210
3211 * ldemul.h (ld_emulation_xfer_struct): Add new field:
3212 find_potential_libraries.
3213 * ldemul.c (ldemul_find_potential_libraries): New function.
3214
3215 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 3216 exported.
344a211f
NC
3217 (ldfile_open_file): Call ldemul_find_potential_libraries.
3218 * ldfile.h: Add prototype for ldfile_open_file_search.
3219
3220 * pe-dll.c: Add support for ARM, MIPS and SH targets.
3221
3222 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
3223 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
3224
3225 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
3226 (gld_X_find_potential_libraries): New function. Search for
3227 libraries called "*.lib".
3228
a2b64bed 3229 * scripttempl/pe.sc: Add .pdata section.
344a211f 3230
eaba1dd3
RH
32312000-02-23 Richard Henderson <[email protected]>
3232
3233 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
3234 Add and use memory regions.
3235
5b93d8bb
AM
32362000-02-23 Linas Vepstas ([email protected])
3237
3238 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
3239
3240 * Makefile.am: Add support for Linux/IBM 370.
3241 * configure.tgt: Likewise.
3242
3243 * Makefile.in: Regenerate.
3244
f6af82bd
AM
32452000-02-21 Alan Modra <[email protected]>
3246
3247 * ldlang.c (print_input_section, print_data_statement,
3248 print_reloc_statement, print_padding_statement, insert_pad,
3249 size_input_section, lang_check_section_addresses,
3250 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 3251 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
3252 (lang_do_assignments): Also change `size' to unsigned.
3253
9e673ad1
RH
32542000-02-16 Richard Henderson <[email protected]>
3255
3256 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
3257
562d3460
TW
32582000-02-16 Timothy Wall <[email protected]>
3259
3260 * mri.c (mri_draw_tree): Add default LMA region argument to call
3261 to lang_leave_output_section_statement.
3262 * ldlang.h: Update prototypes with LMA region arguments.
3263 * ldlang.c (lang_size_sections): Encapsulate region bounds
3264 checking in os_check_region call.
3265 (os_check_region): New function.
3266 (lang_output_section_statement_lookup): Initialize lma_region.
3267 (lang_leave_output_section_statement): Add LMA region argument.
3268 (lang_leave_overlay): Ditto.
3269 * ldgram.y: Handle LMA region syntax.
3270 * ld.texinfo (Output Section Description): Describe LMA region usage.
3271 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 3272 lma region in call to lang_leave_output_section_statement.
562d3460 3273 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 3274 lma region in call to lang_leave_output_section_statement.
562d3460 3275 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 3276 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
3277
3278
9e4ed18c
TW
32792000-02-04 Timothy Wall <[email protected]>
3280
3281 * ldlang.c (lang_check_section_addresses): Use bytes instead of
3282 octets when calculating section end addresses.
3283
32edc927
TW
32842000-02-04 Timothy Wall <[email protected]>
3285
3286 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
3287
4cbfc3ac
TW
32882000-02-03 Timothy Wall <[email protected]>
3289
a2b64bed 3290 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 3291 octet count.
a2b64bed 3292 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
3293 print_reloc_statement, print_padding_statement): Print target
3294 address values and section sizes as bytes, not octets.
3295 (insert_pad) Calculate padding size in octets, and adjust "dot"
3296 by bytes.
3297 (size_input_section) Always adjust "dot" by bytes, not octets.
3298 (lang_check_section_addresses, lang_do_assignments) Adjust
3299 "dot" by bytes, not octets. Use the larger of the directive size
3300 or octets_per_byte for the number of octets actually allocated in
3301 the output section.
3302 (lang_set_startof) Make sure STARTOF returns a target address.
3303 (lang_one_common) Record size changes in octets.
3304 (lang_abs_symbol_at_end_of) Section end symbol's value is
3305 recorded in target bytes.
3306 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
3307 to be clear about behavior when an octet is smaller than one byte.
50bbae35 3308
305c7206
AM
33092000-01-27 Alan Modra <[email protected]>
3310
3311 * ldcref.c (output_cref): Don't pass message strings to printf
3312 as format arg.
3313 Update copyright.
3314
3315 * ldmisc.c (vfinfo): Same here.
3316 Update copyright.
3317
e1c47aa4
AM
33182000-01-23 Alan Modra <[email protected]>
3319
3320 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
3321 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
3322 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
3323 Add missing NULL initialisers, and comments.
3324
3325 * testsuite/ld-srec/sr3.cc (__rethrow): New.
3326
13392b77
NC
33272000-01-21 Nick Clifton <[email protected]>
3328
3329 * ldlang.c (lang_size_sections): Fix typo in comment.
3330
cce4c4c5
NC
33312000-01-18 H.J. Lu <[email protected]>
3332
3333 * ldlang.c (lang_size_sections): Also update the current
3334 address of a region if the SEC_NEVER_LOAD bit is not set.
3335
0decc840
NC
33362000-01-10 Philip Blundell <[email protected]>
3337
3338 * configure.tgt (arm*-*-conix*): New target.
3339
4e53152f
NC
33402000-01-07 Nick Clifton <[email protected]>
3341
3342 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
3343 line switches with -Wl, (or whatever is appropriate) if it is
3344 being invoked by a comnpiler driver program.
50bbae35 3345 Fix description of the behaviour of the -n command line switch.
4e53152f 3346
18625d54
CM
3347Wed Jan 5 08:02:12 2000 Catherine Moore <[email protected]>
3348
3349 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
3350 (name_list): New.
3351 * ld.texinfo (EXCLUDE_FILE): Update documentation.
3352 * ldgram.y (wildcard_spec): Support a list of excluded_files.
3353 (exclude_name_list): New.
3354 ldlang.c (walk_wild_section): Support list of excluded files.
3355 (print_wild_statement): Likewise.
3356 (lang_add_wild): Likewise.
3357 * ldlang.h (lang_wild_statement_type): Likewise.
3358 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 3359
5aaace27
NC
33602000-01-04 Mumit Khan <[email protected]>
3361
870df5dc
NC
3362 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
3363 (process_def_file): Use.
3364 (pe_dll_compat_implib): New variable.
3365 (make_one): Use.
50bbae35 3366
870df5dc
NC
3367 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
3368 pe_dll_compat_implib.
50bbae35
AM
3369
3370 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
3371 compat-implib options.
3372 (gld_${EMULATION_NAME}_list_options): List new options.
3373 (gld_${EMULATION_NAME}_parse_args): Handle.
3374
50bbae35 3375 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 3376 dll.
50bbae35
AM
3377
3378 * deffilep.y (opt_name): Allow "." in name.
5aaace27 3379
2f6d2f85 3380For older changes see ChangeLog-9899
252b5132
RH
3381\f
3382Local Variables:
3383mode: change-log
3384left-margin: 8
3385fill-column: 74
3386version-control: never
3387End:
This page took 0.766488 seconds and 4 git commands to generate.