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