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