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