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