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