*** empty log message ***
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
85852e36
NC
12006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
2
3 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
4 Adjust the current address of DEFAULT_MEMORY_REGION even
5 when dot hasn't changed.
6
3e23777d
AM
72006-08-23 Alan Modra <amodra@bigpond.net.au>
8
9 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
10 rather than a section relative value.
11
dc0b6aa0
AM
122006-08-22 Alan Modra <amodra@bigpond.net.au>
13
14 * NEWS: Mention LMA default change.
15 * ld.texinfo (Output Section LMA): Update default description.
16 (Location Counter): Clarify backward movement.
17 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
18 default lma equal to vma. Warn on backward movement of dot.
19
57da97f5
NC
202006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
21
22 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
23 Windows CE targets.
24
7148cc28
NC
252006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
26
27 * Makefile.am: Split arm-wince into its own emulation.
28 * Makefile.in: Regenerate.
7148cc28
NC
29 * pe-dll.c : Define PE_ARCH_arm_wince.
30 (pe_detail_list): Add PE_ARCH_arm_wince case.
31 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
32 * emulparams/arm_wince_pe.sh: New file.
33 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
34 Remap bfd_arm_allocate_interworking_sections,
35 bfd_arm_get_bfd_for_interworking and
36 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
37 targets too.
38 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
39 arm-epoc bfd format names.
40
a4fd1a8e
PB
412006-08-18 Paul Brook <paul@codesourcery.com>
42
43 * emultempl/armelf.em (arm_elf_before_allocation): Call
44 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
45
19b3b564
CF
462006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
47
48 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
49 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
50 and to not skipping .idata* sections.
51
cde9e0be
AM
522006-08-16 Alan Modra <amodra@bigpond.net.au>
53
54 PR 3052
55 * ldlang.h (lang_output_section_statement_type): Replace
56 "processed" field with "processed_vma" and "processed_lma".
57 * ldlang.c (lang_do_assignments_1): Move lma setting code..
58 (lang_size_sections_1): ..to here.
59 (lang_reset_memory_regions): Adjust for
60 lang_output_section_statement_type change.
61 * ldexp.c (fold_name): Likewise.
62
50571e46
MF
632006-08-08 Peter S. Mazinger <ps.m@gmx.net>
64
65 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
66 "CONSTANT (MAXPAGESIZE)".
67
e6f2cbf5
L
682006-08-08 H.J. Lu <hongjiu.lu@intel.com>
69
70 PR ld/3006
71 * ldlang.c (lang_section_bst_type): Moved to ...
72 * ldlang.h: Here.
73
74 * ldlang.h (lang_wild_statement_struct): Add a tree field.
75
76 * ldlang.c (wild_sort_fast): Use the tree field for BST.
77 (wild): Likeise.
78 (analyze_walk_wild_section_handler): Initialize the tree field.
79
0d0999db
L
802006-08-08 H.J. Lu <hongjiu.lu@intel.com>
81
82 PR ld/3009
83 * ldlang.c (update_wild_statements): Update the whole wild
84 section list.
85
a817dba3 862006-08-04 Nick Clifton <nickc@redhat.com>
9d13c143 87 Mike Frysinger <michael.frysinger@analog.com>
a817dba3
MF
88
89 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
90 (__preinit_array_start, __preinit_array_end, __init_array_start,
91 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
92 Use ${USER_LABEL_PREFIX}.
93 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
94 (USER_LABEL_PREFIX): Set.
95
c17d87de
NC
962006-08-04 Marcelo Tosatti <marcelo@kvack.org>
97
98 * ldmain.c (main): Initialise print_gc_sections field of link_info
99 structure.
100 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
101 switches.
102 * ld.texinfo: Document new switches.
103 * NEWS: Mention new switches.
104
55e6e397
RS
1052006-08-04 Richard Sandiford <richard@codesourcery.com>
106 Kazu Hirata <kazu@codesourcery.com>
107 Phil Edwards <phil@codesourcery.com>
108
109 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
110 eshlelf_vxworks.o.
111 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
112 * Makefile.in: Regenerate.
113 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
114 shlelf_vxworks.
115 * emulparams/shelf_vxworks.sh: New file.
116 * emulparams/shlelf_vxworks.sh: Likewise.
117 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
118 (OTHER_END_SYMBOLS): Likewise _ehdr.
119 (DATA_END_SYMBOLS): Likewise _edata.
120 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
121 is indeed an ELF file before dealing with --force-dynamic.
122
9d7cbccd
NC
1232006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
124
125 PR binutils/2983
126 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
127 elf64-x86-64-freebsd.
128
12d814e1
L
1292006-08-01 H.J. Lu <hongjiu.lu@intel.com>
130
131 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
132 bfd_make_section_with_flags.
133 (exp_init_os): Updated.
134 (lang_add_section): Call init_os with flags.
135 (map_input_to_output_sections): Likewise.
136
73934d31
RS
1372006-07-29 Richard Sandiford <richard@codesourcery.com>
138
139 * Makefile.am (eelf32b4300.c): Update dependencies.
140 (eelf32bmip.c): Likewise.
141 (eelf32bsmip.c): Likewise.
142 (eelf32btsmip.c): Likewise.
143 (eelf32btsmipn32.c): Likewise.
144 (eelf32ltsmip.c): Likewise.
145 (eelf32ltsmipn32.c): Likewise.
146 (eelf32ebmip.c): Likewise.
147 (eelf32ebmipvxworks.c): Likewise.
148 (eelf32elmip.c): Likewise.
149 (eelf32elmipvxworks.c): Likewise.
150 (eelf32bmipn32.c): Likewise.
151 (eelf32lmip.c): Likewise.
152 (eelf32mipswindiss.c): Likewise.
153 (eelf32lsmip.c): Likewise.
154 (eelf64bmip.c): Likewise.
155 (eelf64btsmip.c): Likewise.
156 (eelf64ltsmip.c): Likewise.
157 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
158 (emipsbsd.c): Likewise.
159 (emipsidt.c): Update dependencies.
160 (emipsidtl.c): Likewise.
161 (emipslit.c): Likewise.
162 (emipslnews.c): Likewise.
163 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
164 * Makefile.in: Regenerate.
165 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
166 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
167 * emultempl/irix.em: Include emultempl/mipself.em.
168 * emultempl/mipself.em: New file.
169
00bb149b
AM
1702006-07-26 Alan Modra <amodra@bigpond.net.au>
171
172 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
173 layout happens before segment map. Don't do segment map on
174 relocatable link.
175
329c1c86
AM
1762006-07-26 Alan Modra <amodra@bigpond.net.au>
177
66e28d60
AM
178 * ldexp.c (fold_name <LOADADDR>): Use the lma.
179 * ldlang.h (lang_memory_region_type): Delete old_length. Add
180 last_os.
181 * ldlang.c (lang_memory_region_lookup): Init new field.
182 (lang_reset_memory_regions): Reset new field.
183 (lang_insert_orphan): Don't set load_base.
184 (lang_leave_overlay): Likewise.
185 (lang_size_sections_1): Delete unnecessary code setting lma_region
186 to region. Correct lma region check.
187 (lang_do_assignments_1): Rename output_section_statement parm
188 to current_os. Set lma from previous section in region.
189
329c1c86
AM
190 * ldlang.c: Formatting.
191
b2f28975
BW
1922006-07-25 Bob Wilson <bob.wilson@acm.org>
193
194 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
195 Set discarded section's output_section to bfd_abs_section_ptr.
196
7544697a
AM
1972006-07-26 Alan Modra <amodra@bigpond.net.au>
198
199 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
200 earlier.
201
644143c8
BW
2022006-07-24 Bob Wilson <bob.wilson@acm.org>
203
204 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
205 in dep_sec_name for null terminator. Make sure dep_sec_name has a
206 ".t" linkonce tag.
207
ff15b240
NC
2082006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
209
210 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
211 Set for *-*-solaris2*.
212
b45619c0
NC
2132006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
214
215 * ld.texinfo: Fix spelling mistakes.
216 * ldint.texinfo: Likewise.
217
50c77e5d
NC
2182006-07-23 Sonal Santan <sonal.santan@xilinx.com>
219
220 * ldlang.c (lang_section_bst): New structure for sorting sections
221 by name.
222 (wild_sort_fast): New function: Insert a section into a binary
223 search tree.
224 (output_section_callback_fast): New function: Store a section in
225 BST.
226 (output_section_callback_tree_to_list): New function: Convert a
227 BST into a list.
228 (analyze_walk_wild_section_handler): Initialize handler_data
229 elements.
230 (wild): If the data is sorted by name use the BST method to sort
231 the names.
232
5061a885
AM
2332006-07-19 Alan Modra <amodra@bigpond.net.au>
234
235 * ld.h (handle_asneeded_cref): Declare.
236 * ldcref.c: Include objalloc.h.
237 (old_table, old_count, old_tab, alloc_mark): New variables.
238 (tabsize, entsize, refsize, old_symcount): Likewise.
239 (add_cref): Use bfd_hash_allocate for refs.
240 (handle_asneeded_cref): New function.
241 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
242
d19628a5
DJ
2432006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
244
245 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
246 typo setting targ_extra_libpath.
247
fdc90cb4
JJ
2482006-07-10 Jakub Jelinek <jakub@redhat.com>
249
250 * scripttempl/elf.sc: Add .gnu.hash section.
251 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
252 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
253 (gld${EMULATION_NAME}_handle_option): Handle it.
254 (gld${EMULATION_NAME}_list_options): Document it.
255 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
256 * ld.texinfo: Document --hash-style option.
257
b83ef3ee
NC
2582006-07-10 Nick Clifton <nickc@redhat.com>
259
260 * po/zh_TW.po: New Chinese (traditional) translation.
261 * configure.in (ALL_LINGUAS): Add zh_TW.
262 * configure: Regenerate.
263
71ba23f6
NC
2642006-07-07 Nick Clifton <nickc@redhat.com>
265
266 PR ld/2874
267 * ld.texinfo: Remove "Using LD" from the title since it is
268 redundant.
269
ba1be17e
NC
2702006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
271
71ba23f6 272 PR ld/2877
ba1be17e
NC
273 * ld.texinfo: Fix spelling mistakes.
274
b1d9458a
NC
2752006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
276 Nick Clifton <nickc@redhat.com>
277
278 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
279 length of format strings in the libname_fmt[] array, rather than
280 relying upon a statically chosen value. Adjust xmalloc call to
281 use this longest length.
282
ece2d90e
NC
2832006-06-27 Nick Clifton <nickc@redhat.com>
284
285 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
286 -rpath-link.
287
0faaaeb8
DJ
2882006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
289
290 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
291 targ_extra_libpath.
292
5b8273bf
NC
2932006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
294
295 * pe-dll.c (pe_details_type): Add new pointer for symbols list
296 autofilter.
297 (autofilter_symbollist): Split into autofilter_symbollist_generic
298 and autofilter_symbollist_i386.
299 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
300 autofilter_symbollist_generic for all the others.
301 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
302 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
303 into autofilter_symbollist_i386.
304 (auto_export): Get autofilter_symbollist from pe_details.
305
b952b98f
NC
3062006-06-22 Nick Clifton <nickc@redhat.com>
307
308 PR ld/2757
309 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
310 output files mention the file name and the fact that it is an
311 output file.
312
45e948fe
NC
3132006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
314
315 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
316 Restructure. Add native "%s.lib" format to search list
317 * ld.texinfo (node WIN32): Update documentation on dynamic lib
318 search order. Add another reason for using import libs.
319
5e542ba7
MS
3202006-06-21 Mark Shinwell <shinwell@codesourcery.com>
321
322 * ldlang.c (lang_insert_orphan): Correctly handle the case where
323 the section is to end up after the section currently at the end
324 of the list in output_bfd.
325
a4308b79
HPN
3262006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
327
328 * emultempl/mmo.em: Improve comments. Explain why there's
329 ELF-stuff here.
330
f5ff60a6
AM
3312006-06-21 Alan Modra <amodra@bigpond.net.au>
332
333 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
334 loop to ten iterations. Throw away any previous linker generated
335 segment map.
336 * ldlang.c (lang_phdr_list): Make global.
337 * ldlang.h (lang_phdr_list): Declare.
338 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
339 * Makefile.in: Regenerate.
340
8ded5a0f
AM
3412006-06-20 Alan Modra <amodra@bigpond.net.au>
342
343 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
344 many ELF emul file deps that incorrectly said they needed elf32.em
345 instead of generic.em. Add genelf.em as required.
346 * Makefile.in: Regenerate.
347 * ldlang.c (lang_process): Call ldemul_finish before
348 lang_check_section_addresses.
349 * emulparams/arcelf.sh: Generic elf target needs genelf.
350 * emulparams/d30v_e.sh: Likewise.
351 * emulparams/d30v_o.sh: Likewise.
352 * emulparams/d30velf.sh: Likewise.
353 * emulparams/elf32_dlx.sh: Likewise.
354 * emulparams/elf32_i860.sh: Likewise.
355 * emulparams/elf32fr30.sh: Likewise.
356 * emulparams/elf32frv.sh: Likewise.
357 * emulparams/elf32iq10.sh: Likewise.
358 * emulparams/elf32iq2000.sh: Likewise.
359 * emulparams/elf32mt.sh: Likewise.
360 * emulparams/mn10200.sh: Likewise.
361 * emulparams/or32.sh: Likewise.
362 * emulparams/or32elf.sh: Likewise.
363 * emulparams/pjelf.sh: Likewise.
364 * emulparams/msp430all.sh: Likewise. Extract common entries.
365 * emulparams/pjlelf.sh: Include pjelf.sh.
366 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
367 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
368 * emultempl/elf-generic.em: New file.
369 * emultempl/genelf.em: New file.
370 * emultempl/elf32.em: Include elf-generic.em.
371 (gld${EMULATION_NAME}_layout_sections_again): Delete.
372 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
373 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
374 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
375 gld${EMULATION_NAME}_map_segments.
376 (LDEMUL_FINISH): Update.
377 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
378 source elf-generic.em.
379 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
380 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
381 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
382 gld${EMULATION_NAME}_map_segments.
383 (LDEMUL_FINISH): Update.
384
a6b96beb
AM
3852006-06-19 Alan Modra <amodra@bigpond.net.au>
386
387 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
388
5fa222e4
AM
3892006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
390
391 * ld.texinfo: Document new -z lazy option.
392 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
393 new option.
394 (gld${EMULATION_NAME}_list_options): Update help text.
395
ce28273f
FF
3962006-06-12 Fred Fish <fnf@specifix.com>
397
398 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
399 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
400 generated by mips gcc.
401
7fd91fe0
TS
4022006-06-12 Thiemo Seufer <ths@mips.com>
403
404 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
405 Define.
406
409d7240
AM
4072006-06-09 Alan Modra <amodra@bigpond.net.au>
408
409 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
410 * ldlang.c (struct out_section_hash_entry): Rename from
411 output_statement_hash_entry. Delete output_section_statement_type
412 entry. Add statement_union_type entry. Adjust all users.
413 (output_section_statement_table): Rename from output_statement_table.
414 Adjust all users.
415 (output_section_statement_newfunc): Rename from
416 output_statement_newfunc. Adjust all users.
417 (output_section_statement_table_init): Rename from
418 output_statement_table_init. Adjust all users.
419 (output_section_statement_table_free): Rename from
420 output_statement_table_free. Adjust all users.
421
6648b7cf
JM
4222006-06-07 Joseph S. Myers <joseph@codesourcery.com>
423
424 * po/Make-in (pdf, ps): New dummy targets.
425
02a38f92
AM
4262006-06-07 Alan Modra <amodra@bigpond.net.au>
427
428 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
429 info_section and overlay_section. Add noalloc_section.
430 * ldlang.c (lang_add_section): Adjust.
431 * ldgram.y (type): Adjust.
432
e0f6802f
AM
4332006-06-06 Alan Modra <amodra@bigpond.net.au>
434
435 * ldlang.c (init_os): Whitespace.
436 (map_input_to_output_sections): Don't init_os for lang_input_section.
437 (print_all_symbols): Remove forward declaration. Convert to ISO C.
438
4cfe2c59
DJ
4392006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
440
441 * po/Make-in (top_builddir): Define.
442
65ede3f4
AM
4432006-06-05 Alan Modra <amodra@bigpond.net.au>
444
445 * ldexp.c (exp_get_abs_int): Make error message the same as
446 others emitted in this file.
447
8c61c153
AM
4482006-06-05 Alan Modra <amodra@bigpond.net.au>
449
450 * config.in: Regenerate.
451
87aa7f19
AM
4522006-06-05 Alan Modra <amodra@bigpond.net.au>
453
454 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
455
e13629bc
AM
4562006-06-03 Alan Modra <amodra@bigpond.net.au>
457
458 * emultempl/elf32.em (global_found): Make it a pointer.
459 (stat_needed, try_needed): Adjust.
460 (check_needed): Don't skip non-loaded as-needed entries. Only
461 consider entries with both filename and the_bfd non-null.
462 (after_open): Try loading non-loaded as-needed libs to satisfy
463 DT_NEEDED libs.
464
e10fad12
JM
4652006-06-02 Joseph S. Myers <joseph@codesourcery.com>
466
467 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
468 * Makefile.in: Regenerate.
469
20e95c23
DJ
4702006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
471
472 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
473 and LIBINTL_DEP everywhere.
474 (INTLLIBS): Remove.
475 (INCLUDES): Use @INCINTL@.
476 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
477 Remove local code for po/Makefile.
478 * Makefile.in, configure: Regenerated.
479
24718e3b
L
4802006-05-30 H.J. Lu <hongjiu.lu@intel.com>
481
482 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
483 "CONSTANT (MAXPAGESIZE)".
484 * emulparams/armelf_nbsd.sh: Likewise.
485 * emulparams/armelf_vxworks.sh: Likewise.
486 * emulparams/armnto.sh: Likewise.
487 * emulparams/armsymbian.sh: Likewise.
488 * emulparams/crislinux.sh: Likewise.
489 * emulparams/elf32_i860.sh: Likewise.
490 * emulparams/elf32_i960.sh: Likewise.
491 * emulparams/elf32am33lin.sh: Likewise.
492 * emulparams/elf32bfinfd.sh: Likewise.
493 * emulparams/elf32bmipn32-defs.sh: Likewise.
494 * emulparams/elf32frvfd.sh: Likewise.
495 * emulparams/elf32i370.sh: Likewise.
496 * emulparams/elf32lppcnto.sh: Likewise.
497 * emulparams/elf32mcore.sh: Likewise.
498 * emulparams/elf32openrisc.sh: Likewise.
499 * emulparams/elf32ppcnto.sh: Likewise.
500 * emulparams/elf32ppcwindiss.sh: Likewise.
501 * emulparams/elf32vax.sh: Likewise.
502 * emulparams/elf32xc16x.sh: Likewise.
503 * emulparams/elf32xc16xl.sh: Likewise.
504 * emulparams/elf32xc16xs.sh: Likewise.
505 * emulparams/elf64_aix.sh: Likewise.
506 * emulparams/elf64hppa.sh: Likewise.
507 * emulparams/elf64mmix.sh: Likewise.
508 * emulparams/elf_i386_be.sh: Likewise.
509 * emulparams/elf_i386_chaos.sh: Likewise.
510 * emulparams/elf_i386_ldso.sh: Likewise.
511 * emulparams/hppa64linux.sh: Likewise.
512 * emulparams/hppalinux.sh: Likewise.
513 * emulparams/hppaobsd.sh: Likewise.
514 * emulparams/i386lynx.sh: Likewise.
515 * emulparams/i386moss.sh: Likewise.
516 * emulparams/i386nto.sh: Likewise.
517 * emulparams/i386nw.sh: Likewise.
518 * emulparams/m32relf_linux.sh: Likewise.
519 * emulparams/m68kpsos.sh: Likewise.
520 * emulparams/or32elf.sh: Likewise.
521 * emulparams/pjelf.sh: Likewise.
522 * emulparams/pjlelf.sh: Likewise.
523 * emulparams/ppclynx.sh: Likewise.
524 * emulparams/ppcnw.sh: Likewise.
525 * emulparams/shelf32_nbsd.sh : Likewise.
526 * emulparams/shelf_nbsd.sh: Likewise.
527 * emulparams/shelf_nto.sh: Likewise.
528 * emulparams/shlelf_nto.sh: Likewise.
529 * emulparams/xtensa-config.sh: Likewise.
530
531 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
532 "CONSTANT (MAXPAGESIZE)".
533 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
534 * emulparams/elf32_sparc.sh: Likewise.
535 * emulparams/elf32bmip.sh: Likewise.
536 * emulparams/elf32ppccommon.sh: Likewise.
537 * emulparams/elf64_ia64.sh: Likewise.
538 * emulparams/elf64_s390.sh: Likewise.
539 * emulparams/elf64_sparc.sh: Likewise.
540 * emulparams/elf64alpha.sh: Likewise.
541 * emulparams/elf64ppc.sh: Likewise.
542 * emulparams/elf_i386.sh: Likewise.
543 * emulparams/elf_i386_vxworks.sh: Likewise.
544 * emulparams/elf_s390.sh: Likewise.
545 * emulparams/elf_x86_64.sh: Likewise.
546 * emulparams/shlelf32_linux.sh: Likewise.
547 * emulparams/shlelf_linux.sh: Likewise.
548
549 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
550 "CONSTANT (COMMONPAGESIZE)".
551 * emulparams/elf32btsmipn32.sh: Likewise.
552
553 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
554 "-z max-page-size=" and "-z common-page-size=".
555 (gld${EMULATION_NAME}_list_options): Likewise.
556
557 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
558
559 * ld.texinfo: Document "-z max-page-size=" and
560 "-z common-page-size=".
561
562 * ldexp.c (exp_print_token): Handle CONSTANT.
563 (fold_name): Likewise.
564 * ldgram.y: Likewise.
565 * ldlex.l: Likewise.
566
567 * ldmain.c (main): Initiliaze config.maxpagesize and
568 config.commonpagesize. Call bfd_emul_set_maxpagesize if
569 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
570 config.commonpagesize config.maxpagesize isn't 0.
571
eebf07fb
NC
5722006-05-30 Nick Clifton <nickc@redhat.com>
573
574 * po/es.po: Updated Spanish translation.
575
f7661549
L
5762006-05-25 H.J. Lu <hongjiu.lu@intel.com>
577
578 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
579
314e9a4e
L
5802006-05-24 H.J. Lu <hongjiu.lu@intel.com>
581
582 PR ld/1485
583 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
584 bfd. Support 64bit host for --enable-targets=all.
585 * configure: Regenerated.
586
4a4d496a
NC
5872006-05-24 Nick Clifton <nickc@redhat.com>
588
589 * po/vi.po: Updated Vietnamese translation.
590
28c9d252
NC
5912006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
592
593 * configure.tgt: Add avr6 to emulation list.
594 * Makefile.am: Add eavr6.o and corresponding rule.
595 * Makefile.in: Regenerate.
596 * emulparams/avr6.sh: New file.
597 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
598 for target option support.
599 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
600 * scripttempl/avr.sc: Add ".trampolines" section.
601 * emultempl/avrelf.em: Add new file for target specific options.
602
b7309ada
NC
6032006-05-22 Nick Clifton <nickc@redhat.com>
604
605 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
606
f0636a44
AM
6072006-05-19 Alan Modra <amodra@bigpond.net.au>
608
609 * ldlang.c (lang_size_sections_1): Don't check mem regions for
610 os->ignored sections.
611
f86a8756
DJ
6122005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
613
614 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
615 before redoing one_lang_size_sections_pass.
616
370b66a1
CD
6172006-05-11 Carlos O'Donell <carlos@codesourcery.com>
618
619 * ld.texinfo: Rename "Index" to "LD Index"
620
53baae48
NC
6212006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
622
623 * pe-dll.c (autofilter_symbollist): Add Dllmain,
624 DllMainCRTStartup, _DllMainCRTStartup and .text.
625 (autofilter_liblist): Add libcegcc.
626 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
627 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
628 they can still contain relocs that need processing.
629 Skip the .idata$6 section.
630 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
631 (make_one): Use the new array.
632 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
633 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
634
2a60a7a8
AM
6352006-05-05 Alan Modra <amodra@bigpond.net.au>
636
637 * ld.texinfo: Document PowerPC and PowerPC64 options.
638 * gen-doc.texi: Enable.
639
38fc1cb1
DJ
6402006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
641
642 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
643 (TEXI2POD): Use AM_MAKEINFOFLAGS.
644 (configdoc.texi): Don't set top_srcdir.
645 * ld.texinfo: Don't use top_srcdir.
646 * aclocal.m4, Makefile.in: Regenerated.
647
241a6c40
AM
6482006-04-19 Alan Modra <amodra@bigpond.net.au>
649
abe6ac95
AM
650 * ldlang.c (wild): Tidy default_common_section loop.
651 (print_input_section): Format.
652
241a6c40
AM
653 * configure: Regenerate.
654
e7403566
DJ
6552006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
656
657 * po/POTFILES.in: Regenerated.
658
b030a24e
DJ
6592006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
660
661 * config.in: Regenerated.
662
a255b6c7
BW
6632006-04-14 David Heine <dlheine@tensilica.com>
664 Bob Wilson <bob.wilson@acm.org>
665
666 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
667 function to strip inconsistent linkonce sections.
668 (input_section_linked_worker, input_section_linked): New.
669 (is_inconsistent_linkonce_section): New.
670 (xtensa_strip_inconsistent_linkonce_sections): New.
671