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