Commit | Line | Data |
---|---|---|
eb3d5f3b JB |
1 | 2006-12-04 Jan Beulich <jbeulich@novell.com> |
2 | ||
3 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create | |
4 | .eh_frame_hdr section here. | |
5 | ||
71afa711 ILT |
6 | 2006-11-27 Ian Lance Taylor <ian@airs.com> |
7 | ||
8 | * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl | |
9 | subdirectory. | |
10 | * Makefile.in: Regenerate. | |
11 | ||
2caa7ca0 BW |
12 | 2006-11-27 Bob Wilson <bob.wilson@acm.org> |
13 | ||
14 | * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition. | |
15 | (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags. | |
16 | Delete redundant code to set sections flags and alignment. | |
17 | (xt_config_info_unpack_and_check, check_xtensa_info): New. | |
18 | (elf_xtensa_after_open): Iterate over input statements instead of | |
19 | link_info.input_bfds. | |
20 | (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for | |
21 | each input, and write a new .xtensa.info section in the output. | |
22 | ||
221ca466 NC |
23 | 2006-11-22 Nick Clifton <nickc@redhat.com> |
24 | ||
25 | * configure.in (LINGUAS): Add ga. | |
26 | * po/ga.po: New Irish translation. | |
27 | ||
0f6bf451 L |
28 | 2006-11-20 H.J. Lu <hongjiu.lu@intel.com> |
29 | ||
30 | * ld.texinfo: Fix a typo. | |
31 | ||
f99ab86e AM |
32 | 2006-11-20 Alan Modra <amodra@bigpond.net.au> |
33 | ||
34 | * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define. | |
35 | ||
d504ffc8 DJ |
36 | 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com> |
37 | ||
38 | * emultempl/armelf.em (arm_elf_before_allocation): Only call | |
39 | bfd_elf32_arm_process_before_allocation if no dynamic sections. | |
40 | ||
9e3be61d AM |
41 | 2006-11-08 Alan Modra <amodra@bigpond.net.au> |
42 | ||
43 | * emultempl/elf32.em (gld*_before_allocation): Adjust output section | |
44 | size for warning sections. | |
45 | ||
bc251d50 VP |
46 | 2006-11-06 Vladimir Prus <vladimir@codesourcery.com> |
47 | ||
9e3be61d AM |
48 | * emultempl/elf32.em (gld*_before_allocation): Don't prepend |
49 | "warning" to the message. | |
bc251d50 | 50 | |
e916811a CF |
51 | 2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt> |
52 | ||
53 | * pe-dll.c (autofilter_entry_type): Change name to const. | |
54 | (pe_details_type) : Change target_name, object_target and | |
55 | autofilter_symbollist to const. | |
56 | (autofilter_symbollist_generic): Change to const. | |
57 | (autofilter_symbollist_i386, pe_detail_list, pe_details, | |
58 | autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist, | |
59 | autofilter_symbolsuffixlist): Likewise. | |
60 | (is_import): Fix indentation. | |
61 | (auto_export): Change afptr to const. Move name declaration to | |
62 | beginning of scope. | |
63 | (make_tail): Clear undefined byte. | |
64 | (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change | |
65 | to const. | |
66 | (make_one): Change jmp_bytes to const. Make idata$6 member size | |
67 | arithmetic explicit and add comment. | |
68 | ||
c0f00686 L |
69 | 2006-10-30 H.J. Lu <hongjiu.lu@intel.com> |
70 | ||
71 | PR ld/3111 | |
72 | * ld.h (args_type): Remove reduce_memory_overheads. | |
73 | ||
74 | * ldlang.c (lang_map): Updated. | |
75 | (section_already_linked): Likewise. | |
76 | (print_input_section): Likewise. | |
77 | * ldmain.c (main): Likewise. | |
78 | * lexsup.c (parse_args): Likewise. | |
79 | ||
4e986257 CF |
80 | 2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt> |
81 | ||
82 | * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator. | |
83 | ||
a14a5de3 AM |
84 | 2006-10-27 Alan Modra <amodra@bigpond.net.au> |
85 | ||
86 | * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP | |
87 | sections have been discarded. | |
88 | (lang_do_version_exports_section): Set SEC_KEEP on export section. | |
89 | * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning | |
90 | sections. | |
91 | ||
fffbd2ef JM |
92 | 2006-10-26 Joseph S. Myers <joseph@codesourcery.com> |
93 | Mark Mitchell <mark@codesourcery.com> | |
94 | ||
95 | * configure.tgt (arm*linux*): Support both big- and little-endian. | |
96 | ||
1bc214ba L |
97 | 2006-10-25 H.J. Lu <hongjiu.lu@intel.com> |
98 | ||
99 | * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ... | |
100 | (OTHER_BSS_SECTIONS): This. | |
101 | * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS. | |
102 | (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS. | |
103 | ||
e9f53129 AM |
104 | 2006-10-25 Alan Modra <amodra@bigpond.net.au> |
105 | Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> | |
106 | Yukishige Shibata <shibata@rd.scei.sony.co.jp> | |
107 | Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp> | |
108 | Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp> | |
109 | ||
110 | * emulparams/elf32_spu.sh: New file. | |
111 | * emultempl/spu_inc.s: New file. | |
112 | * emultempl/spu_ovl.S: New file. | |
113 | * emultempl/spu_ovl.o: New file. | |
114 | * emultempl/spuelf.em: New file. | |
115 | * Makefile.am: Add SPU support. | |
116 | * configure.tgt: Likewise. | |
117 | * ldlang.c (load_symbols): Make global. | |
118 | * ldlang.h (load_symbols): Declare. | |
119 | * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add. | |
120 | * Makefile.in: Regenerate. | |
121 | ||
058a363d BE |
122 | 2006-10-24 Ben Elliston <bje@au.ibm.com> |
123 | ||
124 | * lexsup.c (parse_args): Add a comment noting a fall-through. | |
125 | ||
a3ffa599 L |
126 | 2006-10-24 H.J. Lu <hongjiu.lu@intel.com> |
127 | ||
128 | * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h. | |
129 | * configure: Regenerated. | |
130 | * config.in: Likewise. | |
131 | ||
a0976ea4 AM |
132 | 2006-10-23 Alan Modra <amodra@bigpond.net.au> |
133 | ||
19163ab3 AM |
134 | * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't |
135 | set section address on a relocatable link. | |
136 | ||
a0976ea4 AM |
137 | * ld.texinfo (Output Section Discarding): Fix xref. |
138 | ||
30bebb95 KK |
139 | 2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
140 | ||
141 | * emulparams/shelf32.sh: Set default stack to 0x80000. | |
142 | * emulparams/shelf64.sh: Likewise. | |
143 | ||
5427f821 RS |
144 | 2006-10-20 Richard Sandiford <richard@codesourcery.com> |
145 | ||
146 | * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define. | |
147 | * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise. | |
148 | ||
2f475487 AM |
149 | 2006-10-19 Alan Modra <amodra@bigpond.net.au> |
150 | ||
151 | * emultempl/armelf.em (arm_elf_before_allocation): Run | |
152 | gld${EMULATION_NAME}_before_allocation later. | |
153 | * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change. | |
154 | ||
71a75f6f MF |
155 | 2006-10-18 Roy Marples <uberlord@gentoo.org> |
156 | ||
2f475487 AM |
157 | * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as |
158 | elf64-sparc-freebsd. | |
71a75f6f | 159 | |
e4818e07 JM |
160 | 2006-10-18 Joseph Myers <joseph@codesourcery.com> |
161 | ||
162 | * configure.tgt (i[3-7]86-*-linux-*): Also define | |
163 | targ_extra_libpath in want64 case. | |
164 | * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as | |
165 | x86_64*-linux*. | |
166 | ||
5a8e7be2 AM |
167 | 2006-10-17 Alan Modra <amodra@bigpond.net.au> |
168 | ||
169 | * scripttempl/elf.sc (INTERP): Delete. Move definition to.. | |
170 | (INITIAL_READONLY_SECTIONS): ..here. | |
171 | * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp. | |
172 | * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto. | |
173 | * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto. | |
174 | ||
74541ad4 AM |
175 | 2006-10-17 Alan Modra <amodra@bigpond.net.au> |
176 | ||
177 | * ldlang.c (strip_excluded_output_sections): Do strip sections | |
178 | that define syms, but don't ignore them. | |
179 | * ld.texinfo (Output Section Discarding): Revise. | |
180 | * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call | |
181 | finish_default. | |
182 | ||
94bb04b3 RS |
183 | 2006-10-16 Richard Sandiford <richard@codesourcery.com> |
184 | ||
185 | * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh. | |
186 | (eelf64btsmip.c, eelf64ltsmip.c): Likewise. | |
187 | * Makefile.in: Regenerate. | |
188 | * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include | |
189 | .reginfo rather than .MIPS.options. | |
190 | * emulparams/elf64bmip-defs.sh: New file. | |
191 | * emulparams/elf64bmip.sh: Include it. | |
192 | (COMMONPAGESIZE): Delete. | |
193 | * emulparams/elf64btsmip.sh: As for elf64bmip.sh. | |
194 | ||
a77dc2cc BW |
195 | 2006-10-12 Bob Wilson <bob.wilson@acm.org> |
196 | ||
197 | * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check | |
198 | for linkonce XCC exception tables (".e" and ".h"). | |
199 | ||
3c173cb1 BW |
200 | 2006-10-11 Bob Wilson <bob.wilson@acm.org> |
201 | ||
202 | * emulparams/elf32xtensa.sh (TEXT_PLT): Enable. | |
203 | (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections. | |
204 | (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections. | |
205 | (OTHER_SDATA_SECTIONS): New. | |
206 | * scripttempl/elfxtensa.sc: Import changes from elf.sc. | |
207 | ||
07806542 JJ |
208 | 2006-10-11 Jakub Jelinek <jakub@redhat.com> |
209 | ||
210 | * ldlang.c (lang_append_dynamic_list): When appending, add all elements | |
211 | of the dynamic list rather than just the first entry. | |
212 | ||
ba05963f BW |
213 | 2006-10-10 Bob Wilson <bob.wilson@acm.org> |
214 | ||
215 | * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable. | |
216 | ||
33423b7f MF |
217 | 2006-10-06 Mike Frysinger <vapier@gentoo.org> |
218 | ||
219 | * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot. | |
220 | ||
a9c70046 BW |
221 | 2006-10-04 Bob Wilson <bob.wilson@acm.org> |
222 | ||
223 | * emulparams/xtensa-config.sh: Delete file. | |
224 | * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including | |
225 | xtensa-config.sh. | |
226 | * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh. | |
227 | * Makefile.in: Regenerate. | |
228 | ||
00479ba8 NC |
229 | 2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt> |
230 | ||
231 | * pe-dll.c : Fix typo. | |
232 | (autofilter_symbolprefixlist) : Remove __imp_. | |
233 | (is_import) : New. | |
234 | (auto-export) : Remove re-import check. Moved to callers. | |
235 | (process_def_file) : Check is symbol is an import. Always | |
236 | underscore __imp_. | |
237 | Only skip underscore on underscored targets. | |
238 | (make_one) : Always underscore __imp_. | |
239 | (pe_create_runtime_relocator_reference) : Only underscore | |
240 | _pei386_runtime_relocator on underscored targets. | |
241 | (pe_process_import_defs) : Always underscore __imp_. | |
242 | * pe.em (U) : New macro. | |
243 | (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup | |
244 | on wince subsystem case. | |
245 | (pe_find_data_imports) : Use U on "_head_". | |
246 | (gld_${EMULATION_NAME}_unrecognized_file) : Use U. | |
247 | ||
49c13adb L |
248 | 2006-09-26 H.J. Lu <hongjiu.lu@intel.com> |
249 | ||
250 | PR ld/3223 | |
251 | PR ld/3267 | |
252 | * ld.texinfo: Updated Output Section Discarding. | |
253 | ||
254 | * ldlang.h (lang_output_section_statement_type): Add | |
255 | section_relative_symbol. | |
256 | * ldlang.c (strip_excluded_output_sections): Don't strip a | |
257 | section with a symbol relative to it. | |
258 | (lang_size_sections_1): Mark if an output section has a symbol | |
259 | symbol relative to it. | |
260 | ||
3c68c38f BW |
261 | 2006-09-25 Bob Wilson <bob.wilson@acm.org> |
262 | ||
263 | * ld.texinfo (Options): Update description of local symbols for -X. | |
264 | ||
779dafb4 L |
265 | 2006-09-23 H.J. Lu <hongjiu.lu@intel.com> |
266 | ||
267 | PR ld/3249 | |
268 | * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality* | |
269 | and .gnu.linkonce.wi.* sections with .data and .debug_info for | |
270 | relocatable link. | |
271 | ||
99ad8390 NC |
272 | 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com> |
273 | ||
274 | * configure.in: Add new target x86_64-pc-mingw64. | |
275 | * configure: Regenerate. | |
276 | * configure.tgt: Add definition of target emulation i386pep. | |
277 | * Makefile.am: Add new target files for target-all. | |
278 | * Makefile.in: Regenerate. | |
279 | * pe-dll.c: Adjust to be inheritable by pep_dll.c as include. | |
280 | Fix memory out of bounds excess for idata relocation section data. | |
281 | * pep-dll.c: Add target specific shared object handling. | |
282 | * pep-dll.h: Add target specific definitions for shared object handling. | |
283 | * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff. | |
284 | * emultempl/pep.em: Add new emulation file for target x86_64 coff. | |
285 | * po/POTFILES.in: Regenerate. | |
286 | * scripttempl/pep.sc: Add linker script template for target x86_64 coff. | |
287 | * NEWS: Mention new target. | |
288 | ||
6f693073 TS |
289 | 2006-09-18 Thiemo Seufer <ths@networkno.de> |
290 | ||
291 | * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf* | |
292 | configurations. | |
293 | ||
1c0d3aa6 NC |
294 | 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn> |
295 | ||
296 | * emulparams/scoreelf.sh: New file. | |
297 | * emultempl/scoreelf.em: New file. | |
298 | * Makefile.am: Add Score files. | |
299 | * Makefile.in: Regenerate. | |
300 | * configure.tgt: Add Score target. | |
301 | * NEWS: Mention new target support. | |
19163ab3 | 302 | |
0112cd26 NC |
303 | 2006-09-16 Nick Clifton <nickc@redhat.com> |
304 | Pedro Alves <pedro_alves@portugalmail.pt> | |
305 | ||
306 | * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ | |
307 | macros defined in bfd.h. | |
308 | * ldmain.c: Likewise. | |
309 | * ldwrite.c: Likewise. | |
310 | * lexsup.c: Likewise. | |
311 | * pe-dll.c: Likewise. | |
312 | * emultempl/aix.em: Likewise. | |
313 | * emultempl/beos.em: Likewise. | |
314 | * emultempl/elf32.em: Likewise. | |
315 | * emultempl/pe.em: Likewise. | |
316 | * emultempl/sunos.em: Likewise. | |
317 | * emultempl/xtensaelf.em: Likewise. | |
318 | ||
99643f69 NC |
319 | 2006-09-15 Nick Clifton <nickc@redhat.com> |
320 | ||
321 | PR ld/3107 | |
322 | * ldlang.c (lang_size_sections_1): Do not abort when encountering | |
323 | a non-empty section that is ignored. Instead produce a warning | |
324 | message. | |
325 | ||
0b8a70d9 L |
326 | 2006-09-08 H.J. Lu <hongjiu.lu@intel.com> |
327 | ||
328 | * ld.texinfo: Document --dynamic-list-cpp-typeinfo. | |
329 | ||
55255dae L |
330 | 2006-09-07 H.J. Lu <hongjiu.lu@intel.com> |
331 | ||
332 | * Makefile.am (CXX): Set to g++. | |
333 | (CXX_FOR_TARGET): Likewise. | |
334 | * Makefile.in: Regenerated. | |
335 | ||
336 | * NEWS: Mention --dynamic-list. | |
337 | ||
338 | * ld.texinfo: Document --dynamic-list. | |
339 | ||
340 | * ldgram.y: Support dynamic list. | |
341 | ||
342 | * ldlang.c (lang_process): Call lang_finalize_version_expr_head | |
343 | on link_info.dynamic if needed. | |
344 | (lang_append_dynamic_list): New. | |
345 | (lang_append_dynamic_list_cpp_typeinfo): New. | |
346 | * ldlang.h (lang_append_dynamic_list): Likewise. | |
347 | * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise. | |
348 | ||
349 | * ldlex.h (input_enum): Add input_dynamic_list. | |
350 | * ldlex.l: Handle it. | |
351 | ||
352 | * ldmain.c (main): Initialize link_info.dynamic. | |
353 | ||
354 | * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and | |
355 | OPTION_DYNAMIC_LIST_CPP_TYPEINFO. | |
356 | (ld_options): Add entries for OPTION_DYNAMIC_LIST and | |
357 | OPTION_DYNAMIC_LIST_CPP_TYPEINFO. | |
358 | (parse_args): Handle OPTION_DYNAMIC_LIST and | |
359 | OPTION_DYNAMIC_LIST_CPP_TYPEINFO. | |
360 | ||
7c94efc5 NC |
361 | 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com> |
362 | ||
363 | * emulparams/h8300elf.sh: _tinydata should not be placed in | |
364 | relocatables. | |
365 | * emulparams/h8300.sh: Likewise. | |
366 | * emulparams/h8300sxelf.sh: Likewise. | |
367 | ||
88b882e9 L |
368 | 2006-09-05 H.J. Lu <hongjiu.lu@intel.com> |
369 | ||
370 | PR ld/3015 | |
371 | * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE | |
372 | is defined. | |
373 | ||
68bbb9f7 NS |
374 | 2006-08-29 Nathan Sidwell <nathan@codesourcery.com> |
375 | ||
376 | * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match. | |
377 | ||
40cf2291 AM |
378 | 2006-08-28 Alan Modra <amodra@bigpond.net.au> |
379 | ||
380 | * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will | |
381 | not match random object files in a path containing "crtbegin" or | |
382 | "crtend" as part of a directory name. | |
383 | * scripttempl/armbpabi.sc: Likewise. | |
384 | * scripttempl/crisaout.sc: Likewise. | |
385 | * scripttempl/elf32crx.sc: Likewise. | |
386 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
387 | * scripttempl/elf_chaos.sc: Likewise. | |
388 | * scripttempl/elfd10v.sc: Likewise. | |
389 | * scripttempl/elfd30v.sc: Likewise. | |
390 | * scripttempl/elfxtensa.sc: Likewise. | |
391 | * scripttempl/iq2000.sc: Likewise. | |
392 | * scripttempl/mmo.sc: Likewise. | |
393 | * scripttempl/xstormy16.sc: Likewise. | |
394 | ||
74869ac7 BW |
395 | 2006-08-24 Bob Wilson <bob.wilson@acm.org> |
396 | ||
397 | * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*. | |
398 | * scripttempl/elfxtensa.sc (.text): Add .literal.*. | |
399 | ||
85852e36 NC |
400 | 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt> |
401 | ||
402 | * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum): | |
403 | Adjust the current address of DEFAULT_MEMORY_REGION even | |
404 | when dot hasn't changed. | |
405 | ||
3e23777d AM |
406 | 2006-08-23 Alan Modra <amodra@bigpond.net.au> |
407 | ||
408 | * ldexp.c (fold_name <LOADADDR>): Return an absolute value | |
19163ab3 | 409 | rather than a section relative value. |
3e23777d | 410 | |
dc0b6aa0 AM |
411 | 2006-08-22 Alan Modra <amodra@bigpond.net.au> |
412 | ||
413 | * NEWS: Mention LMA default change. | |
414 | * ld.texinfo (Output Section LMA): Update default description. | |
415 | (Location Counter): Clarify backward movement. | |
416 | * ldlang.c (lang_size_sections_1): Leave non-alloc sections with | |
417 | default lma equal to vma. Warn on backward movement of dot. | |
418 | ||
57da97f5 NC |
419 | 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt> |
420 | ||
421 | * configure.tgt: Set targ_emul to arm_wince_pe for ARM | |
422 | Windows CE targets. | |
423 | ||
7148cc28 NC |
424 | 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt> |
425 | ||
426 | * Makefile.am: Split arm-wince into its own emulation. | |
427 | * Makefile.in: Regenerate. | |
7148cc28 NC |
428 | * pe-dll.c : Define PE_ARCH_arm_wince. |
429 | (pe_detail_list): Add PE_ARCH_arm_wince case. | |
430 | (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases. | |
431 | * emulparams/arm_wince_pe.sh: New file. | |
432 | * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define. | |
433 | Remap bfd_arm_allocate_interworking_sections, | |
434 | bfd_arm_get_bfd_for_interworking and | |
19163ab3 | 435 | bfd_arm_process_before_allocation for arm-pe and arm-wince-pe |
7148cc28 | 436 | targets too. |
19163ab3 | 437 | (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and |
7148cc28 NC |
438 | arm-epoc bfd format names. |
439 | ||
a4fd1a8e PB |
440 | 2006-08-18 Paul Brook <paul@codesourcery.com> |
441 | ||
442 | * emultempl/armelf.em (arm_elf_before_allocation): Call | |
443 | gld${EMULATION_NAME}_before_allocation after setting interworking bfd. | |
444 | ||
19b3b564 CF |
445 | 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt> |
446 | ||
447 | * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$. | |
448 | (generate_reloc): Revert to skipping sections without a SEC_LOAD flag, | |
449 | and to not skipping .idata* sections. | |
450 | ||
cde9e0be AM |
451 | 2006-08-16 Alan Modra <amodra@bigpond.net.au> |
452 | ||
453 | PR 3052 | |
454 | * ldlang.h (lang_output_section_statement_type): Replace | |
455 | "processed" field with "processed_vma" and "processed_lma". | |
456 | * ldlang.c (lang_do_assignments_1): Move lma setting code.. | |
457 | (lang_size_sections_1): ..to here. | |
458 | (lang_reset_memory_regions): Adjust for | |
459 | lang_output_section_statement_type change. | |
460 | * ldexp.c (fold_name): Likewise. | |
461 | ||
50571e46 MF |
462 | 2006-08-08 Peter S. Mazinger <ps.m@gmx.net> |
463 | ||
464 | * emulparams/armelf.sh (MAXPAGESIZE): Changed to | |
465 | "CONSTANT (MAXPAGESIZE)". | |
466 | ||
e6f2cbf5 L |
467 | 2006-08-08 H.J. Lu <hongjiu.lu@intel.com> |
468 | ||
469 | PR ld/3006 | |
470 | * ldlang.c (lang_section_bst_type): Moved to ... | |
471 | * ldlang.h: Here. | |
472 | ||
473 | * ldlang.h (lang_wild_statement_struct): Add a tree field. | |
474 | ||
475 | * ldlang.c (wild_sort_fast): Use the tree field for BST. | |
476 | (wild): Likeise. | |
477 | (analyze_walk_wild_section_handler): Initialize the tree field. | |
478 | ||
0d0999db L |
479 | 2006-08-08 H.J. Lu <hongjiu.lu@intel.com> |
480 | ||
481 | PR ld/3009 | |
482 | * ldlang.c (update_wild_statements): Update the whole wild | |
483 | section list. | |
484 | ||
a817dba3 | 485 | 2006-08-04 Nick Clifton <nickc@redhat.com> |
9d13c143 | 486 | Mike Frysinger <michael.frysinger@analog.com> |
a817dba3 MF |
487 | |
488 | * scripttempl/elf.sc (USER_LABEL_PREFIX): Define. | |
489 | (__preinit_array_start, __preinit_array_end, __init_array_start, | |
490 | __init_array_end, __fini_array_start, __fini_array_end, edata, end): | |
491 | Use ${USER_LABEL_PREFIX}. | |
492 | * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset. | |
493 | (USER_LABEL_PREFIX): Set. | |
494 | ||
c17d87de NC |
495 | 2006-08-04 Marcelo Tosatti <marcelo@kvack.org> |
496 | ||
497 | * ldmain.c (main): Initialise print_gc_sections field of link_info | |
498 | structure. | |
499 | * lexsup.c: Add --print-gc-sections and --no-print-gc-sections | |
500 | switches. | |
501 | * ld.texinfo: Document new switches. | |
502 | * NEWS: Mention new switches. | |
503 | ||
55e6e397 RS |
504 | 2006-08-04 Richard Sandiford <richard@codesourcery.com> |
505 | Kazu Hirata <kazu@codesourcery.com> | |
506 | Phil Edwards <phil@codesourcery.com> | |
507 | ||
508 | * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and | |
509 | eshlelf_vxworks.o. | |
510 | (eshelf_vxworks.c, eshlelf_vxworks.c): New rules. | |
511 | * Makefile.in: Regenerate. | |
512 | * configure.tgt (sh-*-vxworks): Use shelf_vxworks and | |
513 | shlelf_vxworks. | |
514 | * emulparams/shelf_vxworks.sh: New file. | |
515 | * emulparams/shlelf_vxworks.sh: Likewise. | |
516 | * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}. | |
517 | (OTHER_END_SYMBOLS): Likewise _ehdr. | |
518 | (DATA_END_SYMBOLS): Likewise _edata. | |
519 | * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd | |
520 | is indeed an ELF file before dealing with --force-dynamic. | |
521 | ||
9d7cbccd NC |
522 | 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz> |
523 | ||
524 | PR binutils/2983 | |
525 | * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as | |
526 | elf64-x86-64-freebsd. | |
527 | ||
12d814e1 L |
528 | 2006-08-01 H.J. Lu <hongjiu.lu@intel.com> |
529 | ||
530 | * ldlang.c (init_os): Add flags. Replace bfd_make_section with | |
531 | bfd_make_section_with_flags. | |
532 | (exp_init_os): Updated. | |
533 | (lang_add_section): Call init_os with flags. | |
534 | (map_input_to_output_sections): Likewise. | |
535 | ||
73934d31 RS |
536 | 2006-07-29 Richard Sandiford <richard@codesourcery.com> |
537 | ||
538 | * Makefile.am (eelf32b4300.c): Update dependencies. | |
539 | (eelf32bmip.c): Likewise. | |
540 | (eelf32bsmip.c): Likewise. | |
541 | (eelf32btsmip.c): Likewise. | |
542 | (eelf32btsmipn32.c): Likewise. | |
543 | (eelf32ltsmip.c): Likewise. | |
544 | (eelf32ltsmipn32.c): Likewise. | |
545 | (eelf32ebmip.c): Likewise. | |
546 | (eelf32ebmipvxworks.c): Likewise. | |
547 | (eelf32elmip.c): Likewise. | |
548 | (eelf32elmipvxworks.c): Likewise. | |
549 | (eelf32bmipn32.c): Likewise. | |
550 | (eelf32lmip.c): Likewise. | |
551 | (eelf32mipswindiss.c): Likewise. | |
552 | (eelf32lsmip.c): Likewise. | |
553 | (eelf64bmip.c): Likewise. | |
554 | (eelf64btsmip.c): Likewise. | |
555 | (eelf64ltsmip.c): Likewise. | |
556 | (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line. | |
557 | (emipsbsd.c): Likewise. | |
558 | (emipsidt.c): Update dependencies. | |
559 | (emipsidtl.c): Likewise. | |
560 | (emipslit.c): Likewise. | |
561 | (emipslnews.c): Likewise. | |
562 | (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation. | |
563 | * Makefile.in: Regenerate. | |
564 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define. | |
565 | * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise. | |
566 | * emultempl/irix.em: Include emultempl/mipself.em. | |
567 | * emultempl/mipself.em: New file. | |
568 | ||
00bb149b AM |
569 | 2006-07-26 Alan Modra <amodra@bigpond.net.au> |
570 | ||
571 | * emultempl/elf-generic.em (map_segments): Reorganise loop so that | |
572 | layout happens before segment map. Don't do segment map on | |
573 | relocatable link. | |
574 | ||
329c1c86 AM |
575 | 2006-07-26 Alan Modra <amodra@bigpond.net.au> |
576 | ||
66e28d60 AM |
577 | * ldexp.c (fold_name <LOADADDR>): Use the lma. |
578 | * ldlang.h (lang_memory_region_type): Delete old_length. Add | |
579 | last_os. | |
580 | * ldlang.c (lang_memory_region_lookup): Init new field. | |
581 | (lang_reset_memory_regions): Reset new field. | |
582 | (lang_insert_orphan): Don't set load_base. | |
583 | (lang_leave_overlay): Likewise. | |
584 | (lang_size_sections_1): Delete unnecessary code setting lma_region | |
585 | to region. Correct lma region check. | |
586 | (lang_do_assignments_1): Rename output_section_statement parm | |
587 | to current_os. Set lma from previous section in region. | |
588 | ||
329c1c86 AM |
589 | * ldlang.c: Formatting. |
590 | ||
b2f28975 BW |
591 | 2006-07-25 Bob Wilson <bob.wilson@acm.org> |
592 | ||
593 | * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections): | |
594 | Set discarded section's output_section to bfd_abs_section_ptr. | |
595 | ||
7544697a AM |
596 | 2006-07-26 Alan Modra <amodra@bigpond.net.au> |
597 | ||
598 | * ldlang.c (analyze_walk_wild_section_handler): Init handler_data | |
599 | earlier. | |
600 | ||
644143c8 BW |
601 | 2006-07-24 Bob Wilson <bob.wilson@acm.org> |
602 | ||
603 | * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space | |
604 | in dep_sec_name for null terminator. Make sure dep_sec_name has a | |
605 | ".t" linkonce tag. | |
606 | ||
ff15b240 NC |
607 | 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com> |
608 | ||
609 | * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME): | |
610 | Set for *-*-solaris2*. | |
611 | ||
b45619c0 NC |
612 | 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de> |
613 | ||
614 | * ld.texinfo: Fix spelling mistakes. | |
615 | * ldint.texinfo: Likewise. | |
616 | ||
50c77e5d NC |
617 | 2006-07-23 Sonal Santan <sonal.santan@xilinx.com> |
618 | ||
619 | * ldlang.c (lang_section_bst): New structure for sorting sections | |
620 | by name. | |
621 | (wild_sort_fast): New function: Insert a section into a binary | |
622 | search tree. | |
623 | (output_section_callback_fast): New function: Store a section in | |
624 | BST. | |
625 | (output_section_callback_tree_to_list): New function: Convert a | |
626 | BST into a list. | |
627 | (analyze_walk_wild_section_handler): Initialize handler_data | |
628 | elements. | |
629 | (wild): If the data is sorted by name use the BST method to sort | |
630 | the names. | |
631 | ||
5061a885 AM |
632 | 2006-07-19 Alan Modra <amodra@bigpond.net.au> |
633 | ||
634 | * ld.h (handle_asneeded_cref): Declare. | |
635 | * ldcref.c: Include objalloc.h. | |
636 | (old_table, old_count, old_tab, alloc_mark): New variables. | |
637 | (tabsize, entsize, refsize, old_symcount): Likewise. | |
638 | (add_cref): Use bfd_hash_allocate for refs. | |
639 | (handle_asneeded_cref): New function. | |
640 | * ldmain.c (notice): Call handle_asneeded_cref for NULL name. | |
641 | ||
d19628a5 DJ |
642 | 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com> |
643 | ||
644 | * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct | |
645 | typo setting targ_extra_libpath. | |
646 | ||
fdc90cb4 JJ |
647 | 2006-07-10 Jakub Jelinek <jakub@redhat.com> |
648 | ||
649 | * scripttempl/elf.sc: Add .gnu.hash section. | |
650 | * emultempl/elf32.em (OPTION_HASH_STYLE): Define. | |
651 | (gld${EMULATION_NAME}_add_options): Register --hash-style option. | |
652 | (gld${EMULATION_NAME}_handle_option): Handle it. | |
653 | (gld${EMULATION_NAME}_list_options): Document it. | |
654 | * ldmain.c (main): Initialize emit_hash and emit_gnu_hash. | |
655 | * ld.texinfo: Document --hash-style option. | |
656 | ||
b83ef3ee NC |
657 | 2006-07-10 Nick Clifton <nickc@redhat.com> |
658 | ||
659 | * po/zh_TW.po: New Chinese (traditional) translation. | |
660 | * configure.in (ALL_LINGUAS): Add zh_TW. | |
661 | * configure: Regenerate. | |
662 | ||
71ba23f6 NC |
663 | 2006-07-07 Nick Clifton <nickc@redhat.com> |
664 | ||
665 | PR ld/2874 | |
666 | * ld.texinfo: Remove "Using LD" from the title since it is | |
667 | redundant. | |
668 | ||
ba1be17e NC |
669 | 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org> |
670 | ||
71ba23f6 | 671 | PR ld/2877 |
ba1be17e NC |
672 | * ld.texinfo: Fix spelling mistakes. |
673 | ||
b1d9458a NC |
674 | 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt> |
675 | Nick Clifton <nickc@redhat.com> | |
676 | ||
677 | * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum | |
678 | length of format strings in the libname_fmt[] array, rather than | |
679 | relying upon a statically chosen value. Adjust xmalloc call to | |
680 | use this longest length. | |
681 | ||
ece2d90e NC |
682 | 2006-06-27 Nick Clifton <nickc@redhat.com> |
683 | ||
684 | * ld.texinfo (-rpath-link): Clarify distinction between -rpath and | |
685 | -rpath-link. | |
686 | ||
0faaaeb8 DJ |
687 | 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com> |
688 | ||
689 | * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set | |
690 | targ_extra_libpath. | |
691 | ||
5b8273bf NC |
692 | 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt> |
693 | ||
694 | * pe-dll.c (pe_details_type): Add new pointer for symbols list | |
19163ab3 | 695 | autofilter. |
5b8273bf NC |
696 | (autofilter_symbollist): Split into autofilter_symbollist_generic |
697 | and autofilter_symbollist_i386. | |
698 | (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and | |
699 | autofilter_symbollist_generic for all the others. | |
700 | (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll, | |
701 | cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ, | |
702 | into autofilter_symbollist_i386. | |
703 | (auto_export): Get autofilter_symbollist from pe_details. | |
704 | ||
b952b98f NC |
705 | 2006-06-22 Nick Clifton <nickc@redhat.com> |
706 | ||
707 | PR ld/2757 | |
708 | * emultempl/pe.em (gld_$_after_open): When reporting non PE format | |
709 | output files mention the file name and the fact that it is an | |
710 | output file. | |
711 | ||
45e948fe NC |
712 | 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net> |
713 | ||
19163ab3 | 714 | * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): |
45e948fe NC |
715 | Restructure. Add native "%s.lib" format to search list |
716 | * ld.texinfo (node WIN32): Update documentation on dynamic lib | |
19163ab3 | 717 | search order. Add another reason for using import libs. |
45e948fe | 718 | |
5e542ba7 MS |
719 | 2006-06-21 Mark Shinwell <shinwell@codesourcery.com> |
720 | ||
721 | * ldlang.c (lang_insert_orphan): Correctly handle the case where | |
722 | the section is to end up after the section currently at the end | |
723 | of the list in output_bfd. | |
724 | ||
a4308b79 HPN |
725 | 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com> |
726 | ||
727 | * emultempl/mmo.em: Improve comments. Explain why there's | |
728 | ELF-stuff here. | |
729 | ||
f5ff60a6 AM |
730 | 2006-06-21 Alan Modra <amodra@bigpond.net.au> |
731 | ||
732 | * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit | |
733 | loop to ten iterations. Throw away any previous linker generated | |
734 | segment map. | |
735 | * ldlang.c (lang_phdr_list): Make global. | |
736 | * ldlang.h (lang_phdr_list): Declare. | |
737 | * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps. | |
738 | * Makefile.in: Regenerate. | |
739 | ||
8ded5a0f AM |
740 | 2006-06-20 Alan Modra <amodra@bigpond.net.au> |
741 | ||
742 | * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix | |
743 | many ELF emul file deps that incorrectly said they needed elf32.em | |
744 | instead of generic.em. Add genelf.em as required. | |
745 | * Makefile.in: Regenerate. | |
746 | * ldlang.c (lang_process): Call ldemul_finish before | |
747 | lang_check_section_addresses. | |
748 | * emulparams/arcelf.sh: Generic elf target needs genelf. | |
749 | * emulparams/d30v_e.sh: Likewise. | |
750 | * emulparams/d30v_o.sh: Likewise. | |
751 | * emulparams/d30velf.sh: Likewise. | |
752 | * emulparams/elf32_dlx.sh: Likewise. | |
753 | * emulparams/elf32_i860.sh: Likewise. | |
754 | * emulparams/elf32fr30.sh: Likewise. | |
755 | * emulparams/elf32frv.sh: Likewise. | |
756 | * emulparams/elf32iq10.sh: Likewise. | |
757 | * emulparams/elf32iq2000.sh: Likewise. | |
758 | * emulparams/elf32mt.sh: Likewise. | |
759 | * emulparams/mn10200.sh: Likewise. | |
760 | * emulparams/or32.sh: Likewise. | |
761 | * emulparams/or32elf.sh: Likewise. | |
762 | * emulparams/pjelf.sh: Likewise. | |
763 | * emulparams/msp430all.sh: Likewise. Extract common entries. | |
764 | * emulparams/pjlelf.sh: Include pjelf.sh. | |
765 | * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset. | |
766 | * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset. | |
767 | * emultempl/elf-generic.em: New file. | |
768 | * emultempl/genelf.em: New file. | |
769 | * emultempl/elf32.em: Include elf-generic.em. | |
770 | (gld${EMULATION_NAME}_layout_sections_again): Delete. | |
771 | (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments. | |
772 | * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. | |
773 | (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call | |
774 | gld${EMULATION_NAME}_map_segments. | |
775 | (LDEMUL_FINISH): Update. | |
776 | * emultempl/mmo.em: Correct comment. Include elf-bfd.h and | |
777 | source elf-generic.em. | |
778 | (mmo_finish): Call gld${EMULATION_NAME}_map_segments. | |
779 | * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise. | |
780 | (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call | |
781 | gld${EMULATION_NAME}_map_segments. | |
782 | (LDEMUL_FINISH): Update. | |
783 | ||
a6b96beb AM |
784 | 2006-06-19 Alan Modra <amodra@bigpond.net.au> |
785 | ||
786 | * ldexp.c (fold_name): Adjust bfd_sizeof_headers call. | |
787 | ||
5fa222e4 AM |
788 | 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org> |
789 | ||
790 | * ld.texinfo: Document new -z lazy option. | |
791 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle | |
792 | new option. | |
793 | (gld${EMULATION_NAME}_list_options): Update help text. | |
794 | ||
ce28273f FF |
795 | 2006-06-12 Fred Fish <fnf@specifix.com> |
796 | ||
797 | * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the | |
798 | ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections | |
799 | generated by mips gcc. | |
800 | ||
7fd91fe0 TS |
801 | 2006-06-12 Thiemo Seufer <ths@mips.com> |
802 | ||
803 | * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE): | |
804 | Define. | |
805 | ||
409d7240 AM |
806 | 2006-06-09 Alan Modra <amodra@bigpond.net.au> |
807 | ||
808 | * ldlang.h (lang_input_statement_type): Use bitfields for booleans. | |
809 | * ldlang.c (struct out_section_hash_entry): Rename from | |
810 | output_statement_hash_entry. Delete output_section_statement_type | |
811 | entry. Add statement_union_type entry. Adjust all users. | |
812 | (output_section_statement_table): Rename from output_statement_table. | |
813 | Adjust all users. | |
814 | (output_section_statement_newfunc): Rename from | |
815 | output_statement_newfunc. Adjust all users. | |
816 | (output_section_statement_table_init): Rename from | |
817 | output_statement_table_init. Adjust all users. | |
818 | (output_section_statement_table_free): Rename from | |
819 | output_statement_table_free. Adjust all users. | |
820 | ||
6648b7cf JM |
821 | 2006-06-07 Joseph S. Myers <joseph@codesourcery.com> |
822 | ||
823 | * po/Make-in (pdf, ps): New dummy targets. | |
824 | ||
02a38f92 AM |
825 | 2006-06-07 Alan Modra <amodra@bigpond.net.au> |
826 | ||
827 | * ldlang.h (enum section_type): Delete dsect_section, copy_section, | |
828 | info_section and overlay_section. Add noalloc_section. | |
829 | * ldlang.c (lang_add_section): Adjust. | |
830 | * ldgram.y (type): Adjust. | |
831 | ||
e0f6802f AM |
832 | 2006-06-06 Alan Modra <amodra@bigpond.net.au> |
833 | ||
834 | * ldlang.c (init_os): Whitespace. | |
835 | (map_input_to_output_sections): Don't init_os for lang_input_section. | |
836 | (print_all_symbols): Remove forward declaration. Convert to ISO C. | |
837 | ||
4cfe2c59 DJ |
838 | 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
839 | ||
840 | * po/Make-in (top_builddir): Define. | |
841 | ||
65ede3f4 AM |
842 | 2006-06-05 Alan Modra <amodra@bigpond.net.au> |
843 | ||
844 | * ldexp.c (exp_get_abs_int): Make error message the same as | |
845 | others emitted in this file. | |
846 | ||
8c61c153 AM |
847 | 2006-06-05 Alan Modra <amodra@bigpond.net.au> |
848 | ||
849 | * config.in: Regenerate. | |
850 | ||
87aa7f19 AM |
851 | 2006-06-05 Alan Modra <amodra@bigpond.net.au> |
852 | ||
853 | * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs. | |
854 | ||
e13629bc AM |
855 | 2006-06-03 Alan Modra <amodra@bigpond.net.au> |
856 | ||
857 | * emultempl/elf32.em (global_found): Make it a pointer. | |
858 | (stat_needed, try_needed): Adjust. | |
859 | (check_needed): Don't skip non-loaded as-needed entries. Only | |
860 | consider entries with both filename and the_bfd non-null. | |
861 | (after_open): Try loading non-loaded as-needed libs to satisfy | |
862 | DT_NEEDED libs. | |
863 | ||
e10fad12 JM |
864 | 2006-06-02 Joseph S. Myers <joseph@codesourcery.com> |
865 | ||
866 | * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty. | |
867 | * Makefile.in: Regenerate. | |
868 | ||
20e95c23 DJ |
869 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
870 | ||
871 | * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL | |
872 | and LIBINTL_DEP everywhere. | |
873 | (INTLLIBS): Remove. | |
874 | (INCLUDES): Use @INCINTL@. | |
875 | * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS. | |
876 | Remove local code for po/Makefile. | |
877 | * Makefile.in, configure: Regenerated. | |
878 | ||
24718e3b L |
879 | 2006-05-30 H.J. Lu <hongjiu.lu@intel.com> |
880 | ||
881 | * emulparams/arcelf.sh (MAXPAGESIZE): Changed to | |
882 | "CONSTANT (MAXPAGESIZE)". | |
883 | * emulparams/armelf_nbsd.sh: Likewise. | |
884 | * emulparams/armelf_vxworks.sh: Likewise. | |
885 | * emulparams/armnto.sh: Likewise. | |
886 | * emulparams/armsymbian.sh: Likewise. | |
887 | * emulparams/crislinux.sh: Likewise. | |
888 | * emulparams/elf32_i860.sh: Likewise. | |
889 | * emulparams/elf32_i960.sh: Likewise. | |
890 | * emulparams/elf32am33lin.sh: Likewise. | |
891 | * emulparams/elf32bfinfd.sh: Likewise. | |
892 | * emulparams/elf32bmipn32-defs.sh: Likewise. | |
893 | * emulparams/elf32frvfd.sh: Likewise. | |
894 | * emulparams/elf32i370.sh: Likewise. | |
895 | * emulparams/elf32lppcnto.sh: Likewise. | |
896 | * emulparams/elf32mcore.sh: Likewise. | |
897 | * emulparams/elf32openrisc.sh: Likewise. | |
898 | * emulparams/elf32ppcnto.sh: Likewise. | |
899 | * emulparams/elf32ppcwindiss.sh: Likewise. | |
900 | * emulparams/elf32vax.sh: Likewise. | |
901 | * emulparams/elf32xc16x.sh: Likewise. | |
902 | * emulparams/elf32xc16xl.sh: Likewise. | |
903 | * emulparams/elf32xc16xs.sh: Likewise. | |
904 | * emulparams/elf64_aix.sh: Likewise. | |
905 | * emulparams/elf64hppa.sh: Likewise. | |
906 | * emulparams/elf64mmix.sh: Likewise. | |
907 | * emulparams/elf_i386_be.sh: Likewise. | |
908 | * emulparams/elf_i386_chaos.sh: Likewise. | |
909 | * emulparams/elf_i386_ldso.sh: Likewise. | |
910 | * emulparams/hppa64linux.sh: Likewise. | |
911 | * emulparams/hppalinux.sh: Likewise. | |
912 | * emulparams/hppaobsd.sh: Likewise. | |
913 | * emulparams/i386lynx.sh: Likewise. | |
914 | * emulparams/i386moss.sh: Likewise. | |
915 | * emulparams/i386nto.sh: Likewise. | |
916 | * emulparams/i386nw.sh: Likewise. | |
917 | * emulparams/m32relf_linux.sh: Likewise. | |
918 | * emulparams/m68kpsos.sh: Likewise. | |
919 | * emulparams/or32elf.sh: Likewise. | |
920 | * emulparams/pjelf.sh: Likewise. | |
921 | * emulparams/pjlelf.sh: Likewise. | |
922 | * emulparams/ppclynx.sh: Likewise. | |
923 | * emulparams/ppcnw.sh: Likewise. | |
924 | * emulparams/shelf32_nbsd.sh : Likewise. | |
925 | * emulparams/shelf_nbsd.sh: Likewise. | |
926 | * emulparams/shelf_nto.sh: Likewise. | |
927 | * emulparams/shlelf_nto.sh: Likewise. | |
928 | * emulparams/xtensa-config.sh: Likewise. | |
929 | ||
930 | * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to | |
931 | "CONSTANT (MAXPAGESIZE)". | |
932 | (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)". | |
933 | * emulparams/elf32_sparc.sh: Likewise. | |
934 | * emulparams/elf32bmip.sh: Likewise. | |
935 | * emulparams/elf32ppccommon.sh: Likewise. | |
936 | * emulparams/elf64_ia64.sh: Likewise. | |
937 | * emulparams/elf64_s390.sh: Likewise. | |
938 | * emulparams/elf64_sparc.sh: Likewise. | |
939 | * emulparams/elf64alpha.sh: Likewise. | |
940 | * emulparams/elf64ppc.sh: Likewise. | |
941 | * emulparams/elf_i386.sh: Likewise. | |
942 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
943 | * emulparams/elf_s390.sh: Likewise. | |
944 | * emulparams/elf_x86_64.sh: Likewise. | |
945 | * emulparams/shlelf32_linux.sh: Likewise. | |
946 | * emulparams/shlelf_linux.sh: Likewise. | |
947 | ||
948 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to | |
949 | "CONSTANT (COMMONPAGESIZE)". | |
950 | * emulparams/elf32btsmipn32.sh: Likewise. | |
951 | ||
952 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add | |
953 | "-z max-page-size=" and "-z common-page-size=". | |
954 | (gld${EMULATION_NAME}_list_options): Likewise. | |
955 | ||
956 | * ld.h (ld_config_type): Add maxpagesize and commonpagesize. | |
957 | ||
958 | * ld.texinfo: Document "-z max-page-size=" and | |
959 | "-z common-page-size=". | |
960 | ||
961 | * ldexp.c (exp_print_token): Handle CONSTANT. | |
962 | (fold_name): Likewise. | |
963 | * ldgram.y: Likewise. | |
964 | * ldlex.l: Likewise. | |
965 | ||
966 | * ldmain.c (main): Initiliaze config.maxpagesize and | |
967 | config.commonpagesize. Call bfd_emul_set_maxpagesize if | |
968 | config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if | |
969 | config.commonpagesize config.maxpagesize isn't 0. | |
970 | ||
eebf07fb NC |
971 | 2006-05-30 Nick Clifton <nickc@redhat.com> |
972 | ||
973 | * po/es.po: Updated Spanish translation. | |
974 | ||
f7661549 L |
975 | 2006-05-25 H.J. Lu <hongjiu.lu@intel.com> |
976 | ||
977 | * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000. | |
978 | ||
314e9a4e L |
979 | 2006-05-24 H.J. Lu <hongjiu.lu@intel.com> |
980 | ||
981 | PR ld/1485 | |
982 | * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit | |
983 | bfd. Support 64bit host for --enable-targets=all. | |
984 | * configure: Regenerated. | |
985 | ||
4a4d496a NC |
986 | 2006-05-24 Nick Clifton <nickc@redhat.com> |
987 | ||
988 | * po/vi.po: Updated Vietnamese translation. | |
989 | ||
19163ab3 | 990 | 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de> |
28c9d252 NC |
991 | |
992 | * configure.tgt: Add avr6 to emulation list. | |
993 | * Makefile.am: Add eavr6.o and corresponding rule. | |
994 | * Makefile.in: Regenerate. | |
995 | * emulparams/avr6.sh: New file. | |
996 | * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic | |
997 | for target option support. | |
998 | (EXTRA_EM_FILE): Add reference to new em template file avrelf. | |
19163ab3 | 999 | * scripttempl/avr.sc: Add ".trampolines" section. |
28c9d252 NC |
1000 | * emultempl/avrelf.em: Add new file for target specific options. |
1001 | ||
b7309ada NC |
1002 | 2006-05-22 Nick Clifton <nickc@redhat.com> |
1003 | ||
1004 | * scripttempl/elf32crx.sc (.rdata): Add .rodata.*. | |
1005 | ||
f0636a44 AM |
1006 | 2006-05-19 Alan Modra <amodra@bigpond.net.au> |
1007 | ||
1008 | * ldlang.c (lang_size_sections_1): Don't check mem regions for | |
1009 | os->ignored sections. | |
1010 | ||
f86a8756 DJ |
1011 | 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> |
1012 | ||
1013 | * ldlang.c (lang_size_sections): Call lang_reset_memory_regions | |
1014 | before redoing one_lang_size_sections_pass. | |
1015 | ||
370b66a1 CD |
1016 | 2006-05-11 Carlos O'Donell <carlos@codesourcery.com> |
1017 | ||
19163ab3 | 1018 | * ld.texinfo: Rename "Index" to "LD Index" |
370b66a1 | 1019 | |
53baae48 NC |
1020 | 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt> |
1021 | ||
1022 | * pe-dll.c (autofilter_symbollist): Add Dllmain, | |
1023 | DllMainCRTStartup, _DllMainCRTStartup and .text. | |
1024 | (autofilter_liblist): Add libcegcc. | |
1025 | (autofilter_symbolprefixlist): Add __imp_ and .idata$. | |
1026 | (generate_reloc): Do not skip sections without a SEC_LOAD flag, | |
1027 | they can still contain relocs that need processing. | |
1028 | Skip the .idata$6 section. | |
1029 | (jmp_arm_bytes): New array: Contains byte codes for an ARM jump. | |
1030 | (make_one): Use the new array. | |
1031 | (make_import_fixup_entry): Use .idata$2 instead of .idata$3. | |
1032 | * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe. | |
1033 | ||
2a60a7a8 AM |
1034 | 2006-05-05 Alan Modra <amodra@bigpond.net.au> |
1035 | ||
1036 | * ld.texinfo: Document PowerPC and PowerPC64 options. | |
1037 | * gen-doc.texi: Enable. | |
1038 | ||
38fc1cb1 DJ |
1039 | 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com> |
1040 | ||
1041 | * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty. | |
1042 | (TEXI2POD): Use AM_MAKEINFOFLAGS. | |
1043 | (configdoc.texi): Don't set top_srcdir. | |
1044 | * ld.texinfo: Don't use top_srcdir. | |
1045 | * aclocal.m4, Makefile.in: Regenerated. | |
1046 | ||
241a6c40 AM |
1047 | 2006-04-19 Alan Modra <amodra@bigpond.net.au> |
1048 | ||
abe6ac95 AM |
1049 | * ldlang.c (wild): Tidy default_common_section loop. |
1050 | (print_input_section): Format. | |
1051 | ||
241a6c40 AM |
1052 | * configure: Regenerate. |
1053 | ||
e7403566 DJ |
1054 | 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com> |
1055 | ||
1056 | * po/POTFILES.in: Regenerated. | |
1057 | ||
b030a24e DJ |
1058 | 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com> |
1059 | ||
1060 | * config.in: Regenerated. | |
1061 | ||
a255b6c7 BW |
1062 | 2006-04-14 David Heine <dlheine@tensilica.com> |
1063 | Bob Wilson <bob.wilson@acm.org> | |
1064 | ||
1065 | * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new | |
1066 | function to strip inconsistent linkonce sections. | |
1067 | (input_section_linked_worker, input_section_linked): New. | |
1068 | (is_inconsistent_linkonce_section): New. | |
1069 | (xtensa_strip_inconsistent_linkonce_sections): New. | |
1070 |