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