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