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