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