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