bfd ChangeLog:
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
e901de89
BW
12003-07-10 Bob Wilson <bob.wilson@acm.org>
2
3 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
4 with new .got.loc section.
5 (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
6 non-relocating links.
7 (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce
8 sections separate for non-relocating links; likewise for .xt.insn.
9
4a096548
AO
102003-07-10 Alexandre Oliva <aoliva@redhat.com>
11
12 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
13 * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
14 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
15 * configure.host (am33_2.0-*-linux*): Added.
16 * configure.tgt (am33_2.0-*-linux*): Likewise.
17 * emulparams/elf32am33lin.sh: New.
18 * Makefile.am (eelf32am33lin.c): New rule.
19 * Makefile.in: Rebuilt.
20
892bb326
AO
212003-07-09 Alexandre Oliva <aoliva@redhat.com>
22
23 2001-04-17 Alexandre Oliva <aoliva@redhat.com>
24 * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
25 (GENERATE_SHLIB_SCRIPT): Likewise.
26
68f8ff14
AM
272003-07-10 Alan Modra <amodra@bigpond.net.au>
28
29 * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
30 (GOT): Define.
31 * emultempl/ppc64elf.em (stub_added): New static var.
32 (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
33 (ppc_add_stub_section): Set stub_added.
34 (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
35 ppc64_elf_size_stubs call and test for stubs.
36 * scripttempl/elf.sc (GOT): Define and use.
37
fb319d8d
JR
382003-07-08 J"orn Rennecke <joern.rennecke@superh.com>
39
40 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
41 Allow second call from ldemul_finish.
42
3a51fda6
JR
432003-07-04 J"orn Rennecke <joern.rennecke@superh.com>
44
45 * emulparams/shelf32.sh (STACK_ADDR): Don't define.
46 (OTHER_SECTIONS): Include .stack.
47 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
48
9203ba99
JJ
492003-07-02 Jakub Jelinek <jakub@redhat.com>
50
51 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
52 .opd if -pie.
53 (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
54 * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
55 if -pie.
56
1579bae1
AM
572003-06-28 Alan Modra <amodra@bigpond.net.au>
58
59 * ld.h: Convert to C90, remove unnecessary prototypes and casts.
60 Replace PTR with void *. Formatting.
61 * ldcref.c: Likewise.
62 * ldctor.c: Likewise.
63 * ldctor.h: Likewise.
64 * ldemul.h: Likewise.
65 * ldexp.c: Likewise.
66 * ldexp.h: Likewise.
67 * ldfile.c: Likewise.
68 * ldfile.h: Likewise.
69 * ldlang.c: Likewise.
70 * ldlang.h: Likewise.
71 * ldlex.h: Likewise.
72 * ldlex.l: Likewise.
73 * ldmain.c: Likewise.
74 * ldmain.h: Likewise.
75 * ldmisc.c: Likewise.
76 * ldmisc.h: Likewise.
77 * ldver.h: Likewise.
78 * ldwrite.c: Likewise.
79 * ldwrite.h: Likewise.
80 * lexsup.c: Likewise.
81 * mri.c: Likewise.
82 * mri.h: Likewise.
83 * pe-dll.c: Likewise.
84 * pe-dll.h: Likewise.
85 * deffilep.y: Likewise.
86 * deffile.h: Likewise. Don't include ansidecl.h.
87 * emulparams/elf32mcore.sh: Remove unnecessary cast.
88 * emultempl/m68kcoff.em: Likewise.
89 * emultempl/m68kelf.em: Likewise.
90 * emultempl/ticoff.em: Remove lang_add_output_format declaration.
91 * sysdep.h: Don't include ansidecl.h.
92 * Makefile.am: Run "make dep-am".
93 * Makefile.in: Regenerate.
94
dc17f155
NC
952003-06-27 Nick Clifton <nickc@redhat.com>
96
97 * deffilep.y (def_file_add_directive): Cope with NUL seperated
98 directives. Fix reporting of unparseable directives.
99 (def_error): Check for a NULL def_filename.
100
0c7a8e5a
AM
1012003-06-27 Alan Modra <amodra@bigpond.net.au>
102
103 * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
104 and casts. Replace PTR with void *. Formatting.
1579bae1
AM
105 * emultempl/alphaelf.em: Likewise.
106 * emultempl/armcoff.em: Likewise.
107 * emultempl/armelf.em: Likewise.
108 * emultempl/armelf_oabi.em: Likewise.
109 * emultempl/beos.em: Likewise.
110 * emultempl/elf32.em: Likewise.
111 * emultempl/generic.em: Likewise.
112 * emultempl/gld960.em: Likewise.
113 * emultempl/gld960c.em: Likewise.
114 * emultempl/hppaelf.em: Likewise.
115 * emultempl/linux.em: Likewise.
116 * emultempl/lnk960.em: Likewise.
117 * emultempl/m68hc1xelf.em: Likewise.
118 * emultempl/m68kcoff.em: Likewise.
119 * emultempl/m68kelf.em: Likewise.
120 * emultempl/mipsecoff.em: Likewise.
121 * emultempl/mipself.em: Likewise.
122 * emultempl/mmix-elfnmmo.em: Likewise.
123 * emultempl/mmixelf.em: Likewise.
124 * emultempl/mmo.em: Likewise.
125 * emultempl/needrelax.em: Likewise.
126 * emultempl/netbsd.em: Likewise.
127 * emultempl/pe.em: Likewise.
128 * emultempl/sh64elf.em: Likewise.
129 * emultempl/sunos.em: Likewise.
130 * emultempl/ticoff.em: Likewise.
131 * emultempl/vanilla.em: Likewise.
132 * emultempl/xtensaelf.em: Likewise.
0c7a8e5a
AM
133 * Makefile.am: Correct dependencies.
134 * Makefile.in: Regenerate.
135
1049f94e
AM
1362003-06-25 Alan Modra <amodra@bigpond.net.au>
137
138 * ld.texinfo: Correct spelling of "relocatable".
1579bae1
AM
139 * ldctor.c: Likewise.
140 * ldexp.c: Likewise.
141 * ldfile.c: Likewise.
142 * ldint.texinfo: Likewise.
143 * ldlang.c: Likewise.
144 * ldmain.c: Likewise.
145 * ldwrite.c: Likewise.
146 * lexsup.c: Likewise.
147 * emultempl/aix.em: Likewise.
148 * emultempl/alphaelf.em: Likewise.
149 * emultempl/armcoff.em: Likewise.
150 * emultempl/armelf_oabi.em: Likewise.
151 * emultempl/beos.em: Likewise.
152 * emultempl/elf32.em: Likewise.
153 * emultempl/generic.em: Likewise.
154 * emultempl/gld960.em: Likewise.
155 * emultempl/gld960c.em: Likewise.
156 * emultempl/hppaelf.em: Likewise.
157 * emultempl/linux.em: Likewise.
158 * emultempl/lnk960.em: Likewise.
159 * emultempl/m68hc1xelf.em: Likewise.
160 * emultempl/m68kcoff.em: Likewise.
161 * emultempl/m68kelf.em: Likewise.
162 * emultempl/mipsecoff.em: Likewise.
163 * emultempl/mipself.em: Likewise.
164 * emultempl/mmix-elfnmmo.em: Likewise.
165 * emultempl/mmo.em: Likewise.
166 * emultempl/needrelax.em: Likewise.
167 * emultempl/pe.em: Likewise.
168 * emultempl/ppc64elf.em: Likewise.
169 * emultempl/sh64elf.em: Likewise.
170 * emultempl/sunos.em: Likewise.
171 * emultempl/ticoff.em: Likewise.
172 * emultempl/xtensaelf.em: Likewise.
1049f94e 173
7e5d8d48
AM
1742003-06-24 Alan Modra <amodra@bigpond.net.au>
175
176 * emultempl/ppc32elf.em: Convert to C90.
177
7d8a3a28
AM
1782003-06-20 Alan Modra <amodra@bigpond.net.au>
179
180 * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
181 unnecessary prototypes and casts.
182
bda6c678
AM
1832003-06-19 Alan Modra <amodra@bigpond.net.au>
184
185 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
186 statistics from ppc64_elf_build_stubs.
187
6bc8652b
AM
1882003-06-19 Alan Modra <amodra@bigpond.net.au>
189
190 * emultempl/ppc64elf.em (build_section_lists): Check return status
191 from ppc64_elf_next_input_section.
192
f97b9cb8
L
1932003-06-17 H.J. Lu <hongjiu.lu@intel.com>
194
195 * ldlang.c (section_already_linked): Put back assignment of
196 kept_section.
197
fea39bcb
NC
1982003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
199
200 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
6bc8652b 201 reloc.
fea39bcb 202
40bdaaa8
NC
2032003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
204
205 * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
206 if not produced by gcc.
207
b826ae22
HPN
2082003-06-16 Hans-Peter Nilsson <hp@axis.com>
209
210 * configure.tgt: Add specific case for cris-*-linux-gnu*
211 with crislinux emulation only.
212
a06a29f2
NC
2132003-06-13 Robert Millan <zeratul2@wanadoo.es>
214
215 * configure.tgt: Add i386-netbsd-gnu target.
216
728fa2f6
RS
2172003-06-12 Richard Sandiford <rsandifo@redhat.com>
218
219 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
220 to $targ_extra_libpath.
221
3b443373
L
2222003-06-11 H.J. Lu <hongjiu.lu@intel.com>
223
224 * po/Make-in (DESTDIR): New.
225 (install-data-yes): Support $(DESTDIR).
226 (uninstall): Likewise.
227
cfa1ac0c
DE
2282003-06-10 Doug Evans <dje@sebabeach.org>
229
230 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
231 * Makefile.in: Regenerate.
232
f4984206
RS
2332003-06-10 Richard Sandiford <rsandifo@redhat.com>
234
235 * configure.tgt (h8300*): Add h8300sxn emulations.
236 * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
237 (eh8300sxn.c, eh8300sxnelf.c): New rules.
238 * Makefile.in: Regenerate.
239 * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
d1b2d571 240 * scripttempl/h8300sxn.sc: New file.
f4984206 241
285272bd
AM
2422003-06-10 Alan Modra <amodra@bigpond.net.au>
243
244 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
245 CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
246
0b9a4d73
AM
2472003-06-08 Alan Modra <amodra@bigpond.net.au>
248
249 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
250 (build_toc_list): New function.
251 (gld${EMULATION_NAME}_finish): Call build_toc_list and
252 ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
253 (OPTION_STUBSYMS): Define.
254 (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
255 (PARSE_AND_LIST_OPTIONS): Document.
256 (PARSE_AND_LIST_ARGS_CASES): Handle.
257
c16d554d
RM
2582003-06-05 Roland McGrath <roland@redhat.com>
259
260 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
261 extra \t in -z noexecstack line.
262
9ee5e499
JJ
2632003-05-23 Jakub Jelinek <jakub@redhat.com>
264
265 * ldgram.y (phdr_type): Grok PT_GNU_STACK.
266 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
267 -z execstack and -z noexecstack.
268 (gld${EMULATION_NAME}_list_options): Likewise.
269 * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
270
65982ba6 2712003-06-03 Michael Snyder <msnyder@redhat.com>
6bc8652b 272 and Bernd Schmidt <bernds@redhat.com>
65982ba6 273 and Alexandre Oliva <aoliva@redhat.com>
9ee5e499 274
65982ba6
MS
275 * Makefile.am: Add new emulations for h8300sx.
276 * Makefile.in: Regenerate.
277 * configure.tgt: Add new emulations.
278 * emulparams/h8300sx.sh: New emulation.
279 * emulparams/h8300sxelf.sh: Ditto.
280 * scripttempl/h8300sx.sc: Ditto.
281
6f6f27f8
L
2822003-06-03 H.J. Lu <hongjiu.lu@intel.com>
283
284 * ldmisc.c: Include "bfdlink.h".
285 (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
286 and -LD_DEFINITION_IN_DISCARDED_SECTION.
287
288 * Makefile.am: Rebuild dependency.
289 * Makefile.in: Regenerated.
290
308f753f
KK
2912003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
292
293 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
294 * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
295
03a1c9a7
NC
2962003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
297
298 * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
299 sorted alphabetically, instead of exported_symbols, which is
300 sorted by ordinal.
301
36af4a4e
JJ
3022003-05-30 Ulrich Drepper <drepper@redhat.com>
303 Jakub Jelinek <jakub@redhat.com>
304
305 * lexsup.c (OPTION_PIE): Define.
306 (ld_options): Add -pie and --pic-executable options.
307 (parse_args): Handle OPTION_PIE.
308 * ldmain.c (main): Initialize link_info.pie and
309 link_info.executable.
310 * genscripts.sh: Generate PIE scripts.
311 * ld.texinfo: Document -pie and --pic-executable options.
312 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
313 (gld${EMULATION_NAME}_place_orphan): Likewise.
314 (gld${EMULATION_NAME}_get_script): Include PIE scripts.
315 * scripttempl/elf.sc: In PIE scripts set . the same way as in
316 shared scripts.
317 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
318 * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
319 * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
320 * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
321 * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
322 * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
323 * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
324 * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
325 * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
326 * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
327 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
328
cdaeef2e
L
3292003-05-30 H.J. Lu <hongjiu.lu@intel.com>
330
331 * genscripts.sh: Create tmpdir/libpath.exp.
332
06aa7234
NC
3332003-05-30 Nick Clifton <nickc@redhat.com>
334
335 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
336 with a test for a NULL bfd_for_interworking.
337
561c27b2
JT
3382003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
339
340 * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
341 correctly for more recent versions of NetBSD.
342 (alpha*-*-netbsd*): Remove.
343 (i[3-7]86-*-netbsd*): Remove.
344
29e1a6e4
NC
3452003-05-29 Nick Clifton <nickc@redhat.com>
346
347 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
348
90be1c5c
MR
3492003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
350
351 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
352 trap on pointer crops.
353
cea3d58d
NC
3542003-05-21 Marcus Comstedt <marcus@mc.pp.se>
355
356 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
357 as well as shle-...-netbsdelf.
358
80c7c40a
NC
3592003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
360
361 * configure.host: Accept i[3-7]86 variants.
362 * configure.tgt: Likewise.
363
a6c0916f
L
3642003-05-15 H.J. Lu <hongjiu.lu@intel.com>
365
366 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
367
d2012d17
DJ
3682003-05-09 Daniel Jacobowitz <drow@mvista.com>
369
370 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
371 (earmelfb.c, earmelfb_linux.c): New rules.
372 * Makefile.in: Regenerated.
373 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
df9a14a1 374 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
d2012d17 375
3cd9fdd5 3762003-05-09 Nick Clifton <nickc@redhat.com>
c16d554d 377
66184979
NC
378 * ldlang.c (lang_size_sections_1): Default to generating a
379 fatal error message if a loadable section is not allocated
380 to a memory region when regions are defined.
381
efdffbe2
AM
3822003-05-09 Alan Modra <amodra@bigpond.net.au>
383
384 * Makefile.am (em68hc11elf.c): Correct dependencies.
385 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
386 * Makefile.in: Regenerate.
387 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
388 bfd_elf_record_link_assignment name.
389
8aae64e6
AO
3902003-05-07 Alexandre Oliva <aoliva@redhat.com>
391
392 * ldmain.h (overflow_cutoff_limit): Declare.
393 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
394 (reloc_overflow): Limit error messages based on it.
395 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
396 unlimited.
397
5c7966bf
AM
3982003-05-05 Alan Modra <amodra@bigpond.net.au>
399
400 * ldlex.l: Accept C style comments in version scripts.
401
c7996ad6
L
4022003-04-28 H.J. Lu <hjl@gnu.org>
403
404 * ldlang.c (lang_process): Add the relax finalize pass.
405
406 * ldmain.c (main): Initialize link_info.relax_finalizing to
407 FALSE.
408
d145330d
RM
4092003-04-24 Roland McGrath <roland@redhat.com>
410
411 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
412 If a name string is unknown, give an error rather than crashing later.
413
4142003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
415
416 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
8d9cd6b1
NC
417 eh8300hnelf.o, eh8300snelf.o and respective rules.
418 * Makefile.in: Regenerate.
419 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
420 * emulparams/h8300hn.sh: New
421 * emulparams/h8300sn.sh: New
d145330d 422 * emulparams/h8300hnelf.sh: New
8d9cd6b1
NC
423 * emulparams/h8300snelf.sh: New
424 * scripttempl/h8300hn.sc: new
425 * scripttempl/h8300sn.sc: new
426
0f0569c4
L
4272003-04-23 H.J. Lu <hjl@gnu.org>
428
429 * ldmain.c (link_callbacks): Initialize error_handler.
430
431 * ldmisc.c (error_handler): New function.
432
433 * ldmisc.h (error_handler): New prototype.
434
e2cebd4b
SC
4352003-04-21 Stephane Carrez <stcarrez@nerim.fr>
436
437 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
438 * emulparams/m68hc11elfb.sh: Likewise.
439 * emulparams/m68hc12elf.sh: Likewise.
440 * emulparams/m68hc12elfb.sh: Likewise.
441
67bb9940
SC
4422003-04-19 Stephane Carrez <stcarrez@nerim.fr>
443
444 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
445 68HC11 and 68HC12.
446 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
447 generate.
448 (LDEMUL_FINISH): Override to generate the trampolines after gc and
449 linker relaxation.
450 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
451 stub file for trampolines.
452 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
453 --no-trampoline and --bank-window to control the memory bank window.
454
97b51f20
L
4552003-04-18 H.J. Lu <hjl@gnu.org>
456
457 * ldfile.c (ldfile_add_library_path): Remove the unused
458 variable.
459
517ed485
NC
4602003-04-18 Andrew Haley <aph@cambridge.redhat.com>
461
462 * scripttempl/xstormy16.sc (__data, __rdata): New.
463
39f1ebed
NC
4642003-04-16 Nick Clifton <nickc@redhat.com>
465
466 * scripttempl/xstormy16.sc: Add .jcr section mapping.
467
731e28d8
L
4682003-04-15 H.J. Lu <hjl@gnu.org>
469
470 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
471
472 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
473
c2dcd04e
NC
4742003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
475
476 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
477 * ld.texinfo: Likewise.
478
877d60f7
AM
4792003-04-14 Alan Modra <amodra@bigpond.net.au>
480
481 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
482 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
483 other variants of crtbegin.o, crtend.o.
484 (DTOR): Likewise.
485 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
486 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
487 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
488 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
489 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
490 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
491 * scripttempl/mmo.sc (ctors, dtors): Likewise.
492 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
493
d4b6ee67
NC
4942003-04-09 Dmitry Diky <diwil@mail.ru>
495
496 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
497 sections to respect C++ constructor/destructor. Add ctors/dtors
498 start/stop definitions.
499 * scripttempl/elf32msp430_3.sc: Likewise.
500
bb10df36
NC
5012003-04-06 Nick Clifton <nickc@redhat.com>
502
503 * ld.texinfo (Options): Add a reminder of the target specific
504 nature to the description of the i386 PE specific options, for
505 readers who have not read all the way through the manual.
506
be33c5dd
SS
5072003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
508
9f863369 509 * configure.tgt: Fixed bug in list of targ_extra_emuls.
be33c5dd
SS
510 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
511 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
512 * emulparams/tic3xcoff_onchip.sh: Ditto
513 * emulparams/tic4xcoff.sh: Ditto
514 * scripttempl/tic4xcoff.sc: Ditto
515
e8fd7476
NC
5162003-04-03 Nick Clifton <nickc@redhat.com>
517
518 * NEWS: Mention support for Xtensa architecture.
519
2b817be1
NC
5202003-04-02 Nick Clifton <nickc@redhat.com>
521
522 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
523
5242003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
525
526 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
527 Don't call pe_dll_build_section() if link_info.relocateable.
528 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
529 if link_info.relocateable.
530
5312003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
532
533 * pe-dll.c (process_def_file): Don't create an export
534 section if there are no exports and we're building an exe
535 (pe_dll_build_sections): Ditto
536 (pe_dll_fill_sections): Conditionalize setting
537 abfd->dll true on info->shared
538 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
539 If i386pe or armpe, call pe_dll_build_section()
540 for both exe's and dll's, not just dll's.
541 (gld_${EMULATION_NAME}_finish): For all targets except
542 shpe and mipspe, call pe_dll_fill_sections() for both
543 exe's and dll's, not just dll's.
544
f6c8b716
BW
5452003-04-02 Bob Wilson <bob.wilson@acm.org>
546
547 * emulparams/xtensa-config.sh: Remove comment indicating that this is
548 a generated file.
549
e0001a05
NC
5502003-04-01 Bob Wilson <bob.wilson@acm.org>
551
877d60f7
AM
552 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
553 (eelf32xtensa.c): New target.
554 * Makefile.in: Regenerate.
555 * configure.tgt: Handle xtensa-*-*.
556 * gen-doc.texi: Set XTENSA variable.
557 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
558 * emulparams/elf32xtensa.sh: New file.
559 * emulparams/xtensa-config.sh: Likewise.
560 * emultempl/xtensaelf.em: Likewise.
561 * scripttempl/elfxtensa.sc: Likewise.
e0001a05 562
276e5094
JJ
5632003-04-01 Jakub Jelinek <jakub@redhat.com>
564
565 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
566 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
567 if --enable-64-bit-bfd.
568
5a6c6817
NC
5692003-04-01 Nick Clifton <nickc@redhat.com>
570
394ce546 571 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
5a6c6817 572 note section.
394ce546 573 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
5a6c6817
NC
574 name of note section.
575
a6e02871
AO
5762003-03-31 Alexandre Oliva <aoliva@redhat.com>
577
578 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
579 --section-start.
580
5ed6aba4
NC
5812003-03-31 David Heine <dlheine@suif.stanford.edu>
582
583 * ldfile.c (ldfile_add_library_path): Always allocate space for
584 the filename.
585 * ldlang.c (lang_register_vers_node): Free the node if it cannot
586 be used.
587 * ldmain.c (set_scripts_dir): Always free the constructed
588 directory name.
589 (add_keepsyms_file): Fix memory leak.
590 * ldmisc.c (vfinfo): Likewise.
877d60f7 591 * lexsup.c (parse_args): Likewise.
5ed6aba4 592
e16bb312
NC
5932003-03-25 Stan Cox <scox@redhat.com>
594 Nick Clifton <nickc@redhat.com>
877d60f7 595
6bc8652b 596 Contribute support for Intel's iWMMXt chip - an ARM variant:
e16bb312
NC
597
598 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
599 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
600 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
601 (.bss): Likewise.
602
3fe38064
NC
6032003-03-25 Alexandre Oliva <aoliva@redhat.com>
604
605 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
606 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
607 (main): Initialize them.
608 * ldfile.c: Include pathnames.h.
609 (is_sysrooted_pathname): New.
610 (ldfile_add_library_path): Use it.
611 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
612 search_dirs if given an absolute pathname.
613 (ldfile_open_file): Issue error message for sysrooted
614 absolute pathnames.
615 * Makefile.am: Updated dependencies.
616 * Makefile.in: Rebuild.
617