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