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