Commit | Line | Data |
---|---|---|
99643f69 NC |
1 | 2006-09-15 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | PR ld/3107 | |
4 | * ldlang.c (lang_size_sections_1): Do not abort when encountering | |
5 | a non-empty section that is ignored. Instead produce a warning | |
6 | message. | |
7 | ||
0b8a70d9 L |
8 | 2006-09-08 H.J. Lu <hongjiu.lu@intel.com> |
9 | ||
10 | * ld.texinfo: Document --dynamic-list-cpp-typeinfo. | |
11 | ||
55255dae L |
12 | 2006-09-07 H.J. Lu <hongjiu.lu@intel.com> |
13 | ||
14 | * Makefile.am (CXX): Set to g++. | |
15 | (CXX_FOR_TARGET): Likewise. | |
16 | * Makefile.in: Regenerated. | |
17 | ||
18 | * NEWS: Mention --dynamic-list. | |
19 | ||
20 | * ld.texinfo: Document --dynamic-list. | |
21 | ||
22 | * ldgram.y: Support dynamic list. | |
23 | ||
24 | * ldlang.c (lang_process): Call lang_finalize_version_expr_head | |
25 | on link_info.dynamic if needed. | |
26 | (lang_append_dynamic_list): New. | |
27 | (lang_append_dynamic_list_cpp_typeinfo): New. | |
28 | * ldlang.h (lang_append_dynamic_list): Likewise. | |
29 | * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise. | |
30 | ||
31 | * ldlex.h (input_enum): Add input_dynamic_list. | |
32 | * ldlex.l: Handle it. | |
33 | ||
34 | * ldmain.c (main): Initialize link_info.dynamic. | |
35 | ||
36 | * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and | |
37 | OPTION_DYNAMIC_LIST_CPP_TYPEINFO. | |
38 | (ld_options): Add entries for OPTION_DYNAMIC_LIST and | |
39 | OPTION_DYNAMIC_LIST_CPP_TYPEINFO. | |
40 | (parse_args): Handle OPTION_DYNAMIC_LIST and | |
41 | OPTION_DYNAMIC_LIST_CPP_TYPEINFO. | |
42 | ||
7c94efc5 NC |
43 | 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com> |
44 | ||
45 | * emulparams/h8300elf.sh: _tinydata should not be placed in | |
46 | relocatables. | |
47 | * emulparams/h8300.sh: Likewise. | |
48 | * emulparams/h8300sxelf.sh: Likewise. | |
49 | ||
88b882e9 L |
50 | 2006-09-05 H.J. Lu <hongjiu.lu@intel.com> |
51 | ||
52 | PR ld/3015 | |
53 | * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE | |
54 | is defined. | |
55 | ||
68bbb9f7 NS |
56 | 2006-08-29 Nathan Sidwell <nathan@codesourcery.com> |
57 | ||
58 | * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match. | |
59 | ||
40cf2291 AM |
60 | 2006-08-28 Alan Modra <amodra@bigpond.net.au> |
61 | ||
62 | * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will | |
63 | not match random object files in a path containing "crtbegin" or | |
64 | "crtend" as part of a directory name. | |
65 | * scripttempl/armbpabi.sc: Likewise. | |
66 | * scripttempl/crisaout.sc: Likewise. | |
67 | * scripttempl/elf32crx.sc: Likewise. | |
68 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
69 | * scripttempl/elf_chaos.sc: Likewise. | |
70 | * scripttempl/elfd10v.sc: Likewise. | |
71 | * scripttempl/elfd30v.sc: Likewise. | |
72 | * scripttempl/elfxtensa.sc: Likewise. | |
73 | * scripttempl/iq2000.sc: Likewise. | |
74 | * scripttempl/mmo.sc: Likewise. | |
75 | * scripttempl/xstormy16.sc: Likewise. | |
76 | ||
74869ac7 BW |
77 | 2006-08-24 Bob Wilson <bob.wilson@acm.org> |
78 | ||
79 | * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*. | |
80 | * scripttempl/elfxtensa.sc (.text): Add .literal.*. | |
81 | ||
85852e36 NC |
82 | 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt> |
83 | ||
84 | * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum): | |
85 | Adjust the current address of DEFAULT_MEMORY_REGION even | |
86 | when dot hasn't changed. | |
87 | ||
3e23777d AM |
88 | 2006-08-23 Alan Modra <amodra@bigpond.net.au> |
89 | ||
90 | * ldexp.c (fold_name <LOADADDR>): Return an absolute value | |
91 | rather than a section relative value. | |
92 | ||
dc0b6aa0 AM |
93 | 2006-08-22 Alan Modra <amodra@bigpond.net.au> |
94 | ||
95 | * NEWS: Mention LMA default change. | |
96 | * ld.texinfo (Output Section LMA): Update default description. | |
97 | (Location Counter): Clarify backward movement. | |
98 | * ldlang.c (lang_size_sections_1): Leave non-alloc sections with | |
99 | default lma equal to vma. Warn on backward movement of dot. | |
100 | ||
57da97f5 NC |
101 | 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt> |
102 | ||
103 | * configure.tgt: Set targ_emul to arm_wince_pe for ARM | |
104 | Windows CE targets. | |
105 | ||
7148cc28 NC |
106 | 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt> |
107 | ||
108 | * Makefile.am: Split arm-wince into its own emulation. | |
109 | * Makefile.in: Regenerate. | |
7148cc28 NC |
110 | * pe-dll.c : Define PE_ARCH_arm_wince. |
111 | (pe_detail_list): Add PE_ARCH_arm_wince case. | |
112 | (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases. | |
113 | * emulparams/arm_wince_pe.sh: New file. | |
114 | * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define. | |
115 | Remap bfd_arm_allocate_interworking_sections, | |
116 | bfd_arm_get_bfd_for_interworking and | |
117 | bfd_arm_process_before_allocation for arm-pe and arm-wince-pe | |
118 | targets too. | |
119 | (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and | |
120 | arm-epoc bfd format names. | |
121 | ||
a4fd1a8e PB |
122 | 2006-08-18 Paul Brook <paul@codesourcery.com> |
123 | ||
124 | * emultempl/armelf.em (arm_elf_before_allocation): Call | |
125 | gld${EMULATION_NAME}_before_allocation after setting interworking bfd. | |
126 | ||
19b3b564 CF |
127 | 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt> |
128 | ||
129 | * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$. | |
130 | (generate_reloc): Revert to skipping sections without a SEC_LOAD flag, | |
131 | and to not skipping .idata* sections. | |
132 | ||
cde9e0be AM |
133 | 2006-08-16 Alan Modra <amodra@bigpond.net.au> |
134 | ||
135 | PR 3052 | |
136 | * ldlang.h (lang_output_section_statement_type): Replace | |
137 | "processed" field with "processed_vma" and "processed_lma". | |
138 | * ldlang.c (lang_do_assignments_1): Move lma setting code.. | |
139 | (lang_size_sections_1): ..to here. | |
140 | (lang_reset_memory_regions): Adjust for | |
141 | lang_output_section_statement_type change. | |
142 | * ldexp.c (fold_name): Likewise. | |
143 | ||
50571e46 MF |
144 | 2006-08-08 Peter S. Mazinger <ps.m@gmx.net> |
145 | ||
146 | * emulparams/armelf.sh (MAXPAGESIZE): Changed to | |
147 | "CONSTANT (MAXPAGESIZE)". | |
148 | ||
e6f2cbf5 L |
149 | 2006-08-08 H.J. Lu <hongjiu.lu@intel.com> |
150 | ||
151 | PR ld/3006 | |
152 | * ldlang.c (lang_section_bst_type): Moved to ... | |
153 | * ldlang.h: Here. | |
154 | ||
155 | * ldlang.h (lang_wild_statement_struct): Add a tree field. | |
156 | ||
157 | * ldlang.c (wild_sort_fast): Use the tree field for BST. | |
158 | (wild): Likeise. | |
159 | (analyze_walk_wild_section_handler): Initialize the tree field. | |
160 | ||
0d0999db L |
161 | 2006-08-08 H.J. Lu <hongjiu.lu@intel.com> |
162 | ||
163 | PR ld/3009 | |
164 | * ldlang.c (update_wild_statements): Update the whole wild | |
165 | section list. | |
166 | ||
a817dba3 | 167 | 2006-08-04 Nick Clifton <nickc@redhat.com> |
9d13c143 | 168 | Mike Frysinger <michael.frysinger@analog.com> |
a817dba3 MF |
169 | |
170 | * scripttempl/elf.sc (USER_LABEL_PREFIX): Define. | |
171 | (__preinit_array_start, __preinit_array_end, __init_array_start, | |
172 | __init_array_end, __fini_array_start, __fini_array_end, edata, end): | |
173 | Use ${USER_LABEL_PREFIX}. | |
174 | * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset. | |
175 | (USER_LABEL_PREFIX): Set. | |
176 | ||
c17d87de NC |
177 | 2006-08-04 Marcelo Tosatti <marcelo@kvack.org> |
178 | ||
179 | * ldmain.c (main): Initialise print_gc_sections field of link_info | |
180 | structure. | |
181 | * lexsup.c: Add --print-gc-sections and --no-print-gc-sections | |
182 | switches. | |
183 | * ld.texinfo: Document new switches. | |
184 | * NEWS: Mention new switches. | |
185 | ||
55e6e397 RS |
186 | 2006-08-04 Richard Sandiford <richard@codesourcery.com> |
187 | Kazu Hirata <kazu@codesourcery.com> | |
188 | Phil Edwards <phil@codesourcery.com> | |
189 | ||
190 | * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and | |
191 | eshlelf_vxworks.o. | |
192 | (eshelf_vxworks.c, eshlelf_vxworks.c): New rules. | |
193 | * Makefile.in: Regenerate. | |
194 | * configure.tgt (sh-*-vxworks): Use shelf_vxworks and | |
195 | shlelf_vxworks. | |
196 | * emulparams/shelf_vxworks.sh: New file. | |
197 | * emulparams/shlelf_vxworks.sh: Likewise. | |
198 | * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}. | |
199 | (OTHER_END_SYMBOLS): Likewise _ehdr. | |
200 | (DATA_END_SYMBOLS): Likewise _edata. | |
201 | * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd | |
202 | is indeed an ELF file before dealing with --force-dynamic. | |
203 | ||
9d7cbccd NC |
204 | 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz> |
205 | ||
206 | PR binutils/2983 | |
207 | * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as | |
208 | elf64-x86-64-freebsd. | |
209 | ||
12d814e1 L |
210 | 2006-08-01 H.J. Lu <hongjiu.lu@intel.com> |
211 | ||
212 | * ldlang.c (init_os): Add flags. Replace bfd_make_section with | |
213 | bfd_make_section_with_flags. | |
214 | (exp_init_os): Updated. | |
215 | (lang_add_section): Call init_os with flags. | |
216 | (map_input_to_output_sections): Likewise. | |
217 | ||
73934d31 RS |
218 | 2006-07-29 Richard Sandiford <richard@codesourcery.com> |
219 | ||
220 | * Makefile.am (eelf32b4300.c): Update dependencies. | |
221 | (eelf32bmip.c): Likewise. | |
222 | (eelf32bsmip.c): Likewise. | |
223 | (eelf32btsmip.c): Likewise. | |
224 | (eelf32btsmipn32.c): Likewise. | |
225 | (eelf32ltsmip.c): Likewise. | |
226 | (eelf32ltsmipn32.c): Likewise. | |
227 | (eelf32ebmip.c): Likewise. | |
228 | (eelf32ebmipvxworks.c): Likewise. | |
229 | (eelf32elmip.c): Likewise. | |
230 | (eelf32elmipvxworks.c): Likewise. | |
231 | (eelf32bmipn32.c): Likewise. | |
232 | (eelf32lmip.c): Likewise. | |
233 | (eelf32mipswindiss.c): Likewise. | |
234 | (eelf32lsmip.c): Likewise. | |
235 | (eelf64bmip.c): Likewise. | |
236 | (eelf64btsmip.c): Likewise. | |
237 | (eelf64ltsmip.c): Likewise. | |
238 | (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line. | |
239 | (emipsbsd.c): Likewise. | |
240 | (emipsidt.c): Update dependencies. | |
241 | (emipsidtl.c): Likewise. | |
242 | (emipslit.c): Likewise. | |
243 | (emipslnews.c): Likewise. | |
244 | (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation. | |
245 | * Makefile.in: Regenerate. | |
246 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define. | |
247 | * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise. | |
248 | * emultempl/irix.em: Include emultempl/mipself.em. | |
249 | * emultempl/mipself.em: New file. | |
250 | ||
00bb149b AM |
251 | 2006-07-26 Alan Modra <amodra@bigpond.net.au> |
252 | ||
253 | * emultempl/elf-generic.em (map_segments): Reorganise loop so that | |
254 | layout happens before segment map. Don't do segment map on | |
255 | relocatable link. | |
256 | ||
329c1c86 AM |
257 | 2006-07-26 Alan Modra <amodra@bigpond.net.au> |
258 | ||
66e28d60 AM |
259 | * ldexp.c (fold_name <LOADADDR>): Use the lma. |
260 | * ldlang.h (lang_memory_region_type): Delete old_length. Add | |
261 | last_os. | |
262 | * ldlang.c (lang_memory_region_lookup): Init new field. | |
263 | (lang_reset_memory_regions): Reset new field. | |
264 | (lang_insert_orphan): Don't set load_base. | |
265 | (lang_leave_overlay): Likewise. | |
266 | (lang_size_sections_1): Delete unnecessary code setting lma_region | |
267 | to region. Correct lma region check. | |
268 | (lang_do_assignments_1): Rename output_section_statement parm | |
269 | to current_os. Set lma from previous section in region. | |
270 | ||
329c1c86 AM |
271 | * ldlang.c: Formatting. |
272 | ||
b2f28975 BW |
273 | 2006-07-25 Bob Wilson <bob.wilson@acm.org> |
274 | ||
275 | * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections): | |
276 | Set discarded section's output_section to bfd_abs_section_ptr. | |
277 | ||
7544697a AM |
278 | 2006-07-26 Alan Modra <amodra@bigpond.net.au> |
279 | ||
280 | * ldlang.c (analyze_walk_wild_section_handler): Init handler_data | |
281 | earlier. | |
282 | ||
644143c8 BW |
283 | 2006-07-24 Bob Wilson <bob.wilson@acm.org> |
284 | ||
285 | * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space | |
286 | in dep_sec_name for null terminator. Make sure dep_sec_name has a | |
287 | ".t" linkonce tag. | |
288 | ||
ff15b240 NC |
289 | 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com> |
290 | ||
291 | * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME): | |
292 | Set for *-*-solaris2*. | |
293 | ||
b45619c0 NC |
294 | 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de> |
295 | ||
296 | * ld.texinfo: Fix spelling mistakes. | |
297 | * ldint.texinfo: Likewise. | |
298 | ||
50c77e5d NC |
299 | 2006-07-23 Sonal Santan <sonal.santan@xilinx.com> |
300 | ||
301 | * ldlang.c (lang_section_bst): New structure for sorting sections | |
302 | by name. | |
303 | (wild_sort_fast): New function: Insert a section into a binary | |
304 | search tree. | |
305 | (output_section_callback_fast): New function: Store a section in | |
306 | BST. | |
307 | (output_section_callback_tree_to_list): New function: Convert a | |
308 | BST into a list. | |
309 | (analyze_walk_wild_section_handler): Initialize handler_data | |
310 | elements. | |
311 | (wild): If the data is sorted by name use the BST method to sort | |
312 | the names. | |
313 | ||
5061a885 AM |
314 | 2006-07-19 Alan Modra <amodra@bigpond.net.au> |
315 | ||
316 | * ld.h (handle_asneeded_cref): Declare. | |
317 | * ldcref.c: Include objalloc.h. | |
318 | (old_table, old_count, old_tab, alloc_mark): New variables. | |
319 | (tabsize, entsize, refsize, old_symcount): Likewise. | |
320 | (add_cref): Use bfd_hash_allocate for refs. | |
321 | (handle_asneeded_cref): New function. | |
322 | * ldmain.c (notice): Call handle_asneeded_cref for NULL name. | |
323 | ||
d19628a5 DJ |
324 | 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com> |
325 | ||
326 | * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct | |
327 | typo setting targ_extra_libpath. | |
328 | ||
fdc90cb4 JJ |
329 | 2006-07-10 Jakub Jelinek <jakub@redhat.com> |
330 | ||
331 | * scripttempl/elf.sc: Add .gnu.hash section. | |
332 | * emultempl/elf32.em (OPTION_HASH_STYLE): Define. | |
333 | (gld${EMULATION_NAME}_add_options): Register --hash-style option. | |
334 | (gld${EMULATION_NAME}_handle_option): Handle it. | |
335 | (gld${EMULATION_NAME}_list_options): Document it. | |
336 | * ldmain.c (main): Initialize emit_hash and emit_gnu_hash. | |
337 | * ld.texinfo: Document --hash-style option. | |
338 | ||
b83ef3ee NC |
339 | 2006-07-10 Nick Clifton <nickc@redhat.com> |
340 | ||
341 | * po/zh_TW.po: New Chinese (traditional) translation. | |
342 | * configure.in (ALL_LINGUAS): Add zh_TW. | |
343 | * configure: Regenerate. | |
344 | ||
71ba23f6 NC |
345 | 2006-07-07 Nick Clifton <nickc@redhat.com> |
346 | ||
347 | PR ld/2874 | |
348 | * ld.texinfo: Remove "Using LD" from the title since it is | |
349 | redundant. | |
350 | ||
ba1be17e NC |
351 | 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org> |
352 | ||
71ba23f6 | 353 | PR ld/2877 |
ba1be17e NC |
354 | * ld.texinfo: Fix spelling mistakes. |
355 | ||
b1d9458a NC |
356 | 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt> |
357 | Nick Clifton <nickc@redhat.com> | |
358 | ||
359 | * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum | |
360 | length of format strings in the libname_fmt[] array, rather than | |
361 | relying upon a statically chosen value. Adjust xmalloc call to | |
362 | use this longest length. | |
363 | ||
ece2d90e NC |
364 | 2006-06-27 Nick Clifton <nickc@redhat.com> |
365 | ||
366 | * ld.texinfo (-rpath-link): Clarify distinction between -rpath and | |
367 | -rpath-link. | |
368 | ||
0faaaeb8 DJ |
369 | 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com> |
370 | ||
371 | * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set | |
372 | targ_extra_libpath. | |
373 | ||
5b8273bf NC |
374 | 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt> |
375 | ||
376 | * pe-dll.c (pe_details_type): Add new pointer for symbols list | |
377 | autofilter. | |
378 | (autofilter_symbollist): Split into autofilter_symbollist_generic | |
379 | and autofilter_symbollist_i386. | |
380 | (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and | |
381 | autofilter_symbollist_generic for all the others. | |
382 | (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll, | |
383 | cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ, | |
384 | into autofilter_symbollist_i386. | |
385 | (auto_export): Get autofilter_symbollist from pe_details. | |
386 | ||
b952b98f NC |
387 | 2006-06-22 Nick Clifton <nickc@redhat.com> |
388 | ||
389 | PR ld/2757 | |
390 | * emultempl/pe.em (gld_$_after_open): When reporting non PE format | |
391 | output files mention the file name and the fact that it is an | |
392 | output file. | |
393 | ||
45e948fe NC |
394 | 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net> |
395 | ||
396 | * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): | |
397 | Restructure. Add native "%s.lib" format to search list | |
398 | * ld.texinfo (node WIN32): Update documentation on dynamic lib | |
399 | search order. Add another reason for using import libs. | |
400 | ||
5e542ba7 MS |
401 | 2006-06-21 Mark Shinwell <shinwell@codesourcery.com> |
402 | ||
403 | * ldlang.c (lang_insert_orphan): Correctly handle the case where | |
404 | the section is to end up after the section currently at the end | |
405 | of the list in output_bfd. | |
406 | ||
a4308b79 HPN |
407 | 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com> |
408 | ||
409 | * emultempl/mmo.em: Improve comments. Explain why there's | |
410 | ELF-stuff here. | |
411 | ||
f5ff60a6 AM |
412 | 2006-06-21 Alan Modra <amodra@bigpond.net.au> |
413 | ||
414 | * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit | |
415 | loop to ten iterations. Throw away any previous linker generated | |
416 | segment map. | |
417 | * ldlang.c (lang_phdr_list): Make global. | |
418 | * ldlang.h (lang_phdr_list): Declare. | |
419 | * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps. | |
420 | * Makefile.in: Regenerate. | |
421 | ||
8ded5a0f AM |
422 | 2006-06-20 Alan Modra <amodra@bigpond.net.au> |
423 | ||
424 | * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix | |
425 | many ELF emul file deps that incorrectly said they needed elf32.em | |
426 | instead of generic.em. Add genelf.em as required. | |
427 | * Makefile.in: Regenerate. | |
428 | * ldlang.c (lang_process): Call ldemul_finish before | |
429 | lang_check_section_addresses. | |
430 | * emulparams/arcelf.sh: Generic elf target needs genelf. | |
431 | * emulparams/d30v_e.sh: Likewise. | |
432 | * emulparams/d30v_o.sh: Likewise. | |
433 | * emulparams/d30velf.sh: Likewise. | |
434 | * emulparams/elf32_dlx.sh: Likewise. | |
435 | * emulparams/elf32_i860.sh: Likewise. | |
436 | * emulparams/elf32fr30.sh: Likewise. | |
437 | * emulparams/elf32frv.sh: Likewise. | |
438 | * emulparams/elf32iq10.sh: Likewise. | |
439 | * emulparams/elf32iq2000.sh: Likewise. | |
440 | * emulparams/elf32mt.sh: Likewise. | |
441 | * emulparams/mn10200.sh: Likewise. | |
442 | * emulparams/or32.sh: Likewise. | |
443 | * emulparams/or32elf.sh: Likewise. | |
444 | * emulparams/pjelf.sh: Likewise. | |
445 | * emulparams/msp430all.sh: Likewise. Extract common entries. | |
446 | * emulparams/pjlelf.sh: Include pjelf.sh. | |
447 | * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset. | |
448 | * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset. | |
449 | * emultempl/elf-generic.em: New file. | |
450 | * emultempl/genelf.em: New file. | |
451 | * emultempl/elf32.em: Include elf-generic.em. | |
452 | (gld${EMULATION_NAME}_layout_sections_again): Delete. | |
453 | (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments. | |
454 | * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. | |
455 | (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call | |
456 | gld${EMULATION_NAME}_map_segments. | |
457 | (LDEMUL_FINISH): Update. | |
458 | * emultempl/mmo.em: Correct comment. Include elf-bfd.h and | |
459 | source elf-generic.em. | |
460 | (mmo_finish): Call gld${EMULATION_NAME}_map_segments. | |
461 | * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise. | |
462 | (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call | |
463 | gld${EMULATION_NAME}_map_segments. | |
464 | (LDEMUL_FINISH): Update. | |
465 | ||
a6b96beb AM |
466 | 2006-06-19 Alan Modra <amodra@bigpond.net.au> |
467 | ||
468 | * ldexp.c (fold_name): Adjust bfd_sizeof_headers call. | |
469 | ||
5fa222e4 AM |
470 | 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org> |
471 | ||
472 | * ld.texinfo: Document new -z lazy option. | |
473 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle | |
474 | new option. | |
475 | (gld${EMULATION_NAME}_list_options): Update help text. | |
476 | ||
ce28273f FF |
477 | 2006-06-12 Fred Fish <fnf@specifix.com> |
478 | ||
479 | * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the | |
480 | ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections | |
481 | generated by mips gcc. | |
482 | ||
7fd91fe0 TS |
483 | 2006-06-12 Thiemo Seufer <ths@mips.com> |
484 | ||
485 | * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE): | |
486 | Define. | |
487 | ||
409d7240 AM |
488 | 2006-06-09 Alan Modra <amodra@bigpond.net.au> |
489 | ||
490 | * ldlang.h (lang_input_statement_type): Use bitfields for booleans. | |
491 | * ldlang.c (struct out_section_hash_entry): Rename from | |
492 | output_statement_hash_entry. Delete output_section_statement_type | |
493 | entry. Add statement_union_type entry. Adjust all users. | |
494 | (output_section_statement_table): Rename from output_statement_table. | |
495 | Adjust all users. | |
496 | (output_section_statement_newfunc): Rename from | |
497 | output_statement_newfunc. Adjust all users. | |
498 | (output_section_statement_table_init): Rename from | |
499 | output_statement_table_init. Adjust all users. | |
500 | (output_section_statement_table_free): Rename from | |
501 | output_statement_table_free. Adjust all users. | |
502 | ||
6648b7cf JM |
503 | 2006-06-07 Joseph S. Myers <joseph@codesourcery.com> |
504 | ||
505 | * po/Make-in (pdf, ps): New dummy targets. | |
506 | ||
02a38f92 AM |
507 | 2006-06-07 Alan Modra <amodra@bigpond.net.au> |
508 | ||
509 | * ldlang.h (enum section_type): Delete dsect_section, copy_section, | |
510 | info_section and overlay_section. Add noalloc_section. | |
511 | * ldlang.c (lang_add_section): Adjust. | |
512 | * ldgram.y (type): Adjust. | |
513 | ||
e0f6802f AM |
514 | 2006-06-06 Alan Modra <amodra@bigpond.net.au> |
515 | ||
516 | * ldlang.c (init_os): Whitespace. | |
517 | (map_input_to_output_sections): Don't init_os for lang_input_section. | |
518 | (print_all_symbols): Remove forward declaration. Convert to ISO C. | |
519 | ||
4cfe2c59 DJ |
520 | 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
521 | ||
522 | * po/Make-in (top_builddir): Define. | |
523 | ||
65ede3f4 AM |
524 | 2006-06-05 Alan Modra <amodra@bigpond.net.au> |
525 | ||
526 | * ldexp.c (exp_get_abs_int): Make error message the same as | |
527 | others emitted in this file. | |
528 | ||
8c61c153 AM |
529 | 2006-06-05 Alan Modra <amodra@bigpond.net.au> |
530 | ||
531 | * config.in: Regenerate. | |
532 | ||
87aa7f19 AM |
533 | 2006-06-05 Alan Modra <amodra@bigpond.net.au> |
534 | ||
535 | * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs. | |
536 | ||
e13629bc AM |
537 | 2006-06-03 Alan Modra <amodra@bigpond.net.au> |
538 | ||
539 | * emultempl/elf32.em (global_found): Make it a pointer. | |
540 | (stat_needed, try_needed): Adjust. | |
541 | (check_needed): Don't skip non-loaded as-needed entries. Only | |
542 | consider entries with both filename and the_bfd non-null. | |
543 | (after_open): Try loading non-loaded as-needed libs to satisfy | |
544 | DT_NEEDED libs. | |
545 | ||
e10fad12 JM |
546 | 2006-06-02 Joseph S. Myers <joseph@codesourcery.com> |
547 | ||
548 | * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty. | |
549 | * Makefile.in: Regenerate. | |
550 | ||
20e95c23 DJ |
551 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
552 | ||
553 | * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL | |
554 | and LIBINTL_DEP everywhere. | |
555 | (INTLLIBS): Remove. | |
556 | (INCLUDES): Use @INCINTL@. | |
557 | * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS. | |
558 | Remove local code for po/Makefile. | |
559 | * Makefile.in, configure: Regenerated. | |
560 | ||
24718e3b L |
561 | 2006-05-30 H.J. Lu <hongjiu.lu@intel.com> |
562 | ||
563 | * emulparams/arcelf.sh (MAXPAGESIZE): Changed to | |
564 | "CONSTANT (MAXPAGESIZE)". | |
565 | * emulparams/armelf_nbsd.sh: Likewise. | |
566 | * emulparams/armelf_vxworks.sh: Likewise. | |
567 | * emulparams/armnto.sh: Likewise. | |
568 | * emulparams/armsymbian.sh: Likewise. | |
569 | * emulparams/crislinux.sh: Likewise. | |
570 | * emulparams/elf32_i860.sh: Likewise. | |
571 | * emulparams/elf32_i960.sh: Likewise. | |
572 | * emulparams/elf32am33lin.sh: Likewise. | |
573 | * emulparams/elf32bfinfd.sh: Likewise. | |
574 | * emulparams/elf32bmipn32-defs.sh: Likewise. | |
575 | * emulparams/elf32frvfd.sh: Likewise. | |
576 | * emulparams/elf32i370.sh: Likewise. | |
577 | * emulparams/elf32lppcnto.sh: Likewise. | |
578 | * emulparams/elf32mcore.sh: Likewise. | |
579 | * emulparams/elf32openrisc.sh: Likewise. | |
580 | * emulparams/elf32ppcnto.sh: Likewise. | |
581 | * emulparams/elf32ppcwindiss.sh: Likewise. | |
582 | * emulparams/elf32vax.sh: Likewise. | |
583 | * emulparams/elf32xc16x.sh: Likewise. | |
584 | * emulparams/elf32xc16xl.sh: Likewise. | |
585 | * emulparams/elf32xc16xs.sh: Likewise. | |
586 | * emulparams/elf64_aix.sh: Likewise. | |
587 | * emulparams/elf64hppa.sh: Likewise. | |
588 | * emulparams/elf64mmix.sh: Likewise. | |
589 | * emulparams/elf_i386_be.sh: Likewise. | |
590 | * emulparams/elf_i386_chaos.sh: Likewise. | |
591 | * emulparams/elf_i386_ldso.sh: Likewise. | |
592 | * emulparams/hppa64linux.sh: Likewise. | |
593 | * emulparams/hppalinux.sh: Likewise. | |
594 | * emulparams/hppaobsd.sh: Likewise. | |
595 | * emulparams/i386lynx.sh: Likewise. | |
596 | * emulparams/i386moss.sh: Likewise. | |
597 | * emulparams/i386nto.sh: Likewise. | |
598 | * emulparams/i386nw.sh: Likewise. | |
599 | * emulparams/m32relf_linux.sh: Likewise. | |
600 | * emulparams/m68kpsos.sh: Likewise. | |
601 | * emulparams/or32elf.sh: Likewise. | |
602 | * emulparams/pjelf.sh: Likewise. | |
603 | * emulparams/pjlelf.sh: Likewise. | |
604 | * emulparams/ppclynx.sh: Likewise. | |
605 | * emulparams/ppcnw.sh: Likewise. | |
606 | * emulparams/shelf32_nbsd.sh : Likewise. | |
607 | * emulparams/shelf_nbsd.sh: Likewise. | |
608 | * emulparams/shelf_nto.sh: Likewise. | |
609 | * emulparams/shlelf_nto.sh: Likewise. | |
610 | * emulparams/xtensa-config.sh: Likewise. | |
611 | ||
612 | * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to | |
613 | "CONSTANT (MAXPAGESIZE)". | |
614 | (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)". | |
615 | * emulparams/elf32_sparc.sh: Likewise. | |
616 | * emulparams/elf32bmip.sh: Likewise. | |
617 | * emulparams/elf32ppccommon.sh: Likewise. | |
618 | * emulparams/elf64_ia64.sh: Likewise. | |
619 | * emulparams/elf64_s390.sh: Likewise. | |
620 | * emulparams/elf64_sparc.sh: Likewise. | |
621 | * emulparams/elf64alpha.sh: Likewise. | |
622 | * emulparams/elf64ppc.sh: Likewise. | |
623 | * emulparams/elf_i386.sh: Likewise. | |
624 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
625 | * emulparams/elf_s390.sh: Likewise. | |
626 | * emulparams/elf_x86_64.sh: Likewise. | |
627 | * emulparams/shlelf32_linux.sh: Likewise. | |
628 | * emulparams/shlelf_linux.sh: Likewise. | |
629 | ||
630 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to | |
631 | "CONSTANT (COMMONPAGESIZE)". | |
632 | * emulparams/elf32btsmipn32.sh: Likewise. | |
633 | ||
634 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add | |
635 | "-z max-page-size=" and "-z common-page-size=". | |
636 | (gld${EMULATION_NAME}_list_options): Likewise. | |
637 | ||
638 | * ld.h (ld_config_type): Add maxpagesize and commonpagesize. | |
639 | ||
640 | * ld.texinfo: Document "-z max-page-size=" and | |
641 | "-z common-page-size=". | |
642 | ||
643 | * ldexp.c (exp_print_token): Handle CONSTANT. | |
644 | (fold_name): Likewise. | |
645 | * ldgram.y: Likewise. | |
646 | * ldlex.l: Likewise. | |
647 | ||
648 | * ldmain.c (main): Initiliaze config.maxpagesize and | |
649 | config.commonpagesize. Call bfd_emul_set_maxpagesize if | |
650 | config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if | |
651 | config.commonpagesize config.maxpagesize isn't 0. | |
652 | ||
eebf07fb NC |
653 | 2006-05-30 Nick Clifton <nickc@redhat.com> |
654 | ||
655 | * po/es.po: Updated Spanish translation. | |
656 | ||
f7661549 L |
657 | 2006-05-25 H.J. Lu <hongjiu.lu@intel.com> |
658 | ||
659 | * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000. | |
660 | ||
314e9a4e L |
661 | 2006-05-24 H.J. Lu <hongjiu.lu@intel.com> |
662 | ||
663 | PR ld/1485 | |
664 | * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit | |
665 | bfd. Support 64bit host for --enable-targets=all. | |
666 | * configure: Regenerated. | |
667 | ||
4a4d496a NC |
668 | 2006-05-24 Nick Clifton <nickc@redhat.com> |
669 | ||
670 | * po/vi.po: Updated Vietnamese translation. | |
671 | ||
28c9d252 NC |
672 | 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de> |
673 | ||
674 | * configure.tgt: Add avr6 to emulation list. | |
675 | * Makefile.am: Add eavr6.o and corresponding rule. | |
676 | * Makefile.in: Regenerate. | |
677 | * emulparams/avr6.sh: New file. | |
678 | * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic | |
679 | for target option support. | |
680 | (EXTRA_EM_FILE): Add reference to new em template file avrelf. | |
681 | * scripttempl/avr.sc: Add ".trampolines" section. | |
682 | * emultempl/avrelf.em: Add new file for target specific options. | |
683 | ||
b7309ada NC |
684 | 2006-05-22 Nick Clifton <nickc@redhat.com> |
685 | ||
686 | * scripttempl/elf32crx.sc (.rdata): Add .rodata.*. | |
687 | ||
f0636a44 AM |
688 | 2006-05-19 Alan Modra <amodra@bigpond.net.au> |
689 | ||
690 | * ldlang.c (lang_size_sections_1): Don't check mem regions for | |
691 | os->ignored sections. | |
692 | ||
f86a8756 DJ |
693 | 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> |
694 | ||
695 | * ldlang.c (lang_size_sections): Call lang_reset_memory_regions | |
696 | before redoing one_lang_size_sections_pass. | |
697 | ||
370b66a1 CD |
698 | 2006-05-11 Carlos O'Donell <carlos@codesourcery.com> |
699 | ||
700 | * ld.texinfo: Rename "Index" to "LD Index" | |
701 | ||
53baae48 NC |
702 | 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt> |
703 | ||
704 | * pe-dll.c (autofilter_symbollist): Add Dllmain, | |
705 | DllMainCRTStartup, _DllMainCRTStartup and .text. | |
706 | (autofilter_liblist): Add libcegcc. | |
707 | (autofilter_symbolprefixlist): Add __imp_ and .idata$. | |
708 | (generate_reloc): Do not skip sections without a SEC_LOAD flag, | |
709 | they can still contain relocs that need processing. | |
710 | Skip the .idata$6 section. | |
711 | (jmp_arm_bytes): New array: Contains byte codes for an ARM jump. | |
712 | (make_one): Use the new array. | |
713 | (make_import_fixup_entry): Use .idata$2 instead of .idata$3. | |
714 | * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe. | |
715 | ||
2a60a7a8 AM |
716 | 2006-05-05 Alan Modra <amodra@bigpond.net.au> |
717 | ||
718 | * ld.texinfo: Document PowerPC and PowerPC64 options. | |
719 | * gen-doc.texi: Enable. | |
720 | ||
38fc1cb1 DJ |
721 | 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com> |
722 | ||
723 | * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty. | |
724 | (TEXI2POD): Use AM_MAKEINFOFLAGS. | |
725 | (configdoc.texi): Don't set top_srcdir. | |
726 | * ld.texinfo: Don't use top_srcdir. | |
727 | * aclocal.m4, Makefile.in: Regenerated. | |
728 | ||
241a6c40 AM |
729 | 2006-04-19 Alan Modra <amodra@bigpond.net.au> |
730 | ||
abe6ac95 AM |
731 | * ldlang.c (wild): Tidy default_common_section loop. |
732 | (print_input_section): Format. | |
733 | ||
241a6c40 AM |
734 | * configure: Regenerate. |
735 | ||
e7403566 DJ |
736 | 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com> |
737 | ||
738 | * po/POTFILES.in: Regenerated. | |
739 | ||
b030a24e DJ |
740 | 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com> |
741 | ||
742 | * config.in: Regenerated. | |
743 | ||
a255b6c7 BW |
744 | 2006-04-14 David Heine <dlheine@tensilica.com> |
745 | Bob Wilson <bob.wilson@acm.org> | |
746 | ||
747 | * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new | |
748 | function to strip inconsistent linkonce sections. | |
749 | (input_section_linked_worker, input_section_linked): New. | |
750 | (is_inconsistent_linkonce_section): New. | |
751 | (xtensa_strip_inconsistent_linkonce_sections): New. | |
752 |