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