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