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