bfd/
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2006-10-30 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/3111
4 * ld.h (args_type): Remove reduce_memory_overheads.
5
6 * ldlang.c (lang_map): Updated.
7 (section_already_linked): Likewise.
8 (print_input_section): Likewise.
9 * ldmain.c (main): Likewise.
10 * lexsup.c (parse_args): Likewise.
11
12 2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
13
14 * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
15
16 2006-10-27 Alan Modra <amodra@bigpond.net.au>
17
18 * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
19 sections have been discarded.
20 (lang_do_version_exports_section): Set SEC_KEEP on export section.
21 * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
22 sections.
23
24 2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
25 Mark Mitchell <mark@codesourcery.com>
26
27 * configure.tgt (arm*linux*): Support both big- and little-endian.
28
29 2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
30
31 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
32 (OTHER_BSS_SECTIONS): This.
33 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
34 (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
35
36 2006-10-25 Alan Modra <amodra@bigpond.net.au>
37 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
38 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
39 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
40 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
41
42 * emulparams/elf32_spu.sh: New file.
43 * emultempl/spu_inc.s: New file.
44 * emultempl/spu_ovl.S: New file.
45 * emultempl/spu_ovl.o: New file.
46 * emultempl/spuelf.em: New file.
47 * Makefile.am: Add SPU support.
48 * configure.tgt: Likewise.
49 * ldlang.c (load_symbols): Make global.
50 * ldlang.h (load_symbols): Declare.
51 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
52 * Makefile.in: Regenerate.
53
54 2006-10-24 Ben Elliston <bje@au.ibm.com>
55
56 * lexsup.c (parse_args): Add a comment noting a fall-through.
57
58 2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
59
60 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
61 * configure: Regenerated.
62 * config.in: Likewise.
63
64 2006-10-23 Alan Modra <amodra@bigpond.net.au>
65
66 * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
67 set section address on a relocatable link.
68
69 * ld.texinfo (Output Section Discarding): Fix xref.
70
71 2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
72
73 * emulparams/shelf32.sh: Set default stack to 0x80000.
74 * emulparams/shelf64.sh: Likewise.
75
76 2006-10-20 Richard Sandiford <richard@codesourcery.com>
77
78 * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
79 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
80
81 2006-10-19 Alan Modra <amodra@bigpond.net.au>
82
83 * emultempl/armelf.em (arm_elf_before_allocation): Run
84 gld${EMULATION_NAME}_before_allocation later.
85 * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
86
87 2006-10-18 Roy Marples <uberlord@gentoo.org>
88
89 * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
90 elf64-sparc-freebsd.
91
92 2006-10-18 Joseph Myers <joseph@codesourcery.com>
93
94 * configure.tgt (i[3-7]86-*-linux-*): Also define
95 targ_extra_libpath in want64 case.
96 * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
97 x86_64*-linux*.
98
99 2006-10-17 Alan Modra <amodra@bigpond.net.au>
100
101 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
102 (INITIAL_READONLY_SECTIONS): ..here.
103 * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
104 * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
105 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
106
107 2006-10-17 Alan Modra <amodra@bigpond.net.au>
108
109 * ldlang.c (strip_excluded_output_sections): Do strip sections
110 that define syms, but don't ignore them.
111 * ld.texinfo (Output Section Discarding): Revise.
112 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
113 finish_default.
114
115 2006-10-16 Richard Sandiford <richard@codesourcery.com>
116
117 * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
118 (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
119 * Makefile.in: Regenerate.
120 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
121 .reginfo rather than .MIPS.options.
122 * emulparams/elf64bmip-defs.sh: New file.
123 * emulparams/elf64bmip.sh: Include it.
124 (COMMONPAGESIZE): Delete.
125 * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
126
127 2006-10-12 Bob Wilson <bob.wilson@acm.org>
128
129 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
130 for linkonce XCC exception tables (".e" and ".h").
131
132 2006-10-11 Bob Wilson <bob.wilson@acm.org>
133
134 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
135 (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
136 (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
137 (OTHER_SDATA_SECTIONS): New.
138 * scripttempl/elfxtensa.sc: Import changes from elf.sc.
139
140 2006-10-11 Jakub Jelinek <jakub@redhat.com>
141
142 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
143 of the dynamic list rather than just the first entry.
144
145 2006-10-10 Bob Wilson <bob.wilson@acm.org>
146
147 * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
148
149 2006-10-06 Mike Frysinger <vapier@gentoo.org>
150
151 * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
152
153 2006-10-04 Bob Wilson <bob.wilson@acm.org>
154
155 * emulparams/xtensa-config.sh: Delete file.
156 * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
157 xtensa-config.sh.
158 * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
159 * Makefile.in: Regenerate.
160
161 2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
162
163 * pe-dll.c : Fix typo.
164 (autofilter_symbolprefixlist) : Remove __imp_.
165 (is_import) : New.
166 (auto-export) : Remove re-import check. Moved to callers.
167 (process_def_file) : Check is symbol is an import. Always
168 underscore __imp_.
169 Only skip underscore on underscored targets.
170 (make_one) : Always underscore __imp_.
171 (pe_create_runtime_relocator_reference) : Only underscore
172 _pei386_runtime_relocator on underscored targets.
173 (pe_process_import_defs) : Always underscore __imp_.
174 * pe.em (U) : New macro.
175 (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
176 on wince subsystem case.
177 (pe_find_data_imports) : Use U on "_head_".
178 (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
179
180 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
181
182 PR ld/3223
183 PR ld/3267
184 * ld.texinfo: Updated Output Section Discarding.
185
186 * ldlang.h (lang_output_section_statement_type): Add
187 section_relative_symbol.
188 * ldlang.c (strip_excluded_output_sections): Don't strip a
189 section with a symbol relative to it.
190 (lang_size_sections_1): Mark if an output section has a symbol
191 symbol relative to it.
192
193 2006-09-25 Bob Wilson <bob.wilson@acm.org>
194
195 * ld.texinfo (Options): Update description of local symbols for -X.
196
197 2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
198
199 PR ld/3249
200 * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
201 and .gnu.linkonce.wi.* sections with .data and .debug_info for
202 relocatable link.
203
204 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
205
206 * configure.in: Add new target x86_64-pc-mingw64.
207 * configure: Regenerate.
208 * configure.tgt: Add definition of target emulation i386pep.
209 * Makefile.am: Add new target files for target-all.
210 * Makefile.in: Regenerate.
211 * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
212 Fix memory out of bounds excess for idata relocation section data.
213 * pep-dll.c: Add target specific shared object handling.
214 * pep-dll.h: Add target specific definitions for shared object handling.
215 * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
216 * emultempl/pep.em: Add new emulation file for target x86_64 coff.
217 * po/POTFILES.in: Regenerate.
218 * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
219 * NEWS: Mention new target.
220
221 2006-09-18 Thiemo Seufer <ths@networkno.de>
222
223 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
224 configurations.
225
226 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
227
228 * emulparams/scoreelf.sh: New file.
229 * emultempl/scoreelf.em: New file.
230 * Makefile.am: Add Score files.
231 * Makefile.in: Regenerate.
232 * configure.tgt: Add Score target.
233 * NEWS: Mention new target support.
234
235 2006-09-16 Nick Clifton <nickc@redhat.com>
236 Pedro Alves <pedro_alves@portugalmail.pt>
237
238 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
239 macros defined in bfd.h.
240 * ldmain.c: Likewise.
241 * ldwrite.c: Likewise.
242 * lexsup.c: Likewise.
243 * pe-dll.c: Likewise.
244 * emultempl/aix.em: Likewise.
245 * emultempl/beos.em: Likewise.
246 * emultempl/elf32.em: Likewise.
247 * emultempl/pe.em: Likewise.
248 * emultempl/sunos.em: Likewise.
249 * emultempl/xtensaelf.em: Likewise.
250
251 2006-09-15 Nick Clifton <nickc@redhat.com>
252
253 PR ld/3107
254 * ldlang.c (lang_size_sections_1): Do not abort when encountering
255 a non-empty section that is ignored. Instead produce a warning
256 message.
257
258 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
259
260 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
261
262 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
263
264 * Makefile.am (CXX): Set to g++.
265 (CXX_FOR_TARGET): Likewise.
266 * Makefile.in: Regenerated.
267
268 * NEWS: Mention --dynamic-list.
269
270 * ld.texinfo: Document --dynamic-list.
271
272 * ldgram.y: Support dynamic list.
273
274 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
275 on link_info.dynamic if needed.
276 (lang_append_dynamic_list): New.
277 (lang_append_dynamic_list_cpp_typeinfo): New.
278 * ldlang.h (lang_append_dynamic_list): Likewise.
279 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
280
281 * ldlex.h (input_enum): Add input_dynamic_list.
282 * ldlex.l: Handle it.
283
284 * ldmain.c (main): Initialize link_info.dynamic.
285
286 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
287 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
288 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
289 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
290 (parse_args): Handle OPTION_DYNAMIC_LIST and
291 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
292
293 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
294
295 * emulparams/h8300elf.sh: _tinydata should not be placed in
296 relocatables.
297 * emulparams/h8300.sh: Likewise.
298 * emulparams/h8300sxelf.sh: Likewise.
299
300 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
301
302 PR ld/3015
303 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
304 is defined.
305
306 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
307
308 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
309
310 2006-08-28 Alan Modra <amodra@bigpond.net.au>
311
312 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
313 not match random object files in a path containing "crtbegin" or
314 "crtend" as part of a directory name.
315 * scripttempl/armbpabi.sc: Likewise.
316 * scripttempl/crisaout.sc: Likewise.
317 * scripttempl/elf32crx.sc: Likewise.
318 * scripttempl/elf32sh-symbian.sc: Likewise.
319 * scripttempl/elf_chaos.sc: Likewise.
320 * scripttempl/elfd10v.sc: Likewise.
321 * scripttempl/elfd30v.sc: Likewise.
322 * scripttempl/elfxtensa.sc: Likewise.
323 * scripttempl/iq2000.sc: Likewise.
324 * scripttempl/mmo.sc: Likewise.
325 * scripttempl/xstormy16.sc: Likewise.
326
327 2006-08-24 Bob Wilson <bob.wilson@acm.org>
328
329 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
330 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
331
332 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
333
334 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
335 Adjust the current address of DEFAULT_MEMORY_REGION even
336 when dot hasn't changed.
337
338 2006-08-23 Alan Modra <amodra@bigpond.net.au>
339
340 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
341 rather than a section relative value.
342
343 2006-08-22 Alan Modra <amodra@bigpond.net.au>
344
345 * NEWS: Mention LMA default change.
346 * ld.texinfo (Output Section LMA): Update default description.
347 (Location Counter): Clarify backward movement.
348 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
349 default lma equal to vma. Warn on backward movement of dot.
350
351 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
352
353 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
354 Windows CE targets.
355
356 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
357
358 * Makefile.am: Split arm-wince into its own emulation.
359 * Makefile.in: Regenerate.
360 * pe-dll.c : Define PE_ARCH_arm_wince.
361 (pe_detail_list): Add PE_ARCH_arm_wince case.
362 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
363 * emulparams/arm_wince_pe.sh: New file.
364 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
365 Remap bfd_arm_allocate_interworking_sections,
366 bfd_arm_get_bfd_for_interworking and
367 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
368 targets too.
369 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
370 arm-epoc bfd format names.
371
372 2006-08-18 Paul Brook <paul@codesourcery.com>
373
374 * emultempl/armelf.em (arm_elf_before_allocation): Call
375 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
376
377 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
378
379 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
380 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
381 and to not skipping .idata* sections.
382
383 2006-08-16 Alan Modra <amodra@bigpond.net.au>
384
385 PR 3052
386 * ldlang.h (lang_output_section_statement_type): Replace
387 "processed" field with "processed_vma" and "processed_lma".
388 * ldlang.c (lang_do_assignments_1): Move lma setting code..
389 (lang_size_sections_1): ..to here.
390 (lang_reset_memory_regions): Adjust for
391 lang_output_section_statement_type change.
392 * ldexp.c (fold_name): Likewise.
393
394 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
395
396 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
397 "CONSTANT (MAXPAGESIZE)".
398
399 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
400
401 PR ld/3006
402 * ldlang.c (lang_section_bst_type): Moved to ...
403 * ldlang.h: Here.
404
405 * ldlang.h (lang_wild_statement_struct): Add a tree field.
406
407 * ldlang.c (wild_sort_fast): Use the tree field for BST.
408 (wild): Likeise.
409 (analyze_walk_wild_section_handler): Initialize the tree field.
410
411 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
412
413 PR ld/3009
414 * ldlang.c (update_wild_statements): Update the whole wild
415 section list.
416
417 2006-08-04 Nick Clifton <nickc@redhat.com>
418 Mike Frysinger <michael.frysinger@analog.com>
419
420 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
421 (__preinit_array_start, __preinit_array_end, __init_array_start,
422 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
423 Use ${USER_LABEL_PREFIX}.
424 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
425 (USER_LABEL_PREFIX): Set.
426
427 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
428
429 * ldmain.c (main): Initialise print_gc_sections field of link_info
430 structure.
431 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
432 switches.
433 * ld.texinfo: Document new switches.
434 * NEWS: Mention new switches.
435
436 2006-08-04 Richard Sandiford <richard@codesourcery.com>
437 Kazu Hirata <kazu@codesourcery.com>
438 Phil Edwards <phil@codesourcery.com>
439
440 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
441 eshlelf_vxworks.o.
442 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
443 * Makefile.in: Regenerate.
444 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
445 shlelf_vxworks.
446 * emulparams/shelf_vxworks.sh: New file.
447 * emulparams/shlelf_vxworks.sh: Likewise.
448 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
449 (OTHER_END_SYMBOLS): Likewise _ehdr.
450 (DATA_END_SYMBOLS): Likewise _edata.
451 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
452 is indeed an ELF file before dealing with --force-dynamic.
453
454 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
455
456 PR binutils/2983
457 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
458 elf64-x86-64-freebsd.
459
460 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
461
462 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
463 bfd_make_section_with_flags.
464 (exp_init_os): Updated.
465 (lang_add_section): Call init_os with flags.
466 (map_input_to_output_sections): Likewise.
467
468 2006-07-29 Richard Sandiford <richard@codesourcery.com>
469
470 * Makefile.am (eelf32b4300.c): Update dependencies.
471 (eelf32bmip.c): Likewise.
472 (eelf32bsmip.c): Likewise.
473 (eelf32btsmip.c): Likewise.
474 (eelf32btsmipn32.c): Likewise.
475 (eelf32ltsmip.c): Likewise.
476 (eelf32ltsmipn32.c): Likewise.
477 (eelf32ebmip.c): Likewise.
478 (eelf32ebmipvxworks.c): Likewise.
479 (eelf32elmip.c): Likewise.
480 (eelf32elmipvxworks.c): Likewise.
481 (eelf32bmipn32.c): Likewise.
482 (eelf32lmip.c): Likewise.
483 (eelf32mipswindiss.c): Likewise.
484 (eelf32lsmip.c): Likewise.
485 (eelf64bmip.c): Likewise.
486 (eelf64btsmip.c): Likewise.
487 (eelf64ltsmip.c): Likewise.
488 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
489 (emipsbsd.c): Likewise.
490 (emipsidt.c): Update dependencies.
491 (emipsidtl.c): Likewise.
492 (emipslit.c): Likewise.
493 (emipslnews.c): Likewise.
494 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
495 * Makefile.in: Regenerate.
496 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
497 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
498 * emultempl/irix.em: Include emultempl/mipself.em.
499 * emultempl/mipself.em: New file.
500
501 2006-07-26 Alan Modra <amodra@bigpond.net.au>
502
503 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
504 layout happens before segment map. Don't do segment map on
505 relocatable link.
506
507 2006-07-26 Alan Modra <amodra@bigpond.net.au>
508
509 * ldexp.c (fold_name <LOADADDR>): Use the lma.
510 * ldlang.h (lang_memory_region_type): Delete old_length. Add
511 last_os.
512 * ldlang.c (lang_memory_region_lookup): Init new field.
513 (lang_reset_memory_regions): Reset new field.
514 (lang_insert_orphan): Don't set load_base.
515 (lang_leave_overlay): Likewise.
516 (lang_size_sections_1): Delete unnecessary code setting lma_region
517 to region. Correct lma region check.
518 (lang_do_assignments_1): Rename output_section_statement parm
519 to current_os. Set lma from previous section in region.
520
521 * ldlang.c: Formatting.
522
523 2006-07-25 Bob Wilson <bob.wilson@acm.org>
524
525 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
526 Set discarded section's output_section to bfd_abs_section_ptr.
527
528 2006-07-26 Alan Modra <amodra@bigpond.net.au>
529
530 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
531 earlier.
532
533 2006-07-24 Bob Wilson <bob.wilson@acm.org>
534
535 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
536 in dep_sec_name for null terminator. Make sure dep_sec_name has a
537 ".t" linkonce tag.
538
539 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
540
541 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
542 Set for *-*-solaris2*.
543
544 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
545
546 * ld.texinfo: Fix spelling mistakes.
547 * ldint.texinfo: Likewise.
548
549 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
550
551 * ldlang.c (lang_section_bst): New structure for sorting sections
552 by name.
553 (wild_sort_fast): New function: Insert a section into a binary
554 search tree.
555 (output_section_callback_fast): New function: Store a section in
556 BST.
557 (output_section_callback_tree_to_list): New function: Convert a
558 BST into a list.
559 (analyze_walk_wild_section_handler): Initialize handler_data
560 elements.
561 (wild): If the data is sorted by name use the BST method to sort
562 the names.
563
564 2006-07-19 Alan Modra <amodra@bigpond.net.au>
565
566 * ld.h (handle_asneeded_cref): Declare.
567 * ldcref.c: Include objalloc.h.
568 (old_table, old_count, old_tab, alloc_mark): New variables.
569 (tabsize, entsize, refsize, old_symcount): Likewise.
570 (add_cref): Use bfd_hash_allocate for refs.
571 (handle_asneeded_cref): New function.
572 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
573
574 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
575
576 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
577 typo setting targ_extra_libpath.
578
579 2006-07-10 Jakub Jelinek <jakub@redhat.com>
580
581 * scripttempl/elf.sc: Add .gnu.hash section.
582 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
583 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
584 (gld${EMULATION_NAME}_handle_option): Handle it.
585 (gld${EMULATION_NAME}_list_options): Document it.
586 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
587 * ld.texinfo: Document --hash-style option.
588
589 2006-07-10 Nick Clifton <nickc@redhat.com>
590
591 * po/zh_TW.po: New Chinese (traditional) translation.
592 * configure.in (ALL_LINGUAS): Add zh_TW.
593 * configure: Regenerate.
594
595 2006-07-07 Nick Clifton <nickc@redhat.com>
596
597 PR ld/2874
598 * ld.texinfo: Remove "Using LD" from the title since it is
599 redundant.
600
601 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
602
603 PR ld/2877
604 * ld.texinfo: Fix spelling mistakes.
605
606 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
607 Nick Clifton <nickc@redhat.com>
608
609 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
610 length of format strings in the libname_fmt[] array, rather than
611 relying upon a statically chosen value. Adjust xmalloc call to
612 use this longest length.
613
614 2006-06-27 Nick Clifton <nickc@redhat.com>
615
616 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
617 -rpath-link.
618
619 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
620
621 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
622 targ_extra_libpath.
623
624 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
625
626 * pe-dll.c (pe_details_type): Add new pointer for symbols list
627 autofilter.
628 (autofilter_symbollist): Split into autofilter_symbollist_generic
629 and autofilter_symbollist_i386.
630 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
631 autofilter_symbollist_generic for all the others.
632 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
633 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
634 into autofilter_symbollist_i386.
635 (auto_export): Get autofilter_symbollist from pe_details.
636
637 2006-06-22 Nick Clifton <nickc@redhat.com>
638
639 PR ld/2757
640 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
641 output files mention the file name and the fact that it is an
642 output file.
643
644 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
645
646 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
647 Restructure. Add native "%s.lib" format to search list
648 * ld.texinfo (node WIN32): Update documentation on dynamic lib
649 search order. Add another reason for using import libs.
650
651 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
652
653 * ldlang.c (lang_insert_orphan): Correctly handle the case where
654 the section is to end up after the section currently at the end
655 of the list in output_bfd.
656
657 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
658
659 * emultempl/mmo.em: Improve comments. Explain why there's
660 ELF-stuff here.
661
662 2006-06-21 Alan Modra <amodra@bigpond.net.au>
663
664 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
665 loop to ten iterations. Throw away any previous linker generated
666 segment map.
667 * ldlang.c (lang_phdr_list): Make global.
668 * ldlang.h (lang_phdr_list): Declare.
669 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
670 * Makefile.in: Regenerate.
671
672 2006-06-20 Alan Modra <amodra@bigpond.net.au>
673
674 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
675 many ELF emul file deps that incorrectly said they needed elf32.em
676 instead of generic.em. Add genelf.em as required.
677 * Makefile.in: Regenerate.
678 * ldlang.c (lang_process): Call ldemul_finish before
679 lang_check_section_addresses.
680 * emulparams/arcelf.sh: Generic elf target needs genelf.
681 * emulparams/d30v_e.sh: Likewise.
682 * emulparams/d30v_o.sh: Likewise.
683 * emulparams/d30velf.sh: Likewise.
684 * emulparams/elf32_dlx.sh: Likewise.
685 * emulparams/elf32_i860.sh: Likewise.
686 * emulparams/elf32fr30.sh: Likewise.
687 * emulparams/elf32frv.sh: Likewise.
688 * emulparams/elf32iq10.sh: Likewise.
689 * emulparams/elf32iq2000.sh: Likewise.
690 * emulparams/elf32mt.sh: Likewise.
691 * emulparams/mn10200.sh: Likewise.
692 * emulparams/or32.sh: Likewise.
693 * emulparams/or32elf.sh: Likewise.
694 * emulparams/pjelf.sh: Likewise.
695 * emulparams/msp430all.sh: Likewise. Extract common entries.
696 * emulparams/pjlelf.sh: Include pjelf.sh.
697 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
698 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
699 * emultempl/elf-generic.em: New file.
700 * emultempl/genelf.em: New file.
701 * emultempl/elf32.em: Include elf-generic.em.
702 (gld${EMULATION_NAME}_layout_sections_again): Delete.
703 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
704 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
705 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
706 gld${EMULATION_NAME}_map_segments.
707 (LDEMUL_FINISH): Update.
708 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
709 source elf-generic.em.
710 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
711 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
712 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
713 gld${EMULATION_NAME}_map_segments.
714 (LDEMUL_FINISH): Update.
715
716 2006-06-19 Alan Modra <amodra@bigpond.net.au>
717
718 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
719
720 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
721
722 * ld.texinfo: Document new -z lazy option.
723 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
724 new option.
725 (gld${EMULATION_NAME}_list_options): Update help text.
726
727 2006-06-12 Fred Fish <fnf@specifix.com>
728
729 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
730 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
731 generated by mips gcc.
732
733 2006-06-12 Thiemo Seufer <ths@mips.com>
734
735 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
736 Define.
737
738 2006-06-09 Alan Modra <amodra@bigpond.net.au>
739
740 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
741 * ldlang.c (struct out_section_hash_entry): Rename from
742 output_statement_hash_entry. Delete output_section_statement_type
743 entry. Add statement_union_type entry. Adjust all users.
744 (output_section_statement_table): Rename from output_statement_table.
745 Adjust all users.
746 (output_section_statement_newfunc): Rename from
747 output_statement_newfunc. Adjust all users.
748 (output_section_statement_table_init): Rename from
749 output_statement_table_init. Adjust all users.
750 (output_section_statement_table_free): Rename from
751 output_statement_table_free. Adjust all users.
752
753 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
754
755 * po/Make-in (pdf, ps): New dummy targets.
756
757 2006-06-07 Alan Modra <amodra@bigpond.net.au>
758
759 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
760 info_section and overlay_section. Add noalloc_section.
761 * ldlang.c (lang_add_section): Adjust.
762 * ldgram.y (type): Adjust.
763
764 2006-06-06 Alan Modra <amodra@bigpond.net.au>
765
766 * ldlang.c (init_os): Whitespace.
767 (map_input_to_output_sections): Don't init_os for lang_input_section.
768 (print_all_symbols): Remove forward declaration. Convert to ISO C.
769
770 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
771
772 * po/Make-in (top_builddir): Define.
773
774 2006-06-05 Alan Modra <amodra@bigpond.net.au>
775
776 * ldexp.c (exp_get_abs_int): Make error message the same as
777 others emitted in this file.
778
779 2006-06-05 Alan Modra <amodra@bigpond.net.au>
780
781 * config.in: Regenerate.
782
783 2006-06-05 Alan Modra <amodra@bigpond.net.au>
784
785 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
786
787 2006-06-03 Alan Modra <amodra@bigpond.net.au>
788
789 * emultempl/elf32.em (global_found): Make it a pointer.
790 (stat_needed, try_needed): Adjust.
791 (check_needed): Don't skip non-loaded as-needed entries. Only
792 consider entries with both filename and the_bfd non-null.
793 (after_open): Try loading non-loaded as-needed libs to satisfy
794 DT_NEEDED libs.
795
796 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
797
798 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
799 * Makefile.in: Regenerate.
800
801 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
802
803 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
804 and LIBINTL_DEP everywhere.
805 (INTLLIBS): Remove.
806 (INCLUDES): Use @INCINTL@.
807 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
808 Remove local code for po/Makefile.
809 * Makefile.in, configure: Regenerated.
810
811 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
812
813 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
814 "CONSTANT (MAXPAGESIZE)".
815 * emulparams/armelf_nbsd.sh: Likewise.
816 * emulparams/armelf_vxworks.sh: Likewise.
817 * emulparams/armnto.sh: Likewise.
818 * emulparams/armsymbian.sh: Likewise.
819 * emulparams/crislinux.sh: Likewise.
820 * emulparams/elf32_i860.sh: Likewise.
821 * emulparams/elf32_i960.sh: Likewise.
822 * emulparams/elf32am33lin.sh: Likewise.
823 * emulparams/elf32bfinfd.sh: Likewise.
824 * emulparams/elf32bmipn32-defs.sh: Likewise.
825 * emulparams/elf32frvfd.sh: Likewise.
826 * emulparams/elf32i370.sh: Likewise.
827 * emulparams/elf32lppcnto.sh: Likewise.
828 * emulparams/elf32mcore.sh: Likewise.
829 * emulparams/elf32openrisc.sh: Likewise.
830 * emulparams/elf32ppcnto.sh: Likewise.
831 * emulparams/elf32ppcwindiss.sh: Likewise.
832 * emulparams/elf32vax.sh: Likewise.
833 * emulparams/elf32xc16x.sh: Likewise.
834 * emulparams/elf32xc16xl.sh: Likewise.
835 * emulparams/elf32xc16xs.sh: Likewise.
836 * emulparams/elf64_aix.sh: Likewise.
837 * emulparams/elf64hppa.sh: Likewise.
838 * emulparams/elf64mmix.sh: Likewise.
839 * emulparams/elf_i386_be.sh: Likewise.
840 * emulparams/elf_i386_chaos.sh: Likewise.
841 * emulparams/elf_i386_ldso.sh: Likewise.
842 * emulparams/hppa64linux.sh: Likewise.
843 * emulparams/hppalinux.sh: Likewise.
844 * emulparams/hppaobsd.sh: Likewise.
845 * emulparams/i386lynx.sh: Likewise.
846 * emulparams/i386moss.sh: Likewise.
847 * emulparams/i386nto.sh: Likewise.
848 * emulparams/i386nw.sh: Likewise.
849 * emulparams/m32relf_linux.sh: Likewise.
850 * emulparams/m68kpsos.sh: Likewise.
851 * emulparams/or32elf.sh: Likewise.
852 * emulparams/pjelf.sh: Likewise.
853 * emulparams/pjlelf.sh: Likewise.
854 * emulparams/ppclynx.sh: Likewise.
855 * emulparams/ppcnw.sh: Likewise.
856 * emulparams/shelf32_nbsd.sh : Likewise.
857 * emulparams/shelf_nbsd.sh: Likewise.
858 * emulparams/shelf_nto.sh: Likewise.
859 * emulparams/shlelf_nto.sh: Likewise.
860 * emulparams/xtensa-config.sh: Likewise.
861
862 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
863 "CONSTANT (MAXPAGESIZE)".
864 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
865 * emulparams/elf32_sparc.sh: Likewise.
866 * emulparams/elf32bmip.sh: Likewise.
867 * emulparams/elf32ppccommon.sh: Likewise.
868 * emulparams/elf64_ia64.sh: Likewise.
869 * emulparams/elf64_s390.sh: Likewise.
870 * emulparams/elf64_sparc.sh: Likewise.
871 * emulparams/elf64alpha.sh: Likewise.
872 * emulparams/elf64ppc.sh: Likewise.
873 * emulparams/elf_i386.sh: Likewise.
874 * emulparams/elf_i386_vxworks.sh: Likewise.
875 * emulparams/elf_s390.sh: Likewise.
876 * emulparams/elf_x86_64.sh: Likewise.
877 * emulparams/shlelf32_linux.sh: Likewise.
878 * emulparams/shlelf_linux.sh: Likewise.
879
880 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
881 "CONSTANT (COMMONPAGESIZE)".
882 * emulparams/elf32btsmipn32.sh: Likewise.
883
884 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
885 "-z max-page-size=" and "-z common-page-size=".
886 (gld${EMULATION_NAME}_list_options): Likewise.
887
888 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
889
890 * ld.texinfo: Document "-z max-page-size=" and
891 "-z common-page-size=".
892
893 * ldexp.c (exp_print_token): Handle CONSTANT.
894 (fold_name): Likewise.
895 * ldgram.y: Likewise.
896 * ldlex.l: Likewise.
897
898 * ldmain.c (main): Initiliaze config.maxpagesize and
899 config.commonpagesize. Call bfd_emul_set_maxpagesize if
900 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
901 config.commonpagesize config.maxpagesize isn't 0.
902
903 2006-05-30 Nick Clifton <nickc@redhat.com>
904
905 * po/es.po: Updated Spanish translation.
906
907 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
908
909 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
910
911 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
912
913 PR ld/1485
914 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
915 bfd. Support 64bit host for --enable-targets=all.
916 * configure: Regenerated.
917
918 2006-05-24 Nick Clifton <nickc@redhat.com>
919
920 * po/vi.po: Updated Vietnamese translation.
921
922 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
923
924 * configure.tgt: Add avr6 to emulation list.
925 * Makefile.am: Add eavr6.o and corresponding rule.
926 * Makefile.in: Regenerate.
927 * emulparams/avr6.sh: New file.
928 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
929 for target option support.
930 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
931 * scripttempl/avr.sc: Add ".trampolines" section.
932 * emultempl/avrelf.em: Add new file for target specific options.
933
934 2006-05-22 Nick Clifton <nickc@redhat.com>
935
936 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
937
938 2006-05-19 Alan Modra <amodra@bigpond.net.au>
939
940 * ldlang.c (lang_size_sections_1): Don't check mem regions for
941 os->ignored sections.
942
943 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
944
945 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
946 before redoing one_lang_size_sections_pass.
947
948 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
949
950 * ld.texinfo: Rename "Index" to "LD Index"
951
952 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
953
954 * pe-dll.c (autofilter_symbollist): Add Dllmain,
955 DllMainCRTStartup, _DllMainCRTStartup and .text.
956 (autofilter_liblist): Add libcegcc.
957 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
958 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
959 they can still contain relocs that need processing.
960 Skip the .idata$6 section.
961 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
962 (make_one): Use the new array.
963 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
964 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
965
966 2006-05-05 Alan Modra <amodra@bigpond.net.au>
967
968 * ld.texinfo: Document PowerPC and PowerPC64 options.
969 * gen-doc.texi: Enable.
970
971 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
972
973 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
974 (TEXI2POD): Use AM_MAKEINFOFLAGS.
975 (configdoc.texi): Don't set top_srcdir.
976 * ld.texinfo: Don't use top_srcdir.
977 * aclocal.m4, Makefile.in: Regenerated.
978
979 2006-04-19 Alan Modra <amodra@bigpond.net.au>
980
981 * ldlang.c (wild): Tidy default_common_section loop.
982 (print_input_section): Format.
983
984 * configure: Regenerate.
985
986 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
987
988 * po/POTFILES.in: Regenerated.
989
990 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
991
992 * config.in: Regenerated.
993
994 2006-04-14 David Heine <dlheine@tensilica.com>
995 Bob Wilson <bob.wilson@acm.org>
996
997 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
998 function to strip inconsistent linkonce sections.
999 (input_section_linked_worker, input_section_linked): New.
1000 (is_inconsistent_linkonce_section): New.
1001 (xtensa_strip_inconsistent_linkonce_sections): New.
1002
1003 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
1004
1005 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
1006 and Dragonfly targets.
1007 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
1008 * Makefile.am (HFILES): Add elf-hints-local.h.
1009 * elf-hints-local.h: New file.
1010 * Makefile.in: Regenerate.
1011 * configure: Regenerate.
1012
1013 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
1014
1015 * ld.texinfo: Fix typo in documentation of --check-sections.
1016
1017 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1018
1019 * ldlang.c (load_symbols): Set as_needed and add_needed according
1020 to the corresponding script's fields while processing it.
1021
1022 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
1023
1024 * Makefile.am: Add install-html, install-html-am, and
1025 install-html-recursive targets.
1026 * Makefile.in: Regenerate.
1027 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
1028 * configure: Regenerate.
1029 * po/Make-in: Add install-html target.
1030
1031 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
1032
1033 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
1034 link_info.need_relax_finalize.
1035
1036 * ldlang.c (relax_sections): New.
1037 (lang_process): Use. Call relax_sections link_info.relax_pass
1038 times.
1039
1040 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
1041 link_info.need_relax_finalize.
1042
1043 2006-04-05 Alan Modra <amodra@bigpond.net.au>
1044
1045 * Makefile.am (GENSCRIPTS): Pass prefix.
1046 * Makefile.in: Regenerate.
1047 * genscripts.sh: Adjust for extra parameter.
1048 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
1049 exists.
1050 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
1051 * NEWS: Update.
1052
1053 2006-04-05 Richard Sandiford <richard@codesourcery.com>
1054 Daniel Jacobowitz <dan@codesourcery.com>
1055
1056 * configure.tgt (sparc*-*-vxworks*): New stanza.
1057 * emulparams/elf32_sparc_vxworks.sh: New file.
1058 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
1059 (eelf32_sparc_vxworks.c): New rule.
1060 * Makefile.in: Regenerate.
1061
1062 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
1063
1064 * ldlang.c (lang_map): Print the list of discarded input sections.
1065 (print_input_section): Change parameter and print zero-sized sections.
1066 (print_statement): Adjust call to print_input_section.
1067
1068 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1069
1070 * deffilep.y (def_image_name): If LIBRARY or NAME statement
1071 specifies an empty string, retain the name specified on command
1072 line.
1073 * ld.texinfo: Document above.
1074
1075 2006-03-31 Jakub Jelinek <jakub@redhat.com>
1076
1077 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
1078 bfd_find_nearest_line succeeded for %C or %D, but filename
1079 is NULL, print section+offset at the end.
1080
1081 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
1082
1083 * emulparams/elf32bfinfd.sh: New file.
1084 * emultempl/bfin.em: Delete.
1085 * emulparams/bfin.sh: Lose reference to bfin.em.
1086 * Makefile.am (eelf32bfin.c): Likewise.
1087 (eelf32bfinfd.c): New.
1088 * Makefile.in: Regenerate.
1089 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
1090 targ_extra_emuls.
1091
1092 2006-03-22 Richard Sandiford <richard@codesourcery.com>
1093 Daniel Jacobowitz <dan@codesourcery.com>
1094 Phil Edwards <phil@codesourcery.com>
1095 Zack Weinberg <zack@codesourcery.com>
1096 Mark Mitchell <mark@codesourcery.com>
1097 Nathan Sidwell <nathan@codesourcery.com>
1098
1099 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
1100 separate VxWorks emulations.
1101 * emulparams/elf32ebmipvxworks.sh: New file.
1102 * emulparams/elf32elmipvxworks.sh: New file.
1103 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
1104 eelf32elmipvxworks.o.
1105 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
1106 * Makefile.in: Regenerate.
1107
1108 2006-03-16 Alan Modra <amodra@bigpond.net.au>
1109
1110 PR 2434
1111 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
1112 * ldlang.c (output_statement_table_init, lang_init): Likewise.
1113 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
1114 (undefined_symbol): Likewise.
1115
1116 2006-03-07 Richard Sandiford <richard@codesourcery.com>
1117 Daniel Jacobowitz <dan@codesourcery.com>
1118 Zack Weinberg <zack@codesourcery.com>
1119 Nathan Sidwell <nathan@codesourcery.com>
1120 Paul Brook <paul@codesourcery.com>
1121 Ricardo Anguiano <anguiano@codesourcery.com>
1122 Phil Edwards <phil@codesourcery.com>
1123
1124 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
1125 (MAXPAGESIZE): Define.
1126 * emulparams/vxworks.sh: Undefine EMBEDDED.
1127 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
1128 * Makefile.in: Regenerate.
1129
1130 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
1131
1132 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
1133 Add KEEP() directives.
1134 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
1135 .bss output sections.
1136
1137 2006-03-03 Richard Sandiford <richard@codesourcery.com>
1138
1139 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
1140 (EXTRA_EM_FILE): Define.
1141 * emultempl/vxworks.em: New file.
1142 * ld.texinfo (--force-dynamic): Document.
1143 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
1144 on vxworks.em.
1145 * Makefile.in: Regenerate.
1146
1147 2006-03-02 Richard Sandiford <richard@codesourcery.com>
1148
1149 * emulparams/elf32ppccommon.sh: New file, extracted from...
1150 * emulparams/elf32ppc.sh: ...here.
1151 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
1152 instead of elf32ppc.sh.
1153 (BSS_PLT): Remove override.
1154 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
1155 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
1156 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
1157 (eelf32ppclinux.c): Likewise.
1158 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
1159 * Makefile.in: Regenerate.
1160
1161 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
1162
1163 * Makefile.am: Add html target.
1164 * Makefile.in: Regenerate.
1165 * po/Make-in: Add html target.
1166
1167 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
1168 Anil Paranjape <anilp1@kpitcummins.com>
1169 Shilin Shakti <shilins@kpitcummins.com>
1170
1171 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
1172 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
1173 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
1174 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
1175 * emulparams/elf32xc16xl.sh: Emulation script for large model.
1176 * emulparams/elf32xc16xs.sh: Emulation script for small model.
1177 * Makefile.am: Add entry to make xc16x target.
1178 * Makefile.in: Regenerate.
1179 * configure.tgt: Specify default and other emulation parameters
1180 for xc16x.
1181 * NEWS: Announce the support for the new target.
1182
1183 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
1184
1185 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1186 Use the traditional target.
1187
1188 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
1189
1190 * configure.tgt (arm*b-*-linux-gnueabi): Change to
1191 arm*b-*-linux-*eabi.
1192 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
1193
1194 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
1195
1196 PR ld/2290
1197 * NEWS: Updated for the Linux linker search order change.
1198
1199 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1200 gld${EMULATION_NAME}_check_ld_so_conf before checking default
1201 search directories for DT_NEEDED entries.
1202
1203 2006-02-07 Paul Brook <paul@codesourcery.com>
1204
1205 * emultempl/armelf.em: Include elf/arm.h.
1206 (arm_elf_finish): Set low address bit if enty point is a Thumb
1207 function.
1208
1209 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1210
1211 * deffilep.y (def_image_name): If the image name does not have
1212 a suffix, append the default.
1213 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
1214
1215 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
1216
1217 * NEWS: Mention support for forward exports in PE-COFF dll's.
1218 * ld.texinfo: Expand documentation of EXPORT statements in
1219 PE-COFF .def files.
1220
1221 2006-01-31 Filip Navara <navaraf@reactos.com>
1222
1223 * deffile.h (struct def_file_export): Add field flag_forward.
1224 * pe-dll.c (process_def_file): Check for forward exports.
1225 (generate_edata): Generate forward export symbols.
1226 (fill_edata): Emit them.
1227
1228 * pe-dll.c (process_def_file): Don't crash on malformed
1229 fastcall symbol names in .def file.
1230
1231 2006-01-30 Nick Clifton <nickc@redhat.com>
1232
1233 * po/vi.po: Updated Vietnamese translation.
1234
1235 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
1236
1237 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1238 file:" as informational message, not a warning.
1239
1240 2006-01-18 Roger Sayle <roger@eyesopen.com>
1241
1242 * emultempl/irix.em: Use lbasename instead of basename.
1243
1244 2006-01-16 Nick Clifton <nickc@redhat.com>
1245
1246 * po/zh_CN.po: New Chinese (simplified) translation.
1247 * configure.in (ALL_LINGUAS): Add "zh_CH".
1248 * configure: Regenerate.
1249
1250 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
1251
1252 * ld.texinfo (Options): Fix typo.
1253
1254 For older changes see ChangeLog-2005
1255 \f
1256 Local Variables:
1257 mode: change-log
1258 left-margin: 8
1259 fill-column: 74
1260 version-control: never
1261 End:
This page took 0.055977 seconds and 4 git commands to generate.