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