6a395b68580da5e13542c38ba5bbca8e6a799130
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl>
2
3 * Makefile.am: Add support for Z80
4 * Makefile.in: Regenerated
5 * configure.tgt: Add z80-*-coff
6 * emulparams/z80.sh: New file.
7 * emultempl/z80.em: New file.
8 * scripttempl/z80.sc New file.
9 * NEWS: Mention this new support.
10
11 2005-10-25 Alan Modra <amodra@bigpond.net.au>
12
13 * po/ld.pot: Regenerate.
14
15 2005-10-25 Chris Metcalf <cdmetcalf@comcast.net>
16
17 * ld.texinfo (--reduce-memory-overheads): Fix typo.
18
19 2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
20
21 PR ld/1487
22 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
23 bfd_match_sections_by_type to match section types.
24
25 * ldlang.c (init_os): Take the input section. Call
26 bfd_init_private_section_data if the input section isn't NULL.
27 (exp_init_os): Pass NULL to init_os.
28 (map_input_to_output_sections): Likewise.
29 (lang_add_section): Pass the input section to init_os.
30
31 2005-10-19 Paul Brook <paul@codesourcery.com>
32
33 * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS.
34
35 2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
36
37 PR ld/1467
38 * emultempl/elf32.em: Include "elf-bfd.h".
39 (gld${EMULATION_NAME}_place_orphan): Check section type and
40 don't use section name for ELF input sections.
41
42 * ld.texinfo: Document orphan section processing.
43
44 * ldlang.c (lang_output_section_find_by_flags): Match section
45 types by calling bfd_match_sections_by_type.
46
47 2005-10-13 Mark Mitchell <mark@codesourcery.com>
48
49 * ld.texino: Describe double-quoted string syntax for version
50 nodes.
51 * ldlang.h (lang_new_vers_pattern): Add literal_p parameter.
52 * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER.
53 Adjust calls to lang_new_vers_pattern to pass literal_p argument.
54 * ldlang.c (lang_vers_match): Fix indentation. Do not glob-match
55 version nodes without a pattern.
56 (lang_new_vers_pattern): Add literal_p parameter.
57 (lang_do_version_exports_section): Pass it.
58
59 2005-10-12 Mark Mitchell <mark@codesourcery.com>
60
61 * NEWS: Mention @file.
62
63 2005-10-05 H.J. Lu <hongjiu.lu@intel.com>
64
65 PR ld/1396
66 * ldcref.c (check_refs): Accept bfd_boolean.
67 (check_local_sym_xref): Pass FALSE to check_refs.
68 (check_nocrossref): Pass TRUE to check_refs.
69 (check_refs_info): Add bfd_boolean.
70 (check_refs): Add bfd_boolean to check_refs_info.
71 (check_reloc_refs): Match relocations with proper symbols.
72
73 * ldmisc.c (vfinfo): Don't add extra ":\n".
74
75 2005-10-05 Danny Smith <dannysmith@users.sourceforge.net>
76
77 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
78 default entry symbol to ENTRY here.
79 * scripttempl/pe.sc: Not here.
80
81 2005-09-30 James E Wilson <wilson@specifix.com>
82
83 * ldlang.c (lang_startup): Add missing ": " to einfo call.
84
85 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
86
87 * Makefile.am: Run "make dep-am".
88 * Makefile.in: Regenerated.
89 * aclocal.m4: Likewise.
90
91 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
92
93 * ldlang.c (output_statement_hash_entry): New type.
94 (output_statement_table): New variable for hash table.
95 (output_statement_newfunc): New function.
96 (output_statement_table_init): Likewise.
97 (output_statement_table_free): Likewise.
98 (lang_init): Call output_statement_table_init.
99 (lang_finish): Renamed to ...
100 (lang_end): This.
101 (lang_process): Updated.
102 (lang_finish): New function.
103 (lang_output_section_find_1): Use hash table.
104 (lang_output_section_statement_lookup_1): Likewise.
105
106 * ldlang.h (lang_finish): New.
107
108 * ldmain.c (main): Call lang_finish.
109
110 2005-09-30 Mark Mitchell <mark@codesourcery.com>
111
112 * ldmain.c (main): Use expandargv.
113
114 2005-09-30 Catherine Moore <clm@cm00re.com>
115
116 * Makefile.am: Bfin support.
117 * Makefile.in: Regenerated.
118 * aclocal.m4: Regenerated.
119 * configure.tgt: Bfin support.
120 * emulparams/bfin.sh: New file.
121 * emultempl/bfin.em: New file.
122
123 2005-09-30 Matthias Kurz <mk@baerlap.north.de>
124
125 * ld.h: Prevent the inclusion of <libintl.h> from the Solaris
126 version of <locale.h> when ENABLE_NLS is not defined.
127
128 2005-09-27 H.J. Lu <hongjiu.lu@intel.com>
129
130 * ld.texinfo (ALIGN): Document it as forcing output section
131 alignment.
132
133 * ldgram.y (ALIGN): Support it for forcing output section
134 alignment.
135
136 2005-09-20 Alan Modra <amodra@bigpond.net.au>
137
138 * ldlang.h (lang_output_section_statement_struct): Change type of
139 "processed" to bfd_boolean.
140 * ldexp.c (fold_name): Update references to os->processed.
141 * ldlang.c (lang_output_section_statement_lookup_1): Likewise.
142 (lang_size_sections_1): Likewise.
143 (lang_reset_memory_regions): Likewise.
144
145 PR ld/1353
146 * ldlang.c (lang_size_sections_1): Process addr_tree earlier,
147 so that unused output section statements affect dot.
148
149 2005-09-08 Jakub Jelinek <jakub@redhat.com>
150
151 * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
152 and --eh-frame-hdr options.
153
154 2005-09-07 Alan Modra <amodra@bigpond.net.au>
155
156 * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
157 (exp_fold_tree_1): Print assert message only in final stage of
158 linking. Trigger assertion failure if expression cannot be
159 evaluated.
160
161 2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
162
163 PR ld/1263
164 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
165 --just-symbols on DSO.
166
167 2005-08-18 Alan Modra <amodra@bigpond.net.au>
168
169 * scripttempl/elf.sc: Remove commented out defines.
170
171 2005-08-18 Alan Modra <amodra@bigpond.net.au>
172
173 * emulparams/a29k.sh: Delete.
174 * emulparams/ebmon29k.sh: Delete.
175 * emulparams/sa29200.sh: Delete.
176 * Makefile.am: Remove a29k support.
177 * configure.tgt: Likewise.
178 * ld.texinfo: Likewise.
179 * Makefile.in: Regenerate.
180
181 2005-08-17 Jakub Jelinek <jakub@redhat.com>
182
183 * ldgram.y (vers_defns): Don't lose pattern list before
184 extern NAME {}. Handle global, local and extern symbol names.
185
186 2005-08-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
187
188 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
189 Don't increment rel_count of .cranges here. Set rawsize of .cranges.
190
191 2005-08-10 Nick Clifton <nickc@redhat.com>
192
193 * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions
194 before lang_size_sections.
195
196 2005-08-09 Alan Modra <amodra@bigpond.net.au>
197
198 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.
199
200 2005-08-08 Eric Doenges <Eric.Doenges@betty-tv.com>
201
202 * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants.
203 Add rules to build these emulations.
204 * Makefile.in: Regenerate.
205 * configure.tgt (msp430): Add the new variants to the
206 targ_extra_emuls list.
207 * emulparams/msp430all.sh: Add entries for the msp430x21xx
208 variants.
209
210 2005-08-05 H.J. Lu <hongjiu.lu@intel.com>
211
212 * ld.texinfo: Document PROVIDE_HIDDEN.
213
214 * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked.
215 (exp_provide): Add and set hidden.
216
217 * ldexp.h (etree_type): Add hidden to assign.
218
219 * ldgram.y (PROVIDE_HIDDEN): New.
220 * ldlex.l (PROVIDE_HIDDEN): Likewise.
221
222 * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound
223 symbols.
224
225 2005-08-05 Alan Modra <amodra@bigpond.net.au>
226
227 * emulparams/elf_x86_64.sh: Revert last change.
228 * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here.
229
230 2005-08-05 Alan Modra <amodra@bigpond.net.au>
231
232 * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from
233 OTHER_END_SYMBOLS.
234 * emulparams/armelf_linux.sh: Likewise.
235 * emulparams/armnto.sh: Likewise.
236 * emulparams/criself.sh: Likewise.
237 * emulparams/elf32mcore.sh: Likewise.
238 * emulparams/criself.sh (OTHER_SYMBOLS): Define.
239 * emulparams/crislinux.sh (OTHER_SYMBOLS): Define.
240 (OTHER_END_SYMBOLS): Don't define.
241 * emulparams/elf32fr30.sh: Likewise.
242 * emulparams/elf64mmix.sh: Likewise.
243 * emulparams/hppa64linux.sh: Likewise.
244 * emulparams/m32relf.sh: Likewise.
245 * emulparams/vxworks.sh: Likewise.
246 * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete.
247 (OTHER_BSS_END_SYMBOLS): Add.
248 (OTHER_END_SYMBOLS): Move before current end sym definitions.
249 (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script.
250 * scripttempl/elf.sc: Likewise.
251 * scripttempl/elf32sh-symbian.sc: Likewise.
252 * scripttempl/elf_chaos.sc: Likewise.
253 * scripttempl/elfxtensa.sc: Likewise.
254 * scripttempl/iq2000.sc: Likewise.
255 * scripttempl/xstormy16.sc: Likewise.
256
257 * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete.
258 (REL_LDATA, REL_LBSS, REL_LRODATA): Delete.
259 (REL_LARGE, LARGE_SECTIONS): Add.
260 * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text.
261 (REL_LARGE): Define.
262 * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
263 (LARGE_SECTIONS): Define.
264 * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
265 (LARGE_SECTIONS): Define.
266
267 2005-08-04 Alan Modra <amodra@bigpond.net.au>
268
269 * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete.
270 * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete.
271 (struct ld_emulation_xfer_struct): Remove do_assignments field.
272 * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments.
273 * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New.
274 (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New.
275 * emultempl/aix.em (ld_*_emulation): Delete do_assignments init.
276 * emultempl/armcoff.em: Likewise.
277 * emultempl/beos.em: Likewise.
278 * emultempl/generic.em: Likewise.
279 * emultempl/gld960.em: Likewise.
280 * emultempl/gld960c.em: Likewise.
281 * emultempl/linux.em: Likewise.
282 * emultempl/lnk960.em: Likewise.
283 * emultempl/m68kcoff.em: Likewise.
284 * emultempl/pe.em: Likewise.
285 * emultempl/sunos.em: Likewise.
286 * emultempl/ticoff.em: Likewise.
287 * emultempl/vanilla.em: Likewise.
288 * emultempl/elf32.em: Likewise.
289 (gld*_provide_bound_symbols): Delete.
290 (gld*_provide_init_fini_syms): Delete.
291 (gld*_before_allocation): Don't call ldemul_do_assignments.
292 * emultempl/ppc32elf.em (ppc_do_assignments): Delete.
293 (LDEMUL_DO_ASSIGNMENTS): Delete.
294 * scripttempl/elf.sc: Provide init/fini syms. Add SBSS_START_SYMBOLS,
295 SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.
296
297 2005-08-04 Alan Modra <amodra@bigpond.net.au>
298
299 * Makefile.am (eelf32m32c.c): Fix dependencies.
300 * Makefile.in: Regenerate.
301
302 2005-08-04 Alan Modra <amodra@bigpond.net.au>
303
304 * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally.
305 (finish_default): New function.
306 * ldemul.h (finish_default): Declare.
307 * emultempl/aix.em (gld*_before_allocation): Call
308 before_allocation_default rather than strip_excluded_output_sections.
309 (ld_*_emulation): Init finish field to finish_default.
310 * emultempl/armcoff.em: Likewise.
311 * emultempl/beos.em: Likewise.
312 * emultempl/elf32.em: Likewise.
313 * emultempl/generic.em: Likewise.
314 * emultempl/gld960.em: Likewise.
315 * emultempl/gld960c.em: Likewise.
316 * emultempl/hppaelf.em: Likewise.
317 * emultempl/linux.em: Likewise.
318 * emultempl/lnk960.em: Likewise.
319 * emultempl/m68kcoff.em: Likewise.
320 * emultempl/mmo.em: Likewise.
321 * emultempl/pe.em: Likewise.
322 * emultempl/ppc64elf.em: Likewise.
323 * emultempl/sunos.em: Likewise.
324 * emultempl/ticoff.em: Likewise.
325 * emultempl/vanilla.em: Likewise.
326
327 2005-08-03 Alan Modra <amodra@bigpond.net.au>
328
329 * ldlang.c (exp_init_os): Handle etree_provide.
330 * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from..
331 (OTHER_BSS_END_SYMBOLS): ..this.
332 * emulparams/armelf_linux.sh: Likewise.
333 * emulparams/armnto.sh: Likewise.
334 * emulparams/criself.sh: Likewise.
335 * emulparams/crislinux.sh: Likewise.
336 * emulparams/elf32frv.sh: Likewise.
337 * emulparams/elf32mcore.sh: Likewise.
338 * emulparams/elf32ppc.sh: Likewise.
339 * emulparams/elf32ppclinux.sh: Likewise.
340 * emulparams/hppa64linux.sh: Likewise.
341 * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not
342 $OTHER_BSS_END_SYMBOLS.
343 * scripttempl/elf32sh-symbian.sc: Likewise.
344 * scripttempl/elf_chaos.sc: Likewise.
345 * scripttempl/iq2000.sc: Likewise.
346 * scripttempl/xstormy16.sc: Likewise.
347 * scripttempl/elf.sc: Likewise. Delete __bss_start comment.
348 * scripttempl/elfxtensa.sc: Likewise.
349
350 2005-07-29 Nick Clifton <nickc@redhat.com>
351
352 * ldmain.c (main): Allow -shared and -static to be used together.
353 * ld.texinfo (-static): Mention that it is allowed with -shared.
354
355 2005-07-28 DJ Delorie <dj@redhat.com>
356
357 * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a
358 unary & address operator, as that breaks GCC's strict aliasing
359 rules.
360
361 2005-07-25 Jan Hubicka <jh@suse.cz>
362 H.J. Lu <hongjiu.lu@intel.com>
363
364 * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.
365
366 * scripttempl/elf.sc: Updated for large section support.
367
368 2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org>
369
370 * configure.tgt: Remove i[3-7]86-*-rtemself*.
371 Remove sparc-*-rtemself*.
372
373 2005-07-21 Ben Elliston <bje@gnu.org>
374
375 * ldgram.y (ldgram_want_filename): Remove unused static.
376
377 2005-07-20 DJ Delorie <dj@redhat.com>
378
379 * emulparams/elf32m32c.sh (TEMPLATE_NAME): New.
380 (EXTRA_EM_FILE): New.
381
382 2005-07-19 H.J. Lu <hongjiu.lu@intel.com>
383
384 * ldmain.c (main): Reindent.
385
386 2005-07-19 Paul Brook <paul@codesourcery.com>
387
388 * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
389 to determine dynamic linker name.
390
391 2005-07-18 Nick Clifton <nickc@redhat.com>
392
393 * configure.tgt: Restore alpha ordering to list of arches.
394
395 2005-07-16 Alan Modra <amodra@bigpond.net.au>
396
397 * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype.
398 (gld*_before_allocation): Call ldemul_do_assignments rather than
399 gld*_provide_init_fini_syms directly.
400 * emultempl/ppc32elf.em (gld*_after_allocation): Delete.
401 (ppc_do_assignments): New function.
402 (LDEMUL_AFTER_ALLOCATION): Don't define.
403 (LDEMUL_DO_ASSIGNMENTS): Define.
404
405 2005-07-16 Alan Modra <amodra@bigpond.net.au>
406
407 * Makefile.am: Run "make dep-am".
408 (emipsidt.c, emipsidtl.c): Depend on generic.em.
409 * Makefile.in: Regenerate.
410
411 2005-07-15 Alan Modra <amodra@bigpond.net.au>
412
413 * ldemul.c (ldemul_do_assignments): New function.
414 (do_assignments_default): New function.
415 * ldemul.h (ldemul_do_assignments): Declare.
416 (do_assignments_default): Declare.
417 (struct ld_emulation_xfer_struct): Add do_assignments.
418 * ldlang.c (lang_do_assignments) Call ldemul_do_assignments.
419 * emultempl/aix.em (ld_*_emulation): Init do_assignments field.
420 * emultempl/armcoff.em: Likewise.
421 * emultempl/beos.em: Likewise.
422 * emultempl/generic.em: Likewise.
423 * emultempl/gld960.em: Likewise.
424 * emultempl/gld960c.em: Likewise.
425 * emultempl/linux.em: Likewise.
426 * emultempl/lnk960.em: Likewise.
427 * emultempl/m68kcoff.em: Likewise.
428 * emultempl/pe.em: Likewise.
429 * emultempl/sunos.em: Likewise.
430 * emultempl/ticoff.em: Likewise.
431 * emultempl/vanilla.em: Likewise.
432 * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms.
433 (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
434
435 2005-07-14 Jim Blandy <jimb@redhat.com>
436
437 Add support for the Renesas M32C and M16C.
438 * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
439 (eelf32m32c.c): New target.
440 * Makefile.in: Regenerated.
441 * configure.tgt: Add case for m32c-*-elf.
442 * emulparams/elf32m32c.sh: New file.
443
444 2005-07-14 Alan Modra <amodra@bigpond.net.au>
445
446 * ldlang.c (strip_excluded_output_sections): Don't call
447 bfd_gc_sections.
448 * emultempl/elf32.em (gld*_provide_bound_symbols): Move.
449 (gld*_provide_init_fini_syms): Move.
450 (gld*_before_allocation): Call the above from here..
451 (gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms.
452 * emultempl/hppaelf.em (hppaelf_finish): Likewise.
453 * emultempl/ppc64elf.em (ppc_finish): Likewise.
454
455 2005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org>
456
457 * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*,
458 i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*,
459 powerpcle-*-rtems*.
460
461 2005-07-09 Christopher Faylor <cgf@timesys.com>
462
463 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
464 relocation by default.
465 (compute_dll_image_base): Avoid linking into cygwin dll address space.
466
467 2005-07-08 Alan Modra <amodra@bigpond.net.au>
468
469 * ldlang.c (wild_sort): Formatting.
470 (strip_excluded_output_sections): Strip zero size sections here.
471 * emultempl/elf32.em (gld*_strip_empty_sections): Delete.
472 (gld*_finish): Don't call the above.
473 * emultempl/hppaelf.em (hppaelf_finish): Likewise.
474 * emultempl/ppc64elf.em (ppc_finish): Likewise.
475
476 2005-07-05 Paul Brook <paul@codesourcery.com>
477
478 * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
479 (eelf32ppcvxworks.o): Add dependencies.
480 * Makefile.in: Regenerate.
481 * configure.tgt: Add entry for powerpc-vxworks.
482 * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
483 * emulparams/elf32ppcvxworks.sh: New file.
484 * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
485 (is_ppc_elf32_vec): New function.
486 (ppc_after_open, ppc_before_allocation,
487 gld${EMULATION_NAME}_after_allocation): Use it.
488
489 2005-07-05 Peter S. Mazinger" <ps.m@gmx.net>
490
491 * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes".
492 * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes".
493
494 2005-07-04 Mike Frysinger <vapier@gentoo.org>
495
496 * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in
497 name.
498
499 2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
500
501 * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
502
503 2005-07-04 Aurelien Jarno <aurel32@debian.org>
504
505 * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
506
507 2005-07-01 Alan Modra <amodra@bigpond.net.au>
508
509 * scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
510
511 2005-06-30 Ben Elliston <bje@gnu.org>
512
513 * Makefile.am (check-DEJAGNU): Don't search for expect.
514 * Makefile.in: Regenerate.
515
516 2005-06-30 Ben Elliston <bje@gnu.org>
517
518 * Makefile.am (EXPECT): Set to expect.
519 (RUNTEST): Likewise, set to runtest.
520 * Makefile.in: Regenerate.
521
522 2005-06-16 Alexander Klimov <alserkli@inbox.ru>
523
524 * emultempl/armelf.em: Add quotes to avoid a null test
525 expression.
526
527 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
528
529 * ld.texinfo (Command Line Options): Add @item for --hash-size.
530
531 2005-06-10 Alan Modra <amodra@bigpond.net.au>
532
533 * scripttempt/elf.sc (.bss): Align tail in a way that allows
534 empty section pruning.
535
536 2005-06-09 Steve Ellcey <sje@cup.hp.com>
537
538 * configure.in (AM_BINUTILS_WARNINGS): Add.
539 (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS.
540 * config.in: Regenerate.
541 * configure: Regenerate.
542 * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_*
543 * ldmain.c: Ditto.
544
545 2005-06-09 Alan Modra <amodra@bigpond.net.au>
546
547 * ldexp.c (fold_unary <ALIGN_K>): Revert last change.
548
549 2005-06-09 Alan Modra <amodra@bigpond.net.au>
550
551 * ld.h (lang_phase_type): Move to..
552 * ldexp.h: ..here. Add lang_mark_phase_enum.
553 (node_type): Remove etree_undef and etree_unspec.
554 (exp_data_seg): Delete.
555 (struct ldexp_control, expld): New.
556 (invalid, exp_mark_used_section): Delete.
557 (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill,
558 exp_get_abs_int): Update prototypes.
559 * ldexp.c (assigning_to_dot): Delete.
560 (expld): Define.
561 (make_abs): Operate directly on expld.result. Update all callers.
562 (new_abs): Likewise. Return void.
563 (new_rel_from_abs): Rename from new_rel_from_section.
564 (new_rel, new_rel_from_abs): Operate on expld.result and return void.
565 Update all callers.
566 (fold_unary): Operate on expld.result and return void. Remove
567 "current_section", "allocation_done", "dot", "dotp" and "mark_used"
568 params. Update all callers.
569 (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise.
570 (fold_unary <ALIGN_K>): Ensure alignment is absolute.
571 (fold_unary <ABSOLUTE>): Use make_abs.
572 (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for
573 allocating_phase.
574 (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto.
575 (fold_binary <'%','/'>): Don't error if marking.
576 (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when
577 marking.
578 (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't
579 error when marking.
580 (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP.
581 (exp_fold_tree_1): Don't error when marking.
582 (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first.
583 (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL
584 current section, instead check for NULL dotp.
585 (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment
586 source unless the symbol is referenced and undefined.
587 (exp_fold_tree): Remove "allocation_done" and "dot" params. Save
588 params to expld.
589 (exp_fold_tree_no_dot): Remove "current_section", "allocation_done
590 and "mark_used" params. Save params to expld. Update all callers.
591 (exp_assop): Do without temp var.
592 (exp_print_tree <etree_undef>): Delete code.
593 (exp_get_vma): Remove "allocation_done" param. Correct error return.
594 (exp_get_fill, exp_get_abs_int): Likewise.
595 (exp_get_value_int): Remove "allocation_done" param.
596 (exp_mark_used_section): Delete.
597 * ldgram.y (fill_exp): Update exp_get_fill call.
598 (origin_spec, length_spec): Update exp_get_vma call.
599 * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration.
600 (lang_mark_used_section_1, lang_mark_used_section): Delete.
601 (strip_excluded_output_sections): Call one_lang_size_sections_pass in
602 marking mode. Merge old lang_mark_used_section code. Correct handling
603 of output sections with excluded input sections and data statements.
604 Don't drop non-zero sized sections. Don't zap os->bfd_section.
605 Do set SEC_EXCLUDE when appropriate.
606 (print_output_section_statement): Update for changed ldexp.c
607 interface.
608 (print_assignment, lang_size_sections_1): Likewise.
609 (lang_do_assignments_1, lang_enter_output_section_statement): Likewise.
610 (lang_new_phdr, lang_record_phdrs): Likewise.
611 (lang_size_sections): Likewise.
612 (insert_pad): Use following statement if it is a pad, rather than
613 creating a new one.
614 (lang_size_sections_1 <lang_output_section_statement_enum>): Do
615 process ignored output section to set vma and lma, but don't
616 update dot for these sections. Don't error if marking.
617 (lang_size_sections_1 <lang_assignment_statement_enum>): Don't
618 update dot for ignored sections.
619 (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute
620 section with SEC_ALLOC.
621 (one_lang_size_sections_pass): New function.
622 (lang_size_sections): Remove first five params. Set expld.phase on
623 entry and exit. Use one_lang_size_sections_pass.
624 (lang_do_assignments): Remove all params. Update all callers.
625 (lang_reset_memory_regions): Clear os->processed for all output
626 section statements.
627 * ldlang.h (lang_do_assignments): Update prototype.
628 (lang_size_sections): Likewise.
629 (one_lang_size_sections_pass): Declare.
630 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
631 lang_size_sections and lang_do_assignments calls.
632 * emultempl/elf32.em (layout_sections_again): Likewise.
633 * emultempl/ppc64elf.em (ppc_before_allocation): Use
634 one_lang_size_sections_pass.
635
636 2005-06-08 Aldy Hernandez <aldyh@redhat.com>
637
638 * emulparams/elf32ms1.sh: New.
639
640 2005-06-07 Eric Christopher <echristo@redhat.com>
641
642 * Makefile.am (eelf32ms1.c): Use tab.
643 * Makefile.in: Regenerate.
644
645 2005-06-07 Aldy Hernandez <aldyh@redhat.com>
646 Michael Snyder <msnyder@redhat.com>
647 Stan Cox <scox@redhat.com>
648
649 * configure.tgt: Same.
650
651 * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o.
652 (eelf32ms1.c): Add eelf32ms1.c rule.
653
654 * Makefile.in: Regenerate.
655
656 2005-06-06 Alan Modra <amodra@bigpond.net.au>
657
658 * emultempl/ppc64elf.em (ppc_before_allocation): Always run
659 ppc64_elf_edit_opd.
660
661 2005-06-05 H.J. Lu <hongjiu.lu@intel.com>
662
663 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
664 section only if the symbol will be defined.
665
666 2005-06-04 H.J. Lu <hongjiu.lu@intel.com>
667
668 PR 992
669 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
670 section for etree_assign, etree_provide and etree_provided.
671 Call fold_binary on etree_binary.
672
673 * ldlang.c (lang_mark_used_section_1): Handle load base.
674
675 2005-06-03 Alan Modra <amodra@bigpond.net.au>
676
677 * ldmain.c (link_callbacks): Add einfo.
678 (add_archive_element): Use passed info, not link_info.
679 (constructor_callback): Likewise.
680 (reloc_overflow): Don't handle null bfd specially.
681 (reloc_dangerous, unattached_reloc): Likewise.
682 * ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd.
683 (vfinfo <C, D, G>): Handle null bfd. Wrap comments.
684
685 2005-06-02 Alan Modra <amodra@bigpond.net.au>
686
687 * ldexp.h (etree_value_type): Use "asection *" in place of
688 "struct lang_output_section_statement_struct *" for "section".
689 (exp_fold_tree): Likewise.
690 (exp_mark_used_section): Likewise.
691 * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary,
692 fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree,
693 exp_mark_used_section): Likewise for "current_section" param.
694 (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill,
695 exp_get_abs_int): Adjust for above changes.
696 * ldlang.c (lang_mark_used_section_1, print_assignment,
697 lang_size_sections_1, lang_do_assignments_1): Likewise.
698 * ldexp.c (fold_name): Init entire result struct.
699
700 2005-06-01 Maciej W. Rozycki <macro@linux-mips.org>
701
702 * emulparams/elf32btsmip.sh: Unset DATA_ADDR.
703
704 2005-05-31 Zack Weinberg <zack@codesourcery.com>
705
706 * ldlang.c (entry_symbol_default): New file-scope global.
707 (lang_finish): Use it, not a hardwired "start".
708 (lang_default_entry): Set it.
709 * ldlang.h: Declare lang_default_entry.
710 * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
711 not lang_add_entry, to override default entry point symbol.
712
713 2005-05-29 Richard Henderson <rth@redhat.com>
714
715 * emulparams/elf64alpha.sh (PLT): New.
716 (TEXT_PLT): New.
717 * emultempl/alphaelf.em (disable_relaxation): New.
718 (limit_32bit): Rename from elf64alpha_32bit; update all users.
719 (elf64_alpha_use_secureplt): Declare.
720 (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
721 (alpha_after_open): New.
722 (alpha_before_allocation): New.
723 (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
724 (PARSE_AND_LIST_LONGOPTS): Include them.
725 (PARSE_AND_LIST_OPTIONS): Likewise.
726 (PARSE_AND_LIST_ARGS_CASES): Likewise.
727 (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
728 * scripttempl/elf.sc (TEXT_PLT): New.
729 (PLT): Use it.
730
731 2005-05-27 Andreas Schwab <schwab@suse.de>
732
733 * configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
734
735 2005-05-24 Alan Modra <amodra@bigpond.net.au>
736
737 * emultempl/ppc32elf.em (after_allocation): Don't call
738 ppc_elf_set_sdata_syms when relocatable.
739
740 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
741
742 * Makefile.am (ld.1): Revert the last 2 changes.
743 (info-recursive): Depend on ld.1.
744 * Makefile.in: Regenerated.
745
746 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
747
748 * Makefile.am (ld.1): Depend on "info" instead of
749 "configdoc.texi ldver.texi".
750 * Makefile.in: Regenerated.
751
752 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
753
754 * Makefile.am (ld.1): Depend on "info".
755 * Makefile.in: Regenerated.
756
757 2005-05-19 Zack Weinberg <zack@codesourcery.com>
758
759 * Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
760 * Makefile.in: Regenerate.
761
762 2005-05-17 Zack Weinberg <zack@codesourcery.com>
763
764 * ld-arm/mixed-app.d: Adjust expected disassembly a little.
765
766 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
767
768 * Makefile.am (ldver.texi): Don't use $<.
769 * Makefile.in: Regenerated.
770
771 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
772
773 * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include
774 $(srcdir) before $(BFDDIR)/doc.
775 * Makefile.in: Regenerated.
776
777 2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
778
779 PR 797
780 * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
781 take take a bfd_boolean, mark_used. Ignore assert failure if
782 mark_used is TRUE.
783 (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
784 (exp_fold_tree_no_dot): Updated to take a bfd_boolean,
785 mark_used and pass down.
786 (fold_unary): Likewise.
787 (fold_binary): Likewise.
788 (fold_trinary): Likewise.
789 (exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
790 (exp_trinop): Likewise.
791 (exp_unop): Likewise.
792 (exp_nameop): Likewise.
793 (exp_get_vma): Likewise.
794 (exp_get_fill): Likewise.
795 (exp_get_abs_int): Likewise.
796 (fold_name): Likewise. Set SEC_KEEP in output section flags.
797 (exp_mark_used_section): New.
798
799 * ldexp.h (exp_mark_used_section): New.
800
801 * ldlang.c (lang_output_section_statement_lookup_1): Set the
802 ignored field to FALSE.
803 (lang_mark_used_section_1): New.
804 (lang_mark_used_section): Call lang_mark_used_section_1.
805 (strip_excluded_output_sections): Call lang_mark_used_section
806 and check for unused sections.
807 (lang_size_sections_1): Skip an output section if it should
808 be ignored.
809 (lang_do_assignments_1): Likewise.
810 (lang_process): Don't call lang_mark_used_section here.
811
812 * ldlang.h (lang_output_section_statement_type): Change
813 all_input_readonly to bitfield. Add ignored.
814
815 2005-05-17 Lennert Buytenhek <buytenh@wantstofly.org>
816 Peter S. Mazinger" <ps.m@gmx.net>
817
818 * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
819 * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
820
821 2005-05-17 Julian Brown <julian@codesourcery.com>
822
823 * ldlang.c (print_assignment): Do not rely upon a valid result
824 having a section associated with it.
825
826 2005-05-17 Nick Clifton <nickc@redhat.com>
827
828 * ldlang.c (Scan_for_self_assignment): Check an assignment tree to
829 see if the same value is being used on the rhs as on the lhs.
830 (print_assignment): Call scan_for_self_assignment and if it
831 returns true, do no display the result of the computation but
832 instead just the final value of the symbol on the lhs.
833 * ld.texinfo: Document this behaviour and provide an example of
834 when it will happen.
835
836 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
837
838 * Makefile.am (AM_MAKEINFOFLAGS): Define.
839 (TEXI2DVI): Define.
840 (ldver.texi): Depend on distributed files instead of built files.
841 (ld.info): Include $(srcdir) in the rule target. Remove actions.
842 (ld.dvi): Remove actions.
843 (MAINTAINERCLEANFILES): Add configdoc.texi.
844 (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
845 (install-data-local): Renamed from install.
846 (Makefile): Remove explicit dependency.
847 * acinclude.m4: Remove obsolete code.
848 * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL.
849 * Makefile.in, aclocal.m4, config.in, configure: Regenerated.
850
851 2005-05-11 Bob Wilson <bob.wilson@acm.org>
852
853 * scripttempl/elfxtensa.sc: Sync up with elf.sc.
854 * emulparams/elf32xtensa.sh (PLT, GOT): Define.
855
856 2005-05-11 Alan Modra <amodra@bigpond.net.au>
857
858 * ldgram.y: Add SPECIAL token.
859 (sect_constraint): Handle SPECIAL.
860 * ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
861 (map_input_to_output_sections): Likewise.
862 * ldlex.l (SPECIAL): Define.
863 * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
864 GOT, PLT, GOTPLT): Define.
865 * emultempl/ppc32elf.em (old_plt, old_got): New static vars.
866 (ppc_after_open): New function.
867 (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
868 (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
869 (PARSE_AND_LIST_OPTIONS): Document them.
870 (PARSE_AND_LIST_ARGS_CASES): Handle them.
871 (LDEMUL_AFTER_OPEN): Define.
872 * scripttempl/elf.sc (PLT): Don't override existing define.
873 (DATA_GOT, SDATA_GOT): Define and use to enable alternate got
874 placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW.
875
876 2005-05-10 Alan Modra <amodra@bigpond.net.au>
877
878 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
879 (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
880 (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after
881 DATA_SEGMENT_RELRO_END in script.
882
883 2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
884
885 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
886 Don't use a removed section.
887
888 2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
889
890 * ldmain.c (reloc_overflow): Use output_bfd if the symbol
891 is defined in the ABS section.
892
893 2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
894
895 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
896 Put back !link_info.relocatable.
897
898 2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
899
900 PR 878
901 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
902 Just check link_info.executable.
903
904 2005-05-06 Nick Clifton <nickc@redhat.com>
905
906 * Update the address and phone number of the FSF organization in
907 the GPL notices in the following files:
908 aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c,
909 ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c,
910 ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h,
911 ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h,
912 ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h,
913 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
914 emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em,
915 emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em,
916 emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em,
917 emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em,
918 emultempl/lnk960.em, emultempl/m68hc1xelf.em,
919 emultempl/m68kcoff.em, emultempl/m68kelf.em,
920 emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em,
921 emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em,
922 emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em,
923 emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em,
924 emultempl/vanilla.em, emultempl/xtensaelf.em
925
926 2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
927
928 * scripttempl/elf.sc: Document the usage of __bss_start.
929
930 2005-05-05 Paul Brook <paul@codesourcery.com>
931
932 * Makefile.am: Add eelf_i386_vxworks.
933 * Makefile.in: Regenerate.
934 * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
935 * emulparams/elf_i386_vxworks.sh: New file.
936 * emulparams/vxworks.sh: New file.
937 * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
938
939 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
940
941 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
942 Call _bfd_elf_provide_section_bound_symbols.
943
944 2005-05-04 Alan Modra <amodra@bigpond.net.au>
945
946 * ldemul.c: Include bfdlink.h.
947 (ldemul_before_allocation): Assume before_allocation is non-zero.
948 (before_allocation_default): Call strip_excluded_output_sections.
949 * ldlang.c (stripped_excluded_sections): New variable.
950 (lang_add_section): Build input section list for each output
951 section, attached via map_head and map_tail pointers.
952 (strip_excluded_output_sections): Make global. Traverse the
953 input section lists to find which output sections can go. Clear
954 link_order pointers and set stripped_excluded_sections.
955 (lang_process): Call strip_excluded_output_sections.
956 * ldlang.h (strip_excluded_output_sections): Declare.
957 * ldwrite.c: Update throuhout for link_order_head -> map_head change.
958 * emultempl/aix.em (before_allocation): Call
959 strip_excluded_output_sections.
960 * emultempl/armcoff.em (before_allocation): Likewise.
961 * emultempl/beos.em (before_allocation): Likewise.
962 * emultempl/linux.em (before_allocation): Likewise.
963 * emultempl/pe.em (before_allocation): Likewise.
964 * emultempl/sunos.em (before_allocation): Likewise.
965 * emultempl/elf32.em (before_allocation): Likewise. Call
966 bfd_elf_size_dynsym_hash_dynstr too.
967 * emultempl/lnk960.em (lnk960_before_allocation): Delete.
968 (ld_lnk960): Use before_allocation_default.
969
970 2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
971
972 * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
973 Updated for bfd_section_list_remove change.
974 * ldlang.c (lang_insert_orphan): Likewise.
975 (strip_excluded_output_sections): Likewise.
976 (sort_sections_by_lma): New.
977 (lang_check_section_addresses): Sort the sections before
978 checking addresses.
979
980 2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
981
982 * configure.tgt: Add h8300*-*-rtemscoff.
983 Switch h8300*-*-rtems* to elf.
984
985 2005-04-29 Ben Elliston <bje@au.ibm.com>
986
987 * ldgram.y (lang_memory_region_type): Make static.
988 (ldgram_want_filename): Likewise.
989 * ldemul.c (ld_emulation): Make static.
990 * ldfile.h (ldfile_find_command_file): Remove extern.
991 * ldfile.c (ldfile_find_command_file): Make static.
992 * ldlang.h (unique_section_list): Remove extern declaration.
993 * ldlang.c (unique_section_list): Make static.
994 * mri.h (symbol_truncate): Remove extern declaration.
995 * mri.c (symbol_truncate): Make static.
996 (order, only_load, address, alias): Likewise.
997 (alignment, subalignment): Likewise.
998
999 2005-04-27 H.J. Lu <hongjiu.lu@intel.com>
1000
1001 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
1002 Use the first SEC_ALLOC section which isn't SEC_READONLY or the
1003 last SEC_ALLOC section if such a section doesn't exist.
1004
1005 2005-04-24 Mark Kettenis <kettenis@gnu.org>
1006
1007 * configure.host: Add *-*-openbsd support.
1008
1009 2005-04-15 Julian Brown <julian@codesourcery.com>
1010
1011 * ld.texinfo: Document --use-blx.
1012 * emultempl/armelf.em (use_blx): New variable.
1013 (arm_elf_create_output_section_statements): Communicate value of
1014 use_blx to bfd.
1015 (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
1016 (PARSE_AND_LIST_OPTIONS): Add --use-blx option.
1017 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
1018
1019 2005-04-14 Alan Modra <amodra@bigpond.net.au>
1020
1021 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
1022 * configure.in: Include ../bfd/warning.m4 contents.
1023 * Makefile.in: Regenerate.
1024 * configure: Regenerate.
1025
1026 2005-04-12 Alan Modra <amodra@bigpond.net.au>
1027
1028 * Makefile.am: Run "make dep-am".
1029 (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
1030 * Makefile.in: Regenerate.
1031 * config.in: Regenerate.
1032
1033 2005-04-11 Alan Modra <amodra@bigpond.net.au>
1034
1035 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
1036 as_needed libs that were not needed.
1037 (gld${EMULATION_NAME}_check_needed): Likewise.
1038
1039 2005-04-07 Nick Clifton <nickc@redhat.com>
1040
1041 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
1042 ldfile.h can use the lang_input_statement type.
1043
1044 2005-04-06 Jakub Jelinek <jakub@redhat.com>
1045
1046 * ldlang.c: Formatting.
1047 (walk_wild_consider_section): Remember return value from wildcardp.
1048 (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
1049 (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
1050
1051 2005-04-06 Robert O'Callahan <rocallahan@novell.com>
1052
1053 * ld.h (lean_section_userdata_type): Remove.
1054 (fat_section_userdata_type): Remove file field.
1055 (SECTION_USERDATA_SIZE): Remove.
1056 * ldlang.c (init_os): Eliminate initialization of unused
1057 lean_section_userdata_type.
1058
1059 * ldlang.h (callback_t, walk_wild_section_handler_t): New
1060 typedefs.
1061 (struct lang_wild_statement_struct): Add walk_wild_section_handler
1062 and handler_data fields.
1063 * ldlang.c (callback_t): Removed.
1064 (walk_wild_consider_section, walk_wild_section_general,
1065 section_iterator_callback, find_section, is_simple_wild,
1066 match_simple_wild, walk_wild_section_specs1_wild0,
1067 walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
1068 walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
1069 wild_spec_can_overlap, analyze_walk_wild_section_handler): New
1070 functions.
1071 (lang_add_wild): Call analyze_walk_wild_section_handler.
1072 (walk_wild_section): Renamed to walk_wild_section_general and
1073 created a wrapper function.
1074 (section_iterator_callback_data): New typedef.
1075
1076 2005-04-04 Nick Clifton <nickc@redhat.com>
1077
1078 * configure.in: Add a check for <unistd.h> providing a prototype
1079 for getopt() which is compatible with the one in
1080 include/getopt.h. If so then define HAVE_DECL_GETOPT.
1081 * configure: Regenerate.
1082 * config.in (HAVE_DECL_GETOPT): Add.
1083 * ldemul.c: Include config.h
1084 * lexsup.c: Likewise.
1085 * emultempl/elf32.sc: Likewise.
1086
1087 2005-03-29 Alan Modra <amodra@bigpond.net.au>
1088
1089 * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
1090 New function, extracted from static void gld${EMULATION_NAME}_finish.
1091 (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
1092 (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
1093 * emultempl/ppc64elf.em: Revert last change.
1094 (ppc_layout_sections_again): Use
1095 gld${EMULATION_NAME}_layout_sections_again.
1096 (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call
1097 gld${EMULATION_NAME}_strip_empty_sections and
1098 gld${EMULATION_NAME}_provide_init_fini_syms.
1099 * emultempl/hppaelf.em: Similarly.
1100
1101 2005-03-29 Alan Modra <amodra@bigpond.net.au>
1102
1103 * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs.
1104 (ppc_finish): Don't call bfd_elf_discard_info.
1105 * emultempl/hppaelf.em: Similarly.
1106
1107 2005-03-24 Nick Clifton <nickc@redhat.com>
1108
1109 * po/fr.po: Updated French translation.
1110
1111 2005-03-23 Mike Frysinger <vapier@gentoo.org>
1112 Nick Clifton <nickc@redhat.com>
1113
1114 * configure.host: Accept any C library to accompany a GNU Linux
1115 implementation, not just the GNU C library.
1116 * configure.tgt: Likewise.
1117 * emultempl/elf32.em: Likewise.
1118
1119 2005-03-22 H.J. Lu <hongjiu.lu@intel.com>
1120
1121 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
1122 (gld${EMULATION_NAME}_finish): Call
1123 gld${EMULATION_NAME}_provide_bound_symbols to provide
1124 __preinit_array_start, __preinit_array_end, __init_array_start,
1125 __init_array_end, __fini_array_start and __fini_array_end.
1126
1127 * scripttempl/elf.sc: Don't provide __preinit_array_start,
1128 __preinit_array_end, __init_array_start, __init_array_end,
1129 __fini_array_start nor __fini_array_end.
1130
1131 2005-03-23 Alan Modra <amodra@bigpond.net.au>
1132
1133 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
1134 SEC_EXCLUDE on .gnu.warning sections.
1135
1136 2005-03-22 Alan Modra <amodra@bigpond.net.au>
1137
1138 * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
1139
1140 2005-03-21 Alan Modra <amodra@bigpond.net.au>
1141
1142 * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
1143 function.
1144 (LDEMUL_AFTER_ALLOCATION): Define.
1145
1146 2005-03-21 Alan Modra <amodra@bigpond.net.au>
1147
1148 * emultempl/ppc64elf.em (ppc_finish): Rename from
1149 gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish.
1150 (LDEMUL_FINISH): Update.
1151 * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
1152 * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
1153
1154 2005-03-18 Julian Brown <julian@codesourcery.com>
1155
1156 * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
1157 .rel.fini_array.
1158 (.rela.dyn): Add .rela.init_array, .rela.fini_array.
1159 (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
1160
1161 2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
1162
1163 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
1164 bfd_section when removing unused empty output sections for
1165 non-relocatable link.
1166
1167 2005-03-19 Alan Modra <amodra@bigpond.net.au>
1168
1169 * ldlang.c (lang_insert_orphan): Use old section_tail rather than
1170 traversing the bfd section list to find pointer to new section.
1171
1172 2005-03-18 Alan Modra <amodra@bigpond.net.au>
1173
1174 * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
1175 input sections into .sdata and .sbss output respectively.
1176
1177 2005-03-16 David Heine <dlheine@tensilica.com>
1178 Bob Wilson <bob.wilson@acm.org>
1179
1180 * ldlang.c (IGNORE_SECTION): Remove check for zero size.
1181 (lang_check_section_addresses): Ignore zero size sections here.
1182
1183 2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
1184
1185 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
1186 unused empty output sections for non-relocatable link.
1187
1188 * ld.h (args_type): Remove gc_sections.
1189
1190 * ldlang.c (lang_mark_used_section): New.
1191 (lang_gc_sections): Use link_info.gc_sections instead of
1192 command_line.gc_sections.
1193 * ldmain.c (main): Likewise.
1194 * lexsup.c (parse_args): Likewise.
1195 * ldlang.c (lang_process): Call lang_mark_used_section.
1196
1197 * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
1198
1199 2005-03-16 Nick Clifton <nickc@redhat.com>
1200 Ben Elliston <bje@au.ibm.com>
1201
1202 * configure.in (werror): New switch: Add -Werror to the
1203 compiler command line. Enabled by default. Disable via
1204 --disable-werror.
1205 * configure: Regenerate.
1206
1207 2005-03-16 Alan Modra <amodra@bigpond.net.au>
1208
1209 * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
1210 (OTHER_RELRO_SECTIONS): Set this instead.
1211
1212 2005-03-15 Nick Clifton <nickc@redhat.com>
1213
1214 * NEWS: Add cutoff for changes in 2.16 release.
1215
1216 2005-03-15 Mikkel Krautz <krautz@gmail.com>
1217
1218 * configure.tgt (x86_64-elf): Add target.
1219
1220 2005-03-15 Alan Modra <amodra@bigpond.net.au>
1221
1222 * po/es.po: Commit new Spanish translation.
1223
1224 2005-03-14 Alan Modra <amodra@bigpond.net.au>
1225
1226 * ldexp.c (exp_fold_tree): Ensure return value is initialized.
1227 Tidy etree_assert case.
1228
1229 2005-03-14 Alan Modra <amodra@bigpond.net.au>
1230
1231 * po/tr.po: Commit new Turkish translation.
1232
1233 2005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
1234
1235 * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
1236 * Makefile.in: Regenerated.
1237 * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
1238
1239 2005-03-07 Nick Clifton <nickc@redhat.com>
1240
1241 * po/fr.po: Updated translation.
1242
1243 2005-03-05 Alan Modra <amodra@bigpond.net.au>
1244
1245 * po/ld.pot: Regenerate.
1246
1247 2005-03-02 Jan Beulich <jbeulich@novell.com>
1248
1249 * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
1250 * pe-dll.c (pe_dll_generate_implib): Likewise.
1251
1252 2005-02-24 Ben Elliston <bje@au.ibm.com>
1253
1254 * ldfile.c: Remove GNU960 conditional code.
1255 * emultempl/gld960.em: Likewise.
1256 * emultempl/gld960c.em: Likewise.
1257 * emultempl/lnk960.em: Likewise.
1258
1259 2005-02-24 Nick Clifton <nickc@redhat.com>
1260
1261 * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
1262 empty string from calls to concat.
1263
1264 2005-02-23 Nick Clifton <nickc@redhat.com>
1265
1266 * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
1267 arguments passed to concat() with a NULL.
1268
1269 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
1270 define types needed by ldfile.h
1271
1272 2005-02-23 Alan Modra <amodra@bigpond.net.au>
1273
1274 * pe-dll.c: Warning fixes.
1275 * emultempl/sunos.em: Likewise.
1276
1277 2005-02-22 Daniel Jacobowitz <dan@codesourcery.com>
1278
1279 * ldlang.c (section_already_linked): Don't call
1280 bfd_section_already_linked for dynamic objects.
1281
1282 2005-02-22 Alan Modra <amodra@bigpond.net.au>
1283
1284 * ldexp.c: Warning fixes.
1285 * ldwrite.c: Likewise.
1286 * emultempl/elf32.em: Likewise.
1287
1288 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
1289
1290 * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
1291 tic54x input only.
1292 (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
1293 and ECOFF output only.
1294
1295 2005-02-21 Alan Modra <amodra@bigpond.net.au>
1296
1297 * config.in: Regenerate.
1298 * configure: Regenerate.
1299
1300 2005-02-17 Zack Weinberg <zack@codesourcery.com>
1301
1302 * ldexp.c (assigning_to_dot): New global flag.
1303 (fold_name): If assigning_to_dot is true, object immediately to
1304 an undefined symbol.
1305 (exp_fold_tree): Set and clear assigning_to_dot around the
1306 recursive call to exp_fold_tree to process the right-hand side
1307 of an assignment to the location counter.
1308
1309 2005-02-17 Paul Brook <paul@codesourcery.com>
1310
1311 * scripttempl/armbpabi.sc: Add dummy name to version block.
1312
1313 2005-02-17 Alan Modra <amodra@bigpond.net.au>
1314
1315 * ldexp.c (new_abs): Init new.str.
1316
1317 2005-02-15 Mark Mitchell <mark@codesourcery.com>
1318
1319 * configure.in (AC_CHECK_FUNCS): Add glob.
1320 * configure: Regenerated.
1321 * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
1322 not defined.
1323 (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
1324 if HAVE_GLOB is not defined.
1325
1326 2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1327
1328 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
1329 lib_path if NATIVE is yes.
1330
1331 2005-02-16 Alan Modra <amodra@bigpond.net.au>
1332
1333 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
1334 an error creating fake bfd fatal.
1335 (ppc_before_allocation): Continue on after errors.
1336 (gld${EMULATION_NAME}_finish): Likewise.
1337
1338 2005-02-15 Nick Clifton <nickc@redhat.com>
1339
1340 * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
1341 not declared. It is not used and its presence causes a compile
1342 time warning.
1343
1344 2005-02-11 Zack Weinberg <zack@codesourcery.com>
1345
1346 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
1347 If st.st_ino is zero, do not treat the library as a duplicate.
1348
1349 2005-02-10 Jakub Jelinek <jakub@redhat.com>
1350
1351 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1352 Set BFD_LINKER_CREATED on the stubs bfd.
1353 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
1354 Likewise.
1355
1356 2005-02-08 Mark Mitchell <mark@codesourcery.com>
1357
1358 * scripttempl/armbpabi.sc (VERSION): Make special section symbols
1359 local.
1360 (Image$$ER_RO$$Base): Define whenever RELOCATING.
1361 (Image$$ER_RO$$Limit): Likewise.
1362 (SHT$$INIT_ARRAY$$Base): Likewise.
1363 (SHT$$INIT_ARRAY$$Limit): Likeise.
1364
1365 2005-02-10 Ben Elliston <bje@au.ibm.com>
1366
1367 * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
1368
1369 2005-02-08 Richard Sandiford <rsandifo@redhat.com>
1370
1371 * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
1372 to include o32 and n64 emulations.
1373 (mips64*-*-linux-gnu*): Likewise.
1374
1375 2005-02-08 Hans-Peter Nilsson <hp@axis.com>
1376
1377 * ldmain.c (warning_callback, warning_find_reloc): Prepend
1378 "warning: " to warning messages.
1379
1380 2005-02-04 Alan Modra <amodra@bigpond.net.au>
1381
1382 * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
1383 look up symbol for etree_provide here.
1384
1385 2005-02-02 Daniel Jacobowitz <dan@codesourcery.com>
1386
1387 * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
1388
1389 2005-02-01 Edward Welbourne <eddy@opera.com>
1390 Nick Clifton <nickc@redhat.com>
1391
1392 * ld.texinfo (Source Code Reference): New node describing how to
1393 access linker script defined variables from source code.
1394
1395 2005-02-01 Alan Modra <amodra@bigpond.net.au>
1396
1397 * ld.texinfo: Clarify --as-needed operation.
1398
1399 2005-01-31 Andrew Cagney <cagney@gnu.org>
1400
1401 * configure: Regenerate to track ../gettext.m4.
1402
1403 2005-01-31 Nick Clifton <nickc@redhat.com>
1404
1405 * ldver.c (ldversion): Bump reported copyright date to 2005.
1406
1407 2005-01-31 Nick Clifton <nickc@redhat.com>
1408
1409 * configure.tgt: Remove obsolete targets m68k-lynxos and
1410 sparc-lynxos.
1411
1412 2005-01-28 Julian Brown <julian@codesourcery.com>
1413
1414 * emultempl/armelf.em (fix_v4bx): New variable.
1415 (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
1416 value to bfd.
1417 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
1418 (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
1419 (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
1420 (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
1421 * NEWS: Mention --fix-v4bx.
1422 * ld.texinfo: Document --fix-v4bx.
1423
1424 2005-01-25 Mark Mitchell <mark@codesourcery.com>
1425
1426 * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
1427 as to include .ARM.exidx$${Base,Limit}.
1428 * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
1429 Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
1430 Put .init_array, .fini_array, etc. into the read-only data
1431 segment.
1432
1433 2005-01-25 Alan Modra <amodra@bigpond.net.au>
1434
1435 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
1436 (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
1437 only needed by an as-needed lib that didn't get linked.
1438
1439 2005-01-23 Alan Modra <amodra@bigpond.net.au>
1440
1441 * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
1442 __DTOR_LIST__ description.
1443
1444 2005-01-23 Alan Modra <amodra@bigpond.net.au>
1445
1446 * ld.texinfo (Location Counter <dot outside sections>): Document
1447 effects of orphan section placement, and ". = ." workaround.
1448 * Makefile.in: Regenerate.
1449
1450 2005-01-22 Richard Sandiford <rsandifo@redhat.com>
1451
1452 * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
1453 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
1454
1455 2005-01-21 Jakub Jelinek <jakub@redhat.com>
1456
1457 * ldgram.y (AS_NEEDED): New token.
1458 (input_list): Handle AS_NEEDED ( input_list ).
1459 * ldlex.l (AS_NEEDED): Add.
1460 * ld.texinfo: Document AS_NEEDED ().
1461 * NEWS: Mention AS_NEEDED ().
1462
1463 2005-01-21 Ben Elliston <bje@au.ibm.com>
1464
1465 * ldlang.c (lang_reasonable_defaults): Remove.
1466 (lang_process): Don't call lang_reasonable_defaults.
1467
1468 * ldexp.c (exp_assop): Remove #if 0'd code.
1469 (exp_print_tree): Likewise.
1470 * ldlang.c (lang_memory_region_lookup): Likewise.
1471 (open_output): Likewise.
1472 (lang_do_assignments_1): Likewise.
1473 (lang_place_orphans): Likewise.
1474 (lang_enter_output_section_statement): Likewise.
1475 (lang_reasonable_defaults): Likewise.
1476 * ldlang.h (struct lang_input_statement_struct): Likewise.
1477 * mri.c (mri_draw_tree): Likewise.
1478 (mri_load): Likewise.
1479 * pe-dll.c (generate_reloc): Likewise.
1480 (make_import_fixup_entry): Likewise.
1481 (pe_as16): Likewise.
1482 * emultempl/beos.em (set_pe_subsystem): Likewise.
1483 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
1484 * emultempl/pe.em: Likewise.
1485 * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
1486
1487 2005-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1488
1489 * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
1490 (earmelfb_linux_eabi.c): New target.
1491 * Makefile.in: Regenerated.
1492 * configure.tgt (arm*b-*-linux-gnueabi): New target.
1493 * emulparams/armelfb_linux_eabi.sh: New file.
1494
1495 2005-01-20 Nick Hudson <skrll@netbsd.org>
1496
1497 PR ld/676
1498 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1499 Handle bfd_elf32_hppa_nbsd_vec.
1500
1501 2005-01-19 Richard Sandiford <rsandifo@redhat.com>
1502
1503 * ldmain.h (ld_sysroot): Change type to a constant string.
1504 * ldmain.c (ld_sysroot): Likewise.
1505 (get_relative_sysroot, get_sysroot): New functions, adding command-line
1506 support for changing the sysroot.
1507 (main): Call the new functions.
1508 * lexsup.c (OPTION_SYSROOT): New.
1509 (ld_options): Add --sysroot.
1510 (parse_args): Add a dummy handler for it.
1511 * ld.texinfo (--sysroot): Document.
1512 * NEWS: Mention the new --sysroot option.
1513
1514 2005-01-18 Alan Modra <amodra@bigpond.net.au>
1515
1516 * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
1517 (lang_place_orphans): Don't abort on just_syms_flag, instead call
1518 bfd_link_just_syms.
1519
1520 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
1521
1522 * defilep.y (def_name, def_library): Combine into...
1523 (def_image_name): New function. Strip name to basename,
1524 with warning.
1525
1526 2005-01-12 Mark Kettenis <kettenis@gnu.org>
1527
1528 * configure.in: Be sure to invoke config.sub using the shell.
1529 * configure: Regenerate.
1530
1531 2005-01-11 Alan Modra <amodra@bigpond.net.au>
1532
1533 * configure.host: Correct sed patterns for last change.
1534
1535 2005-01-10 Nick Clifton <nickc@redhat.com>
1536
1537 PR binutils/609
1538 * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this
1539 to determine whether config.make_executable should be set to FALSE in
1540 conjunction with config.fatal_warnings.
1541 (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
1542 (einfo): Pass TRUE as the extra argument.
1543
1544 2005-01-10 Greg Schaffer <gschafer@zip.com.au>
1545
1546 * configure.host (linux targets): Use "${CC} -dumpspecs" instead
1547 of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
1548 (ia64-*-aix): Delete - this target is obsolete, and would be
1549 broken by this patch.
1550
1551 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
1552
1553 * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
1554 (sparc64-sun-solaris2*): New host.
1555
1556 2005-01-06 Paul Brook <paul@codesourcery.com>
1557
1558 * Makefie.am: Add earmelf_vxworks.
1559 * Makefile.in: Regenerate.
1560 * configure.tgt: Make arm-*-vxworks a separate case.
1561 * emulparams/armelf_vxworks.sh: New function.
1562
1563 2005-01-06 Alan Modra <amodra@bigpond.net.au>
1564
1565 * emultempl/ppc64elf.em (no_multi_toc): New var.
1566 (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
1567 (OPTION_NO_MULTI_TOC): Define.
1568 (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
1569 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
1570
1571 2005-01-05 Nick Clifton <nickc@redhat.com>
1572
1573 PR binutils/614
1574 * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
1575 Standard's specification for parsable error messages.
1576
1577 2005-01-04 Paul Brook <paul@codesourcery.com>
1578
1579 * Makefile.am: Correct dependency for earmsymbian.c.
1580 * Makefile.in: Regenerate.
1581
1582 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
1583
1584 * emultempl/pe.em (set_pe_subsystem): Change second arg to
1585 lang_add_entry to FALSE.
1586
1587 2004-12-23 Nick Clifton <nickc@redhat.com>
1588
1589 PR 600
1590 * emulparams/shelf.sh (.stack): Increase stack start address to
1591 0x300000.
1592
1593 2004-12-20 Nick Clifton <nickc@redhat.com>
1594
1595 * ldmain.c (main): Issue an error message if -static and -shared
1596 are used together.
1597
1598 2004-12-17 Jakub Jelinek <jakub@redhat.com>
1599
1600 * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
1601 * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
1602 * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
1603 address space at DATA_SEGMENT_ALIGN. Fix computation of expected
1604 PT_GNU_RELRO segment end.
1605
1606 2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
1607
1608 * configure.tgt: Add s390x-ibm-tpf support.
1609
1610 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
1611
1612 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
1613 BFD.
1614
1615 2004-12-07 Ben Elliston <bje@gnu.org>
1616
1617 * ldemul.h: Forward declare struct option.
1618
1619 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
1620
1621 * scripttempl/pe.sc (.data): Add .jcr subsection.
1622
1623 2004-11-30 Paul Brook <paul@codesourcery.com>
1624
1625 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
1626
1627 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
1628
1629 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
1630 * Makefile.in: Regenerate.
1631
1632 2004-11-26 Melissa Mears <asterisk@graces.dricas.com>
1633
1634 * emultempl/pe.em: Add --subsystem:xbox as well as
1635 --subsystem:%d.
1636 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
1637 and numeric subsystems.
1638
1639 2004-11-24 Alan Modra <amodra@bigpond.net.au>
1640
1641 * ldexp.c (fold_name): Correct PR 338 fix.
1642
1643 2004-11-19 Mark Mitchell <mark@codesourcery.com>
1644
1645 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
1646 (earmelf_linux_eabi.c): New target.
1647 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
1648 * emulparams/armelf_linux_eabi.sh: New file.
1649 * Makefile.in: Regenerated.
1650
1651 2004-11-19 Nick Clifton <nickc@redhat.com>
1652
1653 PR 518
1654 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
1655 LENGTH fields in the MEMORY command, to explicitly state that
1656 symbols cannot be used in their expressions.
1657
1658 2004-11-19 Jon Beniston <jon@beniston.com>
1659
1660 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
1661 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
1662 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
1663 which return the length and origin of a memory.
1664 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
1665 * NEWS: Mention support for ORIGIN and LENGTH operators.
1666
1667 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
1668
1669 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
1670 a dynamic object for stubs.
1671
1672 2004-11-04 Paul Brook <paul@codesourcery.com>
1673
1674 * ld.texinfo: Document --default-imported-symver.
1675 * ldmain.c (main): Set link_info.default_imported_symver.
1676 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
1677 (ld_options): Add --default-imported-symver.
1678 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
1679
1680 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
1681 Vineet Sharma <vineets@noida.hcltech.com>
1682
1683 * Makefile.am: Add entries for new maxq-coff target.
1684 * Makefile.in: Regenerate.
1685 * configure.tgt: Add support for maxq.
1686 * emulparams/maxqcoff.sh: New File.
1687 * scripttempl/maxqcoff.sc: New linker script for target maxq.
1688 * NEWS: Mention the new target.
1689
1690 2004-11-04 Daniel Jacobowitz <dan@debian.org>
1691
1692 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
1693 (earmelf_oabi.c): Remove rule.
1694 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
1695 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
1696 * Makefile.in: Regenerated.
1697
1698 2004-11-04 Hans-Peter Nilsson <hp@axis.com>
1699
1700 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
1701 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
1702 (FINI_START): Ditto.
1703 (INIT_END): Remove emitted "jump [sp+]".
1704 (FINI_END): Ditto.
1705
1706 2004-11-04 Alan Modra <amodra@bigpond.net.au>
1707
1708 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
1709 (no_opd_opt, no_toc_opt): New static vars.
1710 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
1711 ppc64_elf_edit_toc.
1712 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
1713 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
1714 (PARSE_AND_LIST_OPTIONS): Describe new options.
1715 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1716
1717 2004-10-27 Nick Clifton <nickc@redhat.com>
1718
1719 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
1720 parameter to invocation of lang_section_start.
1721 * emultempl/aix.em (_handle_option): Likewise.
1722
1723 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
1724 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
1725 * Makefile.in: Regenerate.
1726
1727 2004-10-26 Mark Mitchell <mark@codesourcery.com>
1728
1729 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
1730 __exidx_{start,end} when not relocating.
1731
1732 2004-10-25 Mark Mitchell <mark@codesourcery.com>
1733
1734 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
1735 * ldexp.h (segment_type): New type.
1736 (segments): New variable.
1737 * ldexp.c (segments): New variable.
1738 (exp_print_token): Handle SEGMENT_START.
1739 (fold_binary): Likewise.
1740 * ldgram.y (SEGMENT_START): Declare it as a token.
1741 (exp): Handle SEGMENT_START.
1742 * ldlang.h (lang_address_statement_type): Add segment field.
1743 (lang_section_start): Change prototype.
1744 * ldlang.c (map_input_to_output_sections): Do not process section
1745 assignments if a corresponding SEGMENT_START has already been
1746 seen.
1747 (lang_section_start): Add segment parameter.
1748 * ldlex.l (SEGMENT_START): Add it.
1749 * lexsup.c (seg_segment_start): New function.
1750 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
1751 * ld.texinfo (SEGMENT_START): Document it.
1752 * emulparams/armsymbian.sh (EMBEDDED): Set it.
1753 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
1754 base addresses. Do not map relocations.
1755 * NEWS: Mention SEGMENT_START.
1756
1757 2004-10-26 Paul Brook <paul@codesourcery.com>
1758
1759 * ld.texinfo: Document --default-symver.
1760 * ldmain.c (main): Set link_info.create_default_symver.
1761 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
1762 (ld_options): Add default-symver.
1763 (parse_args): Handle OPTION_DEFAULT_SYMVER.
1764
1765 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
1766
1767 * pe-dll.c (process_def_file): Don't export all symbols by default if
1768 building a position-independent executable.
1769
1770 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
1771
1772 PR 463
1773 * ldmain.c (reloc_overflow): Accept a pointer to struct
1774 bfd_link_hash_entry. Report symbol location for relocation
1775 overflow.
1776
1777 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
1778
1779 * genscripts.sh (libpath.exp): Really generate for first
1780 emulation only.
1781
1782 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
1783
1784 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
1785 comparison and replacement of filenames.
1786
1787 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
1788
1789 PR 459
1790 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
1791 option on linker script as the one for linker script.
1792
1793 2004-10-16 Daniel Jacobowitz <dan@debian.org>
1794
1795 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
1796 (check_excluded_libs): New.
1797 (load_symbols): Call check_excluded_libs.
1798 * ldlang.h (add_excluded_libs): New prototype.
1799 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
1800 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
1801 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
1802 * ld.texinfo (Command Line Variables): Document --exclude-libs.
1803 (Options Specific to i386 PE Targets): Remove --exclude-libs.
1804
1805 2004-10-15 Alan Modra <amodra@bigpond.net.au>
1806
1807 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
1808 failing link script assert.
1809
1810 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
1811
1812 2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
1813
1814 PR 445
1815 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
1816 (SMALL_DATA_DTOR): Set.
1817 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
1818 (SMALL_DATA_DTOR): Unset.
1819 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
1820 after .data. If SMALL_DATA_DTOR is set, move .dtors after
1821 .data.
1822
1823 2004-10-14 Alan Modra <amodra@bigpond.net.au>
1824
1825 PR 63
1826 * ldlang.h (lang_output_section_statement_type): Make "next" a
1827 struct lang_output_section_statement_struct *.
1828 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
1829 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
1830 * ldlang.c (lang_output_section_find_1): Adjust for changed
1831 output_section_statement "next".
1832 (strip_excluded_output_sections): Likewise.
1833 (lang_record_phdrs): Likewise.
1834 (lang_output_section_find_by_flags): New function.
1835 (output_prev_sec_find): Move from pe.em. Adjust iterator.
1836 (lang_insert_orphan): New function. Tail end of elf32.em's
1837 place_orphan merged with that from pe.em. Allow bfd_section to
1838 be placed first. New heuristic for placing new output section
1839 statement in existing script, and accompanying split of __start
1840 symbol alignment into a separate assignment to dot.
1841 (lang_add_section): Consistently use output->bfd_section rather than
1842 an alias, section->output_section.
1843 (map_input_to_output_sections): Rename overly long arg. Move
1844 initialization of data_statement output section to here..
1845 (lang_check_section_addresses): ..from here.
1846 (print_assignment): Correct printing of etree_assert.
1847 (print_all_symbols): Don't bomb if userdata is NULL.
1848 (IGNORE_SECTION): Rearrange.
1849 * emultempl/elf32.em (output_rel_find): Adjust interator.
1850 (output_prev_sec_find): Delete.
1851 (struct orphan_save): Delete.
1852 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
1853 flags without creating a duplicate output section statement.
1854 Revise code holding history of various orphan section placements.
1855 Allow orphan sections to place before script specified output
1856 sections. Call lang_output_section_find_by_flags when placement
1857 by name fails. Use lang_insert_orphan.
1858 * emultempl/mmo.em (output_prev_sec_find): Delete.
1859 (struct orphan_save): Delete.
1860 (mmo_place_orphan): Revise code holding history of orphan placement.
1861 Allow orphans to place before existing output sections. Use
1862 lang_insert_orphan.
1863 * emultempl/pe.em (output_prev_sec_find): Delete.
1864 (struct orphan_save): Delete.
1865 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
1866 lang_insert_orphan.
1867
1868 2004-10-13 Mark Mitchell <mark@codesourcery.com>
1869
1870 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
1871 loadable segment.
1872
1873 2004-10-13 Alan Modra <amodra@bigpond.net.au>
1874
1875 PR 44
1876 * ldcref.c (check_section_sym_xref): Delete.
1877 (check_local_sym_xref): New function.
1878 (check_nocrossrefs): Adjust call.
1879 * emultempl/pe.em (struct orphan_save): Add os_tail.
1880 (place_orphan): Backport assorted fixes from elf32.em.
1881
1882 2004-10-12 Bob Wilson <bob.wilson@acm.org>
1883
1884 * emultempl/xtensaelf.em: Use ISO C90 formatting.
1885
1886 2004-10-11 Jakub Jelinek <jakub@redhat.com>
1887
1888 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
1889 getline for portability.
1890
1891 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
1892 (gld${EMULATION_NAME}_parse_ld_so_conf,
1893 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
1894 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
1895
1896 2004-10-11 Alan Modra <amodra@bigpond.net.au>
1897
1898 PR 423
1899 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
1900 rejected when linking statically.
1901
1902 2004-10-08 Daniel Jacobowitz <dan@debian.org>
1903
1904 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
1905
1906 2004-10-07 Bob Wilson <bob.wilson@acm.org>
1907
1908 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
1909 assembler-generated longcall sequences. Describe new --size-opt
1910 option.
1911 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
1912 * emultempl/xtensaelf.em (remove_section,
1913 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
1914 elf_xtensa_after_open): New.
1915 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
1916 OPTION_NO_LITERAL_MOVEMENT): Define.
1917 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
1918 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
1919 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
1920 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
1921 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
1922 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
1923 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
1924 * Makefile.am (eelf32xtensa.c): Update dependencies.
1925 * Makefile.in: Regenerate.
1926
1927 2004-10-07 Jeff Baker <jbaker@qnx.com>
1928
1929 * lexsup.c: Handle --warn-shared-textrel option.
1930 (ld_options): Restore alpha sorting of options.
1931 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
1932 * ld.texinfo: Add documentation for --warn-shared-textrel.
1933 * NEWS: Added mention of --warn-shared-textrel option.
1934
1935 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
1936
1937 * emultempl/crxelf.em (disable_relaxation): Add.
1938 (crxelf_before_allocation): Enable --relax option by default.
1939 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
1940 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
1941 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
1942
1943 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
1944
1945 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
1946 --sort-section name|alignment.
1947
1948 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
1949 --sort-section name|alignment.
1950
1951 * ld.h (sort_type): New enum.
1952 (wildcard_spec): Change the type of `sorted' to sort_type.
1953
1954 * ldgram.y (SORT): Removed.
1955 (SORT_BY_NAME): Added.
1956 (SORT_BY_ALIGNMENT): Added.
1957 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
1958 SORT_BY_ALIGNMENT.
1959 (input_section_spec_no_keep): Updated `sorted'.
1960 (statement): Replace SORT with SORT_BY_NAME.
1961
1962 * ldlang.c (compare_section): New function to compare 2
1963 sections with different sorting schemes.
1964 (wild_sort): Updated. Use compare_section.
1965 (update_wild_statements): New function.
1966 (lang_process): Call update_wild_statements before
1967 map_input_to_output_sections.
1968
1969 * ldlex.l (SORT_BY_NAME): New.
1970 (SORT_BY_ALIGNMENT): New.
1971 (SORT): Return SORT_BY_NAME.
1972
1973 * ldmain.c (sort_section): New. Defined.
1974 (main): Initialize it to none.
1975
1976 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
1977 (ld_options): Add an entry for OPTION_SORT_SECTION.
1978 (parse_args): Handle OPTION_SORT_SECTION.
1979
1980 * mri.c (mri_draw_tree): Updated `sorted'.
1981
1982 2004-10-04 Jakub Jelinek <jakub@redhat.com>
1983
1984 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
1985 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
1986 argument.
1987 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
1988 and . as second argument.
1989 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
1990 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
1991 (fold_binary): Add it here. Insert padding to make relro_end
1992 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
1993 exp_dataseg_relro_adjust phase just use previously computed
1994 exp_data_seg.base.
1995 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
1996 relro_adjust here. Call lang_size_sections_1 once more if there
1997 was too big padding at DATA_SEGMENT_RELRO_END.
1998 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
1999
2000 2004-10-01 Paul Brook <paul@codesourcery.com>
2001
2002 * emulparams/armelf.sh: Add unwinding table sections.
2003
2004 2004-09-30 Filip Navara <navaraf@reactos.com>
2005
2006 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
2007 correct base address for position independant executables.
2008 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
2009 executables as DLLs.
2010
2011 2004-09-30 Paul Brook <paul@codesourcery.com>
2012
2013 * ld.texinfo: Document --target2=abs.
2014 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
2015
2016 2004-09-29 Nick Clifton <nickc@redhat.com>
2017
2018 * scripttempl/xstormy16.sc: Only perform the assignments to the
2019 ROM region when not performing a relocatable link. The ROM region
2020 does not start at address 0, but the sections will.
2021 * Makefile.am: Fix linker script dependency for the generation of
2022 eelf32xstormy16.c.
2023 * Makefile.in: Regenerate.
2024
2025 2004-09-18 Filip Navara <navaraf@reactos.com>
2026
2027 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
2028 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
2029 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
2030 TARGET_PAGE_SIZE.
2031 * scripttempl/pe.sc: Make the virtual address and file offset synced if
2032 the alignment is lower than the target page size.
2033
2034 2004-09-27 Filip Navara <navaraf@reactos.com>
2035
2036 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
2037 def_file_parse to handle pe_def_file if NULL and prevent crash with
2038 invalid .def files.
2039
2040 2004-09-27 Alan Modra <amodra@bigpond.net.au>
2041
2042 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
2043 --emit-stub-syms automatically when --emit-relocs.
2044
2045 2004-09-24 Paul Brook <paul@codeosurcery.com>
2046
2047 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
2048 .fini_array sections.
2049
2050 2004-09-19 Andreas Schwab <schwab@suse.de>
2051
2052 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
2053 base so that relro end is suitably aligned.
2054
2055 2004-09-17 Paul Brook <paul@codesourcery.com>
2056
2057 * ld.texinfo: Rename arm-specific section. Document --target*
2058 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
2059 * emulparams/armelf_linux.sh: Ditto.
2060 * emulparams/armelf_nbsd.sh: Ditto.
2061 * emultempl/armelf.em: Set default for TARGET2_TYPE.
2062 (target2_type): New variable.
2063 (arm_elf_before_allocation): Don't pass target1_type.
2064 (arm_elf_create_output_section_statements): New function.
2065 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
2066 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
2067 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
2068 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
2069 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
2070 argument to bfd_elf32_arm_process_before_allocation.
2071
2072 2004-09-17 Alan Modra <amodra@bigpond.net.au>
2073
2074 * ldexp.c (fold_name): Update u.undef.next refs.
2075 * emultempl/pe.em: Likewise.
2076 * emultempl/sunos.em: Likewise.
2077
2078 2004-09-17 Alan Modra <amodra@bigpond.net.au>
2079
2080 * Makefile.am: Run "make dep-am".
2081 * Makefile.in: Regenerate.
2082 * config.in: Regenerate.
2083 * configure: Regenerate.
2084 * aclocal.m4: Regenerate.
2085 * po/ld.pot: Regenerate.
2086
2087 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
2088
2089 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
2090 (.fini): Likewise.
2091 (.jcr): Likewise.
2092
2093 2004-09-16 Alan Modra <amodra@bigpond.net.au>
2094
2095 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
2096 to bfd_elf32_arm_process_before_allocation call.
2097
2098 2004-09-13 Paul Brook <paul@codesourcery.com>
2099
2100 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
2101 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
2102
2103 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
2104
2105 * configure: Regenerated with autconfig 2.13.
2106
2107 2004-09-07 Andreas Schwab <schwab@suse.de>
2108
2109 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
2110 alignment before adjusting DATA_SEGMENT_RELRO_END.
2111
2112 2004-09-06 Mark Mitchell <mark@codesourcery.com>
2113
2114 * emulparams/armsymbian.sh: Use armbpabi script.
2115 * scripttempl/armbpabi.sc: New script.
2116
2117 2004-09-02 Mark Mitchell <mark@codesourcery.com>
2118
2119 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
2120 (earmsymbian.c): New target.
2121 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
2122 * Makefile.in: Regenerated.
2123 * aclocal.m4: Likewise.
2124 * configure: Likewise.
2125 * emulparams/armsymbian.sh: New file.
2126
2127 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
2128
2129 * scripttempl/elf32crx.sc: Edit file with comments.
2130 (.init): Add new section.
2131 (.fini): Likewise.
2132 (.ctor): Control the linkage order.
2133 (.dtor): Likewise.
2134
2135 2004-08-27 Nick Clifton <nickc@redhat.com>
2136
2137 * emultempl/pe.em (after_open): Do not assume that either bfd is
2138 an archive.
2139
2140 2004-08-26 Alan Modra <amodra@bigpond.net.au>
2141
2142 * ldlang.c (lang_init): Don't compare with TRUE.
2143
2144 2004-08-25 Dmitry Diky <diwil@spec.ru>
2145
2146 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
2147 * scripttempl/elf32msp430.sc: Add .profiler section definition.
2148
2149 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
2150
2151 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
2152
2153 2004-08-19 Mark Mitchell <mark@codesourcery.com>
2154
2155 * configure.tgt (arm*-*-symbianelf*): New target.
2156 (arm*-*-eabi*): Likewise.
2157
2158 2004-08-19 Jakub Jelinek <jakub@redhat.com>
2159
2160 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
2161 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
2162 (OPTION_NON_OVERLAPPING_OPD): Define.
2163 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
2164 --non-overlapping-opd option.
2165
2166 2004-08-18 Alan Modra <amodra@bigpond.net.au>
2167
2168 PR 338
2169 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
2170 was already on the undefs list.
2171
2172 2004-08-17 Alan Modra <amodra@bigpond.net.au>
2173
2174 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
2175 prefix the symbol field too.
2176
2177 2004-08-13 Alan Modra <amodra@bigpond.net.au>
2178
2179 * ldmain.c (link_callbacks): Remove "error_handler".
2180 * ldmisc.c: Include elf-bfd.h.
2181 (vfinfo): Sort comment. Handle %A. Use %A instead of
2182 bfd_get_section_indent.
2183 (error_handler): Delete.
2184 * ldmisc.h (error_handler): Delete declaration.
2185
2186 2004-08-10 Alan Modra <amodra@bigpond.net.au>
2187
2188 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
2189 ppc64_elf_restore_symbols.
2190
2191 2004-08-09 Alan Modra <amodra@bigpond.net.au>
2192
2193 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
2194 .toc is too large on relocatable linking.
2195
2196 2004-08-09 Alan Modra <amodra@bigpond.net.au>
2197
2198 * emultempl/ppc64elf.em (ppc_after_open): Delete.
2199 (LDEMUL_AFTER_OPEN): Don't define.
2200
2201 2004-08-02 Stephane Carrez <stcarrez@nerim.fr>
2202
2203 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
2204
2205 2004-08-01 Stephane Carrez <stcarrez@nerim.fr>
2206
2207 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
2208 on power of 2.
2209
2210 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
2211
2212 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2213
2214 2004-07-26 Dmitry Diky <diwil@spec.ru>
2215
2216 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
2217 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
2218 msp430xG439.
2219 * configure.tgt: Likewise.
2220 * emulparams/msp430all.sh: Likewise.
2221 * Makefile.in: Regenerate.
2222
2223 2004-07-23 Nick Clifton <nickc@redhat.com>
2224
2225 * emultempl/elf32.em (_place_orphan): Use an already existing
2226 section name if that section does not have any flags set.
2227
2228 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
2229
2230 * ldlang.c (already_linked_hash_entry): Removed.
2231 (already_linked): Likewise.
2232 (already_linked_table): Likewise.
2233 (section_already_linked): Call bfd_section_already_linked.
2234 (lang_process): Replace already_linked_table_init with
2235 bfd_section_already_linked_table_init and check return. Replace
2236 already_linked_table_free with bfd_section_already_linked_table_free.
2237
2238 2004-07-21 Nick Clifton <nickc@redhat.com>
2239
2240 * ldlang.c (init_os): Make sure that the newly allocated userdata
2241 structure is zeroed out.
2242
2243 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
2244
2245 * NEWS: Mention the new --add-needed/--no-add-needed and
2246 --as-needed/--no-as-needed options.
2247
2248 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
2249
2250 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
2251 check the add_needed field.
2252 (dt_needed): New struct.
2253 (gld${EMULATION_NAME}_try_needed): Change the first argument
2254 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
2255 bit in the file where the DT_NEEDED entry comes from.
2256 (gld${EMULATION_NAME}_search_needed): Change the second
2257 argument to a pointer to struct dt_needed.
2258 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
2259 (gld${EMULATION_NAME}_after_open): Likewise.
2260
2261 * ld.texinfo: Add --add-needed document.
2262 * ldlang.c (new_afile): Set p->add_needed.
2263 * ldlang.h (lang_input_statement_type): Add add_needed field.
2264 * ldmain.h (add_needed): Declare.
2265 * ldmain.c (add_needed): New global var.
2266 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
2267 OPTION_NO_ADD_NEEDED.
2268 (ld_options): Likewise.
2269 (parse_args): Handle them.
2270
2271 2004-07-13 Christof Petig <christof@petig-baender.de>
2272
2273 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
2274 for endian-ness of extracted addend.
2275
2276 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
2277
2278 * pe-dll.c (auto_export): Filter on just the import prefix,
2279 "_imp_", not "_imp__".
2280
2281 2004-07-09 Nick Clifton <nickc@redhat.com>
2282
2283 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
2284
2285 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
2286
2287 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
2288 (eelf32crx.c): New target.
2289 * Makefile.in: Regenerate.
2290 * configure.tgt: Handle crx-*-elf*.
2291 * emulparams/elf32crx.sh: New file.
2292 * emultempl/crxelf.em: New file.
2293 * scripttempl/elf32crx.sc: New file.
2294 * NEWS: Mention new target.
2295
2296 2004-07-06 Nick Clifton <nickc@redhat.com>
2297
2298 * Makefile.am: Add eshlsymbian.c.
2299 * Makefile.in: Regenerate.
2300 * configure.tgt: Add sh*-symbian-elf target.
2301 * emulparams/shlsymbian.sh: New file. Configure the
2302 sh-symbian-elf linker scripts.
2303 * scripttemp/elf32sh-symbian.sc: New file. Linker script
2304 template for the sh-symbian-elf target.
2305
2306 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2307
2308 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
2309 * emulparams/hppalinux.sh: Likewise.
2310 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
2311 data segment and PLT_BEFORE_GOT is defined.
2312
2313 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2314
2315 * ld.texinfo (WIN32): Document PE weak symbols.
2316
2317 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2318
2319 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
2320
2321 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
2322
2323 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
2324 the section.
2325
2326 2004-06-29 Alan Modra <amodra@bigpond.net.au>
2327
2328 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
2329 size in rawsize.
2330
2331 2004-06-24 Alan Modra <amodra@bigpond.net.au>
2332
2333 * ldlang.c (print_output_section_statement): Don't print size before
2334 relaxation.
2335 (IGNORE_SECTION): Remove bfd arg. Update all callers.
2336
2337 * ldexp.c (fold_name): .. See below.
2338 * ldlang.c (section_already_linked, print_output_section_statement,
2339 print_input_section, insert_pad, size_input_section,
2340 lang_check_section_addresses, lang_size_sections_1,
2341 lang_size_sections, lang_do_assignments_1, lang_set_startof,
2342 lang_one_common, lang_reset_memory_regions, lang_process,
2343 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
2344 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
2345 * pe-dll.c (process_def_file, generate_reloc): ..
2346 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
2347 gld${EMULATION_NAME}_before_allocation): ..
2348 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
2349 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
2350 sh64_elf_${EMULATION_NAME}_after_allocation): ..
2351 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
2352 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
2353 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
2354 "size" instead of "_raw_size" and "_cooked_size". Expand
2355 bfd_section_size macro invocations.
2356
2357 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2358
2359 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
2360 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
2361 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
2362 ___crt_xt_end__.
2363 (.tls): Define ___tls_start__ and ___tls_end__.
2364
2365 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
2366
2367 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
2368
2369 2004-06-18 Adam Nemet <anemet@lnxw.com>
2370
2371 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
2372 * configure: Regenerate.
2373
2374 2004-06-15 Jakub Jelinek <jakub@redhat.com>
2375
2376 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
2377 .gcc_except_table output sections lost accidentally with
2378 -z relro patch.
2379
2380 2004-06-15 Alan Modra <amodra@bigpond.net.au>
2381
2382 * ldwrite.c (build_link_order): Use bfd_get_section_size
2383 instead of bfd_get_section_size_before_reloc or _raw_size.
2384 * pe-dll.c (process_def_file): Likewise.
2385
2386 2004-06-14 Alan Modra <amodra@bigpond.net.au>
2387
2388 From Richard Wirth <r.wirth@wirthware.de>
2389 * ldlang.c (lang_finish): Don't free lang_definedness_table.
2390
2391 2004-05-29 Alan Modra <amodra@bigpond.net.au>
2392
2393 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
2394 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
2395
2396 2004-05-28 Alan Modra <amodra@bigpond.net.au>
2397
2398 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
2399 throughout file.
2400 * lexsup.c: Formatting. Wrap long lines.
2401 * ldwrite.c: Update copyright date.
2402
2403 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
2404 (output_section_callback): Nor SEC_KEEP here.
2405 (gc_section_callback): Twiddle SEC_EXCLUDE here.
2406 (lang_gc_wild): Delete. Fold into..
2407 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
2408 collecting.
2409 (lang_process): Always call lang_gc_sections.
2410 (lang_place_orphans): Handle SEC_EXCLUDE sections.
2411 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
2412 SEC_EXCLUDE code.
2413
2414 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
2415
2416 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
2417 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
2418 * ldlang.c (lang_add_section): Likewise.
2419
2420 2004-05-26 Alan Modra <amodra@bigpond.net.au>
2421
2422 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
2423 sections when doing a final link. Clear SEC_EXCLUDE when doing
2424 a relocable link, except for SEC_DEBUGGING sections.
2425 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
2426 same condition here to drop SEC_EXCLUDE orphan sections.
2427
2428 2004-05-25 Alan Modra <amodra@bigpond.net.au>
2429
2430 * ldlang.c (lang_process): Call bfd_merge_sections later, and
2431 only when not a relocatable link.
2432 (print_input_section): Handle SEC_EXCLUDE sections.
2433 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
2434 (lang_do_assignments_1): Likewise.
2435 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
2436 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
2437 * emultempl/hppaelf.em (build_section_lists): Likewise.
2438 * emultempl/ppc64elf.em (build_toc_list): Likewise.
2439 (build_section_lists): Likewise.
2440
2441 2004-05-23 Andreas Schwab <schwab@suse.de>
2442
2443 * ld.texinfo (Options): Fix typo in last change.
2444
2445 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
2446
2447 * ld.h (ld_config_type): Add new field: hash_table_size.
2448 * ldmain.c: Initialise the new field to zero. If it is non-zero
2449 after parsing the linker's command line call
2450 bfd_hash_set_default_size.
2451 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
2452 (ld_options): Add hash-size.
2453 (parse_args): Parse --hash-size option. Allow
2454 --reduce-memory-overheads to set the default hash table size as
2455 well.
2456 * ld.texinfo: Document the new switch. Also mention that
2457 --reduce-memory-overheads can affect the hash table size.
2458 * NEWS: Mention the new feature.
2459
2460 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
2461
2462 * NEWS: Mention new linker map file generation and the
2463 --reduce-memory-overheads option.
2464 * ld.texinfo: Document --reduce-memory-overheads option.
2465 * ld.h (map_symbol_def): New struct.
2466 (struct user_section_struct, section_userdata_type): Rename to:
2467 (struct lean_user_section_struct, lean_section_userdata_type).
2468 (struct fat_user_section_struct, fat_section_userdata_type): New.
2469 (SECTION_USERDATA_SIZE): Define.
2470 (args_type): New member reduce_memory_overheads.
2471 * ldlang.c (map_obstack): New static variable.
2472 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
2473 (lang_map): Unless command_line.reduce_memory_overheads is set,
2474 initialize lists of defined symbols for each section.
2475 (print_input_section): Unless command_line.reduce_memory_overheads
2476 is set, use print_all_symbols.
2477 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
2478 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
2479 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
2480 (ld_options): Add entry for --reduce-memory-overheads.
2481 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
2482
2483 2004-05-19 Jakub Jelinek <jakub@redhat.com>
2484
2485 * ldgram.y (sect_constraint): New.
2486 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
2487 (section): Add sect_constraint. Pass additional argument
2488 to lang_enter_output_section_statement.
2489 * mri.c (mri_draw_tree): Pass additional argument to
2490 lang_enter_output_section_statement.
2491 * emultempl/pe.em (place_orphan): Likewise.
2492 (output_prev_sec_find): Disregard output section statements with
2493 constraint == -1.
2494 * emultempl/mmo.em (output_prev_sec_find): Likewise.
2495 (mmo_place_orphan): Pass additional argument to
2496 lang_enter_output_section_statement.
2497 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
2498 statements with constraint == -1.
2499 (place_orphan): Pass additional argument to
2500 lang_enter_output_section_statement.
2501 * ldlang.c (lang_enter_overlay_section): Likewise.
2502 (lang_output_section_find_1): New.
2503 (lang_output_section_find): Use it.
2504 (lang_output_section_statement_lookup_1): New.
2505 (lang_output_section_statement_lookup): Use it.
2506 (check_section_callback, check_input_sections): New.
2507 (map_input_to_output_sections): Check if all input sections
2508 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
2509 (strip_excluded_output_sections): Disregard output section statements
2510 with constraint == -1.
2511 (lang_record_phdrs): Likewise.
2512 (lang_enter_output_section_statement): Add constraint argument.
2513 Use lang_output_section_statement_lookup_1.
2514 * ldlang.h (lang_output_section_statement_type): Add constraint
2515 and all_input_readonly fields.
2516 (lang_enter_output_section_statement): Adjust prototype.
2517 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
2518 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
2519 segment if all input sections are readonly.
2520
2521 2004-05-19 Adam Nemet <anemet@lnxw.com>
2522
2523 * scripttempl/i386lynx.sc: Remove file.
2524
2525 2004-05-17 Bob Wilson <bob.wilson@acm.org>
2526
2527 * ld.texinfo (Output Section Address): Correct subsection name.
2528
2529 2004-05-17 Adam Nemet <anemet@lnxw.com>
2530
2531 * configure.tgt (powerpc-*-lynxos* case): New case.
2532 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
2533 * emulparams/ppclynx.sh: New file.
2534 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
2535 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
2536 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
2537 (eppclynx.c): New rule.
2538 * Makefile.in: Regenerate.
2539
2540 2004-05-13 Joel Sherrill <joel@oarcorp.com>
2541
2542 * configure.tgt (or32-*-rtems*): Switch to elf and
2543 support versioned targets.
2544
2545 2004-05-13 Nick Clifton <nickc@redhat.com>
2546
2547 * po/fr.po: Updated French translation.
2548
2549 2004-05-11 Jakub Jelinek <jakub@redhat.com>
2550
2551 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
2552 for binaries, -shared and -pie.
2553 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
2554 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
2555 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
2556 (OTHER_RELRO_SECTIONS): ... this.
2557 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
2558 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2559 -z relro and -z norelro.
2560 (gld${EMULATION_NAME}_list_options): Add it to usage.
2561 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
2562 -z relro scripts when appropriate.
2563 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
2564 Create separate .got.plt section if SEPARATE_GOTPLT.
2565 Move sections which are only written during relocation handling
2566 to the beginning of RW segment. If NO_SMALL_DATA, move .got
2567 before .data. Add DATA_SEGMENT_RELRO_END directive.
2568 Include OTHER_RELRO_SECTIONS.
2569 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
2570 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
2571 (fold_unary): Likewise.
2572 (fold_binary): Handle -z relro.
2573 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
2574 exp_dataseg_relro_adjust phases. Add relro_end field.
2575 * ldmain.c (main): Initialize link_info.relro to FALSE.
2576 * ldlang.c (lang_size_sections): Handle -z relro.
2577
2578 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
2579
2580 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
2581
2582 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
2583
2584 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
2585 before printing it with %W.
2586
2587 2004-05-07 Brian Ford <ford@vss.fsi.com>
2588 DJ Delorie <dj@redhat.com>
2589
2590 * emultempl/pe.em (real_flags): New static.
2591 (OPTION_LARGE_ADDRESS_AWARE): New define.
2592 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
2593 (gld_${EMULATION_NAME}_list_options): Likewise.
2594 (gld${EMULATION_NAME}_handle_option): Likewise.
2595 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
2596 * ld.texinfo: Document it.
2597 * NEWS: Mention it.
2598
2599 2004-05-07 Brian Ford <ford@vss.fsi.com>
2600
2601 * NEWS: Mention DWARF 2 support for i386pe.
2602
2603 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
2604
2605 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
2606 elf32-frvfdpic.
2607
2608 2004-04-30 Alan Modra <amodra@bigpond.net.au>
2609
2610 * ldlang.c (unique_section_p): Pass section parm, return true on
2611 group sections.
2612 (output_section_callback): Adjust.
2613 * ldlang.h (unique_section_p): Update prototype.
2614 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
2615
2616 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
2617
2618 * ld.texinfo (--gc-sections): Remove restriction for
2619 dynamic linking.
2620
2621 2004-04-29 Brian Ford <ford@vss.fsi.com>
2622
2623 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
2624 for DWARF 2/3. Update stab section's syntax.
2625
2626 2004-04-29 Alan Modra <amodra@bigpond.net.au>
2627
2628 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
2629 (fill_edata): Correct pointer arithmetic.
2630
2631 2004-04-21 Chris Demetriou <cgd@broadcom.com>
2632
2633 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
2634 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
2635 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
2636 (EXTRA_EM_FILE): Use mipsecoff.em
2637 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
2638 (EXTRA_EM_FILE): Use mipsecoff.em
2639 * emultempl/mipsecoff.em: Restructure to be included as an
2640 extra emulation file.
2641 (check_sections, gld${EMULATION_NAME}_after_open)
2642 (gld${EMULATION_NAME}_after_allocation)
2643 (gld${EMULATION_NAME}_get_script)
2644 (ld_${EMULATION_NAME}_emulation): Remove
2645 (gld${EMULATION_NAME}_before_parse): Rename to...
2646 (mipsecoff_before_parse): This.
2647 (LDEMUL_BEFORE_PARSE): Define.
2648 * emultempl/mipself.em: Remove file.
2649 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
2650 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
2651 these symbols.
2652 * Makefile.am: Remove dependencies on emultempl/mipself.em.
2653 * Makefile.in: Regenerate.
2654
2655 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
2656
2657 * ld.texinfo (synthesizing on H8/300): Information about linker
2658 relaxation support for bit manipulation instructions and system
2659 control instructions is added.
2660
2661 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
2662
2663 * NEWS: Mention change in DEFINED semantics.
2664
2665 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
2666
2667 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
2668 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
2669 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
2670
2671 2004-04-21 Ben Elliston <bje@au.ibm.com>
2672
2673 * ld.texinfo (Simple Example): Add missing punctuation.
2674
2675 2004-04-20 Chris Demetriou <cgd@broadcom.com>
2676
2677 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
2678
2679 2004-04-19 Jakub Jelinek <jakub@redhat.com>
2680
2681 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
2682 specially.
2683
2684 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
2685
2686 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
2687 with default priority. Likewise for dtors.
2688
2689 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2690
2691 * configure.host: Remove mips*-dec-bsd* target.
2692 * configure.tgt: Likewise.
2693
2694 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
2695
2696 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
2697 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
2698 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
2699 * emultempl/irix.em: New file.
2700 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
2701 dependencies.
2702 * Makefile.in: Regenerate.
2703
2704 2004-04-01 Paul Brook <paul@codesourcery.com>
2705
2706 * emultempl/armelf.em (byteswap_code): Add.
2707 (arm_elf_before_allocation): Pass extra parameter.
2708 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
2709 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
2710 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
2711 * emultempl/armelf_oabi.em: Pass extra parameter.
2712 * ld.texinfo: Document --be8.
2713
2714 2004-03-30 Stan Shebs <shebs@apple.com>
2715
2716 Remove long-obsolete MPW support.
2717 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
2718 * Makefile.am (mpw): Remove file-presynthesizing actions.
2719 * Makefile.in: Likewise.
2720 * ldfile.c (slash): Remove MPW case.
2721 * ldlex.l [MPW]: Remove unused definition.
2722
2723 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
2724
2725 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
2726 (eelf32cr16c.c): New target.
2727 * Makefile.in: Regenerate.
2728 * configure.tgt: Handle cr16c-*-elf*.
2729 * emulparams/elf32cr16c.sh: New file.
2730 * scripttempl/elfcr16c.sc: Likewise
2731 * NEWS: Mention support for new target.
2732
2733 2004-03-30 Nick Clifton <nickc@redhat.com>
2734
2735 * po/sv.po: Updated Swedish translation.
2736
2737 2004-03-27 Alan Modra <amodra@bigpond.net.au>
2738
2739 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
2740 * emultempl/hppaelf.em: Likewise.
2741 * emultempl/ppc64elf.em: Likewise.
2742 * emultempl/sh64elf.em: Likewise.
2743
2744 2004-03-25 Alan Modra <amodra@bigpond.net.au>
2745
2746 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
2747 size_dynamic_sections call.
2748
2749 2004-03-23 Alan Modra <amodra@bigpond.net.au>
2750
2751 PR 51.
2752 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
2753 link_info.wrap_char.
2754
2755 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
2756
2757 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
2758 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
2759
2760 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
2761
2762 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
2763
2764 2004-03-19 Alan Modra <amodra@bigpond.net.au>
2765
2766 * config.in: Regenerate.
2767 * po/ld.pot: Regenerate.
2768
2769 2004-03-18 Alan Modra <amodra@bigpond.net.au>
2770
2771 * ld.texinfo: Add --as-needed doco.
2772 * ldmain.c (as_needed): New global var.
2773 * ldmain.h (as_needed): Declare.
2774 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
2775 OPTION_NO_AS_NEEDED.
2776 (ld_options): Likewise.
2777 (parse_args): Handle them.
2778 * ldlang.h (lang_input_statement_type): Add as_needed field.
2779 * ldlang.c (new_afile): Set p->as_needed.
2780 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
2781 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
2782 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
2783
2784 * ldlang.c (open_input_bfds): Remove useless cast.
2785 (lang_do_assignments_1): Likewise.
2786 (lang_for_each_input_section): Delete.
2787
2788 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2789
2790 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
2791
2792 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
2793
2794 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
2795 private when building implib.
2796
2797 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
2798
2799 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
2800 SEC_THREAD_LOCAL.
2801 (IGNORE_SECTION): Ignore .tbss sections too.
2802 (lang_size_sections_1): .tbss sections do not advance dot.
2803
2804 2004-03-01 Andreas Schwab <schwab@suse.de>
2805
2806 * ld.texinfo (Options): Fix example for --wrap.
2807
2808 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2809
2810 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
2811 not NULL.
2812
2813 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
2814
2815 * ldlang.c (lang_check): Use %P, not %E, in error message.
2816
2817 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
2818
2819 * ldlang.h (struct lang_output_section_state): Change processed
2820 field's type.
2821 * ldexp.c (check, invalid): Remove.
2822 (fold_name): Move valid_p assignments. Create undefined symbol
2823 when needed. Directly exampine section's processd flag.
2824 * ldlang.c (lang_output_section_statement_lookup): Adjust
2825 processed field init.
2826 (lang_size_sections_1): Allow LOADADDR when determining section's
2827 VMA. Adjust error message. Fold data statement's expr.
2828 (lang_size_sections): Correctly increment lang_statement_iteration.
2829
2830 2004-02-23 Alan Modra <amodra@bigpond.net.au>
2831
2832 * ldexp.c (fold_tree): Follow indirect symbols.
2833
2834 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
2835
2836 * ldgram.y (exp): Add two operand ALIGN.
2837 * ldexp.c (fold_binary): Add ALIGN_K case.
2838 * ld.texinfo (ALIGN): Document two operand version.
2839
2840 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
2841
2842 * ldlang.c (map_input_to_output_sections): Initialize sections
2843 mentioned in a data statement expression.
2844 (lang_do_assignments_1): Add data statement's expression's
2845 section's vma.
2846
2847 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
2848
2849 * ldgram.y (statement_anywhere): Add assert rule.
2850 * ldlang.c (exp_init_os): Add assert case.
2851
2852 2004-02-14 Andrew Cagney <cagney@redhat.com>
2853
2854 * ldmain.c (remove_output): Call bfd_cache_close.
2855
2856 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
2857
2858 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
2859 .MIPS.content* and .MIPS.events* sections.
2860
2861 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
2862
2863 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
2864 .note.gnu.arm.ident to after allocated sections. Mark its
2865 address as 0.
2866
2867 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
2868
2869 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
2870 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
2871 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
2872 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
2873 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
2874
2875 2004-02-05 Nick Clifton <nickc@redhat.com>
2876
2877 * emultempl/pe.em (_after_open): Fix typo in previous delta.
2878
2879 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
2880
2881 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
2882
2883 2004-01-28 Alan Modra <amodra@bigpond.net.au>
2884
2885 * genscripts.sh: Fix typo.
2886
2887 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
2888
2889 2004-01-24 Jakub Jelinek <jakub@redhat.com>
2890
2891 * emulparams/elf64_ia64.sh: Put .rela.opd into
2892 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
2893
2894 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
2895
2896 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
2897 * ld.texinfo (--omagic): Note that writable text section
2898 does not conform to published PE-COFF specs.
2899 (--enable-auto-import): Likewise.
2900
2901 2004-01-15 Alan Modra <amodra@bigpond.net.au>
2902
2903 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
2904
2905 2004-01-13 Nick Clifton <nickc@redhat.com>
2906
2907 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
2908 which if true will prevent the LMA region being used as a
2909 replacement for a default VMA region.
2910 (lang_leave_output_section_statement): Pass extra parameter.
2911 (lang_leave_overlay): Likewise.
2912 * ld.texinfo (Output Section LMA): Document that the LMA
2913 region can be set to the VMA region if no VMA has been set.
2914 * ldlang.h (struct lang_output_section_phdr_list): Create a
2915 typedef for this type. Minor formatting fixes.
2916
2917 2004-01-13 Nick Clifton <nickc@redhat.com>
2918
2919 * ldlang.c (lang_size_sections_1): If dot is advanced, then
2920 assume that the section should be allocated.
2921
2922 2004-01-13 Alan Modra <amodra@bigpond.net.au>
2923
2924 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
2925 sections. Do ignore SEC_NEVER_LOAD sections.
2926 (lang_size_sections_1): Remove test made redundant with the above.
2927
2928 2004-01-09 Alan Modra <amodra@bigpond.net.au>
2929
2930 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
2931 program_header_size.
2932
2933 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
2934
2935 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
2936 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
2937 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
2938 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
2939 (MAXPAGESIZE): Set to 64Kb.
2940 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
2941 __ROFIXUP_END__. Don't map .rofixup.got any more.
2942 * emulparams/elf32frv.sh (NOP): Set.
2943 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
2944 * configure.tgt: Add frv-*-*linux*.
2945 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
2946 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
2947 (eelf32frvfd.c): New.
2948 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
2949 * emulparams/elf32frv.sh: Reverted previous two patches.
2950 * emulparams/elf32frvfd.sh: New.
2951 * Makefile.in: Rebuilt.
2952 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
2953 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
2954 .rofixup.got to .rofixup.
2955 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
2956 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
2957 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
2958
2959 2004-01-05 Jakub Jelinek <jakub@redhat.com>
2960
2961 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
2962 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
2963
2964 2004-01-03 Alan Modra <amodra@bigpond.net.au>
2965
2966 * ldexp.c (align_n): Make static.
2967 * ldexp.h (align_n): Delete declaration.
2968 * ldlang.h (lang_enter_output_section_statement): Remove
2969 block_value param.
2970 * ldlang.c (lang_enter_output_section_statement): Likewise.
2971 (TO_ADDR, TO_SIZE): Define.
2972 (opb_shift): New var.
2973 (init_opb): New function.
2974 (print_input_section): Call init_opb and use TO_ADDR.
2975 (print_data_statement, print_reloc_statement): Likewise.
2976 (print_padding_statement): Likewise.
2977 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
2978 (lang_check_section_addresses): Likewise.
2979 (lang_size_sections_1): Likewise.
2980 (lang_do_assignments_1): Likewise.
2981 (lang_set_startof): Likewise.
2982 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
2983 (lang_process): Call init_opb.
2984 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
2985 (lang_enter_overlay_section): Adjust
2986 lang_enter_output_section_statement call.
2987 * ldgram.y: Likewise.
2988 * mri.c (mri_draw_tree): Likewise.
2989 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2990 * emultempl/mmo.em (mmo_place_orphan): Likewise.
2991 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2992
2993 * ldfile.c (ldfile_set_output_arch): Add defarch param.
2994 * ldfile.h (ldfile_set_output_arch): Ditto.
2995 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
2996 ldfile_set_output_arch.
2997 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2998 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
2999 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
3000 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
3001 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
3002 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
3003 * ldgram.y: Adjust ldfile_set_output_arch call.
3004 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
3005 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
3006 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
3007 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
3008 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
3009 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
3010 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
3011
3012 2004-01-02 Bernardo Innocenti <bernie@develer.com>
3013
3014 * configure.tgt: Add m68k-uClinux target.
3015
3016 For older changes see ChangeLog-0203
3017 \f
3018 Local Variables:
3019 mode: change-log
3020 left-margin: 8
3021 fill-column: 74
3022 version-control: never
3023 End:
This page took 0.088373 seconds and 3 git commands to generate.