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