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