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