* ld-mips-elf/elf-rel-got-n64-linux.d: New file.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1579bae1
AM
12003-06-28 Alan Modra <amodra@bigpond.net.au>
2
3 * ld.h: Convert to C90, remove unnecessary prototypes and casts.
4 Replace PTR with void *. Formatting.
5 * ldcref.c: Likewise.
6 * ldctor.c: Likewise.
7 * ldctor.h: Likewise.
8 * ldemul.h: Likewise.
9 * ldexp.c: Likewise.
10 * ldexp.h: Likewise.
11 * ldfile.c: Likewise.
12 * ldfile.h: Likewise.
13 * ldlang.c: Likewise.
14 * ldlang.h: Likewise.
15 * ldlex.h: Likewise.
16 * ldlex.l: Likewise.
17 * ldmain.c: Likewise.
18 * ldmain.h: Likewise.
19 * ldmisc.c: Likewise.
20 * ldmisc.h: Likewise.
21 * ldver.h: Likewise.
22 * ldwrite.c: Likewise.
23 * ldwrite.h: Likewise.
24 * lexsup.c: Likewise.
25 * mri.c: Likewise.
26 * mri.h: Likewise.
27 * pe-dll.c: Likewise.
28 * pe-dll.h: Likewise.
29 * deffilep.y: Likewise.
30 * deffile.h: Likewise. Don't include ansidecl.h.
31 * emulparams/elf32mcore.sh: Remove unnecessary cast.
32 * emultempl/m68kcoff.em: Likewise.
33 * emultempl/m68kelf.em: Likewise.
34 * emultempl/ticoff.em: Remove lang_add_output_format declaration.
35 * sysdep.h: Don't include ansidecl.h.
36 * Makefile.am: Run "make dep-am".
37 * Makefile.in: Regenerate.
38
dc17f155
NC
392003-06-27 Nick Clifton <nickc@redhat.com>
40
41 * deffilep.y (def_file_add_directive): Cope with NUL seperated
42 directives. Fix reporting of unparseable directives.
43 (def_error): Check for a NULL def_filename.
44
0c7a8e5a
AM
452003-06-27 Alan Modra <amodra@bigpond.net.au>
46
47 * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
48 and casts. Replace PTR with void *. Formatting.
1579bae1
AM
49 * emultempl/alphaelf.em: Likewise.
50 * emultempl/armcoff.em: Likewise.
51 * emultempl/armelf.em: Likewise.
52 * emultempl/armelf_oabi.em: Likewise.
53 * emultempl/beos.em: Likewise.
54 * emultempl/elf32.em: Likewise.
55 * emultempl/generic.em: Likewise.
56 * emultempl/gld960.em: Likewise.
57 * emultempl/gld960c.em: Likewise.
58 * emultempl/hppaelf.em: Likewise.
59 * emultempl/linux.em: Likewise.
60 * emultempl/lnk960.em: Likewise.
61 * emultempl/m68hc1xelf.em: Likewise.
62 * emultempl/m68kcoff.em: Likewise.
63 * emultempl/m68kelf.em: Likewise.
64 * emultempl/mipsecoff.em: Likewise.
65 * emultempl/mipself.em: Likewise.
66 * emultempl/mmix-elfnmmo.em: Likewise.
67 * emultempl/mmixelf.em: Likewise.
68 * emultempl/mmo.em: Likewise.
69 * emultempl/needrelax.em: Likewise.
70 * emultempl/netbsd.em: Likewise.
71 * emultempl/pe.em: Likewise.
72 * emultempl/sh64elf.em: Likewise.
73 * emultempl/sunos.em: Likewise.
74 * emultempl/ticoff.em: Likewise.
75 * emultempl/vanilla.em: Likewise.
76 * emultempl/xtensaelf.em: Likewise.
0c7a8e5a
AM
77 * Makefile.am: Correct dependencies.
78 * Makefile.in: Regenerate.
79
1049f94e
AM
802003-06-25 Alan Modra <amodra@bigpond.net.au>
81
82 * ld.texinfo: Correct spelling of "relocatable".
1579bae1
AM
83 * ldctor.c: Likewise.
84 * ldexp.c: Likewise.
85 * ldfile.c: Likewise.
86 * ldint.texinfo: Likewise.
87 * ldlang.c: Likewise.
88 * ldmain.c: Likewise.
89 * ldwrite.c: Likewise.
90 * lexsup.c: Likewise.
91 * emultempl/aix.em: Likewise.
92 * emultempl/alphaelf.em: Likewise.
93 * emultempl/armcoff.em: Likewise.
94 * emultempl/armelf_oabi.em: Likewise.
95 * emultempl/beos.em: Likewise.
96 * emultempl/elf32.em: Likewise.
97 * emultempl/generic.em: Likewise.
98 * emultempl/gld960.em: Likewise.
99 * emultempl/gld960c.em: Likewise.
100 * emultempl/hppaelf.em: Likewise.
101 * emultempl/linux.em: Likewise.
102 * emultempl/lnk960.em: Likewise.
103 * emultempl/m68hc1xelf.em: Likewise.
104 * emultempl/m68kcoff.em: Likewise.
105 * emultempl/m68kelf.em: Likewise.
106 * emultempl/mipsecoff.em: Likewise.
107 * emultempl/mipself.em: Likewise.
108 * emultempl/mmix-elfnmmo.em: Likewise.
109 * emultempl/mmo.em: Likewise.
110 * emultempl/needrelax.em: Likewise.
111 * emultempl/pe.em: Likewise.
112 * emultempl/ppc64elf.em: Likewise.
113 * emultempl/sh64elf.em: Likewise.
114 * emultempl/sunos.em: Likewise.
115 * emultempl/ticoff.em: Likewise.
116 * emultempl/xtensaelf.em: Likewise.
1049f94e 117
7e5d8d48
AM
1182003-06-24 Alan Modra <amodra@bigpond.net.au>
119
120 * emultempl/ppc32elf.em: Convert to C90.
121
7d8a3a28
AM
1222003-06-20 Alan Modra <amodra@bigpond.net.au>
123
124 * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
125 unnecessary prototypes and casts.
126
bda6c678
AM
1272003-06-19 Alan Modra <amodra@bigpond.net.au>
128
129 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
130 statistics from ppc64_elf_build_stubs.
131
6bc8652b
AM
1322003-06-19 Alan Modra <amodra@bigpond.net.au>
133
134 * emultempl/ppc64elf.em (build_section_lists): Check return status
135 from ppc64_elf_next_input_section.
136
f97b9cb8
L
1372003-06-17 H.J. Lu <hongjiu.lu@intel.com>
138
139 * ldlang.c (section_already_linked): Put back assignment of
140 kept_section.
141
fea39bcb
NC
1422003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
143
144 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
6bc8652b 145 reloc.
fea39bcb 146
40bdaaa8
NC
1472003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
148
149 * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
150 if not produced by gcc.
151
b826ae22
HPN
1522003-06-16 Hans-Peter Nilsson <hp@axis.com>
153
154 * configure.tgt: Add specific case for cris-*-linux-gnu*
155 with crislinux emulation only.
156
a06a29f2
NC
1572003-06-13 Robert Millan <zeratul2@wanadoo.es>
158
159 * configure.tgt: Add i386-netbsd-gnu target.
160
728fa2f6
RS
1612003-06-12 Richard Sandiford <rsandifo@redhat.com>
162
163 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
164 to $targ_extra_libpath.
165
3b443373
L
1662003-06-11 H.J. Lu <hongjiu.lu@intel.com>
167
168 * po/Make-in (DESTDIR): New.
169 (install-data-yes): Support $(DESTDIR).
170 (uninstall): Likewise.
171
cfa1ac0c
DE
1722003-06-10 Doug Evans <dje@sebabeach.org>
173
174 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
175 * Makefile.in: Regenerate.
176
f4984206
RS
1772003-06-10 Richard Sandiford <rsandifo@redhat.com>
178
179 * configure.tgt (h8300*): Add h8300sxn emulations.
180 * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
181 (eh8300sxn.c, eh8300sxnelf.c): New rules.
182 * Makefile.in: Regenerate.
183 * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
d1b2d571 184 * scripttempl/h8300sxn.sc: New file.
f4984206 185
285272bd
AM
1862003-06-10 Alan Modra <amodra@bigpond.net.au>
187
188 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
189 CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
190
0b9a4d73
AM
1912003-06-08 Alan Modra <amodra@bigpond.net.au>
192
193 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
194 (build_toc_list): New function.
195 (gld${EMULATION_NAME}_finish): Call build_toc_list and
196 ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
197 (OPTION_STUBSYMS): Define.
198 (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
199 (PARSE_AND_LIST_OPTIONS): Document.
200 (PARSE_AND_LIST_ARGS_CASES): Handle.
201
c16d554d
RM
2022003-06-05 Roland McGrath <roland@redhat.com>
203
204 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
205 extra \t in -z noexecstack line.
206
9ee5e499
JJ
2072003-05-23 Jakub Jelinek <jakub@redhat.com>
208
209 * ldgram.y (phdr_type): Grok PT_GNU_STACK.
210 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
211 -z execstack and -z noexecstack.
212 (gld${EMULATION_NAME}_list_options): Likewise.
213 * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
214
65982ba6 2152003-06-03 Michael Snyder <msnyder@redhat.com>
6bc8652b 216 and Bernd Schmidt <bernds@redhat.com>
65982ba6 217 and Alexandre Oliva <aoliva@redhat.com>
9ee5e499 218
65982ba6
MS
219 * Makefile.am: Add new emulations for h8300sx.
220 * Makefile.in: Regenerate.
221 * configure.tgt: Add new emulations.
222 * emulparams/h8300sx.sh: New emulation.
223 * emulparams/h8300sxelf.sh: Ditto.
224 * scripttempl/h8300sx.sc: Ditto.
225
6f6f27f8
L
2262003-06-03 H.J. Lu <hongjiu.lu@intel.com>
227
228 * ldmisc.c: Include "bfdlink.h".
229 (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
230 and -LD_DEFINITION_IN_DISCARDED_SECTION.
231
232 * Makefile.am: Rebuild dependency.
233 * Makefile.in: Regenerated.
234
308f753f
KK
2352003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
236
237 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
238 * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
239
03a1c9a7
NC
2402003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
241
242 * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
243 sorted alphabetically, instead of exported_symbols, which is
244 sorted by ordinal.
245
36af4a4e
JJ
2462003-05-30 Ulrich Drepper <drepper@redhat.com>
247 Jakub Jelinek <jakub@redhat.com>
248
249 * lexsup.c (OPTION_PIE): Define.
250 (ld_options): Add -pie and --pic-executable options.
251 (parse_args): Handle OPTION_PIE.
252 * ldmain.c (main): Initialize link_info.pie and
253 link_info.executable.
254 * genscripts.sh: Generate PIE scripts.
255 * ld.texinfo: Document -pie and --pic-executable options.
256 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
257 (gld${EMULATION_NAME}_place_orphan): Likewise.
258 (gld${EMULATION_NAME}_get_script): Include PIE scripts.
259 * scripttempl/elf.sc: In PIE scripts set . the same way as in
260 shared scripts.
261 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
262 * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
263 * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
264 * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
265 * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
266 * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
267 * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
268 * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
269 * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
270 * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
271 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
272
cdaeef2e
L
2732003-05-30 H.J. Lu <hongjiu.lu@intel.com>
274
275 * genscripts.sh: Create tmpdir/libpath.exp.
276
06aa7234
NC
2772003-05-30 Nick Clifton <nickc@redhat.com>
278
279 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
280 with a test for a NULL bfd_for_interworking.
281
561c27b2
JT
2822003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
283
284 * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
285 correctly for more recent versions of NetBSD.
286 (alpha*-*-netbsd*): Remove.
287 (i[3-7]86-*-netbsd*): Remove.
288
29e1a6e4
NC
2892003-05-29 Nick Clifton <nickc@redhat.com>
290
291 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
292
90be1c5c
MR
2932003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
294
295 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
296 trap on pointer crops.
297
cea3d58d
NC
2982003-05-21 Marcus Comstedt <marcus@mc.pp.se>
299
300 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
301 as well as shle-...-netbsdelf.
302
80c7c40a
NC
3032003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
304
305 * configure.host: Accept i[3-7]86 variants.
306 * configure.tgt: Likewise.
307
a6c0916f
L
3082003-05-15 H.J. Lu <hongjiu.lu@intel.com>
309
310 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
311
d2012d17
DJ
3122003-05-09 Daniel Jacobowitz <drow@mvista.com>
313
314 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
315 (earmelfb.c, earmelfb_linux.c): New rules.
316 * Makefile.in: Regenerated.
317 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
df9a14a1 318 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
d2012d17 319
3cd9fdd5 3202003-05-09 Nick Clifton <nickc@redhat.com>
c16d554d 321
66184979
NC
322 * ldlang.c (lang_size_sections_1): Default to generating a
323 fatal error message if a loadable section is not allocated
324 to a memory region when regions are defined.
325
efdffbe2
AM
3262003-05-09 Alan Modra <amodra@bigpond.net.au>
327
328 * Makefile.am (em68hc11elf.c): Correct dependencies.
329 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
330 * Makefile.in: Regenerate.
331 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
332 bfd_elf_record_link_assignment name.
333
8aae64e6
AO
3342003-05-07 Alexandre Oliva <aoliva@redhat.com>
335
336 * ldmain.h (overflow_cutoff_limit): Declare.
337 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
338 (reloc_overflow): Limit error messages based on it.
339 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
340 unlimited.
341
5c7966bf
AM
3422003-05-05 Alan Modra <amodra@bigpond.net.au>
343
344 * ldlex.l: Accept C style comments in version scripts.
345
c7996ad6
L
3462003-04-28 H.J. Lu <hjl@gnu.org>
347
348 * ldlang.c (lang_process): Add the relax finalize pass.
349
350 * ldmain.c (main): Initialize link_info.relax_finalizing to
351 FALSE.
352
d145330d
RM
3532003-04-24 Roland McGrath <roland@redhat.com>
354
355 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
356 If a name string is unknown, give an error rather than crashing later.
357
3582003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
359
360 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
8d9cd6b1
NC
361 eh8300hnelf.o, eh8300snelf.o and respective rules.
362 * Makefile.in: Regenerate.
363 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
364 * emulparams/h8300hn.sh: New
365 * emulparams/h8300sn.sh: New
d145330d 366 * emulparams/h8300hnelf.sh: New
8d9cd6b1
NC
367 * emulparams/h8300snelf.sh: New
368 * scripttempl/h8300hn.sc: new
369 * scripttempl/h8300sn.sc: new
370
0f0569c4
L
3712003-04-23 H.J. Lu <hjl@gnu.org>
372
373 * ldmain.c (link_callbacks): Initialize error_handler.
374
375 * ldmisc.c (error_handler): New function.
376
377 * ldmisc.h (error_handler): New prototype.
378
e2cebd4b
SC
3792003-04-21 Stephane Carrez <stcarrez@nerim.fr>
380
381 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
382 * emulparams/m68hc11elfb.sh: Likewise.
383 * emulparams/m68hc12elf.sh: Likewise.
384 * emulparams/m68hc12elfb.sh: Likewise.
385
67bb9940
SC
3862003-04-19 Stephane Carrez <stcarrez@nerim.fr>
387
388 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
389 68HC11 and 68HC12.
390 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
391 generate.
392 (LDEMUL_FINISH): Override to generate the trampolines after gc and
393 linker relaxation.
394 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
395 stub file for trampolines.
396 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
397 --no-trampoline and --bank-window to control the memory bank window.
398
97b51f20
L
3992003-04-18 H.J. Lu <hjl@gnu.org>
400
401 * ldfile.c (ldfile_add_library_path): Remove the unused
402 variable.
403
517ed485
NC
4042003-04-18 Andrew Haley <aph@cambridge.redhat.com>
405
406 * scripttempl/xstormy16.sc (__data, __rdata): New.
407
39f1ebed
NC
4082003-04-16 Nick Clifton <nickc@redhat.com>
409
410 * scripttempl/xstormy16.sc: Add .jcr section mapping.
411
731e28d8
L
4122003-04-15 H.J. Lu <hjl@gnu.org>
413
414 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
415
416 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
417
c2dcd04e
NC
4182003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
419
420 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
421 * ld.texinfo: Likewise.
422
877d60f7
AM
4232003-04-14 Alan Modra <amodra@bigpond.net.au>
424
425 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
426 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
427 other variants of crtbegin.o, crtend.o.
428 (DTOR): Likewise.
429 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
430 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
431 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
432 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
433 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
434 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
435 * scripttempl/mmo.sc (ctors, dtors): Likewise.
436 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
437
d4b6ee67
NC
4382003-04-09 Dmitry Diky <diwil@mail.ru>
439
440 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
441 sections to respect C++ constructor/destructor. Add ctors/dtors
442 start/stop definitions.
443 * scripttempl/elf32msp430_3.sc: Likewise.
444
bb10df36
NC
4452003-04-06 Nick Clifton <nickc@redhat.com>
446
447 * ld.texinfo (Options): Add a reminder of the target specific
448 nature to the description of the i386 PE specific options, for
449 readers who have not read all the way through the manual.
450
be33c5dd
SS
4512003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
452
9f863369 453 * configure.tgt: Fixed bug in list of targ_extra_emuls.
be33c5dd
SS
454 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
455 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
456 * emulparams/tic3xcoff_onchip.sh: Ditto
457 * emulparams/tic4xcoff.sh: Ditto
458 * scripttempl/tic4xcoff.sc: Ditto
459
e8fd7476
NC
4602003-04-03 Nick Clifton <nickc@redhat.com>
461
462 * NEWS: Mention support for Xtensa architecture.
463
2b817be1
NC
4642003-04-02 Nick Clifton <nickc@redhat.com>
465
466 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
467
4682003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
469
470 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
471 Don't call pe_dll_build_section() if link_info.relocateable.
472 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
473 if link_info.relocateable.
474
4752003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
476
477 * pe-dll.c (process_def_file): Don't create an export
478 section if there are no exports and we're building an exe
479 (pe_dll_build_sections): Ditto
480 (pe_dll_fill_sections): Conditionalize setting
481 abfd->dll true on info->shared
482 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
483 If i386pe or armpe, call pe_dll_build_section()
484 for both exe's and dll's, not just dll's.
485 (gld_${EMULATION_NAME}_finish): For all targets except
486 shpe and mipspe, call pe_dll_fill_sections() for both
487 exe's and dll's, not just dll's.
488
f6c8b716
BW
4892003-04-02 Bob Wilson <bob.wilson@acm.org>
490
491 * emulparams/xtensa-config.sh: Remove comment indicating that this is
492 a generated file.
493
e0001a05
NC
4942003-04-01 Bob Wilson <bob.wilson@acm.org>
495
877d60f7
AM
496 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
497 (eelf32xtensa.c): New target.
498 * Makefile.in: Regenerate.
499 * configure.tgt: Handle xtensa-*-*.
500 * gen-doc.texi: Set XTENSA variable.
501 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
502 * emulparams/elf32xtensa.sh: New file.
503 * emulparams/xtensa-config.sh: Likewise.
504 * emultempl/xtensaelf.em: Likewise.
505 * scripttempl/elfxtensa.sc: Likewise.
e0001a05 506
276e5094
JJ
5072003-04-01 Jakub Jelinek <jakub@redhat.com>
508
509 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
510 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
511 if --enable-64-bit-bfd.
512
5a6c6817
NC
5132003-04-01 Nick Clifton <nickc@redhat.com>
514
394ce546 515 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
5a6c6817 516 note section.
394ce546 517 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
5a6c6817
NC
518 name of note section.
519
a6e02871
AO
5202003-03-31 Alexandre Oliva <aoliva@redhat.com>
521
522 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
523 --section-start.
524
5ed6aba4
NC
5252003-03-31 David Heine <dlheine@suif.stanford.edu>
526
527 * ldfile.c (ldfile_add_library_path): Always allocate space for
528 the filename.
529 * ldlang.c (lang_register_vers_node): Free the node if it cannot
530 be used.
531 * ldmain.c (set_scripts_dir): Always free the constructed
532 directory name.
533 (add_keepsyms_file): Fix memory leak.
534 * ldmisc.c (vfinfo): Likewise.
877d60f7 535 * lexsup.c (parse_args): Likewise.
5ed6aba4 536
e16bb312
NC
5372003-03-25 Stan Cox <scox@redhat.com>
538 Nick Clifton <nickc@redhat.com>
877d60f7 539
6bc8652b 540 Contribute support for Intel's iWMMXt chip - an ARM variant:
e16bb312
NC
541
542 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
543 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
544 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
545 (.bss): Likewise.
546
3fe38064
NC
5472003-03-25 Alexandre Oliva <aoliva@redhat.com>
548
549 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
550 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
551 (main): Initialize them.
552 * ldfile.c: Include pathnames.h.
553 (is_sysrooted_pathname): New.
554 (ldfile_add_library_path): Use it.
555 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
556 search_dirs if given an absolute pathname.
557 (ldfile_open_file): Issue error message for sysrooted
558 absolute pathnames.
559 * Makefile.am: Updated dependencies.
560 * Makefile.in: Rebuild.
561