Commit | Line | Data |
---|---|---|
17f73277 KT |
1 | 2010-04-27 Kai Tietz <kai.tietz@onevision.com> |
2 | ||
3 | * pe-dll.c (_nm_-symbols): Use always underscored variant | |
4 | for symbols. | |
5 | (__imp_-symbols): Likewise. | |
6 | (___imp_-symbols): Likewise. | |
7 | * NEWS: Mention ABI change for x64 PE-COFF. | |
8 | ||
7ad2014a L |
9 | 2010-04-27 H.J. Lu <hongjiu.lu@intel.com> |
10 | ||
11 | * Makefile.am (install-exec-local): Properly install ld as | |
12 | default cross linker. | |
13 | * Makefile.in: Regenerated. | |
14 | ||
4fda8867 NC |
15 | 2010-04-27 H.J. Lu <hongjiu.lu@intel.com> |
16 | Nick Clifton <nickc@redhat.com> | |
17 | ||
18 | * configure.in (install_as_default): Define and set to true | |
19 | unless --enable-gold=both/gold has been specified. | |
20 | * configure: Regenerate. | |
21 | ||
22 | * Makefile.am (transform): Use ld.bfd as the default name of | |
23 | the linker. | |
24 | (install-exec-local): Also install the executable as a binary | |
25 | named 'ld' if install_as_default is true. | |
26 | * Makefile.in: Regenerate. | |
27 | ||
9c9c98a5 NC |
28 | 2010-04-22 Nick Clifton <nickc@redhat.com> |
29 | ||
30 | * po/ld.pot: Updated by the Translation project. | |
31 | * po/vi.po: Updated Vietnamese translation. | |
32 | * po/bg.po: Updated Bulgarian translation. | |
33 | ||
85fdf906 AH |
34 | 2010-04-15 Andrew Haley <aph@redhat.com> |
35 | ||
36 | * emultempl/armelf.em (merge_exidx_entries): New variable. | |
37 | (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition. | |
38 | ("no-merge-exidx-entries"): New option. | |
39 | * ld.texinfo (merge-exidx-entries): Document this option. | |
40 | ||
8b351884 TG |
41 | 2010-04-14 Tristan Gingold <gingold@adacore.com> |
42 | ||
43 | * emulparams/alphavms.sh: New file. | |
44 | * emultempl/vms.em: New file. | |
45 | * scripttempl/alphavms.sc: New file. | |
46 | * configure.tgt (alpha*-*-*vms*): Added. | |
47 | * Makefile.am (ALL_EMULATIONS): Add ealphavms.o | |
48 | (ealphavms.c): New target. | |
49 | * Makefile.in: Regenerate. | |
50 | ||
3d540e93 NC |
51 | 2010-04-09 Nick Clifton <nickc@redhat.com> |
52 | ||
53 | * ldlang.c (wild_sort): Remove unused variable section_name. | |
54 | ||
397841b5 AM |
55 | 2010-04-07 Alan Modra <amodra@gmail.com> |
56 | ||
57 | * configure: Regenerate. | |
58 | ||
6f8bcf84 L |
59 | 2010-04-06 H.J. Lu <hongjiu.lu@intel.com> |
60 | ||
61 | PR ld/11434 | |
62 | * ld/testsuite/ld-x86-64/unique1.d: New. | |
63 | * ld/testsuite/ld-x86-64/unique1.s: Likewise. | |
64 | ||
65 | * ld-x86-64/x86-64.exp: Run unique1. | |
66 | ||
522f09cd KT |
67 | 2010-04-05 Kai Tietz <kai.tietz@onevision.com> |
68 | ||
69 | * emultempl/pep.em (U): Macro modified. | |
70 | (U_SIZE): New helper macro. | |
71 | (GET_INIT_SYMBOL_NAME): Likewise. | |
72 | (enum options): Add OPTION_NO_LEADING_UNDERSCORE | |
73 | and OPTION_LEADING_UNDERSCORE enumerator-values. | |
74 | (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore | |
75 | option. | |
76 | (definfo): Add new member is_c_symbol. | |
77 | (D): Add to macro underscore mode parameter. | |
78 | (init): Add definition for is_c_symbol. | |
79 | (gld_${EMULATION_NAME}_list_options): Display new options. | |
80 | (set_pep_name): Adjust underscoring dependent fixed | |
81 | symbol handling. | |
82 | (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
83 | (saw_option): Likewise. | |
84 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
85 | (set_entry_point): Initial initial_symbol_char dependent to | |
86 | target's default and new option flag pep_leading_underscore. | |
87 | * emultempl/pe.em (U): Macro modified. | |
88 | (U_SIZE): New helper macro. | |
89 | (GET_INIT_SYMBOL_NAME): Likewise. | |
90 | (OPTION_LEADING_UNDERSCORE): Add new option define. | |
91 | (OPTION_NO_LEADING_UNDERSCORE): Likewise. | |
92 | (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore | |
93 | option. | |
94 | (definfo): Add new member is_c_symbol. | |
95 | (D): Add to macro underscore mode parameter. | |
96 | (init): Add definition for is_c_symbol. | |
97 | (gld_${EMULATION_NAME}_list_options): Display new options. | |
98 | (set_pep_name): Adjust underscoring dependent fixed | |
99 | symbol handling. | |
100 | (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
101 | (saw_option): Likewise. | |
102 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
103 | (set_entry_point): Initial initial_symbol_char dependent to | |
104 | target's default and new option flag pep_leading_underscore. | |
105 | * pe-dll.c (pe_leading_underscore): New flag variable. | |
106 | (pe_detail_list): Remove const to allow modify of | |
107 | member underscore. | |
108 | (pe_dll_id_target): Initialize pe_details' underscore variable | |
109 | dependent to target's default and flag pe_leading_underscore. | |
110 | * pe-dll.h (pe_leading_underscore): Add extern declaration of | |
111 | option flag. | |
112 | * pep-dll.c (pe_leading_underscore): Add alias define for | |
113 | pep_leading_underscore. | |
114 | * pep-dll.h (pep_leading_underscore) Add extern declaration of | |
115 | option flag. | |
116 | * ld.texinfo: Add documentation for --(no-)leading-underscore | |
117 | option. | |
118 | ||
edc314c9 AM |
119 | 2010-03-26 Alan Modra <amodra@gmail.com> |
120 | ||
121 | PR ld/11426 | |
122 | * configure.host (many linux targets <HOSTING_CRT0>): Remove edits. | |
123 | (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo. | |
124 | ||
40b36596 JM |
125 | 2010-03-25 Joseph Myers <joseph@codesourcery.com> |
126 | ||
127 | * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and | |
128 | eelf32_tic6x_le.o. | |
129 | (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New. | |
130 | * NEWS: Add news entry for TI C6X support. | |
131 | * configure.tgt (tic6x-*-*): New. | |
132 | * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New. | |
133 | ||
349e935b JM |
134 | 2010-03-23 Joseph Myers <joseph@codesourcery.com> |
135 | ||
136 | * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME, | |
137 | BSS_NAME): Define if not already defined. Use in place of some | |
138 | hardcoded section names. | |
139 | ||
576ee33a L |
140 | 2010-03-18 H.J. Lu <hongjiu.lu@intel.com> |
141 | ||
142 | * scripttempl/elf.sc (INIT_ARRAY): Re-indent. | |
143 | ||
54801c2d NC |
144 | 2010-03-18 Aymeric Vincent <vincent@labri.fr> |
145 | ||
146 | PR ld/11384 | |
147 | * emultempl/sh64elf.em: Add missing EOF. | |
148 | ||
17299ac7 NC |
149 | 2010-03-18 Doug Semler <dougsemler@gmail.com> |
150 | ||
151 | * pe-dll.c (make_one): Make text section readonly. | |
152 | (make_one): Add *ABS* symbol @feat.00 with value 1 to tag | |
153 | the jump stub on X86 as /SAFESEH compatible for | |
154 | native toolchains. | |
155 | ||
e535e147 AM |
156 | 2010-03-17 Alan Modra <amodra@gmail.com> |
157 | ||
158 | * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from | |
159 | *prev instead. Update all callers. | |
160 | ||
f77c3948 DJ |
161 | 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
162 | ||
163 | * ldlang.c (lang_insert_orphan): Place loadable orphans in the same | |
164 | region and phdrs as their placement section. | |
165 | ||
d43d0b53 AM |
166 | 2010-03-15 Alan Modra <amodra@gmail.com> |
167 | ||
168 | * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New. | |
169 | (ppc_before_allocation): Call sort_toc_sections. | |
170 | (no_toc_sort, OPTION_NO_TOC_SORT): New. | |
171 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
172 | PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort. | |
173 | ||
70cc837d AM |
174 | 2010-03-14 Alan Modra <amodra@gmail.com> |
175 | ||
176 | PR ld/11378 | |
177 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call | |
178 | ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs. | |
179 | ||
806fc311 AM |
180 | 2010-03-11 George Gensure <werkt0@gmail.com> |
181 | ||
182 | PR ld/11367 | |
183 | * ldcref.c (handle_asneeded_cref): Correct copying of refs. | |
184 | ||
a6cc6b3b RO |
185 | 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
186 | ||
187 | * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o, | |
188 | eelf_i386_sol2.o. | |
189 | (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o. | |
190 | (eelf32_sparc_sol2.c): New rule. | |
191 | (eelf64_sparc_sol2.c): Likewise. | |
192 | (eelf_x86_64_sol2.c): Likewise. | |
193 | (eelf_i386_sol2.c): Likewise. | |
194 | * Makefile.in: Regenerate. | |
195 | * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to | |
196 | elf_i386_sol2. | |
197 | Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls. | |
198 | (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2. | |
199 | Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls. | |
200 | (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2. | |
201 | Add target_extra_emuls. | |
202 | (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2. | |
203 | Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls. | |
204 | (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2. | |
205 | Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls. | |
206 | * emulparams/elf32_sparc_sol2.sh: New file. | |
207 | * emulparams/elf64_sparc_sol2.sh: New file. | |
208 | * emulparams/elf_i386_sol2.sh: New file. | |
209 | * emulparams/elf_x86_64_sol2.sh: New file. | |
210 | * emultempl/solaris2.em: New file. | |
211 | ||
fc073cb7 L |
212 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
213 | ||
214 | PR ld/11330 | |
215 | * ld.texinfo: Replace explicitely with explicitly. | |
216 | ||
3cff7cc7 JZ |
217 | 2010-02-27 Jie Zhang <jie@codesourcery.com> |
218 | ||
219 | * scripttempl/armbpabi.sc: Don't combine .init_array.* or | |
220 | .fini_array.* when do relocatable linking. | |
221 | * scripttempl/elf.sc: Likewise. | |
222 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
223 | * scripttempl/elf64hppa.sc: Likewise. | |
224 | * scripttempl/elfxtensa.sc: Likewise. | |
225 | ||
9445af9a AM |
226 | 2010-02-26 Alan Modra <amodra@gmail.com> |
227 | ||
228 | * scripttempl/elf.sc (.fini_array): Place input .fini_array after | |
229 | .fini_array.*. | |
230 | * scripttempl/armbpabi.sc: Likewise. | |
231 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
232 | * scripttempl/elf64hppa.sc: Likewise. | |
233 | * scripttempl/elfxtensa.sc: Likewise. | |
234 | ||
dfa7b0b8 AM |
235 | 2010-02-25 Alan Modra <amodra@gmail.com> |
236 | ||
237 | PR ld/11304 | |
238 | * ldlang.c (init_os): Remove isec param. Don't check for | |
239 | bfd_section already set or call bfd_init_private_section_data | |
240 | here. | |
241 | (exp_init_os): Update init_os call. | |
242 | (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE | |
243 | flags. Call bfd_init_private_section_data here. | |
244 | (map_input_to_output_sections): Tidy. Update init_os calls. | |
245 | Use os->sectype to select sec flags for lang_data_statement. | |
246 | ||
a431bc2e AM |
247 | 2010-02-23 Alan Modra <amodra@gmail.com> |
248 | ||
249 | PR ld/11304 | |
250 | * ldlang.c: Revert last patch. | |
251 | ||
1c063135 NC |
252 | 2010-02-23 Nick Clifton <nickc@redhat.com> |
253 | ||
254 | * po/bg.po: Updated Bulgarian translation. | |
255 | ||
c380a809 AM |
256 | 2010-02-22 Alan Modra <amodra@gmail.com> |
257 | ||
258 | PR ld/11304 | |
259 | * ldlang.c (exp_init_os): Delete forward declaration. | |
260 | (init_os): Don't check for bfd_section already created and don't | |
261 | init addr_tree and load_base expressions here. | |
262 | (map_input_to_output_sections): Only map input to output sections | |
263 | and set constraints here, and as an exception, create output | |
264 | sections which have their address set. Move all the other code to.. | |
265 | (create_other_output_sections): ..here. New function. Handle init | |
266 | of addr_tree and load_base here too. | |
267 | (lang_process): Call create_other_output_sections. | |
268 | ||
c8c66882 AM |
269 | 2010-02-19 Alan Modra <amodra@gmail.com> |
270 | ||
271 | * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS. | |
272 | * Makefile.in: Regenerate. | |
273 | ||
d0bf826b AM |
274 | 2010-02-19 Alan Modra <amodra@gmail.com> |
275 | ||
276 | * ldlang.c (unique_section_p): Add os param. Allow group | |
277 | sections to match /DISCARD/. Update all callers. | |
278 | * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New. | |
279 | (LDEMUL_BEFORE_ALLOCATION): Define. | |
280 | ||
ab7875de NC |
281 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
282 | ||
283 | * po/vi.po: Updated Vietnamese translation. | |
284 | ||
45e481d1 RS |
285 | 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com> |
286 | ||
287 | * Makefile.am (CFILES): Add ldlex-wrapper.c. | |
288 | (OFILES): Replace ldlex.c with ldlex-wrapper.c. | |
289 | (ldlex.o): Replace with... | |
290 | (ldlex-wrapper.o): ...this new rule. | |
291 | (EXTRA_ld_new_SOURCES): Add ldlex.l. | |
292 | (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c. | |
293 | * Makefile.in: Regenerate. | |
294 | * ldlex.l (sysdep.h): Don't include here. | |
295 | * ldlex-wrapper.c: New file. | |
296 | ||
33c0ec9d AM |
297 | 2010-02-09 Alan Modra <amodra@gmail.com> |
298 | ||
299 | * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed | |
300 | function parameters. | |
301 | ||
ef3f88be NC |
302 | 2010-02-05 Nick Clifton <nickc@redhat.com> |
303 | ||
304 | * configure.in (ALL_LIBGUAS): Add bg. | |
305 | * configure: Regenerate. | |
306 | * po/bg.po: New Bulgarian translation. | |
307 | ||
f8266dc4 NC |
308 | 2010-02-05 Ryan Mansfield <rmansfield@qnx.com> |
309 | ||
310 | * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for | |
311 | --target1-abs and --target1-rel options. | |
312 | ||
4dfe6ac6 NC |
313 | 2010-02-03 Nick Clifton <nickc@redhat.com> |
314 | ||
315 | * emultempl/alphaelf.em: Update value expected from elf_object_id. | |
316 | * emultempl/hppaelf.em: Likewise. | |
317 | * emultempl/mipself.em: Likewise. | |
318 | * emultempl/ppc32elf.em: Likewise. | |
319 | * emultempl/ppc64elf.em: Likewise. | |
320 | ||
927be08e AM |
321 | 2010-02-03 Alan Modra <amodra@gmail.com> |
322 | ||
323 | * emultempl/ppc64elf.em (build_toc_list): Report errors from | |
324 | ppc64_elf_next_toc_section. | |
325 | (after_allocation): Update for changed function names and params. | |
326 | Run second pass of multitoc partitioning. | |
327 | ||
c4b78195 NC |
328 | 2010-01-21 Jon Grant <jg@jguk.org> |
329 | Nick Clifton <nickc@redhat.com> | |
330 | ||
331 | PR 4437 | |
332 | * ldfile.c: (ldfile_open_file): Do not stop link upon encountering | |
333 | a missing file or library. Instead mark the entry as missing and | |
334 | set the global flag to indicate that missing files were | |
335 | encountered. | |
336 | * ldlang.c (missing_files): New exported variable. | |
337 | (load_symbols): Skip loading if the file is missing. | |
338 | (open_input_bfds): Terminate link if any input files were | |
339 | missing. | |
340 | * ldlang.h (struct lang_input_statement_struct): Add missing_file | |
341 | field. | |
342 | Add export of missing_file variable. | |
343 | ||
b5f14a6d DD |
344 | 2010-01-13 DJ Delorie <dj@redhat.com> |
345 | ||
346 | * emultempl/elf32.em (_place_orphan): If an input section doesn't | |
347 | match an existing output section, but an unused output section | |
348 | statement does match, use it. | |
349 | * emultempl/pe.em (_place_orphan): Likewise. | |
350 | * emultempl/pep.em (_place_orphan): Likewise. | |
351 | ||
3725885a RW |
352 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
353 | ||
354 | * configure: Regenerate. | |
355 | * Makefile.in: Regenerate. | |
356 | ||
5256a5b0 L |
357 | 2010-01-08 H.J. Lu <hongjiu.lu@intel.com> |
358 | ||
359 | * ldver.c (ldversion): Change to "Copyright 2010". | |
360 | ||
b903363e AM |
361 | 2010-01-08 Alan Modra <amodra@gmail.com> |
362 | ||
363 | PR 11107 | |
364 | * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr. | |
9dda37c1 | 365 | |
43ecc30f | 366 | For older changes see ChangeLog-2009 |
252b5132 RH |
367 | \f |
368 | Local Variables: | |
369 | mode: change-log | |
370 | left-margin: 8 | |
371 | fill-column: 74 | |
372 | version-control: never | |
373 | End: |