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