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