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