*** empty log message ***
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
f5ff60a6
AM
12006-06-21 Alan Modra <amodra@bigpond.net.au>
2
3 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
4 loop to ten iterations. Throw away any previous linker generated
5 segment map.
6 * ldlang.c (lang_phdr_list): Make global.
7 * ldlang.h (lang_phdr_list): Declare.
8 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
9 * Makefile.in: Regenerate.
10
8ded5a0f
AM
112006-06-20 Alan Modra <amodra@bigpond.net.au>
12
13 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
14 many ELF emul file deps that incorrectly said they needed elf32.em
15 instead of generic.em. Add genelf.em as required.
16 * Makefile.in: Regenerate.
17 * ldlang.c (lang_process): Call ldemul_finish before
18 lang_check_section_addresses.
19 * emulparams/arcelf.sh: Generic elf target needs genelf.
20 * emulparams/d30v_e.sh: Likewise.
21 * emulparams/d30v_o.sh: Likewise.
22 * emulparams/d30velf.sh: Likewise.
23 * emulparams/elf32_dlx.sh: Likewise.
24 * emulparams/elf32_i860.sh: Likewise.
25 * emulparams/elf32fr30.sh: Likewise.
26 * emulparams/elf32frv.sh: Likewise.
27 * emulparams/elf32iq10.sh: Likewise.
28 * emulparams/elf32iq2000.sh: Likewise.
29 * emulparams/elf32mt.sh: Likewise.
30 * emulparams/mn10200.sh: Likewise.
31 * emulparams/or32.sh: Likewise.
32 * emulparams/or32elf.sh: Likewise.
33 * emulparams/pjelf.sh: Likewise.
34 * emulparams/msp430all.sh: Likewise. Extract common entries.
35 * emulparams/pjlelf.sh: Include pjelf.sh.
36 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
37 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
38 * emultempl/elf-generic.em: New file.
39 * emultempl/genelf.em: New file.
40 * emultempl/elf32.em: Include elf-generic.em.
41 (gld${EMULATION_NAME}_layout_sections_again): Delete.
42 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
43 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
44 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
45 gld${EMULATION_NAME}_map_segments.
46 (LDEMUL_FINISH): Update.
47 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
48 source elf-generic.em.
49 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
50 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
51 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
52 gld${EMULATION_NAME}_map_segments.
53 (LDEMUL_FINISH): Update.
54
a6b96beb
AM
552006-06-19 Alan Modra <amodra@bigpond.net.au>
56
57 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
58
5fa222e4
AM
592006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
60
61 * ld.texinfo: Document new -z lazy option.
62 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
63 new option.
64 (gld${EMULATION_NAME}_list_options): Update help text.
65
ce28273f
FF
662006-06-12 Fred Fish <fnf@specifix.com>
67
68 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
69 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
70 generated by mips gcc.
71
7fd91fe0
TS
722006-06-12 Thiemo Seufer <ths@mips.com>
73
74 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
75 Define.
76
409d7240
AM
772006-06-09 Alan Modra <amodra@bigpond.net.au>
78
79 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
80 * ldlang.c (struct out_section_hash_entry): Rename from
81 output_statement_hash_entry. Delete output_section_statement_type
82 entry. Add statement_union_type entry. Adjust all users.
83 (output_section_statement_table): Rename from output_statement_table.
84 Adjust all users.
85 (output_section_statement_newfunc): Rename from
86 output_statement_newfunc. Adjust all users.
87 (output_section_statement_table_init): Rename from
88 output_statement_table_init. Adjust all users.
89 (output_section_statement_table_free): Rename from
90 output_statement_table_free. Adjust all users.
91
6648b7cf
JM
922006-06-07 Joseph S. Myers <joseph@codesourcery.com>
93
94 * po/Make-in (pdf, ps): New dummy targets.
95
02a38f92
AM
962006-06-07 Alan Modra <amodra@bigpond.net.au>
97
98 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
99 info_section and overlay_section. Add noalloc_section.
100 * ldlang.c (lang_add_section): Adjust.
101 * ldgram.y (type): Adjust.
102
e0f6802f
AM
1032006-06-06 Alan Modra <amodra@bigpond.net.au>
104
105 * ldlang.c (init_os): Whitespace.
106 (map_input_to_output_sections): Don't init_os for lang_input_section.
107 (print_all_symbols): Remove forward declaration. Convert to ISO C.
108
4cfe2c59
DJ
1092006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
110
111 * po/Make-in (top_builddir): Define.
112
65ede3f4
AM
1132006-06-05 Alan Modra <amodra@bigpond.net.au>
114
115 * ldexp.c (exp_get_abs_int): Make error message the same as
116 others emitted in this file.
117
8c61c153
AM
1182006-06-05 Alan Modra <amodra@bigpond.net.au>
119
120 * config.in: Regenerate.
121
87aa7f19
AM
1222006-06-05 Alan Modra <amodra@bigpond.net.au>
123
124 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
125
e13629bc
AM
1262006-06-03 Alan Modra <amodra@bigpond.net.au>
127
128 * emultempl/elf32.em (global_found): Make it a pointer.
129 (stat_needed, try_needed): Adjust.
130 (check_needed): Don't skip non-loaded as-needed entries. Only
131 consider entries with both filename and the_bfd non-null.
132 (after_open): Try loading non-loaded as-needed libs to satisfy
133 DT_NEEDED libs.
134
e10fad12
JM
1352006-06-02 Joseph S. Myers <joseph@codesourcery.com>
136
137 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
138 * Makefile.in: Regenerate.
139
20e95c23
DJ
1402006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
141
142 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
143 and LIBINTL_DEP everywhere.
144 (INTLLIBS): Remove.
145 (INCLUDES): Use @INCINTL@.
146 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
147 Remove local code for po/Makefile.
148 * Makefile.in, configure: Regenerated.
149
24718e3b
L
1502006-05-30 H.J. Lu <hongjiu.lu@intel.com>
151
152 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
153 "CONSTANT (MAXPAGESIZE)".
154 * emulparams/armelf_nbsd.sh: Likewise.
155 * emulparams/armelf_vxworks.sh: Likewise.
156 * emulparams/armnto.sh: Likewise.
157 * emulparams/armsymbian.sh: Likewise.
158 * emulparams/crislinux.sh: Likewise.
159 * emulparams/elf32_i860.sh: Likewise.
160 * emulparams/elf32_i960.sh: Likewise.
161 * emulparams/elf32am33lin.sh: Likewise.
162 * emulparams/elf32bfinfd.sh: Likewise.
163 * emulparams/elf32bmipn32-defs.sh: Likewise.
164 * emulparams/elf32frvfd.sh: Likewise.
165 * emulparams/elf32i370.sh: Likewise.
166 * emulparams/elf32lppcnto.sh: Likewise.
167 * emulparams/elf32mcore.sh: Likewise.
168 * emulparams/elf32openrisc.sh: Likewise.
169 * emulparams/elf32ppcnto.sh: Likewise.
170 * emulparams/elf32ppcwindiss.sh: Likewise.
171 * emulparams/elf32vax.sh: Likewise.
172 * emulparams/elf32xc16x.sh: Likewise.
173 * emulparams/elf32xc16xl.sh: Likewise.
174 * emulparams/elf32xc16xs.sh: Likewise.
175 * emulparams/elf64_aix.sh: Likewise.
176 * emulparams/elf64hppa.sh: Likewise.
177 * emulparams/elf64mmix.sh: Likewise.
178 * emulparams/elf_i386_be.sh: Likewise.
179 * emulparams/elf_i386_chaos.sh: Likewise.
180 * emulparams/elf_i386_ldso.sh: Likewise.
181 * emulparams/hppa64linux.sh: Likewise.
182 * emulparams/hppalinux.sh: Likewise.
183 * emulparams/hppaobsd.sh: Likewise.
184 * emulparams/i386lynx.sh: Likewise.
185 * emulparams/i386moss.sh: Likewise.
186 * emulparams/i386nto.sh: Likewise.
187 * emulparams/i386nw.sh: Likewise.
188 * emulparams/m32relf_linux.sh: Likewise.
189 * emulparams/m68kpsos.sh: Likewise.
190 * emulparams/or32elf.sh: Likewise.
191 * emulparams/pjelf.sh: Likewise.
192 * emulparams/pjlelf.sh: Likewise.
193 * emulparams/ppclynx.sh: Likewise.
194 * emulparams/ppcnw.sh: Likewise.
195 * emulparams/shelf32_nbsd.sh : Likewise.
196 * emulparams/shelf_nbsd.sh: Likewise.
197 * emulparams/shelf_nto.sh: Likewise.
198 * emulparams/shlelf_nto.sh: Likewise.
199 * emulparams/xtensa-config.sh: Likewise.
200
201 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
202 "CONSTANT (MAXPAGESIZE)".
203 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
204 * emulparams/elf32_sparc.sh: Likewise.
205 * emulparams/elf32bmip.sh: Likewise.
206 * emulparams/elf32ppccommon.sh: Likewise.
207 * emulparams/elf64_ia64.sh: Likewise.
208 * emulparams/elf64_s390.sh: Likewise.
209 * emulparams/elf64_sparc.sh: Likewise.
210 * emulparams/elf64alpha.sh: Likewise.
211 * emulparams/elf64ppc.sh: Likewise.
212 * emulparams/elf_i386.sh: Likewise.
213 * emulparams/elf_i386_vxworks.sh: Likewise.
214 * emulparams/elf_s390.sh: Likewise.
215 * emulparams/elf_x86_64.sh: Likewise.
216 * emulparams/shlelf32_linux.sh: Likewise.
217 * emulparams/shlelf_linux.sh: Likewise.
218
219 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
220 "CONSTANT (COMMONPAGESIZE)".
221 * emulparams/elf32btsmipn32.sh: Likewise.
222
223 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
224 "-z max-page-size=" and "-z common-page-size=".
225 (gld${EMULATION_NAME}_list_options): Likewise.
226
227 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
228
229 * ld.texinfo: Document "-z max-page-size=" and
230 "-z common-page-size=".
231
232 * ldexp.c (exp_print_token): Handle CONSTANT.
233 (fold_name): Likewise.
234 * ldgram.y: Likewise.
235 * ldlex.l: Likewise.
236
237 * ldmain.c (main): Initiliaze config.maxpagesize and
238 config.commonpagesize. Call bfd_emul_set_maxpagesize if
239 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
240 config.commonpagesize config.maxpagesize isn't 0.
241
eebf07fb
NC
2422006-05-30 Nick Clifton <nickc@redhat.com>
243
244 * po/es.po: Updated Spanish translation.
245
f7661549
L
2462006-05-25 H.J. Lu <hongjiu.lu@intel.com>
247
248 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
249
314e9a4e
L
2502006-05-24 H.J. Lu <hongjiu.lu@intel.com>
251
252 PR ld/1485
253 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
254 bfd. Support 64bit host for --enable-targets=all.
255 * configure: Regenerated.
256
4a4d496a
NC
2572006-05-24 Nick Clifton <nickc@redhat.com>
258
259 * po/vi.po: Updated Vietnamese translation.
260
28c9d252
NC
2612006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
262
263 * configure.tgt: Add avr6 to emulation list.
264 * Makefile.am: Add eavr6.o and corresponding rule.
265 * Makefile.in: Regenerate.
266 * emulparams/avr6.sh: New file.
267 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
268 for target option support.
269 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
270 * scripttempl/avr.sc: Add ".trampolines" section.
271 * emultempl/avrelf.em: Add new file for target specific options.
272
b7309ada
NC
2732006-05-22 Nick Clifton <nickc@redhat.com>
274
275 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
276
f0636a44
AM
2772006-05-19 Alan Modra <amodra@bigpond.net.au>
278
279 * ldlang.c (lang_size_sections_1): Don't check mem regions for
280 os->ignored sections.
281
f86a8756
DJ
2822005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
283
284 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
285 before redoing one_lang_size_sections_pass.
286
370b66a1
CD
2872006-05-11 Carlos O'Donell <carlos@codesourcery.com>
288
289 * ld.texinfo: Rename "Index" to "LD Index"
290
53baae48
NC
2912006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
292
293 * pe-dll.c (autofilter_symbollist): Add Dllmain,
294 DllMainCRTStartup, _DllMainCRTStartup and .text.
295 (autofilter_liblist): Add libcegcc.
296 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
297 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
298 they can still contain relocs that need processing.
299 Skip the .idata$6 section.
300 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
301 (make_one): Use the new array.
302 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
303 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
304
2a60a7a8
AM
3052006-05-05 Alan Modra <amodra@bigpond.net.au>
306
307 * ld.texinfo: Document PowerPC and PowerPC64 options.
308 * gen-doc.texi: Enable.
309
38fc1cb1
DJ
3102006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
311
312 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
313 (TEXI2POD): Use AM_MAKEINFOFLAGS.
314 (configdoc.texi): Don't set top_srcdir.
315 * ld.texinfo: Don't use top_srcdir.
316 * aclocal.m4, Makefile.in: Regenerated.
317
241a6c40
AM
3182006-04-19 Alan Modra <amodra@bigpond.net.au>
319
abe6ac95
AM
320 * ldlang.c (wild): Tidy default_common_section loop.
321 (print_input_section): Format.
322
241a6c40
AM
323 * configure: Regenerate.
324
e7403566
DJ
3252006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
326
327 * po/POTFILES.in: Regenerated.
328
b030a24e
DJ
3292006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
330
331 * config.in: Regenerated.
332
a255b6c7
BW
3332006-04-14 David Heine <dlheine@tensilica.com>
334 Bob Wilson <bob.wilson@acm.org>
335
336 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
337 function to strip inconsistent linkonce sections.
338 (input_section_linked_worker, input_section_linked): New.
339 (is_inconsistent_linkonce_section): New.
340 (xtensa_strip_inconsistent_linkonce_sections): New.
341