bfd/
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
d504ffc8
DJ
12006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * emultempl/armelf.em (arm_elf_before_allocation): Only call
4 bfd_elf32_arm_process_before_allocation if no dynamic sections.
5
9e3be61d
AM
62006-11-08 Alan Modra <amodra@bigpond.net.au>
7
8 * emultempl/elf32.em (gld*_before_allocation): Adjust output section
9 size for warning sections.
10
bc251d50
VP
112006-11-06 Vladimir Prus <vladimir@codesourcery.com>
12
9e3be61d
AM
13 * emultempl/elf32.em (gld*_before_allocation): Don't prepend
14 "warning" to the message.
bc251d50 15
e916811a
CF
162006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
17
18 * pe-dll.c (autofilter_entry_type): Change name to const.
19 (pe_details_type) : Change target_name, object_target and
20 autofilter_symbollist to const.
21 (autofilter_symbollist_generic): Change to const.
22 (autofilter_symbollist_i386, pe_detail_list, pe_details,
23 autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
24 autofilter_symbolsuffixlist): Likewise.
25 (is_import): Fix indentation.
26 (auto_export): Change afptr to const. Move name declaration to
27 beginning of scope.
28 (make_tail): Clear undefined byte.
29 (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
30 to const.
31 (make_one): Change jmp_bytes to const. Make idata$6 member size
32 arithmetic explicit and add comment.
33
c0f00686
L
342006-10-30 H.J. Lu <hongjiu.lu@intel.com>
35
36 PR ld/3111
37 * ld.h (args_type): Remove reduce_memory_overheads.
38
39 * ldlang.c (lang_map): Updated.
40 (section_already_linked): Likewise.
41 (print_input_section): Likewise.
42 * ldmain.c (main): Likewise.
43 * lexsup.c (parse_args): Likewise.
44
4e986257
CF
452006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
46
47 * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
48
a14a5de3
AM
492006-10-27 Alan Modra <amodra@bigpond.net.au>
50
51 * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
52 sections have been discarded.
53 (lang_do_version_exports_section): Set SEC_KEEP on export section.
54 * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
55 sections.
56
fffbd2ef
JM
572006-10-26 Joseph S. Myers <joseph@codesourcery.com>
58 Mark Mitchell <mark@codesourcery.com>
59
60 * configure.tgt (arm*linux*): Support both big- and little-endian.
61
1bc214ba
L
622006-10-25 H.J. Lu <hongjiu.lu@intel.com>
63
64 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
65 (OTHER_BSS_SECTIONS): This.
66 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
67 (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
68
e9f53129
AM
692006-10-25 Alan Modra <amodra@bigpond.net.au>
70 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
71 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
72 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
73 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
74
75 * emulparams/elf32_spu.sh: New file.
76 * emultempl/spu_inc.s: New file.
77 * emultempl/spu_ovl.S: New file.
78 * emultempl/spu_ovl.o: New file.
79 * emultempl/spuelf.em: New file.
80 * Makefile.am: Add SPU support.
81 * configure.tgt: Likewise.
82 * ldlang.c (load_symbols): Make global.
83 * ldlang.h (load_symbols): Declare.
84 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
85 * Makefile.in: Regenerate.
86
058a363d
BE
872006-10-24 Ben Elliston <bje@au.ibm.com>
88
89 * lexsup.c (parse_args): Add a comment noting a fall-through.
90
a3ffa599
L
912006-10-24 H.J. Lu <hongjiu.lu@intel.com>
92
93 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
94 * configure: Regenerated.
95 * config.in: Likewise.
96
a0976ea4
AM
972006-10-23 Alan Modra <amodra@bigpond.net.au>
98
19163ab3
AM
99 * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
100 set section address on a relocatable link.
101
a0976ea4
AM
102 * ld.texinfo (Output Section Discarding): Fix xref.
103
30bebb95
KK
1042006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
105
106 * emulparams/shelf32.sh: Set default stack to 0x80000.
107 * emulparams/shelf64.sh: Likewise.
108
5427f821
RS
1092006-10-20 Richard Sandiford <richard@codesourcery.com>
110
111 * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
112 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
113
2f475487
AM
1142006-10-19 Alan Modra <amodra@bigpond.net.au>
115
116 * emultempl/armelf.em (arm_elf_before_allocation): Run
117 gld${EMULATION_NAME}_before_allocation later.
118 * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
119
71a75f6f
MF
1202006-10-18 Roy Marples <uberlord@gentoo.org>
121
2f475487
AM
122 * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
123 elf64-sparc-freebsd.
71a75f6f 124
e4818e07
JM
1252006-10-18 Joseph Myers <joseph@codesourcery.com>
126
127 * configure.tgt (i[3-7]86-*-linux-*): Also define
128 targ_extra_libpath in want64 case.
129 * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
130 x86_64*-linux*.
131
5a8e7be2
AM
1322006-10-17 Alan Modra <amodra@bigpond.net.au>
133
134 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
135 (INITIAL_READONLY_SECTIONS): ..here.
136 * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
137 * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
138 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
139
74541ad4
AM
1402006-10-17 Alan Modra <amodra@bigpond.net.au>
141
142 * ldlang.c (strip_excluded_output_sections): Do strip sections
143 that define syms, but don't ignore them.
144 * ld.texinfo (Output Section Discarding): Revise.
145 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
146 finish_default.
147
94bb04b3
RS
1482006-10-16 Richard Sandiford <richard@codesourcery.com>
149
150 * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
151 (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
152 * Makefile.in: Regenerate.
153 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
154 .reginfo rather than .MIPS.options.
155 * emulparams/elf64bmip-defs.sh: New file.
156 * emulparams/elf64bmip.sh: Include it.
157 (COMMONPAGESIZE): Delete.
158 * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
159
a77dc2cc
BW
1602006-10-12 Bob Wilson <bob.wilson@acm.org>
161
162 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
163 for linkonce XCC exception tables (".e" and ".h").
164
3c173cb1
BW
1652006-10-11 Bob Wilson <bob.wilson@acm.org>
166
167 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
168 (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
169 (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
170 (OTHER_SDATA_SECTIONS): New.
171 * scripttempl/elfxtensa.sc: Import changes from elf.sc.
172
07806542
JJ
1732006-10-11 Jakub Jelinek <jakub@redhat.com>
174
175 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
176 of the dynamic list rather than just the first entry.
177
ba05963f
BW
1782006-10-10 Bob Wilson <bob.wilson@acm.org>
179
180 * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
181
33423b7f
MF
1822006-10-06 Mike Frysinger <vapier@gentoo.org>
183
184 * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
185
a9c70046
BW
1862006-10-04 Bob Wilson <bob.wilson@acm.org>
187
188 * emulparams/xtensa-config.sh: Delete file.
189 * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
190 xtensa-config.sh.
191 * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
192 * Makefile.in: Regenerate.
193
00479ba8
NC
1942006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
195
196 * pe-dll.c : Fix typo.
197 (autofilter_symbolprefixlist) : Remove __imp_.
198 (is_import) : New.
199 (auto-export) : Remove re-import check. Moved to callers.
200 (process_def_file) : Check is symbol is an import. Always
201 underscore __imp_.
202 Only skip underscore on underscored targets.
203 (make_one) : Always underscore __imp_.
204 (pe_create_runtime_relocator_reference) : Only underscore
205 _pei386_runtime_relocator on underscored targets.
206 (pe_process_import_defs) : Always underscore __imp_.
207 * pe.em (U) : New macro.
208 (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
209 on wince subsystem case.
210 (pe_find_data_imports) : Use U on "_head_".
211 (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
212
49c13adb
L
2132006-09-26 H.J. Lu <hongjiu.lu@intel.com>
214
215 PR ld/3223
216 PR ld/3267
217 * ld.texinfo: Updated Output Section Discarding.
218
219 * ldlang.h (lang_output_section_statement_type): Add
220 section_relative_symbol.
221 * ldlang.c (strip_excluded_output_sections): Don't strip a
222 section with a symbol relative to it.
223 (lang_size_sections_1): Mark if an output section has a symbol
224 symbol relative to it.
225
3c68c38f
BW
2262006-09-25 Bob Wilson <bob.wilson@acm.org>
227
228 * ld.texinfo (Options): Update description of local symbols for -X.
229
779dafb4
L
2302006-09-23 H.J. Lu <hongjiu.lu@intel.com>
231
232 PR ld/3249
233 * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
234 and .gnu.linkonce.wi.* sections with .data and .debug_info for
235 relocatable link.
236
99ad8390
NC
2372006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
238
239 * configure.in: Add new target x86_64-pc-mingw64.
240 * configure: Regenerate.
241 * configure.tgt: Add definition of target emulation i386pep.
242 * Makefile.am: Add new target files for target-all.
243 * Makefile.in: Regenerate.
244 * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
245 Fix memory out of bounds excess for idata relocation section data.
246 * pep-dll.c: Add target specific shared object handling.
247 * pep-dll.h: Add target specific definitions for shared object handling.
248 * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
249 * emultempl/pep.em: Add new emulation file for target x86_64 coff.
250 * po/POTFILES.in: Regenerate.
251 * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
252 * NEWS: Mention new target.
253
6f693073
TS
2542006-09-18 Thiemo Seufer <ths@networkno.de>
255
256 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
257 configurations.
258
1c0d3aa6
NC
2592006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
260
261 * emulparams/scoreelf.sh: New file.
262 * emultempl/scoreelf.em: New file.
263 * Makefile.am: Add Score files.
264 * Makefile.in: Regenerate.
265 * configure.tgt: Add Score target.
266 * NEWS: Mention new target support.
19163ab3 267
0112cd26
NC
2682006-09-16 Nick Clifton <nickc@redhat.com>
269 Pedro Alves <pedro_alves@portugalmail.pt>
270
271 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
272 macros defined in bfd.h.
273 * ldmain.c: Likewise.
274 * ldwrite.c: Likewise.
275 * lexsup.c: Likewise.
276 * pe-dll.c: Likewise.
277 * emultempl/aix.em: Likewise.
278 * emultempl/beos.em: Likewise.
279 * emultempl/elf32.em: Likewise.
280 * emultempl/pe.em: Likewise.
281 * emultempl/sunos.em: Likewise.
282 * emultempl/xtensaelf.em: Likewise.
283
99643f69
NC
2842006-09-15 Nick Clifton <nickc@redhat.com>
285
286 PR ld/3107
287 * ldlang.c (lang_size_sections_1): Do not abort when encountering
288 a non-empty section that is ignored. Instead produce a warning
289 message.
290
0b8a70d9
L
2912006-09-08 H.J. Lu <hongjiu.lu@intel.com>
292
293 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
294
55255dae
L
2952006-09-07 H.J. Lu <hongjiu.lu@intel.com>
296
297 * Makefile.am (CXX): Set to g++.
298 (CXX_FOR_TARGET): Likewise.
299 * Makefile.in: Regenerated.
300
301 * NEWS: Mention --dynamic-list.
302
303 * ld.texinfo: Document --dynamic-list.
304
305 * ldgram.y: Support dynamic list.
306
307 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
308 on link_info.dynamic if needed.
309 (lang_append_dynamic_list): New.
310 (lang_append_dynamic_list_cpp_typeinfo): New.
311 * ldlang.h (lang_append_dynamic_list): Likewise.
312 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
313
314 * ldlex.h (input_enum): Add input_dynamic_list.
315 * ldlex.l: Handle it.
316
317 * ldmain.c (main): Initialize link_info.dynamic.
318
319 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
320 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
321 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
322 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
323 (parse_args): Handle OPTION_DYNAMIC_LIST and
324 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
325
7c94efc5
NC
3262006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
327
328 * emulparams/h8300elf.sh: _tinydata should not be placed in
329 relocatables.
330 * emulparams/h8300.sh: Likewise.
331 * emulparams/h8300sxelf.sh: Likewise.
332
88b882e9
L
3332006-09-05 H.J. Lu <hongjiu.lu@intel.com>
334
335 PR ld/3015
336 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
337 is defined.
338
68bbb9f7
NS
3392006-08-29 Nathan Sidwell <nathan@codesourcery.com>
340
341 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
342
40cf2291
AM
3432006-08-28 Alan Modra <amodra@bigpond.net.au>
344
345 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
346 not match random object files in a path containing "crtbegin" or
347 "crtend" as part of a directory name.
348 * scripttempl/armbpabi.sc: Likewise.
349 * scripttempl/crisaout.sc: Likewise.
350 * scripttempl/elf32crx.sc: Likewise.
351 * scripttempl/elf32sh-symbian.sc: Likewise.
352 * scripttempl/elf_chaos.sc: Likewise.
353 * scripttempl/elfd10v.sc: Likewise.
354 * scripttempl/elfd30v.sc: Likewise.
355 * scripttempl/elfxtensa.sc: Likewise.
356 * scripttempl/iq2000.sc: Likewise.
357 * scripttempl/mmo.sc: Likewise.
358 * scripttempl/xstormy16.sc: Likewise.
359
74869ac7
BW
3602006-08-24 Bob Wilson <bob.wilson@acm.org>
361
362 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
363 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
364
85852e36
NC
3652006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
366
367 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
368 Adjust the current address of DEFAULT_MEMORY_REGION even
369 when dot hasn't changed.
370
3e23777d
AM
3712006-08-23 Alan Modra <amodra@bigpond.net.au>
372
373 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
19163ab3 374 rather than a section relative value.
3e23777d 375
dc0b6aa0
AM
3762006-08-22 Alan Modra <amodra@bigpond.net.au>
377
378 * NEWS: Mention LMA default change.
379 * ld.texinfo (Output Section LMA): Update default description.
380 (Location Counter): Clarify backward movement.
381 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
382 default lma equal to vma. Warn on backward movement of dot.
383
57da97f5
NC
3842006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
385
386 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
387 Windows CE targets.
388
7148cc28
NC
3892006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
390
391 * Makefile.am: Split arm-wince into its own emulation.
392 * Makefile.in: Regenerate.
7148cc28
NC
393 * pe-dll.c : Define PE_ARCH_arm_wince.
394 (pe_detail_list): Add PE_ARCH_arm_wince case.
395 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
396 * emulparams/arm_wince_pe.sh: New file.
397 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
398 Remap bfd_arm_allocate_interworking_sections,
399 bfd_arm_get_bfd_for_interworking and
19163ab3 400 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
7148cc28 401 targets too.
19163ab3 402 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
7148cc28
NC
403 arm-epoc bfd format names.
404
a4fd1a8e
PB
4052006-08-18 Paul Brook <paul@codesourcery.com>
406
407 * emultempl/armelf.em (arm_elf_before_allocation): Call
408 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
409
19b3b564
CF
4102006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
411
412 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
413 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
414 and to not skipping .idata* sections.
415
cde9e0be
AM
4162006-08-16 Alan Modra <amodra@bigpond.net.au>
417
418 PR 3052
419 * ldlang.h (lang_output_section_statement_type): Replace
420 "processed" field with "processed_vma" and "processed_lma".
421 * ldlang.c (lang_do_assignments_1): Move lma setting code..
422 (lang_size_sections_1): ..to here.
423 (lang_reset_memory_regions): Adjust for
424 lang_output_section_statement_type change.
425 * ldexp.c (fold_name): Likewise.
426
50571e46
MF
4272006-08-08 Peter S. Mazinger <ps.m@gmx.net>
428
429 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
430 "CONSTANT (MAXPAGESIZE)".
431
e6f2cbf5
L
4322006-08-08 H.J. Lu <hongjiu.lu@intel.com>
433
434 PR ld/3006
435 * ldlang.c (lang_section_bst_type): Moved to ...
436 * ldlang.h: Here.
437
438 * ldlang.h (lang_wild_statement_struct): Add a tree field.
439
440 * ldlang.c (wild_sort_fast): Use the tree field for BST.
441 (wild): Likeise.
442 (analyze_walk_wild_section_handler): Initialize the tree field.
443
0d0999db
L
4442006-08-08 H.J. Lu <hongjiu.lu@intel.com>
445
446 PR ld/3009
447 * ldlang.c (update_wild_statements): Update the whole wild
448 section list.
449
a817dba3 4502006-08-04 Nick Clifton <nickc@redhat.com>
9d13c143 451 Mike Frysinger <michael.frysinger@analog.com>
a817dba3
MF
452
453 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
454 (__preinit_array_start, __preinit_array_end, __init_array_start,
455 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
456 Use ${USER_LABEL_PREFIX}.
457 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
458 (USER_LABEL_PREFIX): Set.
459
c17d87de
NC
4602006-08-04 Marcelo Tosatti <marcelo@kvack.org>
461
462 * ldmain.c (main): Initialise print_gc_sections field of link_info
463 structure.
464 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
465 switches.
466 * ld.texinfo: Document new switches.
467 * NEWS: Mention new switches.
468
55e6e397
RS
4692006-08-04 Richard Sandiford <richard@codesourcery.com>
470 Kazu Hirata <kazu@codesourcery.com>
471 Phil Edwards <phil@codesourcery.com>
472
473 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
474 eshlelf_vxworks.o.
475 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
476 * Makefile.in: Regenerate.
477 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
478 shlelf_vxworks.
479 * emulparams/shelf_vxworks.sh: New file.
480 * emulparams/shlelf_vxworks.sh: Likewise.
481 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
482 (OTHER_END_SYMBOLS): Likewise _ehdr.
483 (DATA_END_SYMBOLS): Likewise _edata.
484 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
485 is indeed an ELF file before dealing with --force-dynamic.
486
9d7cbccd
NC
4872006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
488
489 PR binutils/2983
490 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
491 elf64-x86-64-freebsd.
492
12d814e1
L
4932006-08-01 H.J. Lu <hongjiu.lu@intel.com>
494
495 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
496 bfd_make_section_with_flags.
497 (exp_init_os): Updated.
498 (lang_add_section): Call init_os with flags.
499 (map_input_to_output_sections): Likewise.
500
73934d31
RS
5012006-07-29 Richard Sandiford <richard@codesourcery.com>
502
503 * Makefile.am (eelf32b4300.c): Update dependencies.
504 (eelf32bmip.c): Likewise.
505 (eelf32bsmip.c): Likewise.
506 (eelf32btsmip.c): Likewise.
507 (eelf32btsmipn32.c): Likewise.
508 (eelf32ltsmip.c): Likewise.
509 (eelf32ltsmipn32.c): Likewise.
510 (eelf32ebmip.c): Likewise.
511 (eelf32ebmipvxworks.c): Likewise.
512 (eelf32elmip.c): Likewise.
513 (eelf32elmipvxworks.c): Likewise.
514 (eelf32bmipn32.c): Likewise.
515 (eelf32lmip.c): Likewise.
516 (eelf32mipswindiss.c): Likewise.
517 (eelf32lsmip.c): Likewise.
518 (eelf64bmip.c): Likewise.
519 (eelf64btsmip.c): Likewise.
520 (eelf64ltsmip.c): Likewise.
521 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
522 (emipsbsd.c): Likewise.
523 (emipsidt.c): Update dependencies.
524 (emipsidtl.c): Likewise.
525 (emipslit.c): Likewise.
526 (emipslnews.c): Likewise.
527 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
528 * Makefile.in: Regenerate.
529 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
530 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
531 * emultempl/irix.em: Include emultempl/mipself.em.
532 * emultempl/mipself.em: New file.
533
00bb149b
AM
5342006-07-26 Alan Modra <amodra@bigpond.net.au>
535
536 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
537 layout happens before segment map. Don't do segment map on
538 relocatable link.
539
329c1c86
AM
5402006-07-26 Alan Modra <amodra@bigpond.net.au>
541
66e28d60
AM
542 * ldexp.c (fold_name <LOADADDR>): Use the lma.
543 * ldlang.h (lang_memory_region_type): Delete old_length. Add
544 last_os.
545 * ldlang.c (lang_memory_region_lookup): Init new field.
546 (lang_reset_memory_regions): Reset new field.
547 (lang_insert_orphan): Don't set load_base.
548 (lang_leave_overlay): Likewise.
549 (lang_size_sections_1): Delete unnecessary code setting lma_region
550 to region. Correct lma region check.
551 (lang_do_assignments_1): Rename output_section_statement parm
552 to current_os. Set lma from previous section in region.
553
329c1c86
AM
554 * ldlang.c: Formatting.
555
b2f28975
BW
5562006-07-25 Bob Wilson <bob.wilson@acm.org>
557
558 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
559 Set discarded section's output_section to bfd_abs_section_ptr.
560
7544697a
AM
5612006-07-26 Alan Modra <amodra@bigpond.net.au>
562
563 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
564 earlier.
565
644143c8
BW
5662006-07-24 Bob Wilson <bob.wilson@acm.org>
567
568 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
569 in dep_sec_name for null terminator. Make sure dep_sec_name has a
570 ".t" linkonce tag.
571
ff15b240
NC
5722006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
573
574 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
575 Set for *-*-solaris2*.
576
b45619c0
NC
5772006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
578
579 * ld.texinfo: Fix spelling mistakes.
580 * ldint.texinfo: Likewise.
581
50c77e5d
NC
5822006-07-23 Sonal Santan <sonal.santan@xilinx.com>
583
584 * ldlang.c (lang_section_bst): New structure for sorting sections
585 by name.
586 (wild_sort_fast): New function: Insert a section into a binary
587 search tree.
588 (output_section_callback_fast): New function: Store a section in
589 BST.
590 (output_section_callback_tree_to_list): New function: Convert a
591 BST into a list.
592 (analyze_walk_wild_section_handler): Initialize handler_data
593 elements.
594 (wild): If the data is sorted by name use the BST method to sort
595 the names.
596
5061a885
AM
5972006-07-19 Alan Modra <amodra@bigpond.net.au>
598
599 * ld.h (handle_asneeded_cref): Declare.
600 * ldcref.c: Include objalloc.h.
601 (old_table, old_count, old_tab, alloc_mark): New variables.
602 (tabsize, entsize, refsize, old_symcount): Likewise.
603 (add_cref): Use bfd_hash_allocate for refs.
604 (handle_asneeded_cref): New function.
605 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
606
d19628a5
DJ
6072006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
608
609 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
610 typo setting targ_extra_libpath.
611
fdc90cb4
JJ
6122006-07-10 Jakub Jelinek <jakub@redhat.com>
613
614 * scripttempl/elf.sc: Add .gnu.hash section.
615 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
616 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
617 (gld${EMULATION_NAME}_handle_option): Handle it.
618 (gld${EMULATION_NAME}_list_options): Document it.
619 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
620 * ld.texinfo: Document --hash-style option.
621
b83ef3ee
NC
6222006-07-10 Nick Clifton <nickc@redhat.com>
623
624 * po/zh_TW.po: New Chinese (traditional) translation.
625 * configure.in (ALL_LINGUAS): Add zh_TW.
626 * configure: Regenerate.
627
71ba23f6
NC
6282006-07-07 Nick Clifton <nickc@redhat.com>
629
630 PR ld/2874
631 * ld.texinfo: Remove "Using LD" from the title since it is
632 redundant.
633
ba1be17e
NC
6342006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
635
71ba23f6 636 PR ld/2877
ba1be17e
NC
637 * ld.texinfo: Fix spelling mistakes.
638
b1d9458a
NC
6392006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
640 Nick Clifton <nickc@redhat.com>
641
642 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
643 length of format strings in the libname_fmt[] array, rather than
644 relying upon a statically chosen value. Adjust xmalloc call to
645 use this longest length.
646
ece2d90e
NC
6472006-06-27 Nick Clifton <nickc@redhat.com>
648
649 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
650 -rpath-link.
651
0faaaeb8
DJ
6522006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
653
654 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
655 targ_extra_libpath.
656
5b8273bf
NC
6572006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
658
659 * pe-dll.c (pe_details_type): Add new pointer for symbols list
19163ab3 660 autofilter.
5b8273bf
NC
661 (autofilter_symbollist): Split into autofilter_symbollist_generic
662 and autofilter_symbollist_i386.
663 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
664 autofilter_symbollist_generic for all the others.
665 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
666 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
667 into autofilter_symbollist_i386.
668 (auto_export): Get autofilter_symbollist from pe_details.
669
b952b98f
NC
6702006-06-22 Nick Clifton <nickc@redhat.com>
671
672 PR ld/2757
673 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
674 output files mention the file name and the fact that it is an
675 output file.
676
45e948fe
NC
6772006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
678
19163ab3 679 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
45e948fe
NC
680 Restructure. Add native "%s.lib" format to search list
681 * ld.texinfo (node WIN32): Update documentation on dynamic lib
19163ab3 682 search order. Add another reason for using import libs.
45e948fe 683
5e542ba7
MS
6842006-06-21 Mark Shinwell <shinwell@codesourcery.com>
685
686 * ldlang.c (lang_insert_orphan): Correctly handle the case where
687 the section is to end up after the section currently at the end
688 of the list in output_bfd.
689
a4308b79
HPN
6902006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
691
692 * emultempl/mmo.em: Improve comments. Explain why there's
693 ELF-stuff here.
694
f5ff60a6
AM
6952006-06-21 Alan Modra <amodra@bigpond.net.au>
696
697 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
698 loop to ten iterations. Throw away any previous linker generated
699 segment map.
700 * ldlang.c (lang_phdr_list): Make global.
701 * ldlang.h (lang_phdr_list): Declare.
702 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
703 * Makefile.in: Regenerate.
704
8ded5a0f
AM
7052006-06-20 Alan Modra <amodra@bigpond.net.au>
706
707 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
708 many ELF emul file deps that incorrectly said they needed elf32.em
709 instead of generic.em. Add genelf.em as required.
710 * Makefile.in: Regenerate.
711 * ldlang.c (lang_process): Call ldemul_finish before
712 lang_check_section_addresses.
713 * emulparams/arcelf.sh: Generic elf target needs genelf.
714 * emulparams/d30v_e.sh: Likewise.
715 * emulparams/d30v_o.sh: Likewise.
716 * emulparams/d30velf.sh: Likewise.
717 * emulparams/elf32_dlx.sh: Likewise.
718 * emulparams/elf32_i860.sh: Likewise.
719 * emulparams/elf32fr30.sh: Likewise.
720 * emulparams/elf32frv.sh: Likewise.
721 * emulparams/elf32iq10.sh: Likewise.
722 * emulparams/elf32iq2000.sh: Likewise.
723 * emulparams/elf32mt.sh: Likewise.
724 * emulparams/mn10200.sh: Likewise.
725 * emulparams/or32.sh: Likewise.
726 * emulparams/or32elf.sh: Likewise.
727 * emulparams/pjelf.sh: Likewise.
728 * emulparams/msp430all.sh: Likewise. Extract common entries.
729 * emulparams/pjlelf.sh: Include pjelf.sh.
730 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
731 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
732 * emultempl/elf-generic.em: New file.
733 * emultempl/genelf.em: New file.
734 * emultempl/elf32.em: Include elf-generic.em.
735 (gld${EMULATION_NAME}_layout_sections_again): Delete.
736 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
737 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
738 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
739 gld${EMULATION_NAME}_map_segments.
740 (LDEMUL_FINISH): Update.
741 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
742 source elf-generic.em.
743 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
744 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
745 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
746 gld${EMULATION_NAME}_map_segments.
747 (LDEMUL_FINISH): Update.
748
a6b96beb
AM
7492006-06-19 Alan Modra <amodra@bigpond.net.au>
750
751 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
752
5fa222e4
AM
7532006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
754
755 * ld.texinfo: Document new -z lazy option.
756 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
757 new option.
758 (gld${EMULATION_NAME}_list_options): Update help text.
759
ce28273f
FF
7602006-06-12 Fred Fish <fnf@specifix.com>
761
762 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
763 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
764 generated by mips gcc.
765
7fd91fe0
TS
7662006-06-12 Thiemo Seufer <ths@mips.com>
767
768 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
769 Define.
770
409d7240
AM
7712006-06-09 Alan Modra <amodra@bigpond.net.au>
772
773 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
774 * ldlang.c (struct out_section_hash_entry): Rename from
775 output_statement_hash_entry. Delete output_section_statement_type
776 entry. Add statement_union_type entry. Adjust all users.
777 (output_section_statement_table): Rename from output_statement_table.
778 Adjust all users.
779 (output_section_statement_newfunc): Rename from
780 output_statement_newfunc. Adjust all users.
781 (output_section_statement_table_init): Rename from
782 output_statement_table_init. Adjust all users.
783 (output_section_statement_table_free): Rename from
784 output_statement_table_free. Adjust all users.
785
6648b7cf
JM
7862006-06-07 Joseph S. Myers <joseph@codesourcery.com>
787
788 * po/Make-in (pdf, ps): New dummy targets.
789
02a38f92
AM
7902006-06-07 Alan Modra <amodra@bigpond.net.au>
791
792 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
793 info_section and overlay_section. Add noalloc_section.
794 * ldlang.c (lang_add_section): Adjust.
795 * ldgram.y (type): Adjust.
796
e0f6802f
AM
7972006-06-06 Alan Modra <amodra@bigpond.net.au>
798
799 * ldlang.c (init_os): Whitespace.
800 (map_input_to_output_sections): Don't init_os for lang_input_section.
801 (print_all_symbols): Remove forward declaration. Convert to ISO C.
802
4cfe2c59
DJ
8032006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
804
805 * po/Make-in (top_builddir): Define.
806
65ede3f4
AM
8072006-06-05 Alan Modra <amodra@bigpond.net.au>
808
809 * ldexp.c (exp_get_abs_int): Make error message the same as
810 others emitted in this file.
811
8c61c153
AM
8122006-06-05 Alan Modra <amodra@bigpond.net.au>
813
814 * config.in: Regenerate.
815
87aa7f19
AM
8162006-06-05 Alan Modra <amodra@bigpond.net.au>
817
818 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
819
e13629bc
AM
8202006-06-03 Alan Modra <amodra@bigpond.net.au>
821
822 * emultempl/elf32.em (global_found): Make it a pointer.
823 (stat_needed, try_needed): Adjust.
824 (check_needed): Don't skip non-loaded as-needed entries. Only
825 consider entries with both filename and the_bfd non-null.
826 (after_open): Try loading non-loaded as-needed libs to satisfy
827 DT_NEEDED libs.
828
e10fad12
JM
8292006-06-02 Joseph S. Myers <joseph@codesourcery.com>
830
831 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
832 * Makefile.in: Regenerate.
833
20e95c23
DJ
8342006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
835
836 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
837 and LIBINTL_DEP everywhere.
838 (INTLLIBS): Remove.
839 (INCLUDES): Use @INCINTL@.
840 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
841 Remove local code for po/Makefile.
842 * Makefile.in, configure: Regenerated.
843
24718e3b
L
8442006-05-30 H.J. Lu <hongjiu.lu@intel.com>
845
846 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
847 "CONSTANT (MAXPAGESIZE)".
848 * emulparams/armelf_nbsd.sh: Likewise.
849 * emulparams/armelf_vxworks.sh: Likewise.
850 * emulparams/armnto.sh: Likewise.
851 * emulparams/armsymbian.sh: Likewise.
852 * emulparams/crislinux.sh: Likewise.
853 * emulparams/elf32_i860.sh: Likewise.
854 * emulparams/elf32_i960.sh: Likewise.
855 * emulparams/elf32am33lin.sh: Likewise.
856 * emulparams/elf32bfinfd.sh: Likewise.
857 * emulparams/elf32bmipn32-defs.sh: Likewise.
858 * emulparams/elf32frvfd.sh: Likewise.
859 * emulparams/elf32i370.sh: Likewise.
860 * emulparams/elf32lppcnto.sh: Likewise.
861 * emulparams/elf32mcore.sh: Likewise.
862 * emulparams/elf32openrisc.sh: Likewise.
863 * emulparams/elf32ppcnto.sh: Likewise.
864 * emulparams/elf32ppcwindiss.sh: Likewise.
865 * emulparams/elf32vax.sh: Likewise.
866 * emulparams/elf32xc16x.sh: Likewise.
867 * emulparams/elf32xc16xl.sh: Likewise.
868 * emulparams/elf32xc16xs.sh: Likewise.
869 * emulparams/elf64_aix.sh: Likewise.
870 * emulparams/elf64hppa.sh: Likewise.
871 * emulparams/elf64mmix.sh: Likewise.
872 * emulparams/elf_i386_be.sh: Likewise.
873 * emulparams/elf_i386_chaos.sh: Likewise.
874 * emulparams/elf_i386_ldso.sh: Likewise.
875 * emulparams/hppa64linux.sh: Likewise.
876 * emulparams/hppalinux.sh: Likewise.
877 * emulparams/hppaobsd.sh: Likewise.
878 * emulparams/i386lynx.sh: Likewise.
879 * emulparams/i386moss.sh: Likewise.
880 * emulparams/i386nto.sh: Likewise.
881 * emulparams/i386nw.sh: Likewise.
882 * emulparams/m32relf_linux.sh: Likewise.
883 * emulparams/m68kpsos.sh: Likewise.
884 * emulparams/or32elf.sh: Likewise.
885 * emulparams/pjelf.sh: Likewise.
886 * emulparams/pjlelf.sh: Likewise.
887 * emulparams/ppclynx.sh: Likewise.
888 * emulparams/ppcnw.sh: Likewise.
889 * emulparams/shelf32_nbsd.sh : Likewise.
890 * emulparams/shelf_nbsd.sh: Likewise.
891 * emulparams/shelf_nto.sh: Likewise.
892 * emulparams/shlelf_nto.sh: Likewise.
893 * emulparams/xtensa-config.sh: Likewise.
894
895 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
896 "CONSTANT (MAXPAGESIZE)".
897 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
898 * emulparams/elf32_sparc.sh: Likewise.
899 * emulparams/elf32bmip.sh: Likewise.
900 * emulparams/elf32ppccommon.sh: Likewise.
901 * emulparams/elf64_ia64.sh: Likewise.
902 * emulparams/elf64_s390.sh: Likewise.
903 * emulparams/elf64_sparc.sh: Likewise.
904 * emulparams/elf64alpha.sh: Likewise.
905 * emulparams/elf64ppc.sh: Likewise.
906 * emulparams/elf_i386.sh: Likewise.
907 * emulparams/elf_i386_vxworks.sh: Likewise.
908 * emulparams/elf_s390.sh: Likewise.
909 * emulparams/elf_x86_64.sh: Likewise.
910 * emulparams/shlelf32_linux.sh: Likewise.
911 * emulparams/shlelf_linux.sh: Likewise.
912
913 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
914 "CONSTANT (COMMONPAGESIZE)".
915 * emulparams/elf32btsmipn32.sh: Likewise.
916
917 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
918 "-z max-page-size=" and "-z common-page-size=".
919 (gld${EMULATION_NAME}_list_options): Likewise.
920
921 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
922
923 * ld.texinfo: Document "-z max-page-size=" and
924 "-z common-page-size=".
925
926 * ldexp.c (exp_print_token): Handle CONSTANT.
927 (fold_name): Likewise.
928 * ldgram.y: Likewise.
929 * ldlex.l: Likewise.
930
931 * ldmain.c (main): Initiliaze config.maxpagesize and
932 config.commonpagesize. Call bfd_emul_set_maxpagesize if
933 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
934 config.commonpagesize config.maxpagesize isn't 0.
935
eebf07fb
NC
9362006-05-30 Nick Clifton <nickc@redhat.com>
937
938 * po/es.po: Updated Spanish translation.
939
f7661549
L
9402006-05-25 H.J. Lu <hongjiu.lu@intel.com>
941
942 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
943
314e9a4e
L
9442006-05-24 H.J. Lu <hongjiu.lu@intel.com>
945
946 PR ld/1485
947 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
948 bfd. Support 64bit host for --enable-targets=all.
949 * configure: Regenerated.
950
4a4d496a
NC
9512006-05-24 Nick Clifton <nickc@redhat.com>
952
953 * po/vi.po: Updated Vietnamese translation.
954
19163ab3 9552006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
28c9d252
NC
956
957 * configure.tgt: Add avr6 to emulation list.
958 * Makefile.am: Add eavr6.o and corresponding rule.
959 * Makefile.in: Regenerate.
960 * emulparams/avr6.sh: New file.
961 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
962 for target option support.
963 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
19163ab3 964 * scripttempl/avr.sc: Add ".trampolines" section.
28c9d252
NC
965 * emultempl/avrelf.em: Add new file for target specific options.
966
b7309ada
NC
9672006-05-22 Nick Clifton <nickc@redhat.com>
968
969 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
970
f0636a44
AM
9712006-05-19 Alan Modra <amodra@bigpond.net.au>
972
973 * ldlang.c (lang_size_sections_1): Don't check mem regions for
974 os->ignored sections.
975
f86a8756
DJ
9762005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
977
978 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
979 before redoing one_lang_size_sections_pass.
980
370b66a1
CD
9812006-05-11 Carlos O'Donell <carlos@codesourcery.com>
982
19163ab3 983 * ld.texinfo: Rename "Index" to "LD Index"
370b66a1 984
53baae48
NC
9852006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
986
987 * pe-dll.c (autofilter_symbollist): Add Dllmain,
988 DllMainCRTStartup, _DllMainCRTStartup and .text.
989 (autofilter_liblist): Add libcegcc.
990 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
991 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
992 they can still contain relocs that need processing.
993 Skip the .idata$6 section.
994 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
995 (make_one): Use the new array.
996 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
997 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
998
2a60a7a8
AM
9992006-05-05 Alan Modra <amodra@bigpond.net.au>
1000
1001 * ld.texinfo: Document PowerPC and PowerPC64 options.
1002 * gen-doc.texi: Enable.
1003
38fc1cb1
DJ
10042006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1005
1006 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
1007 (TEXI2POD): Use AM_MAKEINFOFLAGS.
1008 (configdoc.texi): Don't set top_srcdir.
1009 * ld.texinfo: Don't use top_srcdir.
1010 * aclocal.m4, Makefile.in: Regenerated.
1011
241a6c40
AM
10122006-04-19 Alan Modra <amodra@bigpond.net.au>
1013
abe6ac95
AM
1014 * ldlang.c (wild): Tidy default_common_section loop.
1015 (print_input_section): Format.
1016
241a6c40
AM
1017 * configure: Regenerate.
1018
e7403566
DJ
10192006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1020
1021 * po/POTFILES.in: Regenerated.
1022
b030a24e
DJ
10232006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1024
1025 * config.in: Regenerated.
1026
a255b6c7
BW
10272006-04-14 David Heine <dlheine@tensilica.com>
1028 Bob Wilson <bob.wilson@acm.org>
1029
1030 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
1031 function to strip inconsistent linkonce sections.
1032 (input_section_linked_worker, input_section_linked): New.
1033 (is_inconsistent_linkonce_section): New.
1034 (xtensa_strip_inconsistent_linkonce_sections): New.
1035