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