daily update
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
d19628a5
DJ
12006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
2
3 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
4 typo setting targ_extra_libpath.
5
fdc90cb4
JJ
62006-07-10 Jakub Jelinek <jakub@redhat.com>
7
8 * scripttempl/elf.sc: Add .gnu.hash section.
9 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
10 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
11 (gld${EMULATION_NAME}_handle_option): Handle it.
12 (gld${EMULATION_NAME}_list_options): Document it.
13 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
14 * ld.texinfo: Document --hash-style option.
15
b83ef3ee
NC
162006-07-10 Nick Clifton <nickc@redhat.com>
17
18 * po/zh_TW.po: New Chinese (traditional) translation.
19 * configure.in (ALL_LINGUAS): Add zh_TW.
20 * configure: Regenerate.
21
71ba23f6
NC
222006-07-07 Nick Clifton <nickc@redhat.com>
23
24 PR ld/2874
25 * ld.texinfo: Remove "Using LD" from the title since it is
26 redundant.
27
ba1be17e
NC
282006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
29
71ba23f6 30 PR ld/2877
ba1be17e
NC
31 * ld.texinfo: Fix spelling mistakes.
32
b1d9458a
NC
332006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
34 Nick Clifton <nickc@redhat.com>
35
36 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
37 length of format strings in the libname_fmt[] array, rather than
38 relying upon a statically chosen value. Adjust xmalloc call to
39 use this longest length.
40
ece2d90e
NC
412006-06-27 Nick Clifton <nickc@redhat.com>
42
43 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
44 -rpath-link.
45
0faaaeb8
DJ
462006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
47
48 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
49 targ_extra_libpath.
50
5b8273bf
NC
512006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
52
53 * pe-dll.c (pe_details_type): Add new pointer for symbols list
54 autofilter.
55 (autofilter_symbollist): Split into autofilter_symbollist_generic
56 and autofilter_symbollist_i386.
57 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
58 autofilter_symbollist_generic for all the others.
59 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
60 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
61 into autofilter_symbollist_i386.
62 (auto_export): Get autofilter_symbollist from pe_details.
63
b952b98f
NC
642006-06-22 Nick Clifton <nickc@redhat.com>
65
66 PR ld/2757
67 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
68 output files mention the file name and the fact that it is an
69 output file.
70
45e948fe
NC
712006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
72
73 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
74 Restructure. Add native "%s.lib" format to search list
75 * ld.texinfo (node WIN32): Update documentation on dynamic lib
76 search order. Add another reason for using import libs.
77
5e542ba7
MS
782006-06-21 Mark Shinwell <shinwell@codesourcery.com>
79
80 * ldlang.c (lang_insert_orphan): Correctly handle the case where
81 the section is to end up after the section currently at the end
82 of the list in output_bfd.
83
a4308b79
HPN
842006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
85
86 * emultempl/mmo.em: Improve comments. Explain why there's
87 ELF-stuff here.
88
f5ff60a6
AM
892006-06-21 Alan Modra <amodra@bigpond.net.au>
90
91 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
92 loop to ten iterations. Throw away any previous linker generated
93 segment map.
94 * ldlang.c (lang_phdr_list): Make global.
95 * ldlang.h (lang_phdr_list): Declare.
96 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
97 * Makefile.in: Regenerate.
98
8ded5a0f
AM
992006-06-20 Alan Modra <amodra@bigpond.net.au>
100
101 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
102 many ELF emul file deps that incorrectly said they needed elf32.em
103 instead of generic.em. Add genelf.em as required.
104 * Makefile.in: Regenerate.
105 * ldlang.c (lang_process): Call ldemul_finish before
106 lang_check_section_addresses.
107 * emulparams/arcelf.sh: Generic elf target needs genelf.
108 * emulparams/d30v_e.sh: Likewise.
109 * emulparams/d30v_o.sh: Likewise.
110 * emulparams/d30velf.sh: Likewise.
111 * emulparams/elf32_dlx.sh: Likewise.
112 * emulparams/elf32_i860.sh: Likewise.
113 * emulparams/elf32fr30.sh: Likewise.
114 * emulparams/elf32frv.sh: Likewise.
115 * emulparams/elf32iq10.sh: Likewise.
116 * emulparams/elf32iq2000.sh: Likewise.
117 * emulparams/elf32mt.sh: Likewise.
118 * emulparams/mn10200.sh: Likewise.
119 * emulparams/or32.sh: Likewise.
120 * emulparams/or32elf.sh: Likewise.
121 * emulparams/pjelf.sh: Likewise.
122 * emulparams/msp430all.sh: Likewise. Extract common entries.
123 * emulparams/pjlelf.sh: Include pjelf.sh.
124 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
125 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
126 * emultempl/elf-generic.em: New file.
127 * emultempl/genelf.em: New file.
128 * emultempl/elf32.em: Include elf-generic.em.
129 (gld${EMULATION_NAME}_layout_sections_again): Delete.
130 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
131 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
132 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
133 gld${EMULATION_NAME}_map_segments.
134 (LDEMUL_FINISH): Update.
135 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
136 source elf-generic.em.
137 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
138 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
139 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
140 gld${EMULATION_NAME}_map_segments.
141 (LDEMUL_FINISH): Update.
142
a6b96beb
AM
1432006-06-19 Alan Modra <amodra@bigpond.net.au>
144
145 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
146
5fa222e4
AM
1472006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
148
149 * ld.texinfo: Document new -z lazy option.
150 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
151 new option.
152 (gld${EMULATION_NAME}_list_options): Update help text.
153
ce28273f
FF
1542006-06-12 Fred Fish <fnf@specifix.com>
155
156 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
157 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
158 generated by mips gcc.
159
7fd91fe0
TS
1602006-06-12 Thiemo Seufer <ths@mips.com>
161
162 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
163 Define.
164
409d7240
AM
1652006-06-09 Alan Modra <amodra@bigpond.net.au>
166
167 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
168 * ldlang.c (struct out_section_hash_entry): Rename from
169 output_statement_hash_entry. Delete output_section_statement_type
170 entry. Add statement_union_type entry. Adjust all users.
171 (output_section_statement_table): Rename from output_statement_table.
172 Adjust all users.
173 (output_section_statement_newfunc): Rename from
174 output_statement_newfunc. Adjust all users.
175 (output_section_statement_table_init): Rename from
176 output_statement_table_init. Adjust all users.
177 (output_section_statement_table_free): Rename from
178 output_statement_table_free. Adjust all users.
179
6648b7cf
JM
1802006-06-07 Joseph S. Myers <joseph@codesourcery.com>
181
182 * po/Make-in (pdf, ps): New dummy targets.
183
02a38f92
AM
1842006-06-07 Alan Modra <amodra@bigpond.net.au>
185
186 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
187 info_section and overlay_section. Add noalloc_section.
188 * ldlang.c (lang_add_section): Adjust.
189 * ldgram.y (type): Adjust.
190
e0f6802f
AM
1912006-06-06 Alan Modra <amodra@bigpond.net.au>
192
193 * ldlang.c (init_os): Whitespace.
194 (map_input_to_output_sections): Don't init_os for lang_input_section.
195 (print_all_symbols): Remove forward declaration. Convert to ISO C.
196
4cfe2c59
DJ
1972006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
198
199 * po/Make-in (top_builddir): Define.
200
65ede3f4
AM
2012006-06-05 Alan Modra <amodra@bigpond.net.au>
202
203 * ldexp.c (exp_get_abs_int): Make error message the same as
204 others emitted in this file.
205
8c61c153
AM
2062006-06-05 Alan Modra <amodra@bigpond.net.au>
207
208 * config.in: Regenerate.
209
87aa7f19
AM
2102006-06-05 Alan Modra <amodra@bigpond.net.au>
211
212 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
213
e13629bc
AM
2142006-06-03 Alan Modra <amodra@bigpond.net.au>
215
216 * emultempl/elf32.em (global_found): Make it a pointer.
217 (stat_needed, try_needed): Adjust.
218 (check_needed): Don't skip non-loaded as-needed entries. Only
219 consider entries with both filename and the_bfd non-null.
220 (after_open): Try loading non-loaded as-needed libs to satisfy
221 DT_NEEDED libs.
222
e10fad12
JM
2232006-06-02 Joseph S. Myers <joseph@codesourcery.com>
224
225 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
226 * Makefile.in: Regenerate.
227
20e95c23
DJ
2282006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
229
230 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
231 and LIBINTL_DEP everywhere.
232 (INTLLIBS): Remove.
233 (INCLUDES): Use @INCINTL@.
234 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
235 Remove local code for po/Makefile.
236 * Makefile.in, configure: Regenerated.
237
24718e3b
L
2382006-05-30 H.J. Lu <hongjiu.lu@intel.com>
239
240 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
241 "CONSTANT (MAXPAGESIZE)".
242 * emulparams/armelf_nbsd.sh: Likewise.
243 * emulparams/armelf_vxworks.sh: Likewise.
244 * emulparams/armnto.sh: Likewise.
245 * emulparams/armsymbian.sh: Likewise.
246 * emulparams/crislinux.sh: Likewise.
247 * emulparams/elf32_i860.sh: Likewise.
248 * emulparams/elf32_i960.sh: Likewise.
249 * emulparams/elf32am33lin.sh: Likewise.
250 * emulparams/elf32bfinfd.sh: Likewise.
251 * emulparams/elf32bmipn32-defs.sh: Likewise.
252 * emulparams/elf32frvfd.sh: Likewise.
253 * emulparams/elf32i370.sh: Likewise.
254 * emulparams/elf32lppcnto.sh: Likewise.
255 * emulparams/elf32mcore.sh: Likewise.
256 * emulparams/elf32openrisc.sh: Likewise.
257 * emulparams/elf32ppcnto.sh: Likewise.
258 * emulparams/elf32ppcwindiss.sh: Likewise.
259 * emulparams/elf32vax.sh: Likewise.
260 * emulparams/elf32xc16x.sh: Likewise.
261 * emulparams/elf32xc16xl.sh: Likewise.
262 * emulparams/elf32xc16xs.sh: Likewise.
263 * emulparams/elf64_aix.sh: Likewise.
264 * emulparams/elf64hppa.sh: Likewise.
265 * emulparams/elf64mmix.sh: Likewise.
266 * emulparams/elf_i386_be.sh: Likewise.
267 * emulparams/elf_i386_chaos.sh: Likewise.
268 * emulparams/elf_i386_ldso.sh: Likewise.
269 * emulparams/hppa64linux.sh: Likewise.
270 * emulparams/hppalinux.sh: Likewise.
271 * emulparams/hppaobsd.sh: Likewise.
272 * emulparams/i386lynx.sh: Likewise.
273 * emulparams/i386moss.sh: Likewise.
274 * emulparams/i386nto.sh: Likewise.
275 * emulparams/i386nw.sh: Likewise.
276 * emulparams/m32relf_linux.sh: Likewise.
277 * emulparams/m68kpsos.sh: Likewise.
278 * emulparams/or32elf.sh: Likewise.
279 * emulparams/pjelf.sh: Likewise.
280 * emulparams/pjlelf.sh: Likewise.
281 * emulparams/ppclynx.sh: Likewise.
282 * emulparams/ppcnw.sh: Likewise.
283 * emulparams/shelf32_nbsd.sh : Likewise.
284 * emulparams/shelf_nbsd.sh: Likewise.
285 * emulparams/shelf_nto.sh: Likewise.
286 * emulparams/shlelf_nto.sh: Likewise.
287 * emulparams/xtensa-config.sh: Likewise.
288
289 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
290 "CONSTANT (MAXPAGESIZE)".
291 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
292 * emulparams/elf32_sparc.sh: Likewise.
293 * emulparams/elf32bmip.sh: Likewise.
294 * emulparams/elf32ppccommon.sh: Likewise.
295 * emulparams/elf64_ia64.sh: Likewise.
296 * emulparams/elf64_s390.sh: Likewise.
297 * emulparams/elf64_sparc.sh: Likewise.
298 * emulparams/elf64alpha.sh: Likewise.
299 * emulparams/elf64ppc.sh: Likewise.
300 * emulparams/elf_i386.sh: Likewise.
301 * emulparams/elf_i386_vxworks.sh: Likewise.
302 * emulparams/elf_s390.sh: Likewise.
303 * emulparams/elf_x86_64.sh: Likewise.
304 * emulparams/shlelf32_linux.sh: Likewise.
305 * emulparams/shlelf_linux.sh: Likewise.
306
307 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
308 "CONSTANT (COMMONPAGESIZE)".
309 * emulparams/elf32btsmipn32.sh: Likewise.
310
311 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
312 "-z max-page-size=" and "-z common-page-size=".
313 (gld${EMULATION_NAME}_list_options): Likewise.
314
315 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
316
317 * ld.texinfo: Document "-z max-page-size=" and
318 "-z common-page-size=".
319
320 * ldexp.c (exp_print_token): Handle CONSTANT.
321 (fold_name): Likewise.
322 * ldgram.y: Likewise.
323 * ldlex.l: Likewise.
324
325 * ldmain.c (main): Initiliaze config.maxpagesize and
326 config.commonpagesize. Call bfd_emul_set_maxpagesize if
327 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
328 config.commonpagesize config.maxpagesize isn't 0.
329
eebf07fb
NC
3302006-05-30 Nick Clifton <nickc@redhat.com>
331
332 * po/es.po: Updated Spanish translation.
333
f7661549
L
3342006-05-25 H.J. Lu <hongjiu.lu@intel.com>
335
336 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
337
314e9a4e
L
3382006-05-24 H.J. Lu <hongjiu.lu@intel.com>
339
340 PR ld/1485
341 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
342 bfd. Support 64bit host for --enable-targets=all.
343 * configure: Regenerated.
344
4a4d496a
NC
3452006-05-24 Nick Clifton <nickc@redhat.com>
346
347 * po/vi.po: Updated Vietnamese translation.
348
28c9d252
NC
3492006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
350
351 * configure.tgt: Add avr6 to emulation list.
352 * Makefile.am: Add eavr6.o and corresponding rule.
353 * Makefile.in: Regenerate.
354 * emulparams/avr6.sh: New file.
355 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
356 for target option support.
357 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
358 * scripttempl/avr.sc: Add ".trampolines" section.
359 * emultempl/avrelf.em: Add new file for target specific options.
360
b7309ada
NC
3612006-05-22 Nick Clifton <nickc@redhat.com>
362
363 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
364
f0636a44
AM
3652006-05-19 Alan Modra <amodra@bigpond.net.au>
366
367 * ldlang.c (lang_size_sections_1): Don't check mem regions for
368 os->ignored sections.
369
f86a8756
DJ
3702005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
371
372 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
373 before redoing one_lang_size_sections_pass.
374
370b66a1
CD
3752006-05-11 Carlos O'Donell <carlos@codesourcery.com>
376
377 * ld.texinfo: Rename "Index" to "LD Index"
378
53baae48
NC
3792006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
380
381 * pe-dll.c (autofilter_symbollist): Add Dllmain,
382 DllMainCRTStartup, _DllMainCRTStartup and .text.
383 (autofilter_liblist): Add libcegcc.
384 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
385 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
386 they can still contain relocs that need processing.
387 Skip the .idata$6 section.
388 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
389 (make_one): Use the new array.
390 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
391 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
392
2a60a7a8
AM
3932006-05-05 Alan Modra <amodra@bigpond.net.au>
394
395 * ld.texinfo: Document PowerPC and PowerPC64 options.
396 * gen-doc.texi: Enable.
397
38fc1cb1
DJ
3982006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
399
400 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
401 (TEXI2POD): Use AM_MAKEINFOFLAGS.
402 (configdoc.texi): Don't set top_srcdir.
403 * ld.texinfo: Don't use top_srcdir.
404 * aclocal.m4, Makefile.in: Regenerated.
405
241a6c40
AM
4062006-04-19 Alan Modra <amodra@bigpond.net.au>
407
abe6ac95
AM
408 * ldlang.c (wild): Tidy default_common_section loop.
409 (print_input_section): Format.
410
241a6c40
AM
411 * configure: Regenerate.
412
e7403566
DJ
4132006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
414
415 * po/POTFILES.in: Regenerated.
416
b030a24e
DJ
4172006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
418
419 * config.in: Regenerated.
420
a255b6c7
BW
4212006-04-14 David Heine <dlheine@tensilica.com>
422 Bob Wilson <bob.wilson@acm.org>
423
424 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
425 function to strip inconsistent linkonce sections.
426 (input_section_linked_worker, input_section_linked): New.
427 (is_inconsistent_linkonce_section): New.
428 (xtensa_strip_inconsistent_linkonce_sections): New.
429