]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/ChangeLog
bfd
[thirdparty/binutils-gdb.git] / ld / ChangeLog
1 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
2
3 * Makefile.am: Split arm-wince into its own emulation.
4 * Makefile.in: Regenerate.
5 * configure.tgt: Set targ_emul to arm_wince_pe for ARM Windows
6 CE targets.
7 * pe-dll.c : Define PE_ARCH_arm_wince.
8 (pe_detail_list): Add PE_ARCH_arm_wince case.
9 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
10 * emulparams/arm_wince_pe.sh: New file.
11 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
12 Remap bfd_arm_allocate_interworking_sections,
13 bfd_arm_get_bfd_for_interworking and
14 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
15 targets too.
16 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
17 arm-epoc bfd format names.
18
19 2006-08-18 Paul Brook <paul@codesourcery.com>
20
21 * emultempl/armelf.em (arm_elf_before_allocation): Call
22 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
23
24 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
25
26 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
27 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
28 and to not skipping .idata* sections.
29
30 2006-08-16 Alan Modra <amodra@bigpond.net.au>
31
32 PR 3052
33 * ldlang.h (lang_output_section_statement_type): Replace
34 "processed" field with "processed_vma" and "processed_lma".
35 * ldlang.c (lang_do_assignments_1): Move lma setting code..
36 (lang_size_sections_1): ..to here.
37 (lang_reset_memory_regions): Adjust for
38 lang_output_section_statement_type change.
39 * ldexp.c (fold_name): Likewise.
40
41 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
42
43 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
44 "CONSTANT (MAXPAGESIZE)".
45
46 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
47
48 PR ld/3006
49 * ldlang.c (lang_section_bst_type): Moved to ...
50 * ldlang.h: Here.
51
52 * ldlang.h (lang_wild_statement_struct): Add a tree field.
53
54 * ldlang.c (wild_sort_fast): Use the tree field for BST.
55 (wild): Likeise.
56 (analyze_walk_wild_section_handler): Initialize the tree field.
57
58 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
59
60 PR ld/3009
61 * ldlang.c (update_wild_statements): Update the whole wild
62 section list.
63
64 2006-08-04 Nick Clifton <nickc@redhat.com>
65 Mike Frysinger <michael.frysinger@analog.com>
66
67 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
68 (__preinit_array_start, __preinit_array_end, __init_array_start,
69 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
70 Use ${USER_LABEL_PREFIX}.
71 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
72 (USER_LABEL_PREFIX): Set.
73
74 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
75
76 * ldmain.c (main): Initialise print_gc_sections field of link_info
77 structure.
78 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
79 switches.
80 * ld.texinfo: Document new switches.
81 * NEWS: Mention new switches.
82
83 2006-08-04 Richard Sandiford <richard@codesourcery.com>
84 Kazu Hirata <kazu@codesourcery.com>
85 Phil Edwards <phil@codesourcery.com>
86
87 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
88 eshlelf_vxworks.o.
89 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
90 * Makefile.in: Regenerate.
91 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
92 shlelf_vxworks.
93 * emulparams/shelf_vxworks.sh: New file.
94 * emulparams/shlelf_vxworks.sh: Likewise.
95 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
96 (OTHER_END_SYMBOLS): Likewise _ehdr.
97 (DATA_END_SYMBOLS): Likewise _edata.
98 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
99 is indeed an ELF file before dealing with --force-dynamic.
100
101 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
102
103 PR binutils/2983
104 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
105 elf64-x86-64-freebsd.
106
107 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
108
109 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
110 bfd_make_section_with_flags.
111 (exp_init_os): Updated.
112 (lang_add_section): Call init_os with flags.
113 (map_input_to_output_sections): Likewise.
114
115 2006-07-29 Richard Sandiford <richard@codesourcery.com>
116
117 * Makefile.am (eelf32b4300.c): Update dependencies.
118 (eelf32bmip.c): Likewise.
119 (eelf32bsmip.c): Likewise.
120 (eelf32btsmip.c): Likewise.
121 (eelf32btsmipn32.c): Likewise.
122 (eelf32ltsmip.c): Likewise.
123 (eelf32ltsmipn32.c): Likewise.
124 (eelf32ebmip.c): Likewise.
125 (eelf32ebmipvxworks.c): Likewise.
126 (eelf32elmip.c): Likewise.
127 (eelf32elmipvxworks.c): Likewise.
128 (eelf32bmipn32.c): Likewise.
129 (eelf32lmip.c): Likewise.
130 (eelf32mipswindiss.c): Likewise.
131 (eelf32lsmip.c): Likewise.
132 (eelf64bmip.c): Likewise.
133 (eelf64btsmip.c): Likewise.
134 (eelf64ltsmip.c): Likewise.
135 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
136 (emipsbsd.c): Likewise.
137 (emipsidt.c): Update dependencies.
138 (emipsidtl.c): Likewise.
139 (emipslit.c): Likewise.
140 (emipslnews.c): Likewise.
141 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
142 * Makefile.in: Regenerate.
143 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
144 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
145 * emultempl/irix.em: Include emultempl/mipself.em.
146 * emultempl/mipself.em: New file.
147
148 2006-07-26 Alan Modra <amodra@bigpond.net.au>
149
150 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
151 layout happens before segment map. Don't do segment map on
152 relocatable link.
153
154 2006-07-26 Alan Modra <amodra@bigpond.net.au>
155
156 * ldexp.c (fold_name <LOADADDR>): Use the lma.
157 * ldlang.h (lang_memory_region_type): Delete old_length. Add
158 last_os.
159 * ldlang.c (lang_memory_region_lookup): Init new field.
160 (lang_reset_memory_regions): Reset new field.
161 (lang_insert_orphan): Don't set load_base.
162 (lang_leave_overlay): Likewise.
163 (lang_size_sections_1): Delete unnecessary code setting lma_region
164 to region. Correct lma region check.
165 (lang_do_assignments_1): Rename output_section_statement parm
166 to current_os. Set lma from previous section in region.
167
168 * ldlang.c: Formatting.
169
170 2006-07-25 Bob Wilson <bob.wilson@acm.org>
171
172 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
173 Set discarded section's output_section to bfd_abs_section_ptr.
174
175 2006-07-26 Alan Modra <amodra@bigpond.net.au>
176
177 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
178 earlier.
179
180 2006-07-24 Bob Wilson <bob.wilson@acm.org>
181
182 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
183 in dep_sec_name for null terminator. Make sure dep_sec_name has a
184 ".t" linkonce tag.
185
186 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
187
188 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
189 Set for *-*-solaris2*.
190
191 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
192
193 * ld.texinfo: Fix spelling mistakes.
194 * ldint.texinfo: Likewise.
195
196 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
197
198 * ldlang.c (lang_section_bst): New structure for sorting sections
199 by name.
200 (wild_sort_fast): New function: Insert a section into a binary
201 search tree.
202 (output_section_callback_fast): New function: Store a section in
203 BST.
204 (output_section_callback_tree_to_list): New function: Convert a
205 BST into a list.
206 (analyze_walk_wild_section_handler): Initialize handler_data
207 elements.
208 (wild): If the data is sorted by name use the BST method to sort
209 the names.
210
211 2006-07-19 Alan Modra <amodra@bigpond.net.au>
212
213 * ld.h (handle_asneeded_cref): Declare.
214 * ldcref.c: Include objalloc.h.
215 (old_table, old_count, old_tab, alloc_mark): New variables.
216 (tabsize, entsize, refsize, old_symcount): Likewise.
217 (add_cref): Use bfd_hash_allocate for refs.
218 (handle_asneeded_cref): New function.
219 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
220
221 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
222
223 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
224 typo setting targ_extra_libpath.
225
226 2006-07-10 Jakub Jelinek <jakub@redhat.com>
227
228 * scripttempl/elf.sc: Add .gnu.hash section.
229 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
230 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
231 (gld${EMULATION_NAME}_handle_option): Handle it.
232 (gld${EMULATION_NAME}_list_options): Document it.
233 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
234 * ld.texinfo: Document --hash-style option.
235
236 2006-07-10 Nick Clifton <nickc@redhat.com>
237
238 * po/zh_TW.po: New Chinese (traditional) translation.
239 * configure.in (ALL_LINGUAS): Add zh_TW.
240 * configure: Regenerate.
241
242 2006-07-07 Nick Clifton <nickc@redhat.com>
243
244 PR ld/2874
245 * ld.texinfo: Remove "Using LD" from the title since it is
246 redundant.
247
248 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
249
250 PR ld/2877
251 * ld.texinfo: Fix spelling mistakes.
252
253 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
254 Nick Clifton <nickc@redhat.com>
255
256 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
257 length of format strings in the libname_fmt[] array, rather than
258 relying upon a statically chosen value. Adjust xmalloc call to
259 use this longest length.
260
261 2006-06-27 Nick Clifton <nickc@redhat.com>
262
263 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
264 -rpath-link.
265
266 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
267
268 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
269 targ_extra_libpath.
270
271 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
272
273 * pe-dll.c (pe_details_type): Add new pointer for symbols list
274 autofilter.
275 (autofilter_symbollist): Split into autofilter_symbollist_generic
276 and autofilter_symbollist_i386.
277 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
278 autofilter_symbollist_generic for all the others.
279 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
280 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
281 into autofilter_symbollist_i386.
282 (auto_export): Get autofilter_symbollist from pe_details.
283
284 2006-06-22 Nick Clifton <nickc@redhat.com>
285
286 PR ld/2757
287 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
288 output files mention the file name and the fact that it is an
289 output file.
290
291 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
292
293 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
294 Restructure. Add native "%s.lib" format to search list
295 * ld.texinfo (node WIN32): Update documentation on dynamic lib
296 search order. Add another reason for using import libs.
297
298 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
299
300 * ldlang.c (lang_insert_orphan): Correctly handle the case where
301 the section is to end up after the section currently at the end
302 of the list in output_bfd.
303
304 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
305
306 * emultempl/mmo.em: Improve comments. Explain why there's
307 ELF-stuff here.
308
309 2006-06-21 Alan Modra <amodra@bigpond.net.au>
310
311 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
312 loop to ten iterations. Throw away any previous linker generated
313 segment map.
314 * ldlang.c (lang_phdr_list): Make global.
315 * ldlang.h (lang_phdr_list): Declare.
316 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
317 * Makefile.in: Regenerate.
318
319 2006-06-20 Alan Modra <amodra@bigpond.net.au>
320
321 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
322 many ELF emul file deps that incorrectly said they needed elf32.em
323 instead of generic.em. Add genelf.em as required.
324 * Makefile.in: Regenerate.
325 * ldlang.c (lang_process): Call ldemul_finish before
326 lang_check_section_addresses.
327 * emulparams/arcelf.sh: Generic elf target needs genelf.
328 * emulparams/d30v_e.sh: Likewise.
329 * emulparams/d30v_o.sh: Likewise.
330 * emulparams/d30velf.sh: Likewise.
331 * emulparams/elf32_dlx.sh: Likewise.
332 * emulparams/elf32_i860.sh: Likewise.
333 * emulparams/elf32fr30.sh: Likewise.
334 * emulparams/elf32frv.sh: Likewise.
335 * emulparams/elf32iq10.sh: Likewise.
336 * emulparams/elf32iq2000.sh: Likewise.
337 * emulparams/elf32mt.sh: Likewise.
338 * emulparams/mn10200.sh: Likewise.
339 * emulparams/or32.sh: Likewise.
340 * emulparams/or32elf.sh: Likewise.
341 * emulparams/pjelf.sh: Likewise.
342 * emulparams/msp430all.sh: Likewise. Extract common entries.
343 * emulparams/pjlelf.sh: Include pjelf.sh.
344 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
345 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
346 * emultempl/elf-generic.em: New file.
347 * emultempl/genelf.em: New file.
348 * emultempl/elf32.em: Include elf-generic.em.
349 (gld${EMULATION_NAME}_layout_sections_again): Delete.
350 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
351 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
352 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
353 gld${EMULATION_NAME}_map_segments.
354 (LDEMUL_FINISH): Update.
355 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
356 source elf-generic.em.
357 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
358 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
359 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
360 gld${EMULATION_NAME}_map_segments.
361 (LDEMUL_FINISH): Update.
362
363 2006-06-19 Alan Modra <amodra@bigpond.net.au>
364
365 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
366
367 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
368
369 * ld.texinfo: Document new -z lazy option.
370 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
371 new option.
372 (gld${EMULATION_NAME}_list_options): Update help text.
373
374 2006-06-12 Fred Fish <fnf@specifix.com>
375
376 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
377 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
378 generated by mips gcc.
379
380 2006-06-12 Thiemo Seufer <ths@mips.com>
381
382 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
383 Define.
384
385 2006-06-09 Alan Modra <amodra@bigpond.net.au>
386
387 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
388 * ldlang.c (struct out_section_hash_entry): Rename from
389 output_statement_hash_entry. Delete output_section_statement_type
390 entry. Add statement_union_type entry. Adjust all users.
391 (output_section_statement_table): Rename from output_statement_table.
392 Adjust all users.
393 (output_section_statement_newfunc): Rename from
394 output_statement_newfunc. Adjust all users.
395 (output_section_statement_table_init): Rename from
396 output_statement_table_init. Adjust all users.
397 (output_section_statement_table_free): Rename from
398 output_statement_table_free. Adjust all users.
399
400 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
401
402 * po/Make-in (pdf, ps): New dummy targets.
403
404 2006-06-07 Alan Modra <amodra@bigpond.net.au>
405
406 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
407 info_section and overlay_section. Add noalloc_section.
408 * ldlang.c (lang_add_section): Adjust.
409 * ldgram.y (type): Adjust.
410
411 2006-06-06 Alan Modra <amodra@bigpond.net.au>
412
413 * ldlang.c (init_os): Whitespace.
414 (map_input_to_output_sections): Don't init_os for lang_input_section.
415 (print_all_symbols): Remove forward declaration. Convert to ISO C.
416
417 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
418
419 * po/Make-in (top_builddir): Define.
420
421 2006-06-05 Alan Modra <amodra@bigpond.net.au>
422
423 * ldexp.c (exp_get_abs_int): Make error message the same as
424 others emitted in this file.
425
426 2006-06-05 Alan Modra <amodra@bigpond.net.au>
427
428 * config.in: Regenerate.
429
430 2006-06-05 Alan Modra <amodra@bigpond.net.au>
431
432 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
433
434 2006-06-03 Alan Modra <amodra@bigpond.net.au>
435
436 * emultempl/elf32.em (global_found): Make it a pointer.
437 (stat_needed, try_needed): Adjust.
438 (check_needed): Don't skip non-loaded as-needed entries. Only
439 consider entries with both filename and the_bfd non-null.
440 (after_open): Try loading non-loaded as-needed libs to satisfy
441 DT_NEEDED libs.
442
443 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
444
445 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
446 * Makefile.in: Regenerate.
447
448 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
449
450 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
451 and LIBINTL_DEP everywhere.
452 (INTLLIBS): Remove.
453 (INCLUDES): Use @INCINTL@.
454 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
455 Remove local code for po/Makefile.
456 * Makefile.in, configure: Regenerated.
457
458 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
459
460 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
461 "CONSTANT (MAXPAGESIZE)".
462 * emulparams/armelf_nbsd.sh: Likewise.
463 * emulparams/armelf_vxworks.sh: Likewise.
464 * emulparams/armnto.sh: Likewise.
465 * emulparams/armsymbian.sh: Likewise.
466 * emulparams/crislinux.sh: Likewise.
467 * emulparams/elf32_i860.sh: Likewise.
468 * emulparams/elf32_i960.sh: Likewise.
469 * emulparams/elf32am33lin.sh: Likewise.
470 * emulparams/elf32bfinfd.sh: Likewise.
471 * emulparams/elf32bmipn32-defs.sh: Likewise.
472 * emulparams/elf32frvfd.sh: Likewise.
473 * emulparams/elf32i370.sh: Likewise.
474 * emulparams/elf32lppcnto.sh: Likewise.
475 * emulparams/elf32mcore.sh: Likewise.
476 * emulparams/elf32openrisc.sh: Likewise.
477 * emulparams/elf32ppcnto.sh: Likewise.
478 * emulparams/elf32ppcwindiss.sh: Likewise.
479 * emulparams/elf32vax.sh: Likewise.
480 * emulparams/elf32xc16x.sh: Likewise.
481 * emulparams/elf32xc16xl.sh: Likewise.
482 * emulparams/elf32xc16xs.sh: Likewise.
483 * emulparams/elf64_aix.sh: Likewise.
484 * emulparams/elf64hppa.sh: Likewise.
485 * emulparams/elf64mmix.sh: Likewise.
486 * emulparams/elf_i386_be.sh: Likewise.
487 * emulparams/elf_i386_chaos.sh: Likewise.
488 * emulparams/elf_i386_ldso.sh: Likewise.
489 * emulparams/hppa64linux.sh: Likewise.
490 * emulparams/hppalinux.sh: Likewise.
491 * emulparams/hppaobsd.sh: Likewise.
492 * emulparams/i386lynx.sh: Likewise.
493 * emulparams/i386moss.sh: Likewise.
494 * emulparams/i386nto.sh: Likewise.
495 * emulparams/i386nw.sh: Likewise.
496 * emulparams/m32relf_linux.sh: Likewise.
497 * emulparams/m68kpsos.sh: Likewise.
498 * emulparams/or32elf.sh: Likewise.
499 * emulparams/pjelf.sh: Likewise.
500 * emulparams/pjlelf.sh: Likewise.
501 * emulparams/ppclynx.sh: Likewise.
502 * emulparams/ppcnw.sh: Likewise.
503 * emulparams/shelf32_nbsd.sh : Likewise.
504 * emulparams/shelf_nbsd.sh: Likewise.
505 * emulparams/shelf_nto.sh: Likewise.
506 * emulparams/shlelf_nto.sh: Likewise.
507 * emulparams/xtensa-config.sh: Likewise.
508
509 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
510 "CONSTANT (MAXPAGESIZE)".
511 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
512 * emulparams/elf32_sparc.sh: Likewise.
513 * emulparams/elf32bmip.sh: Likewise.
514 * emulparams/elf32ppccommon.sh: Likewise.
515 * emulparams/elf64_ia64.sh: Likewise.
516 * emulparams/elf64_s390.sh: Likewise.
517 * emulparams/elf64_sparc.sh: Likewise.
518 * emulparams/elf64alpha.sh: Likewise.
519 * emulparams/elf64ppc.sh: Likewise.
520 * emulparams/elf_i386.sh: Likewise.
521 * emulparams/elf_i386_vxworks.sh: Likewise.
522 * emulparams/elf_s390.sh: Likewise.
523 * emulparams/elf_x86_64.sh: Likewise.
524 * emulparams/shlelf32_linux.sh: Likewise.
525 * emulparams/shlelf_linux.sh: Likewise.
526
527 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
528 "CONSTANT (COMMONPAGESIZE)".
529 * emulparams/elf32btsmipn32.sh: Likewise.
530
531 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
532 "-z max-page-size=" and "-z common-page-size=".
533 (gld${EMULATION_NAME}_list_options): Likewise.
534
535 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
536
537 * ld.texinfo: Document "-z max-page-size=" and
538 "-z common-page-size=".
539
540 * ldexp.c (exp_print_token): Handle CONSTANT.
541 (fold_name): Likewise.
542 * ldgram.y: Likewise.
543 * ldlex.l: Likewise.
544
545 * ldmain.c (main): Initiliaze config.maxpagesize and
546 config.commonpagesize. Call bfd_emul_set_maxpagesize if
547 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
548 config.commonpagesize config.maxpagesize isn't 0.
549
550 2006-05-30 Nick Clifton <nickc@redhat.com>
551
552 * po/es.po: Updated Spanish translation.
553
554 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
555
556 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
557
558 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
559
560 PR ld/1485
561 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
562 bfd. Support 64bit host for --enable-targets=all.
563 * configure: Regenerated.
564
565 2006-05-24 Nick Clifton <nickc@redhat.com>
566
567 * po/vi.po: Updated Vietnamese translation.
568
569 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
570
571 * configure.tgt: Add avr6 to emulation list.
572 * Makefile.am: Add eavr6.o and corresponding rule.
573 * Makefile.in: Regenerate.
574 * emulparams/avr6.sh: New file.
575 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
576 for target option support.
577 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
578 * scripttempl/avr.sc: Add ".trampolines" section.
579 * emultempl/avrelf.em: Add new file for target specific options.
580
581 2006-05-22 Nick Clifton <nickc@redhat.com>
582
583 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
584
585 2006-05-19 Alan Modra <amodra@bigpond.net.au>
586
587 * ldlang.c (lang_size_sections_1): Don't check mem regions for
588 os->ignored sections.
589
590 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
591
592 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
593 before redoing one_lang_size_sections_pass.
594
595 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
596
597 * ld.texinfo: Rename "Index" to "LD Index"
598
599 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
600
601 * pe-dll.c (autofilter_symbollist): Add Dllmain,
602 DllMainCRTStartup, _DllMainCRTStartup and .text.
603 (autofilter_liblist): Add libcegcc.
604 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
605 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
606 they can still contain relocs that need processing.
607 Skip the .idata$6 section.
608 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
609 (make_one): Use the new array.
610 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
611 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
612
613 2006-05-05 Alan Modra <amodra@bigpond.net.au>
614
615 * ld.texinfo: Document PowerPC and PowerPC64 options.
616 * gen-doc.texi: Enable.
617
618 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
619
620 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
621 (TEXI2POD): Use AM_MAKEINFOFLAGS.
622 (configdoc.texi): Don't set top_srcdir.
623 * ld.texinfo: Don't use top_srcdir.
624 * aclocal.m4, Makefile.in: Regenerated.
625
626 2006-04-19 Alan Modra <amodra@bigpond.net.au>
627
628 * ldlang.c (wild): Tidy default_common_section loop.
629 (print_input_section): Format.
630
631 * configure: Regenerate.
632
633 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
634
635 * po/POTFILES.in: Regenerated.
636
637 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
638
639 * config.in: Regenerated.
640
641 2006-04-14 David Heine <dlheine@tensilica.com>
642 Bob Wilson <bob.wilson@acm.org>
643
644 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
645 function to strip inconsistent linkonce sections.
646 (input_section_linked_worker, input_section_linked): New.
647 (is_inconsistent_linkonce_section): New.
648 (xtensa_strip_inconsistent_linkonce_sections): New.
649
650 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
651
652 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
653 and Dragonfly targets.
654 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
655 * Makefile.am (HFILES): Add elf-hints-local.h.
656 * elf-hints-local.h: New file.
657 * Makefile.in: Regenerate.
658 * configure: Regenerate.
659
660 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
661
662 * ld.texinfo: Fix typo in documentation of --check-sections.
663
664 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
665
666 * ldlang.c (load_symbols): Set as_needed and add_needed according
667 to the corresponding script's fields while processing it.
668
669 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
670
671 * Makefile.am: Add install-html, install-html-am, and
672 install-html-recursive targets.
673 * Makefile.in: Regenerate.
674 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
675 * configure: Regenerate.
676 * po/Make-in: Add install-html target.
677
678 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
679
680 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
681 link_info.need_relax_finalize.
682
683 * ldlang.c (relax_sections): New.
684 (lang_process): Use. Call relax_sections link_info.relax_pass
685 times.
686
687 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
688 link_info.need_relax_finalize.
689
690 2006-04-05 Alan Modra <amodra@bigpond.net.au>
691
692 * Makefile.am (GENSCRIPTS): Pass prefix.
693 * Makefile.in: Regenerate.
694 * genscripts.sh: Adjust for extra parameter.
695 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
696 exists.
697 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
698 * NEWS: Update.
699
700 2006-04-05 Richard Sandiford <richard@codesourcery.com>
701 Daniel Jacobowitz <dan@codesourcery.com>
702
703 * configure.tgt (sparc*-*-vxworks*): New stanza.
704 * emulparams/elf32_sparc_vxworks.sh: New file.
705 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
706 (eelf32_sparc_vxworks.c): New rule.
707 * Makefile.in: Regenerate.
708
709 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
710
711 * ldlang.c (lang_map): Print the list of discarded input sections.
712 (print_input_section): Change parameter and print zero-sized sections.
713 (print_statement): Adjust call to print_input_section.
714
715 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
716
717 * deffilep.y (def_image_name): If LIBRARY or NAME statement
718 specifies an empty string, retain the name specified on command
719 line.
720 * ld.texinfo: Document above.
721
722 2006-03-31 Jakub Jelinek <jakub@redhat.com>
723
724 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
725 bfd_find_nearest_line succeeded for %C or %D, but filename
726 is NULL, print section+offset at the end.
727
728 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
729
730 * emulparams/elf32bfinfd.sh: New file.
731 * emultempl/bfin.em: Delete.
732 * emulparams/bfin.sh: Lose reference to bfin.em.
733 * Makefile.am (eelf32bfin.c): Likewise.
734 (eelf32bfinfd.c): New.
735 * Makefile.in: Regenerate.
736 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
737 targ_extra_emuls.
738
739 2006-03-22 Richard Sandiford <richard@codesourcery.com>
740 Daniel Jacobowitz <dan@codesourcery.com>
741 Phil Edwards <phil@codesourcery.com>
742 Zack Weinberg <zack@codesourcery.com>
743 Mark Mitchell <mark@codesourcery.com>
744 Nathan Sidwell <nathan@codesourcery.com>
745
746 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
747 separate VxWorks emulations.
748 * emulparams/elf32ebmipvxworks.sh: New file.
749 * emulparams/elf32elmipvxworks.sh: New file.
750 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
751 eelf32elmipvxworks.o.
752 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
753 * Makefile.in: Regenerate.
754
755 2006-03-16 Alan Modra <amodra@bigpond.net.au>
756
757 PR 2434
758 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
759 * ldlang.c (output_statement_table_init, lang_init): Likewise.
760 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
761 (undefined_symbol): Likewise.
762
763 2006-03-07 Richard Sandiford <richard@codesourcery.com>
764 Daniel Jacobowitz <dan@codesourcery.com>
765 Zack Weinberg <zack@codesourcery.com>
766 Nathan Sidwell <nathan@codesourcery.com>
767 Paul Brook <paul@codesourcery.com>
768 Ricardo Anguiano <anguiano@codesourcery.com>
769 Phil Edwards <phil@codesourcery.com>
770
771 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
772 (MAXPAGESIZE): Define.
773 * emulparams/vxworks.sh: Undefine EMBEDDED.
774 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
775 * Makefile.in: Regenerate.
776
777 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
778
779 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
780 Add KEEP() directives.
781 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
782 .bss output sections.
783
784 2006-03-03 Richard Sandiford <richard@codesourcery.com>
785
786 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
787 (EXTRA_EM_FILE): Define.
788 * emultempl/vxworks.em: New file.
789 * ld.texinfo (--force-dynamic): Document.
790 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
791 on vxworks.em.
792 * Makefile.in: Regenerate.
793
794 2006-03-02 Richard Sandiford <richard@codesourcery.com>
795
796 * emulparams/elf32ppccommon.sh: New file, extracted from...
797 * emulparams/elf32ppc.sh: ...here.
798 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
799 instead of elf32ppc.sh.
800 (BSS_PLT): Remove override.
801 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
802 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
803 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
804 (eelf32ppclinux.c): Likewise.
805 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
806 * Makefile.in: Regenerate.
807
808 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
809
810 * Makefile.am: Add html target.
811 * Makefile.in: Regenerate.
812 * po/Make-in: Add html target.
813
814 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
815 Anil Paranjape <anilp1@kpitcummins.com>
816 Shilin Shakti <shilins@kpitcummins.com>
817
818 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
819 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
820 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
821 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
822 * emulparams/elf32xc16xl.sh: Emulation script for large model.
823 * emulparams/elf32xc16xs.sh: Emulation script for small model.
824 * Makefile.am: Add entry to make xc16x target.
825 * Makefile.in: Regenerate.
826 * configure.tgt: Specify default and other emulation parameters
827 for xc16x.
828 * NEWS: Announce the support for the new target.
829
830 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
831
832 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
833 Use the traditional target.
834
835 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
836
837 * configure.tgt (arm*b-*-linux-gnueabi): Change to
838 arm*b-*-linux-*eabi.
839 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
840
841 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
842
843 PR ld/2290
844 * NEWS: Updated for the Linux linker search order change.
845
846 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
847 gld${EMULATION_NAME}_check_ld_so_conf before checking default
848 search directories for DT_NEEDED entries.
849
850 2006-02-07 Paul Brook <paul@codesourcery.com>
851
852 * emultempl/armelf.em: Include elf/arm.h.
853 (arm_elf_finish): Set low address bit if enty point is a Thumb
854 function.
855
856 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
857
858 * deffilep.y (def_image_name): If the image name does not have
859 a suffix, append the default.
860 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
861
862 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
863
864 * NEWS: Mention support for forward exports in PE-COFF dll's.
865 * ld.texinfo: Expand documentation of EXPORT statements in
866 PE-COFF .def files.
867
868 2006-01-31 Filip Navara <navaraf@reactos.com>
869
870 * deffile.h (struct def_file_export): Add field flag_forward.
871 * pe-dll.c (process_def_file): Check for forward exports.
872 (generate_edata): Generate forward export symbols.
873 (fill_edata): Emit them.
874
875 * pe-dll.c (process_def_file): Don't crash on malformed
876 fastcall symbol names in .def file.
877
878 2006-01-30 Nick Clifton <nickc@redhat.com>
879
880 * po/vi.po: Updated Vietnamese translation.
881
882 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
883
884 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
885 file:" as informational message, not a warning.
886
887 2006-01-18 Roger Sayle <roger@eyesopen.com>
888
889 * emultempl/irix.em: Use lbasename instead of basename.
890
891 2006-01-16 Nick Clifton <nickc@redhat.com>
892
893 * po/zh_CN.po: New Chinese (simplified) translation.
894 * configure.in (ALL_LINGUAS): Add "zh_CH".
895 * configure: Regenerate.
896
897 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
898
899 * ld.texinfo (Options): Fix typo.
900
901 For older changes see ChangeLog-2005
902 \f
903 Local Variables:
904 mode: change-log
905 left-margin: 8
906 fill-column: 74
907 version-control: never
908 End: