45129658a3a80c67f39c3c76ece76f3841b06ad8
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2006-08-04 Richard Sandiford <richard@codesourcery.com>
2 Kazu Hirata <kazu@codesourcery.com>
3 Phil Edwards <phil@codesourcery.com>
4
5 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
6 eshlelf_vxworks.o.
7 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
8 * Makefile.in: Regenerate.
9 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
10 shlelf_vxworks.
11 * emulparams/shelf_vxworks.sh: New file.
12 * emulparams/shlelf_vxworks.sh: Likewise.
13 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
14 (OTHER_END_SYMBOLS): Likewise _ehdr.
15 (DATA_END_SYMBOLS): Likewise _edata.
16 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
17 is indeed an ELF file before dealing with --force-dynamic.
18
19 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
20
21 PR binutils/2983
22 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
23 elf64-x86-64-freebsd.
24
25 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
26
27 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
28 bfd_make_section_with_flags.
29 (exp_init_os): Updated.
30 (lang_add_section): Call init_os with flags.
31 (map_input_to_output_sections): Likewise.
32
33 2006-07-29 Richard Sandiford <richard@codesourcery.com>
34
35 * Makefile.am (eelf32b4300.c): Update dependencies.
36 (eelf32bmip.c): Likewise.
37 (eelf32bsmip.c): Likewise.
38 (eelf32btsmip.c): Likewise.
39 (eelf32btsmipn32.c): Likewise.
40 (eelf32ltsmip.c): Likewise.
41 (eelf32ltsmipn32.c): Likewise.
42 (eelf32ebmip.c): Likewise.
43 (eelf32ebmipvxworks.c): Likewise.
44 (eelf32elmip.c): Likewise.
45 (eelf32elmipvxworks.c): Likewise.
46 (eelf32bmipn32.c): Likewise.
47 (eelf32lmip.c): Likewise.
48 (eelf32mipswindiss.c): Likewise.
49 (eelf32lsmip.c): Likewise.
50 (eelf64bmip.c): Likewise.
51 (eelf64btsmip.c): Likewise.
52 (eelf64ltsmip.c): Likewise.
53 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
54 (emipsbsd.c): Likewise.
55 (emipsidt.c): Update dependencies.
56 (emipsidtl.c): Likewise.
57 (emipslit.c): Likewise.
58 (emipslnews.c): Likewise.
59 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
60 * Makefile.in: Regenerate.
61 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
62 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
63 * emultempl/irix.em: Include emultempl/mipself.em.
64 * emultempl/mipself.em: New file.
65
66 2006-07-26 Alan Modra <amodra@bigpond.net.au>
67
68 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
69 layout happens before segment map. Don't do segment map on
70 relocatable link.
71
72 2006-07-26 Alan Modra <amodra@bigpond.net.au>
73
74 * ldexp.c (fold_name <LOADADDR>): Use the lma.
75 * ldlang.h (lang_memory_region_type): Delete old_length. Add
76 last_os.
77 * ldlang.c (lang_memory_region_lookup): Init new field.
78 (lang_reset_memory_regions): Reset new field.
79 (lang_insert_orphan): Don't set load_base.
80 (lang_leave_overlay): Likewise.
81 (lang_size_sections_1): Delete unnecessary code setting lma_region
82 to region. Correct lma region check.
83 (lang_do_assignments_1): Rename output_section_statement parm
84 to current_os. Set lma from previous section in region.
85
86 * ldlang.c: Formatting.
87
88 2006-07-25 Bob Wilson <bob.wilson@acm.org>
89
90 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
91 Set discarded section's output_section to bfd_abs_section_ptr.
92
93 2006-07-26 Alan Modra <amodra@bigpond.net.au>
94
95 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
96 earlier.
97
98 2006-07-24 Bob Wilson <bob.wilson@acm.org>
99
100 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
101 in dep_sec_name for null terminator. Make sure dep_sec_name has a
102 ".t" linkonce tag.
103
104 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
105
106 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
107 Set for *-*-solaris2*.
108
109 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
110
111 * ld.texinfo: Fix spelling mistakes.
112 * ldint.texinfo: Likewise.
113
114 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
115
116 * ldlang.c (lang_section_bst): New structure for sorting sections
117 by name.
118 (wild_sort_fast): New function: Insert a section into a binary
119 search tree.
120 (output_section_callback_fast): New function: Store a section in
121 BST.
122 (output_section_callback_tree_to_list): New function: Convert a
123 BST into a list.
124 (analyze_walk_wild_section_handler): Initialize handler_data
125 elements.
126 (wild): If the data is sorted by name use the BST method to sort
127 the names.
128
129 2006-07-19 Alan Modra <amodra@bigpond.net.au>
130
131 * ld.h (handle_asneeded_cref): Declare.
132 * ldcref.c: Include objalloc.h.
133 (old_table, old_count, old_tab, alloc_mark): New variables.
134 (tabsize, entsize, refsize, old_symcount): Likewise.
135 (add_cref): Use bfd_hash_allocate for refs.
136 (handle_asneeded_cref): New function.
137 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
138
139 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
140
141 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
142 typo setting targ_extra_libpath.
143
144 2006-07-10 Jakub Jelinek <jakub@redhat.com>
145
146 * scripttempl/elf.sc: Add .gnu.hash section.
147 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
148 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
149 (gld${EMULATION_NAME}_handle_option): Handle it.
150 (gld${EMULATION_NAME}_list_options): Document it.
151 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
152 * ld.texinfo: Document --hash-style option.
153
154 2006-07-10 Nick Clifton <nickc@redhat.com>
155
156 * po/zh_TW.po: New Chinese (traditional) translation.
157 * configure.in (ALL_LINGUAS): Add zh_TW.
158 * configure: Regenerate.
159
160 2006-07-07 Nick Clifton <nickc@redhat.com>
161
162 PR ld/2874
163 * ld.texinfo: Remove "Using LD" from the title since it is
164 redundant.
165
166 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
167
168 PR ld/2877
169 * ld.texinfo: Fix spelling mistakes.
170
171 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
172 Nick Clifton <nickc@redhat.com>
173
174 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
175 length of format strings in the libname_fmt[] array, rather than
176 relying upon a statically chosen value. Adjust xmalloc call to
177 use this longest length.
178
179 2006-06-27 Nick Clifton <nickc@redhat.com>
180
181 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
182 -rpath-link.
183
184 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
185
186 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
187 targ_extra_libpath.
188
189 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
190
191 * pe-dll.c (pe_details_type): Add new pointer for symbols list
192 autofilter.
193 (autofilter_symbollist): Split into autofilter_symbollist_generic
194 and autofilter_symbollist_i386.
195 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
196 autofilter_symbollist_generic for all the others.
197 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
198 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
199 into autofilter_symbollist_i386.
200 (auto_export): Get autofilter_symbollist from pe_details.
201
202 2006-06-22 Nick Clifton <nickc@redhat.com>
203
204 PR ld/2757
205 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
206 output files mention the file name and the fact that it is an
207 output file.
208
209 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
210
211 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
212 Restructure. Add native "%s.lib" format to search list
213 * ld.texinfo (node WIN32): Update documentation on dynamic lib
214 search order. Add another reason for using import libs.
215
216 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
217
218 * ldlang.c (lang_insert_orphan): Correctly handle the case where
219 the section is to end up after the section currently at the end
220 of the list in output_bfd.
221
222 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
223
224 * emultempl/mmo.em: Improve comments. Explain why there's
225 ELF-stuff here.
226
227 2006-06-21 Alan Modra <amodra@bigpond.net.au>
228
229 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
230 loop to ten iterations. Throw away any previous linker generated
231 segment map.
232 * ldlang.c (lang_phdr_list): Make global.
233 * ldlang.h (lang_phdr_list): Declare.
234 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
235 * Makefile.in: Regenerate.
236
237 2006-06-20 Alan Modra <amodra@bigpond.net.au>
238
239 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
240 many ELF emul file deps that incorrectly said they needed elf32.em
241 instead of generic.em. Add genelf.em as required.
242 * Makefile.in: Regenerate.
243 * ldlang.c (lang_process): Call ldemul_finish before
244 lang_check_section_addresses.
245 * emulparams/arcelf.sh: Generic elf target needs genelf.
246 * emulparams/d30v_e.sh: Likewise.
247 * emulparams/d30v_o.sh: Likewise.
248 * emulparams/d30velf.sh: Likewise.
249 * emulparams/elf32_dlx.sh: Likewise.
250 * emulparams/elf32_i860.sh: Likewise.
251 * emulparams/elf32fr30.sh: Likewise.
252 * emulparams/elf32frv.sh: Likewise.
253 * emulparams/elf32iq10.sh: Likewise.
254 * emulparams/elf32iq2000.sh: Likewise.
255 * emulparams/elf32mt.sh: Likewise.
256 * emulparams/mn10200.sh: Likewise.
257 * emulparams/or32.sh: Likewise.
258 * emulparams/or32elf.sh: Likewise.
259 * emulparams/pjelf.sh: Likewise.
260 * emulparams/msp430all.sh: Likewise. Extract common entries.
261 * emulparams/pjlelf.sh: Include pjelf.sh.
262 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
263 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
264 * emultempl/elf-generic.em: New file.
265 * emultempl/genelf.em: New file.
266 * emultempl/elf32.em: Include elf-generic.em.
267 (gld${EMULATION_NAME}_layout_sections_again): Delete.
268 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
269 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
270 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
271 gld${EMULATION_NAME}_map_segments.
272 (LDEMUL_FINISH): Update.
273 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
274 source elf-generic.em.
275 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
276 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
277 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
278 gld${EMULATION_NAME}_map_segments.
279 (LDEMUL_FINISH): Update.
280
281 2006-06-19 Alan Modra <amodra@bigpond.net.au>
282
283 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
284
285 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
286
287 * ld.texinfo: Document new -z lazy option.
288 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
289 new option.
290 (gld${EMULATION_NAME}_list_options): Update help text.
291
292 2006-06-12 Fred Fish <fnf@specifix.com>
293
294 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
295 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
296 generated by mips gcc.
297
298 2006-06-12 Thiemo Seufer <ths@mips.com>
299
300 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
301 Define.
302
303 2006-06-09 Alan Modra <amodra@bigpond.net.au>
304
305 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
306 * ldlang.c (struct out_section_hash_entry): Rename from
307 output_statement_hash_entry. Delete output_section_statement_type
308 entry. Add statement_union_type entry. Adjust all users.
309 (output_section_statement_table): Rename from output_statement_table.
310 Adjust all users.
311 (output_section_statement_newfunc): Rename from
312 output_statement_newfunc. Adjust all users.
313 (output_section_statement_table_init): Rename from
314 output_statement_table_init. Adjust all users.
315 (output_section_statement_table_free): Rename from
316 output_statement_table_free. Adjust all users.
317
318 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
319
320 * po/Make-in (pdf, ps): New dummy targets.
321
322 2006-06-07 Alan Modra <amodra@bigpond.net.au>
323
324 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
325 info_section and overlay_section. Add noalloc_section.
326 * ldlang.c (lang_add_section): Adjust.
327 * ldgram.y (type): Adjust.
328
329 2006-06-06 Alan Modra <amodra@bigpond.net.au>
330
331 * ldlang.c (init_os): Whitespace.
332 (map_input_to_output_sections): Don't init_os for lang_input_section.
333 (print_all_symbols): Remove forward declaration. Convert to ISO C.
334
335 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
336
337 * po/Make-in (top_builddir): Define.
338
339 2006-06-05 Alan Modra <amodra@bigpond.net.au>
340
341 * ldexp.c (exp_get_abs_int): Make error message the same as
342 others emitted in this file.
343
344 2006-06-05 Alan Modra <amodra@bigpond.net.au>
345
346 * config.in: Regenerate.
347
348 2006-06-05 Alan Modra <amodra@bigpond.net.au>
349
350 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
351
352 2006-06-03 Alan Modra <amodra@bigpond.net.au>
353
354 * emultempl/elf32.em (global_found): Make it a pointer.
355 (stat_needed, try_needed): Adjust.
356 (check_needed): Don't skip non-loaded as-needed entries. Only
357 consider entries with both filename and the_bfd non-null.
358 (after_open): Try loading non-loaded as-needed libs to satisfy
359 DT_NEEDED libs.
360
361 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
362
363 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
364 * Makefile.in: Regenerate.
365
366 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
367
368 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
369 and LIBINTL_DEP everywhere.
370 (INTLLIBS): Remove.
371 (INCLUDES): Use @INCINTL@.
372 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
373 Remove local code for po/Makefile.
374 * Makefile.in, configure: Regenerated.
375
376 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
377
378 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
379 "CONSTANT (MAXPAGESIZE)".
380 * emulparams/armelf_nbsd.sh: Likewise.
381 * emulparams/armelf_vxworks.sh: Likewise.
382 * emulparams/armnto.sh: Likewise.
383 * emulparams/armsymbian.sh: Likewise.
384 * emulparams/crislinux.sh: Likewise.
385 * emulparams/elf32_i860.sh: Likewise.
386 * emulparams/elf32_i960.sh: Likewise.
387 * emulparams/elf32am33lin.sh: Likewise.
388 * emulparams/elf32bfinfd.sh: Likewise.
389 * emulparams/elf32bmipn32-defs.sh: Likewise.
390 * emulparams/elf32frvfd.sh: Likewise.
391 * emulparams/elf32i370.sh: Likewise.
392 * emulparams/elf32lppcnto.sh: Likewise.
393 * emulparams/elf32mcore.sh: Likewise.
394 * emulparams/elf32openrisc.sh: Likewise.
395 * emulparams/elf32ppcnto.sh: Likewise.
396 * emulparams/elf32ppcwindiss.sh: Likewise.
397 * emulparams/elf32vax.sh: Likewise.
398 * emulparams/elf32xc16x.sh: Likewise.
399 * emulparams/elf32xc16xl.sh: Likewise.
400 * emulparams/elf32xc16xs.sh: Likewise.
401 * emulparams/elf64_aix.sh: Likewise.
402 * emulparams/elf64hppa.sh: Likewise.
403 * emulparams/elf64mmix.sh: Likewise.
404 * emulparams/elf_i386_be.sh: Likewise.
405 * emulparams/elf_i386_chaos.sh: Likewise.
406 * emulparams/elf_i386_ldso.sh: Likewise.
407 * emulparams/hppa64linux.sh: Likewise.
408 * emulparams/hppalinux.sh: Likewise.
409 * emulparams/hppaobsd.sh: Likewise.
410 * emulparams/i386lynx.sh: Likewise.
411 * emulparams/i386moss.sh: Likewise.
412 * emulparams/i386nto.sh: Likewise.
413 * emulparams/i386nw.sh: Likewise.
414 * emulparams/m32relf_linux.sh: Likewise.
415 * emulparams/m68kpsos.sh: Likewise.
416 * emulparams/or32elf.sh: Likewise.
417 * emulparams/pjelf.sh: Likewise.
418 * emulparams/pjlelf.sh: Likewise.
419 * emulparams/ppclynx.sh: Likewise.
420 * emulparams/ppcnw.sh: Likewise.
421 * emulparams/shelf32_nbsd.sh : Likewise.
422 * emulparams/shelf_nbsd.sh: Likewise.
423 * emulparams/shelf_nto.sh: Likewise.
424 * emulparams/shlelf_nto.sh: Likewise.
425 * emulparams/xtensa-config.sh: Likewise.
426
427 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
428 "CONSTANT (MAXPAGESIZE)".
429 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
430 * emulparams/elf32_sparc.sh: Likewise.
431 * emulparams/elf32bmip.sh: Likewise.
432 * emulparams/elf32ppccommon.sh: Likewise.
433 * emulparams/elf64_ia64.sh: Likewise.
434 * emulparams/elf64_s390.sh: Likewise.
435 * emulparams/elf64_sparc.sh: Likewise.
436 * emulparams/elf64alpha.sh: Likewise.
437 * emulparams/elf64ppc.sh: Likewise.
438 * emulparams/elf_i386.sh: Likewise.
439 * emulparams/elf_i386_vxworks.sh: Likewise.
440 * emulparams/elf_s390.sh: Likewise.
441 * emulparams/elf_x86_64.sh: Likewise.
442 * emulparams/shlelf32_linux.sh: Likewise.
443 * emulparams/shlelf_linux.sh: Likewise.
444
445 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
446 "CONSTANT (COMMONPAGESIZE)".
447 * emulparams/elf32btsmipn32.sh: Likewise.
448
449 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
450 "-z max-page-size=" and "-z common-page-size=".
451 (gld${EMULATION_NAME}_list_options): Likewise.
452
453 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
454
455 * ld.texinfo: Document "-z max-page-size=" and
456 "-z common-page-size=".
457
458 * ldexp.c (exp_print_token): Handle CONSTANT.
459 (fold_name): Likewise.
460 * ldgram.y: Likewise.
461 * ldlex.l: Likewise.
462
463 * ldmain.c (main): Initiliaze config.maxpagesize and
464 config.commonpagesize. Call bfd_emul_set_maxpagesize if
465 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
466 config.commonpagesize config.maxpagesize isn't 0.
467
468 2006-05-30 Nick Clifton <nickc@redhat.com>
469
470 * po/es.po: Updated Spanish translation.
471
472 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
473
474 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
475
476 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
477
478 PR ld/1485
479 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
480 bfd. Support 64bit host for --enable-targets=all.
481 * configure: Regenerated.
482
483 2006-05-24 Nick Clifton <nickc@redhat.com>
484
485 * po/vi.po: Updated Vietnamese translation.
486
487 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
488
489 * configure.tgt: Add avr6 to emulation list.
490 * Makefile.am: Add eavr6.o and corresponding rule.
491 * Makefile.in: Regenerate.
492 * emulparams/avr6.sh: New file.
493 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
494 for target option support.
495 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
496 * scripttempl/avr.sc: Add ".trampolines" section.
497 * emultempl/avrelf.em: Add new file for target specific options.
498
499 2006-05-22 Nick Clifton <nickc@redhat.com>
500
501 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
502
503 2006-05-19 Alan Modra <amodra@bigpond.net.au>
504
505 * ldlang.c (lang_size_sections_1): Don't check mem regions for
506 os->ignored sections.
507
508 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
509
510 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
511 before redoing one_lang_size_sections_pass.
512
513 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
514
515 * ld.texinfo: Rename "Index" to "LD Index"
516
517 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
518
519 * pe-dll.c (autofilter_symbollist): Add Dllmain,
520 DllMainCRTStartup, _DllMainCRTStartup and .text.
521 (autofilter_liblist): Add libcegcc.
522 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
523 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
524 they can still contain relocs that need processing.
525 Skip the .idata$6 section.
526 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
527 (make_one): Use the new array.
528 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
529 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
530
531 2006-05-05 Alan Modra <amodra@bigpond.net.au>
532
533 * ld.texinfo: Document PowerPC and PowerPC64 options.
534 * gen-doc.texi: Enable.
535
536 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
537
538 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
539 (TEXI2POD): Use AM_MAKEINFOFLAGS.
540 (configdoc.texi): Don't set top_srcdir.
541 * ld.texinfo: Don't use top_srcdir.
542 * aclocal.m4, Makefile.in: Regenerated.
543
544 2006-04-19 Alan Modra <amodra@bigpond.net.au>
545
546 * ldlang.c (wild): Tidy default_common_section loop.
547 (print_input_section): Format.
548
549 * configure: Regenerate.
550
551 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
552
553 * po/POTFILES.in: Regenerated.
554
555 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
556
557 * config.in: Regenerated.
558
559 2006-04-14 David Heine <dlheine@tensilica.com>
560 Bob Wilson <bob.wilson@acm.org>
561
562 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
563 function to strip inconsistent linkonce sections.
564 (input_section_linked_worker, input_section_linked): New.
565 (is_inconsistent_linkonce_section): New.
566 (xtensa_strip_inconsistent_linkonce_sections): New.
567
568 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
569
570 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
571 and Dragonfly targets.
572 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
573 * Makefile.am (HFILES): Add elf-hints-local.h.
574 * elf-hints-local.h: New file.
575 * Makefile.in: Regenerate.
576 * configure: Regenerate.
577
578 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
579
580 * ld.texinfo: Fix typo in documentation of --check-sections.
581
582 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
583
584 * ldlang.c (load_symbols): Set as_needed and add_needed according
585 to the corresponding script's fields while processing it.
586
587 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
588
589 * Makefile.am: Add install-html, install-html-am, and
590 install-html-recursive targets.
591 * Makefile.in: Regenerate.
592 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
593 * configure: Regenerate.
594 * po/Make-in: Add install-html target.
595
596 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
597
598 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
599 link_info.need_relax_finalize.
600
601 * ldlang.c (relax_sections): New.
602 (lang_process): Use. Call relax_sections link_info.relax_pass
603 times.
604
605 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
606 link_info.need_relax_finalize.
607
608 2006-04-05 Alan Modra <amodra@bigpond.net.au>
609
610 * Makefile.am (GENSCRIPTS): Pass prefix.
611 * Makefile.in: Regenerate.
612 * genscripts.sh: Adjust for extra parameter.
613 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
614 exists.
615 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
616 * NEWS: Update.
617
618 2006-04-05 Richard Sandiford <richard@codesourcery.com>
619 Daniel Jacobowitz <dan@codesourcery.com>
620
621 * configure.tgt (sparc*-*-vxworks*): New stanza.
622 * emulparams/elf32_sparc_vxworks.sh: New file.
623 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
624 (eelf32_sparc_vxworks.c): New rule.
625 * Makefile.in: Regenerate.
626
627 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
628
629 * ldlang.c (lang_map): Print the list of discarded input sections.
630 (print_input_section): Change parameter and print zero-sized sections.
631 (print_statement): Adjust call to print_input_section.
632
633 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
634
635 * deffilep.y (def_image_name): If LIBRARY or NAME statement
636 specifies an empty string, retain the name specified on command
637 line.
638 * ld.texinfo: Document above.
639
640 2006-03-31 Jakub Jelinek <jakub@redhat.com>
641
642 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
643 bfd_find_nearest_line succeeded for %C or %D, but filename
644 is NULL, print section+offset at the end.
645
646 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
647
648 * emulparams/elf32bfinfd.sh: New file.
649 * emultempl/bfin.em: Delete.
650 * emulparams/bfin.sh: Lose reference to bfin.em.
651 * Makefile.am (eelf32bfin.c): Likewise.
652 (eelf32bfinfd.c): New.
653 * Makefile.in: Regenerate.
654 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
655 targ_extra_emuls.
656
657 2006-03-22 Richard Sandiford <richard@codesourcery.com>
658 Daniel Jacobowitz <dan@codesourcery.com>
659 Phil Edwards <phil@codesourcery.com>
660 Zack Weinberg <zack@codesourcery.com>
661 Mark Mitchell <mark@codesourcery.com>
662 Nathan Sidwell <nathan@codesourcery.com>
663
664 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
665 separate VxWorks emulations.
666 * emulparams/elf32ebmipvxworks.sh: New file.
667 * emulparams/elf32elmipvxworks.sh: New file.
668 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
669 eelf32elmipvxworks.o.
670 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
671 * Makefile.in: Regenerate.
672
673 2006-03-16 Alan Modra <amodra@bigpond.net.au>
674
675 PR 2434
676 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
677 * ldlang.c (output_statement_table_init, lang_init): Likewise.
678 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
679 (undefined_symbol): Likewise.
680
681 2006-03-07 Richard Sandiford <richard@codesourcery.com>
682 Daniel Jacobowitz <dan@codesourcery.com>
683 Zack Weinberg <zack@codesourcery.com>
684 Nathan Sidwell <nathan@codesourcery.com>
685 Paul Brook <paul@codesourcery.com>
686 Ricardo Anguiano <anguiano@codesourcery.com>
687 Phil Edwards <phil@codesourcery.com>
688
689 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
690 (MAXPAGESIZE): Define.
691 * emulparams/vxworks.sh: Undefine EMBEDDED.
692 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
693 * Makefile.in: Regenerate.
694
695 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
696
697 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
698 Add KEEP() directives.
699 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
700 .bss output sections.
701
702 2006-03-03 Richard Sandiford <richard@codesourcery.com>
703
704 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
705 (EXTRA_EM_FILE): Define.
706 * emultempl/vxworks.em: New file.
707 * ld.texinfo (--force-dynamic): Document.
708 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
709 on vxworks.em.
710 * Makefile.in: Regenerate.
711
712 2006-03-02 Richard Sandiford <richard@codesourcery.com>
713
714 * emulparams/elf32ppccommon.sh: New file, extracted from...
715 * emulparams/elf32ppc.sh: ...here.
716 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
717 instead of elf32ppc.sh.
718 (BSS_PLT): Remove override.
719 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
720 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
721 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
722 (eelf32ppclinux.c): Likewise.
723 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
724 * Makefile.in: Regenerate.
725
726 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
727
728 * Makefile.am: Add html target.
729 * Makefile.in: Regenerate.
730 * po/Make-in: Add html target.
731
732 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
733 Anil Paranjape <anilp1@kpitcummins.com>
734 Shilin Shakti <shilins@kpitcummins.com>
735
736 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
737 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
738 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
739 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
740 * emulparams/elf32xc16xl.sh: Emulation script for large model.
741 * emulparams/elf32xc16xs.sh: Emulation script for small model.
742 * Makefile.am: Add entry to make xc16x target.
743 * Makefile.in: Regenerate.
744 * configure.tgt: Specify default and other emulation parameters
745 for xc16x.
746 * NEWS: Announce the support for the new target.
747
748 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
749
750 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
751 Use the traditional target.
752
753 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
754
755 * configure.tgt (arm*b-*-linux-gnueabi): Change to
756 arm*b-*-linux-*eabi.
757 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
758
759 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
760
761 PR ld/2290
762 * NEWS: Updated for the Linux linker search order change.
763
764 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
765 gld${EMULATION_NAME}_check_ld_so_conf before checking default
766 search directories for DT_NEEDED entries.
767
768 2006-02-07 Paul Brook <paul@codesourcery.com>
769
770 * emultempl/armelf.em: Include elf/arm.h.
771 (arm_elf_finish): Set low address bit if enty point is a Thumb
772 function.
773
774 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
775
776 * deffilep.y (def_image_name): If the image name does not have
777 a suffix, append the default.
778 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
779
780 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
781
782 * NEWS: Mention support for forward exports in PE-COFF dll's.
783 * ld.texinfo: Expand documentation of EXPORT statements in
784 PE-COFF .def files.
785
786 2006-01-31 Filip Navara <navaraf@reactos.com>
787
788 * deffile.h (struct def_file_export): Add field flag_forward.
789 * pe-dll.c (process_def_file): Check for forward exports.
790 (generate_edata): Generate forward export symbols.
791 (fill_edata): Emit them.
792
793 * pe-dll.c (process_def_file): Don't crash on malformed
794 fastcall symbol names in .def file.
795
796 2006-01-30 Nick Clifton <nickc@redhat.com>
797
798 * po/vi.po: Updated Vietnamese translation.
799
800 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
801
802 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
803 file:" as informational message, not a warning.
804
805 2006-01-18 Roger Sayle <roger@eyesopen.com>
806
807 * emultempl/irix.em: Use lbasename instead of basename.
808
809 2006-01-16 Nick Clifton <nickc@redhat.com>
810
811 * po/zh_CN.po: New Chinese (simplified) translation.
812 * configure.in (ALL_LINGUAS): Add "zh_CH".
813 * configure: Regenerate.
814
815 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
816
817 * ld.texinfo (Options): Fix typo.
818
819 For older changes see ChangeLog-2005
820 \f
821 Local Variables:
822 mode: change-log
823 left-margin: 8
824 fill-column: 74
825 version-control: never
826 End:
This page took 0.044858 seconds and 4 git commands to generate.