daily update
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
7148cc28
NC
12006-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
a4fd1a8e
PB
192006-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
19b3b564
CF
242006-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
cde9e0be
AM
302006-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
50571e46
MF
412006-08-08 Peter S. Mazinger <ps.m@gmx.net>
42
43 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
44 "CONSTANT (MAXPAGESIZE)".
45
e6f2cbf5
L
462006-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
0d0999db
L
582006-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
a817dba3 642006-08-04 Nick Clifton <nickc@redhat.com>
9d13c143 65 Mike Frysinger <michael.frysinger@analog.com>
a817dba3
MF
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
c17d87de
NC
742006-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
55e6e397
RS
832006-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
9d7cbccd
NC
1012006-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
12d814e1
L
1072006-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
73934d31
RS
1152006-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
00bb149b
AM
1482006-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
329c1c86
AM
1542006-07-26 Alan Modra <amodra@bigpond.net.au>
155
66e28d60
AM
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
329c1c86
AM
168 * ldlang.c: Formatting.
169
b2f28975
BW
1702006-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
7544697a
AM
1752006-07-26 Alan Modra <amodra@bigpond.net.au>
176
177 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
178 earlier.
179
644143c8
BW
1802006-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
ff15b240
NC
1862006-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
b45619c0
NC
1912006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
192
193 * ld.texinfo: Fix spelling mistakes.
194 * ldint.texinfo: Likewise.
195
50c77e5d
NC
1962006-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
5061a885
AM
2112006-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
d19628a5
DJ
2212006-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
fdc90cb4
JJ
2262006-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
b83ef3ee
NC
2362006-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
71ba23f6
NC
2422006-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
ba1be17e
NC
2482006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
249
71ba23f6 250 PR ld/2877
ba1be17e
NC
251 * ld.texinfo: Fix spelling mistakes.
252
b1d9458a
NC
2532006-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
ece2d90e
NC
2612006-06-27 Nick Clifton <nickc@redhat.com>
262
263 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
264 -rpath-link.
265
0faaaeb8
DJ
2662006-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
5b8273bf
NC
2712006-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
b952b98f
NC
2842006-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
45e948fe
NC
2912006-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
5e542ba7
MS
2982006-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
a4308b79
HPN
3042006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
305
306 * emultempl/mmo.em: Improve comments. Explain why there's
307 ELF-stuff here.
308
f5ff60a6
AM
3092006-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
8ded5a0f
AM
3192006-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
a6b96beb
AM
3632006-06-19 Alan Modra <amodra@bigpond.net.au>
364
365 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
366
5fa222e4
AM
3672006-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
ce28273f
FF
3742006-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
7fd91fe0
TS
3802006-06-12 Thiemo Seufer <ths@mips.com>
381
382 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
383 Define.
384
409d7240
AM
3852006-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
6648b7cf
JM
4002006-06-07 Joseph S. Myers <joseph@codesourcery.com>
401
402 * po/Make-in (pdf, ps): New dummy targets.
403
02a38f92
AM
4042006-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
e0f6802f
AM
4112006-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
4cfe2c59
DJ
4172006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
418
419 * po/Make-in (top_builddir): Define.
420
65ede3f4
AM
4212006-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
8c61c153
AM
4262006-06-05 Alan Modra <amodra@bigpond.net.au>
427
428 * config.in: Regenerate.
429
87aa7f19
AM
4302006-06-05 Alan Modra <amodra@bigpond.net.au>
431
432 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
433
e13629bc
AM
4342006-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
e10fad12
JM
4432006-06-02 Joseph S. Myers <joseph@codesourcery.com>
444
445 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
446 * Makefile.in: Regenerate.
447
20e95c23
DJ
4482006-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
24718e3b
L
4582006-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
eebf07fb
NC
5502006-05-30 Nick Clifton <nickc@redhat.com>
551
552 * po/es.po: Updated Spanish translation.
553
f7661549
L
5542006-05-25 H.J. Lu <hongjiu.lu@intel.com>
555
556 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
557
314e9a4e
L
5582006-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
4a4d496a
NC
5652006-05-24 Nick Clifton <nickc@redhat.com>
566
567 * po/vi.po: Updated Vietnamese translation.
568
28c9d252
NC
5692006-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
b7309ada
NC
5812006-05-22 Nick Clifton <nickc@redhat.com>
582
583 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
584
f0636a44
AM
5852006-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
f86a8756
DJ
5902005-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
370b66a1
CD
5952006-05-11 Carlos O'Donell <carlos@codesourcery.com>
596
597 * ld.texinfo: Rename "Index" to "LD Index"
598
53baae48
NC
5992006-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
2a60a7a8
AM
6132006-05-05 Alan Modra <amodra@bigpond.net.au>
614
615 * ld.texinfo: Document PowerPC and PowerPC64 options.
616 * gen-doc.texi: Enable.
617
38fc1cb1
DJ
6182006-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
241a6c40
AM
6262006-04-19 Alan Modra <amodra@bigpond.net.au>
627
abe6ac95
AM
628 * ldlang.c (wild): Tidy default_common_section loop.
629 (print_input_section): Format.
630
241a6c40
AM
631 * configure: Regenerate.
632
e7403566
DJ
6332006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
634
635 * po/POTFILES.in: Regenerated.
636
b030a24e
DJ
6372006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
638
639 * config.in: Regenerated.
640
a255b6c7
BW
6412006-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