[ bfd/ChangeLog ]
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
5f74bc13
CD
12003-09-30 Chris Demetriou <cgd@broadcom.com>
2
3 * ldmain.c (get_emulation): Ignore "-mips64r2".
4
13dfd2d0
NC
52003-09-03 Robert Millan <robertmh@gnu.org>
6
7 * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
8 triplet.
9 * configure.tgt: Likewise.
10
71df864f
AM
112003-08-29 Jafa <jafa@silicondust.com>
12
13 * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
14
3673a93e
NC
152003-08-21 Nick Clifton <nickc@redhat.com>
16
17 * po/tr.po: Updated Turkish translation.
18
560e09e9
NC
192003-08-20 Nick Clifton <nickc@redhat.com>
20
21 * ldmain.c: Initialise the new fields in bfd_link_info to
22 NOT_YET_SET.
23 * lexsup.c (enum option_values): New enum. Use this to
24 replace the handed coded values for the long switch options.
25 (ld_options): Add 'unresolved-symbols',
26 'warn-unresolved-symbols' and 'error-unresolved-symbols'.
27 (parse_args): Handle the new switches. Set the values of
28 unresolved_symbols_in_objects and
29 unresolved_symbols_in_shared_libs appropriately. If they were
30 not initialised by the command line, install default values.
31 * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
32 -z defs to use the new fields in bfd_link_info.
33 * ld.texinfo: Document the new switches.
34 * NEWS: Mention this feature.
35
aafdb207
NC
362003-08-15 Dmitry Diky <diwil@mail.ru>
37
38 * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
39 calls genscripts_extra.sh.
40 Rearrange all msp430 depends using this script.
41 * Makefile.in: Regenerate.
42 * genscripts_extra.sh: New file: Similar to genscripts.sh, except
43 that the script to be run to generate the emulations can be passed
44 as an optional parameter instead of being computed from the
45 emulation name.
46 * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
47 definitions into one file.
48 * emulparams/msp430x*.sh: Removed.
49
cd6d6c15
NC
502003-08-15 Nick Clifton <nickc@redhat.com>
51
52 * ld.texinfo (Options): Put keywords for the -z option into a
53 table. Add more text describing what the -z now option does.
54
68cdbb4a
AM
552003-08-14 Alan Modra <amodra@bigpond.net.au>
56
57 * dep-in.sed: Remove libintl.h.
58 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
59 * Makefile.in: Regenerate.
60
f22f5fcd
AM
612003-08-13 Alan Modra <amodra@bigpond.net.au>
62
63 * genscripts.sh (libpath.exp): Only generate for first emulation.
64 (LIB_PATH): Correct order of paths. Don't add $tool_lib when
65 already present or when LIB_PATH is set to ":".
66
0b28295d
ILT
672003-08-12 Ian Lance Taylor <ian@airs.com>
68
69 * ldmain.c (undefined_symbol): Change parameter name from `fatal'
70 to `error'. If only a warning, put warning in the reported
71 string. Consistently set failure flag when not a warning.
72
3b260895
NC
732003-08-08 Dmitry Diky <diwil@mail.ru>
74
75 * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
76 gcc order.
77 * Makefile.in: Regenerate.
78 * configure.tgt: Add extra emulations.
79 * emulparams/msp430xE423.sh: New file.
80 * emulparams/msp430xE427.sh: New file.
81 * emulparams/msp430xW425.sh: New file.
82 * emulparams/msp430xE425.sh: New file.
83 * emulparams/msp430xW423.sh: New file.
84 * emulparams/msp430xW427.sh: New file.
85
1fa1d2cd
DS
862003-08-07 Danny Smith <dannysmith@users.sourceforge.net>
87
88 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
89 Change second (cmdline) arg to lang_add_entry to FALSE.
90 (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
91
9d7e2ba5
JE
922003-08-05 Christian Groessler <chris@groessler.org>
93 Jason Eckhardt <jle@rice.edu>
94
95 * configure.tgt: Recognize new target i860-*-coff.
96 * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
97 (ecoff_i860.c): New rule.
98 * emulparams/coff_i860.sh: New file.
99 * scripttempl/i860coff.sc: New file.
100 * Makefile.in: Regenerate.
101
8c675694
NC
1022003-08-04 Nick Clifton <nickc@redhat.com>
103
104 * emultempl/elf32.em (before_allocation): Prepend "warning: "
105 to messages produced for .gnu.warning.SYMBOL sections.
106
2a36a117
AM
1072003-08-04 Alan Modra <amodra@bigpond.net.au>
108
109 * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
110 .rel.dyn before other reloc sections. Don't stop looking for reloc
111 sections on finding one that isn't allocated. Match .rel even when
112 placing .rela and vice versa, when setting last_rel and
113 last_rel_alloc for the first time. If no reloc sections in script,
114 prefer allocated section over non-alloc.
115 (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
116
8a1cb159
KK
1172003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
118
119 * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
120 section for shared library.
121 * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
122 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
123
83a27a96
SC
1242003-07-29 Stephane Carrez <stcarrez@nerim.fr>
125
126 * scripttempl/elfm68hc12.sc: Add gcc_except_table.
127 * scripttempl/elfm68hc11.sc: Likewise.
128
c86b6a7b
AM
1292003-07-28 Alan Modra <amodra@bigpond.net.au>
130
f37f3db7
AM
131 * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
132
c86b6a7b
AM
133 * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
134
7e7d5768
AM
1352003-07-27 Alan Modra <amodra@bigpond.net.au>
136
137 * ld.texinfo: Typo fixes. Document SUBALIGN.
138 * ldgram.y (opt_subalign): Add.
139 * ldlex.l (SUBALIGN): Recognize.
140 * ldlang.c (overlay_subalign): New var.
141 (lang_enter_overlay): Add subalign param.
142 (lang_enter_overlay_section): Pass overlay_subalign to
143 lang_enter_output_section_statement.
144 * ldlang.h (lang_enter_overlay): Update.
145
834d807b
NC
1462003-07-24 Nick Clifton <nickc@redhat.com>
147
148 * po/fr.po: Updated French translation.
149
494fee87
SC
1502003-07-23 Stephane Carrez <stcarrez@nerim.fr>
151
152 * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
153 account .tramp sections;
154 * scripttempl/elfm68hc12.sc: Likewise.
155
602d6c6f
NC
1562003-07-17 Charles Wilson <cwilson@ece.gatech.edu>
157
158 * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
159
6c37ac4d
NC
1602003-07-17 Nick Clifton <nickc@redhat.com>
161
162 * po/es.po: New Spanish translation.
163
fce00800
AM
1642003-07-11 Alan Modra <amodra@bigpond.net.au>
165
166 * po/ld.pot: Regenerate.
167
e901de89
BW
1682003-07-10 Bob Wilson <bob.wilson@acm.org>
169
170 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
171 with new .got.loc section.
172 (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
173 non-relocating links.
174 (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce
175 sections separate for non-relocating links; likewise for .xt.insn.
176
4a096548
AO
1772003-07-10 Alexandre Oliva <aoliva@redhat.com>
178
179 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
180 * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
181 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
182 * configure.host (am33_2.0-*-linux*): Added.
183 * configure.tgt (am33_2.0-*-linux*): Likewise.
184 * emulparams/elf32am33lin.sh: New.
185 * Makefile.am (eelf32am33lin.c): New rule.
186 * Makefile.in: Rebuilt.
187
892bb326
AO
1882003-07-09 Alexandre Oliva <aoliva@redhat.com>
189
190 2001-04-17 Alexandre Oliva <aoliva@redhat.com>
191 * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
192 (GENERATE_SHLIB_SCRIPT): Likewise.
193
68f8ff14
AM
1942003-07-10 Alan Modra <amodra@bigpond.net.au>
195
196 * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
197 (GOT): Define.
198 * emultempl/ppc64elf.em (stub_added): New static var.
199 (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
200 (ppc_add_stub_section): Set stub_added.
201 (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
202 ppc64_elf_size_stubs call and test for stubs.
203 * scripttempl/elf.sc (GOT): Define and use.
204
fb319d8d
JR
2052003-07-08 J"orn Rennecke <joern.rennecke@superh.com>
206
207 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
208 Allow second call from ldemul_finish.
209
3a51fda6
JR
2102003-07-04 J"orn Rennecke <joern.rennecke@superh.com>
211
212 * emulparams/shelf32.sh (STACK_ADDR): Don't define.
213 (OTHER_SECTIONS): Include .stack.
214 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
215
9203ba99
JJ
2162003-07-02 Jakub Jelinek <jakub@redhat.com>
217
218 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
219 .opd if -pie.
220 (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
221 * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
222 if -pie.
223
1579bae1
AM
2242003-06-28 Alan Modra <amodra@bigpond.net.au>
225
226 * ld.h: Convert to C90, remove unnecessary prototypes and casts.
227 Replace PTR with void *. Formatting.
228 * ldcref.c: Likewise.
229 * ldctor.c: Likewise.
230 * ldctor.h: Likewise.
231 * ldemul.h: Likewise.
232 * ldexp.c: Likewise.
233 * ldexp.h: Likewise.
234 * ldfile.c: Likewise.
235 * ldfile.h: Likewise.
236 * ldlang.c: Likewise.
237 * ldlang.h: Likewise.
238 * ldlex.h: Likewise.
239 * ldlex.l: Likewise.
240 * ldmain.c: Likewise.
241 * ldmain.h: Likewise.
242 * ldmisc.c: Likewise.
243 * ldmisc.h: Likewise.
244 * ldver.h: Likewise.
245 * ldwrite.c: Likewise.
246 * ldwrite.h: Likewise.
247 * lexsup.c: Likewise.
248 * mri.c: Likewise.
249 * mri.h: Likewise.
250 * pe-dll.c: Likewise.
251 * pe-dll.h: Likewise.
252 * deffilep.y: Likewise.
253 * deffile.h: Likewise. Don't include ansidecl.h.
254 * emulparams/elf32mcore.sh: Remove unnecessary cast.
255 * emultempl/m68kcoff.em: Likewise.
256 * emultempl/m68kelf.em: Likewise.
257 * emultempl/ticoff.em: Remove lang_add_output_format declaration.
258 * sysdep.h: Don't include ansidecl.h.
259 * Makefile.am: Run "make dep-am".
260 * Makefile.in: Regenerate.
261
dc17f155
NC
2622003-06-27 Nick Clifton <nickc@redhat.com>
263
264 * deffilep.y (def_file_add_directive): Cope with NUL seperated
265 directives. Fix reporting of unparseable directives.
266 (def_error): Check for a NULL def_filename.
267
0c7a8e5a
AM
2682003-06-27 Alan Modra <amodra@bigpond.net.au>
269
270 * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
271 and casts. Replace PTR with void *. Formatting.
1579bae1
AM
272 * emultempl/alphaelf.em: Likewise.
273 * emultempl/armcoff.em: Likewise.
274 * emultempl/armelf.em: Likewise.
275 * emultempl/armelf_oabi.em: Likewise.
276 * emultempl/beos.em: Likewise.
277 * emultempl/elf32.em: Likewise.
278 * emultempl/generic.em: Likewise.
279 * emultempl/gld960.em: Likewise.
280 * emultempl/gld960c.em: Likewise.
281 * emultempl/hppaelf.em: Likewise.
282 * emultempl/linux.em: Likewise.
283 * emultempl/lnk960.em: Likewise.
284 * emultempl/m68hc1xelf.em: Likewise.
285 * emultempl/m68kcoff.em: Likewise.
286 * emultempl/m68kelf.em: Likewise.
287 * emultempl/mipsecoff.em: Likewise.
288 * emultempl/mipself.em: Likewise.
289 * emultempl/mmix-elfnmmo.em: Likewise.
290 * emultempl/mmixelf.em: Likewise.
291 * emultempl/mmo.em: Likewise.
292 * emultempl/needrelax.em: Likewise.
293 * emultempl/netbsd.em: Likewise.
294 * emultempl/pe.em: Likewise.
295 * emultempl/sh64elf.em: Likewise.
296 * emultempl/sunos.em: Likewise.
297 * emultempl/ticoff.em: Likewise.
298 * emultempl/vanilla.em: Likewise.
299 * emultempl/xtensaelf.em: Likewise.
0c7a8e5a
AM
300 * Makefile.am: Correct dependencies.
301 * Makefile.in: Regenerate.
302
1049f94e
AM
3032003-06-25 Alan Modra <amodra@bigpond.net.au>
304
305 * ld.texinfo: Correct spelling of "relocatable".
1579bae1
AM
306 * ldctor.c: Likewise.
307 * ldexp.c: Likewise.
308 * ldfile.c: Likewise.
309 * ldint.texinfo: Likewise.
310 * ldlang.c: Likewise.
311 * ldmain.c: Likewise.
312 * ldwrite.c: Likewise.
313 * lexsup.c: Likewise.
314 * emultempl/aix.em: Likewise.
315 * emultempl/alphaelf.em: Likewise.
316 * emultempl/armcoff.em: Likewise.
317 * emultempl/armelf_oabi.em: Likewise.
318 * emultempl/beos.em: Likewise.
319 * emultempl/elf32.em: Likewise.
320 * emultempl/generic.em: Likewise.
321 * emultempl/gld960.em: Likewise.
322 * emultempl/gld960c.em: Likewise.
323 * emultempl/hppaelf.em: Likewise.
324 * emultempl/linux.em: Likewise.
325 * emultempl/lnk960.em: Likewise.
326 * emultempl/m68hc1xelf.em: Likewise.
327 * emultempl/m68kcoff.em: Likewise.
328 * emultempl/m68kelf.em: Likewise.
329 * emultempl/mipsecoff.em: Likewise.
330 * emultempl/mipself.em: Likewise.
331 * emultempl/mmix-elfnmmo.em: Likewise.
332 * emultempl/mmo.em: Likewise.
333 * emultempl/needrelax.em: Likewise.
334 * emultempl/pe.em: Likewise.
335 * emultempl/ppc64elf.em: Likewise.
336 * emultempl/sh64elf.em: Likewise.
337 * emultempl/sunos.em: Likewise.
338 * emultempl/ticoff.em: Likewise.
339 * emultempl/xtensaelf.em: Likewise.
1049f94e 340
7e5d8d48
AM
3412003-06-24 Alan Modra <amodra@bigpond.net.au>
342
343 * emultempl/ppc32elf.em: Convert to C90.
344
7d8a3a28
AM
3452003-06-20 Alan Modra <amodra@bigpond.net.au>
346
347 * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
348 unnecessary prototypes and casts.
349
bda6c678
AM
3502003-06-19 Alan Modra <amodra@bigpond.net.au>
351
352 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
353 statistics from ppc64_elf_build_stubs.
354
6bc8652b
AM
3552003-06-19 Alan Modra <amodra@bigpond.net.au>
356
357 * emultempl/ppc64elf.em (build_section_lists): Check return status
358 from ppc64_elf_next_input_section.
359
f97b9cb8
L
3602003-06-17 H.J. Lu <hongjiu.lu@intel.com>
361
362 * ldlang.c (section_already_linked): Put back assignment of
363 kept_section.
364
fea39bcb
NC
3652003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
366
367 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
6bc8652b 368 reloc.
fea39bcb 369
40bdaaa8
NC
3702003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
371
372 * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
373 if not produced by gcc.
374
b826ae22
HPN
3752003-06-16 Hans-Peter Nilsson <hp@axis.com>
376
377 * configure.tgt: Add specific case for cris-*-linux-gnu*
378 with crislinux emulation only.
379
a06a29f2
NC
3802003-06-13 Robert Millan <zeratul2@wanadoo.es>
381
382 * configure.tgt: Add i386-netbsd-gnu target.
383
728fa2f6
RS
3842003-06-12 Richard Sandiford <rsandifo@redhat.com>
385
386 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
387 to $targ_extra_libpath.
388
3b443373
L
3892003-06-11 H.J. Lu <hongjiu.lu@intel.com>
390
391 * po/Make-in (DESTDIR): New.
392 (install-data-yes): Support $(DESTDIR).
393 (uninstall): Likewise.
394
cfa1ac0c
DE
3952003-06-10 Doug Evans <dje@sebabeach.org>
396
397 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
398 * Makefile.in: Regenerate.
399
f4984206
RS
4002003-06-10 Richard Sandiford <rsandifo@redhat.com>
401
402 * configure.tgt (h8300*): Add h8300sxn emulations.
403 * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
404 (eh8300sxn.c, eh8300sxnelf.c): New rules.
405 * Makefile.in: Regenerate.
406 * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
d1b2d571 407 * scripttempl/h8300sxn.sc: New file.
f4984206 408
285272bd
AM
4092003-06-10 Alan Modra <amodra@bigpond.net.au>
410
411 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
412 CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
413
0b9a4d73
AM
4142003-06-08 Alan Modra <amodra@bigpond.net.au>
415
416 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
417 (build_toc_list): New function.
418 (gld${EMULATION_NAME}_finish): Call build_toc_list and
419 ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
420 (OPTION_STUBSYMS): Define.
421 (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
422 (PARSE_AND_LIST_OPTIONS): Document.
423 (PARSE_AND_LIST_ARGS_CASES): Handle.
424
c16d554d
RM
4252003-06-05 Roland McGrath <roland@redhat.com>
426
427 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
428 extra \t in -z noexecstack line.
429
9ee5e499
JJ
4302003-05-23 Jakub Jelinek <jakub@redhat.com>
431
432 * ldgram.y (phdr_type): Grok PT_GNU_STACK.
433 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
434 -z execstack and -z noexecstack.
435 (gld${EMULATION_NAME}_list_options): Likewise.
436 * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
437
65982ba6 4382003-06-03 Michael Snyder <msnyder@redhat.com>
6bc8652b 439 and Bernd Schmidt <bernds@redhat.com>
65982ba6 440 and Alexandre Oliva <aoliva@redhat.com>
9ee5e499 441
65982ba6
MS
442 * Makefile.am: Add new emulations for h8300sx.
443 * Makefile.in: Regenerate.
444 * configure.tgt: Add new emulations.
445 * emulparams/h8300sx.sh: New emulation.
446 * emulparams/h8300sxelf.sh: Ditto.
447 * scripttempl/h8300sx.sc: Ditto.
448
6f6f27f8
L
4492003-06-03 H.J. Lu <hongjiu.lu@intel.com>
450
451 * ldmisc.c: Include "bfdlink.h".
452 (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
453 and -LD_DEFINITION_IN_DISCARDED_SECTION.
454
455 * Makefile.am: Rebuild dependency.
456 * Makefile.in: Regenerated.
457
308f753f
KK
4582003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
459
460 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
461 * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
462
03a1c9a7
NC
4632003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
464
465 * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
466 sorted alphabetically, instead of exported_symbols, which is
467 sorted by ordinal.
468
36af4a4e
JJ
4692003-05-30 Ulrich Drepper <drepper@redhat.com>
470 Jakub Jelinek <jakub@redhat.com>
471
472 * lexsup.c (OPTION_PIE): Define.
473 (ld_options): Add -pie and --pic-executable options.
474 (parse_args): Handle OPTION_PIE.
475 * ldmain.c (main): Initialize link_info.pie and
476 link_info.executable.
477 * genscripts.sh: Generate PIE scripts.
478 * ld.texinfo: Document -pie and --pic-executable options.
479 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
480 (gld${EMULATION_NAME}_place_orphan): Likewise.
481 (gld${EMULATION_NAME}_get_script): Include PIE scripts.
482 * scripttempl/elf.sc: In PIE scripts set . the same way as in
483 shared scripts.
484 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
485 * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
486 * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
487 * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
488 * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
489 * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
490 * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
491 * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
492 * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
493 * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
494 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
495
cdaeef2e
L
4962003-05-30 H.J. Lu <hongjiu.lu@intel.com>
497
498 * genscripts.sh: Create tmpdir/libpath.exp.
499
06aa7234
NC
5002003-05-30 Nick Clifton <nickc@redhat.com>
501
502 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
503 with a test for a NULL bfd_for_interworking.
504
561c27b2
JT
5052003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
506
507 * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
508 correctly for more recent versions of NetBSD.
509 (alpha*-*-netbsd*): Remove.
510 (i[3-7]86-*-netbsd*): Remove.
511
29e1a6e4
NC
5122003-05-29 Nick Clifton <nickc@redhat.com>
513
514 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
515
90be1c5c
MR
5162003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
517
518 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
519 trap on pointer crops.
520
cea3d58d
NC
5212003-05-21 Marcus Comstedt <marcus@mc.pp.se>
522
523 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
524 as well as shle-...-netbsdelf.
525
80c7c40a
NC
5262003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
527
528 * configure.host: Accept i[3-7]86 variants.
529 * configure.tgt: Likewise.
530
a6c0916f
L
5312003-05-15 H.J. Lu <hongjiu.lu@intel.com>
532
533 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
534
d2012d17
DJ
5352003-05-09 Daniel Jacobowitz <drow@mvista.com>
536
537 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
538 (earmelfb.c, earmelfb_linux.c): New rules.
539 * Makefile.in: Regenerated.
540 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
df9a14a1 541 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
d2012d17 542
3cd9fdd5 5432003-05-09 Nick Clifton <nickc@redhat.com>
c16d554d 544
66184979
NC
545 * ldlang.c (lang_size_sections_1): Default to generating a
546 fatal error message if a loadable section is not allocated
547 to a memory region when regions are defined.
548
efdffbe2
AM
5492003-05-09 Alan Modra <amodra@bigpond.net.au>
550
551 * Makefile.am (em68hc11elf.c): Correct dependencies.
552 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
553 * Makefile.in: Regenerate.
554 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
555 bfd_elf_record_link_assignment name.
556
8aae64e6
AO
5572003-05-07 Alexandre Oliva <aoliva@redhat.com>
558
559 * ldmain.h (overflow_cutoff_limit): Declare.
560 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
561 (reloc_overflow): Limit error messages based on it.
562 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
563 unlimited.
564
5c7966bf
AM
5652003-05-05 Alan Modra <amodra@bigpond.net.au>
566
567 * ldlex.l: Accept C style comments in version scripts.
568
c7996ad6
L
5692003-04-28 H.J. Lu <hjl@gnu.org>
570
571 * ldlang.c (lang_process): Add the relax finalize pass.
572
573 * ldmain.c (main): Initialize link_info.relax_finalizing to
574 FALSE.
575
d145330d
RM
5762003-04-24 Roland McGrath <roland@redhat.com>
577
578 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
579 If a name string is unknown, give an error rather than crashing later.
580
5812003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
582
583 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
8d9cd6b1
NC
584 eh8300hnelf.o, eh8300snelf.o and respective rules.
585 * Makefile.in: Regenerate.
586 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
587 * emulparams/h8300hn.sh: New
588 * emulparams/h8300sn.sh: New
d145330d 589 * emulparams/h8300hnelf.sh: New
8d9cd6b1
NC
590 * emulparams/h8300snelf.sh: New
591 * scripttempl/h8300hn.sc: new
592 * scripttempl/h8300sn.sc: new
593
0f0569c4
L
5942003-04-23 H.J. Lu <hjl@gnu.org>
595
596 * ldmain.c (link_callbacks): Initialize error_handler.
597
598 * ldmisc.c (error_handler): New function.
599
600 * ldmisc.h (error_handler): New prototype.
601
e2cebd4b
SC
6022003-04-21 Stephane Carrez <stcarrez@nerim.fr>
603
604 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
605 * emulparams/m68hc11elfb.sh: Likewise.
606 * emulparams/m68hc12elf.sh: Likewise.
607 * emulparams/m68hc12elfb.sh: Likewise.
608
67bb9940
SC
6092003-04-19 Stephane Carrez <stcarrez@nerim.fr>
610
611 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
612 68HC11 and 68HC12.
613 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
614 generate.
615 (LDEMUL_FINISH): Override to generate the trampolines after gc and
616 linker relaxation.
617 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
618 stub file for trampolines.
619 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
620 --no-trampoline and --bank-window to control the memory bank window.
621
97b51f20
L
6222003-04-18 H.J. Lu <hjl@gnu.org>
623
624 * ldfile.c (ldfile_add_library_path): Remove the unused
625 variable.
626
517ed485
NC
6272003-04-18 Andrew Haley <aph@cambridge.redhat.com>
628
629 * scripttempl/xstormy16.sc (__data, __rdata): New.
630
39f1ebed
NC
6312003-04-16 Nick Clifton <nickc@redhat.com>
632
633 * scripttempl/xstormy16.sc: Add .jcr section mapping.
634
731e28d8
L
6352003-04-15 H.J. Lu <hjl@gnu.org>
636
637 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
638
639 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
640
c2dcd04e
NC
6412003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
642
643 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
644 * ld.texinfo: Likewise.
645
877d60f7
AM
6462003-04-14 Alan Modra <amodra@bigpond.net.au>
647
648 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
649 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
650 other variants of crtbegin.o, crtend.o.
651 (DTOR): Likewise.
652 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
653 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
654 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
655 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
656 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
657 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
658 * scripttempl/mmo.sc (ctors, dtors): Likewise.
659 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
660
d4b6ee67
NC
6612003-04-09 Dmitry Diky <diwil@mail.ru>
662
663 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
664 sections to respect C++ constructor/destructor. Add ctors/dtors
665 start/stop definitions.
666 * scripttempl/elf32msp430_3.sc: Likewise.
667
bb10df36
NC
6682003-04-06 Nick Clifton <nickc@redhat.com>
669
670 * ld.texinfo (Options): Add a reminder of the target specific
671 nature to the description of the i386 PE specific options, for
672 readers who have not read all the way through the manual.
673
be33c5dd
SS
6742003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
675
9f863369 676 * configure.tgt: Fixed bug in list of targ_extra_emuls.
be33c5dd
SS
677 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
678 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
679 * emulparams/tic3xcoff_onchip.sh: Ditto
680 * emulparams/tic4xcoff.sh: Ditto
681 * scripttempl/tic4xcoff.sc: Ditto
682
e8fd7476
NC
6832003-04-03 Nick Clifton <nickc@redhat.com>
684
685 * NEWS: Mention support for Xtensa architecture.
686
2b817be1
NC
6872003-04-02 Nick Clifton <nickc@redhat.com>
688
689 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
690
6912003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
692
693 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
694 Don't call pe_dll_build_section() if link_info.relocateable.
695 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
696 if link_info.relocateable.
697
6982003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
699
700 * pe-dll.c (process_def_file): Don't create an export
701 section if there are no exports and we're building an exe
702 (pe_dll_build_sections): Ditto
703 (pe_dll_fill_sections): Conditionalize setting
704 abfd->dll true on info->shared
705 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
706 If i386pe or armpe, call pe_dll_build_section()
707 for both exe's and dll's, not just dll's.
708 (gld_${EMULATION_NAME}_finish): For all targets except
709 shpe and mipspe, call pe_dll_fill_sections() for both
710 exe's and dll's, not just dll's.
711
f6c8b716
BW
7122003-04-02 Bob Wilson <bob.wilson@acm.org>
713
714 * emulparams/xtensa-config.sh: Remove comment indicating that this is
715 a generated file.
716
e0001a05
NC
7172003-04-01 Bob Wilson <bob.wilson@acm.org>
718
877d60f7
AM
719 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
720 (eelf32xtensa.c): New target.
721 * Makefile.in: Regenerate.
722 * configure.tgt: Handle xtensa-*-*.
723 * gen-doc.texi: Set XTENSA variable.
724 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
725 * emulparams/elf32xtensa.sh: New file.
726 * emulparams/xtensa-config.sh: Likewise.
727 * emultempl/xtensaelf.em: Likewise.
728 * scripttempl/elfxtensa.sc: Likewise.
e0001a05 729
276e5094
JJ
7302003-04-01 Jakub Jelinek <jakub@redhat.com>
731
732 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
733 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
734 if --enable-64-bit-bfd.
735
5a6c6817
NC
7362003-04-01 Nick Clifton <nickc@redhat.com>
737
394ce546 738 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
5a6c6817 739 note section.
394ce546 740 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
5a6c6817
NC
741 name of note section.
742
a6e02871
AO
7432003-03-31 Alexandre Oliva <aoliva@redhat.com>
744
745 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
746 --section-start.
747
5ed6aba4
NC
7482003-03-31 David Heine <dlheine@suif.stanford.edu>
749
750 * ldfile.c (ldfile_add_library_path): Always allocate space for
751 the filename.
752 * ldlang.c (lang_register_vers_node): Free the node if it cannot
753 be used.
754 * ldmain.c (set_scripts_dir): Always free the constructed
755 directory name.
756 (add_keepsyms_file): Fix memory leak.
757 * ldmisc.c (vfinfo): Likewise.
877d60f7 758 * lexsup.c (parse_args): Likewise.
5ed6aba4 759
e16bb312
NC
7602003-03-25 Stan Cox <scox@redhat.com>
761 Nick Clifton <nickc@redhat.com>
877d60f7 762
6bc8652b 763 Contribute support for Intel's iWMMXt chip - an ARM variant:
e16bb312
NC
764
765 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
766 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
767 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
768 (.bss): Likewise.
769
3fe38064
NC
7702003-03-25 Alexandre Oliva <aoliva@redhat.com>
771
772 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
773 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
774 (main): Initialize them.
775 * ldfile.c: Include pathnames.h.
776 (is_sysrooted_pathname): New.
777 (ldfile_add_library_path): Use it.
778 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
779 search_dirs if given an absolute pathname.
780 (ldfile_open_file): Issue error message for sysrooted
781 absolute pathnames.
782 * Makefile.am: Updated dependencies.
783 * Makefile.in: Rebuild.
784