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