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