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