Commit | Line | Data |
---|---|---|
3dbcc61d NC |
1 | 2010-09-07 Andrew Burgess <aburgess@broadcom.com> |
2 | ||
3 | * ldwrite.c (clone_section): Call bfd_copy_private_section_data on | |
4 | newly cloned section. | |
5 | ||
c518ddd8 RH |
6 | 2010-09-02 Richard Henderson <rth@redhat.com> |
7 | ||
8 | * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too. | |
9 | ||
107c6e11 NC |
10 | 2010-08-31 Nick Clifton <nickc@redhat.com> |
11 | ||
12 | * ldlex.l (WILDCHAR): Add the caret and exclamation point | |
0d6cedc0 | 13 | characters, so that they can be used inside globs. |
107c6e11 | 14 | |
c09e9a8c NC |
15 | 2010-08-31 Nick Clifton <nickc@redhat.com> |
16 | ||
17 | * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in | |
18 | a region's attributes. | |
19 | ||
6be999b8 AM |
20 | 2010-08-31 Alan Modra <amodra@gmail.com> |
21 | ||
22 | * scripttempl/mmo.sc: Move assignment to "Main" inside .text | |
23 | output section statement. | |
24 | ||
8dd881b6 L |
25 | 2010-08-25 H.J. Lu <hongjiu.lu@intel.com> |
26 | ||
27 | PR ld/11946 | |
28 | * emultempl/elf32.em (_before_allocation): Check audit entry | |
29 | only on ELF input. | |
30 | ||
4440bb77 L |
31 | 2010-08-22 H.J. Lu <hongjiu.lu@intel.com> |
32 | ||
33 | PR ld/11937 | |
34 | * emultempl/elf32.em (_after_open): Find one .eh_frame section | |
35 | for --eh-frame-hdr. | |
36 | ||
a654efd6 L |
37 | 2010-08-22 H.J. Lu <hongjiu.lu@intel.com> |
38 | ||
39 | PR ld/11937 | |
40 | * emultempl/elf32.em (_after_open): Find an ELF input for | |
41 | --build-id and --eh-frame-hdr. | |
42 | ||
d820eaae MR |
43 | 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> |
44 | ||
45 | * Makefile.am (eshlelf_fd.c): Correct the name of the tool | |
46 | directory. | |
47 | * Makefile.in: Regenerate. | |
48 | ||
c13526ca NC |
49 | 2010-08-20 Nick Clifton <nickc@redhat.com> |
50 | ||
51 | * emultempl/elf32.em (_after_open): Check for get_elf_backend_data | |
52 | returning NULL. | |
53 | ||
5fec8599 L |
54 | 2010-08-19 Alan Modra <amodra@gmail.com> |
55 | ||
56 | * NEWS: Mention change in linker script expression evaluation. | |
57 | ||
7542af2a AM |
58 | 2010-08-19 Alan Modra <amodra@gmail.com> |
59 | ||
60 | * ld.texinfo (Expression Section): Detail expression evaluation. | |
61 | (Builtin Functions <ADDR>): Correct. | |
62 | (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally | |
63 | the same as ADDR. | |
64 | (Builtin Functions <SEGMENT_START>): Typo fix. | |
65 | * ldexp.c (new_number): New function. | |
66 | (make_abs, exp_get_abs_int): Cope with NULL expld.result.section. | |
67 | (fold_unary <'~', '!', '-'>): Don't make_abs. | |
68 | (fold_binary): Simplify result section logic. Return NULL section | |
69 | for logical ops. | |
70 | (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to | |
71 | a consistent result. | |
72 | (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs. | |
73 | (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise. | |
74 | (fold_name <NAME>): No need to handle absolute symbols differently | |
75 | from relative ones. | |
76 | (fold_name <ORIGIN>): Don't return valid result when | |
77 | lang_first_phase_enum. Return new_rel_from_abs, not new_abs. | |
78 | (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel. | |
79 | (exp_fold_tree_1): Ajust for NULL expld.result.section. When assigning | |
80 | a plain number to dot, assume the value is relative to expld.section. | |
81 | Make terms not in an output section, absolute. | |
82 | * ldlang.c (print_assignment): Fix style nit. | |
83 | (lang_size_sections_1): Cope with NULL expld.result.section. | |
84 | (lang_do_assignments_1): Likewise. | |
85 | ||
5942515f AM |
86 | 2010-08-12 Alan Modra <amodra@gmail.com> |
87 | ||
88 | * ldexp.c (new_rel): Remove "str". Update all call sites. | |
89 | (exp_fold_tree_1): When assigning to dot, calculate nextdot | |
90 | using expld.result.section rather than expld.section. | |
91 | ||
1e0061d2 AM |
92 | 2010-08-06 Alan Modra <amodra@gmail.com> |
93 | ||
94 | PR ld/11887 | |
95 | * ldlang.c (lang_add_vers_depend): Don't leave version_needed | |
96 | uninitialised. | |
97 | ||
ae78bbeb AM |
98 | 2010-07-28 Alan Modra <amodra@gmail.com> |
99 | ||
100 | * ldexp.c (exp_print_tree): Print function-like binary nodes as | |
101 | functions rather than in-fix operators. Use fputs and fputc | |
102 | where appropriate. | |
103 | ||
1cd986c5 NC |
104 | 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> |
105 | Ina Pandit <ina.pandit@kpitcummins.com> | |
106 | ||
107 | * configure.tgt: Match all v850 targets. | |
108 | ||
bb1515f2 MF |
109 | 2010-07-20 Mike Frysinger <vapier@gentoo.org> |
110 | ||
111 | * ld.texinfo (VERSION): Remove "int" from example script and add ";". | |
112 | Declare the default language as C. | |
113 | ||
f4427a75 AM |
114 | 2010-07-17 Alan Modra <amodra@gmail.com> |
115 | ||
116 | * ldlang.c (lang_check_section_addresses): Catch overlap for | |
117 | sections that wrap around the address space. | |
118 | ||
ec51c381 NC |
119 | 2010-06-29 Nick Clifton <nickc@redhat.com> |
120 | ||
121 | * scripttempl/xstormy16.sc (.gcc_except_table): Include sections | |
122 | with the .gcc_except_table. prefix. | |
123 | ||
360cfc9c AM |
124 | 2010-06-29 Alan Modra <amodra@gmail.com> |
125 | ||
126 | * emulparams/maxqcoff.sh: Delete file. | |
127 | * scripttempl/maxqcoff.sc: Delete file. | |
128 | * Makefile.am: Remove references to maxq. | |
129 | * configure.tgt: Likewise. | |
130 | * Makefile.in: Regenerate. | |
131 | * configure: Regenerate. | |
132 | * po/POTFILES.in: Regenerate. | |
133 | ||
c7e2358a AM |
134 | 2010-06-27 Alan Modra <amodra@gmail.com> |
135 | ||
136 | * pe-dll.c (fill_edata): Avoid set but unused warning. | |
137 | (pe_walk_relocs_of_symbol): Delete set but unused variables. | |
138 | (generate_reloc, pe_implied_import_dll): Likewise. | |
139 | * emultempl/aix.em (open_dynamic_archive): Likewise. | |
140 | * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise. | |
141 | (xtensa_layout_wild): Likewise. | |
142 | (xtensa_colocate_output_literals_callback): Likewise. | |
143 | ||
ba761f19 AM |
144 | 2010-06-25 Alan Modra <amodra@gmail.com> |
145 | ||
146 | * emultempl/ppc64elf.em (prelim_size_sections): New function. | |
147 | (ppc_before_allocation): Use it. Size sections before toc edit too. | |
148 | ||
bded3693 AM |
149 | 2010-06-25 Alan Modra <amodra@gmail.com> |
150 | ||
151 | * emultempl/elf32.em (find_exp_assignment): Handle etree_provided. | |
152 | ||
09db93a8 DS |
153 | 2010-06-20 Danny Smith <dannysmith@users.sourceforge.net> |
154 | ||
155 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make | |
bded3693 AM |
156 | auto-import and merge-rdata defaults same for i[3-7]86 and |
157 | x86_64 mingw. | |
158 | ||
59e6276b JM |
159 | 2010-06-15 Joseph Myers <joseph@codesourcery.com> |
160 | ||
161 | * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define. | |
162 | ||
75898d57 DK |
163 | 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com> |
164 | ||
165 | PR ld/11603 | |
166 | * pe-dll.c (process_def_file_and_drectve): Reorder check for | |
167 | forwarded export name after check for ordinary export. | |
168 | ||
11dd4e37 BS |
169 | 2010-06-08 Bernd Schmidt <bernds@codesourcery.com> |
170 | ||
171 | * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New. | |
172 | ||
9fbcbd81 NC |
173 | 2010-06-08 Nick Clifton <nickc@redhat.com> |
174 | ||
175 | * fdl.texi: Replace with v1.3 text. | |
176 | * ld.texinfo: Replace abbreviated 20th century year numbers with | |
177 | full versions. | |
178 | * ldint.texinfo: Likewise. | |
179 | Relicense under GFDL v1.3. Replace text of v1.1 FDL with an | |
180 | include of the fdl.texi file. | |
181 | ||
46d00b8a TG |
182 | 2010-06-01 Tristan Gingold <gingold@adacore.com> |
183 | ||
184 | * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the | |
185 | readonly output-section. Handle LIB$INITIALIZE and sections | |
186 | created by gcc. | |
187 | * emultempl/vms.em (vms_place_orphan): Add comments. | |
188 | ||
de072cdc NC |
189 | 2010-05-28 Nick Clifton <nickc@redhat.com> |
190 | ||
191 | * Makefile.am (eshlelf_fd.c): Fix typo in rule. | |
192 | * Makefile.in: Regenerate. | |
193 | ||
c8ce5710 L |
194 | 2010-05-26 H.J. Lu <hongjiu.lu@intel.com> |
195 | ||
196 | PR ld/11628 | |
197 | * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't | |
198 | multiple of maximum page size. | |
199 | ||
d19e70fb NC |
200 | 2010-05-25 Nick Clifton <nickc@redhat.com> |
201 | ||
202 | * Makefile.am: Fix typo. | |
203 | * Makefile.in: Regenerate. | |
204 | ||
8e45593f NC |
205 | 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> |
206 | Joseph Myers <joseph@codesourcery.com> | |
207 | Andrew Stubbs <ams@codesourcery.com> | |
208 | ||
209 | * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o. | |
210 | (eshelf_fd.c, eshlelf_fd.c): New rules. | |
211 | * Makefile.in: Regenerate. | |
212 | * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd | |
213 | emulations. | |
214 | * emulparams/shelf_fd.sh: New file. | |
215 | * emulparams/shlelf_fd.sh: New file. | |
216 | * emulparams/shlelf_linux.sh: Update comment. | |
217 | ||
52a6ecd2 NC |
218 | 2010-05-25 Jay Krell <jay.krell@cornell.edu> |
219 | ||
220 | PR ld/11621 | |
221 | * Makefile.am: Replace all occurences of .o with .@OBJEXT@ | |
222 | * Makefile.in: Regenerate. | |
223 | ||
ca5f2203 KT |
224 | 2010-05-25 Kai Tietz <kai.tietz@onevision.com> |
225 | ||
770c040b KT |
226 | * deffilep.y (opt_name): Allow leading dot. |
227 | (dot_name): Likewise. | |
228 | (anylang_id): Likewise. | |
6ec6c79c KT |
229 | * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by |
230 | default auto_import. | |
231 | (gld${EMULATION_NAME}_handle_option): Warn about v1. | |
232 | (pep_find_data_imports): Remove superflous warnings about | |
233 | auto-import. | |
234 | (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import | |
235 | and active pseudo-relocation-v2 rdata into data section. | |
ca5f2203 KT |
236 | * emultempl/pe.em (default_merge_rdata): New shell variable. |
237 | (MERGE_RDATA_V2): New macro. | |
238 | (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import | |
239 | selected script. | |
240 | ||
d74720d2 KT |
241 | 2010-05-15 Kai Tietz <kai.tietz@onevision.com> |
242 | ||
243 | * emultempl/pe.em (is_underscoring): New helper function. | |
244 | (gld_${EMULATION_NAME}_before_parse): Replace code | |
245 | for pe(p)_leading_underscore detection by is_underscoring. | |
246 | (U): Likewise. | |
247 | (GET_INIT_SYMBOL_NAME): Likewise. | |
248 | (U_SIZE): Likewise. | |
249 | (set_pe_name): | |
250 | (set_entry_point): | |
251 | (gld_${EMULATION_NAME}_set_symbols): | |
252 | * emultempl/pep.em: Likewise. | |
253 | * pe-dll.c (pe_detail_list): Set default | |
254 | underscoring for x64 target. | |
255 | (pe_dll_id_target): Add initialization of | |
256 | pe(p)_leading_underscore. | |
257 | ||
1b610c93 DK |
258 | 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com> |
259 | ||
260 | * pe-dll.c: Removed trailing whitespaces. | |
261 | ||
e092cb30 AM |
262 | 2010-05-14 Alan Modra <amodra@gmail.com> |
263 | ||
264 | PR ld/11583 | |
265 | * ldexp.c (exp_fold_tree_1): If assignment source expression is | |
266 | invalid, make the destination symbol undefined. | |
267 | ||
b804e4af KT |
268 | 2010-05-11 Kai Tietz <kai.tietz@onevision.com> |
269 | ||
270 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): | |
271 | Initialize pe(p)_leading_underscore variable. | |
272 | (set_pe_name): Likewise. | |
273 | * emultempl/pep.em: Likewise. | |
274 | Additional change default to non-underscore for | |
275 | pep_leading_underscore equal to -1. | |
276 | ||
6540b386 TG |
277 | 2010-05-07 Tristan Gingold <gingold@adacore.com> |
278 | ||
279 | * Makefile.in: Regenerate with automake 1.11.1. | |
280 | * aclocal.m4: Ditto. | |
281 | ||
3e01a7fd NC |
282 | 2010-05-05 Nick Clifton <nickc@redhat.com> |
283 | ||
284 | * po/es.po: Updated Spanish translation. | |
285 | ||
17f73277 KT |
286 | 2010-04-27 Kai Tietz <kai.tietz@onevision.com> |
287 | ||
288 | * pe-dll.c (_nm_-symbols): Use always underscored variant | |
289 | for symbols. | |
290 | (__imp_-symbols): Likewise. | |
291 | (___imp_-symbols): Likewise. | |
292 | * NEWS: Mention ABI change for x64 PE-COFF. | |
293 | ||
7ad2014a L |
294 | 2010-04-27 H.J. Lu <hongjiu.lu@intel.com> |
295 | ||
296 | * Makefile.am (install-exec-local): Properly install ld as | |
297 | default cross linker. | |
298 | * Makefile.in: Regenerated. | |
299 | ||
4fda8867 NC |
300 | 2010-04-27 H.J. Lu <hongjiu.lu@intel.com> |
301 | Nick Clifton <nickc@redhat.com> | |
302 | ||
303 | * configure.in (install_as_default): Define and set to true | |
304 | unless --enable-gold=both/gold has been specified. | |
305 | * configure: Regenerate. | |
306 | ||
307 | * Makefile.am (transform): Use ld.bfd as the default name of | |
308 | the linker. | |
309 | (install-exec-local): Also install the executable as a binary | |
310 | named 'ld' if install_as_default is true. | |
311 | * Makefile.in: Regenerate. | |
312 | ||
9c9c98a5 NC |
313 | 2010-04-22 Nick Clifton <nickc@redhat.com> |
314 | ||
315 | * po/ld.pot: Updated by the Translation project. | |
316 | * po/vi.po: Updated Vietnamese translation. | |
317 | * po/bg.po: Updated Bulgarian translation. | |
318 | ||
85fdf906 AH |
319 | 2010-04-15 Andrew Haley <aph@redhat.com> |
320 | ||
321 | * emultempl/armelf.em (merge_exidx_entries): New variable. | |
322 | (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition. | |
323 | ("no-merge-exidx-entries"): New option. | |
324 | * ld.texinfo (merge-exidx-entries): Document this option. | |
325 | ||
8b351884 TG |
326 | 2010-04-14 Tristan Gingold <gingold@adacore.com> |
327 | ||
328 | * emulparams/alphavms.sh: New file. | |
329 | * emultempl/vms.em: New file. | |
330 | * scripttempl/alphavms.sc: New file. | |
331 | * configure.tgt (alpha*-*-*vms*): Added. | |
332 | * Makefile.am (ALL_EMULATIONS): Add ealphavms.o | |
333 | (ealphavms.c): New target. | |
334 | * Makefile.in: Regenerate. | |
335 | ||
3d540e93 NC |
336 | 2010-04-09 Nick Clifton <nickc@redhat.com> |
337 | ||
338 | * ldlang.c (wild_sort): Remove unused variable section_name. | |
339 | ||
397841b5 AM |
340 | 2010-04-07 Alan Modra <amodra@gmail.com> |
341 | ||
342 | * configure: Regenerate. | |
343 | ||
6f8bcf84 L |
344 | 2010-04-06 H.J. Lu <hongjiu.lu@intel.com> |
345 | ||
346 | PR ld/11434 | |
347 | * ld/testsuite/ld-x86-64/unique1.d: New. | |
348 | * ld/testsuite/ld-x86-64/unique1.s: Likewise. | |
349 | ||
350 | * ld-x86-64/x86-64.exp: Run unique1. | |
351 | ||
522f09cd KT |
352 | 2010-04-05 Kai Tietz <kai.tietz@onevision.com> |
353 | ||
354 | * emultempl/pep.em (U): Macro modified. | |
355 | (U_SIZE): New helper macro. | |
356 | (GET_INIT_SYMBOL_NAME): Likewise. | |
357 | (enum options): Add OPTION_NO_LEADING_UNDERSCORE | |
358 | and OPTION_LEADING_UNDERSCORE enumerator-values. | |
359 | (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore | |
360 | option. | |
361 | (definfo): Add new member is_c_symbol. | |
362 | (D): Add to macro underscore mode parameter. | |
363 | (init): Add definition for is_c_symbol. | |
364 | (gld_${EMULATION_NAME}_list_options): Display new options. | |
365 | (set_pep_name): Adjust underscoring dependent fixed | |
366 | symbol handling. | |
367 | (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
368 | (saw_option): Likewise. | |
369 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
370 | (set_entry_point): Initial initial_symbol_char dependent to | |
371 | target's default and new option flag pep_leading_underscore. | |
372 | * emultempl/pe.em (U): Macro modified. | |
373 | (U_SIZE): New helper macro. | |
374 | (GET_INIT_SYMBOL_NAME): Likewise. | |
375 | (OPTION_LEADING_UNDERSCORE): Add new option define. | |
376 | (OPTION_NO_LEADING_UNDERSCORE): Likewise. | |
377 | (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore | |
378 | option. | |
379 | (definfo): Add new member is_c_symbol. | |
380 | (D): Add to macro underscore mode parameter. | |
381 | (init): Add definition for is_c_symbol. | |
382 | (gld_${EMULATION_NAME}_list_options): Display new options. | |
383 | (set_pep_name): Adjust underscoring dependent fixed | |
384 | symbol handling. | |
385 | (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
386 | (saw_option): Likewise. | |
387 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
388 | (set_entry_point): Initial initial_symbol_char dependent to | |
389 | target's default and new option flag pep_leading_underscore. | |
390 | * pe-dll.c (pe_leading_underscore): New flag variable. | |
391 | (pe_detail_list): Remove const to allow modify of | |
392 | member underscore. | |
393 | (pe_dll_id_target): Initialize pe_details' underscore variable | |
394 | dependent to target's default and flag pe_leading_underscore. | |
395 | * pe-dll.h (pe_leading_underscore): Add extern declaration of | |
396 | option flag. | |
397 | * pep-dll.c (pe_leading_underscore): Add alias define for | |
398 | pep_leading_underscore. | |
399 | * pep-dll.h (pep_leading_underscore) Add extern declaration of | |
400 | option flag. | |
401 | * ld.texinfo: Add documentation for --(no-)leading-underscore | |
402 | option. | |
403 | ||
edc314c9 AM |
404 | 2010-03-26 Alan Modra <amodra@gmail.com> |
405 | ||
406 | PR ld/11426 | |
407 | * configure.host (many linux targets <HOSTING_CRT0>): Remove edits. | |
408 | (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo. | |
409 | ||
40b36596 JM |
410 | 2010-03-25 Joseph Myers <joseph@codesourcery.com> |
411 | ||
412 | * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and | |
413 | eelf32_tic6x_le.o. | |
414 | (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New. | |
415 | * NEWS: Add news entry for TI C6X support. | |
416 | * configure.tgt (tic6x-*-*): New. | |
417 | * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New. | |
418 | ||
349e935b JM |
419 | 2010-03-23 Joseph Myers <joseph@codesourcery.com> |
420 | ||
421 | * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME, | |
422 | BSS_NAME): Define if not already defined. Use in place of some | |
423 | hardcoded section names. | |
424 | ||
576ee33a L |
425 | 2010-03-18 H.J. Lu <hongjiu.lu@intel.com> |
426 | ||
427 | * scripttempl/elf.sc (INIT_ARRAY): Re-indent. | |
428 | ||
54801c2d NC |
429 | 2010-03-18 Aymeric Vincent <vincent@labri.fr> |
430 | ||
431 | PR ld/11384 | |
432 | * emultempl/sh64elf.em: Add missing EOF. | |
433 | ||
17299ac7 NC |
434 | 2010-03-18 Doug Semler <dougsemler@gmail.com> |
435 | ||
436 | * pe-dll.c (make_one): Make text section readonly. | |
437 | (make_one): Add *ABS* symbol @feat.00 with value 1 to tag | |
438 | the jump stub on X86 as /SAFESEH compatible for | |
439 | native toolchains. | |
440 | ||
e535e147 AM |
441 | 2010-03-17 Alan Modra <amodra@gmail.com> |
442 | ||
443 | * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from | |
444 | *prev instead. Update all callers. | |
445 | ||
f77c3948 DJ |
446 | 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
447 | ||
448 | * ldlang.c (lang_insert_orphan): Place loadable orphans in the same | |
449 | region and phdrs as their placement section. | |
450 | ||
d43d0b53 AM |
451 | 2010-03-15 Alan Modra <amodra@gmail.com> |
452 | ||
453 | * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New. | |
454 | (ppc_before_allocation): Call sort_toc_sections. | |
455 | (no_toc_sort, OPTION_NO_TOC_SORT): New. | |
456 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
457 | PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort. | |
458 | ||
70cc837d AM |
459 | 2010-03-14 Alan Modra <amodra@gmail.com> |
460 | ||
461 | PR ld/11378 | |
462 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call | |
463 | ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs. | |
464 | ||
806fc311 AM |
465 | 2010-03-11 George Gensure <werkt0@gmail.com> |
466 | ||
467 | PR ld/11367 | |
468 | * ldcref.c (handle_asneeded_cref): Correct copying of refs. | |
469 | ||
a6cc6b3b RO |
470 | 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
471 | ||
472 | * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o, | |
473 | eelf_i386_sol2.o. | |
474 | (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o. | |
475 | (eelf32_sparc_sol2.c): New rule. | |
476 | (eelf64_sparc_sol2.c): Likewise. | |
477 | (eelf_x86_64_sol2.c): Likewise. | |
478 | (eelf_i386_sol2.c): Likewise. | |
479 | * Makefile.in: Regenerate. | |
480 | * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to | |
481 | elf_i386_sol2. | |
482 | Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls. | |
483 | (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2. | |
484 | Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls. | |
485 | (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2. | |
486 | Add target_extra_emuls. | |
487 | (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2. | |
488 | Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls. | |
489 | (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2. | |
490 | Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls. | |
491 | * emulparams/elf32_sparc_sol2.sh: New file. | |
492 | * emulparams/elf64_sparc_sol2.sh: New file. | |
493 | * emulparams/elf_i386_sol2.sh: New file. | |
494 | * emulparams/elf_x86_64_sol2.sh: New file. | |
495 | * emultempl/solaris2.em: New file. | |
496 | ||
fc073cb7 L |
497 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
498 | ||
499 | PR ld/11330 | |
500 | * ld.texinfo: Replace explicitely with explicitly. | |
501 | ||
3cff7cc7 JZ |
502 | 2010-02-27 Jie Zhang <jie@codesourcery.com> |
503 | ||
504 | * scripttempl/armbpabi.sc: Don't combine .init_array.* or | |
505 | .fini_array.* when do relocatable linking. | |
506 | * scripttempl/elf.sc: Likewise. | |
507 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
508 | * scripttempl/elf64hppa.sc: Likewise. | |
509 | * scripttempl/elfxtensa.sc: Likewise. | |
510 | ||
9445af9a AM |
511 | 2010-02-26 Alan Modra <amodra@gmail.com> |
512 | ||
513 | * scripttempl/elf.sc (.fini_array): Place input .fini_array after | |
514 | .fini_array.*. | |
515 | * scripttempl/armbpabi.sc: Likewise. | |
516 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
517 | * scripttempl/elf64hppa.sc: Likewise. | |
518 | * scripttempl/elfxtensa.sc: Likewise. | |
519 | ||
dfa7b0b8 AM |
520 | 2010-02-25 Alan Modra <amodra@gmail.com> |
521 | ||
522 | PR ld/11304 | |
523 | * ldlang.c (init_os): Remove isec param. Don't check for | |
524 | bfd_section already set or call bfd_init_private_section_data | |
525 | here. | |
526 | (exp_init_os): Update init_os call. | |
527 | (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE | |
528 | flags. Call bfd_init_private_section_data here. | |
529 | (map_input_to_output_sections): Tidy. Update init_os calls. | |
530 | Use os->sectype to select sec flags for lang_data_statement. | |
531 | ||
a431bc2e AM |
532 | 2010-02-23 Alan Modra <amodra@gmail.com> |
533 | ||
534 | PR ld/11304 | |
535 | * ldlang.c: Revert last patch. | |
536 | ||
1c063135 NC |
537 | 2010-02-23 Nick Clifton <nickc@redhat.com> |
538 | ||
539 | * po/bg.po: Updated Bulgarian translation. | |
540 | ||
c380a809 AM |
541 | 2010-02-22 Alan Modra <amodra@gmail.com> |
542 | ||
543 | PR ld/11304 | |
544 | * ldlang.c (exp_init_os): Delete forward declaration. | |
545 | (init_os): Don't check for bfd_section already created and don't | |
546 | init addr_tree and load_base expressions here. | |
547 | (map_input_to_output_sections): Only map input to output sections | |
548 | and set constraints here, and as an exception, create output | |
549 | sections which have their address set. Move all the other code to.. | |
550 | (create_other_output_sections): ..here. New function. Handle init | |
551 | of addr_tree and load_base here too. | |
552 | (lang_process): Call create_other_output_sections. | |
553 | ||
c8c66882 AM |
554 | 2010-02-19 Alan Modra <amodra@gmail.com> |
555 | ||
556 | * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS. | |
557 | * Makefile.in: Regenerate. | |
558 | ||
d0bf826b AM |
559 | 2010-02-19 Alan Modra <amodra@gmail.com> |
560 | ||
561 | * ldlang.c (unique_section_p): Add os param. Allow group | |
562 | sections to match /DISCARD/. Update all callers. | |
563 | * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New. | |
564 | (LDEMUL_BEFORE_ALLOCATION): Define. | |
565 | ||
ab7875de NC |
566 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
567 | ||
568 | * po/vi.po: Updated Vietnamese translation. | |
569 | ||
45e481d1 RS |
570 | 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com> |
571 | ||
572 | * Makefile.am (CFILES): Add ldlex-wrapper.c. | |
573 | (OFILES): Replace ldlex.c with ldlex-wrapper.c. | |
574 | (ldlex.o): Replace with... | |
575 | (ldlex-wrapper.o): ...this new rule. | |
576 | (EXTRA_ld_new_SOURCES): Add ldlex.l. | |
577 | (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c. | |
578 | * Makefile.in: Regenerate. | |
579 | * ldlex.l (sysdep.h): Don't include here. | |
580 | * ldlex-wrapper.c: New file. | |
581 | ||
33c0ec9d AM |
582 | 2010-02-09 Alan Modra <amodra@gmail.com> |
583 | ||
584 | * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed | |
585 | function parameters. | |
586 | ||
ef3f88be NC |
587 | 2010-02-05 Nick Clifton <nickc@redhat.com> |
588 | ||
589 | * configure.in (ALL_LIBGUAS): Add bg. | |
590 | * configure: Regenerate. | |
591 | * po/bg.po: New Bulgarian translation. | |
592 | ||
f8266dc4 NC |
593 | 2010-02-05 Ryan Mansfield <rmansfield@qnx.com> |
594 | ||
595 | * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for | |
596 | --target1-abs and --target1-rel options. | |
597 | ||
4dfe6ac6 NC |
598 | 2010-02-03 Nick Clifton <nickc@redhat.com> |
599 | ||
600 | * emultempl/alphaelf.em: Update value expected from elf_object_id. | |
601 | * emultempl/hppaelf.em: Likewise. | |
602 | * emultempl/mipself.em: Likewise. | |
603 | * emultempl/ppc32elf.em: Likewise. | |
604 | * emultempl/ppc64elf.em: Likewise. | |
605 | ||
927be08e AM |
606 | 2010-02-03 Alan Modra <amodra@gmail.com> |
607 | ||
608 | * emultempl/ppc64elf.em (build_toc_list): Report errors from | |
609 | ppc64_elf_next_toc_section. | |
610 | (after_allocation): Update for changed function names and params. | |
611 | Run second pass of multitoc partitioning. | |
612 | ||
c4b78195 NC |
613 | 2010-01-21 Jon Grant <jg@jguk.org> |
614 | Nick Clifton <nickc@redhat.com> | |
615 | ||
616 | PR 4437 | |
617 | * ldfile.c: (ldfile_open_file): Do not stop link upon encountering | |
618 | a missing file or library. Instead mark the entry as missing and | |
619 | set the global flag to indicate that missing files were | |
620 | encountered. | |
621 | * ldlang.c (missing_files): New exported variable. | |
622 | (load_symbols): Skip loading if the file is missing. | |
623 | (open_input_bfds): Terminate link if any input files were | |
624 | missing. | |
625 | * ldlang.h (struct lang_input_statement_struct): Add missing_file | |
626 | field. | |
627 | Add export of missing_file variable. | |
628 | ||
b5f14a6d DD |
629 | 2010-01-13 DJ Delorie <dj@redhat.com> |
630 | ||
631 | * emultempl/elf32.em (_place_orphan): If an input section doesn't | |
632 | match an existing output section, but an unused output section | |
633 | statement does match, use it. | |
634 | * emultempl/pe.em (_place_orphan): Likewise. | |
635 | * emultempl/pep.em (_place_orphan): Likewise. | |
636 | ||
3725885a RW |
637 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
638 | ||
639 | * configure: Regenerate. | |
640 | * Makefile.in: Regenerate. | |
641 | ||
5256a5b0 L |
642 | 2010-01-08 H.J. Lu <hongjiu.lu@intel.com> |
643 | ||
644 | * ldver.c (ldversion): Change to "Copyright 2010". | |
645 | ||
b903363e AM |
646 | 2010-01-08 Alan Modra <amodra@gmail.com> |
647 | ||
648 | PR 11107 | |
649 | * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr. | |
9dda37c1 | 650 | |
43ecc30f | 651 | For older changes see ChangeLog-2009 |
252b5132 RH |
652 | \f |
653 | Local Variables: | |
654 | mode: change-log | |
655 | left-margin: 8 | |
656 | fill-column: 74 | |
657 | version-control: never | |
658 | End: |