]> Git Repo - binutils.git/blame - ld/ChangeLog
Import japanese translation from translation project.
[binutils.git] / ld / ChangeLog
CommitLineData
fc18a3f3
RH
12001-12-17 Jason Thorpe <[email protected]>
2
3 * Makefile.am: Add rules for eelf64alpha_nbsd.
4 * Makefile.in: Regenerate.
5 * configure.tgt (alpha*-*-netbsd*): Set
6 targ_emul to elf64alpha_nbsd.
7 * emulparams/elf64alpha_nbsd.sh: Added.
8
76f63e91
AM
92001-12-17 Alan Modra <[email protected]>
10
11 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
12 section_tail when fiddling with section list.
13 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
14 broken into separate strings to make translation easier.
15 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
16 fiddling with section list.
17 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
18
d03b89bd
HPN
192001-12-16 Hans-Peter Nilsson <[email protected]>
20
21 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
22
320fec9a
AM
232001-12-15 Alan Modra <[email protected]>
24
25 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
26
65765700
JJ
272001-12-13 Jakub Jelinek <[email protected]>
28
29 * emultempl/elf32.em (finish): Supply output_bfd
30 to bfd_elf*_discard_info.
31 (OPTION_EH_FRAME_HDR): Define.
32 (longopts): Add --eh-frame-hdr.
33 (parse_args): Handle it.
34 (list_options): Add --eh-frame-hdr to help.
35 * emultempl/hppaelf.em (finish): Supply output_bfd
36 to bfd_elf*_discard_info.
37 * scripttempl/elf.sc (.eh_frame_hdr): Add.
38
89894c62
AM
392001-12-13 Alan Modra <[email protected]>
40
41 * lexsup.c (parse_args): Don't pass shortopts to second call to
42 getopt functions. Restore optind rather than decrementing before
43 second call. Remove errind as it now duplicates last_optind.
44
583f1926
CF
452001-12-11 Christopher Faylor <[email protected]>
46
47 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
48
93fbbb04
GK
492001-12-07 Geoffrey Keating <[email protected]>
50 Richard Henderson <[email protected]>
51
52 * Makefile.am: Add support for xstormy16.
53 * configure.tgt: Add support for xstormy16.
54 * Makefile.in: Regenerate.
55 * emulparams/elf32xstormy16.sh: New file.
56 * scripttempl/xstormy16.sc: New file.
57
583f1926
CF
582001-10-01 Christopher Faylor <[email protected]>
59
fc18a3f3
RH
60 * Makefile.in (LIB_PATH): Make configurable.
61 (GENSCRIPTS): Set LIB_PATH in environment.
62 * configure.in: Substitute LIB_PATH.
63 * configure: Regenerate.
64 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
65 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 66
ff291a48
NC
672001-12-07 Nick Clifton <[email protected]>
68
69 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
70 describing the -N option so that it is easier to translate into
71 foreign languages.
72
e3c8793a
NC
732001-12-05 Nick Clifton <[email protected]>
74
75 * emultempl/pe.em (..._list_options): Replace multiple fprintf
76 statements describing a single option with a single, newline
77 escaped fprintf. This allows better translation into other
78 languages.
fc18a3f3
RH
79
80 * ldmain.c (add_archive_element): Combine multiple strings
81 into a single string to permit better translation into other
82 languages.
e3c8793a 83
f2eab0af
TR
842001-12-05 Tom Rix <[email protected]>
85
86 * Makefile.am: Remove eaixppc64.
87 * Makefile.in: Regenerate.
88
249172c3
TR
892001-12-04 Tom Rix <[email protected]>
90
91 * emultempl/aix.em (choose_target): Change default target to
92 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
93 warning.
94 (gld*_read_file): Fix typo.
95 (change_symbol_mode): Add prototype.
96 (is_syscall): Same.
97
98 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
99 * emulparams/aixrs6.sh : Same.
100 * emulparams/ppcmacos.sh : Same.
101 * emulparams/aixppc64.sh : Delete file.
102 * emultempl/aix.em : Formatting changes.
103
5b5cd1b0
HPN
1042001-12-04 Hans-Peter Nilsson <[email protected]>
105
106 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
107 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
108 __Sbss.
109 (OTHER_END_SYMBOLS): Fix formatting.
110 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
111 (OTHER_END_SYMBOLS): Fix formatting.
112
7cecdbff
AM
1132001-12-04 Alan Modra <[email protected]>
114
115 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
116
742aeb63 1172001-12-02 Tom Rix <[email protected]>
7cecdbff 118
742aeb63 119 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 120 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
121 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
122 (ldemul_default_target): Same.
123 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
124 * emultempl/gld960c.em (gld960_choose_target): Same.
125 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
126 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
127 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
128 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 129 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
130 -b32 and -b64.
131
48459341
L
1322001-11-27 H.J. Lu <[email protected]>
133
134 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
135 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
136 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
137 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
138 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
139 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
140 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
141 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
142
7cecdbff 143 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
144 is not empty.
145 (SDATA): Likewise.
146 (REL_SDATA): Likewise.
147 (REL_SBSS): Likewise.
148 (REL_SDATA2): Likewise.
149 (REL_SBSS2): Likewise.
150 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
151 (SDATA2): Likewise.
152
ecfdd20c
SC
1532001-11-25 Stephane Carrez <[email protected]>
154
155 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
156 destructor in rom.
7cecdbff 157 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 158
da54c6eb
L
1592001-11-22 H.J. Lu <[email protected]>
160
161 * Makefile.in: Regenerated with automake based on automake
162 1.4-8 in RedHat 7.1.
163
465bc359
AM
1642001-11-22 Alan Modra <[email protected]>
165
166 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
167 (config.status): Delete rule.
168 Add extra dependencies to cover sourced emulparams files.
169 * Makefile.in: Regenerate.
170
171 * scripttempl/elf.sc: Order <section>, <section>.* and
172 corresponding linkonce sections as seen in input files.
173 Formatting fixes. Zero vma of all sections if not relocating.
174 (STACK): Define and insert if STACK_ADDR defined.
175 (OTHER_RELOCATING_SECTIONS): Delete.
176 (OTHER_END_SYMBOLS): Define.
177 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
178 (OTHER_READWRITE_SECTIONS): Likewise.
179 (OTHER_GOT_SECTIONS): Likewise.
180 (OTHER_SDATA_SECTIONS): Likewise.
181 (OTHER_BSS_SECTIONS): Likewise.
182 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
183 (OTHER_READWRITE_SECTIONS): Likewise.
184 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
185 (OTHER_READWRITE_SECTIONS): Likewise
186
187 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
188 (STACK_ADDR): Define.
189 * emulparams/armelf_oabi.sh: As for armelf.sh.
190 * emulparams/elf32mcore.sh: As for armelf.sh.
191 * emulparams/h8300elf.sh: As for armelf.sh.
192 * emulparams/mn10200.sh: As for armelf.sh.
193 * emulparams/shelf.sh: As for armelf.sh.
194
195 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
196 (OTHER_END_SYMBOLS): Define.
197 * emulparams/m32relf.sh: As for elf32fr30.sh.
198 * emulparams/h8300helf.sh: As for elf32fr30.sh.
199 * emulparams/h8300self.sh: As for elf32fr30.sh.
200
201 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
202 defines with RELOCATING test.
203 (OTHER_SDATA_SECTIONS): Likewise.
204 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
205 (OTHER_END_SYMBOLS): ..this.
206 * emulparams/crislinux.sh: As for criself.sh.
207
208 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
209 if not relocating.
210 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
211 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
212 normal and linkonce sections as seen in input files.
213 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
214 (TEXT_DYNAMIC): Likewise.
215 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
216 (OTHER_SDATA_SECTIONS): Likewise.
217 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
218 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
219 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
220 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
221 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
222 (OTHER_PLT_RELOC_SECTIONS): Likewise.
223 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
224 sections as seen in input files.
225 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
226 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
227 if not relocating.
228 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
229 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
230 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
231 (OTHER_SECTIONS): Instead, use this..
232 (OTHER_END_SYMBOLS): ..and this.
233
234 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
235 * emulparams/elf32bsmip.sh: Likewise.
236 * emulparams/elf32btsmip.sh: Likewise.
237 * emulparams/elf32ebmip.sh: Likewise.
238 * emulparams/elf32lmip.sh: Likewise.
239 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
240 * emulparams/elf32lsmip.sh: Likewise.
241 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
242 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
243 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
244 * emulparams/elf64btsmip.sh: Likewise.
245 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
246 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
247 * emulparams/elf32ppclinux.sh: Likewise.
248 * emulparams/elf32ppcsim.sh: Likewise.
249 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
250 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
251 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
252 * emulparams/h8300self.sh: Likewise.
253 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
254 * emulparams/sh.sh: Comment.
255 * emulparams/shl.sh: Source sh.sh, remove duplicates.
256 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
257 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
258
abc6ab0a
AM
2592001-11-21 David Heine <[email protected]>
260 Alan Modra <[email protected]>
261
262 * ldlang.c (map_input_to_output_sections): Replace "break"
263 accidentally removed with 2001-08-03 change.
264 (lang_gc_sections_1): Likewise.
265
2181f54f
AM
2662001-11-21 Alan Modra <[email protected]>
267
268 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
269
ca0b5847
AM
2702001-11-20 Angela Marie Thomas <[email protected]>
271
272 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
273 of false when calling lang_size_sections.
274 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 275
c56feb2b
AM
2762001-11-15 Alan Modra <[email protected]>
277
278 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
279 function when LDEMUL_FINISH isn't set to the same name. Don't
280 call ${LDEMUL_FINISH}.
281 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
282 * emultempl/armelf.em (arm_elf_finish): Call
283 gld${EMULATION_NAME}_finish.
284 * emultempl/hppaelf.em (hppaelf_finish): Rename to
285 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
286 hppaelf_layout_sections_again if necessary.
287 (need_laying_out): New var.
288 (hppaelf_layaout_sections_again): Rename to
289 hppaelf_layout_sections_again. Clear need_laying_out.
290 (PARSE_AND_LIST_OPTIONS): Format text.
291
a48ca7f2
L
2922001-11-14 H.J. Lu <[email protected]>
293
294 * emultempl/armelf.em (arm_elf_finish): Renamed from
295 gld${EMULATION_NAME}_finish.
296 (LDEMUL_FINISH): Set to arm_elf_finish.
297
73d074b4
DJ
2982001-11-14 Daniel Jacobowitz <[email protected]>
299
300 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
301 (struct ld_emulation_xfer_struct): Use it.
302
fc65c602
JL
303Tue Nov 13 11:27:14 2001 Ross Alexander <[email protected]>
304
465bc359 305 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
306 additional symbols referenced by newer crt0.o files from HP.
307
f11b7027
NC
3082001-11-12 Anthony Green <[email protected]>
309
310 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
311
3bf2994f
AM
3122001-11-12 Alfred M. Szmidt <[email protected]>
313
314 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
315 * Makefile.in: Regenerate.
316
ff5dcc92
SC
3172001-11-02 Stephane Carrez <[email protected]>
318
319 * ld.texinfo: Use @command for commands, @option for options.
320 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
321 the page man title.
322 * Makefile.in: Rebuild.
323
9fb9af6e
CD
3242001-11-04 Chris Demetriou <[email protected]>
325
326 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
327 Add support for targets.
2181f54f 328
3c62831e
NC
3292001-11-02 Nick Clifton <[email protected]>
330
331 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
332 * configure: Regernate.
333 * po/fr.po: New file.
334 * po/sv.po: New file.
335
3a9091c4
NC
3362001-11-01 NIIBE Yutaka <[email protected]>
337
338 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
339 as little endian default and to support big endian.
2181f54f 340
361b220e
CD
3412001-11-01 Chris Demetriou <[email protected]>
342
343 * ld.texinfo (Options): Document new option, -nostdlib.
344 * lexsup.c (OPTION_NOSTDLIB): New definition.
345 (ld_options): Add entry for "nostdlib".
346 (parse_args): Handle OPTIONS_NOSTDLIB.
347 * ldfile.c (ldfile_add_library_path): Don't add directories
348 to the search path if they weren't specified on the command line
349 and -nostdlib was specified.
350 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
351
210a7bd1
NC
3522001-10-31 Nick Clifton <[email protected]>
353
354 * lexsup.c (parse_args): Prevent infinite parsing loop when
355 "-rpath.a" is specified on the command line.
356 Replace calls to fprintf with calls to einfo.
357
114283d8
NC
3582001-10-31 John Marshall <[email protected]>
359
360 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
361 appear only once across all the linker scripts involved in a link
362 invocation no longer applies. Make the documentation reflect
363 that.
364
7649aa50
NC
3652001-10-31 NIIBE Yutaka <[email protected]>
366
367 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
368 targets.
369 (sh-*-linux*): Added targ_extra_libpath.
370
6e814ff8
AM
3712001-10-31 David Heine <[email protected]>
372
373 * ldlang.c (lang_size_sections): Keep a valid output_offset field
374 for padding statements.
375
3c3bdf30
NC
3762001-10-30 Hans-Peter Nilsson <[email protected]>
377
378 * configure.tgt (mmix-*-*): New target.
379 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
380 Add dependencies to match.
381 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
382 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
383 scripttempl/mmo.sc: New files.
384 * gen-doc.texi: @set MMIX.
385 * ld.texinfo: Ditto.
6e814ff8 386 [MMIX] Add MMIX node.
3c3bdf30
NC
387 * Makefile.in: Regenerate.
388
ca0c1d3e
KH
3892001-10-29 Kazu Hirata <[email protected]>
390
391 * ldlang.c: Fix a comment typo.
392
1a3d33ce
AM
3932001-10-23 Alan Modra <[email protected]>
394
395 * configure.host: Move alpha*-*-linux-gnu* entry to generic
396 entries, and match *-*-linux*.
397
b47c4208
AM
3982001-10-20 Alan Modra <[email protected]>
399
400 * ldgram.y (mri_script_command): Surround processing of INCLUDE
401 with ldlex_script, ldlex_popstate.
402 (ifile_p1): Likewise.
403 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
404 correct slot.
405 (lex_push_file): Save current lineno to lineno_stack. Set lineno
406 to 1. Don't BEGIN(SCRIPT).
407 (lex_redirect): Similarly.
408 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
409
fd521b47
NC
4102001-10-20 Nick Clifton <[email protected]>
411
412 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
413 __EH_FRAME_END__ and accept eh frames into data section.
414 Add ctor and dtor sections.
415
59d28a94
DD
4162001-10-19 Danny Smith <[email protected]>
417
418 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
419 (auto-export): Fix indentation.
420
663dd378
DD
4212001-10-18 Danny Smith <[email protected]>
422
423 * pe-dll.c (autofilter_objectlist): Add startup objects
424 for profiling.
425 (auto-export): Constify char * p.
6e814ff8 426 Extract file basename and use strcmp rather than ststr
663dd378
DD
427 for object lookup.
428
31d677f9
CD
4292001-10-18 Chris Demetriou <[email protected]>
430
431 * ldmain.c (get_emulation): Improve comment about the handling
432 of -mipsN options.
433
aa200fe8
AM
4342001-10-17 Alan Modra <[email protected]>
435
436 * po/POTFILES.in: Regenerate.
437
146e7110
AM
4382001-10-16 Vassili Karpov <[email protected]>
439
440 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
441 -z nocopyreloc and -z nocombreloc usage strings.
442
b4330e85
NC
4432001-10-12 Vassili Karpov <[email protected]>
444
146e7110 445 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
446 in usage.
447
5af8a2fb
NC
4482001-10-11 Aleksey Romanov <[email protected]>
449
450 * scripttempl/armaout.sc: Place .bss section after end of aligned
451 data section to match behaviour of aout code in constructrion of
452 header.
453
5b784096
DD
4542001-10-11 Danny Smith <[email protected]>
455
456 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
457 startup files for mingw32 dlls to list.
458
61585df2
CD
4592001-10-10 Chris Demetriou <[email protected]>
460
461 * emultempl/elf32.em: Fix shell 'if' usage for portability.
462
45cf6f3e
AH
4632001-10-08 Aldy Hernandez <[email protected]>
464
465 * configure.tgt (targ): Add arm9e-*-elf.
466
e24d7c12
L
4672001-10-05 H.J. Lu <[email protected]>
468
469 * genscripts.sh: Fix a typo in the last change.
470
ec38dd05
JJ
4712001-10-05 Jakub Jelinek <[email protected]>
472
473 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
474 -z nocombreloc in usage.
475
cedd6b0d
JB
4762001-10-03 Jim Blandy <[email protected]>
477
478 * genscripts.sh: Include a comment at the top of each generated
479 script, explaining its purpose.
480
8bd621d8
AM
4812001-10-03 Vassili Karpov <[email protected]>
482
483 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
484 * NEWS: Mention -z nocopyreloc.
485 * ld.texinfo (Options): Describe nocopyreloc.
486
fcd8210c
AM
4872001-10-03 Alan Modra <[email protected]>
488
489 * configure: Regenerate.
490
d32820f2
AM
4912001-10-02 Alan Modra <[email protected]>
492
493 * ldver.h (ld_program_version): Remove declaration.
494 * lexsup.c (parse_args): Move printing of copyright message..
495 * ldver.c (ldversion): .. to here.
496 Use BFD_VERSION_STRING in place of BFD_VERSION.
497 (ld_program_version): Remove.
498 * Makefile.am (Makefile): Depend on bfd/configure.in.
499 Run "make dep-am".
500 * Makefile.in: Regenerate.
501
af46bcdc
HPN
5022001-09-30 Hans-Peter Nilsson <[email protected]>
503
504 * Makefile.am: Update dependencies with "make dep-am".
505 * Makefile.in: Regenerate.
506
4818e05f 5072001-09-29 John Reiser <[email protected]>
862517b6 508
4818e05f
AM
509 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
510 * lexsup.c: Add --no-define-common commandline option.
511 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
512 * ldlex.l: Likewise.
513 * ld.h: Add command_line.inhibit_common_definition.
514 * ldmain.c (main): Initialize.
515 * ld.texinfo: Document.
862517b6 516
d5e0ebeb
AM
5172001-09-26 Alan Modra <[email protected]>
518
519 * ldmisc.c (USE_STDARG): Remove.
520 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
521 (einfo): Likewise.
522 (minfo): Likewise.
523 (lfinfo): Likewise.
524
525 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
526 declarations. Update copyright.
527
2f8d8971
NC
5282001-09-24 Charles Wilson <[email protected]>
529
85c77458
NC
530 * pe-dll.c: Remove obsoleted declaration of
531 pe_get_data_import_dll_name.
532 (pe_create_import_fixup): Fix thinko.
533
2f8d8971
NC
534 * ld.texinfo(enable-auto-import): Clarify the explanation.
535
5362001-09-24 Nick Clifton <[email protected]>
537
538 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
539 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
540 DLL_SUPPORT controlled code.
541
72358f65 5422001-09-24 Charles Wilson <[email protected]>
146e7110 543
72358f65
NC
544 * emultempl/pe.em(pe_data_import_dll): Make static.
545 (pe_get_data_import_dll_name): New accessor function.
146e7110 546 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
547 pe_get_data_import_dll_name() from pe.em, instead of
548 directly accessing pe_data_import_dll variable from pe.em.
549
3882b010
L
5502001-09-18 Bruno Haible <[email protected]>
551
552 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
553 (def_file_add_directive): Use ISSPACE instead of isspace.
554 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
555 isdigit/isxdigit/isalpha/isalnum.
556 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
557 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
558 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
559 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
560 isalnum.
561 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
562 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
563 isupper/tolower.
564 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
565 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
566 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
567 (ctor_prio): Use ISDIGIT instead of isdigit.
568 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
569 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
570 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
571 isupper/tolower.
572 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
573 (stricpy): Use TOLOWER instead of isupper/tolower.
574 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
575 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
576 (lex_warn_invalid): Use ISPRINT instead of isprint.
577 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
578 (main): For gettext, also set the LC_CTYPE locate facet.
579 (add_keepsyms_file): Use ISSPACE instead of isspace.
580 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
581 (is_num, parse_args): Use ISDIGIT instead of isdigit.
582 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
583 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
584 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
585 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
586 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
587 (quoteput): Use ISSPACE instead of isspace.
588 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
589 instead of isalnum.
590
db09f25b
AM
5912001-09-18 Alan Modra <[email protected]>
592
593 * deffilep.y (def_stash_module): Constify "name" param.
594
595 * pe-dll.c: Replace CONST with const throughout.
596 (quick_symbol): Constify "n1", "n2", "n3" params.
597 (make_singleton_name_thunk): Constify "import" param. Make
598 "buffer_len" a size_t.
599 (make_import_fixup_entry): Constify "name", "fixup_name",
600 "dll_symname" params.
601 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
602 (pe_get32): Likewise.
603 (pe_implied_import_dll): Likewise.
604
605 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
606 (sort_by_section_name): Likewise.
607
608 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
609 (make_import_fixup): Cast printf arg, rel->address to long rather
610 than int.
611 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
612
74699268
AM
6132001-09-15 Alan Modra <[email protected]>
614
615 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
616 defines BufferSize. Increase buffer size by one.
617
775cabad
NC
6182001-09-14 Ralf Habacker <[email protected]>
619
620 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
621
056a1d49
NC
6222001-09-14 Kevin Lo <[email protected]>
623
624 * configure.tgt: Add arm-openbsd target.
625
a7d792bb
L
6262001-09-12 H.J. Lu <[email protected]>
627
628 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
629 eelf64lppc.o to ...
630 (ALL_64_EMULATIONS): Here.
631 * Makefile.in: Regenerated.
632
0d888aac
CW
6332001-09-12 Paul Sokolovsky <[email protected]>
634
635 * emultempl/pe.em(make_import_fixup): change signature to
636 take asection as well as arelec; we need this for proper
146e7110 637 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
638 there is no attempt to add a constant addend to the reloc;
639 otherwise, report error condition.
640 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
641 since final argument is a pointer to make_import_fixup().
642 Change call to cb() to match make_import_fixup() signature.
643 (make_import_fixup_mark): make buffer_len unsigned.
644 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
645
6462001-09-12 Charles Wilson <[email protected]>
647
648 * ld.texinfo: add verbose documentation for auto-import
146e7110 649 direct-addressing workaround, to compliment the terse
0d888aac
CW
650 error message.
651
cedacdc0
CM
6522001-09-12 Andrew MacLeod <[email protected]>
653
146e7110 654 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 655
38be0bb1
JL
656Fri Sep 7 11:34:24 2001 Jeffrey A Law ([email protected])
657
658 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
659 * emulparams/h8300self.sh: Similarly.
660
559e4713
NC
6612001-09-05 Danny Smith <[email protected]>
662
663 * ld.texinfo (Options, --stack): Correct default value for stack
664 reserve.
665
1fdf0249
TR
6662001-09-05 Tom Rix <[email protected]>
667
668 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 669
9b5799b8
AJ
6702001-09-03 Andreas Jaeger <[email protected]>
671
672 * emultempl/beos.em: Declare prototypes for comparions functions,
673 adjust definitions.
674
48f6162b
AJ
6752001-09-02 Andreas Jaeger <[email protected]>
676
677 * emultempl/aix.em: Add missing prototype.
678 * emultempl/lnk960.em: Likewise.
679 * emultempl/vanilla.em: Likewise.
680 * emultempl/armcoff.em: Likewise.
681 * emultempl/armelf_oabi.em: Likewise.
682 * emultempl/beos.em: Likewise.
683 * emultempl/gld960c.em: Likewise.
684 * emultempl/gld960.em: Likewise.
685
686 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
687 for prototype declaration.
688
39e5585e
EC
6892001-08-31 Eric Christopher <[email protected]>
690 Jason Eckhardt <[email protected]>
691
692 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
693
3fc90ddb
AJ
6942001-08-31 Andreas Jaeger <[email protected]>
695
696 * emultempl/pe.em: Add missing prototypes.
697 (gld_${EMULATION_NAME}_after_open): Remove extra args to
698 pe_find_data_imports.
699 (pr_sym): Add unused attribute.
700
d43ded80
PB
7012001-08-29 Joel Sherrill <[email protected]>
702
39e5585e 703 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
704 default from coff to elf.
705
3946dd2f
JL
7062001-08-29 Jeff Law <[email protected]>
707
708 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
709 ARCH specification.
710 * emulparams/h8300self.sh: Similarly.
711
712Wed Aug 28 13:37:20 2001 J"orn Rennecke <[email protected]>
8af6dd41
JR
713
714 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
715 eh8300self.o .
716 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
717 * configure.tgt (h8300-*-elf*): New case.
718 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
719 * emulparams/h8300self.sh: New file.
720 * Makefile.in: Regenerated.
721
70d0c6e9
NC
7222001-08-28 Nick Clifton <[email protected]>
723
724 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
725 with macro name.
726
5c67d4bb
AM
7272001-08-27 Linus Nordberg <[email protected]>
728 Alan Modra <[email protected]>
729
730 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
731 (eelf64ppc.c, eelf64lppc.c): Add make targets.
732 Run "make dep-am"
733 * Makefile.in: Regenerate.
734 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
735 entries to correct alphabetical position.
736 * emulparams/elf64ppc.sh: New.
737 * emulparams/elf64lppc.sh: New.
738
08131015
NC
7392001-08-27 Nick Clifton <[email protected]>
740
741 * ldmain.c (main): Declare BSIZE as static.
742
db6751f2
JJ
7432001-08-23 Jakub Jelinek <[email protected]>
744
745 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
746 into .rel.dyn resp. .rela.dyn if combreloc.
747 (get_script): If .x linker script is equal to .xn, only put it
748 once into the binary.
749 Add .xc and .xsc scripts.
750 (parse_args): Handle -z combreloc and -z nocombreloc.
751 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
752 For .xc and .xsc scripts put all .rel* or .rela* input sections
753 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
754 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
755 is elf.
756 Strip trailing whitespace from script.
757 Generate .xc and .xsc scripts if requested.
758 * ldmain.c (main): Initialize link_info.combreloc and
759 link_info.spare_dynamic_tags.
760 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
761 (ld_options): Add --spare-dynamic-tags option.
762 (parse_args): Likewise.
763 * ld.texinfo: Document -z combreloc and -z nocombreloc.
764 * ldint.texinfo: Document .xc and .xsc linker scripts.
765 * NEWS: Add notes about -z combreloc and SHF_MERGE.
766
63d069c0
L
7672001-08-22 H.J. Lu <[email protected]>
768
769 * emulparams/elf32fr30.sh: Add a newline.
770
948f9114
AJ
7712001-08-21 Andreas Jaeger <[email protected]>
772
773 * deffilep.y: Add missing prototypes.
774 * pe-dll.c: Likewise.
775
ae7fb08f
AM
7762001-08-20 Alan Modra <[email protected]>
777
2af02257
AM
778 * ldlang.c (insert_pad): Fix typos in last patch.
779
780 * ldlang.c: When traversing lang_statement_union_type lists,
781 consistently use "header.next" rather than "next".
782 * mpw-eppcmac.c: Likewise.
783 * emultempl/beos.em: Likewise.
784 * emultempl/hppaelf.em: Likewise.
785 * emultempl/pe.em: Likewise.
786 * ldlang.h (union lang_statement_union): Remove "next" field.
787
c0c330a7
AM
788 * ldlang.c (insert_pad): Use offsetof macro.
789 (lang_size_sections): Always neuter padding statements.
790 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
791
ae7fb08f
AM
792 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
793 passed to lang_size_sections.
794 (pe_exe_fill_sections): Likewise.
795 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
796 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
797
fab80407
AM
7982001-08-18 Alan Modra <[email protected]>
799
800 * emultempl/aix.em: Formatting fixes.
801
b3327aad
AM
8022001-08-18 Alan Modra <[email protected]>
803
804 * ldlang.c (insert_pad): Make use of an existing pad statement if
805 available. Move code calculating alignment, adjusting section
806 alignment power, and adjusting dot to ..
807 (size_input_section): .. here. Remove unused relax param.
808 (lang_size_sections): Change boolean `relax' param to boolean *.
809 Adjust call to size_input_section. Make use of insert_pad to
810 place pad after the assignment statement. If relaxing, zap
811 padding statements.
812 (reset_memory_regions): Reset output_bfd section sizes too.
813 (relax_again): Move to..
814 (lang_process): ..here. Adjust call to lang_size_sections, and
815 remove duplicated code.
816 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
817
563e308f
AM
8182001-08-17 Alan Modra <[email protected]>
819
820 * ld.texinfo: Document that fill values now use the four least
821 significant bytes.
822 * emulparams/elf32fr30.sh (NOP): Update.
823 * emulparams/elf32mcore.sh: Likewise.
824 * emulparams/elf64_s390.sh: Likewise.
825 * emulparams/elf_i386.sh: Likewise.
826 * emulparams/elf_i386_be.sh: Likewise.
827 * emulparams/elf_i386_chaos.sh: Likewise.
828 * emulparams/elf_i386_ldso.sh: Likewise.
829 * emulparams/elf_s390.sh: Likewise.
830 * emulparams/elf_x86_64.sh: Likewise.
831 * emulparams/i386moss.sh: Likewise.
832 * emulparams/i386nw.sh: Likewise.
833 * emulparams/m68kelf.sh: Likewise.
834 * scripttempl/elf.sc: Update NOP comment.
835 * scripttempl/elfi370.sc: Likewise.
836 * scripttempl/elfm68hc11.sc: Likewise.
837 * scripttempl/elfm68hc12.sc: Likewise.
838 * scripttempl/nw.sc: Likewise.
839
b90e1c6f
TR
8402001-08-15 Tom Rix <[email protected]>
841
842 * ldgram.y (saved_script_handle): Initialize to NULL.
843 * ldmain.c (main): Change check on saved_script_handle.
948f9114 844
39dcfe18
AM
8452001-08-14 Alan Modra <[email protected]>
846
cde43e70
AM
847 * emultempl/elf32.em: Formatting fixes.
848 (output_prev_sec_find): Test for bfd_ind_section too; do so by
849 looking at sec->owner.
850 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
851 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
852 unused code, and reorganize orphan section placement code.
853
39dcfe18
AM
854 * ldlang.c (wild_doit): Rename to lang_add_section.
855 * ldlang.h: Here too.
856 * mpw-elfmips.c: And here.
857 * emultempl/beos.em: And here.
858 * emultempl/elf32.em: And here.
859 * emultempl/hppaelf.em: And here.
860 * emultempl/pe.em: And here.
861
908d20b3
RH
8622001-08-13 Richard Henderson <[email protected]>
863
864 * emultempl/needrelax.em: New file.
865 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
866 * Makefile.am (eelf64_ia64.c): Depend on it.
867 * Makefile.in: Rebuild.
868
0f33d40b
AM
8692001-08-13 Alan Modra <[email protected]>
870
22af9fd3
AM
871 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
872 output_section is set non-NULL.
873
0f33d40b
AM
874 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
875 `true' for SEC_EXCLUDE sections so that the generic code doesn't
876 needlessly create an output_section_statement. Treat a correctly
877 named output_section_statement with NULL bfd_section as compatible.
878
55ab6103
HPN
8792001-08-13 Hans-Peter Nilsson <[email protected]>
880
881 * emultempl/generic.em: Support EXTRA_EM_FILE.
882 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
883 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
884 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
885 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
886 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
887 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
888 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
889 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
890 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
891 LDEMUL_FIND_POTENTIAL_LIBRARIES.
892
24098abb
RH
8932001-08-12 Richard Henderson <[email protected]>
894
895 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
896 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
897 scripttempl/v850.sc: Keep .jcr data.
898
b9a8de1e 8992001-08-12 H.J. Lu <[email protected]>
146e7110
AM
900 Andrew Haley <[email protected]>
901 Nick Clifton <[email protected]>
b9a8de1e 902
146e7110 903 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
904 Change type to file handle.
905 * ld.h (had_script): Rename and retype.
906 * ldfile.c (ldfile_open_command_file): Save the file handle
907 used in saved_script_handle.
908 * lexsup.c (parse_args): Do not allow -c option to alter
909 saved_script_handle.
910 * ldmain.c (main): Print out the linker script used if
911 --verbose is given. Check saved_script_handle to obtain the
912 external linker script used, or if NULL, dump the builtin
913 script.
914 * ld.texinfo: Document that --verbose now dumps the linker
915 script used, regardless of whether it was an internal or an
916 external script.
917
0218d1e4
AJ
9182001-08-10 Andreas Jaeger <[email protected]>
919
920 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
921 to build warnings.
922 * configure: Regenerate.
923
5253f23b
AM
9242001-08-09 Alan Modra <[email protected]>
925
73810896
AM
926 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
927
5253f23b
AM
928 * scripttempl/elf.sc: Move non-text .dynamic section before
929 .plt/.got/.sdata* group.
930 (OTHER_GOT_SECTIONS): Move to immediately after .got.
931 (OTHER_SDATA_SECTIONS): Add.
932 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
933 OTHER_GOT_SECTIONS.
934 * emulparams/crislinux.sh: Likewise.
935 * emulparams/elf32b4300.sh: Likewise.
936 * emulparams/elf32bmip.sh: Likewise.
937 * emulparams/elf32bmipn32.sh: Likewise.
938 * emulparams/elf32bsmip.sh: Likewise.
939 * emulparams/elf32btsmip.sh: Likewise.
940 * emulparams/elf32ebmip.sh: Likewise.
941 * emulparams/elf32elmip.sh: Likewise.
942 * emulparams/elf32l4300.sh: Likewise.
943 * emulparams/elf32lmip.sh: Likewise.
944 * emulparams/elf32lsmip.sh: Likewise.
945 * emulparams/elf32ltsmip.sh: Likewise.
946 * emulparams/elf64bmip.sh: Likewise.
947 * emulparams/elf64btsmip.sh: Likewise.
948 * emulparams/elf64ltsmip.sh: Likewise.
949
179c732c
AM
9502001-08-08 Alan Modra <[email protected]>
951
952 * genscripts.sh: Source the emulparams script before each output
953 script is generated so that variables like `RELOCATING' may affect
954 variables defined in the emulparams script.
955
3fd36710
AM
9562001-08-04 Alan Modra <[email protected]>
957
20713691
AM
958 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
959 order.
960
3fd36710
AM
961 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
962 ie. iterate over wild_statement.section_list.
963 (gld${EMULATION_NAME}_place_orphan): Likewise.
964
de0b1853
SC
9652001-08-03 Stephane Carrez <[email protected]>
966
967 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
968 .fini[0-4] sections used by _exit
969 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
970 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
971 * scripttempl/elfm68hc11.sc: Likewise.
972
ff7e6f88
L
9732001-08-03 H.J. Lu <[email protected]>
974
975 * emultempl/beos.em (init): Add the missing initialization.
976
b6bf44ba
AM
9772001-08-03 Alan Modra <[email protected]>
978
979 * ld.texinfo (Input Section Basics): Clarify ordering of output
980 sections.
981 * ldlang.c (callback_t): Add wildcard_list param.
982 (walk_wild_section): Remove "section" param. Rewrite for
983 lang_wild_statement_type change. Remove unique_section_p test.
984 (walk_wild_file): Remove "section" param.
985 (walk_wild): Remove "section" and "file" params.
986 (lang_gc_wild): Likewise.
987 (wild): Likewise. Modify for lang_wild_statement_type change.
988 (wild_sort): Likewise. Add "sec" param.
989 (gc_section_callback): Likewise.
990 (output_section_callback): Likewise. Do unique_section_p test.
991 (map_input_to_output_sections): Modify call to wild.
992 (lang_gc_sections_1): Likewise.
993 (print_wild_statement): Modify for lang_wild_statement_type
994 change.
995 (lang_add_wild): Replace filename, filenames_sorted param with
996 filespec. Replace section_name, sections_sorted,
997 exclude_filename_list with section_list.
998 * ldlang.h (lang_add_wild): Here too.
999 (lang_wild_statement_type): Replace section_name, sections_sorted,
1000 and exclude_filename_list with section_list.
1001 * ldgram.y (current_file): Delete.
1002 (%union): Add wildcard_list.
1003 (file_NAME_list): Set type to wildcard_list. Build a linked list
1004 rather than calling lang_add_wild for each entry.
1005 (input_section_spec_no_keep): Call lang_add_wild here instead.
1006 * ld.h (struct wildcard_list): Declare.
1007 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
1008
b044cda1
CW
10092001-08-02 Charles Wilson <[email protected]>
1010
1011 * ldmain.c (main): initialize link_info.pei386_auto_import
1012 * pe-dll.c: new tables for auto-export filtering
1013 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 1014 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
1015 "by hand".
1016
10172001-08-02 Paul Sokolovsky <[email protected]>
1018
b6bf44ba
AM
1019 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
1020 static variable current_sec (static struct sec *). Add
b044cda1 1021 forward declaration for add_bfd_to_link.
b6bf44ba
AM
1022 (process_def_file): Don't export undefined symbols. Do not
1023 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
1024 with new API.
1025 (pe_walk_relocs_of_symbol): New function.
1026 (generate_reloc): add optional extra debugging
b6bf44ba 1027 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 1028 line in output
b6bf44ba 1029 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
1030 (DATA auto-import support).
1031 (make_singleton_name_thunk): New function.
1032 (make_import_fixup_mark): New function.
1033 (make_import_fixup_entry): New function.
1034 (pe_create_import_fixup): New function.
b6bf44ba 1035 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 1036 char *.
b6bf44ba
AM
1037 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
1038 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
1039 pe_create_import_fixup.
1040 * emultempl/pe.em: add new options --enable-auto-import,
1041 --disable-auto-import, and --enable-extra-pe-debug.
1042 (make_import_fixup): New function.
1043 (pe_find_data_imports): New function.
1044 (pr_sym): New function.
b6bf44ba 1045 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
1046 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
1047 CODE.
1048
10492001-08-02 Charles Wilson <[email protected]>
b6bf44ba 1050
b044cda1
CW
1051 * ld.texinfo: add additional documentation for
1052 --export-all-symbols. Document --out-implib,
1053 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
1054 --dll-search-prefix, --enable-auto-import, and
1055 --disable-auto-import.
b044cda1
CW
1056 * ldint.texinfo: Add detailed documentation on auto-import
1057 implementation.
1058
156e34dd
NC
10592001-07-30 Nick Clifton <[email protected]>
1060
1061 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
1062 example.
1063
d6231427
AM
10642001-07-24 Alan Modra <[email protected]>
1065
1066 * Makefile.am: Update dependencies with "make dep-am".
1067 * Makefile.in: Regenerate
1068
e14ec88b
AM
10692001-07-23 Alan Modra <[email protected]>
1070
1071 * ldcref.c (check_section_sym_xref): New function.
1072 (check_nocrossrefs): Call it.
1073 (check_nocrossref): Interate over h->refs here instead of..
1074 (check_refs): ..here. Pass in the symbol name, section, and bfd
1075 rather than hash_entry pointers.
1076 (struct check_refs_info): Keep symbol name rather than hash entry.
1077 Remove "same".
1078 (check_reloc_refs): Tweak for above changes in check_refs_info.
1079 Only report references to section syms when symname is NULL to
1080 prevent duplicate messages for the same reloc.
1081
1b577b00
NC
10822001-07-19 Nick Clifton <[email protected]>
1083
c7d701b0
NC
1084 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
1085 available. Do not print NULL trees.
1086 (exp_print_token): Print unknown tokens with values > 126 as
1087 decimal values not ASCII characters.
1088
1545243b
NC
1089 * ldlang.c (lang_leave_overlay): If a region is specified assign
1090 it to all sections inside the overlay unless they have been
1091 assigned to the own, non-default, memory region.
1092
1b577b00
NC
1093 * README: Add header for consistency with other README files.
1094
5030876b
L
10952001-07-14 H.J. Lu <[email protected]>
1096
1097 * emultempl/elf32.em (output_prev_sec_find): Never return
1098 bfd_abs_section_ptr, bfd_com_section_ptr nor
1099 bfd_und_section_ptr.
1100
18c7a9a5
NC
11012001-07-14 Nick Clifton <[email protected]>
1102
22af9fd3 1103 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
1104 elf32.em.
1105 * Makefile.in: Regenerate.
1106
9ffecff1
MG
11072001-07-14 matthew green <[email protected]>
1108
1109 * configure.tgt (i386-*-netbsdelf*): New target.
1110 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
1111
95500e1c
JJ
11122001-07-13 Jakub Jelinek <[email protected]>
1113
1114 * emultempl/elf32.em (output_prev_sec_find): New.
1115 (place_orphan): Use it.
1116
e97cb84f
L
11172001-07-11 H.J. Lu <[email protected]>
1118
1119 * ldmain.c (main): Fix typos in the last change.
1120
7333607e
JJ
11212001-07-11 Jakub Jelinek <[email protected]>
1122
1123 * ldmain.c (main): Disallow -F and -f without -shared.
1124
d29d80f2
NC
11252001-07-11 Nick Clifton <[email protected]>
1126
1127 * emultempl/pe.em (after_open): Check for the output_bfd not
1128 having any coff_data structure allocated to it.
1129
c2a1a436
DB
11302001-07-09 David O'Brien <[email protected]>
1131
1132 * emultempl/elf32.em: Do not assuming that contents of the buffer
1133 returned from basename function will remain unchanged accross other
1134 function calls.
1135
63653551
L
11362001-07-03 H.J. Lu <[email protected]>
1137
1138 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
1139 2001-07-03. It creates dynamic entries even for static binaries.
1140
d303a449
L
11412001-07-03 Jakub Jelinek <[email protected]>
1142
1143 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
1144 (DYNAMIC): Use it to reserve few dynamic entries for
1145 post-linking tools.
1146
9f22353f
AM
11472001-06-27 Alan Modra <[email protected]>
1148
1149 * emulparams/hppa64linux.sh: New file.
1150 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
1151 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
1152 (ehppa64linux.c): Add rule to make it.
1153 Run "make dep-am".
1154 * Makefile.in: Regenerate.
1155
62bf86b4
HPN
11562001-06-21 Hans-Peter Nilsson <[email protected]>
1157
1158 * ld.texinfo (Options, -r): Mention restrictions when using
1159 different object formats.
1160
429d935d
HPN
11612001-06-19 Hans-Peter Nilsson <[email protected]>
1162
1163 * ldlang.c (lang_check): Emit fatal error if relocatable link
1164 between different object flavours with relocations in input.
1165
cb840a31
L
11662001-06-19 H.J. Lu <[email protected]>
1167
1168 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
1169 (--version-script): Mention the language support.
1170
9bf03acc
L
11712001-06-19 H.J. Lu <[email protected]>
1172
1173 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
1174
c45021f2
NC
11752001-06-18 H.J. Lu <[email protected]>
1176
b6bf44ba
AM
1177 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
1178 (diststuff): Add $(MANS).
1179 * Makefile.in: Regenerated.
c45021f2 1180
b6bf44ba 1181 * ld.1: Removed.
c45021f2 1182
6caa99ab
HPN
11832001-06-18 Hans-Peter Nilsson <[email protected]>
1184
605d9b3a
HPN
1185 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1186 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
1187 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
1188 * ld.h (args_type): Remove member export_dynamic. All users
1189 changed to use struct bfd_link_info member.
1190
6caa99ab
HPN
1191 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
1192 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
1193 * Makefile.in: Regenerate.
1194
6f9efd97
L
11952001-06-18 H.J. Lu <[email protected]>
1196
1197 * ldlang.c (init_os): Add the newline to the einfo call.
1198 (lang_check): Likewise.
1199 (lang_do_version_exports_section): Likewise.
1200
5af9fd8b
L
12012001-06-15 H.J. Lu <[email protected]>
1202
1203 * lexsup.c (parse_args); Save optind to report unrecognized
1204 option.
1205
2a096f04
HPN
12062001-06-15 Hans-Peter Nilsson <[email protected]>
1207
7e66c3f5
HPN
1208 * ldlang.c (lang_check): Emit fatal error if relocatable link
1209 between different object flavours.
1210
2a096f04
HPN
1211 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
1212 Set new link_info member export_dynamic.
1213 * ldmain.c (main): Initialize new link_info member export_dynamic.
1214
6770ec8c
NC
12152001-06-12 Nick Clifton <[email protected]>
1216
1217 * ldlang.c (walk_wild): Only call walk_wild_file if
1218 lookup_name returns something.
b6bf44ba 1219 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 1220 (load_symbols): Change to a boolean function.
b6bf44ba 1221 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
1222 executable.
1223
8529105a
AM
12242001-06-08 Alan Modra <[email protected]>
1225
1226 * ldlang.c (record_bfd_errors): Remove.
1227
1228 * emultempl/aix.em: Fix copyright dates.
1229
8f3aa7a0
AJ
12302001-06-07 Andreas Jaeger <[email protected]>
1231
1232 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
1233 (TEXT_START_ADDR): Likewise.
1234
3277f888
AM
12352001-06-06 Martin Schwidefsky <[email protected]>
1236
1237 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
1238
3763134d
DD
12392001-06-05 Danny Smith <[email protected]>
1240
1241 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
1242
5929ebc0
L
12432001-05-31 H.J. Lu <[email protected]>
1244
1245 * ldlang.c (open_input_bfds): Don't change the bfd error
1246 handler whilst loading symbols.
1247
c04a062d
NC
12482001-05-28 Nick Clifton <[email protected]>
1249
1250 * configure.tgt: Remove i370-mvs architecture, it is not currently
1251 supported.
1252
96fcab3e
L
12532001-05-25 H.J. Lu <[email protected]>
1254
1255 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1256 like emulparams/aixppc.sh.
1257
db8d4f23
L
12582001-05-25 H.J. Lu <[email protected]>
1259
1260 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
1261 setting of output_filename after bfd_scan_arch.
1262 * emultempl/pe.em: Likewise.
1263
5f642101
L
12642001-05-25 H.J. Lu <[email protected]>
1265
1266 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1267 like emulparams/aixppc.sh.
1268
1269 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
1270 instead of ${srcdir}/emultempl/stringify.sed.
1271
64e9ece0
TW
12722001-05-25 Timothy Wall <[email protected]>
1273
1274 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 1275 output.
64e9ece0 1276
c709b096
AM
12772001-05-25 Alan Modra <[email protected]>
1278
1279 * configure.host: Replace linuxoldld with linux*oldld.
1280 * configure.tgt: Likewise.
1281
6cbdcc6f
L
12822001-05-24 H.J. Lu <[email protected]>
1283
1284 * emultempl/stringify.sed: Removed again.
1285
86af25fe
L
12862001-05-24 H.J. Lu <[email protected]>
1287
1288 * emultempl/aix.em (OUTPUT_ARCH): Defined.
1289 (gld${EMULATION_NAME}_before_parse): Initialize
1290 ldfile_output_architecture, ldfile_output_machine and
1291 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
1292 * emultempl/beos.em: Likewise.
1293 * emultempl/elf32.em: Likewise.
1294 * emultempl/linux.em: Likewise.
1295 * emultempl/mipsecoff.em: Likewise.
1296 * emultempl/pe.em: Likewise.
1297 * emultempl/sunos.em: Likewise.
1298
3b1b01cf
TR
12992001-05-24 Tom Rix <[email protected]>
1300
8f3aa7a0 1301 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
1302 udate import file format.
1303 (change_symbol_mode) New, same
1304 (is_syscall) New, same
1305 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
1306 * emulparams/aixppc64.sh : same
1307 * emulparams/aixrs6.sh : same
1308 * emulparams/ppcmacos.sh : same
1309 * emultempl/aix.em : use strtoull to parse options
1310 * Makefile.am : add eaixppc64 emulation for xcoff64
1311 * Makefile.in : same
1312 * configure.tgt : same
1313
1314 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 1315 default data section offset to 0x20000000
3b1b01cf 1316 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 1317 loader and debug sections use the currect section offset.
3b1b01cf
TR
1318
1319 * emultempl/aix.em : Add xcoff64 support
1320 Add -binitfini support
8f3aa7a0 1321 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 1322 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 1323 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
1324 sections
1325
1326 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 1327
57e6abd2
AO
13282001-05-23 Alexandre Oliva <[email protected]>
1329
1330 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
1331 variable to avoid non-portable shell construct.
1332
d1cf510e
NC
13332001-05-23 Thiemo Seufer <[email protected]>
1334
1335 * ldmain.c (get_emulation): Add -mips5 command line argument.
1336
506eee22
NC
13372001-05-22 Alexandre Oliva <[email protected]>
1338
1339 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1340 (ELF_INTERPRETER_NAME): Define it.
1341 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1342 it.
1343 * configure.tgt (targ_emul, targ_extra_emuls)
1344 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1345 as primary, elf_i386 as extra.
1346 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1347 (eelf_i386_ldso.c): New rule.
1348 * Makefile.in: Rebuilt.
1349
13502001-05-22 Nick Clifton <[email protected]>
1351
1352 * lexsup.c (ld_options): Allow -I to be an alias for
1353 --dynamic-linker. This is for Solaris compatability.
1354 * ld.texinfo: Document that -I can be used.
1355 * ld.1: Regenerate.
1356
d1778b88
AM
13572001-05-16 Alan Modra <[email protected]>
1358
1359 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1360 whether an input section is the first one assigned to an output
1361 section.
1362 Assorted formatting fixes.
1363
02649152
DD
13642001-05-14 DJ Delorie <[email protected]>
1365
1366 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1367 * Makefile.in: Ditto.
1368
579f31ac
JJ
13692001-05-11 Jakub Jelinek <[email protected]>
1370
1371 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1372 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1373 output sections.
1374 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1375
8550eb6e
JJ
13762001-05-11 Jakub Jelinek <[email protected]>
1377
1378 * ldlang.c (lang_process): Call bfd_merge_sections.
1379
8e5a525c
AM
13802001-05-07 Thiemo Seufer <[email protected]>
1381
1382 * ldgram.y: Fix typo.
1383
1c9acd94
L
13842001-05-03 H.J. Lu <[email protected]>
1385
1386 * emultempl/elf32.em: Include "libiberty.h".
1387 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1388 basename of the bfd filename.
1389 (gld${EMULATION_NAME}_stat_needed): Likewise.
1390 (gld${EMULATION_NAME}_try_needed): Likewise.
1391 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1392
14fe918e
L
13932001-05-02 H.J. Lu <[email protected]>
1394
1395 * emultempl/pe.em: Include <ctype.h>.
1396
c7e40348
NC
13972001-05-02 Johan Rydberg <[email protected]>
1398
b6bf44ba 1399 * emulparams/elf32openrisc.sh: New file.
c7e40348 1400
b6bf44ba
AM
1401 * Makefile.am: Add OpenRISC target.
1402 * Makefile.in: Regenerated.
c7e40348 1403
b6bf44ba 1404 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
1405
14062001-05-02 Nick Clifton <[email protected]>
1407
1408 * emultempl/aix.em: Replace buystring with xstrdup.
1409 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 1410
d1b2b2dc
L
14112001-05-02 H.J. Lu <[email protected]>
1412
1413 * ldfile.c: Include "libiberty.h".
1414 * ldlex.l: Likewise.
1415
1416 * ldmisc.c (buystring): Removed.
1417 * ldmisc.h: Likewise.
1418
1419 * ldfile.c: Replace buystring with xstrdup.
1420 * ldlang.c: Likewise.
1421 * ldlex.l: Likewise.
1422 * ldmain.c: Likewise.
1423 * ldmisc.c: Likewise.
1424 * lexsup.c: Likewise.
1425 * mpw-eppcmac.c: Likewise.
1426
35714f2a
AJ
14272001-04-30 Andreas Jaeger <[email protected]>
1428
1429 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1430
884fb58e
NC
14312001-04-28 Paul Sokolovsky <[email protected]>
1432
b6bf44ba
AM
1433 * ldlang.c (load_symbols): Give emulation a chance
1434 to process unrecognized file before fatal error is
1435 reported, not after.
884fb58e 1436
87748b32
NC
14372001-04-27 Sean McNeil <[email protected]>
1438
1439 * configure.tgt: Add arm-vxworks target.
1440 * scripttempl/armcoff.sc: Support .text or .data as a section name
1441 prefix.
1442 Define _etext.
35714f2a 1443
7ce691ae
C
14442001-04-13 J.T. Conklin <[email protected]>
1445
1446 * ld.texinfo: Document --fatal-warnings.
1447 * ld.1: Regenerate.
1448
1449 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 1450 warnings have been turned into errors.
7ce691ae
C
1451 * lexsup.c (OPTION_WARN_FATAL): Define.
1452 (ld_options): Entry for --fatal-warnings.
1453 (parse_args): Handle OPTION_WARN_FATAL.
1454 * ld.h (ld_config_type): Add fatal_warnings field.
1455
f5fa8ca2
JJ
14562001-04-13 Jakub Jelinek <[email protected]>
1457
1458 * ldmain.c (main): Default to discard_sec_merge.
1459 * lexsup.c (OPTION_DISCARD_NONE): Define.
1460 (ld_options): Add --discard-none.
1461 (parse_args): Handle OPTION_DISCARD_NONE.
1462 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
1463 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
1464 all its input sections match.
1465
fdec3cfc
L
14662001-04-05 Steven J. Hill <[email protected]>
1467
1468 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
1469 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
1470 (eelf32ltsmip.c): New target.
1471 (eelf64btsmip.c): Likewise.
1472 (eelf64ltsmip.c): Likewise.
1473 * Makefile.in: Regenerated.
1474
1475 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
1476 target.
1477 (mips*-*-linux-gnu*): Likewise.
1478
1479 * emulparams/elf32ltsmip.sh: New. Traditional little endian
1480 MIPS taget.
35714f2a 1481 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
1482 target.
1483 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
1484 endian target.
1485
589bad82
HPN
14862001-04-05 Hans-Peter Nilsson <[email protected]>
1487
1488 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
1489 correct value of __Stext here.
1490 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
1491 .startup section.
1492
1493 * emulparams/crislinux.sh: Remove FIXME.
1494
94202e16
AM
14952001-04-02 Alan Modra <[email protected]>
1496
1497 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
1498 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
1499
1268a053
HPN
15002001-03-27 Hans-Peter Nilsson <[email protected]>
1501
1502 * configure.tgt (cris-*-*): Change default emulation to criself.
1503 (cris-*-*aout*): New rule.
1504
d85e9ff7
AM
15052001-03-27 Matthew Wilcox <[email protected]>
1506
1507 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
1508 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
1509
0879a67a
AJ
15102001-03-26 Andreas Jaeger <[email protected]>
1511
1512 * ld.texinfo (Overview): Fix syntax in texi code.
1513
0285c67d
NC
15142001-03-25 Stephane Carrez <[email protected]>
1515
1516 * ld.texinfo: Put @c man indications to generate the ld man page.
1517 When generating man, define all the variables. Define SEEALSO
1518 and SYNOPSIS. Re-organize some lines to avoid the cross references.
1519 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
1520 (ld.1): Generate from ld.texinfo.
1521 * Makefile.in: Regenerate.
1522
c20ec07b
NC
15232001-03-23 Mark Elbrecht <[email protected]>
1524
1525 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 1526 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 1527
cc5ce052
UD
15282001-03-17 Ulrich Drepper <[email protected]>
1529
1530 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
1531 is an absolute path look only for this file and not along the path.
1532
a1ab1d2a
UD
15332001-03-17 Ulrich Drepper <[email protected]>
1534
1535 * emultempl/elf32.em (OPTION_GROUP): New macro.
1536 Add new option Bgroup to longopts.
1537 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
1538 (gld*_list_options): Add -Bgroup and -z defs.
1539 * ld.1: Document -Bgroup and -z defs.
1540 * ld.texinfo: Likewise.
1541
788fca5a
MM
15422001-03-07 Michael Meissner <[email protected]>
1543
1544 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
1545 with sections created by -fdata-sections.
1546 (.dynbss,.bss): Ditto.
1547
1c7566d1
AM
15482001-03-05 Alan Modra <[email protected]>
1549
1550 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
1551 after_allocation_default, not gld..._before_allocation.
1552
27b7e12d
AM
15532001-02-27 Alan Modra <[email protected]>
1554
1555 * configure.in (BFD_VERSION): New.
1556 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1557 * configure: Regenerate.
1558 * Makefile.am: Run "make dep-am"
1559 * Makefile.in: Regenerate.
1560
2bc551c7
TW
15612001-02-26 Timothy Wall <[email protected]>
1562
1563 * emulparams/elf64_aix.sh: Add additional read-only sections;
1564 uncomment lines which are now required.
1565
1276aefa
NC
15662001-02-26 H.J. Lu <[email protected]>
1567
1568 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
1569 that problems can be caught whilst loading symbols.
1570 (record_bfd_errors): New function: Report BFD errors and mark
1571 the executable output as being invalid.
1276aefa 1572
41c49998
TW
15732001-02-22 Timothy Wall <[email protected]>
1574
1575 * configure.host: Add configuration for ia64-*-aix*.
1576 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
1577 Add dependencies for eelf64_aix.c.
1578 * Makefile.in: Regenerate.
1579 * configure.tgt: Add ia64-*-aix* mapping.
1580 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 1581 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
1582 AIX-specific test.
1583
78f85fd7
L
15842001-02-20 H.J. Lu <[email protected]>
1585
1586 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
1587 false if we found the file.
1588
1ac7e077 15892001-02-18 David O'Brien <[email protected]>
fb33b906
DB
1590
1591 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
1592 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
1593
e135f41b
NC
15942001-02-18 lars brinkhoff <[email protected]>
1595
1596 * Makefile.am: Add PDP-11 target.
1597 * configure.tgt: Likewise.
1598 * emulparams/pdp11.sh: New file.
1599
a842aceb
DB
16002001-02-17 David O'Brien <[email protected]>
1601
1602 * configure.host: Add a generic FreeBSD configuration entry such that
1603 all [modern] FreeBSD systems on all platforms will look the same.
1604
24174db0
L
16052001-02-14 H.J. Lu <[email protected]>
1606
1607 * configure.tgt: Remove mention of earmelf_linux26.
1608
30c3c13a
RH
16092001-02-13 Richard Henderson <[email protected]>
1610
1611 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
1612
b46a87b1
L
16132001-02-13 H.J. Lu <[email protected]>
1614
1615 * ldexp.h (node_type): Add etree_provided.
1616 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
1617 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 1618 for etree_provided.
b46a87b1
L
1619 (exp_print_tree): Handle etree_provided.
1620 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
1621 etree_provided.
1622
f3988fd9
RH
16232001-02-09 David Mosberger <[email protected]>
1624
1625 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
1626 .IA_64.unwind.* pattern to unwind table section and
1627 .IA_64.unwind_info* pattern to unwind info section.
1628
a85d7ed0
NC
16292001-02-09 Martin Schwidefsky <[email protected]>
1630
1631 * Makefile.am: Add linux target for S/390.
1632 * Makefile.in: Likewise.
1633 * configure.host: Likewise.
1634 * configure.tgt: Likewise.
1635 * emulparams/elf64_s390.sh: New file.
1636 * emulparams/elf_s390.sh: New file.
1637
780248c4
JJ
16382001-02-09 Jakub Jelinek <[email protected]>
1639
1640 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
1641 targ_extra_libpath.
1642 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
1643
0e2534bd
PB
16442001-02-06 Philip Blundell <[email protected]>
1645
1646 * Makefile.am: Remove mention of earmelf_linux26.
1647 * Makefile.in: Regenerate.
1648
46c1ea57
PB
16492001-02-04 Philip Blundell <[email protected]>
1650
1651 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
1652 * emulparams/armelf_linux26.sh: Delete.
1653 * configure.tgt: Remove mention of armelf_linux26 emulation.
1654
0088edd2
NC
16552001-02-01 Nick Clifton <[email protected]>
1656
1657 * ld.1: Replace occurances of -oformat with --oformat.
1658
02aa14fb
AM
16592001-01-25 Jim Driftmyer <[email protected]>
1660
1661 * ldlang.c (lang_leave_overlay): Don't set lma_region when
1662 load_base is specified.
1663
f813923c
HPN
16642001-01-24 Hans-Peter Nilsson <[email protected]>
1665
1666 * emultempl/elf32.em: Correct spelling in comments and listed
1667 options.
1668
c1eb1488
AM
16692001-01-23 Alan Modra <[email protected]>
1670
1671 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1672 default for the first section of a group of overlay sections.
1673
d9fc3714
AM
16742001-01-22 Alan Modra <[email protected]>
1675
1676 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1677 * Makefile.in: Regenerate.
1678 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1679 Check for null tool_dir.
1680
6be0ca94
JW
16812001-01-16 Jim Wilson <[email protected]>
1682
1683 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1684 and IA_64.unwind.info.
1685
b9247304
L
16862001-01-16 H.J. Lu <[email protected]>
1687
1688 * ldlang.c (lang_check): Merge the private data only if the
1689 input file has contents.
1690
577a0623
AM
16912001-01-14 Alan Modra <[email protected]>
1692
d952f17a
AM
1693 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1694
ffd6e9de
AM
1695 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1696 enabling search for libmilli. On a relocatable link, make .text
1697 sections unique.
1698 (LDEMUL_AFTER_PARSE): Define.
1699 (hppaelf_finish): Correct spelling of relocatable in comments.
1700
577a0623
AM
1701 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1702 rummage through the script for sections on the unique list.
1703 Correct length of strncmp for ".note".
1704 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1705
1706 * ldlang.c (unique_section_list): New var.
1707 (unique_section_p): New function.
1708 (walk_wild_section): Don't match sections on unique_section_list.
1709 (lang_add_unique): New function.
ffd6e9de 1710 Correct spelling of relocatable in comments.
577a0623
AM
1711
1712 * ldlang.h (struct unique_sections): Declare.
1713 (unique_section_list): Declare.
1714 (unique_section_p): Declare.
1715 (lang_add_unique): Declare.
1716
1717 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1718 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1719
1720 * ld.texinfo (--unique): Update.
1721
b7ed8fad
NC
17222001-01-13 Nick Clifton <[email protected]>
1723
1724 * lexsup.c (parse_args): Remove spurious white space.
1725
d0398d6a
NC
17262001-01-12 Nick Clifton <[email protected]>
1727
1728 * lexsup.c (parse_args): Update copyright date.
1729
350fdb00
PB
17302001-01-12 Philip Blundell <[email protected]>
1731
1732 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1733
60c6797e
KH
17342001-01-10 Kazu Hirata <[email protected]>
1735
1736 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1737 * scripttempl/h8300h.sc: Fix formatting.
1738 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
1739 * scripttempl/h8500.sc: Likewise.
1740 * scripttempl/h8500b.sc: Likewise.
1741 * scripttempl/h8500c.sc: Likewise.
1742 * scripttempl/h8500m.sc: Likewise.
1743 * scripttempl/h8500s.sc: Likewise.
60c6797e 1744
482e8b32
DB
17452000-01-07 David O'Brien <[email protected]>
1746
1747 * emultempl/elf32.em: Only perform Linux ld hints processing when
1748 targeting Linux.
1749
d7ed7ca6
PB
17502001-01-07 Philip Blundell <[email protected]>
1751
1752 * ld.texinfo (Bug Reporting): Update email address for reports.
1753
0fc3347a
NC
17542000-12-31 Nick Clifton <[email protected]>
1755
1756 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1757 options by checking for a return value of '?' not -1.
1758
e4897a32
NC
17592000-12-28 Nick Clifton <[email protected]>
1760
1761 * lexsup.c (struct ld_option): Add new enum value:
1762 EXACTLY_TWO_DASHES.
1763 (ld_options[]): Change -omagic, -output and -oformat options
1764 to be EXACTLY_TWO_DASHES.
1765 (OUTPUT_COUNT): Use ARRAY_SIZE.
1766 (parse_args): Change parameter 'argc' to unsigned.
1767 Place EXACTLY_TWO_DASHES options into new really_longopts
1768 array.
1769 If getopt_long_only fails, try calling getopt_long using the
1770 really_longopts array.
1771 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1772 TWO_DASHES options.
1773
1774 * ldlex.h: Fix prototype of parse_args.
1775
1776 * ld.texinfo: Document that long options starting with 'o'
1777 must be preceeded by two dashes. Change example of a single
1778 dashed long option from -oformat to -trace-symbol.
1779
1122a5fc
NC
17802000-12-26 Danny Smith <[email protected]>
1781
1782 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1783 (longopts[]): New --no-default-excludes option.
1784 (gld_${EMULATION_NAME}_list_options): Document.
1785 (gld_${EMULATION_NAME}_parse_args): Handle.
1786
037849a9
NC
17872000-12-13 Michael Sokolov <[email protected]>
1788
1789 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1790 whitespace, it breaks the K&R C preprocessor.
1791
7ec229ce
DD
17922000-12-11 DJ Delorie <[email protected]>
1793
1794 * ld.texinfo: Add notes about --whole-archive and gcc.
1795
b79e8c78
NC
17962000-11-18 Fred Fish <[email protected]>
1797
1798 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1799 (ld_options): Entry for --allow-shlib-undefined.
1800 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1801 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1802 to false.
1803 * ld.texinfo: Document new command line switch.
d952f17a 1804
9a8e2505
GK
18052000-12-12 Geoffrey Keating <[email protected]>
1806
1807 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1808 .fixup is actually read/write.
1809 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1810 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1811 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1812
b8355149
JH
1813Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <[email protected]>
1814
1815 * NEWS: Add note about x86_64 architecture.
1816
93b63cd3
DD
18172000-12-06 Mark Elbrecht <[email protected]>
1818
1819 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1820 Set DWARF2 sections to a VMA of zero.
1821
24f6971a
NC
18222000-12-01 Joel Sherrill <[email protected]>
1823
d952f17a 1824 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
1825 New targets.
1826 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1827 (sparc*-*-rtems*): Switched from a.out to ELF.
1828
2be3aa03
NC
18292000-11-30 Jan Hubicka <[email protected]>
1830
1831 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1832 (eelf_x86_64.c): New.
1833 * Makefile.in: Regenerate.
1834 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1835 * emulparams/elf_x86_64.sh: New.
1836
8c899858
HPN
18372000-11-30 Hans-Peter Nilsson <[email protected]>
1838
1839 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1840 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1841
1842 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1843 merging non-a.out sections into CONSTRUCTING.
1844
e47b9e39
NC
18452000-11-28 Nick Clifton <[email protected]>
1846
1847 * ld.1 (COPYING): Mention that the GNU Free Documentation
1848 License is present in the sources, but not the output, and
1849 also available from the GNU website.
1850 (GNU Free Documentation License): Comment out this section.
1851
ad95f82a
DB
18522000-11-28 David O'Brien <[email protected]>
1853
1854 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1855 does not use them.
1856
fd89e65f
DB
18572000-11-25 David O'Brien <[email protected]>
1858
1859 * ld.1: Remove old date so it does not give the impression the manpage
1860 is way out of date.
1861
077b8428
NC
18622000-11-24 Nick Clifton <[email protected]>
1863
1864 * configure.tgt (xscale-coff): Add target.
1865 (xscale-elf): Add target.
1866
49425d28
NC
18672000-11-24 Fred Fish <[email protected]>
1868
d952f17a
AM
1869 * ldmain.c (main): Remove redundant init of config.make_executable
1870 to true.
49425d28 1871
d3480244
RH
18722000-11-15 Richard Henderson <[email protected]>
1873
1874 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
1875
1ce7de8b
KH
18762000-11-14 Kazu Hirata <[email protected]>
1877
1878 * scripttempl/h8300.sc: Fix formatting.
1879 * scripttempl/h8300h.sc: Likewise.
1880 * scripttempl/h8300s.sc: Likewise.
1881
208d5cd0
DC
1882Tue Nov 14 00:59:19 2000 Denis Chertykov <[email protected]>
1883
1884 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
1885
2e418547
PB
18862000-11-09 Philip Blundell <[email protected]>
1887
1888 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
1889 around orphan sections whose names can be represented in C.
1890
c940e6fc
JW
18912000-11-07 Jim Wilson <[email protected]>
1892
1893 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
1894 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
1895
704c465c
NC
18962000-11-06 Nick Clifton <[email protected]>
1897
1898 * ld.texinfo: Add GNU Free Documentation License.
1899 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 1900 * ld.1: Add GNU Free Documentation License.
704c465c 1901
dca7760f
AM
19022000-11-05 Alan Modra <[email protected]>
1903
1904 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
1905 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
1906
1907 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
1908 Move 2000-11-02 Makefile.in changes to this file.
1909 * Makefile.in: Regenerate.
1910
40a633d5
NC
19112000-11-03 Nick Clifton <[email protected]>
1912
1913 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
1914 constructors and destructors.
1915 * scripttempl/h8300h.sc: Ditto.
1916 * scripttempl/h8300s.sc: Ditto.
1917 * scripttempl/h8500.sc: Ditto.
1918 * scripttempl/h8500b.sc: Ditto.
1919 * scripttempl/h8500c.sc: Ditto.
1920 * scripttempl/h8500m.sc: Ditto.
1921 * scripttempl/h8500s.sc: Ditto.
1922 * scripttempl/v850.sc: Ditto.
1923 * scripttempl/w65.sc: Ditto.
1924 * scripttempl/z8000.sc: Ditto.
1925
59ff2774
NC
19262000-11-02 Per Lundberg <[email protected]>
1927
1928 * Makefile.in (e_i386_chaos.c): New rule.
1929 (ALL_EMULATIONS): Added e_i386_chaos.o.
1930 * emulparams/elf_i386_chaos.sh: New file.
1931 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
1932
645571e1
JJ
19332000-10-20 Jakub Jelinek <[email protected]>
1934
1935 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
1936 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
1937 Fix sed invocation, so that it coped with '/' in Solaris 64bit
1938 library path suffix.
1939 Based on patch by Andrew Macleod <[email protected]>.
1940
c5975a45
HPN
19412000-10-18 Hans-Peter Nilsson <[email protected]>
1942
1943 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
1944 for consecutive sections.
1945
ea20a7da
CC
19462000-10-17 Chandrakala Chavva <[email protected]>
1947
d952f17a
AM
1948 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
1949 options.
1950 * ld.texinfo: Added notes about this new option.
ea20a7da 1951
6e45556a
NC
19522000-10-16 Nick Clifton <[email protected]>
1953
1954 * emultempl/pe.em (_after_open): Add tests of return values from
1955 bfd functions. Emit appropriate error messages if necessary.
1956
b9a69188
NC
19572000-10-13 Nick Clifton <[email protected]>
1958
1959 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
1960 local variables - they are not used, but leave in the call to
1961 bfd_canonicalize_symtab.
b9a69188
NC
1962 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
1963 pe_dll_search_prefix.
1964
627427de 19652000-10-12 Charles Wilson <[email protected]>
d952f17a 1966
627427de
DD
1967 * emultempl/pe.em (pe_dll_search_prefix): New variable,
1968 (longopts): New --dll-search-prefix option.
1969 (gld_${EMULATION_NAME}_list_options): Document.
1970 (gld_${EMULATION_NAME}_parse_args): Handle.
1971 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
1972 dynamically, search for a dll named '<prefix><basename>.dll'
1973 in preference to 'lib<basename>.dll' if --dll-search-prefix
1974 is specified.
1975
24376d1b
AM
19762000-10-12 Alan Modra <[email protected]>
1977
1978 * ldlang.c (section_already_linked): Set kept_section instead of
1979 sec->comdat->sec.
1980
e47d05ad
KH
19812000-10-10 Kazu Hirata <[email protected]>
1982
1983 * deffile.h: Fix formatting.
1984 * lexsup.c: Likewise.
1985 * mri.c: Likewise.
1986
23a87948
DD
19872000-10-09 Paul Sokolovsky <[email protected]>
1988
1989 * pe-dll.c (make_one): Do not generate code thunk for DATA
1990 exports.
1991 (process_def_file): deduce DATA flag for auto-export sumbols.
1992
86b1cc60
KH
19932000-10-09 Kazu Hirata <[email protected]>
1994
89cdebba
KH
1995 * ld.h: Fix formatting.
1996 * ldcref.c: Likewise.
1997 * ldctor.h: Likewise.
1998 * ldemul.c: Likewise.
1999 * ldemul.h: Likewise.
2000 * ldexp.c: Likewise.
2001 * ldexp.h: Likewise.
2002 * ldfile.c: Likewise.
2003 * ldfile.h: Likewise.
2004 * ldlang.c: Likewise.
2005 * ldlang.h: Likewise.
2006 * ldmain.c: Likewise.
7bfd51a3
KH
2007 * pe-dll.c: Likewise.
2008
2009 * pe-dll.c: Revert some formatting fixes.
86b1cc60 2010
d643799d
KH
20112000-10-08 Kazu Hirata <[email protected]>
2012
2013 * pe-dll.c: Fix formatting.
2014
08da4cac
KH
20152000-10-05 Kazu Hirata <[email protected]>
2016
2017 * ldlang.c: Fix formatting.
2018
c2a94a7a
DD
20192000-10-03 DJ Delorie <[email protected]>
2020
2021 * pe-dll.c (fill_edata): initialize entire block
2022 (make_one): fill in correct section.
2023
8c95a62e
KH
20242000-10-03 Kazu Hirata <[email protected]>
2025
2026 * ldexp.c: Fix formatting.
2027
486e80e2
DD
20282000-10-02 DJ Delorie <[email protected]>
2029
2030 * emultempl/pe.em (gld_*_after_open): detect case where there two
2031 import libraries for same dll; rename one to ensure proper link
2032 order.
2033
2034 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
2035 typo
2036 (generate_edata): fix typo
2037
24dd9f75
HPN
20382000-09-29 Hans-Peter Nilsson <[email protected]>
2039
2040 * scripttempl/crisaout.sc (ENTRY): Now __start.
2041 (.text): Add default setting for __start.
2042 Remove CONSTRUCTORS handling.
2043 (/DISCARD/): Add .gnu.warning.*.
2044 * emulparams/crislinux.sh (ENTRY): Now __start.
2045 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
2046 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
2047 (ENTRY): Now __start.
2048 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
2049 (EXECUTABLE_SYMBOLS): Add default setting for __start.
2050
4de2d33d
KH
20512000-09-29 Kazu Hirata <[email protected]>
2052
5cc18311
KH
2053 * deffile.h: Fix formatting.
2054 * ld.h: Likewise.
2055 * ldcref.c: Likewise.
4de2d33d 2056 * ldctor.c: Likewise.
5cc18311 2057 * ldctor.h: Likewise.
4de2d33d 2058 * ldemul.c: Likewise.
5cc18311 2059 * ldemul.h: Likewise.
4de2d33d 2060 * ldexp.c: Likewise.
5cc18311 2061 * ldexp.h: Likewise.
4de2d33d 2062 * ldfile.c: Likewise.
5cc18311 2063 * ldfile.h: Likewise.
4de2d33d 2064 * ldlang.c: Likewise.
5cc18311
KH
2065 * ldlang.h: Likewise.
2066 * lexsup.c: Likewise.
2067 * mri.c: Likewise.
2068 * pe-dll.c: Likewise.
4de2d33d 2069
45b1f63c
DD
20702000-09-28 Paul Sokolovsky <[email protected]>
2071
2072 * pe-dll.c (process_def_file): Uninitialized data wasn't
2073 exported with --export-all-symbols switch.
d952f17a 2074
45b1f63c
DD
20752000-09-28 DJ Delorie <[email protected]>
2076
2077 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
2078 noname work properly.
2079
47d89dba
AM
20802000-09-28 Alan Modra <[email protected]>
2081
2082 * ld.texinfo (HPPA ELF32): New section.
2083
2084 * emultempl/hppaelf.em (group_size): New.
2085 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
2086 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
2087 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
2088 options to prevent abbreviations matching.
2089 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
2090 (PARSE_AND_LIST_ARGS_CASES): Handle it.
2091
36bdbeec
NC
20922000-09-21 Michael Sokolov <[email protected]>
2093
2094 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
2095 on the m68*-*-elf target. Make it support COFF input objects.
2096
6d5e62f8
KH
20972000-09-21 Kazu Hirata <[email protected]>
2098
2099 * ldmain.c: Fix formatting.
2100 * ldmisc.c: Likewise.
2101 * ldver.c: Likewise.
2102 * ldwrite.c: Likewise.
2103
e2eb67d9
AM
21042000-09-21 Alan Modra <[email protected]>
2105
2106 * ldwrite.c (clone_section): Silence gcc warnings.
2107
b3ea3584
AM
21082000-09-20 Alan Modra <[email protected]>
2109
2110 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
2111 out of memory failure.
2112
2113 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
2114 (clone_section): Handle out of memory failures. Rename var to
2115 avoid c++ reserved word.
2116
25f72752
AM
21172000-09-18 Alan Modra <[email protected]>
2118
2119 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
2120 stub_name param to stub_sec_name.
2121 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2122
0752970e
NC
21232000-09-10 Michael Sokolov <[email protected]>
2124
2125 * emultempl/m68kelf.em: New file.
2126 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
2127 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
2128 * Makefile.in: Regenerate.
2129
92b7e9d8
AM
21302000-09-15 Alan Modra <[email protected]>
2131
2132 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
2133 only as needed.
2134
9b14b192
NC
21352000-09-13 Nick Clifton <[email protected]>
2136
2137 * ldmain.c (multiple_definition): Disable relaxation if
2138 multiple symbol definitions are encountered - otherwise the
2139 linker could abort with an assertion failure.
2140
891fa266
NC
21412000-09-10 Nick Clifton <[email protected]>
2142
2143 * mri.c: Fix formatting.
2144
5d64ca4e
L
21452000-09-07 H.J. Lu <[email protected]>
2146
2147 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2148 * configure: Rebuild.
2149
dd94604f
L
21502000-09-07 H.J. Lu <[email protected]>
2151
2152 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
2153 * Makefile.in: Rebuild.
2154
71bfc0ae
AM
21552000-09-07 Alan Modra <[email protected]>
2156
2157 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
2158 broken list handling. Create __start_SECNAME and __stop_SECNAME
2159 when no place-holder. Add some comments. Test both SEC_CODE and
2160 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 2161 Handle case where no output section statement created.
71bfc0ae 2162
4a428502
AO
21632000-09-07 Niibe Yutaka <[email protected]>, Kaz Kojima <[email protected]>, Alexandre Oliva <[email protected]>
2164
2165 * configure.tgt (sh-*-linux*): Added.
2166 * Makefile.am: Added eshelf_linux and eshlelf_linux.
2167 * Makefile.in: Rebuilt.
2168 * emulparams/shelf_linux.sh: New file.
2169 * emulparams/shlelf_linux.sh: New file.
2170
f9989030
AM
21712000-09-06 Alan Modra <[email protected]>
2172
2173 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2174 try shuffling sections when the orphan happens to be the place
2175 holder. Keep count of unique section names generated so we speed
2176 the search for a new name.
2177
58cccadb
AO
21782000-09-06 Alexandre Oliva <[email protected]>
2179
2180 * configure: Rebuilt with new libtool.m4.
2181
5b343f5a
NC
21822000-09-05 Nick Clifton <[email protected]>
2183
2184 * Makefile.in: Regenerate.
2185 * aclocal.m4: Regenerate.
2186 * configure: Regenerate.
2187 * config.in: Regenerate.
2188 * po/ld.pot: Regenerate.
2189
2190 * ldint.texinfo: Remove CVS revision marker - it foils local
2191 comparisons.
2192
2193 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 2194
a854a4a7
AM
21952000-09-05 Alan Modra <[email protected]>
2196
3231d22e
AM
2197 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
2198 to stub section flags.
2199 (hppa_for_each_input_file_wrapper): New.
2200 (hppa_lang_for_each_input_file): New.
2201 (lang_for_each_input_file): Define to call above.
2202 (multi_subspace): New.
2203 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
2204 (PARSE_AND_LIST_PROLOGUE): Define.
2205 (PARSE_AND_LIST_LONGOPTS): Define.
2206 (PARSE_AND_LIST_OPTIONS): Define.
2207 (PARSE_AND_LIST_ARGS_CASES): Define.
2208 (hppaelf_finish): Call elf32_hppa_set_gp.
2209 (hppaelf_set_output_arch): Remove.
2210 (LDEMUL_SET_OUTPUT_ARCH): Remove.
2211
2212 * emulparams/hppalinux.sh (ELFSIZE): Define.
2213 (MACHINE): Define.
2214 (OTHER_READONLY_SECTIONS): Define.
2215 (DATA_PLT): Define.
2216 (GENERATE_SHLIB_SCRIPT): Define.
2217
5f992e62
AM
2218 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
2219 to const throughout. Change `void *' to `PTR' throughout.
2220 (lang_memory_default): Function is local to file, add `static'.
2221
2222 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
2223 (ehppalinux.c): Likewise.
2224 (earmelf.c): Likewise.
2225 (earmelf_linux.c): Likewise.
2226 (earmelf_linux26.c): Likewise.
2227 * Makefile.in: Regenerate.
2228
a854a4a7
AM
2229 * ld.h (ld_config_type): Add unique_orphan_sections.
2230 * lexsup.c (OPTION_UNIQUE): Define.
2231 (ld_options): Add "--unique".
2232 (parse_args): Handle it.
2233 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2234 search for an existing output section if unique_orphan_sections is
2235 set. Make use of bfd_get_unique_section_name rather than
2236 duplicating code here.
2237 * ld.texinfo: Describe --unique.
2238
2239 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
2240 optional arg to split-by-file.
2241 (parse_args): Handle them.
2242 * ld.texinfo: Update description of these options.
2243 * ldwrite.c (clone_section): Pass in the section name. Replace
2244 local code with bfd_get_unique_section_name.
2245 (split_sections): Tidy code and comments. Use a list traversal
2246 more appropriate to the list construction. Handle cooked section
2247 sizes. Split when split_by_reloc reached rather than exceeded.
2248 Track section size and split when split_by_file reached. Fix
2249 link_order_tail (even though it's not used).
2250 (ldwrite): Modify condition for calling split_sections to suit
2251 changed split_by_reloc and split_by_file.
2252 * ldmain.c (main): Init config.split_by_reloc and
2253 config.split_by_file to -1.
2254 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
2255 Change split_by_file to bfd_size_type.
2256
18e03609
NC
22572000-09-02 Nick Clifton <[email protected]>
2258
2259 * configure.in: Increase version number to 2.10.91.
2260 * NEWS: Mention new ability to support removal of duplicate DWARF2
2261 debug information.
2262 * configure: Regenerate.
2263 * aclocal.m4: Regenerate.
2264 * config.in: Regenerate.
2265
3a9d486c
NC
22662000-09-02 Daniel Berlin <[email protected]>
2267
2268 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
2269 sections.
a2b64bed 2270 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
2271 * scripttempl/elfd10v.sc: Ditto.
2272 * scripttempl/elfd30v.sc: Ditto.
2273 * scripttempl/elfi370.sc: Ditto.
2274 * scripttempl/elfm68hc11.sc: Ditto.
2275 * scripttempl/elfm68hc12.sc: Ditto.
2276 * scripttempl/elfi386beos.sc: Ditto.
2277 * scripttempl/v850.sc: Ditto.
50bbae35 2278
ac48eca1
AO
22792000-08-31 Alexandre Oliva <[email protected]>
2280
2281 * acinclude.m4: Include libtool and gettext macros from the
2282 top level.
2283 * aclocal.m4, configure: Rebuilt.
2284
c13b1b77
NC
22852000-08-25 Nick Clifton <[email protected]>
2286
2287 * ldlang.c (open_output): When choosing the target for a
2288 particular endianness, do nothing if the target is not
2289 supported.
2290
dcb0bd0e
L
22912000-08-25 H.J. Lu <[email protected]>
2292
2293 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
2294 check -rpath nor LD_RUN_PATH for cross link.
2295 * ld.texinfo: Document the change.
2296
5bcac8a4
HPN
22972000-08-24 Hans-Peter Nilsson <[email protected]>
2298
2299 * NEWS: Mention support for CRIS.
2300
6dd8c765
L
23012000-08-23 H.J. Lu <[email protected]>
2302
2303 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
2304 the current runpath list from bfd_elf_get_runpath_list ()
2305 before search.
2306
ec4eb78a
L
23072000-08-22 H.J. Lu <[email protected]>
2308
2309 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
2310 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
2311 LD_LIBRARY_PATH for native linker. Display the needed DSO if
2312 trace_file_tries is non-zero.
2313 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
2314 if trace_file_tries is non-zero.
2315
2316 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 2317 * NEWS: Mention it.
ec4eb78a 2318
22b36938
JE
23192000-08-14 Jason Eckhardt <[email protected]>
2320
2321 * NEWS: Mention i860 support.
2322
d73e9da0
AS
23232000-08-14 Andreas Schwab <[email protected]>
2324
2325 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 2326 syntax.
d73e9da0 2327
9ac4db9c
GK
23282000-08-10 Geoff Keating <[email protected]>
2329
2330 * scripttempl/elf.sc: Add a comment giving the correspondence
2331 between sections, per-datum sections, and linkonce sections. Make
2332 the comment true even for .bss, .sdata, .sdata2, .sbss, and
2333 .sbss2.
2334
165589e4
JE
23352000-08-10 Jason Eckhardt <[email protected]>
2336
2337 * emulparams/elf32_i860.sh: New file.
2338 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
2339 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2340 (eelf32_i860.c): New rule.
2341 * Makefile.in: Regenerate.
2342
345a835d
NC
23432000-08-10 Nick Clifton <[email protected]>
2344
2345 * emulparams/mipspe.sh (ENTRY): Add definition.
2346
e374f1d9
NC
23472000-08-08 Peter Jeremy <[email protected]>
2348
2349 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2350 in error message.
2351
236d5abf
NC
23522000-08-08 Stephane Carrez <[email protected]>
2353
2354 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2355 the final size of .bss section.
2356 * scripttempl/elfm68hc12.sc: Likewise.
2357
4b209b22
AM
23582000-08-04 Alan Modra <[email protected]>
2359
2360 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2361 gld${EMULATION_NAME}_parse_args for consistency. Combine
2362 lastoptind and prevoptind vars, and keep track of last optind.
2363 (gld_${EMULATION_NAME}_list_options): Rename to
2364 gld${EMULATION_NAME}_list_options.
2365
28423a68
AM
23662000-08-03 Rodney Brown <[email protected]>
2367
2368 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2369 (i586-sco-sysv5uw7.1.0).
2370
b2009ff7
L
23712000-07-27 H.J. Lu <[email protected]>
2372
2373 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2374 (PARSE_AND_LIST_PROLOGUE): New.
2375 (PARSE_AND_LIST_LONGOPTS): Likewise.
2376 (PARSE_AND_LIST_OPTIONS): Likewise.
2377 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2378 (PARSE_AND_LIST_EPILOGUE): Likewise.
2379
04925e1e
AM
23802000-07-28 Alan Modra <[email protected]>
2381
41392f03
AM
2382 * emultempl/armelf.em: Elide functions common to elf32.em,
2383 ie. most of the file.
2384 (arm_elf_after_open): New. Do arm specific things then call
2385 gld${EMULATION_NAME}_after_open.
2386 (arm_elf_before_allocation): New. Call
2387 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2388 (PARSE_AND_LIST_PROLOGUE): Define.
2389 (PARSE_AND_LIST_SHORTOPTS): Define.
2390 (PARSE_AND_LIST_LONGOPTS): Define.
2391 (PARSE_AND_LIST_OPTIONS): Define.
2392 (PARSE_AND_LIST_ARGS_CASES): Define.
2393 (LDEMUL_AFTER_OPEN): Define.
2394 (LDEMUL_BEFORE_ALLOCATION): Define.
2395 (LDEMUL_BEFORE_PARSE): Define.
2396 (LDEMUL_FINISH): Define.
2397
2398 * emultempl/hppaelf.em: Similarly zap most of this file.
2399 (hppaelf_add_stub_section): Prototype.
2400 (hppaelf_layaout_sections_again): Prototype.
2401 (hook_in_stub): Prototype.
2402 (LDEMUL_SET_OUTPUT_ARCH): Define.
2403 (LDEMUL_FINISH): Define.
2404 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2405
2406 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2407 (EXTRA_EM_FILE): New.
2408 * emulparams/armelf_linux.sh: Likewise.
2409 * emulparams/armelf_linux26.sh: Likewise.
2410 * emulparams/hppalinux.sh: Likewise.
2411 * emulparams/hppaelf.sh: Likewise.
2412 (NOP): Define.
2413
2414 * emultempl/elf32.em: Fix formatting.
2415 (EXTRA_EM_FILE): Source it.
2416 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2417 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2418 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2419 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2420 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2421 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2422 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2423 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2424 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2425 allow functions in this file to be overridden.
2426 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2427
2428 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2429
04925e1e
AM
2430 * emultempl/elf32.em: Reorganize file.
2431
88cdf297
NC
24322000-07-27 Ivan Kokshaysky <[email protected]>
2433
2434 * emulparams/elf64alpha.sh: Implement "-taso" emulation
2435 specific option to fit 64-bit executable in the lower
2436 31-bit address range. This is done by changing start
2437 address of .interp (the very first section of executable)
2438 and then setting EF_ALPHA_32BIT elf header flag.
2439
20bccb34
NC
24402000-07-21 Michael Sokolov <[email protected]>
2441
2442 * emultempl/m68kcoff.em: New file.
2443 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
2444 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
2445 generic.em.
2446 * Makefile.in: Regenerate.
2447
699845ef
L
24482000-07-20 H.J. Lu <[email protected]>
2449
2450 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2451 and "disable-new-dtags" to stop getopt from treating -d/-e as
2452 abbreviations for these options.
2453
6c1439be
L
24542000-07-20 H.J. Lu <[email protected]>
2455
2456 * ld.texinfo: Add documentation for --disable-new-dtags and
2457 --enable-new-dtags.
2458
2459 * ldmain.c (main): Initialize link_info.new_dtags to false.
2460
2461 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
2462 --disable-new-dtags and --enable-new-dtags.
2463 (gld_${EMULATION_NAME}_list_options): Likewise.
2464
28c309a2
NC
24652000-07-05 Kenneth Block <[email protected]>
2466
a2b64bed
NC
2467 * lexsup.c: Add optional style to demangle switch
2468 * ld.texinfo: Document optional style to demangle switch.
50bbae35 2469
9d06555c
HPN
24702000-07-20 Hans-Peter Nilsson <[email protected]>
2471
2472 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
2473 ecrislinux.o.
2474 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
2475 Regenerate dependencies.
2476 * Makefile.in: Rebuild.
2477 * configure.tgt (cris-*-*): New target.
2478 * emulparams/crisaout.sh, emulparams/criself.sh,
2479 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
2480 * po/POTFILES.in, po/ld.pot: Regenerate.
2481
19e3be22
L
24822000-07-20 H.J. Lu <[email protected]>
2483
2484 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
2485 Print out ignored -z options.
2486
e0ee487b
L
24872000-07-19 H.J. Lu <[email protected]>
2488
19e3be22
L
2489 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
2490 (PARSE_AND_LIST_PROLOGUE): New.
2491 (PARSE_AND_LIST_LONGOPTS): Likewise.
2492 (PARSE_AND_LIST_OPTIONS): Likewise.
2493 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2494
2495 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
2496
2497 * lexsup.c (ld_options): Comment out 'z'.
2498 (parse_args): Likewise.
2499
2500 * emultempl/elf32.em: Include "elf/common.h".
2501 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
2502 options.
2503 (gld_${EMULATION_NAME}_list_options): Likewise.
2504
2505 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 2506
49e56c49
L
25072000-07-19 H.J. Lu <[email protected]>
2508
2509 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
2510 bfd_elf_set_dt_needed_soname ().
2511
9d68bc82
DD
25122000-07-18 DJ Delorie <[email protected]>
2513
2514 * pe-dll.c (pe_dll_id_target): check object target name also
2515
53db15ed
HPN
25162000-07-18 Hans-Peter Nilsson <[email protected]>
2517
2518 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
2519 ${INIT_END} if relocating.
2520 (.fini): Likewise ${FINI_START} and ${FINI_END}.
2521
0ad8cf4c
DD
25222000-07-16 Charles Wilson <[email protected]>
2523
a2b64bed 2524 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
2525 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
2526 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
2527 errors introduced by the old dynamic lib search order.
2528
874c8c99
DD
25292000-07-17 DJ Delorie <[email protected]>
2530
2531 * pe-dll.c (process_def_file): auto-export data items also
2532 (pe_process_import_defs): also see if _imp_ form needed
2533
5b4cf3f4
DD
25342000-07-12 Charles Wilson <[email protected]>
2535
2536 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
2537 for dll import libraries
2538
062739d1
NC
25392000-07-12 Mark Elbrecht <[email protected]>
2540
2541 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 2542 gcc 2.95.2 and later.
062739d1 2543
1c64c4ed
NC
25442000-07-11 Kazu Hirata <[email protected]>
2545
50bbae35
AM
2546 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
2547 message.
1c64c4ed 2548
b71e2778
AM
25492000-07-10 Alan Modra <[email protected]>
2550
2551 * ldemul.h (struct lang_input_statement_struct): Remove forward
2552 declaration.
2553 (struct search_dirs): Likewise.
2554 * ldfile.h (struct lang_input_statement_struct): Likewise.
2555 Protect file from multiple inclusion.
2556 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
2557 declaration from macro to file scope.
2558
2559 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
2560 * ldgram.y: Likewise here.
2561 * ldlang.c: And here.
2562 * ldmain.c: And here.
2563 * mpw-elfmips.c: And here.
2564 * mpw-eppcmac.c: And here.
2565 * emultempl/aix.em: And here.
2566 * emultempl/armcoff.em: And here.
2567 * emultempl/armelf.em: And here.
2568 * emultempl/armelf_oabi.em: And here.
2569 * emultempl/beos.em: And here.
2570 * emultempl/elf32.em: And here.
2571 * emultempl/hppaelf.em: And here.
2572 * emultempl/linux.em: And here.
2573 * emultempl/lnk960.em: And here.
2574 * emultempl/pe.em: And here.
2575 * emultempl/sunos.em: And here.
2576 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
2577 * mpw-idtmips.c: Ditto.
2578 * emultempl/generic.em: Ditto.
2579 * emultempl/gld960.em: Ditto.
2580 * emultempl/gld960c.em: Ditto.
2581 * emultempl/mipsecoff.em: Ditto.
2582 * emultempl/ticoff.em: Ditto.
2583 * emultempl/vanilla.em: Ditto.
2584
2585 * pe-dll.c: Include ldfile.h
2586 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
2587
2588 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
2589 arguments to bfd_elf32_size_dynamic_sections call.
2590 (gldelf32ebmip_place_orphan): Add missing arguments to
2591 lang_leave_output_section_statement call.
2592
2ef53d66
L
25932000-07-10 H.J. Lu <[email protected]>
2594
2595 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
2596 DLL_SUPPORT.
2597 (strhash): Likewise.
2598 (compute_dll_image_base): Likewise.
2599 (pe_undef_found_sym): Likewise.
2600 (pe_undef_cdecl_match): Likewise.
2601 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
2602 argument "arch" with ATTRIBUTE_UNUSED.
2603
9a8cbb09
AM
26042000-07-10 Alan Modra <[email protected]>
2605
2606 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
2607
2608 From Ryan Bradetich <[email protected]>
2609 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 2610
4900fc06
AM
26112000-07-09 Alan Modra <[email protected]>
2612
2613 Changes to create multiple linker stubs, positioned immediately
2614 before the section where they are required.
2615 * emultempl/hppaelf.em: Include elf32-hppa.h.
2616 (stub_sec, file_chain): Delete.
2617 (hppaelf_create_output_section_statements): Don't make a stub
2618 section here.
2619 (hook_stub_info): New struct.
2620 (hook_in_stub): New function.
2621 (hppaelf_add_stub_section): New function.
2622 (hppaelf_finish): Do nothing for relocateable links. Modify the
2623 call to elf32_hppa_size_stubs. Move code for updating section
2624 layout from here...
2625 (hppaelf_layaout_sections_again): ..to here, a new function.
2626
2627 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
2628 broken list handling. Pass in a pointer to the list.
2629 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
2630 for above changes.
2631 (hppaelf_before_parse): Prototype.
2632 (hppaelf_set_output_arch): Prototype.
2633 (hppaelf_create_output_section_statements): Prototype.
2634 (hppaelf_delete_padding_statements): Prototype.
2635 (hppaelf_finish): Prototype.
2636
2637 Merge from elf32.em
2638 * emultempl/hppaelf.em: Include ctype.h.
2639 (struct orphan_save): New.
2640 (gld${EMULATION_NAME}_place_orphan): New.
2641 (output_rel_find): New.
2642 (hppaelf_get_script): Update from elf32.em.
2643 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
2644 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 2645 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
2646
2647 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
2648 ehppalinux.o, sort it. Regenerate dependencies.
2649 (ehppalinux.c): Depend on hppaelf.em
2650 * Makefile.in: Regenerate.
2651
2652 * configure.tgt: targ_emul=hppalinux for hppa*linux
2653
2654 * emulparams/hppalinux.sh: New.
2655 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2656
227aeb07
AM
26572000-07-08 Alan Modra <[email protected]>
2658
2659 * lexsup.c (parse_args): Copy section name.
2660
28609fd4 26612000-07-07 Charles Wilson <[email protected]>
602e90d3 2662
2ef53d66 2663 * emultempl/pe.em: institute the following search order for
602e90d3
DD
2664 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2665 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2666 static lib (libfoo.a) if none of the above are found.
2667
5f577f7d
DD
26682000-07-07 Mumit Khan <[email protected]>
2669
50bbae35 2670 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 2671 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 2672 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
2673 (gld_${EMULATION_NAME}_parse): Handle.
2674 (strhash): New static function.
50bbae35 2675 (compute_dll_image_base): New static function.
5f577f7d
DD
2676 (gld_${EMULATION_NAME}_set_symbols): Use.
2677
9a8cbb09 26782000-07-05 DJ Delorie <[email protected]>
302ab118
DD
2679
2680 * MAINTAINERS: new
2681
3548145d 26822000-07-01 Koundinya K <[email protected]>
50bbae35
AM
2683
2684 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2685 * emulparams/elf32btsmip.sh: New file.
2686 * Makefile.am: Add traditional mips target.
2687 * Makefile.in: Rebuild.
2688
67798033
L
26892000-07-01 H.J. Lu <[email protected]>
2690
2691 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2692 automake to use YLWRAP.
2693 * Makefile.in: Rebuild.
2694
0bdaf48b
AM
26952000-07-01 Alan Modra <[email protected]>
2696
2697 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2698 (CLEANFILES): Add DEPA.
2699 * Makefile.in: Regenerate.
2700
c9e769c2
TW
27012000-06-30 Timothy Wall <twall@ppc>
2702
2703 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2704 the page in the upper octet of the address.
2705
65aa24b6
NC
27062000-06-26 Marek Michalkiewicz <[email protected]>
2707
2708 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2709
4667035e
AM
27102000-06-24 Alan Modra <[email protected]>
2711
2712 * NEWS: arm-elf does --gc-sections too.
2713
1581f8c9
AM
27142000-06-22 Alan Modra <[email protected]>
2715
2716 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2717 find one.
2718 * Makefile.in: Regenerate.
2719
01580992
L
27202000-06-21 H.J. Lu <[email protected]>
2721
2722 * Makefile.am: Rebuild dependency.
2723 * Makefile.in: Rebuild.
2724
bbeb2e03
L
27252000-06-20 H.J. Lu <[email protected]>
2726
2727 * Makefile.am: Rebuild dependency.
2728 * Makefile.in: Rebuild.
2729
74459f0e
TW
27302000-06-20 Timothy Wall <[email protected]>
2731
2732 * scripttempl/tic54xcoff.sc: New.
2733 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2734 * gen-doc.texi: Add flag for TI COFF.
2735 * ld.texinfo: Add documentation for TI COFF handling switches.
2736 * emultempl/ticoff.em: New. TI COFF handling.
2737 * configure.tgt: Add tic54x target.
2738 * Makefile.am: Add tic54x target.
2739 * Makefile.in: Ditto.
2740
2ab47eed
AM
27412000-06-20 Alan Modra <[email protected]>
2742
2743 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2744 checking for backslashes.
2745
919e4093
AM
27462000-06-19 Alan Modra <[email protected]>
2747
2748 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2749
987fd5b4
AM
27502000-06-18 Alan Modra <[email protected]>
2751
2752 * NEWS: Update list of targets supporting --gc-sections.
2753
2754 * scripttempl/elf.sc: KEEP .eh_frame contents.
2755 * scripttempl/elfd30v.sc: Same here.
2756
60bcf0fa
NC
27572000-06-18 Stephane Carrez <[email protected]>
2758
2759 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2760 and m68hc11 (elf).
2761 * Makefile.in: Rebuild.
2762 * configure.tgt: Recognize m68hc12 and m68hc11.
2763 * scripttempl/elfm68hc12.sc: New file.
2764 * emulparams/m68hc12elfb: New emulation.
2765 * emulparams/m68hc12elf: New emulation.
2766 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2767 (includes a memory.x script to define the ROM and RAM banks).
2768 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2769 New configuration files for support of Motorola 68hc11
2770
c7c54483
AM
27712000-06-15 Alan Modra <[email protected]>
2772
2773 * ldmain.c (main): Only change SEC_READONLY for final link.
2774
bcef29e6
L
27752000-06-13 H.J. Lu <[email protected]>
2776
2777 * configure: Regenerate.
2778
946efd95
DB
27792000-06-08 David O'Brien <[email protected]>
2780
2781 * configure.in (VERSION): Update to show this is the CVS mainline.
2782
57a6fd07
DB
27832000-06-07 Michael Sokolov <[email protected]>
2784
2785 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2786 input objects to be ECOFF.
2787 (check_sections): einfo takes %B, not %P, to print a BFD name.
2788
e06cae36
L
27892000-06-05 Michael Matz <[email protected]>
2790
2791 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 2792 version scripts.
e06cae36 2793
d952f17a 2794 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 2795
2f0b56c0
DC
27962000-05-23 Marek Michalkiewicz <[email protected]>
2797
2798 * emulparams/avr1200.sh (STACK): Define as 0.
2799 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2800 * emulparams/avr4433.sh (STACK): Likewise.
2801 * emulparams/avr44x4.sh (STACK): Likewise.
2802 * emulparams/avr85xx.sh (STACK): Likewise.
2803 * emulparams/avrmega103.sh (STACK): Likewise.
2804 * emulparams/avrmega161.sh (STACK): Likewise.
2805 * emulparams/avrmega603.sh (STACK): Likewise.
2806 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2807 (__stack): Define from ${STACK} for main().
2808
2114f57b
AM
28092000-05-26 Alan Modra <[email protected]>
2810
2811 * Makefile.am: Update dependencies with "make dep-am"
2812 * Makefile.in: Regenerate.
2813
5af11cab
AM
28142000-05-26 Eli Zaretskii <[email protected]>
2815
2816 * ldmain.c: Include filenames.h.
2817 (set_scripts_dir): Support backslashes in program name.
2818
1f0df59a
NC
28192000-05-22 Igor Shevlyakov <[email protected]>
2820
2821 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
2822 read-only, don't forget to reset SEC_READONLY because it
2823 could be already set.
1f0df59a 2824
176355da
NC
28252000-05-22 Thomas de Lellis <[email protected]>
2826
50bbae35
AM
2827 * ld.1: Add documentation for new command line option:
2828 --section-start <sectionname>=<sectionorg>
2829 This is a generic version of -Ttext etc. which accepts
2830 any section name as a parameter instead of just text/data/
2831 bss.
2832 * ld.texinfo: More docs.
2833 * NEWS: More docs.
2834 * lexsup.c: (parse_args): Recognize new command line option.
176355da 2835 (ld_options): Add new option.
50bbae35 2836
8c5ff972
L
28372000-05-18 H.J. Lu <[email protected]>
2838
2839 * lexsup.c (parse_args): `i' == `r', not `q'.
2840
0b76fe77
JL
2841Thu May 18 10:47:57 2000 Jeffrey A Law ([email protected])
2842
2843 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2844
a712da20
NC
28452000-05-17 S. Bharadwaj Yadavalli <[email protected]>
2846 Rick Gorton <[email protected]>
50bbae35 2847
a712da20
NC
2848 Add support for '-q' == '--emit-relocs' switch.
2849 * ldmain.c (main): Default to false.
2850 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2851 * NEWS: Describe the emitrelocations switch.
2852 * ld.texinfo: Describe the emitrelocations switch.
2853
690a460e
NC
28542000-05-16 Charles Wilson <[email protected]>
2855
a2b64bed 2856 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
2857 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2858 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2859 link options.
50bbae35 2860
c2f1343c
AM
28612000-05-15 David O'Brien <[email protected]>
2862
2863 * lexsup.c (parse_args): Update the year in the copyright notice.
2864
897083bd
AM
28652000-05-13 Alan Modra <[email protected]>
2866
2867 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
2868 Replace defines with those from intl/libgettext.h to quieten gcc
2869 warnings.
2870
cd4c806a
L
28712000-05-10 H.J. Lu <[email protected]>
2872
2873 * ldlang.c (open_input_bfds): Don't load the same file within
2874 a group again if the whole archive has been loaded already.
2875
93697284
AM
28762000-05-03 Alan Modra <[email protected]>
2877
2878 From Ulf Carlsson <[email protected]> and Andreas Jaeger <[email protected]>
2879 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
2880 strtoul.
2881
ebd6fc29
JW
2882Mon May 1 17:34:34 2000 Jim Wilson <[email protected]>
2883
99a4150f 2884 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 2885
ebd6fc29
JW
2886 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2887 host "ia64-*-linux-gnu*".
2888
a1934524
AM
28892000-04-29 Andreas Jaeger <[email protected]>
2890
2891 * ld.h: Correctly check GCC version.
2892
730a39a0
JL
2893Tue Apr 25 11:20:43 2000 Jeffrey A Law ([email protected])
2894
2895 * Makefile.am: Add PA64 support. Add missing dependencies for
2896 PA32 elf support.
2897 * Makefile.in: Rebuilt.
2898 * configure.tgt: Add PA64 support (currently disabled).
2899
aea4bd9d
AM
29002000-04-25 Alan Modra <[email protected]>
2901
2902 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
2903 (output_rel_find): New function.
2904 (hold_section, hold_use): Delete.
2905 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2906 hold_interp): Make local to place_orphan.
2907 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
2908 rather than place_section to find possible previous use of orphan.
2909 Similarly find the place-holder output sections. Use returned
2910 value from lang_enter_output_section_statement rather than calling
2911 lang_output_section_statement_lookup.
2912 * emultempl/armelf.em: Same here.
2913 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
2914
2915 * ldlang.c (lang_enter_output_section_statement): Return output
2916 section statement.
2917 * ldlang.h (lang_enter_output_section_statement): Change
2918 declaration too.
2919
2920 * ldlang.h (lang_output_section_statement): Export it.
2921 * ldlang.c (lang_output_section_statement): Ditto.
2922
2b5fc1f5
NC
29232000-04-24 Nick Clifton <[email protected]>
2924
2925 * ld.texinfo (Output Section Data): Add note that section data
2926 commands cannot appear outside of section directives.
2927
d8475ff6
JL
29282000-04-2 Matthew Green <[email protected]>
2929
2930 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
2931
800eeca4
JW
2932Fri Apr 21 13:20:53 2000 Richard Henderson <[email protected]>
2933 David Mosberger <[email protected]>
2934
2935 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
2936 (eelf64_ia64.c): New rule.
2937 * Makefile.in: Rebuild.
2938 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
2939 * emulparams/elf64_ia64.sh: New file.
50bbae35 2940
c9637625
RH
29412000-04-21 Richard Henderson <[email protected]>
2942
2943 * scripttempl/elfd30v.sc: Place .gcc_except_table.
2944
28ea9521
AM
29452000-04-19 Alan Modra <[email protected]>
2946
2947 * dep-in.sed: Match space at start of file name, not at end.
2948
20d04697
L
29492000-04-18 H.J. Lu <[email protected]>
2950
2951 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
2952 lang_leave_output_section_statement () after calling
2953 lang_enter_output_section_statement ().
2954 * emultempl/armelf.em: Likewise.
2955
5ba47421
AM
29562000-04-18 Alan Modra <[email protected]>
2957
2958 * emultempl/elf32.em (struct orphan_save): Add section field.
2959 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
2960 better order, and place first orphan section as we did before the
2961 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
2962 Don't call make_bfd_section here, let wild_doit do the job for us.
2963 Don't build a statement list when we'll only throw it away.
2964 * emultempl/armelf.em: Ditto.
2965 * emultempl/pe.em: Similarly.
2966
bdbe5705
GK
29672000-04-14 Geoff Keating <[email protected]>
2968
2969 * scripttempl/elfppc.sc: Remove.
2970 * emulparams/elf32ppc.sh: Use elf.sc.
2971 * emulparams/elf32lppc.sh: Use elf.sc.
2972 * emulparams/elf32ppclinux.sh: Use elf.sc.
2973 * emulparams/elf32ppcsim.sh: New file.
2974 * emulparams/elf32lppcsim.sh: New file.
2975 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
2976 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
2977 * Makefile.in: Regenerate.
2978 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2979
01cc8ff8
AM
29802000-04-14 Alan Modra <[email protected]>
2981
5ba47421 2982 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 2983 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
2984 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
2985 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
2986 Also set all relocateable section start addresses.
2987
6c86c541
GK
29882000-04-13 Geoff Keating <[email protected]>
2989
2990 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
2991 Add new BSS_PLT variable for when .plt need not be contained in
2992 the file. Move _etext so that it is also after .fini, and provide
2993 both etext and _etext with a leading underscore. Mark the start
2994 and end of .sbss.
2995
6a345e87
AM
29962000-04-12 Alan Modra <[email protected]>
2997
2998 * emultempl/elf32.em (struct orphan_save): New.
2999 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3000 hold_interp): Make them struct orphan_save.
3001 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
3002 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
3003 the end of the relevant section list. Also add associated section
3004 statements to the end of any previous orphan statements.
3005 * emultempl/armelf.em: Similarly.
3006 * emultempl/pe.em: Similarly.
3007
8be86746
AM
30082000-04-11 Alan Modra <[email protected]>
3009
3010 * ld.texinfo (Simple Example): Remove extraneous paragraph.
3011
a2d91340 3012Fri Apr 7 15:56:57 2000 Andrew Cagney <[email protected]>
50bbae35 3013
a2d91340 3014 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 3015 --enable-build-warnings option.
a2d91340
AC
3016 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3017 * Makefile.in, configure: Re-generate.
3018
41b49281
AM
30192000-04-04 Alan Modra <[email protected]>
3020
8ad3436c
AM
3021 * po/ld.pot: Regenerate.
3022
3023 * lexsup.c (help): Restore translated part of bug string.
3024
41b49281
AM
3025 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3026 (DEP): Quote when passing vars to sub-make. Add warning message
3027 to end.
3028 (DEP1): Rewrite for "gcc -MM".
3029 (CLEANFILES): Add DEP2.
3030 Update dependencies.
3031 * Makefile.in: Regenerate.
3032
c20f4f8c
AM
30332000-04-03 Alan Modra <[email protected]>
3034
3035 * ld.h: #include "bin-bugs.h"
3036 * lexsup.c (help): Use REPORT_BUGS_TO.
3037
adde6300
AM
30382000-03-27 Denis Chertykov <[email protected]>
3039
3040 * configure.tgt (avr-*-*): New target support.
3041 * Makefile.am: Likewise.
3042 * scripttempl/elf32avr.sc: New script file.
3043 * emulparams/avr1200.sh: New file.
3044 * emulparams/avr23xx.sh: New file.
3045 * emulparams/avr4433.sh New file.
3046 * emulparams/avr44x4.sh New file.
3047 * emulparams/avr85xx.sh New file.
3048 * emulparams/avrmega103.sh New file.
3049 * emulparams/avrmega161.sh New file.
3050 * emulparams/avrmega603.sh New file.
3051 * Makefile.in: Regenerate.
3052
9282ff41
L
30532000-03-09 Andreas Jaeger <[email protected]>
3054
3055 * Makefile.am (check-DEJAGNU): Also unset LANG.
3056 * Makefile.in: Rebuild.
3057
a9998805
ILT
30582000-03-06 Ian Lance Taylor <[email protected]>
3059
3060 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
3061 archive.
3062
f9bc20e7
NC
30632000-03-02 H.J. Lu <[email protected]>
3064
3065 * emulparams/elf32mcore.sh: Include "getopt.h".
3066
4e277b38
ILT
30672000-03-01 Ian Lance Taylor <[email protected]>
3068
3069 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
3070
f0c87f88
NC
30712000-03-01 H.J. Lu <[email protected]>
3072
3073 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
3074 * emulparams/shpe.sh: Likewise.
3075
30762000-03-01 Nick Clifton <[email protected]>
3077
3078 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
3079 to unused parameters.
3080
3081 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
3082 functions only used by DLL code.
3083 (_place_orphan): Initialise 'dollar'.
3084
b6f29aaa
L
30852000-03-01 H.J. Lu <[email protected]>
3086
3087 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
3088 indicate if the undefined symbol is a fatal error or not.
3089 Don't delete the output file if "fatal" is false.
3090
af28fce3
L
30912000-02-29 H.J. Lu <[email protected]>
3092
50bbae35 3093 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
3094 Set LC_COLLATE and LC_ALL to null and export them. It is for
3095 sort which expects the C locale.
3096 Add $(LIBS) to all $(HOSTING_LIBS).
3097 * Makefile.in: Rebuild.
3098
40d109bf
AM
30992000-02-29 Alan Modra <[email protected]>
3100
3101 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
3102 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
3103 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
3104 (ld_emulation_xfer_struct): Add missing NULL initialiser for
3105 find_potential_libraries.
3106
db5be682
JB
31072000-02-28 Jim Blandy <[email protected]>
3108
3109 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 3110 list entries; the lexer considers commas to be valid part of a
db5be682
JB
3111 filename, so in something like `foo, bar' the comma is considered
3112 part of the first filename, `foo,'.
3113 * ld.texinfo: Update section on EXCLUDE_FILE lists.
3114
3558ff4c
ILT
31152000-02-27 Loren J. Rittle <[email protected]>
3116
3117 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3118 host "i[3456]86-*-freebsdelf*".
3119
4eee2681
ILT
31202000-02-27 Mark Elbrecht <[email protected]>
3121
3122 * scripttempl/i386go32.sc: Move misplaced semicolons.
3123
8d75d12d
ILT
31242000-02-25 Ian Lance Taylor <[email protected]>
3125
3126 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
3127 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
3128 (eelf64hppa.c, ehppaelf.c): Remove targets.
3129 * Makefile.in: Rebuild.
3130
a1836d49
AO
31312000-02-25 Alexandre Oliva <[email protected]>
3132
ad51fb57
AO
3133 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
3134 GNU/Linux/sparc, but keep the default as 32.
3135
a1836d49
AO
3136 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
3137 it default if sparcv9 or sparc64.
3138
344a211f
NC
31392000-02-24 Nick Clifton <[email protected]>
3140
3141 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
3142 * Makefile.in: Regenerate.
3143 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
3144
3145 * ldemul.h (ld_emulation_xfer_struct): Add new field:
3146 find_potential_libraries.
3147 * ldemul.c (ldemul_find_potential_libraries): New function.
3148
3149 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 3150 exported.
344a211f
NC
3151 (ldfile_open_file): Call ldemul_find_potential_libraries.
3152 * ldfile.h: Add prototype for ldfile_open_file_search.
3153
3154 * pe-dll.c: Add support for ARM, MIPS and SH targets.
3155
3156 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
3157 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
3158
3159 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
3160 (gld_X_find_potential_libraries): New function. Search for
3161 libraries called "*.lib".
3162
a2b64bed 3163 * scripttempl/pe.sc: Add .pdata section.
344a211f 3164
eaba1dd3
RH
31652000-02-23 Richard Henderson <[email protected]>
3166
3167 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
3168 Add and use memory regions.
3169
5b93d8bb
AM
31702000-02-23 Linas Vepstas ([email protected])
3171
3172 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
3173
3174 * Makefile.am: Add support for Linux/IBM 370.
3175 * configure.tgt: Likewise.
3176
3177 * Makefile.in: Regenerate.
3178
f6af82bd
AM
31792000-02-21 Alan Modra <[email protected]>
3180
3181 * ldlang.c (print_input_section, print_data_statement,
3182 print_reloc_statement, print_padding_statement, insert_pad,
3183 size_input_section, lang_check_section_addresses,
3184 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 3185 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
3186 (lang_do_assignments): Also change `size' to unsigned.
3187
9e673ad1
RH
31882000-02-16 Richard Henderson <[email protected]>
3189
3190 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
3191
562d3460
TW
31922000-02-16 Timothy Wall <[email protected]>
3193
3194 * mri.c (mri_draw_tree): Add default LMA region argument to call
3195 to lang_leave_output_section_statement.
3196 * ldlang.h: Update prototypes with LMA region arguments.
3197 * ldlang.c (lang_size_sections): Encapsulate region bounds
3198 checking in os_check_region call.
3199 (os_check_region): New function.
3200 (lang_output_section_statement_lookup): Initialize lma_region.
3201 (lang_leave_output_section_statement): Add LMA region argument.
3202 (lang_leave_overlay): Ditto.
3203 * ldgram.y: Handle LMA region syntax.
3204 * ld.texinfo (Output Section Description): Describe LMA region usage.
3205 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 3206 lma region in call to lang_leave_output_section_statement.
562d3460 3207 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 3208 lma region in call to lang_leave_output_section_statement.
562d3460 3209 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 3210 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
3211
3212
9e4ed18c
TW
32132000-02-04 Timothy Wall <[email protected]>
3214
3215 * ldlang.c (lang_check_section_addresses): Use bytes instead of
3216 octets when calculating section end addresses.
3217
32edc927
TW
32182000-02-04 Timothy Wall <[email protected]>
3219
3220 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
3221
4cbfc3ac
TW
32222000-02-03 Timothy Wall <[email protected]>
3223
a2b64bed 3224 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 3225 octet count.
a2b64bed 3226 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
3227 print_reloc_statement, print_padding_statement): Print target
3228 address values and section sizes as bytes, not octets.
3229 (insert_pad) Calculate padding size in octets, and adjust "dot"
3230 by bytes.
3231 (size_input_section) Always adjust "dot" by bytes, not octets.
3232 (lang_check_section_addresses, lang_do_assignments) Adjust
3233 "dot" by bytes, not octets. Use the larger of the directive size
3234 or octets_per_byte for the number of octets actually allocated in
3235 the output section.
3236 (lang_set_startof) Make sure STARTOF returns a target address.
3237 (lang_one_common) Record size changes in octets.
3238 (lang_abs_symbol_at_end_of) Section end symbol's value is
3239 recorded in target bytes.
3240 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
3241 to be clear about behavior when an octet is smaller than one byte.
50bbae35 3242
305c7206
AM
32432000-01-27 Alan Modra <[email protected]>
3244
3245 * ldcref.c (output_cref): Don't pass message strings to printf
3246 as format arg.
3247 Update copyright.
3248
3249 * ldmisc.c (vfinfo): Same here.
3250 Update copyright.
3251
e1c47aa4
AM
32522000-01-23 Alan Modra <[email protected]>
3253
3254 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
3255 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
3256 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
3257 Add missing NULL initialisers, and comments.
3258
3259 * testsuite/ld-srec/sr3.cc (__rethrow): New.
3260
13392b77
NC
32612000-01-21 Nick Clifton <[email protected]>
3262
3263 * ldlang.c (lang_size_sections): Fix typo in comment.
3264
cce4c4c5
NC
32652000-01-18 H.J. Lu <[email protected]>
3266
3267 * ldlang.c (lang_size_sections): Also update the current
3268 address of a region if the SEC_NEVER_LOAD bit is not set.
3269
0decc840
NC
32702000-01-10 Philip Blundell <[email protected]>
3271
3272 * configure.tgt (arm*-*-conix*): New target.
3273
4e53152f
NC
32742000-01-07 Nick Clifton <[email protected]>
3275
3276 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
3277 line switches with -Wl, (or whatever is appropriate) if it is
3278 being invoked by a comnpiler driver program.
50bbae35 3279 Fix description of the behaviour of the -n command line switch.
4e53152f 3280
18625d54
CM
3281Wed Jan 5 08:02:12 2000 Catherine Moore <[email protected]>
3282
3283 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
3284 (name_list): New.
3285 * ld.texinfo (EXCLUDE_FILE): Update documentation.
3286 * ldgram.y (wildcard_spec): Support a list of excluded_files.
3287 (exclude_name_list): New.
3288 ldlang.c (walk_wild_section): Support list of excluded files.
3289 (print_wild_statement): Likewise.
3290 (lang_add_wild): Likewise.
3291 * ldlang.h (lang_wild_statement_type): Likewise.
3292 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 3293
5aaace27
NC
32942000-01-04 Mumit Khan <[email protected]>
3295
870df5dc
NC
3296 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
3297 (process_def_file): Use.
3298 (pe_dll_compat_implib): New variable.
3299 (make_one): Use.
50bbae35 3300
870df5dc
NC
3301 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
3302 pe_dll_compat_implib.
50bbae35
AM
3303
3304 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
3305 compat-implib options.
3306 (gld_${EMULATION_NAME}_list_options): List new options.
3307 (gld_${EMULATION_NAME}_parse_args): Handle.
3308
50bbae35 3309 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 3310 dll.
50bbae35
AM
3311
3312 * deffilep.y (opt_name): Allow "." in name.
5aaace27 3313
2f6d2f85 3314For older changes see ChangeLog-9899
252b5132
RH
3315\f
3316Local Variables:
3317mode: change-log
3318left-margin: 8
3319fill-column: 74
3320version-control: never
3321End:
This page took 0.663715 seconds and 4 git commands to generate.