PR ld/3843
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
916c46cb
NC
12007-01-08 Aurelien Jarno <aurelien@aurel32.net>
2
3 PR ld/3843
4 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
5 tdir_elf_i386_fbsd.
6
cc3e2771
NS
72007-01-06 Nathan Sidwell <nathan@codesourcery.com>
8
9 * ldexp.c (fold_name): Issue error on undefined sections.
10
799133e8
AM
112007-01-02 Alan Modra <amodra@bigpond.net.au>
12
13 * pe-dll.c: Include pe-dll.h.
14 * pep-dll.c (pe_bfd_is_dll): Define.
15
ebff6cd5
KH
162006-12-23 Kazu Hirata <kazu@codesourcery.com>
17
18 * configure.tgt: Recognize fido.
19
ff2bdb9c
CF
202006-12-18 Pedro Alves <pedro_alves@portugalmail.pt>
21
22 * pe-dll.c (pe_bfd_is_dll): New function.
23 * pe-dll.h (pe_bfd_is_dll): Declare.
24 * emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize
25 dlls using pe_bfd_is_dll instead of using the filename extension.
26
a6c73b34
BE
272006-12-15 Ulrich Weigand <uweigand@de.ibm.com>
28
29 * configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
30
37d037c1
DJ
312006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
32
33 * Makefile.am (ld_TEXINFOS): Set.
34 (ld.info ld.dvi ld.html): Delete rule.
35 * Makefile.in: Regenerated.
36
67f744f3
AM
372006-12-12 Ina Pandit <inap@kpitcummins.com>
38
39 * ldlang.c (print_output_section_statement): Print load address
40 when lma differs from vma.
41
d5fbea21
DJ
422006-12-11 Daniel Jacobowitz <dan@codesourcery.com>
43
44 * configure.in: Define GENINSRC_NEVER.
45 * doc/Makefile.am (ld.info): Remove srcdir prefix.
46 (MAINTAINERCLEANFILES): Add info file.
47 (DISTCLEANFILES): Pretend to add info file.
48 * po/Make-in (.po.gmo): Put gmo files in objdir.
49 * configure, Makefile.in: Regenerated.
50
eb3d5f3b
JB
512006-12-04 Jan Beulich <jbeulich@novell.com>
52
53 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
54 .eh_frame_hdr section here.
55
71afa711
ILT
562006-11-27 Ian Lance Taylor <ian@airs.com>
57
58 * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
59 subdirectory.
60 * Makefile.in: Regenerate.
61
2caa7ca0
BW
622006-11-27 Bob Wilson <bob.wilson@acm.org>
63
64 * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
65 (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
66 Delete redundant code to set sections flags and alignment.
67 (xt_config_info_unpack_and_check, check_xtensa_info): New.
68 (elf_xtensa_after_open): Iterate over input statements instead of
69 link_info.input_bfds.
70 (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
71 each input, and write a new .xtensa.info section in the output.
72
221ca466
NC
732006-11-22 Nick Clifton <nickc@redhat.com>
74
75 * configure.in (LINGUAS): Add ga.
76 * po/ga.po: New Irish translation.
77
0f6bf451
L
782006-11-20 H.J. Lu <hongjiu.lu@intel.com>
79
80 * ld.texinfo: Fix a typo.
81
f99ab86e
AM
822006-11-20 Alan Modra <amodra@bigpond.net.au>
83
84 * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
85
d504ffc8
DJ
862006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
87
88 * emultempl/armelf.em (arm_elf_before_allocation): Only call
89 bfd_elf32_arm_process_before_allocation if no dynamic sections.
90
9e3be61d
AM
912006-11-08 Alan Modra <amodra@bigpond.net.au>
92
93 * emultempl/elf32.em (gld*_before_allocation): Adjust output section
94 size for warning sections.
95
bc251d50
VP
962006-11-06 Vladimir Prus <vladimir@codesourcery.com>
97
9e3be61d
AM
98 * emultempl/elf32.em (gld*_before_allocation): Don't prepend
99 "warning" to the message.
bc251d50 100
e916811a
CF
1012006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
102
103 * pe-dll.c (autofilter_entry_type): Change name to const.
104 (pe_details_type) : Change target_name, object_target and
105 autofilter_symbollist to const.
106 (autofilter_symbollist_generic): Change to const.
107 (autofilter_symbollist_i386, pe_detail_list, pe_details,
108 autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
109 autofilter_symbolsuffixlist): Likewise.
110 (is_import): Fix indentation.
111 (auto_export): Change afptr to const. Move name declaration to
112 beginning of scope.
113 (make_tail): Clear undefined byte.
114 (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
115 to const.
116 (make_one): Change jmp_bytes to const. Make idata$6 member size
117 arithmetic explicit and add comment.
118
c0f00686
L
1192006-10-30 H.J. Lu <hongjiu.lu@intel.com>
120
121 PR ld/3111
122 * ld.h (args_type): Remove reduce_memory_overheads.
123
124 * ldlang.c (lang_map): Updated.
125 (section_already_linked): Likewise.
126 (print_input_section): Likewise.
127 * ldmain.c (main): Likewise.
128 * lexsup.c (parse_args): Likewise.
129
4e986257
CF
1302006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
131
132 * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
133
a14a5de3
AM
1342006-10-27 Alan Modra <amodra@bigpond.net.au>
135
136 * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
137 sections have been discarded.
138 (lang_do_version_exports_section): Set SEC_KEEP on export section.
139 * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
140 sections.
141
fffbd2ef
JM
1422006-10-26 Joseph S. Myers <joseph@codesourcery.com>
143 Mark Mitchell <mark@codesourcery.com>
144
145 * configure.tgt (arm*linux*): Support both big- and little-endian.
146
1bc214ba
L
1472006-10-25 H.J. Lu <hongjiu.lu@intel.com>
148
149 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
150 (OTHER_BSS_SECTIONS): This.
151 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
152 (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
153
e9f53129
AM
1542006-10-25 Alan Modra <amodra@bigpond.net.au>
155 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
156 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
157 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
158 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
159
160 * emulparams/elf32_spu.sh: New file.
161 * emultempl/spu_inc.s: New file.
162 * emultempl/spu_ovl.S: New file.
163 * emultempl/spu_ovl.o: New file.
164 * emultempl/spuelf.em: New file.
165 * Makefile.am: Add SPU support.
166 * configure.tgt: Likewise.
167 * ldlang.c (load_symbols): Make global.
168 * ldlang.h (load_symbols): Declare.
169 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
170 * Makefile.in: Regenerate.
171
058a363d
BE
1722006-10-24 Ben Elliston <bje@au.ibm.com>
173
174 * lexsup.c (parse_args): Add a comment noting a fall-through.
175
a3ffa599
L
1762006-10-24 H.J. Lu <hongjiu.lu@intel.com>
177
178 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
179 * configure: Regenerated.
180 * config.in: Likewise.
181
a0976ea4
AM
1822006-10-23 Alan Modra <amodra@bigpond.net.au>
183
19163ab3
AM
184 * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
185 set section address on a relocatable link.
186
a0976ea4
AM
187 * ld.texinfo (Output Section Discarding): Fix xref.
188
30bebb95
KK
1892006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
190
191 * emulparams/shelf32.sh: Set default stack to 0x80000.
192 * emulparams/shelf64.sh: Likewise.
193
5427f821
RS
1942006-10-20 Richard Sandiford <richard@codesourcery.com>
195
196 * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
197 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
198
2f475487
AM
1992006-10-19 Alan Modra <amodra@bigpond.net.au>
200
201 * emultempl/armelf.em (arm_elf_before_allocation): Run
202 gld${EMULATION_NAME}_before_allocation later.
203 * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
204
71a75f6f
MF
2052006-10-18 Roy Marples <uberlord@gentoo.org>
206
2f475487
AM
207 * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
208 elf64-sparc-freebsd.
71a75f6f 209
e4818e07
JM
2102006-10-18 Joseph Myers <joseph@codesourcery.com>
211
212 * configure.tgt (i[3-7]86-*-linux-*): Also define
213 targ_extra_libpath in want64 case.
214 * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
215 x86_64*-linux*.
216
5a8e7be2
AM
2172006-10-17 Alan Modra <amodra@bigpond.net.au>
218
219 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
220 (INITIAL_READONLY_SECTIONS): ..here.
221 * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
222 * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
223 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
224
74541ad4
AM
2252006-10-17 Alan Modra <amodra@bigpond.net.au>
226
227 * ldlang.c (strip_excluded_output_sections): Do strip sections
228 that define syms, but don't ignore them.
229 * ld.texinfo (Output Section Discarding): Revise.
230 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
231 finish_default.
232
94bb04b3
RS
2332006-10-16 Richard Sandiford <richard@codesourcery.com>
234
235 * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
236 (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
237 * Makefile.in: Regenerate.
238 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
239 .reginfo rather than .MIPS.options.
240 * emulparams/elf64bmip-defs.sh: New file.
241 * emulparams/elf64bmip.sh: Include it.
242 (COMMONPAGESIZE): Delete.
243 * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
244
a77dc2cc
BW
2452006-10-12 Bob Wilson <bob.wilson@acm.org>
246
247 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
248 for linkonce XCC exception tables (".e" and ".h").
249
3c173cb1
BW
2502006-10-11 Bob Wilson <bob.wilson@acm.org>
251
252 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
253 (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
254 (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
255 (OTHER_SDATA_SECTIONS): New.
256 * scripttempl/elfxtensa.sc: Import changes from elf.sc.
257
07806542
JJ
2582006-10-11 Jakub Jelinek <jakub@redhat.com>
259
260 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
261 of the dynamic list rather than just the first entry.
262
ba05963f
BW
2632006-10-10 Bob Wilson <bob.wilson@acm.org>
264
265 * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
266
33423b7f
MF
2672006-10-06 Mike Frysinger <vapier@gentoo.org>
268
269 * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
270
a9c70046
BW
2712006-10-04 Bob Wilson <bob.wilson@acm.org>
272
273 * emulparams/xtensa-config.sh: Delete file.
274 * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
275 xtensa-config.sh.
276 * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
277 * Makefile.in: Regenerate.
278
00479ba8
NC
2792006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
280
281 * pe-dll.c : Fix typo.
282 (autofilter_symbolprefixlist) : Remove __imp_.
283 (is_import) : New.
284 (auto-export) : Remove re-import check. Moved to callers.
285 (process_def_file) : Check is symbol is an import. Always
286 underscore __imp_.
287 Only skip underscore on underscored targets.
288 (make_one) : Always underscore __imp_.
289 (pe_create_runtime_relocator_reference) : Only underscore
290 _pei386_runtime_relocator on underscored targets.
291 (pe_process_import_defs) : Always underscore __imp_.
292 * pe.em (U) : New macro.
293 (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
294 on wince subsystem case.
295 (pe_find_data_imports) : Use U on "_head_".
296 (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
297
49c13adb
L
2982006-09-26 H.J. Lu <hongjiu.lu@intel.com>
299
300 PR ld/3223
301 PR ld/3267
302 * ld.texinfo: Updated Output Section Discarding.
303
304 * ldlang.h (lang_output_section_statement_type): Add
305 section_relative_symbol.
306 * ldlang.c (strip_excluded_output_sections): Don't strip a
307 section with a symbol relative to it.
308 (lang_size_sections_1): Mark if an output section has a symbol
309 symbol relative to it.
310
3c68c38f
BW
3112006-09-25 Bob Wilson <bob.wilson@acm.org>
312
313 * ld.texinfo (Options): Update description of local symbols for -X.
314
779dafb4
L
3152006-09-23 H.J. Lu <hongjiu.lu@intel.com>
316
317 PR ld/3249
318 * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
319 and .gnu.linkonce.wi.* sections with .data and .debug_info for
320 relocatable link.
321
99ad8390
NC
3222006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
323
324 * configure.in: Add new target x86_64-pc-mingw64.
325 * configure: Regenerate.
326 * configure.tgt: Add definition of target emulation i386pep.
327 * Makefile.am: Add new target files for target-all.
328 * Makefile.in: Regenerate.
329 * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
330 Fix memory out of bounds excess for idata relocation section data.
331 * pep-dll.c: Add target specific shared object handling.
332 * pep-dll.h: Add target specific definitions for shared object handling.
333 * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
334 * emultempl/pep.em: Add new emulation file for target x86_64 coff.
335 * po/POTFILES.in: Regenerate.
336 * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
337 * NEWS: Mention new target.
338
6f693073
TS
3392006-09-18 Thiemo Seufer <ths@networkno.de>
340
341 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
342 configurations.
343
1c0d3aa6
NC
3442006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
345
346 * emulparams/scoreelf.sh: New file.
347 * emultempl/scoreelf.em: New file.
348 * Makefile.am: Add Score files.
349 * Makefile.in: Regenerate.
350 * configure.tgt: Add Score target.
351 * NEWS: Mention new target support.
19163ab3 352
0112cd26
NC
3532006-09-16 Nick Clifton <nickc@redhat.com>
354 Pedro Alves <pedro_alves@portugalmail.pt>
355
356 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
357 macros defined in bfd.h.
358 * ldmain.c: Likewise.
359 * ldwrite.c: Likewise.
360 * lexsup.c: Likewise.
361 * pe-dll.c: Likewise.
362 * emultempl/aix.em: Likewise.
363 * emultempl/beos.em: Likewise.
364 * emultempl/elf32.em: Likewise.
365 * emultempl/pe.em: Likewise.
366 * emultempl/sunos.em: Likewise.
367 * emultempl/xtensaelf.em: Likewise.
368
99643f69
NC
3692006-09-15 Nick Clifton <nickc@redhat.com>
370
371 PR ld/3107
372 * ldlang.c (lang_size_sections_1): Do not abort when encountering
373 a non-empty section that is ignored. Instead produce a warning
374 message.
375
0b8a70d9
L
3762006-09-08 H.J. Lu <hongjiu.lu@intel.com>
377
378 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
379
55255dae
L
3802006-09-07 H.J. Lu <hongjiu.lu@intel.com>
381
382 * Makefile.am (CXX): Set to g++.
383 (CXX_FOR_TARGET): Likewise.
384 * Makefile.in: Regenerated.
385
386 * NEWS: Mention --dynamic-list.
387
388 * ld.texinfo: Document --dynamic-list.
389
390 * ldgram.y: Support dynamic list.
391
392 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
393 on link_info.dynamic if needed.
394 (lang_append_dynamic_list): New.
395 (lang_append_dynamic_list_cpp_typeinfo): New.
396 * ldlang.h (lang_append_dynamic_list): Likewise.
397 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
398
399 * ldlex.h (input_enum): Add input_dynamic_list.
400 * ldlex.l: Handle it.
401
402 * ldmain.c (main): Initialize link_info.dynamic.
403
404 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
405 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
406 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
407 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
408 (parse_args): Handle OPTION_DYNAMIC_LIST and
409 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
410
7c94efc5
NC
4112006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
412
413 * emulparams/h8300elf.sh: _tinydata should not be placed in
414 relocatables.
415 * emulparams/h8300.sh: Likewise.
416 * emulparams/h8300sxelf.sh: Likewise.
417
88b882e9
L
4182006-09-05 H.J. Lu <hongjiu.lu@intel.com>
419
420 PR ld/3015
421 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
422 is defined.
423
68bbb9f7
NS
4242006-08-29 Nathan Sidwell <nathan@codesourcery.com>
425
426 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
427
40cf2291
AM
4282006-08-28 Alan Modra <amodra@bigpond.net.au>
429
430 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
431 not match random object files in a path containing "crtbegin" or
432 "crtend" as part of a directory name.
433 * scripttempl/armbpabi.sc: Likewise.
434 * scripttempl/crisaout.sc: Likewise.
435 * scripttempl/elf32crx.sc: Likewise.
436 * scripttempl/elf32sh-symbian.sc: Likewise.
437 * scripttempl/elf_chaos.sc: Likewise.
438 * scripttempl/elfd10v.sc: Likewise.
439 * scripttempl/elfd30v.sc: Likewise.
440 * scripttempl/elfxtensa.sc: Likewise.
441 * scripttempl/iq2000.sc: Likewise.
442 * scripttempl/mmo.sc: Likewise.
443 * scripttempl/xstormy16.sc: Likewise.
444
74869ac7
BW
4452006-08-24 Bob Wilson <bob.wilson@acm.org>
446
447 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
448 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
449
85852e36
NC
4502006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
451
452 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
453 Adjust the current address of DEFAULT_MEMORY_REGION even
454 when dot hasn't changed.
455
3e23777d
AM
4562006-08-23 Alan Modra <amodra@bigpond.net.au>
457
458 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
19163ab3 459 rather than a section relative value.
3e23777d 460
dc0b6aa0
AM
4612006-08-22 Alan Modra <amodra@bigpond.net.au>
462
463 * NEWS: Mention LMA default change.
464 * ld.texinfo (Output Section LMA): Update default description.
465 (Location Counter): Clarify backward movement.
466 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
467 default lma equal to vma. Warn on backward movement of dot.
468
57da97f5
NC
4692006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
470
471 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
472 Windows CE targets.
473
7148cc28
NC
4742006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
475
476 * Makefile.am: Split arm-wince into its own emulation.
477 * Makefile.in: Regenerate.
7148cc28
NC
478 * pe-dll.c : Define PE_ARCH_arm_wince.
479 (pe_detail_list): Add PE_ARCH_arm_wince case.
480 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
481 * emulparams/arm_wince_pe.sh: New file.
482 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
483 Remap bfd_arm_allocate_interworking_sections,
484 bfd_arm_get_bfd_for_interworking and
19163ab3 485 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
7148cc28 486 targets too.
19163ab3 487 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
7148cc28
NC
488 arm-epoc bfd format names.
489
a4fd1a8e
PB
4902006-08-18 Paul Brook <paul@codesourcery.com>
491
492 * emultempl/armelf.em (arm_elf_before_allocation): Call
493 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
494
19b3b564
CF
4952006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
496
497 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
498 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
499 and to not skipping .idata* sections.
500
cde9e0be
AM
5012006-08-16 Alan Modra <amodra@bigpond.net.au>
502
503 PR 3052
504 * ldlang.h (lang_output_section_statement_type): Replace
505 "processed" field with "processed_vma" and "processed_lma".
506 * ldlang.c (lang_do_assignments_1): Move lma setting code..
507 (lang_size_sections_1): ..to here.
508 (lang_reset_memory_regions): Adjust for
509 lang_output_section_statement_type change.
510 * ldexp.c (fold_name): Likewise.
511
50571e46
MF
5122006-08-08 Peter S. Mazinger <ps.m@gmx.net>
513
514 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
515 "CONSTANT (MAXPAGESIZE)".
516
e6f2cbf5
L
5172006-08-08 H.J. Lu <hongjiu.lu@intel.com>
518
519 PR ld/3006
520 * ldlang.c (lang_section_bst_type): Moved to ...
521 * ldlang.h: Here.
522
523 * ldlang.h (lang_wild_statement_struct): Add a tree field.
524
525 * ldlang.c (wild_sort_fast): Use the tree field for BST.
526 (wild): Likeise.
527 (analyze_walk_wild_section_handler): Initialize the tree field.
528
0d0999db
L
5292006-08-08 H.J. Lu <hongjiu.lu@intel.com>
530
531 PR ld/3009
532 * ldlang.c (update_wild_statements): Update the whole wild
533 section list.
534
a817dba3 5352006-08-04 Nick Clifton <nickc@redhat.com>
9d13c143 536 Mike Frysinger <michael.frysinger@analog.com>
a817dba3
MF
537
538 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
539 (__preinit_array_start, __preinit_array_end, __init_array_start,
540 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
541 Use ${USER_LABEL_PREFIX}.
542 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
543 (USER_LABEL_PREFIX): Set.
544
c17d87de
NC
5452006-08-04 Marcelo Tosatti <marcelo@kvack.org>
546
547 * ldmain.c (main): Initialise print_gc_sections field of link_info
548 structure.
549 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
550 switches.
551 * ld.texinfo: Document new switches.
552 * NEWS: Mention new switches.
553
55e6e397
RS
5542006-08-04 Richard Sandiford <richard@codesourcery.com>
555 Kazu Hirata <kazu@codesourcery.com>
556 Phil Edwards <phil@codesourcery.com>
557
558 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
559 eshlelf_vxworks.o.
560 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
561 * Makefile.in: Regenerate.
562 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
563 shlelf_vxworks.
564 * emulparams/shelf_vxworks.sh: New file.
565 * emulparams/shlelf_vxworks.sh: Likewise.
566 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
567 (OTHER_END_SYMBOLS): Likewise _ehdr.
568 (DATA_END_SYMBOLS): Likewise _edata.
569 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
570 is indeed an ELF file before dealing with --force-dynamic.
571
9d7cbccd
NC
5722006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
573
574 PR binutils/2983
575 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
576 elf64-x86-64-freebsd.
577
12d814e1
L
5782006-08-01 H.J. Lu <hongjiu.lu@intel.com>
579
580 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
581 bfd_make_section_with_flags.
582 (exp_init_os): Updated.
583 (lang_add_section): Call init_os with flags.
584 (map_input_to_output_sections): Likewise.
585
73934d31
RS
5862006-07-29 Richard Sandiford <richard@codesourcery.com>
587
588 * Makefile.am (eelf32b4300.c): Update dependencies.
589 (eelf32bmip.c): Likewise.
590 (eelf32bsmip.c): Likewise.
591 (eelf32btsmip.c): Likewise.
592 (eelf32btsmipn32.c): Likewise.
593 (eelf32ltsmip.c): Likewise.
594 (eelf32ltsmipn32.c): Likewise.
595 (eelf32ebmip.c): Likewise.
596 (eelf32ebmipvxworks.c): Likewise.
597 (eelf32elmip.c): Likewise.
598 (eelf32elmipvxworks.c): Likewise.
599 (eelf32bmipn32.c): Likewise.
600 (eelf32lmip.c): Likewise.
601 (eelf32mipswindiss.c): Likewise.
602 (eelf32lsmip.c): Likewise.
603 (eelf64bmip.c): Likewise.
604 (eelf64btsmip.c): Likewise.
605 (eelf64ltsmip.c): Likewise.
606 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
607 (emipsbsd.c): Likewise.
608 (emipsidt.c): Update dependencies.
609 (emipsidtl.c): Likewise.
610 (emipslit.c): Likewise.
611 (emipslnews.c): Likewise.
612 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
613 * Makefile.in: Regenerate.
614 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
615 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
616 * emultempl/irix.em: Include emultempl/mipself.em.
617 * emultempl/mipself.em: New file.
618
00bb149b
AM
6192006-07-26 Alan Modra <amodra@bigpond.net.au>
620
621 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
622 layout happens before segment map. Don't do segment map on
623 relocatable link.
624
329c1c86
AM
6252006-07-26 Alan Modra <amodra@bigpond.net.au>
626
66e28d60
AM
627 * ldexp.c (fold_name <LOADADDR>): Use the lma.
628 * ldlang.h (lang_memory_region_type): Delete old_length. Add
629 last_os.
630 * ldlang.c (lang_memory_region_lookup): Init new field.
631 (lang_reset_memory_regions): Reset new field.
632 (lang_insert_orphan): Don't set load_base.
633 (lang_leave_overlay): Likewise.
634 (lang_size_sections_1): Delete unnecessary code setting lma_region
635 to region. Correct lma region check.
636 (lang_do_assignments_1): Rename output_section_statement parm
637 to current_os. Set lma from previous section in region.
638
329c1c86
AM
639 * ldlang.c: Formatting.
640
b2f28975
BW
6412006-07-25 Bob Wilson <bob.wilson@acm.org>
642
643 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
644 Set discarded section's output_section to bfd_abs_section_ptr.
645
7544697a
AM
6462006-07-26 Alan Modra <amodra@bigpond.net.au>
647
648 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
649 earlier.
650
644143c8
BW
6512006-07-24 Bob Wilson <bob.wilson@acm.org>
652
653 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
654 in dep_sec_name for null terminator. Make sure dep_sec_name has a
655 ".t" linkonce tag.
656
ff15b240
NC
6572006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
658
659 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
660 Set for *-*-solaris2*.
661
b45619c0
NC
6622006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
663
664 * ld.texinfo: Fix spelling mistakes.
665 * ldint.texinfo: Likewise.
666
50c77e5d
NC
6672006-07-23 Sonal Santan <sonal.santan@xilinx.com>
668
669 * ldlang.c (lang_section_bst): New structure for sorting sections
670 by name.
671 (wild_sort_fast): New function: Insert a section into a binary
672 search tree.
673 (output_section_callback_fast): New function: Store a section in
674 BST.
675 (output_section_callback_tree_to_list): New function: Convert a
676 BST into a list.
677 (analyze_walk_wild_section_handler): Initialize handler_data
678 elements.
679 (wild): If the data is sorted by name use the BST method to sort
680 the names.
681
5061a885
AM
6822006-07-19 Alan Modra <amodra@bigpond.net.au>
683
684 * ld.h (handle_asneeded_cref): Declare.
685 * ldcref.c: Include objalloc.h.
686 (old_table, old_count, old_tab, alloc_mark): New variables.
687 (tabsize, entsize, refsize, old_symcount): Likewise.
688 (add_cref): Use bfd_hash_allocate for refs.
689 (handle_asneeded_cref): New function.
690 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
691
d19628a5
DJ
6922006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
693
694 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
695 typo setting targ_extra_libpath.
696
fdc90cb4
JJ
6972006-07-10 Jakub Jelinek <jakub@redhat.com>
698
699 * scripttempl/elf.sc: Add .gnu.hash section.
700 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
701 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
702 (gld${EMULATION_NAME}_handle_option): Handle it.
703 (gld${EMULATION_NAME}_list_options): Document it.
704 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
705 * ld.texinfo: Document --hash-style option.
706
b83ef3ee
NC
7072006-07-10 Nick Clifton <nickc@redhat.com>
708
709 * po/zh_TW.po: New Chinese (traditional) translation.
710 * configure.in (ALL_LINGUAS): Add zh_TW.
711 * configure: Regenerate.
712
71ba23f6
NC
7132006-07-07 Nick Clifton <nickc@redhat.com>
714
715 PR ld/2874
716 * ld.texinfo: Remove "Using LD" from the title since it is
717 redundant.
718
ba1be17e
NC
7192006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
720
71ba23f6 721 PR ld/2877
ba1be17e
NC
722 * ld.texinfo: Fix spelling mistakes.
723
b1d9458a
NC
7242006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
725 Nick Clifton <nickc@redhat.com>
726
727 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
728 length of format strings in the libname_fmt[] array, rather than
729 relying upon a statically chosen value. Adjust xmalloc call to
730 use this longest length.
731
ece2d90e
NC
7322006-06-27 Nick Clifton <nickc@redhat.com>
733
734 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
735 -rpath-link.
736
0faaaeb8
DJ
7372006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
738
739 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
740 targ_extra_libpath.
741
5b8273bf
NC
7422006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
743
744 * pe-dll.c (pe_details_type): Add new pointer for symbols list
19163ab3 745 autofilter.
5b8273bf
NC
746 (autofilter_symbollist): Split into autofilter_symbollist_generic
747 and autofilter_symbollist_i386.
748 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
749 autofilter_symbollist_generic for all the others.
750 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
751 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
752 into autofilter_symbollist_i386.
753 (auto_export): Get autofilter_symbollist from pe_details.
754
b952b98f
NC
7552006-06-22 Nick Clifton <nickc@redhat.com>
756
757 PR ld/2757
758 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
759 output files mention the file name and the fact that it is an
760 output file.
761
45e948fe
NC
7622006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
763
19163ab3 764 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
45e948fe
NC
765 Restructure. Add native "%s.lib" format to search list
766 * ld.texinfo (node WIN32): Update documentation on dynamic lib
19163ab3 767 search order. Add another reason for using import libs.
45e948fe 768
5e542ba7
MS
7692006-06-21 Mark Shinwell <shinwell@codesourcery.com>
770
771 * ldlang.c (lang_insert_orphan): Correctly handle the case where
772 the section is to end up after the section currently at the end
773 of the list in output_bfd.
774
a4308b79
HPN
7752006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
776
777 * emultempl/mmo.em: Improve comments. Explain why there's
778 ELF-stuff here.
779
f5ff60a6
AM
7802006-06-21 Alan Modra <amodra@bigpond.net.au>
781
782 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
783 loop to ten iterations. Throw away any previous linker generated
784 segment map.
785 * ldlang.c (lang_phdr_list): Make global.
786 * ldlang.h (lang_phdr_list): Declare.
787 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
788 * Makefile.in: Regenerate.
789
8ded5a0f
AM
7902006-06-20 Alan Modra <amodra@bigpond.net.au>
791
792 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
793 many ELF emul file deps that incorrectly said they needed elf32.em
794 instead of generic.em. Add genelf.em as required.
795 * Makefile.in: Regenerate.
796 * ldlang.c (lang_process): Call ldemul_finish before
797 lang_check_section_addresses.
798 * emulparams/arcelf.sh: Generic elf target needs genelf.
799 * emulparams/d30v_e.sh: Likewise.
800 * emulparams/d30v_o.sh: Likewise.
801 * emulparams/d30velf.sh: Likewise.
802 * emulparams/elf32_dlx.sh: Likewise.
803 * emulparams/elf32_i860.sh: Likewise.
804 * emulparams/elf32fr30.sh: Likewise.
805 * emulparams/elf32frv.sh: Likewise.
806 * emulparams/elf32iq10.sh: Likewise.
807 * emulparams/elf32iq2000.sh: Likewise.
808 * emulparams/elf32mt.sh: Likewise.
809 * emulparams/mn10200.sh: Likewise.
810 * emulparams/or32.sh: Likewise.
811 * emulparams/or32elf.sh: Likewise.
812 * emulparams/pjelf.sh: Likewise.
813 * emulparams/msp430all.sh: Likewise. Extract common entries.
814 * emulparams/pjlelf.sh: Include pjelf.sh.
815 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
816 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
817 * emultempl/elf-generic.em: New file.
818 * emultempl/genelf.em: New file.
819 * emultempl/elf32.em: Include elf-generic.em.
820 (gld${EMULATION_NAME}_layout_sections_again): Delete.
821 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
822 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
823 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
824 gld${EMULATION_NAME}_map_segments.
825 (LDEMUL_FINISH): Update.
826 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
827 source elf-generic.em.
828 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
829 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
830 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
831 gld${EMULATION_NAME}_map_segments.
832 (LDEMUL_FINISH): Update.
833
a6b96beb
AM
8342006-06-19 Alan Modra <amodra@bigpond.net.au>
835
836 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
837
5fa222e4
AM
8382006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
839
840 * ld.texinfo: Document new -z lazy option.
841 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
842 new option.
843 (gld${EMULATION_NAME}_list_options): Update help text.
844
ce28273f
FF
8452006-06-12 Fred Fish <fnf@specifix.com>
846
847 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
848 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
849 generated by mips gcc.
850
7fd91fe0
TS
8512006-06-12 Thiemo Seufer <ths@mips.com>
852
853 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
854 Define.
855
409d7240
AM
8562006-06-09 Alan Modra <amodra@bigpond.net.au>
857
858 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
859 * ldlang.c (struct out_section_hash_entry): Rename from
860 output_statement_hash_entry. Delete output_section_statement_type
861 entry. Add statement_union_type entry. Adjust all users.
862 (output_section_statement_table): Rename from output_statement_table.
863 Adjust all users.
864 (output_section_statement_newfunc): Rename from
865 output_statement_newfunc. Adjust all users.
866 (output_section_statement_table_init): Rename from
867 output_statement_table_init. Adjust all users.
868 (output_section_statement_table_free): Rename from
869 output_statement_table_free. Adjust all users.
870
6648b7cf
JM
8712006-06-07 Joseph S. Myers <joseph@codesourcery.com>
872
873 * po/Make-in (pdf, ps): New dummy targets.
874
02a38f92
AM
8752006-06-07 Alan Modra <amodra@bigpond.net.au>
876
877 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
878 info_section and overlay_section. Add noalloc_section.
879 * ldlang.c (lang_add_section): Adjust.
880 * ldgram.y (type): Adjust.
881
e0f6802f
AM
8822006-06-06 Alan Modra <amodra@bigpond.net.au>
883
884 * ldlang.c (init_os): Whitespace.
885 (map_input_to_output_sections): Don't init_os for lang_input_section.
886 (print_all_symbols): Remove forward declaration. Convert to ISO C.
887
4cfe2c59
DJ
8882006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
889
890 * po/Make-in (top_builddir): Define.
891
65ede3f4
AM
8922006-06-05 Alan Modra <amodra@bigpond.net.au>
893
894 * ldexp.c (exp_get_abs_int): Make error message the same as
895 others emitted in this file.
896
8c61c153
AM
8972006-06-05 Alan Modra <amodra@bigpond.net.au>
898
899 * config.in: Regenerate.
900
87aa7f19
AM
9012006-06-05 Alan Modra <amodra@bigpond.net.au>
902
903 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
904
e13629bc
AM
9052006-06-03 Alan Modra <amodra@bigpond.net.au>
906
907 * emultempl/elf32.em (global_found): Make it a pointer.
908 (stat_needed, try_needed): Adjust.
909 (check_needed): Don't skip non-loaded as-needed entries. Only
910 consider entries with both filename and the_bfd non-null.
911 (after_open): Try loading non-loaded as-needed libs to satisfy
912 DT_NEEDED libs.
913
e10fad12
JM
9142006-06-02 Joseph S. Myers <joseph@codesourcery.com>
915
916 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
917 * Makefile.in: Regenerate.
918
20e95c23
DJ
9192006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
920
921 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
922 and LIBINTL_DEP everywhere.
923 (INTLLIBS): Remove.
924 (INCLUDES): Use @INCINTL@.
925 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
926 Remove local code for po/Makefile.
927 * Makefile.in, configure: Regenerated.
928
24718e3b
L
9292006-05-30 H.J. Lu <hongjiu.lu@intel.com>
930
931 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
932 "CONSTANT (MAXPAGESIZE)".
933 * emulparams/armelf_nbsd.sh: Likewise.
934 * emulparams/armelf_vxworks.sh: Likewise.
935 * emulparams/armnto.sh: Likewise.
936 * emulparams/armsymbian.sh: Likewise.
937 * emulparams/crislinux.sh: Likewise.
938 * emulparams/elf32_i860.sh: Likewise.
939 * emulparams/elf32_i960.sh: Likewise.
940 * emulparams/elf32am33lin.sh: Likewise.
941 * emulparams/elf32bfinfd.sh: Likewise.
942 * emulparams/elf32bmipn32-defs.sh: Likewise.
943 * emulparams/elf32frvfd.sh: Likewise.
944 * emulparams/elf32i370.sh: Likewise.
945 * emulparams/elf32lppcnto.sh: Likewise.
946 * emulparams/elf32mcore.sh: Likewise.
947 * emulparams/elf32openrisc.sh: Likewise.
948 * emulparams/elf32ppcnto.sh: Likewise.
949 * emulparams/elf32ppcwindiss.sh: Likewise.
950 * emulparams/elf32vax.sh: Likewise.
951 * emulparams/elf32xc16x.sh: Likewise.
952 * emulparams/elf32xc16xl.sh: Likewise.
953 * emulparams/elf32xc16xs.sh: Likewise.
954 * emulparams/elf64_aix.sh: Likewise.
955 * emulparams/elf64hppa.sh: Likewise.
956 * emulparams/elf64mmix.sh: Likewise.
957 * emulparams/elf_i386_be.sh: Likewise.
958 * emulparams/elf_i386_chaos.sh: Likewise.
959 * emulparams/elf_i386_ldso.sh: Likewise.
960 * emulparams/hppa64linux.sh: Likewise.
961 * emulparams/hppalinux.sh: Likewise.
962 * emulparams/hppaobsd.sh: Likewise.
963 * emulparams/i386lynx.sh: Likewise.
964 * emulparams/i386moss.sh: Likewise.
965 * emulparams/i386nto.sh: Likewise.
966 * emulparams/i386nw.sh: Likewise.
967 * emulparams/m32relf_linux.sh: Likewise.
968 * emulparams/m68kpsos.sh: Likewise.
969 * emulparams/or32elf.sh: Likewise.
970 * emulparams/pjelf.sh: Likewise.
971 * emulparams/pjlelf.sh: Likewise.
972 * emulparams/ppclynx.sh: Likewise.
973 * emulparams/ppcnw.sh: Likewise.
974 * emulparams/shelf32_nbsd.sh : Likewise.
975 * emulparams/shelf_nbsd.sh: Likewise.
976 * emulparams/shelf_nto.sh: Likewise.
977 * emulparams/shlelf_nto.sh: Likewise.
978 * emulparams/xtensa-config.sh: Likewise.
979
980 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
981 "CONSTANT (MAXPAGESIZE)".
982 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
983 * emulparams/elf32_sparc.sh: Likewise.
984 * emulparams/elf32bmip.sh: Likewise.
985 * emulparams/elf32ppccommon.sh: Likewise.
986 * emulparams/elf64_ia64.sh: Likewise.
987 * emulparams/elf64_s390.sh: Likewise.
988 * emulparams/elf64_sparc.sh: Likewise.
989 * emulparams/elf64alpha.sh: Likewise.
990 * emulparams/elf64ppc.sh: Likewise.
991 * emulparams/elf_i386.sh: Likewise.
992 * emulparams/elf_i386_vxworks.sh: Likewise.
993 * emulparams/elf_s390.sh: Likewise.
994 * emulparams/elf_x86_64.sh: Likewise.
995 * emulparams/shlelf32_linux.sh: Likewise.
996 * emulparams/shlelf_linux.sh: Likewise.
997
998 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
999 "CONSTANT (COMMONPAGESIZE)".
1000 * emulparams/elf32btsmipn32.sh: Likewise.
1001
1002 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
1003 "-z max-page-size=" and "-z common-page-size=".
1004 (gld${EMULATION_NAME}_list_options): Likewise.
1005
1006 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
1007
1008 * ld.texinfo: Document "-z max-page-size=" and
1009 "-z common-page-size=".
1010
1011 * ldexp.c (exp_print_token): Handle CONSTANT.
1012 (fold_name): Likewise.
1013 * ldgram.y: Likewise.
1014 * ldlex.l: Likewise.
1015
1016 * ldmain.c (main): Initiliaze config.maxpagesize and
1017 config.commonpagesize. Call bfd_emul_set_maxpagesize if
1018 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
1019 config.commonpagesize config.maxpagesize isn't 0.
1020
eebf07fb
NC
10212006-05-30 Nick Clifton <nickc@redhat.com>
1022
1023 * po/es.po: Updated Spanish translation.
1024
f7661549
L
10252006-05-25 H.J. Lu <hongjiu.lu@intel.com>
1026
1027 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
1028
314e9a4e
L
10292006-05-24 H.J. Lu <hongjiu.lu@intel.com>
1030
1031 PR ld/1485
1032 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
1033 bfd. Support 64bit host for --enable-targets=all.
1034 * configure: Regenerated.
1035
4a4d496a
NC
10362006-05-24 Nick Clifton <nickc@redhat.com>
1037
1038 * po/vi.po: Updated Vietnamese translation.
1039
19163ab3 10402006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
28c9d252
NC
1041
1042 * configure.tgt: Add avr6 to emulation list.
1043 * Makefile.am: Add eavr6.o and corresponding rule.
1044 * Makefile.in: Regenerate.
1045 * emulparams/avr6.sh: New file.
1046 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
1047 for target option support.
1048 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
19163ab3 1049 * scripttempl/avr.sc: Add ".trampolines" section.
28c9d252
NC
1050 * emultempl/avrelf.em: Add new file for target specific options.
1051
b7309ada
NC
10522006-05-22 Nick Clifton <nickc@redhat.com>
1053
1054 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
1055
f0636a44
AM
10562006-05-19 Alan Modra <amodra@bigpond.net.au>
1057
1058 * ldlang.c (lang_size_sections_1): Don't check mem regions for
1059 os->ignored sections.
1060
f86a8756
DJ
10612005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1062
1063 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
1064 before redoing one_lang_size_sections_pass.
1065
370b66a1
CD
10662006-05-11 Carlos O'Donell <carlos@codesourcery.com>
1067
19163ab3 1068 * ld.texinfo: Rename "Index" to "LD Index"
370b66a1 1069
53baae48
NC
10702006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
1071
1072 * pe-dll.c (autofilter_symbollist): Add Dllmain,
1073 DllMainCRTStartup, _DllMainCRTStartup and .text.
1074 (autofilter_liblist): Add libcegcc.
1075 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
1076 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
1077 they can still contain relocs that need processing.
1078 Skip the .idata$6 section.
1079 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
1080 (make_one): Use the new array.
1081 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
1082 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
1083
2a60a7a8
AM
10842006-05-05 Alan Modra <amodra@bigpond.net.au>
1085
1086 * ld.texinfo: Document PowerPC and PowerPC64 options.
1087 * gen-doc.texi: Enable.
1088
38fc1cb1
DJ
10892006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1090
1091 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
1092 (TEXI2POD): Use AM_MAKEINFOFLAGS.
1093 (configdoc.texi): Don't set top_srcdir.
1094 * ld.texinfo: Don't use top_srcdir.
1095 * aclocal.m4, Makefile.in: Regenerated.
1096
241a6c40
AM
10972006-04-19 Alan Modra <amodra@bigpond.net.au>
1098
abe6ac95
AM
1099 * ldlang.c (wild): Tidy default_common_section loop.
1100 (print_input_section): Format.
1101
241a6c40
AM
1102 * configure: Regenerate.
1103
e7403566
DJ
11042006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1105
1106 * po/POTFILES.in: Regenerated.
1107
b030a24e
DJ
11082006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1109
1110 * config.in: Regenerated.
1111
a255b6c7
BW
11122006-04-14 David Heine <dlheine@tensilica.com>
1113 Bob Wilson <bob.wilson@acm.org>
1114
1115 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
1116 function to strip inconsistent linkonce sections.
1117 (input_section_linked_worker, input_section_linked): New.
1118 (is_inconsistent_linkonce_section): New.
1119 (xtensa_strip_inconsistent_linkonce_sections): New.
1120