69d3db653db295ac6d37d1784a9a4263cd62b932
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2006-06-09 Alan Modra <amodra@bigpond.net.au>
2
3 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
4 * ldlang.c (struct out_section_hash_entry): Rename from
5 output_statement_hash_entry. Delete output_section_statement_type
6 entry. Add statement_union_type entry. Adjust all users.
7 (output_section_statement_table): Rename from output_statement_table.
8 Adjust all users.
9 (output_section_statement_newfunc): Rename from
10 output_statement_newfunc. Adjust all users.
11 (output_section_statement_table_init): Rename from
12 output_statement_table_init. Adjust all users.
13 (output_section_statement_table_free): Rename from
14 output_statement_table_free. Adjust all users.
15
16 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
17
18 * po/Make-in (pdf, ps): New dummy targets.
19
20 2006-06-07 Alan Modra <amodra@bigpond.net.au>
21
22 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
23 info_section and overlay_section. Add noalloc_section.
24 * ldlang.c (lang_add_section): Adjust.
25 * ldgram.y (type): Adjust.
26
27 2006-06-06 Alan Modra <amodra@bigpond.net.au>
28
29 * ldlang.c (init_os): Whitespace.
30 (map_input_to_output_sections): Don't init_os for lang_input_section.
31 (print_all_symbols): Remove forward declaration. Convert to ISO C.
32
33 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
34
35 * po/Make-in (top_builddir): Define.
36
37 2006-06-05 Alan Modra <amodra@bigpond.net.au>
38
39 * ldexp.c (exp_get_abs_int): Make error message the same as
40 others emitted in this file.
41
42 2006-06-05 Alan Modra <amodra@bigpond.net.au>
43
44 * config.in: Regenerate.
45
46 2006-06-05 Alan Modra <amodra@bigpond.net.au>
47
48 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
49
50 2006-06-03 Alan Modra <amodra@bigpond.net.au>
51
52 * emultempl/elf32.em (global_found): Make it a pointer.
53 (stat_needed, try_needed): Adjust.
54 (check_needed): Don't skip non-loaded as-needed entries. Only
55 consider entries with both filename and the_bfd non-null.
56 (after_open): Try loading non-loaded as-needed libs to satisfy
57 DT_NEEDED libs.
58
59 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
60
61 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
62 * Makefile.in: Regenerate.
63
64 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
65
66 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
67 and LIBINTL_DEP everywhere.
68 (INTLLIBS): Remove.
69 (INCLUDES): Use @INCINTL@.
70 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
71 Remove local code for po/Makefile.
72 * Makefile.in, configure: Regenerated.
73
74 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
75
76 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
77 "CONSTANT (MAXPAGESIZE)".
78 * emulparams/armelf_nbsd.sh: Likewise.
79 * emulparams/armelf_vxworks.sh: Likewise.
80 * emulparams/armnto.sh: Likewise.
81 * emulparams/armsymbian.sh: Likewise.
82 * emulparams/crislinux.sh: Likewise.
83 * emulparams/elf32_i860.sh: Likewise.
84 * emulparams/elf32_i960.sh: Likewise.
85 * emulparams/elf32am33lin.sh: Likewise.
86 * emulparams/elf32bfinfd.sh: Likewise.
87 * emulparams/elf32bmipn32-defs.sh: Likewise.
88 * emulparams/elf32frvfd.sh: Likewise.
89 * emulparams/elf32i370.sh: Likewise.
90 * emulparams/elf32lppcnto.sh: Likewise.
91 * emulparams/elf32mcore.sh: Likewise.
92 * emulparams/elf32openrisc.sh: Likewise.
93 * emulparams/elf32ppcnto.sh: Likewise.
94 * emulparams/elf32ppcwindiss.sh: Likewise.
95 * emulparams/elf32vax.sh: Likewise.
96 * emulparams/elf32xc16x.sh: Likewise.
97 * emulparams/elf32xc16xl.sh: Likewise.
98 * emulparams/elf32xc16xs.sh: Likewise.
99 * emulparams/elf64_aix.sh: Likewise.
100 * emulparams/elf64hppa.sh: Likewise.
101 * emulparams/elf64mmix.sh: Likewise.
102 * emulparams/elf_i386_be.sh: Likewise.
103 * emulparams/elf_i386_chaos.sh: Likewise.
104 * emulparams/elf_i386_ldso.sh: Likewise.
105 * emulparams/hppa64linux.sh: Likewise.
106 * emulparams/hppalinux.sh: Likewise.
107 * emulparams/hppaobsd.sh: Likewise.
108 * emulparams/i386lynx.sh: Likewise.
109 * emulparams/i386moss.sh: Likewise.
110 * emulparams/i386nto.sh: Likewise.
111 * emulparams/i386nw.sh: Likewise.
112 * emulparams/m32relf_linux.sh: Likewise.
113 * emulparams/m68kpsos.sh: Likewise.
114 * emulparams/or32elf.sh: Likewise.
115 * emulparams/pjelf.sh: Likewise.
116 * emulparams/pjlelf.sh: Likewise.
117 * emulparams/ppclynx.sh: Likewise.
118 * emulparams/ppcnw.sh: Likewise.
119 * emulparams/shelf32_nbsd.sh : Likewise.
120 * emulparams/shelf_nbsd.sh: Likewise.
121 * emulparams/shelf_nto.sh: Likewise.
122 * emulparams/shlelf_nto.sh: Likewise.
123 * emulparams/xtensa-config.sh: Likewise.
124
125 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
126 "CONSTANT (MAXPAGESIZE)".
127 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
128 * emulparams/elf32_sparc.sh: Likewise.
129 * emulparams/elf32bmip.sh: Likewise.
130 * emulparams/elf32ppccommon.sh: Likewise.
131 * emulparams/elf64_ia64.sh: Likewise.
132 * emulparams/elf64_s390.sh: Likewise.
133 * emulparams/elf64_sparc.sh: Likewise.
134 * emulparams/elf64alpha.sh: Likewise.
135 * emulparams/elf64ppc.sh: Likewise.
136 * emulparams/elf_i386.sh: Likewise.
137 * emulparams/elf_i386_vxworks.sh: Likewise.
138 * emulparams/elf_s390.sh: Likewise.
139 * emulparams/elf_x86_64.sh: Likewise.
140 * emulparams/shlelf32_linux.sh: Likewise.
141 * emulparams/shlelf_linux.sh: Likewise.
142
143 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
144 "CONSTANT (COMMONPAGESIZE)".
145 * emulparams/elf32btsmipn32.sh: Likewise.
146
147 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
148 "-z max-page-size=" and "-z common-page-size=".
149 (gld${EMULATION_NAME}_list_options): Likewise.
150
151 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
152
153 * ld.texinfo: Document "-z max-page-size=" and
154 "-z common-page-size=".
155
156 * ldexp.c (exp_print_token): Handle CONSTANT.
157 (fold_name): Likewise.
158 * ldgram.y: Likewise.
159 * ldlex.l: Likewise.
160
161 * ldmain.c (main): Initiliaze config.maxpagesize and
162 config.commonpagesize. Call bfd_emul_set_maxpagesize if
163 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
164 config.commonpagesize config.maxpagesize isn't 0.
165
166 2006-05-30 Nick Clifton <nickc@redhat.com>
167
168 * po/es.po: Updated Spanish translation.
169
170 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
171
172 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
173
174 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
175
176 PR ld/1485
177 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
178 bfd. Support 64bit host for --enable-targets=all.
179 * configure: Regenerated.
180
181 2006-05-24 Nick Clifton <nickc@redhat.com>
182
183 * po/vi.po: Updated Vietnamese translation.
184
185 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
186
187 * configure.tgt: Add avr6 to emulation list.
188 * Makefile.am: Add eavr6.o and corresponding rule.
189 * Makefile.in: Regenerate.
190 * emulparams/avr6.sh: New file.
191 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
192 for target option support.
193 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
194 * scripttempl/avr.sc: Add ".trampolines" section.
195 * emultempl/avrelf.em: Add new file for target specific options.
196
197 2006-05-22 Nick Clifton <nickc@redhat.com>
198
199 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
200
201 2006-05-19 Alan Modra <amodra@bigpond.net.au>
202
203 * ldlang.c (lang_size_sections_1): Don't check mem regions for
204 os->ignored sections.
205
206 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
207
208 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
209 before redoing one_lang_size_sections_pass.
210
211 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
212
213 * ld.texinfo: Rename "Index" to "LD Index"
214
215 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
216
217 * pe-dll.c (autofilter_symbollist): Add Dllmain,
218 DllMainCRTStartup, _DllMainCRTStartup and .text.
219 (autofilter_liblist): Add libcegcc.
220 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
221 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
222 they can still contain relocs that need processing.
223 Skip the .idata$6 section.
224 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
225 (make_one): Use the new array.
226 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
227 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
228
229 2006-05-05 Alan Modra <amodra@bigpond.net.au>
230
231 * ld.texinfo: Document PowerPC and PowerPC64 options.
232 * gen-doc.texi: Enable.
233
234 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
235
236 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
237 (TEXI2POD): Use AM_MAKEINFOFLAGS.
238 (configdoc.texi): Don't set top_srcdir.
239 * ld.texinfo: Don't use top_srcdir.
240 * aclocal.m4, Makefile.in: Regenerated.
241
242 2006-04-19 Alan Modra <amodra@bigpond.net.au>
243
244 * ldlang.c (wild): Tidy default_common_section loop.
245 (print_input_section): Format.
246
247 * configure: Regenerate.
248
249 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
250
251 * po/POTFILES.in: Regenerated.
252
253 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
254
255 * config.in: Regenerated.
256
257 2006-04-14 David Heine <dlheine@tensilica.com>
258 Bob Wilson <bob.wilson@acm.org>
259
260 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
261 function to strip inconsistent linkonce sections.
262 (input_section_linked_worker, input_section_linked): New.
263 (is_inconsistent_linkonce_section): New.
264 (xtensa_strip_inconsistent_linkonce_sections): New.
265
266 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
267
268 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
269 and Dragonfly targets.
270 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
271 * Makefile.am (HFILES): Add elf-hints-local.h.
272 * elf-hints-local.h: New file.
273 * Makefile.in: Regenerate.
274 * configure: Regenerate.
275
276 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
277
278 * ld.texinfo: Fix typo in documentation of --check-sections.
279
280 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
281
282 * ldlang.c (load_symbols): Set as_needed and add_needed according
283 to the corresponding script's fields while processing it.
284
285 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
286
287 * Makefile.am: Add install-html, install-html-am, and
288 install-html-recursive targets.
289 * Makefile.in: Regenerate.
290 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
291 * configure: Regenerate.
292 * po/Make-in: Add install-html target.
293
294 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
295
296 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
297 link_info.need_relax_finalize.
298
299 * ldlang.c (relax_sections): New.
300 (lang_process): Use. Call relax_sections link_info.relax_pass
301 times.
302
303 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
304 link_info.need_relax_finalize.
305
306 2006-04-05 Alan Modra <amodra@bigpond.net.au>
307
308 * Makefile.am (GENSCRIPTS): Pass prefix.
309 * Makefile.in: Regenerate.
310 * genscripts.sh: Adjust for extra parameter.
311 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
312 exists.
313 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
314 * NEWS: Update.
315
316 2006-04-05 Richard Sandiford <richard@codesourcery.com>
317 Daniel Jacobowitz <dan@codesourcery.com>
318
319 * configure.tgt (sparc*-*-vxworks*): New stanza.
320 * emulparams/elf32_sparc_vxworks.sh: New file.
321 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
322 (eelf32_sparc_vxworks.c): New rule.
323 * Makefile.in: Regenerate.
324
325 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
326
327 * ldlang.c (lang_map): Print the list of discarded input sections.
328 (print_input_section): Change parameter and print zero-sized sections.
329 (print_statement): Adjust call to print_input_section.
330
331 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
332
333 * deffilep.y (def_image_name): If LIBRARY or NAME statement
334 specifies an empty string, retain the name specified on command
335 line.
336 * ld.texinfo: Document above.
337
338 2006-03-31 Jakub Jelinek <jakub@redhat.com>
339
340 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
341 bfd_find_nearest_line succeeded for %C or %D, but filename
342 is NULL, print section+offset at the end.
343
344 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
345
346 * emulparams/elf32bfinfd.sh: New file.
347 * emultempl/bfin.em: Delete.
348 * emulparams/bfin.sh: Lose reference to bfin.em.
349 * Makefile.am (eelf32bfin.c): Likewise.
350 (eelf32bfinfd.c): New.
351 * Makefile.in: Regenerate.
352 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
353 targ_extra_emuls.
354
355 2006-03-22 Richard Sandiford <richard@codesourcery.com>
356 Daniel Jacobowitz <dan@codesourcery.com>
357 Phil Edwards <phil@codesourcery.com>
358 Zack Weinberg <zack@codesourcery.com>
359 Mark Mitchell <mark@codesourcery.com>
360 Nathan Sidwell <nathan@codesourcery.com>
361
362 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
363 separate VxWorks emulations.
364 * emulparams/elf32ebmipvxworks.sh: New file.
365 * emulparams/elf32elmipvxworks.sh: New file.
366 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
367 eelf32elmipvxworks.o.
368 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
369 * Makefile.in: Regenerate.
370
371 2006-03-16 Alan Modra <amodra@bigpond.net.au>
372
373 PR 2434
374 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
375 * ldlang.c (output_statement_table_init, lang_init): Likewise.
376 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
377 (undefined_symbol): Likewise.
378
379 2006-03-07 Richard Sandiford <richard@codesourcery.com>
380 Daniel Jacobowitz <dan@codesourcery.com>
381 Zack Weinberg <zack@codesourcery.com>
382 Nathan Sidwell <nathan@codesourcery.com>
383 Paul Brook <paul@codesourcery.com>
384 Ricardo Anguiano <anguiano@codesourcery.com>
385 Phil Edwards <phil@codesourcery.com>
386
387 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
388 (MAXPAGESIZE): Define.
389 * emulparams/vxworks.sh: Undefine EMBEDDED.
390 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
391 * Makefile.in: Regenerate.
392
393 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
394
395 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
396 Add KEEP() directives.
397 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
398 .bss output sections.
399
400 2006-03-03 Richard Sandiford <richard@codesourcery.com>
401
402 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
403 (EXTRA_EM_FILE): Define.
404 * emultempl/vxworks.em: New file.
405 * ld.texinfo (--force-dynamic): Document.
406 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
407 on vxworks.em.
408 * Makefile.in: Regenerate.
409
410 2006-03-02 Richard Sandiford <richard@codesourcery.com>
411
412 * emulparams/elf32ppccommon.sh: New file, extracted from...
413 * emulparams/elf32ppc.sh: ...here.
414 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
415 instead of elf32ppc.sh.
416 (BSS_PLT): Remove override.
417 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
418 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
419 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
420 (eelf32ppclinux.c): Likewise.
421 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
422 * Makefile.in: Regenerate.
423
424 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
425
426 * Makefile.am: Add html target.
427 * Makefile.in: Regenerate.
428 * po/Make-in: Add html target.
429
430 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
431 Anil Paranjape <anilp1@kpitcummins.com>
432 Shilin Shakti <shilins@kpitcummins.com>
433
434 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
435 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
436 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
437 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
438 * emulparams/elf32xc16xl.sh: Emulation script for large model.
439 * emulparams/elf32xc16xs.sh: Emulation script for small model.
440 * Makefile.am: Add entry to make xc16x target.
441 * Makefile.in: Regenerate.
442 * configure.tgt: Specify default and other emulation parameters
443 for xc16x.
444 * NEWS: Announce the support for the new target.
445
446 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
447
448 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
449 Use the traditional target.
450
451 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
452
453 * configure.tgt (arm*b-*-linux-gnueabi): Change to
454 arm*b-*-linux-*eabi.
455 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
456
457 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
458
459 PR ld/2290
460 * NEWS: Updated for the Linux linker search order change.
461
462 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
463 gld${EMULATION_NAME}_check_ld_so_conf before checking default
464 search directories for DT_NEEDED entries.
465
466 2006-02-07 Paul Brook <paul@codesourcery.com>
467
468 * emultempl/armelf.em: Include elf/arm.h.
469 (arm_elf_finish): Set low address bit if enty point is a Thumb
470 function.
471
472 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
473
474 * deffilep.y (def_image_name): If the image name does not have
475 a suffix, append the default.
476 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
477
478 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
479
480 * NEWS: Mention support for forward exports in PE-COFF dll's.
481 * ld.texinfo: Expand documentation of EXPORT statements in
482 PE-COFF .def files.
483
484 2006-01-31 Filip Navara <navaraf@reactos.com>
485
486 * deffile.h (struct def_file_export): Add field flag_forward.
487 * pe-dll.c (process_def_file): Check for forward exports.
488 (generate_edata): Generate forward export symbols.
489 (fill_edata): Emit them.
490
491 * pe-dll.c (process_def_file): Don't crash on malformed
492 fastcall symbol names in .def file.
493
494 2006-01-30 Nick Clifton <nickc@redhat.com>
495
496 * po/vi.po: Updated Vietnamese translation.
497
498 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
499
500 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
501 file:" as informational message, not a warning.
502
503 2006-01-18 Roger Sayle <roger@eyesopen.com>
504
505 * emultempl/irix.em: Use lbasename instead of basename.
506
507 2006-01-16 Nick Clifton <nickc@redhat.com>
508
509 * po/zh_CN.po: New Chinese (simplified) translation.
510 * configure.in (ALL_LINGUAS): Add "zh_CH".
511 * configure: Regenerate.
512
513 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
514
515 * ld.texinfo (Options): Fix typo.
516
517 For older changes see ChangeLog-2005
518 \f
519 Local Variables:
520 mode: change-log
521 left-margin: 8
522 fill-column: 74
523 version-control: never
524 End:
This page took 0.039126 seconds and 4 git commands to generate.