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