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