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