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