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