daily update
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
44c86e8c
NC
12005-08-08 Eric Dönges <Eric.Doenges@betty-tv.com>
2
3 * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants.
4 Add rules to build these emulations.
5 * Makefile.in: Regenerate.
6 * configure.tgt (msp430): Add the new variants to the
7 targ_extra_emuls list.
8 * emulparams/msp430all.sh: Add entries for the msp430x21xx
9 variants.
10
7af8e998
L
112005-08-05 H.J. Lu <hongjiu.lu@intel.com>
12
13 * ld.texinfo: Document PROVIDE_HIDDEN.
14
15 * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked.
16 (exp_provide): Add and set hidden.
17
18 * ldexp.h (etree_type): Add hidden to assign.
19
20 * ldgram.y (PROVIDE_HIDDEN): New.
21 * ldlex.l (PROVIDE_HIDDEN): Likewise.
22
23 * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound
24 symbols.
25
9599dfb1
AM
262005-08-05 Alan Modra <amodra@bigpond.net.au>
27
28 * emulparams/elf_x86_64.sh: Revert last change.
29 * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here.
30
827a1c67
AM
312005-08-05 Alan Modra <amodra@bigpond.net.au>
32
33 * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from
34 OTHER_END_SYMBOLS.
35 * emulparams/armelf_linux.sh: Likewise.
36 * emulparams/armnto.sh: Likewise.
37 * emulparams/criself.sh: Likewise.
38 * emulparams/elf32mcore.sh: Likewise.
39 * emulparams/criself.sh (OTHER_SYMBOLS): Define.
40 * emulparams/crislinux.sh (OTHER_SYMBOLS): Define.
41 (OTHER_END_SYMBOLS): Don't define.
42 * emulparams/elf32fr30.sh: Likewise.
43 * emulparams/elf64mmix.sh: Likewise.
44 * emulparams/hppa64linux.sh: Likewise.
45 * emulparams/m32relf.sh: Likewise.
46 * emulparams/vxworks.sh: Likewise.
47 * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete.
48 (OTHER_BSS_END_SYMBOLS): Add.
49 (OTHER_END_SYMBOLS): Move before current end sym definitions.
50 (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script.
51 * scripttempl/elf.sc: Likewise.
52 * scripttempl/elf32sh-symbian.sc: Likewise.
53 * scripttempl/elf_chaos.sc: Likewise.
54 * scripttempl/elfxtensa.sc: Likewise.
55 * scripttempl/iq2000.sc: Likewise.
56 * scripttempl/xstormy16.sc: Likewise.
57
58 * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete.
59 (REL_LDATA, REL_LBSS, REL_LRODATA): Delete.
60 (REL_LARGE, LARGE_SECTIONS): Add.
61 * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text.
62 (REL_LARGE): Define.
63 * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
64 (LARGE_SECTIONS): Define.
65 * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
66 (LARGE_SECTIONS): Define.
67
046183de
AM
682005-08-04 Alan Modra <amodra@bigpond.net.au>
69
70 * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete.
71 * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete.
72 (struct ld_emulation_xfer_struct): Remove do_assignments field.
73 * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments.
74 * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New.
75 (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New.
76 * emultempl/aix.em (ld_*_emulation): Delete do_assignments init.
77 * emultempl/armcoff.em: Likewise.
78 * emultempl/beos.em: Likewise.
79 * emultempl/generic.em: Likewise.
80 * emultempl/gld960.em: Likewise.
81 * emultempl/gld960c.em: Likewise.
82 * emultempl/linux.em: Likewise.
83 * emultempl/lnk960.em: Likewise.
84 * emultempl/m68kcoff.em: Likewise.
85 * emultempl/pe.em: Likewise.
86 * emultempl/sunos.em: Likewise.
87 * emultempl/ticoff.em: Likewise.
88 * emultempl/vanilla.em: Likewise.
89 * emultempl/elf32.em: Likewise.
90 (gld*_provide_bound_symbols): Delete.
91 (gld*_provide_init_fini_syms): Delete.
92 (gld*_before_allocation): Don't call ldemul_do_assignments.
93 * emultempl/ppc32elf.em (ppc_do_assignments): Delete.
94 (LDEMUL_DO_ASSIGNMENTS): Delete.
95 * scripttempl/elf.sc: Provide init/fini syms. Add SBSS_START_SYMBOLS,
96 SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.
97
fa498e09
AM
982005-08-04 Alan Modra <amodra@bigpond.net.au>
99
100 * Makefile.am (eelf32m32c.c): Fix dependencies.
101 * Makefile.in: Regenerate.
102
1e035701
AM
1032005-08-04 Alan Modra <amodra@bigpond.net.au>
104
105 * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally.
106 (finish_default): New function.
107 * ldemul.h (finish_default): Declare.
108 * emultempl/aix.em (gld*_before_allocation): Call
109 before_allocation_default rather than strip_excluded_output_sections.
110 (ld_*_emulation): Init finish field to finish_default.
111 * emultempl/armcoff.em: Likewise.
112 * emultempl/beos.em: Likewise.
113 * emultempl/elf32.em: Likewise.
114 * emultempl/generic.em: Likewise.
115 * emultempl/gld960.em: Likewise.
116 * emultempl/gld960c.em: Likewise.
117 * emultempl/hppaelf.em: Likewise.
118 * emultempl/linux.em: Likewise.
119 * emultempl/lnk960.em: Likewise.
120 * emultempl/m68kcoff.em: Likewise.
121 * emultempl/mmo.em: Likewise.
122 * emultempl/pe.em: Likewise.
123 * emultempl/ppc64elf.em: Likewise.
124 * emultempl/sunos.em: Likewise.
125 * emultempl/ticoff.em: Likewise.
126 * emultempl/vanilla.em: Likewise.
127
9f4fb502
AM
1282005-08-03 Alan Modra <amodra@bigpond.net.au>
129
130 * ldlang.c (exp_init_os): Handle etree_provide.
131 * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from..
132 (OTHER_BSS_END_SYMBOLS): ..this.
133 * emulparams/armelf_linux.sh: Likewise.
134 * emulparams/armnto.sh: Likewise.
135 * emulparams/criself.sh: Likewise.
136 * emulparams/crislinux.sh: Likewise.
137 * emulparams/elf32frv.sh: Likewise.
138 * emulparams/elf32mcore.sh: Likewise.
139 * emulparams/elf32ppc.sh: Likewise.
140 * emulparams/elf32ppclinux.sh: Likewise.
141 * emulparams/hppa64linux.sh: Likewise.
142 * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not
143 $OTHER_BSS_END_SYMBOLS.
144 * scripttempl/elf32sh-symbian.sc: Likewise.
145 * scripttempl/elf_chaos.sc: Likewise.
146 * scripttempl/iq2000.sc: Likewise.
147 * scripttempl/xstormy16.sc: Likewise.
148 * scripttempl/elf.sc: Likewise. Delete __bss_start comment.
149 * scripttempl/elfxtensa.sc: Likewise.
150
e9156f74
NC
1512005-07-29 Nick Clifton <nickc@redhat.com>
152
153 * ldmain.c (main): Allow -shared and -static to be used together.
154 * ld.texinfo (-static): Mention that it is allowed with -shared.
155
89806866
DD
1562005-07-28 DJ Delorie <dj@redhat.com>
157
158 * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a
159 unary & address operator, as that breaks GCC's strict aliasing
160 rules.
161
3b22753a
L
1622005-07-25 Jan Hubicka <jh@suse.cz>
163 H.J. Lu <hongjiu.lu@intel.com>
164
165 * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.
166
167 * scripttempl/elf.sc: Updated for large section support.
168
9f971fcb
NC
1692005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org>
170
171 * configure.tgt: Remove i[3-7]86-*-rtemself*.
172 Remove sparc-*-rtemself*.
173
71f51525
BE
1742005-07-21 Ben Elliston <bje@gnu.org>
175
176 * ldgram.y (ldgram_want_filename): Remove unused static.
177
fe773494
DD
1782005-07-20 DJ Delorie <dj@redhat.com>
179
180 * emulparams/elf32m32c.sh (TEMPLATE_NAME): New.
181 (EXTRA_EM_FILE): New.
182
0e1b44ba
L
1832005-07-19 H.J. Lu <hongjiu.lu@intel.com>
184
185 * ldmain.c (main): Reindent.
186
a3540342
PB
1872005-07-19 Paul Brook <paul@codesourcery.com>
188
189 * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
190 to determine dynamic linker name.
191
85da3a56
NC
1922005-07-18 Nick Clifton <nickc@redhat.com>
193
194 * configure.tgt: Restore alpha ordering to list of arches.
195
42fa7765
AM
1962005-07-16 Alan Modra <amodra@bigpond.net.au>
197
198 * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype.
199 (gld*_before_allocation): Call ldemul_do_assignments rather than
200 gld*_provide_init_fini_syms directly.
201 * emultempl/ppc32elf.em (gld*_after_allocation): Delete.
202 (ppc_do_assignments): New function.
203 (LDEMUL_AFTER_ALLOCATION): Don't define.
204 (LDEMUL_DO_ASSIGNMENTS): Define.
205
0f82ff91
AM
2062005-07-16 Alan Modra <amodra@bigpond.net.au>
207
208 * Makefile.am: Run "make dep-am".
209 (emipsidt.c, emipsidtl.c): Depend on generic.em.
210 * Makefile.in: Regenerate.
211
5e797c2c
AM
2122005-07-15 Alan Modra <amodra@bigpond.net.au>
213
214 * ldemul.c (ldemul_do_assignments): New function.
215 (do_assignments_default): New function.
216 * ldemul.h (ldemul_do_assignments): Declare.
217 (do_assignments_default): Declare.
218 (struct ld_emulation_xfer_struct): Add do_assignments.
219 * ldlang.c (lang_do_assignments) Call ldemul_do_assignments.
220 * emultempl/aix.em (ld_*_emulation): Init do_assignments field.
221 * emultempl/armcoff.em: Likewise.
222 * emultempl/beos.em: Likewise.
223 * emultempl/generic.em: Likewise.
224 * emultempl/gld960.em: Likewise.
225 * emultempl/gld960c.em: Likewise.
226 * emultempl/linux.em: Likewise.
227 * emultempl/lnk960.em: Likewise.
228 * emultempl/m68kcoff.em: Likewise.
229 * emultempl/pe.em: Likewise.
230 * emultempl/sunos.em: Likewise.
231 * emultempl/ticoff.em: Likewise.
232 * emultempl/vanilla.em: Likewise.
233 * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms.
234 (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
235
49f58d10
JB
2362005-07-14 Jim Blandy <jimb@redhat.com>
237
238 Add support for the Renesas M32C and M16C.
239 * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
240 (eelf32m32c.c): New target.
241 * Makefile.in: Regenerated.
242 * configure.tgt: Add case for m32c-*-elf.
243 * emulparams/elf32m32c.sh: New file.
244
a3c2b96a
AM
2452005-07-14 Alan Modra <amodra@bigpond.net.au>
246
247 * ldlang.c (strip_excluded_output_sections): Don't call
248 bfd_gc_sections.
249 * emultempl/elf32.em (gld*_provide_bound_symbols): Move.
250 (gld*_provide_init_fini_syms): Move.
251 (gld*_before_allocation): Call the above from here..
252 (gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms.
253 * emultempl/hppaelf.em (hppaelf_finish): Likewise.
254 * emultempl/ppc64elf.em (ppc_finish): Likewise.
255
438361cd
NC
2562005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org>
257
258 * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*,
259 i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*,
260 powerpcle-*-rtems*.
261
2c7fd14a
CF
2622005-07-09 Christopher Faylor <cgf@timesys.com>
263
264 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
265 relocation by default.
266 (compute_dll_image_base): Avoid linking into cygwin dll address space.
267
32124d5b
AM
2682005-07-08 Alan Modra <amodra@bigpond.net.au>
269
270 * ldlang.c (wild_sort): Formatting.
271 (strip_excluded_output_sections): Strip zero size sections here.
272 * emultempl/elf32.em (gld*_strip_empty_sections): Delete.
273 (gld*_finish): Don't call the above.
274 * emultempl/hppaelf.em (hppaelf_finish): Likewise.
275 * emultempl/ppc64elf.em (ppc_finish): Likewise.
276
4cd5aacc 2772005-07-05 Paul Brook <paul@codesourcery.com>
9d8504b1
PB
278
279 * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
280 (eelf32ppcvxworks.o): Add dependencies.
281 * Makefile.in: Regenerate.
282 * configure.tgt: Add entry for powerpc-vxworks.
283 * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
284 * emulparams/elf32ppcvxworks.sh: New file.
285 * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
286 (is_ppc_elf32_vec): New function.
287 (ppc_after_open, ppc_before_allocation,
288 gld${EMULATION_NAME}_after_allocation): Use it.
289
35eb9fb6
NC
2902005-07-05 Peter S. Mazinger" <ps.m@gmx.net>
291
292 * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes".
293 * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes".
294
5b5a4ec7
NC
2952005-07-04 Mike Frysinger <vapier@gentoo.org>
296
297 * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in
298 name.
299
80447b21
NC
3002005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
301
302 * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
303
711c0baa
AM
3042005-07-04 Aurelien Jarno <aurel32@debian.org>
305
306 * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
307
c8c9c297
AM
3082005-07-01 Alan Modra <amodra@bigpond.net.au>
309
310 * scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
311
b753922c
BE
3122005-06-30 Ben Elliston <bje@gnu.org>
313
314 * Makefile.am (check-DEJAGNU): Don't search for expect.
315 * Makefile.in: Regenerate.
316
c3298874
BE
3172005-06-30 Ben Elliston <bje@gnu.org>
318
319 * Makefile.am (EXPECT): Set to expect.
320 (RUNTEST): Likewise, set to runtest.
321 * Makefile.in: Regenerate.
322
a82644e2
NC
3232005-06-16 Alexander Klimov <alserkli@inbox.ru>
324
325 * emultempl/armelf.em: Add quotes to avoid a null test
326 expression.
327
e185dd51
DJ
3282005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
329
330 * ld.texinfo (Command Line Options): Add @item for --hash-size.
331
9d12f64c
AM
3322005-06-10 Alan Modra <amodra@bigpond.net.au>
333
334 * scripttempt/elf.sc (.bss): Align tail in a way that allows
335 empty section pruning.
336
502bdb00
JW
3372005-06-09 Steve Ellcey <sje@cup.hp.com>
338
339 * configure.in (AM_BINUTILS_WARNINGS): Add.
340 (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS.
341 * config.in: Regenerate.
342 * configure: Regenerate.
343 * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_*
344 * ldmain.c: Ditto.
345
dea2f0a8
AM
3462005-06-09 Alan Modra <amodra@bigpond.net.au>
347
348 * ldexp.c (fold_unary <ALIGN_K>): Revert last change.
349
e9ee469a
AM
3502005-06-09 Alan Modra <amodra@bigpond.net.au>
351
352 * ld.h (lang_phase_type): Move to..
353 * ldexp.h: ..here. Add lang_mark_phase_enum.
354 (node_type): Remove etree_undef and etree_unspec.
355 (exp_data_seg): Delete.
356 (struct ldexp_control, expld): New.
357 (invalid, exp_mark_used_section): Delete.
358 (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill,
359 exp_get_abs_int): Update prototypes.
360 * ldexp.c (assigning_to_dot): Delete.
361 (expld): Define.
362 (make_abs): Operate directly on expld.result. Update all callers.
363 (new_abs): Likewise. Return void.
364 (new_rel_from_abs): Rename from new_rel_from_section.
365 (new_rel, new_rel_from_abs): Operate on expld.result and return void.
366 Update all callers.
367 (fold_unary): Operate on expld.result and return void. Remove
368 "current_section", "allocation_done", "dot", "dotp" and "mark_used"
369 params. Update all callers.
370 (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise.
371 (fold_unary <ALIGN_K>): Ensure alignment is absolute.
372 (fold_unary <ABSOLUTE>): Use make_abs.
373 (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for
374 allocating_phase.
375 (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto.
376 (fold_binary <'%','/'>): Don't error if marking.
377 (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when
378 marking.
379 (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't
380 error when marking.
381 (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP.
382 (exp_fold_tree_1): Don't error when marking.
383 (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first.
384 (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL
385 current section, instead check for NULL dotp.
386 (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment
387 source unless the symbol is referenced and undefined.
388 (exp_fold_tree): Remove "allocation_done" and "dot" params. Save
389 params to expld.
390 (exp_fold_tree_no_dot): Remove "current_section", "allocation_done
391 and "mark_used" params. Save params to expld. Update all callers.
392 (exp_assop): Do without temp var.
393 (exp_print_tree <etree_undef>): Delete code.
394 (exp_get_vma): Remove "allocation_done" param. Correct error return.
395 (exp_get_fill, exp_get_abs_int): Likewise.
396 (exp_get_value_int): Remove "allocation_done" param.
397 (exp_mark_used_section): Delete.
398 * ldgram.y (fill_exp): Update exp_get_fill call.
399 (origin_spec, length_spec): Update exp_get_vma call.
400 * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration.
401 (lang_mark_used_section_1, lang_mark_used_section): Delete.
402 (strip_excluded_output_sections): Call one_lang_size_sections_pass in
403 marking mode. Merge old lang_mark_used_section code. Correct handling
404 of output sections with excluded input sections and data statements.
405 Don't drop non-zero sized sections. Don't zap os->bfd_section.
406 Do set SEC_EXCLUDE when appropriate.
407 (print_output_section_statement): Update for changed ldexp.c
408 interface.
409 (print_assignment, lang_size_sections_1): Likewise.
410 (lang_do_assignments_1, lang_enter_output_section_statement): Likewise.
411 (lang_new_phdr, lang_record_phdrs): Likewise.
412 (lang_size_sections): Likewise.
413 (insert_pad): Use following statement if it is a pad, rather than
414 creating a new one.
415 (lang_size_sections_1 <lang_output_section_statement_enum>): Do
416 process ignored output section to set vma and lma, but don't
417 update dot for these sections. Don't error if marking.
418 (lang_size_sections_1 <lang_assignment_statement_enum>): Don't
419 update dot for ignored sections.
420 (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute
421 section with SEC_ALLOC.
422 (one_lang_size_sections_pass): New function.
423 (lang_size_sections): Remove first five params. Set expld.phase on
424 entry and exit. Use one_lang_size_sections_pass.
425 (lang_do_assignments): Remove all params. Update all callers.
426 (lang_reset_memory_regions): Clear os->processed for all output
427 section statements.
428 * ldlang.h (lang_do_assignments): Update prototype.
429 (lang_size_sections): Likewise.
430 (one_lang_size_sections_pass): Declare.
431 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
432 lang_size_sections and lang_do_assignments calls.
433 * emultempl/elf32.em (layout_sections_again): Likewise.
434 * emultempl/ppc64elf.em (ppc_before_allocation): Use
435 one_lang_size_sections_pass.
436
b2be2013
AH
4372005-06-08 Aldy Hernandez <aldyh@redhat.com>
438
439 * emulparams/elf32ms1.sh: New.
440
a34e3ecb
EC
4412005-06-07 Eric Christopher <echristo@redhat.com>
442
443 * Makefile.am (eelf32ms1.c): Use tab.
444 * Makefile.in: Regenerate.
445
9e1f170f
AH
4462005-06-07 Aldy Hernandez <aldyh@redhat.com>
447 Michael Snyder <msnyder@redhat.com>
448 Stan Cox <scox@redhat.com>
449
450 * configure.tgt: Same.
451
452 * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o.
453 (eelf32ms1.c): Add eelf32ms1.c rule.
454
455 * Makefile.in: Regenerate.
456
b4f4e59f
AM
4572005-06-06 Alan Modra <amodra@bigpond.net.au>
458
459 * emultempl/ppc64elf.em (ppc_before_allocation): Always run
460 ppc64_elf_edit_opd.
461
18b79829
L
4622005-06-05 H.J. Lu <hongjiu.lu@intel.com>
463
464 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
465 section only if the symbol will be defined.
466
079f985c
L
4672005-06-04 H.J. Lu <hongjiu.lu@intel.com>
468
469 PR 992
470 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
471 section for etree_assign, etree_provide and etree_provided.
472 Call fold_binary on etree_binary.
473
474 * ldlang.c (lang_mark_used_section_1): Handle load base.
475
e1fffbe6
AM
4762005-06-03 Alan Modra <amodra@bigpond.net.au>
477
478 * ldmain.c (link_callbacks): Add einfo.
479 (add_archive_element): Use passed info, not link_info.
480 (constructor_callback): Likewise.
481 (reloc_overflow): Don't handle null bfd specially.
482 (reloc_dangerous, unattached_reloc): Likewise.
483 * ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd.
484 (vfinfo <C, D, G>): Handle null bfd. Wrap comments.
485
408082ec
AM
4862005-06-02 Alan Modra <amodra@bigpond.net.au>
487
488 * ldexp.h (etree_value_type): Use "asection *" in place of
489 "struct lang_output_section_statement_struct *" for "section".
490 (exp_fold_tree): Likewise.
491 (exp_mark_used_section): Likewise.
492 * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary,
493 fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree,
494 exp_mark_used_section): Likewise for "current_section" param.
495 (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill,
496 exp_get_abs_int): Adjust for above changes.
497 * ldlang.c (lang_mark_used_section_1, print_assignment,
498 lang_size_sections_1, lang_do_assignments_1): Likewise.
499 * ldexp.c (fold_name): Init entire result struct.
500
d0d3b2e8
MR
5012005-06-01 Maciej W. Rozycki <macro@linux-mips.org>
502
503 * emulparams/elf32btsmip.sh: Unset DATA_ADDR.
504
a359509e
ZW
5052005-05-31 Zack Weinberg <zack@codesourcery.com>
506
507 * ldlang.c (entry_symbol_default): New file-scope global.
508 (lang_finish): Use it, not a hardwired "start".
509 (lang_default_entry): Set it.
510 * ldlang.h: Declare lang_default_entry.
511 * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
512 not lang_add_entry, to override default entry point symbol.
513
8d6d53d4
RH
5142005-05-29 Richard Henderson <rth@redhat.com>
515
516 * emulparams/elf64alpha.sh (PLT): New.
517 (TEXT_PLT): New.
518 * emultempl/alphaelf.em (disable_relaxation): New.
519 (limit_32bit): Rename from elf64alpha_32bit; update all users.
520 (elf64_alpha_use_secureplt): Declare.
521 (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
522 (alpha_after_open): New.
523 (alpha_before_allocation): New.
524 (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
525 (PARSE_AND_LIST_LONGOPTS): Include them.
526 (PARSE_AND_LIST_OPTIONS): Likewise.
527 (PARSE_AND_LIST_ARGS_CASES): Likewise.
528 (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
529 * scripttempl/elf.sc (TEXT_PLT): New.
530 (PLT): Use it.
531
f93e81d6
AS
5322005-05-27 Andreas Schwab <schwab@suse.de>
533
534 * configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
535
61f8ebf2
AM
5362005-05-24 Alan Modra <amodra@bigpond.net.au>
537
538 * emultempl/ppc32elf.em (after_allocation): Don't call
539 ppc_elf_set_sdata_syms when relocatable.
540
8b803601
L
5412005-05-21 H.J. Lu <hongjiu.lu@intel.com>
542
543 * Makefile.am (ld.1): Revert the last 2 changes.
544 (info-recursive): Depend on ld.1.
545 * Makefile.in: Regenerated.
546
e366efef
L
5472005-05-21 H.J. Lu <hongjiu.lu@intel.com>
548
549 * Makefile.am (ld.1): Depend on "info" instead of
550 "configdoc.texi ldver.texi".
551 * Makefile.in: Regenerated.
552
abf32a89
L
5532005-05-21 H.J. Lu <hongjiu.lu@intel.com>
554
555 * Makefile.am (ld.1): Depend on "info".
556 * Makefile.in: Regenerated.
557
e3e71e27
ZW
5582005-05-19 Zack Weinberg <zack@codesourcery.com>
559
560 * Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
561 * Makefile.in: Regenerate.
562
c19d1205
ZW
5632005-05-17 Zack Weinberg <zack@codesourcery.com>
564
565 * ld-arm/mixed-app.d: Adjust expected disassembly a little.
566
970c3dbc
DJ
5672005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
568
569 * Makefile.am (ldver.texi): Don't use $<.
570 * Makefile.in: Regenerated.
571
6e1b59d2
DJ
5722005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
573
574 * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include
575 $(srcdir) before $(BFDDIR)/doc.
576 * Makefile.in: Regenerated.
577
75ff4589
L
5782005-05-17 H.J. Lu <hongjiu.lu@intel.com>
579
580 PR 797
581 * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
582 take take a bfd_boolean, mark_used. Ignore assert failure if
583 mark_used is TRUE.
584 (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
585 (exp_fold_tree_no_dot): Updated to take a bfd_boolean,
586 mark_used and pass down.
587 (fold_unary): Likewise.
588 (fold_binary): Likewise.
589 (fold_trinary): Likewise.
590 (exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
591 (exp_trinop): Likewise.
592 (exp_unop): Likewise.
593 (exp_nameop): Likewise.
594 (exp_get_vma): Likewise.
595 (exp_get_fill): Likewise.
596 (exp_get_abs_int): Likewise.
597 (fold_name): Likewise. Set SEC_KEEP in output section flags.
598 (exp_mark_used_section): New.
599
600 * ldexp.h (exp_mark_used_section): New.
601
602 * ldlang.c (lang_output_section_statement_lookup_1): Set the
603 ignored field to FALSE.
604 (lang_mark_used_section_1): New.
605 (lang_mark_used_section): Call lang_mark_used_section_1.
606 (strip_excluded_output_sections): Call lang_mark_used_section
607 and check for unused sections.
608 (lang_size_sections_1): Skip an output section if it should
609 be ignored.
610 (lang_do_assignments_1): Likewise.
611 (lang_process): Don't call lang_mark_used_section here.
612
613 * ldlang.h (lang_output_section_statement_type): Change
614 all_input_readonly to bitfield. Add ignored.
615
25ba8e7b
NC
6162005-05-17 Lennert Buytenhek <buytenh@wantstofly.org>
617 Peter S. Mazinger" <ps.m@gmx.net>
618
c19d1205
ZW
619 * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
620 * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
25ba8e7b 621
10dbd1f3
NC
6222005-05-17 Julian Brown <julian@codesourcery.com>
623
624 * ldlang.c (print_assignment): Do not rely upon a valid result
625 having a section associated with it.
626
3b83e13a
NC
6272005-05-17 Nick Clifton <nickc@redhat.com>
628
629 * ldlang.c (Scan_for_self_assignment): Check an assignment tree to
630 see if the same value is being used on the rhs as on the lhs.
631 (print_assignment): Call scan_for_self_assignment and if it
632 returns true, do no display the result of the computation but
633 instead just the final value of the symbol on the lhs.
634 * ld.texinfo: Document this behaviour and provide an example of
635 when it will happen.
636
42ecbf5e
DJ
6372005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
638
639 * Makefile.am (AM_MAKEINFOFLAGS): Define.
640 (TEXI2DVI): Define.
641 (ldver.texi): Depend on distributed files instead of built files.
642 (ld.info): Include $(srcdir) in the rule target. Remove actions.
643 (ld.dvi): Remove actions.
644 (MAINTAINERCLEANFILES): Add configdoc.texi.
645 (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
646 (install-data-local): Renamed from install.
647 (Makefile): Remove explicit dependency.
648 * acinclude.m4: Remove obsolete code.
649 * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL.
650 * Makefile.in, aclocal.m4, config.in, configure: Regenerated.
651
be2c2e39
BW
6522005-05-11 Bob Wilson <bob.wilson@acm.org>
653
654 * scripttempl/elfxtensa.sc: Sync up with elf.sc.
655 * emulparams/elf32xtensa.sh (PLT, GOT): Define.
656
0cf7d72c
AM
6572005-05-11 Alan Modra <amodra@bigpond.net.au>
658
659 * ldgram.y: Add SPECIAL token.
660 (sect_constraint): Handle SPECIAL.
661 * ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
662 (map_input_to_output_sections): Likewise.
663 * ldlex.l (SPECIAL): Define.
664 * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
665 GOT, PLT, GOTPLT): Define.
666 * emultempl/ppc32elf.em (old_plt, old_got): New static vars.
667 (ppc_after_open): New function.
668 (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
669 (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
670 (PARSE_AND_LIST_OPTIONS): Document them.
671 (PARSE_AND_LIST_ARGS_CASES): Handle them.
672 (LDEMUL_AFTER_OPEN): Define.
673 * scripttempl/elf.sc (PLT): Don't override existing define.
674 (DATA_GOT, SDATA_GOT): Define and use to enable alternate got
675 placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW.
676
4ca02259
AM
6772005-05-10 Alan Modra <amodra@bigpond.net.au>
678
679 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
680 (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
681 (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after
682 DATA_SEGMENT_RELRO_END in script.
683
baf6e97f
L
6842005-05-09 H.J. Lu <hongjiu.lu@intel.com>
685
686 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
687 Don't use a removed section.
688
a6e1b90f
L
6892005-05-09 H.J. Lu <hongjiu.lu@intel.com>
690
691 * ldmain.c (reloc_overflow): Use output_bfd if the symbol
692 is defined in the ABS section.
693
c18bae34
L
6942005-05-06 H.J. Lu <hongjiu.lu@intel.com>
695
696 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
697 Put back !link_info.relocatable.
698
4ef24a2e
L
6992005-05-06 H.J. Lu <hongjiu.lu@intel.com>
700
3f693ed5 701 PR 878
4ef24a2e
L
702 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
703 Just check link_info.executable.
704
e06fb9c3
NC
7052005-05-06 Nick Clifton <nickc@redhat.com>
706
707 * Update the address and phone number of the FSF organization in
708 the GPL notices in the following files:
709 aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c,
710 ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c,
711 ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h,
712 ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h,
713 ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h,
714 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
715 emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em,
716 emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em,
717 emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em,
718 emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em,
719 emultempl/lnk960.em, emultempl/m68hc1xelf.em,
720 emultempl/m68kcoff.em, emultempl/m68kelf.em,
721 emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em,
722 emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em,
723 emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em,
724 emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em,
725 emultempl/vanilla.em, emultempl/xtensaelf.em
726
01d9ad14
L
7272005-05-05 H.J. Lu <hongjiu.lu@intel.com>
728
729 * scripttempl/elf.sc: Document the usage of __bss_start.
730
eac338cf
PB
7312005-05-05 Paul Brook <paul@codesourcery.com>
732
733 * Makefile.am: Add eelf_i386_vxworks.
734 * Makefile.in: Regenerate.
735 * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
736 * emulparams/elf_i386_vxworks.sh: New file.
737 * emulparams/vxworks.sh: New file.
738 * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
739
f652615e
L
7402005-05-04 H.J. Lu <hongjiu.lu@intel.com>
741
742 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
743 Call _bfd_elf_provide_section_bound_symbols.
744
8423293d
AM
7452005-05-04 Alan Modra <amodra@bigpond.net.au>
746
747 * ldemul.c: Include bfdlink.h.
748 (ldemul_before_allocation): Assume before_allocation is non-zero.
749 (before_allocation_default): Call strip_excluded_output_sections.
750 * ldlang.c (stripped_excluded_sections): New variable.
751 (lang_add_section): Build input section list for each output
752 section, attached via map_head and map_tail pointers.
753 (strip_excluded_output_sections): Make global. Traverse the
754 input section lists to find which output sections can go. Clear
755 link_order pointers and set stripped_excluded_sections.
756 (lang_process): Call strip_excluded_output_sections.
757 * ldlang.h (strip_excluded_output_sections): Declare.
758 * ldwrite.c: Update throuhout for link_order_head -> map_head change.
759 * emultempl/aix.em (before_allocation): Call
760 strip_excluded_output_sections.
761 * emultempl/armcoff.em (before_allocation): Likewise.
762 * emultempl/beos.em (before_allocation): Likewise.
763 * emultempl/linux.em (before_allocation): Likewise.
764 * emultempl/pe.em (before_allocation): Likewise.
765 * emultempl/sunos.em (before_allocation): Likewise.
766 * emultempl/elf32.em (before_allocation): Likewise. Call
767 bfd_elf_size_dynsym_hash_dynstr too.
768 * emultempl/lnk960.em (lnk960_before_allocation): Delete.
769 (ld_lnk960): Use before_allocation_default.
770
5daa8fe7
L
7712005-05-02 H.J. Lu <hongjiu.lu@intel.com>
772
773 * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
774 Updated for bfd_section_list_remove change.
775 * ldlang.c (lang_insert_orphan): Likewise.
776 (strip_excluded_output_sections): Likewise.
777 (sort_sections_by_lma): New.
778 (lang_check_section_addresses): Sort the sections before
779 checking addresses.
780
009b6a7a
DJ
7812005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
782
783 * configure.tgt: Add h8300*-*-rtemscoff.
784 Switch h8300*-*-rtems* to elf.
785
279e75dc
BE
7862005-04-29 Ben Elliston <bje@au.ibm.com>
787
788 * ldgram.y (lang_memory_region_type): Make static.
789 (ldgram_want_filename): Likewise.
790 * ldemul.c (ld_emulation): Make static.
791 * ldfile.h (ldfile_find_command_file): Remove extern.
792 * ldfile.c (ldfile_find_command_file): Make static.
793 * ldlang.h (unique_section_list): Remove extern declaration.
794 * ldlang.c (unique_section_list): Make static.
795 * mri.h (symbol_truncate): Remove extern declaration.
796 * mri.c (symbol_truncate): Make static.
797 (order, only_load, address, alias): Likewise.
798 (alignment, subalignment): Likewise.
799
4a2afbc1
L
8002005-04-27 H.J. Lu <hongjiu.lu@intel.com>
801
802 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
803 Use the first SEC_ALLOC section which isn't SEC_READONLY or the
804 last SEC_ALLOC section if such a section doesn't exist.
805
fd9719b1
MK
8062005-04-24 Mark Kettenis <kettenis@gnu.org>
807
808 * configure.host: Add *-*-openbsd support.
809
33bfe774
JB
8102005-04-15 Julian Brown <julian@codesourcery.com>
811
812 * ld.texinfo: Document --use-blx.
813 * emultempl/armelf.em (use_blx): New variable.
814 (arm_elf_create_output_section_statements): Communicate value of
815 use_blx to bfd.
816 (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
817 (PARSE_AND_LIST_OPTIONS): Add --use-blx option.
818 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
819
9e9b66a9
AM
8202005-04-14 Alan Modra <amodra@bigpond.net.au>
821
822 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
823 * configure.in: Include ../bfd/warning.m4 contents.
824 * Makefile.in: Regenerate.
825 * configure: Regenerate.
826
ceae3e33
AM
8272005-04-12 Alan Modra <amodra@bigpond.net.au>
828
829 * Makefile.am: Run "make dep-am".
830 (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
831 * Makefile.in: Regenerate.
832 * config.in: Regenerate.
833
7cedef86
AM
8342005-04-11 Alan Modra <amodra@bigpond.net.au>
835
836 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
837 as_needed libs that were not needed.
838 (gld${EMULATION_NAME}_check_needed): Likewise.
839
187ffe95
NC
8402005-04-07 Nick Clifton <nickc@redhat.com>
841
842 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
0cf7d72c 843 ldfile.h can use the lang_input_statement type.
187ffe95 844
72223188
JJ
8452005-04-06 Jakub Jelinek <jakub@redhat.com>
846
847 * ldlang.c: Formatting.
848 (walk_wild_consider_section): Remember return value from wildcardp.
849 (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
850 (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
851
8522005-04-06 Robert O'Callahan <rocallahan@novell.com>
853
854 * ld.h (lean_section_userdata_type): Remove.
855 (fat_section_userdata_type): Remove file field.
856 (SECTION_USERDATA_SIZE): Remove.
857 * ldlang.c (init_os): Eliminate initialization of unused
858 lean_section_userdata_type.
859
860 * ldlang.h (callback_t, walk_wild_section_handler_t): New
861 typedefs.
862 (struct lang_wild_statement_struct): Add walk_wild_section_handler
863 and handler_data fields.
864 * ldlang.c (callback_t): Removed.
865 (walk_wild_consider_section, walk_wild_section_general,
866 section_iterator_callback, find_section, is_simple_wild,
867 match_simple_wild, walk_wild_section_specs1_wild0,
868 walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
869 walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
870 wild_spec_can_overlap, analyze_walk_wild_section_handler): New
871 functions.
872 (lang_add_wild): Call analyze_walk_wild_section_handler.
873 (walk_wild_section): Renamed to walk_wild_section_general and
874 created a wrapper function.
875 (section_iterator_callback_data): New typedef.
876
34875e64
NC
8772005-04-04 Nick Clifton <nickc@redhat.com>
878
879 * configure.in: Add a check for <unistd.h> providing a prototype
880 for getopt() which is compatible with the one in
881 include/getopt.h. If so then define HAVE_DECL_GETOPT.
882 * configure: Regenerate.
883 * config.in (HAVE_DECL_GETOPT): Add.
884 * ldemul.c: Include config.h
885 * lexsup.c: Likewise.
886 * emultempl/elf32.sc: Likewise.
887
deb04cdb
AM
8882005-03-29 Alan Modra <amodra@bigpond.net.au>
889
890 * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
891 New function, extracted from static void gld${EMULATION_NAME}_finish.
892 (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
893 (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
894 * emultempl/ppc64elf.em: Revert last change.
895 (ppc_layout_sections_again): Use
896 gld${EMULATION_NAME}_layout_sections_again.
897 (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call
898 gld${EMULATION_NAME}_strip_empty_sections and
899 gld${EMULATION_NAME}_provide_init_fini_syms.
900 * emultempl/hppaelf.em: Similarly.
901
8b4e5e28
AM
9022005-03-29 Alan Modra <amodra@bigpond.net.au>
903
904 * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs.
905 (ppc_finish): Don't call bfd_elf_discard_info.
906 * emultempl/hppaelf.em: Similarly.
907
510a939b
NC
9082005-03-24 Nick Clifton <nickc@redhat.com>
909
910 * po/fr.po: Updated French translation.
911
ed84e695
NC
9122005-03-23 Mike Frysinger <vapier@gentoo.org>
913 Nick Clifton <nickc@redhat.com>
914
915 * configure.host: Accept any C library to accompany a GNU Linux
916 implementation, not just the GNU C library.
917 * configure.tgt: Likewise.
918 * emultempl/elf32.em: Likewise.
deb04cdb 919
81e1b023
L
9202005-03-22 H.J. Lu <hongjiu.lu@intel.com>
921
922 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
923 (gld${EMULATION_NAME}_finish): Call
924 gld${EMULATION_NAME}_provide_bound_symbols to provide
925 __preinit_array_start, __preinit_array_end, __init_array_start,
926 __init_array_end, __fini_array_start and __fini_array_end.
927
928 * scripttempl/elf.sc: Don't provide __preinit_array_start,
929 __preinit_array_end, __init_array_start, __init_array_end,
930 __fini_array_start nor __fini_array_end.
931
11d2f718
AM
9322005-03-23 Alan Modra <amodra@bigpond.net.au>
933
934 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
935 SEC_EXCLUDE on .gnu.warning sections.
936
644285ef
AM
9372005-03-22 Alan Modra <amodra@bigpond.net.au>
938
939 * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
940
c9a2f333
AM
9412005-03-21 Alan Modra <amodra@bigpond.net.au>
942
943 * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
944 function.
945 (LDEMUL_AFTER_ALLOCATION): Define.
946
b1ab9777
AM
9472005-03-21 Alan Modra <amodra@bigpond.net.au>
948
949 * emultempl/ppc64elf.em (ppc_finish): Rename from
950 gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish.
951 (LDEMUL_FINISH): Update.
952 * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
953 * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
954
2a2a7c94
JB
9552005-03-18 Julian Brown <julian@codesourcery.com>
956
957 * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
958 .rel.fini_array.
959 (.rela.dyn): Add .rela.init_array, .rela.fini_array.
960 (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
961
98720c64
L
9622005-03-18 H.J. Lu <hongjiu.lu@intel.com>
963
964 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
965 bfd_section when removing unused empty output sections for
966 non-relocatable link.
967
41c7ba7c
AM
9682005-03-19 Alan Modra <amodra@bigpond.net.au>
969
970 * ldlang.c (lang_insert_orphan): Use old section_tail rather than
971 traversing the bfd section list to find pointer to new section.
972
0fb53118
AM
9732005-03-18 Alan Modra <amodra@bigpond.net.au>
974
975 * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
976 input sections into .sdata and .sbss output respectively.
977
de7f8cc8
BW
9782005-03-16 David Heine <dlheine@tensilica.com>
979 Bob Wilson <bob.wilson@acm.org>
980
981 * ldlang.c (IGNORE_SECTION): Remove check for zero size.
982 (lang_check_section_addresses): Ignore zero size sections here.
983
57316bff
L
9842005-03-16 H.J. Lu <hongjiu.lu@intel.com>
985
986 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
987 unused empty output sections for non-relocatable link.
988
989 * ld.h (args_type): Remove gc_sections.
990
991 * ldlang.c (lang_mark_used_section): New.
992 (lang_gc_sections): Use link_info.gc_sections instead of
993 command_line.gc_sections.
994 * ldmain.c (main): Likewise.
995 * lexsup.c (parse_args): Likewise.
996 * ldlang.c (lang_process): Call lang_mark_used_section.
997
998 * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
999
1ad12f97
NC
10002005-03-16 Nick Clifton <nickc@redhat.com>
1001 Ben Elliston <bje@au.ibm.com>
1002
569acd2c 1003 * configure.in (werror): New switch: Add -Werror to the
1ad12f97 1004 compiler command line. Enabled by default. Disable via
569acd2c 1005 --disable-werror.
1ad12f97
NC
1006 * configure: Regenerate.
1007
cb2d1ef2
AM
10082005-03-16 Alan Modra <amodra@bigpond.net.au>
1009
1010 * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
1011 (OTHER_RELRO_SECTIONS): Set this instead.
1012
957d91c1
NC
10132005-03-15 Nick Clifton <nickc@redhat.com>
1014
1015 * NEWS: Add cutoff for changes in 2.16 release.
1016
34723071
NC
10172005-03-15 Mikkel Krautz <krautz@gmail.com>
1018
1019 * configure.tgt (x86_64-elf): Add target.
1020
729ae8d2
AM
10212005-03-15 Alan Modra <amodra@bigpond.net.au>
1022
1023 * po/es.po: Commit new Spanish translation.
1024
8b3d8fa8
AM
10252005-03-14 Alan Modra <amodra@bigpond.net.au>
1026
1027 * ldexp.c (exp_fold_tree): Ensure return value is initialized.
1028 Tidy etree_assert case.
1029
882cb63e
AM
10302005-03-14 Alan Modra <amodra@bigpond.net.au>
1031
1032 * po/tr.po: Commit new Turkish translation.
1033
61c84b48
DJ
10342005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
1035
1036 * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
1037 * Makefile.in: Regenerated.
1038 * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
1039
41c9e29d
NC
10402005-03-07 Nick Clifton <nickc@redhat.com>
1041
1042 * po/fr.po: Updated translation.
1043
06647dfd
AM
10442005-03-05 Alan Modra <amodra@bigpond.net.au>
1045
1046 * po/ld.pot: Regenerate.
1047
bb14f524
JB
10482005-03-02 Jan Beulich <jbeulich@novell.com>
1049
1050 * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
1051 * pe-dll.c (pe_dll_generate_implib): Likewise.
1052
0ef622cb
BE
10532005-02-24 Ben Elliston <bje@au.ibm.com>
1054
1055 * ldfile.c: Remove GNU960 conditional code.
1056 * emultempl/gld960.em: Likewise.
1057 * emultempl/gld960c.em: Likewise.
1058 * emultempl/lnk960.em: Likewise.
1059
f3f4bcca
NC
10602005-02-24 Nick Clifton <nickc@redhat.com>
1061
1062 * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
1063 empty string from calls to concat.
1064
10652005-02-23 Nick Clifton <nickc@redhat.com>
1066
1067 * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
1068 arguments passed to concat() with a NULL.
1069
1070 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
1071 define types needed by ldfile.h
1072
47639182
AM
10732005-02-23 Alan Modra <amodra@bigpond.net.au>
1074
1075 * pe-dll.c: Warning fixes.
1076 * emultempl/sunos.em: Likewise.
1077
ace66bb2
DJ
10782005-02-22 Daniel Jacobowitz <dan@codesourcery.com>
1079
1080 * ldlang.c (section_already_linked): Don't call
1081 bfd_section_already_linked for dynamic objects.
1082
5718918d
AM
10832005-02-22 Alan Modra <amodra@bigpond.net.au>
1084
1085 * ldexp.c: Warning fixes.
1086 * ldwrite.c: Likewise.
1087 * emultempl/elf32.em: Likewise.
1088
ebe372c1
L
10892005-02-21 H.J. Lu <hongjiu.lu@intel.com>
1090
1091 * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
1092 tic54x input only.
1093 (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
1094 and ECOFF output only.
1095
0ca2f5d5
AM
10962005-02-21 Alan Modra <amodra@bigpond.net.au>
1097
1098 * config.in: Regenerate.
1099 * configure: Regenerate.
1100
fbbb9ac5
ZW
11012005-02-17 Zack Weinberg <zack@codesourcery.com>
1102
1103 * ldexp.c (assigning_to_dot): New global flag.
1104 (fold_name): If assigning_to_dot is true, object immediately to
1105 an undefined symbol.
1106 (exp_fold_tree): Set and clear assigning_to_dot around the
1107 recursive call to exp_fold_tree to process the right-hand side
1108 of an assignment to the location counter.
1109
c68dac40
PB
11102005-02-17 Paul Brook <paul@codesourcery.com>
1111
1112 * scripttempl/armbpabi.sc: Add dummy name to version block.
1113
20c2cbe3
AM
11142005-02-17 Alan Modra <amodra@bigpond.net.au>
1115
1116 * ldexp.c (new_abs): Init new.str.
1117
0b48acfe
MM
11182005-02-15 Mark Mitchell <mark@codesourcery.com>
1119
1120 * configure.in (AC_CHECK_FUNCS): Add glob.
1121 * configure: Regenerated.
1122 * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
1123 not defined.
1124 (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
1125 if HAVE_GLOB is not defined.
fbbb9ac5 1126
ff925e69
KK
11272005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1128
1129 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
1130 lib_path if NATIVE is yes.
1131
92b7a70f
AM
11322005-02-16 Alan Modra <amodra@bigpond.net.au>
1133
1134 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
1135 an error creating fake bfd fatal.
1136 (ppc_before_allocation): Continue on after errors.
1137 (gld${EMULATION_NAME}_finish): Likewise.
1138
297ba367
NC
11392005-02-15 Nick Clifton <nickc@redhat.com>
1140
1141 * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
1142 not declared. It is not used and its presence causes a compile
1143 time warning.
fbbb9ac5 1144
9eabd475
ZW
11452005-02-11 Zack Weinberg <zack@codesourcery.com>
1146
1147 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
1148 If st.st_ino is zero, do not treat the library as a duplicate.
1149
d457dcf6
JJ
11502005-02-10 Jakub Jelinek <jakub@redhat.com>
1151
1152 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1153 Set BFD_LINKER_CREATED on the stubs bfd.
1154 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
1155 Likewise.
1156
4e5db43b
MM
11572005-02-08 Mark Mitchell <mark@codesourcery.com>
1158
1159 * scripttempl/armbpabi.sc (VERSION): Make special section symbols
9eabd475 1160 local.
4e5db43b
MM
1161 (Image$$ER_RO$$Base): Define whenever RELOCATING.
1162 (Image$$ER_RO$$Limit): Likewise.
1163 (SHT$$INIT_ARRAY$$Base): Likewise.
1164 (SHT$$INIT_ARRAY$$Limit): Likeise.
1165
4297f9f1
BE
11662005-02-10 Ben Elliston <bje@au.ibm.com>
1167
1168 * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
1169
1c7c5e5b
RS
11702005-02-08 Richard Sandiford <rsandifo@redhat.com>
1171
1172 * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
1173 to include o32 and n64 emulations.
1174 (mips64*-*-linux-gnu*): Likewise.
1175
300475fe
HPN
11762005-02-08 Hans-Peter Nilsson <hp@axis.com>
1177
1178 * ldmain.c (warning_callback, warning_find_reloc): Prepend
1179 "warning: " to warning messages.
1180
4ea42fb7
AM
11812005-02-04 Alan Modra <amodra@bigpond.net.au>
1182
1183 * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
1184 look up symbol for etree_provide here.
1185
161f49a3
DJ
11862005-02-02 Daniel Jacobowitz <dan@codesourcery.com>
1187
1188 * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
1189
73ae6183
NC
11902005-02-01 Edward Welbourne <eddy@opera.com>
1191 Nick Clifton <nickc@redhat.com>
1192
1193 * ld.texinfo (Source Code Reference): New node describing how to
1194 access linker script defined variables from source code.
1195
77cfaee6
AM
11962005-02-01 Alan Modra <amodra@bigpond.net.au>
1197
1198 * ld.texinfo: Clarify --as-needed operation.
1199
c46f8c51
AC
12002005-01-31 Andrew Cagney <cagney@gnu.org>
1201
1202 * configure: Regenerate to track ../gettext.m4.
1203
d342277e
NC
12042005-01-31 Nick Clifton <nickc@redhat.com>
1205
1206 * ldver.c (ldversion): Bump reported copyright date to 2005.
1207
d6486796
NC
12082005-01-31 Nick Clifton <nickc@redhat.com>
1209
1210 * configure.tgt: Remove obsolete targets m68k-lynxos and
1211 sparc-lynxos.
1212
319850b4
JB
12132005-01-28 Julian Brown <julian@codesourcery.com>
1214
1215 * emultempl/armelf.em (fix_v4bx): New variable.
1216 (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
1217 value to bfd.
1218 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
1219 (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
1220 (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
9eabd475 1221 (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
319850b4
JB
1222 * NEWS: Mention --fix-v4bx.
1223 * ld.texinfo: Document --fix-v4bx.
1224
dc4c9c19
MM
12252005-01-25 Mark Mitchell <mark@codesourcery.com>
1226
1227 * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
1228 as to include .ARM.exidx$${Base,Limit}.
1229 * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
1230 Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
1231 Put .init_array, .fini_array, etc. into the read-only data
9eabd475
ZW
1232 segment.
1233
7e9f0867
AM
12342005-01-25 Alan Modra <amodra@bigpond.net.au>
1235
1236 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
1237 (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
1238 only needed by an as-needed lib that didn't get linked.
1239
7e69709c
AM
12402005-01-23 Alan Modra <amodra@bigpond.net.au>
1241
1242 * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
1243 __DTOR_LIST__ description.
1244
b5666f2f
AM
12452005-01-23 Alan Modra <amodra@bigpond.net.au>
1246
1247 * ld.texinfo (Location Counter <dot outside sections>): Document
1248 effects of orphan section placement, and ". = ." workaround.
1249 * Makefile.in: Regenerate.
1250
4e25343c
RS
12512005-01-22 Richard Sandiford <rsandifo@redhat.com>
1252
1253 * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
1254 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
1255
b717d30e
JJ
12562005-01-21 Jakub Jelinek <jakub@redhat.com>
1257
1258 * ldgram.y (AS_NEEDED): New token.
1259 (input_list): Handle AS_NEEDED ( input_list ).
1260 * ldlex.l (AS_NEEDED): Add.
1261 * ld.texinfo: Document AS_NEEDED ().
1262 * NEWS: Mention AS_NEEDED ().
1263
7a64f7b8
BE
12642005-01-21 Ben Elliston <bje@au.ibm.com>
1265
1266 * ldlang.c (lang_reasonable_defaults): Remove.
1267 (lang_process): Don't call lang_reasonable_defaults.
1268
1269 * ldexp.c (exp_assop): Remove #if 0'd code.
1270 (exp_print_tree): Likewise.
1271 * ldlang.c (lang_memory_region_lookup): Likewise.
1272 (open_output): Likewise.
1273 (lang_do_assignments_1): Likewise.
1274 (lang_place_orphans): Likewise.
1275 (lang_enter_output_section_statement): Likewise.
1276 (lang_reasonable_defaults): Likewise.
1277 * ldlang.h (struct lang_input_statement_struct): Likewise.
1278 * mri.c (mri_draw_tree): Likewise.
1279 (mri_load): Likewise.
1280 * pe-dll.c (generate_reloc): Likewise.
1281 (make_import_fixup_entry): Likewise.
1282 (pe_as16): Likewise.
1283 * emultempl/beos.em (set_pe_subsystem): Likewise.
1284 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
1285 * emultempl/pe.em: Likewise.
1286 * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
1287
a154a8ad
MM
12882005-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1289
1290 * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
1291 (earmelfb_linux_eabi.c): New target.
1292 * Makefile.in: Regenerated.
1293 * configure.tgt (arm*b-*-linux-gnueabi): New target.
1294 * emulparams/armelfb_linux_eabi.sh: New file.
1295
9c183183
AM
12962005-01-20 Nick Hudson <skrll@netbsd.org>
1297
1298 PR ld/676
1299 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1300 Handle bfd_elf32_hppa_nbsd_vec.
1301
e2243057
RS
13022005-01-19 Richard Sandiford <rsandifo@redhat.com>
1303
1304 * ldmain.h (ld_sysroot): Change type to a constant string.
1305 * ldmain.c (ld_sysroot): Likewise.
1306 (get_relative_sysroot, get_sysroot): New functions, adding command-line
1307 support for changing the sysroot.
1308 (main): Call the new functions.
1309 * lexsup.c (OPTION_SYSROOT): New.
1310 (ld_options): Add --sysroot.
1311 (parse_args): Add a dummy handler for it.
1312 * ld.texinfo (--sysroot): Document.
1313 * NEWS: Mention the new --sysroot option.
1314
1449d79b
AM
13152005-01-18 Alan Modra <amodra@bigpond.net.au>
1316
1317 * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
1318 (lang_place_orphans): Don't abort on just_syms_flag, instead call
1319 bfd_link_just_syms.
1320
a880c748
DS
13212005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
1322
1323 * defilep.y (def_name, def_library): Combine into...
1324 (def_image_name): New function. Strip name to basename,
1325 with warning.
1326
07baa8ee
MK
13272005-01-12 Mark Kettenis <kettenis@gnu.org>
1328
1329 * configure.in: Be sure to invoke config.sub using the shell.
1330 * configure: Regenerate.
1331
e9b181b8
AM
13322005-01-11 Alan Modra <amodra@bigpond.net.au>
1333
1334 * configure.host: Correct sed patterns for last change.
1335
59ef2528
NC
13362005-01-10 Nick Clifton <nickc@redhat.com>
1337
1338 PR binutils/609
1339 * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this
1340 to determine whether config.make_executable should be set to FALSE in
1341 conjunction with config.fatal_warnings.
1342 (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
1343 (einfo): Pass TRUE as the extra argument.
1344
71a2d53a
NC
13452005-01-10 Greg Schaffer <gschafer@zip.com.au>
1346
1347 * configure.host (linux targets): Use "${CC} -dumpspecs" instead
1348 of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
1349 (ia64-*-aix): Delete - this target is obsolete, and would be
1350 broken by this patch.
1351
d6d0b336
EB
13522005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
1353
1354 * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
1355 (sparc64-sun-solaris2*): New host.
1356
4e7fd91e
PB
13572005-01-06 Paul Brook <paul@codesourcery.com>
1358
1359 * Makefie.am: Add earmelf_vxworks.
1360 * Makefile.in: Regenerate.
1361 * configure.tgt: Make arm-*-vxworks a separate case.
1362 * emulparams/armelf_vxworks.sh: New function.
1363
4c52953f
AM
13642005-01-06 Alan Modra <amodra@bigpond.net.au>
1365
1366 * emultempl/ppc64elf.em (no_multi_toc): New var.
1367 (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
1368 (OPTION_NO_MULTI_TOC): Define.
1369 (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
1370 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
1371
98d87ee7
NC
13722005-01-05 Nick Clifton <nickc@redhat.com>
1373
1374 PR binutils/614
1375 * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
4c52953f 1376 Standard's specification for parsable error messages.
98d87ee7 1377
5f81b918
PB
13782005-01-04 Paul Brook <paul@codesourcery.com>
1379
1380 * Makefile.am: Correct dependency for earmsymbian.c.
1381 * Makefile.in: Regenerate.
1382
2af59bab
DS
13832004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
1384
1385 * emultempl/pe.em (set_pe_subsystem): Change second arg to
1386 lang_add_entry to FALSE.
1387
c38f024c
NC
13882004-12-23 Nick Clifton <nickc@redhat.com>
1389
1390 PR 600
1391 * emulparams/shelf.sh (.stack): Increase stack start address to
1392 0x300000.
1393
550bdea6
NC
13942004-12-20 Nick Clifton <nickc@redhat.com>
1395
1396 * ldmain.c (main): Issue an error message if -static and -shared
1397 are used together.
1398
e3070fef
JJ
13992004-12-17 Jakub Jelinek <jakub@redhat.com>
1400
1401 * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
1402 * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
1403 * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
1404 address space at DATA_SEGMENT_ALIGN. Fix computation of expected
1405 PT_GNU_RELRO segment end.
1406
2fbd2a87
NC
14072004-12-14 P.J. Darcy <darcypj@us.ibm.com>
1408
1409 * configure.tgt: Add s390x-ibm-tpf support.
1410
f2763b01
NC
14112004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
1412
1413 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
1414 BFD.
1415
cb9faf63
BE
14162004-12-07 Ben Elliston <bje@gnu.org>
1417
1418 * ldemul.h: Forward declare struct option.
1419
02f80eef
DS
14202004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
1421
1422 * scripttempl/pe.sc (.data): Add .jcr subsection.
1423
dea514f5
PB
14242004-11-30 Paul Brook <paul@codesourcery.com>
1425
1426 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
1427
32118081
NC
14282004-11-30 Tero Niemela <tero_niemela@yahoo.com>
1429
1430 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
1431 * Makefile.in: Regenerate.
1432
33f362e1
NC
14332004-11-26 Melissa Mears <asterisk@graces.dricas.com>
1434
1435 * emultempl/pe.em: Add --subsystem:xbox as well as
1436 --subsystem:%d.
1437 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
1438 and numeric subsystems.
1439
3eda52aa
AM
14402004-11-24 Alan Modra <amodra@bigpond.net.au>
1441
1442 * ldexp.c (fold_name): Correct PR 338 fix.
1443
6b3221b4
MM
14442004-11-19 Mark Mitchell <mark@codesourcery.com>
1445
1446 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
1447 (earmelf_linux_eabi.c): New target.
1448 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
1449 * emulparams/armelf_linux_eabi.sh: New file.
1450 * Makefile.in: Regenerated.
1451
9cd6d51a
NC
14522004-11-19 Nick Clifton <nickc@redhat.com>
1453
1454 PR 518
1455 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
1456 LENGTH fields in the MEMORY command, to explicitly state that
1457 symbols cannot be used in their expressions.
1458
3ec57632
NC
14592004-11-19 Jon Beniston <jon@beniston.com>
1460
1461 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
1462 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
4c52953f 1463 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
3ec57632
NC
1464 which return the length and origin of a memory.
1465 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
1466 * NEWS: Mention support for ORIGIN and LENGTH operators.
1467
b7693d02
DJ
14682004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
1469
1470 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
1471 a dynamic object for stubs.
1472
fc0e6df6
PB
14732004-11-04 Paul Brook <paul@codesourcery.com>
1474
1475 * ld.texinfo: Document --default-imported-symver.
1476 * ldmain.c (main): Set link_info.default_imported_symver.
1477 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
1478 (ld_options): Add --default-imported-symver.
1479 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
1480
7499d566
NC
14812004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
1482 Vineet Sharma <vineets@noida.hcltech.com>
1483
1484 * Makefile.am: Add entries for new maxq-coff target.
1485 * Makefile.in: Regenerate.
1486 * configure.tgt: Add support for maxq.
1487 * emulparams/maxqcoff.sh: New File.
1488 * scripttempl/maxqcoff.sc: New linker script for target maxq.
1489 * NEWS: Mention the new target.
1490
7f266840
DJ
14912004-11-04 Daniel Jacobowitz <dan@debian.org>
1492
1493 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
1494 (earmelf_oabi.c): Remove rule.
1495 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
1496 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
1497 * Makefile.in: Regenerated.
1498
a0055007
HPN
14992004-11-04 Hans-Peter Nilsson <hp@axis.com>
1500
1501 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
1502 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
1503 (FINI_START): Ditto.
1504 (INIT_END): Remove emitted "jump [sp+]".
1505 (FINI_END): Ditto.
1506
c5614fa4
AM
15072004-11-04 Alan Modra <amodra@bigpond.net.au>
1508
1509 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
1510 (no_opd_opt, no_toc_opt): New static vars.
1511 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
1512 ppc64_elf_edit_toc.
1513 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
1514 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
1515 (PARSE_AND_LIST_OPTIONS): Describe new options.
1516 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1517
7a5df8d0
NC
15182004-10-27 Nick Clifton <nickc@redhat.com>
1519
1520 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
1521 parameter to invocation of lang_section_start.
1522 * emultempl/aix.em (_handle_option): Likewise.
c5614fa4 1523
7a5df8d0
NC
1524 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
1525 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
1526 * Makefile.in: Regenerate.
1527
6f372e19
MM
15282004-10-26 Mark Mitchell <mark@codesourcery.com>
1529
1530 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
1531 __exidx_{start,end} when not relocating.
1532
ba916c8a
MM
15332004-10-25 Mark Mitchell <mark@codesourcery.com>
1534
1535 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
1536 * ldexp.h (segment_type): New type.
1537 (segments): New variable.
1538 * ldexp.c (segments): New variable.
1539 (exp_print_token): Handle SEGMENT_START.
1540 (fold_binary): Likewise.
1541 * ldgram.y (SEGMENT_START): Declare it as a token.
1542 (exp): Handle SEGMENT_START.
1543 * ldlang.h (lang_address_statement_type): Add segment field.
1544 (lang_section_start): Change prototype.
1545 * ldlang.c (map_input_to_output_sections): Do not process section
1546 assignments if a corresponding SEGMENT_START has already been
1547 seen.
1548 (lang_section_start): Add segment parameter.
1549 * ldlex.l (SEGMENT_START): Add it.
1550 * lexsup.c (seg_segment_start): New function.
1551 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
1552 * ld.texinfo (SEGMENT_START): Document it.
1553 * emulparams/armsymbian.sh (EMBEDDED): Set it.
1554 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
1555 base addresses. Do not map relocations.
1556 * NEWS: Mention SEGMENT_START.
1557
3e3b46e5
PB
15582004-10-26 Paul Brook <paul@codesourcery.com>
1559
1560 * ld.texinfo: Document --default-symver.
1561 * ldmain.c (main): Set link_info.create_default_symver.
1562 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
1563 (ld_options): Add default-symver.
1564 (parse_args): Handle OPTION_DEFAULT_SYMVER.
1565
7b0eaa22
DS
15662004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
1567
1568 * pe-dll.c (process_def_file): Don't export all symbols by default if
1569 building a position-independent executable.
1570
dfeffb9f
L
15712004-10-21 H.J. Lu <hongjiu.lu@intel.com>
1572
1573 PR 463
1574 * ldmain.c (reloc_overflow): Accept a pointer to struct
1575 bfd_link_hash_entry. Report symbol location for relocation
1576 overflow.
1577
dc4f76f8
L
15782004-10-21 H.J. Lu <hongjiu.lu@intel.com>
1579
1580 * genscripts.sh (libpath.exp): Really generate for first
1581 emulation only.
1582
2a08daf3
DS
15832004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
1584
1585 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
1586 comparison and replacement of filenames.
1587
532345f2
L
15882004-10-19 H.J. Lu <hongjiu.lu@intel.com>
1589
1590 PR 459
1591 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
1592 option on linker script as the one for linker script.
1593
b58f81ae
DJ
15942004-10-16 Daniel Jacobowitz <dan@debian.org>
1595
1596 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
1597 (check_excluded_libs): New.
1598 (load_symbols): Call check_excluded_libs.
1599 * ldlang.h (add_excluded_libs): New prototype.
1600 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
1601 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
1602 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
1603 * ld.texinfo (Command Line Variables): Document --exclude-libs.
1604 (Options Specific to i386 PE Targets): Remove --exclude-libs.
1605
95c148b4
AM
16062004-10-15 Alan Modra <amodra@bigpond.net.au>
1607
c468c8bc
AM
1608 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
1609 failing link script assert.
1610
95c148b4
AM
1611 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
1612
951e9133
L
16132004-10-14 H.J. Lu <hongjiu.lu@intel.com>
1614
1615 PR 445
1616 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
1617 (SMALL_DATA_DTOR): Set.
1618 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
1619 (SMALL_DATA_DTOR): Unset.
1620 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
1621 after .data. If SMALL_DATA_DTOR is set, move .dtors after
1622 .data.
1623
afd7a018
AM
16242004-10-14 Alan Modra <amodra@bigpond.net.au>
1625
1626 PR 63
1627 * ldlang.h (lang_output_section_statement_type): Make "next" a
1628 struct lang_output_section_statement_struct *.
1629 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
1630 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
1631 * ldlang.c (lang_output_section_find_1): Adjust for changed
1632 output_section_statement "next".
1633 (strip_excluded_output_sections): Likewise.
1634 (lang_record_phdrs): Likewise.
1635 (lang_output_section_find_by_flags): New function.
1636 (output_prev_sec_find): Move from pe.em. Adjust iterator.
1637 (lang_insert_orphan): New function. Tail end of elf32.em's
1638 place_orphan merged with that from pe.em. Allow bfd_section to
1639 be placed first. New heuristic for placing new output section
1640 statement in existing script, and accompanying split of __start
1641 symbol alignment into a separate assignment to dot.
1642 (lang_add_section): Consistently use output->bfd_section rather than
1643 an alias, section->output_section.
1644 (map_input_to_output_sections): Rename overly long arg. Move
1645 initialization of data_statement output section to here..
1646 (lang_check_section_addresses): ..from here.
1647 (print_assignment): Correct printing of etree_assert.
1648 (print_all_symbols): Don't bomb if userdata is NULL.
1649 (IGNORE_SECTION): Rearrange.
1650 * emultempl/elf32.em (output_rel_find): Adjust interator.
1651 (output_prev_sec_find): Delete.
1652 (struct orphan_save): Delete.
1653 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
1654 flags without creating a duplicate output section statement.
1655 Revise code holding history of various orphan section placements.
1656 Allow orphan sections to place before script specified output
1657 sections. Call lang_output_section_find_by_flags when placement
1658 by name fails. Use lang_insert_orphan.
1659 * emultempl/mmo.em (output_prev_sec_find): Delete.
1660 (struct orphan_save): Delete.
1661 (mmo_place_orphan): Revise code holding history of orphan placement.
1662 Allow orphans to place before existing output sections. Use
1663 lang_insert_orphan.
1664 * emultempl/pe.em (output_prev_sec_find): Delete.
1665 (struct orphan_save): Delete.
1666 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
1667 lang_insert_orphan.
1668
c0042f5d
MM
16692004-10-13 Mark Mitchell <mark@codesourcery.com>
1670
1671 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
1672 loadable segment.
1673
1af699f4
AM
16742004-10-13 Alan Modra <amodra@bigpond.net.au>
1675
1676 PR 44
09c112da
AM
1677 * ldcref.c (check_section_sym_xref): Delete.
1678 (check_local_sym_xref): New function.
1679 (check_nocrossrefs): Adjust call.
1af699f4
AM
1680 * emultempl/pe.em (struct orphan_save): Add os_tail.
1681 (place_orphan): Backport assorted fixes from elf32.em.
1682
7fa3d080
BW
16832004-10-12 Bob Wilson <bob.wilson@acm.org>
1684
1685 * emultempl/xtensaelf.em: Use ISO C90 formatting.
1686
d3989512
JJ
16872004-10-11 Jakub Jelinek <jakub@redhat.com>
1688
563f4125
JJ
1689 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
1690 getline for portability.
1691
d3989512
JJ
1692 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
1693 (gld${EMULATION_NAME}_parse_ld_so_conf,
1694 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
1695 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
1696
6c0c5b1e
AM
16972004-10-11 Alan Modra <amodra@bigpond.net.au>
1698
1699 PR 423
1700 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
1701 rejected when linking statically.
1702
d2b2c203
DJ
17032004-10-08 Daniel Jacobowitz <dan@debian.org>
1704
1705 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
1706
43cd72b9
BW
17072004-10-07 Bob Wilson <bob.wilson@acm.org>
1708
1709 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
1710 assembler-generated longcall sequences. Describe new --size-opt
1711 option.
1712 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
1713 * emultempl/xtensaelf.em (remove_section,
1714 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
1715 elf_xtensa_after_open): New.
1716 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
1717 OPTION_NO_LITERAL_MOVEMENT): Define.
1718 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
1719 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
1720 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
1721 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
1722 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
1723 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
1724 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
1725 * Makefile.am (eelf32xtensa.c): Update dependencies.
1726 * Makefile.in: Regenerate.
1727
8fdd7217 17282004-10-07 Jeff Baker <jbaker@qnx.com>
6c0c5b1e 1729
8fdd7217
NC
1730 * lexsup.c: Handle --warn-shared-textrel option.
1731 (ld_options): Restore alpha sorting of options.
1732 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
1733 * ld.texinfo: Add documentation for --warn-shared-textrel.
1734 * NEWS: Added mention of --warn-shared-textrel option.
1735
339207f8 17362004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
6c0c5b1e 1737
339207f8 1738 * emultempl/crxelf.em (disable_relaxation): Add.
6c0c5b1e 1739 (crxelf_before_allocation): Enable --relax option by default.
339207f8
TL
1740 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
1741 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
1742 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
1743
bcaa7b3e
L
17442004-10-04 H.J. Lu <hongjiu.lu@intel.com>
1745
1746 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
1747 --sort-section name|alignment.
1748
1749 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
1750 --sort-section name|alignment.
1751
1752 * ld.h (sort_type): New enum.
1753 (wildcard_spec): Change the type of `sorted' to sort_type.
1754
1755 * ldgram.y (SORT): Removed.
1756 (SORT_BY_NAME): Added.
1757 (SORT_BY_ALIGNMENT): Added.
1758 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
1759 SORT_BY_ALIGNMENT.
1760 (input_section_spec_no_keep): Updated `sorted'.
1761 (statement): Replace SORT with SORT_BY_NAME.
1762
1763 * ldlang.c (compare_section): New function to compare 2
1764 sections with different sorting schemes.
1765 (wild_sort): Updated. Use compare_section.
1766 (update_wild_statements): New function.
1767 (lang_process): Call update_wild_statements before
1768 map_input_to_output_sections.
1769
1770 * ldlex.l (SORT_BY_NAME): New.
1771 (SORT_BY_ALIGNMENT): New.
1772 (SORT): Return SORT_BY_NAME.
1773
1774 * ldmain.c (sort_section): New. Defined.
1775 (main): Initialize it to none.
1776
1777 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
1778 (ld_options): Add an entry for OPTION_SORT_SECTION.
1779 (parse_args): Handle OPTION_SORT_SECTION.
1780
1781 * mri.c (mri_draw_tree): Updated `sorted'.
1782
a4f5ad88
JJ
17832004-10-04 Jakub Jelinek <jakub@redhat.com>
1784
1785 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
1786 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
1787 argument.
1788 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
1789 and . as second argument.
1790 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
1791 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
1792 (fold_binary): Add it here. Insert padding to make relro_end
1793 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
1794 exp_dataseg_relro_adjust phase just use previously computed
1795 exp_data_seg.base.
1796 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
1797 relro_adjust here. Call lang_size_sections_1 once more if there
1798 was too big padding at DATA_SEGMENT_RELRO_END.
1799 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
1800
40a18ebd
NC
18012004-10-01 Paul Brook <paul@codesourcery.com>
1802
1803 * emulparams/armelf.sh: Add unwinding table sections.
1804
db8acf26
NC
18052004-09-30 Filip Navara <navaraf@reactos.com>
1806
1807 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
1808 correct base address for position independant executables.
1809 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
1810 executables as DLLs.
1811
eeac373a
PB
18122004-09-30 Paul Brook <paul@codesourcery.com>
1813
1814 * ld.texinfo: Document --target2=abs.
1815 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
1816
1ee7cf4c
NC
18172004-09-29 Nick Clifton <nickc@redhat.com>
1818
1819 * scripttempl/xstormy16.sc: Only perform the assignments to the
1820 ROM region when not performing a relocatable link. The ROM region
1821 does not start at address 0, but the sections will.
1822 * Makefile.am: Fix linker script dependency for the generation of
1823 eelf32xstormy16.c.
1824 * Makefile.in: Regenerate.
1825
03098a9a
CF
18262004-09-18 Filip Navara <navaraf@reactos.com>
1827
1828 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
1829 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
1830 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
1831 TARGET_PAGE_SIZE.
1832 * scripttempl/pe.sc: Make the virtual address and file offset synced if
1833 the alignment is lower than the target page size.
1834
f2d3750d
CF
18352004-09-27 Filip Navara <navaraf@reactos.com>
1836
1837 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
1838 def_file_parse to handle pe_def_file if NULL and prevent crash with
1839 invalid .def files.
1840
a23d8409
AM
18412004-09-27 Alan Modra <amodra@bigpond.net.au>
1842
1843 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
1844 --emit-stub-syms automatically when --emit-relocs.
1845
7b89fa29
PB
18462004-09-24 Paul Brook <paul@codeosurcery.com>
1847
1848 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
1849 .fini_array sections.
1850
e2a68bcc
AS
18512004-09-19 Andreas Schwab <schwab@suse.de>
1852
1853 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
1854 base so that relro end is suitably aligned.
1855
3674e28a
PB
18562004-09-17 Paul Brook <paul@codesourcery.com>
1857
1858 * ld.texinfo: Rename arm-specific section. Document --target*
1859 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
1860 * emulparams/armelf_linux.sh: Ditto.
1861 * emulparams/armelf_nbsd.sh: Ditto.
1862 * emultempl/armelf.em: Set default for TARGET2_TYPE.
1863 (target2_type): New variable.
1864 (arm_elf_before_allocation): Don't pass target1_type.
1865 (arm_elf_create_output_section_statements): New function.
1866 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
1867 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
1868 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
1869 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
1870 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
1871 argument to bfd_elf32_arm_process_before_allocation.
1872
f6e332e6
AM
18732004-09-17 Alan Modra <amodra@bigpond.net.au>
1874
1875 * ldexp.c (fold_name): Update u.undef.next refs.
1876 * emultempl/pe.em: Likewise.
1877 * emultempl/sunos.em: Likewise.
1878
9c933e04
AM
18792004-09-17 Alan Modra <amodra@bigpond.net.au>
1880
1881 * Makefile.am: Run "make dep-am".
1882 * Makefile.in: Regenerate.
1883 * config.in: Regenerate.
1884 * configure: Regenerate.
1885 * aclocal.m4: Regenerate.
1886 * po/ld.pot: Regenerate.
1887
1fa32646
TL
18882004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
1889
9c933e04
AM
1890 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
1891 (.fini): Likewise.
1892 (.jcr): Likewise.
1fa32646 1893
b6ee372a
AM
18942004-09-16 Alan Modra <amodra@bigpond.net.au>
1895
1896 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
1897 to bfd_elf32_arm_process_before_allocation call.
1898
9c504268
PB
18992004-09-13 Paul Brook <paul@codesourcery.com>
1900
1901 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
1902 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
1903
d15b04bd
L
19042004-09-07 H.J. Lu <hongjiu.lu@intel.com>
1905
1906 * configure: Regenerated with autconfig 2.13.
1907
875c4330
AS
19082004-09-07 Andreas Schwab <schwab@suse.de>
1909
1910 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
1911 alignment before adjusting DATA_SEGMENT_RELRO_END.
1912
229fcec5
MM
19132004-09-06 Mark Mitchell <mark@codesourcery.com>
1914
1915 * emulparams/armsymbian.sh: Use armbpabi script.
1916 * scripttempl/armbpabi.sc: New script.
1917
e5a52504
MM
19182004-09-02 Mark Mitchell <mark@codesourcery.com>
1919
1920 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
1921 (earmsymbian.c): New target.
1922 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
1923 * Makefile.in: Regenerated.
1924 * aclocal.m4: Likewise.
1925 * configure: Likewise.
1926 * emulparams/armsymbian.sh: New file.
1927
42851540
NC
19282004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
1929
1930 * scripttempl/elf32crx.sc: Edit file with comments.
1931 (.init): Add new section.
1932 (.fini): Likewise.
1933 (.ctor): Control the linkage order.
1934 (.dtor): Likewise.
1935
c034e3e0
NC
19362004-08-27 Nick Clifton <nickc@redhat.com>
1937
1938 * emultempl/pe.em (after_open): Do not assume that either bfd is
9c933e04 1939 an archive.
c034e3e0 1940
688c58f3
AM
19412004-08-26 Alan Modra <amodra@bigpond.net.au>
1942
1943 * ldlang.c (lang_init): Don't compare with TRUE.
1944
b18c562e
NC
19452004-08-25 Dmitry Diky <diwil@spec.ru>
1946
1947 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
1948 * scripttempl/elf32msp430.sc: Add .profiler section definition.
1949
61f5d054
L
19502004-08-24 H.J. Lu <hongjiu.lu@intel.com>
1951
1952 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
1953
e77d3d77
MM
19542004-08-19 Mark Mitchell <mark@codesourcery.com>
1955
1956 * configure.tgt (arm*-*-symbianelf*): New target.
1957 (arm*-*-eabi*): Likewise.
1958
3f764659
JJ
19592004-08-19 Jakub Jelinek <jakub@redhat.com>
1960
1961 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
1962 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
1963 (OPTION_NON_OVERLAPPING_OPD): Define.
1964 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
1965 --non-overlapping-opd option.
1966
a010d60f
AM
19672004-08-18 Alan Modra <amodra@bigpond.net.au>
1968
1969 PR 338
1970 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
1971 was already on the undefs list.
1972
c4e33880
AM
19732004-08-17 Alan Modra <amodra@bigpond.net.au>
1974
1975 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
1976 prefix the symbol field too.
1977
d003868e
AM
19782004-08-13 Alan Modra <amodra@bigpond.net.au>
1979
1980 * ldmain.c (link_callbacks): Remove "error_handler".
1981 * ldmisc.c: Include elf-bfd.h.
1982 (vfinfo): Sort comment. Handle %A. Use %A instead of
1983 bfd_get_section_indent.
1984 (error_handler): Delete.
1985 * ldmisc.h (error_handler): Delete declaration.
1986
99877b66
AM
19872004-08-10 Alan Modra <amodra@bigpond.net.au>
1988
1989 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
1990 ppc64_elf_restore_symbols.
1991
40e45c8b
AM
19922004-08-09 Alan Modra <amodra@bigpond.net.au>
1993
1994 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
1995 .toc is too large on relocatable linking.
1996
ccfa59ea
AM
19972004-08-09 Alan Modra <amodra@bigpond.net.au>
1998
1999 * emultempl/ppc64elf.em (ppc_after_open): Delete.
2000 (LDEMUL_AFTER_OPEN): Don't define.
2001
93fd0973
SC
20022004-08-02 Stephane Carrez <stcarrez@nerim.fr>
2003
2004 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
2005
f1b123db
SC
20062004-08-01 Stephane Carrez <stcarrez@nerim.fr>
2007
2008 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
2009 on power of 2.
2010
e7fbc2bf
JT
20112004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
2012
2013 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2014
c05e9f04
NC
20152004-07-26 Dmitry Diky <diwil@spec.ru>
2016
2017 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
2018 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
2019 msp430xG439.
2020 * configure.tgt: Likewise.
2021 * emulparams/msp430all.sh: Likewise.
2022 * Makefile.in: Regenerate.
2023
9f61903d
NC
20242004-07-23 Nick Clifton <nickc@redhat.com>
2025
2026 * emultempl/elf32.em (_place_orphan): Use an already existing
2027 section name if that section does not have any flags set.
2028
082b7297
L
20292004-07-21 H.J. Lu <hongjiu.lu@intel.com>
2030
2031 * ldlang.c (already_linked_hash_entry): Removed.
2032 (already_linked): Likewise.
2033 (already_linked_table): Likewise.
2034 (section_already_linked): Call bfd_section_already_linked.
2035 (lang_process): Replace already_linked_table_init with
2036 bfd_section_already_linked_table_init and check return. Replace
2037 already_linked_table_free with bfd_section_already_linked_table_free.
2038
76d7af2d
NC
20392004-07-21 Nick Clifton <nickc@redhat.com>
2040
2041 * ldlang.c (init_os): Make sure that the newly allocated userdata
2042 structure is zeroed out.
2043
14b3c463
L
20442004-07-19 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 * NEWS: Mention the new --add-needed/--no-add-needed and
2047 --as-needed/--no-as-needed options.
2048
e56f61be
L
20492004-07-19 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
2052 check the add_needed field.
2053 (dt_needed): New struct.
2054 (gld${EMULATION_NAME}_try_needed): Change the first argument
2055 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
2056 bit in the file where the DT_NEEDED entry comes from.
2057 (gld${EMULATION_NAME}_search_needed): Change the second
2058 argument to a pointer to struct dt_needed.
2059 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
2060 (gld${EMULATION_NAME}_after_open): Likewise.
2061
2062 * ld.texinfo: Add --add-needed document.
2063 * ldlang.c (new_afile): Set p->add_needed.
2064 * ldlang.h (lang_input_statement_type): Add add_needed field.
2065 * ldmain.h (add_needed): Declare.
2066 * ldmain.c (add_needed): New global var.
2067 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
2068 OPTION_NO_ADD_NEEDED.
2069 (ld_options): Likewise.
2070 (parse_args): Handle them.
2071
c99b8138
NC
20722004-07-13 Christof Petig <christof@petig-baender.de>
2073
2074 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
2075 for endian-ness of extracted addend.
2076
13ed4151
NC
20772004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
2078
2079 * pe-dll.c (auto_export): Filter on just the import prefix,
2080 "_imp_", not "_imp__".
2081
1a320fbb
NC
20822004-07-09 Nick Clifton <nickc@redhat.com>
2083
2084 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
2085
1fe1f39c
NC
20862004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
2087
2088 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
2089 (eelf32crx.c): New target.
2090 * Makefile.in: Regenerate.
2091 * configure.tgt: Handle crx-*-elf*.
2092 * emulparams/elf32crx.sh: New file.
2093 * emultempl/crxelf.em: New file.
2094 * scripttempl/elf32crx.sc: New file.
2095 * NEWS: Mention new target.
2096
85fbca6a
NC
20972004-07-06 Nick Clifton <nickc@redhat.com>
2098
2099 * Makefile.am: Add eshlsymbian.c.
2100 * Makefile.in: Regenerate.
2101 * configure.tgt: Add sh*-symbian-elf target.
2102 * emulparams/shlsymbian.sh: New file. Configure the
2103 sh-symbian-elf linker scripts.
2104 * scripttemp/elf32sh-symbian.sc: New file. Linker script
2105 template for the sh-symbian-elf target.
2106
b71a5181
DA
21072004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2108
2109 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
2110 * emulparams/hppalinux.sh: Likewise.
2111 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
2112 data segment and PLT_BEFORE_GOT is defined.
2113
c87db184
CF
21142004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2115
2116 * ld.texinfo (WIN32): Document PE weak symbols.
2117
f6a8ae81
KK
21182004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2119
2120 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
2121
b602c853
L
21222004-07-01 H.J. Lu <hongjiu.lu@intel.com>
2123
2124 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
2125 the section.
2126
1a23a9e6
AM
21272004-06-29 Alan Modra <amodra@bigpond.net.au>
2128
2129 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
2130 size in rawsize.
2131
eea6121a
AM
21322004-06-24 Alan Modra <amodra@bigpond.net.au>
2133
2134 * ldlang.c (print_output_section_statement): Don't print size before
2135 relaxation.
2136 (IGNORE_SECTION): Remove bfd arg. Update all callers.
2137
2138 * ldexp.c (fold_name): .. See below.
2139 * ldlang.c (section_already_linked, print_output_section_statement,
2140 print_input_section, insert_pad, size_input_section,
2141 lang_check_section_addresses, lang_size_sections_1,
2142 lang_size_sections, lang_do_assignments_1, lang_set_startof,
2143 lang_one_common, lang_reset_memory_regions, lang_process,
2144 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
2145 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
2146 * pe-dll.c (process_def_file, generate_reloc): ..
2147 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
2148 gld${EMULATION_NAME}_before_allocation): ..
2149 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
2150 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
2151 sh64_elf_${EMULATION_NAME}_after_allocation): ..
2152 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
2153 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
2154 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
2155 "size" instead of "_raw_size" and "_cooked_size". Expand
2156 bfd_section_size macro invocations.
2157
552f8272
CF
21582004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2159
2160 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
2161 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
2162 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
2163 ___crt_xt_end__.
2164 (.tls): Define ___tls_start__ and ___tls_end__.
2165
aee6f5b4
AO
21662004-06-21 Alexandre Oliva <aoliva@redhat.com>
2167
2168 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
2169
eea6121a 21702004-06-18 Adam Nemet <anemet@lnxw.com>
f234d5fe 2171
eea6121a
AM
2172 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
2173 * configure: Regenerate.
f234d5fe 2174
dfff4fbe
JJ
21752004-06-15 Jakub Jelinek <jakub@redhat.com>
2176
2177 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
2178 .gcc_except_table output sections lost accidentally with
2179 -z relro patch.
2180
a9e0c0c6
AM
21812004-06-15 Alan Modra <amodra@bigpond.net.au>
2182
2183 * ldwrite.c (build_link_order): Use bfd_get_section_size
2184 instead of bfd_get_section_size_before_reloc or _raw_size.
2185 * pe-dll.c (process_def_file): Likewise.
2186
7115639b
AM
21872004-06-14 Alan Modra <amodra@bigpond.net.au>
2188
2189 From Richard Wirth <r.wirth@wirthware.de>
2190 * ldlang.c (lang_finish): Don't free lang_definedness_table.
2191
9ca57817
AM
21922004-05-29 Alan Modra <amodra@bigpond.net.au>
2193
2194 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
2195 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
2196
164e712d
AM
21972004-05-28 Alan Modra <amodra@bigpond.net.au>
2198
6feb9908
AM
2199 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
2200 throughout file.
2201 * lexsup.c: Formatting. Wrap long lines.
2202 * ldwrite.c: Update copyright date.
2203
164e712d
AM
2204 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
2205 (output_section_callback): Nor SEC_KEEP here.
2206 (gc_section_callback): Twiddle SEC_EXCLUDE here.
2207 (lang_gc_wild): Delete. Fold into..
2208 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
2209 collecting.
2210 (lang_process): Always call lang_gc_sections.
2211 (lang_place_orphans): Handle SEC_EXCLUDE sections.
2212 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
2213 SEC_EXCLUDE code.
2214
b3096250
L
22152004-05-26 H.J. Lu <hongjiu.lu@intel.com>
2216
2217 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
2218 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
2219 * ldlang.c (lang_add_section): Likewise.
2220
e49f5022
AM
22212004-05-26 Alan Modra <amodra@bigpond.net.au>
2222
2223 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
2224 sections when doing a final link. Clear SEC_EXCLUDE when doing
2225 a relocable link, except for SEC_DEBUGGING sections.
2226 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
2227 same condition here to drop SEC_EXCLUDE orphan sections.
2228
57ceae94
AM
22292004-05-25 Alan Modra <amodra@bigpond.net.au>
2230
2231 * ldlang.c (lang_process): Call bfd_merge_sections later, and
2232 only when not a relocatable link.
2233 (print_input_section): Handle SEC_EXCLUDE sections.
2234 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
2235 (lang_do_assignments_1): Likewise.
2236 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
2237 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
2238 * emultempl/hppaelf.em (build_section_lists): Likewise.
2239 * emultempl/ppc64elf.em (build_toc_list): Likewise.
2240 (build_section_lists): Likewise.
2241
a85785bc
AS
22422004-05-23 Andreas Schwab <schwab@suse.de>
2243
2244 * ld.texinfo (Options): Fix typo in last change.
2245
2d643429
NC
22462004-05-21 Andy Chittenden <achittenden@bluearc.com>
2247
2248 * ld.h (ld_config_type): Add new field: hash_table_size.
2249 * ldmain.c: Initialise the new field to zero. If it is non-zero
2250 after parsing the linker's command line call
2251 bfd_hash_set_default_size.
2252 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
2253 (ld_options): Add hash-size.
2254 (parse_args): Parse --hash-size option. Allow
2255 --reduce-memory-overheads to set the default hash table size as
2256 well.
2257 * ld.texinfo: Document the new switch. Also mention that
2258 --reduce-memory-overheads can affect the hash table size.
2259 * NEWS: Mention the new feature.
2260
35835446
JR
22612004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
2262
2263 * NEWS: Mention new linker map file generation and the
2264 --reduce-memory-overheads option.
2265 * ld.texinfo: Document --reduce-memory-overheads option.
2266 * ld.h (map_symbol_def): New struct.
2267 (struct user_section_struct, section_userdata_type): Rename to:
2268 (struct lean_user_section_struct, lean_section_userdata_type).
2269 (struct fat_user_section_struct, fat_section_userdata_type): New.
2270 (SECTION_USERDATA_SIZE): Define.
2271 (args_type): New member reduce_memory_overheads.
2272 * ldlang.c (map_obstack): New static variable.
2273 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
2274 (lang_map): Unless command_line.reduce_memory_overheads is set,
2275 initialize lists of defined symbols for each section.
2276 (print_input_section): Unless command_line.reduce_memory_overheads
2277 is set, use print_all_symbols.
2278 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
2279 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
2280 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
2281 (ld_options): Add entry for --reduce-memory-overheads.
2282 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
2283
0841712e
JJ
22842004-05-19 Jakub Jelinek <jakub@redhat.com>
2285
2286 * ldgram.y (sect_constraint): New.
2287 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
2288 (section): Add sect_constraint. Pass additional argument
2289 to lang_enter_output_section_statement.
2290 * mri.c (mri_draw_tree): Pass additional argument to
2291 lang_enter_output_section_statement.
2292 * emultempl/pe.em (place_orphan): Likewise.
2293 (output_prev_sec_find): Disregard output section statements with
2294 constraint == -1.
2295 * emultempl/mmo.em (output_prev_sec_find): Likewise.
2296 (mmo_place_orphan): Pass additional argument to
2297 lang_enter_output_section_statement.
2298 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
2299 statements with constraint == -1.
2300 (place_orphan): Pass additional argument to
2301 lang_enter_output_section_statement.
2302 * ldlang.c (lang_enter_overlay_section): Likewise.
2303 (lang_output_section_find_1): New.
2304 (lang_output_section_find): Use it.
2305 (lang_output_section_statement_lookup_1): New.
2306 (lang_output_section_statement_lookup): Use it.
2307 (check_section_callback, check_input_sections): New.
2308 (map_input_to_output_sections): Check if all input sections
2309 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
2310 (strip_excluded_output_sections): Disregard output section statements
2311 with constraint == -1.
2312 (lang_record_phdrs): Likewise.
2313 (lang_enter_output_section_statement): Add constraint argument.
2314 Use lang_output_section_statement_lookup_1.
2315 * ldlang.h (lang_output_section_statement_type): Add constraint
2316 and all_input_readonly fields.
2317 (lang_enter_output_section_statement): Adjust prototype.
2318 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
2319 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
2320 segment if all input sections are readonly.
2321
eea6121a 23222004-05-19 Adam Nemet <anemet@lnxw.com>
f2c50328
NC
2323
2324 * scripttempl/i386lynx.sc: Remove file.
2325
2a16d82a
BW
23262004-05-17 Bob Wilson <bob.wilson@acm.org>
2327
2328 * ld.texinfo (Output Section Address): Correct subsection name.
2329
eea6121a 23302004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
2331
2332 * configure.tgt (powerpc-*-lynxos* case): New case.
2333 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
2334 * emulparams/ppclynx.sh: New file.
2335 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
2336 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
2337 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
2338 (eppclynx.c): New rule.
2339 * Makefile.in: Regenerate.
2340
4b363073
NC
23412004-05-13 Joel Sherrill <joel@oarcorp.com>
2342
2343 * configure.tgt (or32-*-rtems*): Switch to elf and
2344 support versioned targets.
2345
9598fbe5
NC
23462004-05-13 Nick Clifton <nickc@redhat.com>
2347
2348 * po/fr.po: Updated French translation.
2349
8c37241b
JJ
23502004-05-11 Jakub Jelinek <jakub@redhat.com>
2351
2352 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
2353 for binaries, -shared and -pie.
2354 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
2355 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
2356 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
2357 (OTHER_RELRO_SECTIONS): ... this.
2358 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
2359 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2360 -z relro and -z norelro.
2361 (gld${EMULATION_NAME}_list_options): Add it to usage.
2362 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
2363 -z relro scripts when appropriate.
2364 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
2365 Create separate .got.plt section if SEPARATE_GOTPLT.
2366 Move sections which are only written during relocation handling
2367 to the beginning of RW segment. If NO_SMALL_DATA, move .got
2368 before .data. Add DATA_SEGMENT_RELRO_END directive.
2369 Include OTHER_RELRO_SECTIONS.
2370 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
2371 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
2372 (fold_unary): Likewise.
2373 (fold_binary): Handle -z relro.
2374 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
2375 exp_dataseg_relro_adjust phases. Add relro_end field.
2376 * ldmain.c (main): Initialize link_info.relro to FALSE.
2377 * ldlang.c (lang_size_sections): Handle -z relro.
2378
e21059f2
MM
23792004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
2380
2381 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
2382
5f9b8920
JR
23832004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
2384
2385 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
2386 before printing it with %W.
2387
26d2d8a2 23882004-05-07 Brian Ford <ford@vss.fsi.com>
eea6121a 2389 DJ Delorie <dj@redhat.com>
26d2d8a2
BF
2390
2391 * emultempl/pe.em (real_flags): New static.
2392 (OPTION_LARGE_ADDRESS_AWARE): New define.
2393 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
2394 (gld_${EMULATION_NAME}_list_options): Likewise.
2395 (gld${EMULATION_NAME}_handle_option): Likewise.
2396 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
2397 * ld.texinfo: Document it.
2398 * NEWS: Mention it.
2399
1b169501
BF
24002004-05-07 Brian Ford <ford@vss.fsi.com>
2401
2402 * NEWS: Mention DWARF 2 support for i386pe.
2403
41cf0c62
AO
24042004-05-05 Alexandre Oliva <aoliva@redhat.com>
2405
2406 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
2407 elf32-frvfdpic.
2408
d0d6a25b
AM
24092004-04-30 Alan Modra <amodra@bigpond.net.au>
2410
2411 * ldlang.c (unique_section_p): Pass section parm, return true on
2412 group sections.
2413 (output_section_callback): Adjust.
2414 * ldlang.h (unique_section_p): Update prototype.
2415 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
2416
755306be
EB
24172004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
2418
eea6121a 2419 * ld.texinfo (--gc-sections): Remove restriction for
755306be
EB
2420 dynamic linking.
2421
8a7140c3
NC
24222004-04-29 Brian Ford <ford@vss.fsi.com>
2423
2424 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
2425 for DWARF 2/3. Update stab section's syntax.
2426
2f9636ba
AM
24272004-04-29 Alan Modra <amodra@bigpond.net.au>
2428
2429 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
2430 (fill_edata): Correct pointer arithmetic.
2431
23867d67
CD
24322004-04-21 Chris Demetriou <cgd@broadcom.com>
2433
2434 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
2435 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
2436 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
2437 (EXTRA_EM_FILE): Use mipsecoff.em
2438 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
2439 (EXTRA_EM_FILE): Use mipsecoff.em
2440 * emultempl/mipsecoff.em: Restructure to be included as an
2441 extra emulation file.
2442 (check_sections, gld${EMULATION_NAME}_after_open)
2443 (gld${EMULATION_NAME}_after_allocation)
2444 (gld${EMULATION_NAME}_get_script)
2445 (ld_${EMULATION_NAME}_emulation): Remove
2446 (gld${EMULATION_NAME}_before_parse): Rename to...
2447 (mipsecoff_before_parse): This.
2448 (LDEMUL_BEFORE_PARSE): Define.
2449 * emultempl/mipself.em: Remove file.
2450 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
2451 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
2452 these symbols.
2453 * Makefile.am: Remove dependencies on emultempl/mipself.em.
2454 * Makefile.in: Regenerate.
2455
1502569c
NC
24562004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
2457
2458 * ld.texinfo (synthesizing on H8/300): Information about linker
2459 relaxation support for bit manipulation instructions and system
2460 control instructions is added.
2461
c894ddfb
HPN
24622004-04-21 Hans-Peter Nilsson <hp@axis.com>
2463
2464 * NEWS: Mention change in DEFINED semantics.
2465
a85bf78e
EB
24662004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
2467
2468 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
2469 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
2470 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
2471
58434bc1
BE
24722004-04-21 Ben Elliston <bje@au.ibm.com>
2473
2474 * ld.texinfo (Simple Example): Add missing punctuation.
2475
7a7f4e42
CD
24762004-04-20 Chris Demetriou <cgd@broadcom.com>
2477
2478 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
2479
3737f867
JJ
24802004-04-19 Jakub Jelinek <jakub@redhat.com>
2481
2482 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
2483 specially.
2484
3c17e4f7
DS
24852004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
2486
2487 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
2488 with default priority. Likewise for dtors.
2489
279500de
TS
24902004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2491
2492 * configure.host: Remove mips*-dec-bsd* target.
2493 * configure.tgt: Likewise.
2494
52f89c0a
RS
24952004-04-08 Richard Sandiford <rsandifo@redhat.com>
2496
2497 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
2498 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
2499 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
2500 * emultempl/irix.em: New file.
2501 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
2502 dependencies.
2503 * Makefile.in: Regenerate.
2504
e489d0ae
PB
25052004-04-01 Paul Brook <paul@codesourcery.com>
2506
2507 * emultempl/armelf.em (byteswap_code): Add.
2508 (arm_elf_before_allocation): Pass extra parameter.
2509 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
2510 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
2511 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
2512 * emultempl/armelf_oabi.em: Pass extra parameter.
2513 * ld.texinfo: Document --be8.
2514
7cc8057a
SS
25152004-03-30 Stan Shebs <shebs@apple.com>
2516
2517 Remove long-obsolete MPW support.
2518 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
2519 * Makefile.am (mpw): Remove file-presynthesizing actions.
2520 * Makefile.in: Likewise.
2521 * ldfile.c (slash): Remove MPW case.
2522 * ldlex.l [MPW]: Remove unused definition.
2523
0949843d
NC
25242004-03-30 Galit Heller <Galit.Heller@nsc.com>
2525
2526 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
2527 (eelf32cr16c.c): New target.
2528 * Makefile.in: Regenerate.
2529 * configure.tgt: Handle cr16c-*-elf*.
2530 * emulparams/elf32cr16c.sh: New file.
2531 * scripttempl/elfcr16c.sc: Likewise
2532 * NEWS: Mention support for new target.
2533
0a159ef8
NC
25342004-03-30 Nick Clifton <nickc@redhat.com>
2535
2536 * po/sv.po: Updated Swedish translation.
2537
7a945db6
AM
25382004-03-27 Alan Modra <amodra@bigpond.net.au>
2539
2540 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
2541 * emultempl/hppaelf.em: Likewise.
2542 * emultempl/ppc64elf.em: Likewise.
2543 * emultempl/sh64elf.em: Likewise.
2544
5a580b3a
AM
25452004-03-25 Alan Modra <amodra@bigpond.net.au>
2546
2547 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
2548 size_dynamic_sections call.
2549
b9cf773d
AM
25502004-03-23 Alan Modra <amodra@bigpond.net.au>
2551
2552 PR 51.
2553 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
2554 link_info.wrap_char.
2555
59c2e50f
L
25562004-03-20 H.J. Lu <hongjiu.lu@intel.com>
2557
2558 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
2559 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
2560
44349745
AO
25612004-03-20 Alexandre Oliva <aoliva@redhat.com>
2562
2563 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
2564
81359a70
AM
25652004-03-19 Alan Modra <amodra@bigpond.net.au>
2566
2567 * config.in: Regenerate.
2568 * po/ld.pot: Regenerate.
2569
4a43e768
AM
25702004-03-18 Alan Modra <amodra@bigpond.net.au>
2571
2572 * ld.texinfo: Add --as-needed doco.
2573 * ldmain.c (as_needed): New global var.
2574 * ldmain.h (as_needed): Declare.
2575 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
2576 OPTION_NO_AS_NEEDED.
2577 (ld_options): Likewise.
2578 (parse_args): Handle them.
2579 * ldlang.h (lang_input_statement_type): Add as_needed field.
2580 * ldlang.c (new_afile): Set p->as_needed.
2581 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
2582 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
2583 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
2584
2585 * ldlang.c (open_input_bfds): Remove useless cast.
2586 (lang_do_assignments_1): Likewise.
2587 (lang_for_each_input_section): Delete.
2588
9183ed4b
AM
25892004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2590
2591 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
2592
ee31fbd0
NC
25932004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
2594
2595 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
2596 private when building implib.
2597
e5caec89
NS
25982004-03-05 Nathan Sidwell <nathan@codesourcery.com>
2599
2600 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
2601 SEC_THREAD_LOCAL.
2602 (IGNORE_SECTION): Ignore .tbss sections too.
2603 (lang_size_sections_1): .tbss sections do not advance dot.
2604
cc2f008e
AS
26052004-03-01 Andreas Schwab <schwab@suse.de>
2606
2607 * ld.texinfo (Options): Fix example for --wrap.
2608
f5a95868
DS
26092004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2610
2611 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
2612 not NULL.
2613
177b729b
ILT
26142004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
2615
2616 * ldlang.c (lang_check): Use %P, not %E, in error message.
2617
1b493742
NS
26182004-02-23 Nathan Sidwell <nathan@codesourcery.com>
2619
2620 * ldlang.h (struct lang_output_section_state): Change processed
2621 field's type.
2622 * ldexp.c (check, invalid): Remove.
2623 (fold_name): Move valid_p assignments. Create undefined symbol
2624 when needed. Directly exampine section's processd flag.
2625 * ldlang.c (lang_output_section_statement_lookup): Adjust
2626 processed field init.
2627 (lang_size_sections_1): Allow LOADADDR when determining section's
2628 VMA. Adjust error message. Fold data statement's expr.
2629 (lang_size_sections): Correctly increment lang_statement_iteration.
2630
26312004-02-23 Alan Modra <amodra@bigpond.net.au>
2632
2633 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 2634
876f4090
NS
26352004-02-20 Nathan Sidwell <nathan@codesourcery.com>
2636
2637 * ldgram.y (exp): Add two operand ALIGN.
2638 * ldexp.c (fold_binary): Add ALIGN_K case.
2639 * ld.texinfo (ALIGN): Document two operand version.
2640
384d938f
NS
26412004-02-19 Nathan Sidwell <nathan@codesourcery.com>
2642
2643 * ldlang.c (map_input_to_output_sections): Initialize sections
2644 mentioned in a data statement expression.
2645 (lang_do_assignments_1): Add data statement's expression's
2646 section's vma.
2647
b6ca8815
NS
26482004-02-18 Nathan Sidwell <nathan@codesourcery.com>
2649
2650 * ldgram.y (statement_anywhere): Add assert rule.
2651 * ldlang.c (exp_init_os): Add assert case.
2652
c92c35e7
AC
26532004-02-14 Andrew Cagney <cagney@redhat.com>
2654
2655 * ldmain.c (remove_output): Call bfd_cache_close.
2656
9bf78c99
RS
26572004-02-14 Richard Sandiford <rsandifo@redhat.com>
2658
2659 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
2660 .MIPS.content* and .MIPS.events* sections.
2661
f3806916
DJ
26622004-02-09 Daniel Jacobowitz <drow@mvista.com>
2663
2664 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
2665 .note.gnu.arm.ident to after allocated sections. Mark its
2666 address as 0.
2667
4c8e70d7
DJ
26682004-02-09 Daniel Jacobowitz <drow@mvista.com>
2669
2670 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
2671 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
2672 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
2673 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
2674 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
2675
ff71f4f7
NC
26762004-02-05 Nick Clifton <nickc@redhat.com>
2677
2678 * emultempl/pe.em (_after_open): Fix typo in previous delta.
2679
07a68a80
NC
26802004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
2681
2682 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
2683
1dd3bf68
AM
26842004-01-28 Alan Modra <amodra@bigpond.net.au>
2685
586196d5
AM
2686 * genscripts.sh: Fix typo.
2687
1dd3bf68
AM
2688 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
2689
13d9421f
JJ
26902004-01-24 Jakub Jelinek <jakub@redhat.com>
2691
2692 * emulparams/elf64_ia64.sh: Put .rela.opd into
2693 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
2694
4d8907ac
DS
26952004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
2696
2697 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
2698 * ld.texinfo (--omagic): Note that writable text section
2699 does not conform to published PE-COFF specs.
2700 (--enable-auto-import): Likewise.
2701
e5c60db5
AM
27022004-01-15 Alan Modra <amodra@bigpond.net.au>
2703
2704 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
2705
6bdafbeb
NC
27062004-01-13 Nick Clifton <nickc@redhat.com>
2707
2708 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
2709 which if true will prevent the LMA region being used as a
2710 replacement for a default VMA region.
586196d5
AM
2711 (lang_leave_output_section_statement): Pass extra parameter.
2712 (lang_leave_overlay): Likewise.
2713 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
2714 region can be set to the VMA region if no VMA has been set.
2715 * ldlang.h (struct lang_output_section_phdr_list): Create a
2716 typedef for this type. Minor formatting fixes.
586196d5 2717
9dfc8ab2
NC
27182004-01-13 Nick Clifton <nickc@redhat.com>
2719
2720 * ldlang.c (lang_size_sections_1): If dot is advanced, then
2721 assume that the section should be allocated.
2722
8325c4dd
AM
27232004-01-13 Alan Modra <amodra@bigpond.net.au>
2724
2725 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
2726 sections. Do ignore SEC_NEVER_LOAD sections.
2727 (lang_size_sections_1): Remove test made redundant with the above.
2728
83490352
AM
27292004-01-09 Alan Modra <amodra@bigpond.net.au>
2730
2731 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
2732 program_header_size.
2733
005e1118
AO
27342004-01-06 Alexandre Oliva <aoliva@redhat.com>
2735
2736 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
2737 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
2738 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
2739 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
2740 (MAXPAGESIZE): Set to 64Kb.
2741 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
2742 __ROFIXUP_END__. Don't map .rofixup.got any more.
2743 * emulparams/elf32frv.sh (NOP): Set.
2744 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
2745 * configure.tgt: Add frv-*-*linux*.
2746 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
2747 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
2748 (eelf32frvfd.c): New.
2749 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
2750 * emulparams/elf32frv.sh: Reverted previous two patches.
2751 * emulparams/elf32frvfd.sh: New.
2752 * Makefile.in: Rebuilt.
2753 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
2754 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
2755 .rofixup.got to .rofixup.
2756 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
2757 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
2758 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
2759
060feee5
JJ
27602004-01-05 Jakub Jelinek <jakub@redhat.com>
2761
2762 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
2763 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
2764
5e2f1575
AM
27652004-01-03 Alan Modra <amodra@bigpond.net.au>
2766
e5caa5e0
AM
2767 * ldexp.c (align_n): Make static.
2768 * ldexp.h (align_n): Delete declaration.
2769 * ldlang.h (lang_enter_output_section_statement): Remove
2770 block_value param.
2771 * ldlang.c (lang_enter_output_section_statement): Likewise.
2772 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 2773 (opb_shift): New var.
e5caa5e0
AM
2774 (init_opb): New function.
2775 (print_input_section): Call init_opb and use TO_ADDR.
2776 (print_data_statement, print_reloc_statement): Likewise.
2777 (print_padding_statement): Likewise.
c2df3ea5 2778 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
2779 (lang_check_section_addresses): Likewise.
2780 (lang_size_sections_1): Likewise.
2781 (lang_do_assignments_1): Likewise.
2782 (lang_set_startof): Likewise.
c2df3ea5 2783 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 2784 (lang_process): Call init_opb.
c2df3ea5 2785 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
2786 (lang_enter_overlay_section): Adjust
2787 lang_enter_output_section_statement call.
2788 * ldgram.y: Likewise.
2789 * mri.c (mri_draw_tree): Likewise.
2790 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2791 * emultempl/mmo.em (mmo_place_orphan): Likewise.
2792 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2793
5e2f1575
AM
2794 * ldfile.c (ldfile_set_output_arch): Add defarch param.
2795 * ldfile.h (ldfile_set_output_arch): Ditto.
2796 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
2797 ldfile_set_output_arch.
2798 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2799 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
2800 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
2801 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2802 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
2803 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2804 * ldgram.y: Adjust ldfile_set_output_arch call.
2805 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2806 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
2807 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
2808 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
2809 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
2810 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2811 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2812
b50c15dc
NC
28132004-01-02 Bernardo Innocenti <bernie@develer.com>
2814
2815 * configure.tgt: Add m68k-uClinux target.
6edf0760 2816
c9e214e5 2817For older changes see ChangeLog-0203
252b5132
RH
2818\f
2819Local Variables:
2820mode: change-log
2821left-margin: 8
2822fill-column: 74
2823version-control: never
2824End:
This page took 0.443688 seconds and 4 git commands to generate.