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