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