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