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