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