Commit | Line | Data |
---|---|---|
aeffff67 RS |
1 | 2010-12-31 Robert Millan <rmh@gnu.org> |
2 | ||
3 | * configure.tgt: Recognize mips-freebsd and mips-kfreebsd-gnu. | |
4 | ||
5 | * emulparams/elf32btsmip_fbsd.sh: New file. | |
6 | * emulparams/elf32btsmipn32_fbsd.sh: Likewise. | |
7 | * emulparams/elf32ltsmip_fbsd.sh: Likewise. | |
8 | * emulparams/elf32ltsmipn32_fbsd.sh: Likewise. | |
9 | * emulparams/elf64btsmip_fbsd.sh: Likewise. | |
10 | * emulparams/elf64ltsmip_fbsd.sh: Likewise. | |
11 | ||
12 | * Makefile.am: Add build rules for `eelf32btsmip_fbsd.c', | |
13 | `eelf32btsmipn32_fbsd.c', `eelf32ltsmip_fbsd.c', | |
14 | `eelf32ltsmipn32_fbsd.c', `eelf64btsmip_fbsd.c' and | |
15 | `eelf64ltsmip_fbsd.c'. | |
16 | * Makefile.in: Regenerate. | |
17 | ||
351f65ca L |
18 | 2010-12-30 H.J. Lu <hongjiu.lu@intel.com> |
19 | ||
20 | * emulparams/elf32_x86_64.sh: New. | |
21 | ||
22 | * configure.tgt (targ64_extra_emuls): Add elf32_x86_64 for | |
23 | i[3-7]86-*-linux-*. | |
24 | (targ_extra_libpath): Likewise. | |
25 | (targ_extra_emuls): Add elf32_x86_64 for x86_64-*-linux-*. | |
26 | (targ_extra_libpath): Likewise. | |
27 | ||
28 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64.c. | |
29 | (eelf32_x86_64.c): New. | |
30 | * Makefile.in: Regenerated. | |
31 | ||
5c3049d2 AM |
32 | 2010-12-20 Alan Modra <amodra@gmail.com> |
33 | ||
3458c452 | 34 | PR ld/12327 |
5c3049d2 AM |
35 | * ld.texinfo (Expression Section): Describe treatment of numbers |
36 | and absolute symbols. | |
37 | * ldemul.c (after_open_default): Look up __ld_compatibility. | |
38 | * ldexp.c (fold_name): Convert absolute symbols to numbers when | |
39 | inside output section definitions, or when __ld_compatibility >= 221. | |
40 | (exp_fold_tree_1): Convert numbers to absolute when not in output | |
41 | section definition and __ld_compatibility < 221. Don't always | |
42 | convert values outside an output section definition to absolute. | |
43 | * ldexp.h (uses_defined): Comment. | |
44 | * ldlang.c (ld_compatibility): New variable. | |
45 | * ldlang.h (ld_compatibility): Declare. | |
46 | * emultempl/aix.em, * emultempl/armcoff.em, * emultempl/beos.em, | |
47 | * emultempl/elf32.em, * emultempl/genelf.em, * emultempl/lnk960.em, | |
48 | * emultempl/m68kcoff.em, * emultempl/mmo.em, * emultempl/pe.em, | |
49 | * emultempl/pep.em, * emultempl/sunos.em, * emultempl/z80.em: Call | |
50 | after_open_default from after_open function. | |
51 | ||
e759c116 AM |
52 | 2010-12-20 Alan Modra <amodra@gmail.com> |
53 | ||
54 | PR ld/12001 | |
55 | Revert 2010-11-03 Nick Clifton | |
56 | * ldlang.c (ldlang_def_chain_list): Delete. | |
57 | (insert_defined, ldlang_add_def, lang_place_defineds): Delete. | |
58 | (lang_process): Don't call lang_place_defineds. | |
59 | (lang_add_assignment): Don't do anything special for --defsym. | |
60 | ||
61 | * ldexp.h (struct ldexp_control): Add uses_defined. | |
62 | (exp_fold_tree_no_dot): Declare. | |
63 | * ldexp.c (exp_fold_tree): Clear uses_defined. | |
64 | (exp_fold_tree_no_dot): Likewise. Make global. | |
65 | (fold_name <DEFINED>): Set uses_defined. | |
66 | (exp_fold_tree_1 <etree_assign>): Define symbol during first phase | |
67 | even when the value being assigned isn't valid. | |
68 | * ldlang.c (open_input_bfds): Process assignment statements. | |
69 | (lang_process): Bump lang_statement_iteration. | |
70 | (scan_for_self_assignment): Formatting. | |
71 | (print_assignment): Style. | |
72 | ||
02ecc8e9 L |
73 | 2010-12-15 H.J. Lu <hongjiu.lu@intel.com> |
74 | ||
75 | * Makefile.am (GENSCRIPTS): Add @enable_initfini_array@. | |
76 | ||
77 | * NEWS: Mention SORT_BY_INIT_PRIORITY. | |
78 | ||
79 | * configure.in: Add AC_CANONICAL_BUILD. | |
80 | Add --enable-initfini-array. | |
81 | ||
82 | * genscripts.sh (ENABLE_INITFINI_ARRAY): New. | |
83 | ||
84 | * ld.h (sort_type): Add by_init_priority. | |
85 | ||
86 | * ld.texinfo: Document SORT_BY_INIT_PRIORITY. | |
87 | ||
88 | * ldgram.y (SORT_BY_INIT_PRIORITY): New. | |
89 | (wildcard_spec): Handle SORT_BY_INIT_PRIORITY. | |
90 | ||
91 | * ldlang.c (get_init_priority): New. | |
92 | (compare_section): Use get_init_priority for by_init_priority. | |
93 | ||
94 | * ldlex.l (SORT_BY_INIT_PRIORITY): New. | |
95 | ||
96 | * scripttempl/elf.sc: Support ENABLE_INITFINI_ARRAY. | |
97 | ||
98 | * Makefile.in: Regenerated. | |
99 | * aclocal.m4: Regenerated. | |
100 | * config.in: Likewise. | |
101 | * configure: Likewise. | |
102 | ||
46105645 AM |
103 | 2010-12-13 Alan Modra <amodra@gmail.com> |
104 | ||
105 | * ldlang.c (load_symbols): Correct last change. | |
106 | ||
db0ca79f L |
107 | 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> |
108 | ||
109 | * ldlang.c (load_symbols): Optimize for add_archive_element. | |
110 | ||
8b9a522f MF |
111 | 2010-12-09 Mike Frysinger <vapier@gentoo.org> |
112 | ||
113 | * .gitignore: New file. | |
114 | ||
94bf3a11 L |
115 | 2010-12-06 H.J. Lu <hongjiu.lu@intel.com> |
116 | ||
117 | * lexsup.c (ld_options): Add -flto and -flto-partition= for | |
118 | GCC LTO option compatibility. | |
119 | ||
d251c5c4 L |
120 | 2010-12-06 H.J. Lu <hongjiu.lu@intel.com> |
121 | ||
122 | PR ld/12288 | |
123 | * plugin.c (message): Don't add the trailing `\n' for | |
124 | LDPL_ERROR. | |
125 | ||
ada487f6 L |
126 | 2010-12-06 H.J. Lu <hongjiu.lu@intel.com> |
127 | ||
128 | PR ld/12288 | |
129 | * testplug.c: Remove the trailing `\n' from TV_MESSAGE. | |
130 | ||
d9b21463 L |
131 | 2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> |
132 | ||
133 | PR ld/12288 | |
134 | * plugin.c (message): Use putchar for the trailing `\n'. | |
135 | ||
e73d965c L |
136 | 2010-12-06 H.J. Lu <hongjiu.lu@intel.com> |
137 | Dmitry Gorbachev <d.g.gorbachev@gmail.com> | |
138 | ||
139 | PR ld/12289 | |
140 | * ldmain.c (main): Don't call plugin_call_cleanup. | |
141 | ||
142 | * plugin.c (plugin_call_cleanup): Make it static. | |
143 | (message): Don't call plugin_call_cleanup. | |
144 | (plugin_load_plugins): Call xatexit with plugin_call_cleanup. | |
145 | ||
3b8525f8 L |
146 | 2010-12-05 H.J. Lu <hongjiu.lu@intel.com> |
147 | ||
148 | PR ld/12289 | |
149 | * plugin.c (message): Call plugin_call_cleanup on fatal | |
150 | error. | |
151 | ||
7990daec L |
152 | 2010-12-05 H.J. Lu <hongjiu.lu@intel.com> |
153 | ||
154 | * plugin.c (message): Add a space after `:' in error message. | |
155 | ||
ea360572 L |
156 | 2010-12-05 H.J. Lu <hongjiu.lu@intel.com> |
157 | ||
158 | * plugin.c (asymbol_from_plugin_symbol): Add the trailing `\n' | |
159 | to einfo. | |
160 | (get_symbols): Likewise. | |
161 | (plugin_notice): Likewise. | |
162 | (plugin_multiple_definition): Likewise. | |
163 | ||
b7f42144 L |
164 | 2010-12-05 H.J. Lu <hongjiu.lu@intel.com> |
165 | ||
166 | PR ld/12288 | |
167 | * plugin.c (message): Add the trailing `\n'. | |
168 | ||
b7f95647 L |
169 | 2010-12-05 H.J. Lu <hongjiu.lu@intel.com> |
170 | ||
171 | * ldfile.c (ldfile_open_file_search): Check maybe_archive instead | |
172 | of is_archive. | |
173 | * emultempl/aix.em: Likewise. | |
174 | * emultempl/elf32.em: Likewise. | |
175 | * emultempl/linux.em: Likewise. | |
176 | * emultempl/pe.em: Likewise. | |
177 | * emultempl/pep.em: Likewise. | |
178 | * emultempl/sunos.em: Likewise. | |
179 | * emultempl/vms.em: Likewise. | |
180 | ||
181 | * ldlang.c (new_afile): Set maybe_archive instead of is_archive.. | |
182 | ||
183 | * ldlang.h (lang_input_statement_struct): Replace is_archive | |
184 | with maybe_archive. | |
185 | ||
cfac8028 L |
186 | 2010-12-05 H.J. Lu <hongjiu.lu@intel.com> |
187 | ||
2be3382c | 188 | PR ld/12277 |
cfac8028 L |
189 | * plugin.c (asymbol_from_plugin_symbol): Properly convert LTO |
190 | plugin visibility to ELF visibility. | |
191 | (is_visible_from_outside): Re-indent. | |
192 | ||
c5b0a9ef AM |
193 | 2010-12-04 Alan Modra <amodra@gmail.com> |
194 | ||
195 | * ldlang.c (lang_size_sections_1): Align lma using same alignment | |
196 | as for vma. | |
197 | ||
99bca8f9 L |
198 | 2010-12-03 H.J. Lu <hongjiu.lu@intel.com> |
199 | ||
200 | * lexsup.c (ld_options): Fix a typo in comments. | |
201 | ||
a48d02c9 L |
202 | 2010-12-01 H.J. Lu <hongjiu.lu@intel.com> |
203 | ||
204 | * plugin.h: Re-indent. | |
205 | ||
9203b09a AM |
206 | 2010-11-30 Joel Sherrill <joel.sherrill@oarcorp.com> |
207 | ||
208 | * configure.tgt: Add sparc64-rtems. | |
209 | ||
a9a7adc0 AM |
210 | 2010-11-26 Alan Modra <amodra@gmail.com> |
211 | ||
212 | * po/ja.po: Update. | |
213 | ||
1de34e0a AM |
214 | 2010-11-25 Alan Modra <amodra@gmail.com> |
215 | ||
216 | * po/bg.po: Update. | |
217 | * po/es.po: Update. | |
218 | * po/fi.po: Update. | |
219 | * po/ja.po: New. | |
220 | * po/zh_CN.po: Update. | |
221 | ||
add44f8d AM |
222 | 2010-11-25 Jan Hubicka <hubicka@ucw.cz> |
223 | ||
224 | * scripttempl/elf.sc: Group .text.exit, text.startup and .text.hot | |
225 | sections. | |
226 | ||
c7791212 NC |
227 | 2010-11-23 Matthias Klose <doko@ubuntu.com> |
228 | ||
229 | * configure.ac: For --enable-gold, handle value `default' instead of | |
230 | `both*'. Always install ld as ld.gold, install as ld if gold is | |
231 | the default. | |
232 | * configure: Regenerate. | |
233 | ||
f84854b6 L |
234 | 2010-11-21 H.J. Lu <hongjiu.lu@intel.com> |
235 | ||
236 | * ldfile.c: Re-indent plugin code. | |
237 | * ldlang.c: Likewise. | |
238 | * ldmain.c: Likewise. | |
239 | * plugin.c: Likewise. | |
240 | ||
5c08b7d4 L |
241 | 2010-11-20 H.J. Lu <hongjiu.lu@intel.com> |
242 | ||
243 | PR ld/12246 | |
244 | * plugin.c (asymbol_from_plugin_symbol): Set alignment of | |
245 | common symbol to 1 for For ELF targets. | |
246 | ||
f9982339 L |
247 | 2010-11-20 H.J. Lu <hongjiu.lu@intel.com> |
248 | ||
249 | PR ld/12247 | |
250 | * lexsup.c (parse_args): Properly report loading plugin error. | |
251 | ||
42a851a9 DK |
252 | 2010-11-19 Dave Korn <dave.korn.cygwin@gmail.com> |
253 | ||
254 | * plugin.c (is_visible_from_outside): New function. | |
255 | (get_symbols): Use it. | |
256 | ||
781303ce MF |
257 | 2010-11-16 Jie Zhang <jie.zhang@analog.com> |
258 | ||
259 | * Makefile.am (eelf32bfinfd.c, eelf32bfin.c): Depend on bfin.em. | |
260 | * Makefile.in: Regenerated. | |
261 | * emulparams/bfin.sh (EXTRA_EM_FILE): Set. | |
262 | * emulparams/elf32bfinfd.sh (EXTRA_EM_FILE): Likewise. | |
263 | * emultempl/bfin.em: New. | |
264 | ||
c85f715a AM |
265 | 2010-11-16 Yasuaki Taniguchi <taniguchi.yasua@jp.fujitsu.com> |
266 | ||
267 | * emultempl/pe.em (_list_options): Correct typo. | |
268 | * emultempl/pep.em (_list_options): Likewise. | |
269 | ||
5940a93c TS |
270 | 2010-11-08 Thomas Schwinge <thomas@schwinge.name> |
271 | ||
272 | * configure.host: Add stanza for *-*-gnu*. | |
273 | ||
04ea1ddd | 274 | 2010-11-05 Pierre Muller <muller@ics.u-strasbg.fr> |
a38ce0d0 RS |
275 | |
276 | * emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter. | |
277 | ||
2ee0aedf TG |
278 | 2010-11-05 Tristan Gingold <gingold@adacore.com> |
279 | ||
280 | * po/ld.pot: Regenerate | |
281 | * po/POTFILES.in: Regenerate | |
282 | ||
44f45767 TG |
283 | 2010-11-05 Tristan Gingold <gingold@adacore.com> |
284 | ||
285 | * NEWS: Add marker for 2.21. | |
286 | ||
d44ad554 DK |
287 | 2010-11-05 Dave Korn <dave.korn.cygwin@gmail.com> |
288 | ||
289 | * plugin.h (plugin_active_plugins_p): New prototype. | |
290 | (is_ir_dummy_bfd): Delete prototype. | |
291 | * plugin.c: Fix formatting issues. | |
292 | (is_ir_dummy_bfd): Make static. | |
293 | (plugin_active_plugins_p): New function. | |
294 | * ldfile.c (ldfile_try_open_bfd): Use it to save work if no plugins | |
295 | are loaded. Always close file descriptor after claim handler returns. | |
296 | * ldmain.c (add_archive_element): Likewise. | |
297 | ||
f4eaaf7f AM |
298 | 2010-11-05 Alan Modra <amodra@gmail.com> |
299 | ||
300 | * ldlang.c (lang_add_section): Distinguish ELF treatment of NOLOAD. | |
301 | (map_input_to_output_sections): Likewise. | |
302 | (lang_size_sections_1): Likewise. | |
303 | (IGNORE_SECTION): Don't test SEC_NEVER_LOAD. | |
304 | (lang_check_section_addresses): Likewise. | |
305 | ||
802d4822 KT |
306 | 2010-11-04 Kai Tietz <kai.tietz@onevision.com> |
307 | ||
308 | * scripttempl/pe.sc (.debug_types): New. | |
309 | * scripttempl/pep.sc: Likewise. | |
310 | ||
129b5d55 AM |
311 | 2010-11-04 Alan Modra <amodra@gmail.com> |
312 | ||
313 | * plugin.c (is_ir_dummy_bfd): Don't segfault on NULL abfd. | |
314 | ||
e597fa08 NC |
315 | 2010-11-03 Nick Clifton <nickc@redhat.com> |
316 | ||
317 | PR ld/12001 | |
318 | * ldlang.c (ldlang_def_chain_list): New variable. Contains a list | |
319 | of symbols defined via the --defsym command line option and | |
320 | currently waiting assignment. | |
321 | (insert_defined): Add a defined symbol to the symbol table. | |
322 | (ldlang_add_def): Add a entry to the ldlang_def_chain_list. | |
323 | (lang_place_defineds): Walk ldlang_def_chain_list defining the | |
324 | symbols. | |
325 | (lang_process): Call lang_place_defineds. | |
326 | (lang_add_assignment): If the assignment has come from a --defsym | |
327 | command line option then call lang_add_def. | |
328 | ||
2ebf3964 AM |
329 | 2010-11-03 Alan Modra <amodra@gmail.com> |
330 | ||
331 | * Makefile.am (eelf64hppa.c): Correct dependencies. | |
332 | * Makefile.in: Regenerate. | |
333 | ||
34734a01 L |
334 | 2010-11-02 H.J. Lu <hongjiu.lu@intel.com> |
335 | ||
336 | * scripttempl/armbpabi.sc: Include compressed DWARF debug | |
337 | sections. | |
338 | * scripttempl/avr.sc: Likewise. | |
339 | * scripttempl/elf32cr16.sc: Likewise. | |
340 | * scripttempl/elf32crx.sc: Likewise. | |
341 | * scripttempl/elf32msp430.sc: Likewise. | |
342 | * scripttempl/elf32msp430_3.sc: Likewise. | |
343 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
344 | * scripttempl/elf64hppa.sc: Likewise. | |
345 | * scripttempl/elf_chaos.sc: Likewise. | |
346 | * scripttempl/elfd10v.sc: Likewise. | |
347 | * scripttempl/elfd30v.sc: Likewise. | |
348 | * scripttempl/elfi370.sc: Likewise. | |
349 | * scripttempl/elfm68hc11.sc: Likewise. | |
350 | * scripttempl/elfm68hc12.sc: Likewise. | |
351 | * scripttempl/elfxtensa.sc: Likewise. | |
352 | * scripttempl/ip2k.sc: Likewise. | |
353 | * scripttempl/iq2000.sc: Likewise. | |
354 | * scripttempl/mep.sc: Likewise. | |
355 | * scripttempl/mmo.sc: Likewise. | |
356 | * scripttempl/v850.sc: Likewise. | |
357 | * scripttempl/xstormy16.sc: Likewise. | |
358 | ||
4a114e3e L |
359 | 2010-10-29 H.J. Lu <hongjiu.lu@intel.com> |
360 | ||
361 | * ldfile.c (ldfile_try_open_bfd): Set BFD_DECOMPRESS after | |
362 | bfd_openr returns. | |
363 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise. | |
364 | ||
365 | * scripttempl/elf.sc: Include compressed DWARF debug sections. | |
366 | ||
ace9d866 AM |
367 | 2010-10-28 Alan Modra <amodra@gmail.com> |
368 | ||
369 | * ldfile.c (find_scripts_dir): Don't look in absolute SCRIPTDIR. | |
370 | ||
9160ea82 AM |
371 | 2010-10-28 Matthias Klose <doko@ubuntu.com> |
372 | ||
373 | * ld.texinfo: Add directory section for info document. | |
374 | * ldint.texinfo: Likewise. | |
375 | ||
71755fdf AM |
376 | 2010-10-28 Alan Modra <amodra@gmail.com> |
377 | ||
378 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For | |
379 | --no-undefined-version, don't report dot sym versions added by ld. | |
380 | ||
24898b70 AM |
381 | 2010-10-28 Alan Modra <amodra@gmail.com> |
382 | ||
383 | * ldlang.h (ldlang_add_undef): Add cmdline param. | |
384 | * ldlang.c (undef_from_cmdline): New var. | |
385 | (ldlang_add_undef): Add cmdline param. Set undef_from_cmdline. | |
386 | (lang_end): Really require -e or -u from command line on | |
387 | relocatable --gc-sections. | |
388 | * ldemul.c (after_parse_default): Adjust ldlang_add_undef call. | |
389 | * ldgram.y (extern_name_list_body): Likewise. | |
390 | * lexsup.c (parse_args): Likewise. | |
391 | * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise. | |
392 | ||
bc110b6e AM |
393 | 2010-10-25 Alan Modra <amodra@gmail.com> |
394 | ||
395 | * plugin.c (plugin_get_ir_dummy_bfd): Set bfd_use_reserved_id. | |
396 | Formatting. | |
397 | ||
1360ba76 RO |
398 | 2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
399 | ||
400 | * emulparams/elf32_sparc_sol2.sh (OUTPUT_FORMAT): Set to | |
401 | elf32-sparc-sol2. | |
402 | * emulparams/elf64_sparc_sol2.sh (OUTPUT_FORMAT): Set to | |
403 | elf64-sparc-sol2. | |
404 | ||
2b42b063 AM |
405 | 2010-10-22 Alan Modra <amodra@gmail.com> |
406 | ||
407 | * ldwrite.c (build_link_order <lang_data_statement_enum>): Don't | |
408 | output when section has no contents. | |
409 | (build_link_order <lang_reloc_statement_enum>): Likewise. | |
410 | ||
75fa6dc1 JM |
411 | 2010-10-21 Joseph Myers <joseph@codesourcery.com> |
412 | ||
413 | * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Use | |
414 | .c6xabi.attributes, not __TI_build_attributes. | |
415 | ||
7bac81d3 DK |
416 | 2010-10-20 Dave Korn <dave.korn.cygwin@gmail.com> |
417 | ||
418 | * plugin.c (get_symbols): Check symbol type correctly. | |
419 | ||
3917d5d5 DK |
420 | 2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com> |
421 | ||
422 | * configure.in: If <dlfcn.h> can't be found, try for <Windows.h> | |
423 | * configure: Regenerate. | |
424 | * config.in: Likewise. | |
425 | * plugin.c [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlopen): Provide | |
426 | trival LoadLibrary-based replacement for Windows systems. | |
427 | [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise trivial | |
428 | replacement based on GetProcAddress. | |
429 | [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise FreeLibrary. | |
430 | * sysdep.h: Don't infer presence of <dlfcn.h> from ENABLE_PLUGINS | |
431 | anymore, use its own guard. | |
432 | ||
d4cb7acd DK |
433 | 2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com> |
434 | ||
435 | * plugin.c (add_input_file): Take copy of input string. | |
436 | (add_input_library): Likewise. | |
437 | (set_extra_library_path): Likewise. | |
438 | ||
2b42b063 | 439 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
440 | |
441 | Apply LD plugin patch series (part 6/6). | |
442 | * ldlang.c (load_symbols): Handle bfd subsitution when calling the | |
443 | add_archive_element callback. | |
444 | * ldmain.c (add_archive_element)[ENABLE_PLUGINS]: Offer the archive | |
445 | member to the plugins and if claimed set "subsbfd" output parameter to | |
446 | point to the dummy IR-only BFD. | |
447 | ||
2b42b063 | 448 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
449 | |
450 | Apply LD plugin patch series (part 5/6). | |
451 | * plugin.c (asymbol_from_plugin_symbol): If the bfd is an ELF bfd, | |
452 | find the elf symbol data and set the visibility in the st_other field. | |
453 | ||
2b42b063 | 454 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
455 | |
456 | Apply LD plugin patch series (part 4/6). | |
457 | * ldlang.c (lang_process)[ENABLE_PLUGINS]: Move invocation of | |
458 | plugin_call_all_symbols_read to before setting of gc_sym_list, and | |
459 | open any new input files that may have been added during it. | |
460 | * ldmain.c (multiple_definition)[ENABLE_PLUGINS]: Call out to | |
461 | plugin_multiple_definition and let it have first say over what to do | |
462 | with the clashing definitions. | |
463 | * plugin.c (no_more_claiming): New boolean variable. | |
464 | (plugin_cached_allow_multiple_defs): Likewise. | |
465 | (add_input_file): Implement. | |
466 | (add_input_library): Likewise. | |
467 | (set_extra_library_path): Likewise. | |
468 | (plugin_call_claim_file): Don't do anything when no_more_claiming set. | |
469 | (plugin_call_all_symbols_read): Set it. Disable link info | |
470 | "allow_multiple_definition" flag, but cache its value. | |
471 | (plugin_multiple_definition): New function. | |
472 | * plugin.h (plugin_multiple_definition): Add prototype. | |
473 | * testplug.c (addfile_enum_t): New enumerated typedef. | |
474 | (add_file_t): New struct typedef. | |
475 | (addfiles_list): New variable. | |
476 | (addfiles_tail_chain_ptr): Likewise. | |
477 | (record_add_file): New function. | |
478 | (parse_option): Parse "add:", "lib:" and "dir:" options and call it. | |
479 | (onall_symbols_read): Iterate the list of new files, libs and dirs, | |
480 | adding them. | |
481 | ||
2b42b063 | 482 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
483 | |
484 | Apply LD plugin patch series (part 3/6). | |
485 | * ldmain.c (notice)[ENABLE_PLUGINS]: Call plugin_notice. | |
486 | * plugin.c (non_ironly_hash): Add new bfd hash table. | |
487 | (plugin_load_plugins): Exit early if no plugins to load. If plugins | |
488 | do load successfully, set notice_all flag in link info. | |
489 | (get_symbols): Implement. | |
490 | (plugin_load_plugins): Exit early if no plugins to load, else after | |
491 | loading plugins successfully enable notice_all mode. | |
492 | (init_non_ironly_hash): Lazily init non_ironly_hash table. | |
493 | (plugin_notice): Record symbols referenced from non-IR files in the | |
494 | non_ironly_hash. Suppress tracing, cref generation and nocrossrefs | |
495 | tracking for symbols from dummy IR bfds. | |
496 | * plugin.h: Fix formatting. | |
497 | (plugin_notice): Add prototype. | |
498 | * testplug.c (dumpresolutions): New global var. | |
499 | (parse_options): Accept "dumpresolutions". | |
500 | (onall_symbols_read): Get syms and dump resolutions if it was given. | |
501 | ||
2b42b063 | 502 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
503 | |
504 | Apply LD plugin patch series (part 2/6). | |
505 | * ldfile.c (ldfile_try_open_bfd)[ENABLE_PLUGINS]: Don't return early | |
506 | during compat checks if they pass, instead offer any successfully | |
507 | opened and accepted file to the plugin claim file hooks chain. Create | |
508 | a dummy bfd to accept symbols added by the plugin, if the plugin | |
509 | claims the file. | |
510 | * ldlang.c (lang_process)[ENABLE_PLUGINS]: Call plugin all symbols | |
511 | read hook chain before ldemul_after_open. | |
512 | * ldlang.h (struct lang_input_statement_struct): Add new single-bit | |
513 | 'claimed' flag. | |
514 | * plugin.c (IRONLY_SUFFIX): New macro for dummy bfd file suffix. | |
515 | (IRONLY_SUFFIX_LEN): Length of the above string. | |
516 | (plugin_get_ir_dummy_bfd): New function to create the dummy bfd used | |
517 | to store symbols for ir-only files. | |
518 | (is_ir_dummy_bfd): New function to check if a bfd is ir-only. | |
519 | (asymbol_from_plugin_symbol): New function converts symbol formats. | |
520 | (add_symbols): Call it to convert plugin syms to bfd syms and add | |
521 | them to the dummy bfd. | |
522 | * plugin.h: Add missing include guards. | |
523 | (plugin_get_ir_dummy_bfd): Add prototype. | |
524 | (is_ir_dummy_bfd): Likewise. | |
525 | * testplug.c (TV_MESSAGE): New helper macro. | |
526 | (struct claim_file): New struct. | |
527 | (claim_file_t): New typedef. | |
528 | (tag_names[]): Make static and const. | |
529 | (claimfiles_list): New variable. | |
530 | (claimfiles_tail_chain_ptr): Likewise. | |
531 | (last_claimfile): Likewise. | |
532 | (record_claim_file): Record a file to claim on a singly-linked list. | |
533 | (parse_symdefstr): Parse an ASCII representation of a symbol from a | |
534 | plugin option into the fields of a struct ld_plugin_symbol. | |
535 | (record_claimed_file_symbol): Use it to parse plugin option for | |
536 | adding a symbol. | |
537 | (parse_option): Parse claim file and add symbol options. | |
538 | (dump_tv_tag): Use TV_MESSAGE. | |
539 | (onload): Likewise. | |
540 | (onclaim_file): Make static. Use TV_MESSAGE. Scan list of files to | |
541 | claim and claim this file if required, adding any symbols specified. | |
542 | (onall_symbols_read): Make static and use TV_MESSAGE. | |
543 | (oncleanup): Likewise. | |
544 | ||
2b42b063 | 545 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
546 | |
547 | Apply LD plugin patch series (part 1/6). | |
548 | * configure.in: Add AC_CHECKs for file io and dlfcn headers and | |
549 | functions and AC_SEARCH for -ldl. | |
550 | (enable_plugins): New shell variable set if above tests find dlopen | |
551 | functionality. | |
552 | (ENABLE_PLUGINS): Add related automake conditional. | |
553 | * configure: Regenerate. | |
554 | * config.in: Likewise. | |
555 | * Makefile.am (PLUGIN_C): Declare plugin C source file, conditional | |
556 | on ENABLE_PLUGINS being defined. | |
557 | (PLUGIN_H): Likewise for header file. | |
558 | (PLUGIN_OBJECT): Likewise for object file. | |
559 | (PLUGIN_CFLAGS): Likewise -D flag required to compile plugin support. | |
560 | (AM_CPPFLAGS): Use PLUGIN_CFLAGS. | |
561 | (CFILES): Use PLUGIN_C. | |
562 | (HFILES): Use PLUGIN_H. | |
563 | (OFILES): Use PLUGIN_OBJECT. | |
564 | (ld_new_SOURCES): Use PLUGIN_C. | |
565 | (noinst_LTLIBRARIES)[ENABLE_PLUGINS]: Declare test plugin. | |
566 | (libldtestplug_la_SOURCES)[ENABLE_PLUGINS]: Add automake definition | |
567 | for test plugin. | |
568 | (libldtestplug_la_CFLAGS)[ENABLE_PLUGINS]: Likewise. | |
569 | (libldtestplug_la_LDFLAGS)[ENABLE_PLUGINS]: Likewise. | |
570 | * Makefile.in: Regenerate. | |
571 | * sysdep.h: Include stdarg.h, unistd.h and one of fcntl.h or | |
572 | sys/file.h where available. Include dlfcn.h when ENABLE_PLUGINS. | |
573 | (O_RDONLY): Supply default definition likewise to bfd's sysdep.h | |
574 | (O_WRONLY): Likewise. | |
575 | (O_RDWR): Likewise. | |
576 | (O_ACCMODE): Likewise. | |
577 | (O_BINARY): Likewise. | |
578 | (SEEK_SET): Likewise. | |
579 | (SEEK_CUR): Likewise. | |
580 | (SEEK_END): Likewise. | |
581 | * ldmisc.c (vfinfo): Make non-static. Add %p format char. | |
582 | * ldmisc.h (vfinfo): Declare extern prototype. | |
583 | * lexsup.c (enum option_values)[ENABLE_PLUGINS]: Add new entries for | |
584 | OPTION_PLUGIN and OPTION_PLUGIN_OPT. | |
585 | (ld_options[])[ENABLE_PLUGINS]: Add option data for the above two. | |
586 | (parse_args)[ENABLE_PLUGINS]: Handle them, and load all plugins once | |
587 | option parsing is complete. | |
588 | * ldmain.c (main)[ENABLE_PLUGINS]: Call plugin cleanup hooks just | |
589 | after lang_finish. | |
590 | * plugin.c: New source file. | |
591 | * plugin.h: Likewise new header. | |
592 | * testplug.c: New source file. | |
593 | ||
18a1a992 RO |
594 | 2010-10-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
595 | ||
596 | * emultempl/solaris2.em (elf_solaris2_before_allocation): Renamed | |
597 | basever_syms to global_syms. | |
598 | Emit global_syms into .dynamic section for all executables and | |
599 | shared objects. | |
600 | (elf_solaris2_after_allocation): New function. | |
601 | (LDEMUL_AFTER_ALLOCATION): Use it. | |
602 | * emulparams/solaris2.sh: New file. | |
603 | * emulparams/elf32_sparc_sol2.sh: Use it. | |
604 | * emulparams/elf64_sparc_sol2.sh: Likewise. | |
605 | * emulparams/elf_i386_sol2.sh: Likewise. | |
606 | * emulparams/elf_x86_64_sol2.sh: Likewise. | |
607 | * Makefile.am (eelf32_sparc_sol2.c): Depend on | |
608 | $(srcdir)/emulparams/solaris2.sh. | |
609 | (eelf64_sparc_sol2.c): Likewise. | |
610 | (eelf_x86_64_sol2.c): Likewise. | |
611 | (eelf_i386_sol2.c): Likewise. | |
612 | * Makefile.in: Regenerate. | |
613 | ||
ea5cae92 NC |
614 | 2010-10-06 Nick Clifton <nickc@redhat.com> |
615 | ||
616 | * ld.texinfo: Update description of computation of VMA and LMA | |
617 | addresses for output sections. | |
618 | ||
9034a328 RW |
619 | 2010-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
620 | ||
4560bc04 RW |
621 | * Makefile.am (ALL_64_EMULATIONS): Fix typo in last commit. |
622 | * Makefile.in: Regenerate. | |
623 | ||
9034a328 RW |
624 | * Makefile.am (ALL_EMULATIONS): Rewrite in terms of ... |
625 | (ALL_EMULATION_SOURCES): ... this new variable. | |
626 | (ALL_64_EMULATIONS): Rewrite in terms of ... | |
627 | (ALL_64_EMULATION_SOURCES): ... this new variable. | |
628 | (EXTRA_ld_new_SOURCES): Rewrite in terms of the _SOURCES | |
629 | variables. | |
630 | (eelf32microblaze.c): Fix indentation. | |
631 | * Makefile.in: Regenerate. | |
632 | ||
d4730f92 BS |
633 | 2010-10-04 Bernd Schmidt <bernds@codesourcery.com> |
634 | ||
635 | * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use | |
636 | _bfd_elf_single_rel_hdr. | |
637 | ||
abf4be64 AM |
638 | 2010-10-01 Alan Modra <amodra@gmail.com> |
639 | ||
640 | PR ld/12066 | |
641 | * ldexp.c (fold_name): Treat absolute symbols as plain numbers. | |
642 | * ld.texinfo (Expression Section): Don't say absolute symbols | |
643 | are addresses. | |
644 | ||
30920cab AM |
645 | 2010-09-29 Alan Modra <amodra@gmail.com> |
646 | ||
647 | * ldlang.c (lang_place_orphans): Zero vma when relocatable or non-load | |
648 | section for orphans handled here. | |
649 | ||
3cac54d2 RW |
650 | 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
651 | ||
652 | * configure: Regenerate. | |
653 | ||
9396a3ce DK |
654 | 2010-09-23 Dave Korn <dave.korn.cygwin@gmail.com> |
655 | ||
656 | * scripttempl/armcoff.sc: Revert 2010-09-22 change. | |
657 | ||
0814be7d AM |
658 | 2010-09-23 Alan Modra <amodra@gmail.com> |
659 | ||
660 | * ldlang.c (lang_add_section): Don't copy SEC_RELOC from input | |
661 | to output section on a final link. | |
662 | ||
d4874973 KT |
663 | 2010-09-22 Kai Tietz <kai.tietz@onevision.com> |
664 | ||
e4b0fe2f KT |
665 | * ldlang.c (lang_add_section): Allow for debugging |
666 | section to be marked as noload but to keep content. | |
667 | (IGNORE_SECTION): Likewise. | |
668 | (lang_check_section_addresses): Likewise. | |
669 | * ldwrite.c (build_link_order): Likewise. | |
670 | ||
d4874973 KT |
671 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add |
672 | idata to orphan set. | |
673 | * emultempl/pep.em: Likewise. | |
674 | * scripttempl/armcoff.sc: Separate idata | |
675 | and add __IAT_start__ and __IAT_end__ labels. | |
676 | * scripttempl/pe.sc: Likewise. | |
677 | * scripttempl/pep.sc: Likewise. | |
678 | ||
d9b807ab DM |
679 | 2010-09-20 David S. Miller <davem@davemloft.net> |
680 | ||
681 | * emulparams/elf32_sparc.sh: Set NOP to 0x01000000 | |
682 | ||
2e76e85a AM |
683 | 2010-09-16 Alan Modra <amodra@gmail.com> |
684 | ||
685 | * ld.texinfo (NOLOAD): Do not erroneously state that contents will | |
686 | appear in output file. | |
687 | * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload | |
688 | unless SEC_COFF_SHARED_LIBRARY. | |
689 | (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload | |
690 | output sections. | |
691 | (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding | |
692 | to update dot in region. Ditto when setting SEC_ALLOC if dot | |
693 | advanced due to assignment. | |
694 | * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD. | |
695 | ||
2d7f4929 KT |
696 | 2010-09-15 Kai Tietz <kai.tietz@onevision.com> |
697 | ||
d3fe237d KT |
698 | * scripttempl/pep.sc: Add .xdata segment and |
699 | put into .pdata all segments beginning with .pdata. | |
2d7f4929 | 700 | |
8658f989 AM |
701 | 2010-09-10 Alan Modra <amodra@gmail.com> |
702 | ||
703 | PR ld/11931 | |
704 | * ldlang.h (lang_for_each_statement_worker): Declare. | |
705 | * ldlang.c (lang_for_each_statement_worker): Make global. Don't | |
706 | recurse into children of output_section_statement with constraint | |
707 | set to -1. | |
708 | (print_assignment): Handle NULL output_section->bfd_section. | |
709 | (lang_size_sections_1): Ignore output section statement address | |
710 | when constraint is -1. | |
711 | * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete. | |
712 | ||
75875724 TG |
713 | 2010-09-09 Tristan Gingold <gingold@adacore.com> |
714 | ||
715 | * NEWS: Add a entry for alpha-vms. | |
716 | ||
3dbcc61d NC |
717 | 2010-09-07 Andrew Burgess <aburgess@broadcom.com> |
718 | ||
719 | * ldwrite.c (clone_section): Call bfd_copy_private_section_data on | |
720 | newly cloned section. | |
721 | ||
c518ddd8 RH |
722 | 2010-09-02 Richard Henderson <rth@redhat.com> |
723 | ||
724 | * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too. | |
725 | ||
107c6e11 NC |
726 | 2010-08-31 Nick Clifton <nickc@redhat.com> |
727 | ||
728 | * ldlex.l (WILDCHAR): Add the caret and exclamation point | |
0d6cedc0 | 729 | characters, so that they can be used inside globs. |
107c6e11 | 730 | |
c09e9a8c NC |
731 | 2010-08-31 Nick Clifton <nickc@redhat.com> |
732 | ||
733 | * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in | |
734 | a region's attributes. | |
735 | ||
6be999b8 AM |
736 | 2010-08-31 Alan Modra <amodra@gmail.com> |
737 | ||
738 | * scripttempl/mmo.sc: Move assignment to "Main" inside .text | |
739 | output section statement. | |
740 | ||
8dd881b6 L |
741 | 2010-08-25 H.J. Lu <hongjiu.lu@intel.com> |
742 | ||
743 | PR ld/11946 | |
744 | * emultempl/elf32.em (_before_allocation): Check audit entry | |
745 | only on ELF input. | |
746 | ||
4440bb77 L |
747 | 2010-08-22 H.J. Lu <hongjiu.lu@intel.com> |
748 | ||
749 | PR ld/11937 | |
750 | * emultempl/elf32.em (_after_open): Find one .eh_frame section | |
751 | for --eh-frame-hdr. | |
752 | ||
a654efd6 L |
753 | 2010-08-22 H.J. Lu <hongjiu.lu@intel.com> |
754 | ||
755 | PR ld/11937 | |
756 | * emultempl/elf32.em (_after_open): Find an ELF input for | |
757 | --build-id and --eh-frame-hdr. | |
758 | ||
d820eaae MR |
759 | 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> |
760 | ||
761 | * Makefile.am (eshlelf_fd.c): Correct the name of the tool | |
762 | directory. | |
763 | * Makefile.in: Regenerate. | |
764 | ||
c13526ca NC |
765 | 2010-08-20 Nick Clifton <nickc@redhat.com> |
766 | ||
767 | * emultempl/elf32.em (_after_open): Check for get_elf_backend_data | |
768 | returning NULL. | |
769 | ||
5fec8599 L |
770 | 2010-08-19 Alan Modra <amodra@gmail.com> |
771 | ||
772 | * NEWS: Mention change in linker script expression evaluation. | |
773 | ||
7542af2a AM |
774 | 2010-08-19 Alan Modra <amodra@gmail.com> |
775 | ||
776 | * ld.texinfo (Expression Section): Detail expression evaluation. | |
777 | (Builtin Functions <ADDR>): Correct. | |
778 | (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally | |
779 | the same as ADDR. | |
780 | (Builtin Functions <SEGMENT_START>): Typo fix. | |
781 | * ldexp.c (new_number): New function. | |
782 | (make_abs, exp_get_abs_int): Cope with NULL expld.result.section. | |
783 | (fold_unary <'~', '!', '-'>): Don't make_abs. | |
784 | (fold_binary): Simplify result section logic. Return NULL section | |
785 | for logical ops. | |
786 | (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to | |
787 | a consistent result. | |
788 | (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs. | |
789 | (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise. | |
790 | (fold_name <NAME>): No need to handle absolute symbols differently | |
791 | from relative ones. | |
792 | (fold_name <ORIGIN>): Don't return valid result when | |
793 | lang_first_phase_enum. Return new_rel_from_abs, not new_abs. | |
794 | (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel. | |
795 | (exp_fold_tree_1): Ajust for NULL expld.result.section. When assigning | |
796 | a plain number to dot, assume the value is relative to expld.section. | |
797 | Make terms not in an output section, absolute. | |
798 | * ldlang.c (print_assignment): Fix style nit. | |
799 | (lang_size_sections_1): Cope with NULL expld.result.section. | |
800 | (lang_do_assignments_1): Likewise. | |
801 | ||
5942515f AM |
802 | 2010-08-12 Alan Modra <amodra@gmail.com> |
803 | ||
804 | * ldexp.c (new_rel): Remove "str". Update all call sites. | |
805 | (exp_fold_tree_1): When assigning to dot, calculate nextdot | |
806 | using expld.result.section rather than expld.section. | |
807 | ||
1e0061d2 AM |
808 | 2010-08-06 Alan Modra <amodra@gmail.com> |
809 | ||
810 | PR ld/11887 | |
811 | * ldlang.c (lang_add_vers_depend): Don't leave version_needed | |
812 | uninitialised. | |
813 | ||
ae78bbeb AM |
814 | 2010-07-28 Alan Modra <amodra@gmail.com> |
815 | ||
816 | * ldexp.c (exp_print_tree): Print function-like binary nodes as | |
817 | functions rather than in-fix operators. Use fputs and fputc | |
818 | where appropriate. | |
819 | ||
1cd986c5 NC |
820 | 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> |
821 | Ina Pandit <ina.pandit@kpitcummins.com> | |
822 | ||
823 | * configure.tgt: Match all v850 targets. | |
824 | ||
bb1515f2 MF |
825 | 2010-07-20 Mike Frysinger <vapier@gentoo.org> |
826 | ||
827 | * ld.texinfo (VERSION): Remove "int" from example script and add ";". | |
828 | Declare the default language as C. | |
829 | ||
f4427a75 AM |
830 | 2010-07-17 Alan Modra <amodra@gmail.com> |
831 | ||
832 | * ldlang.c (lang_check_section_addresses): Catch overlap for | |
833 | sections that wrap around the address space. | |
834 | ||
ec51c381 NC |
835 | 2010-06-29 Nick Clifton <nickc@redhat.com> |
836 | ||
837 | * scripttempl/xstormy16.sc (.gcc_except_table): Include sections | |
838 | with the .gcc_except_table. prefix. | |
839 | ||
360cfc9c AM |
840 | 2010-06-29 Alan Modra <amodra@gmail.com> |
841 | ||
842 | * emulparams/maxqcoff.sh: Delete file. | |
843 | * scripttempl/maxqcoff.sc: Delete file. | |
844 | * Makefile.am: Remove references to maxq. | |
845 | * configure.tgt: Likewise. | |
846 | * Makefile.in: Regenerate. | |
847 | * configure: Regenerate. | |
848 | * po/POTFILES.in: Regenerate. | |
849 | ||
c7e2358a AM |
850 | 2010-06-27 Alan Modra <amodra@gmail.com> |
851 | ||
852 | * pe-dll.c (fill_edata): Avoid set but unused warning. | |
853 | (pe_walk_relocs_of_symbol): Delete set but unused variables. | |
854 | (generate_reloc, pe_implied_import_dll): Likewise. | |
855 | * emultempl/aix.em (open_dynamic_archive): Likewise. | |
856 | * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise. | |
857 | (xtensa_layout_wild): Likewise. | |
858 | (xtensa_colocate_output_literals_callback): Likewise. | |
859 | ||
ba761f19 AM |
860 | 2010-06-25 Alan Modra <amodra@gmail.com> |
861 | ||
862 | * emultempl/ppc64elf.em (prelim_size_sections): New function. | |
863 | (ppc_before_allocation): Use it. Size sections before toc edit too. | |
864 | ||
bded3693 AM |
865 | 2010-06-25 Alan Modra <amodra@gmail.com> |
866 | ||
867 | * emultempl/elf32.em (find_exp_assignment): Handle etree_provided. | |
868 | ||
09db93a8 DS |
869 | 2010-06-20 Danny Smith <dannysmith@users.sourceforge.net> |
870 | ||
871 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make | |
bded3693 AM |
872 | auto-import and merge-rdata defaults same for i[3-7]86 and |
873 | x86_64 mingw. | |
874 | ||
59e6276b JM |
875 | 2010-06-15 Joseph Myers <joseph@codesourcery.com> |
876 | ||
877 | * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define. | |
878 | ||
75898d57 DK |
879 | 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com> |
880 | ||
881 | PR ld/11603 | |
882 | * pe-dll.c (process_def_file_and_drectve): Reorder check for | |
883 | forwarded export name after check for ordinary export. | |
884 | ||
11dd4e37 BS |
885 | 2010-06-08 Bernd Schmidt <bernds@codesourcery.com> |
886 | ||
887 | * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New. | |
888 | ||
9fbcbd81 NC |
889 | 2010-06-08 Nick Clifton <nickc@redhat.com> |
890 | ||
891 | * fdl.texi: Replace with v1.3 text. | |
892 | * ld.texinfo: Replace abbreviated 20th century year numbers with | |
893 | full versions. | |
894 | * ldint.texinfo: Likewise. | |
895 | Relicense under GFDL v1.3. Replace text of v1.1 FDL with an | |
896 | include of the fdl.texi file. | |
897 | ||
46d00b8a TG |
898 | 2010-06-01 Tristan Gingold <gingold@adacore.com> |
899 | ||
900 | * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the | |
901 | readonly output-section. Handle LIB$INITIALIZE and sections | |
902 | created by gcc. | |
903 | * emultempl/vms.em (vms_place_orphan): Add comments. | |
904 | ||
de072cdc NC |
905 | 2010-05-28 Nick Clifton <nickc@redhat.com> |
906 | ||
907 | * Makefile.am (eshlelf_fd.c): Fix typo in rule. | |
908 | * Makefile.in: Regenerate. | |
909 | ||
c8ce5710 L |
910 | 2010-05-26 H.J. Lu <hongjiu.lu@intel.com> |
911 | ||
912 | PR ld/11628 | |
913 | * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't | |
914 | multiple of maximum page size. | |
915 | ||
d19e70fb NC |
916 | 2010-05-25 Nick Clifton <nickc@redhat.com> |
917 | ||
918 | * Makefile.am: Fix typo. | |
919 | * Makefile.in: Regenerate. | |
920 | ||
8e45593f NC |
921 | 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> |
922 | Joseph Myers <joseph@codesourcery.com> | |
923 | Andrew Stubbs <ams@codesourcery.com> | |
924 | ||
925 | * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o. | |
926 | (eshelf_fd.c, eshlelf_fd.c): New rules. | |
927 | * Makefile.in: Regenerate. | |
928 | * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd | |
929 | emulations. | |
930 | * emulparams/shelf_fd.sh: New file. | |
931 | * emulparams/shlelf_fd.sh: New file. | |
932 | * emulparams/shlelf_linux.sh: Update comment. | |
933 | ||
52a6ecd2 NC |
934 | 2010-05-25 Jay Krell <jay.krell@cornell.edu> |
935 | ||
936 | PR ld/11621 | |
937 | * Makefile.am: Replace all occurences of .o with .@OBJEXT@ | |
938 | * Makefile.in: Regenerate. | |
939 | ||
ca5f2203 KT |
940 | 2010-05-25 Kai Tietz <kai.tietz@onevision.com> |
941 | ||
770c040b KT |
942 | * deffilep.y (opt_name): Allow leading dot. |
943 | (dot_name): Likewise. | |
944 | (anylang_id): Likewise. | |
6ec6c79c KT |
945 | * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by |
946 | default auto_import. | |
947 | (gld${EMULATION_NAME}_handle_option): Warn about v1. | |
948 | (pep_find_data_imports): Remove superflous warnings about | |
949 | auto-import. | |
950 | (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import | |
951 | and active pseudo-relocation-v2 rdata into data section. | |
ca5f2203 KT |
952 | * emultempl/pe.em (default_merge_rdata): New shell variable. |
953 | (MERGE_RDATA_V2): New macro. | |
954 | (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import | |
955 | selected script. | |
956 | ||
d74720d2 KT |
957 | 2010-05-15 Kai Tietz <kai.tietz@onevision.com> |
958 | ||
959 | * emultempl/pe.em (is_underscoring): New helper function. | |
960 | (gld_${EMULATION_NAME}_before_parse): Replace code | |
961 | for pe(p)_leading_underscore detection by is_underscoring. | |
962 | (U): Likewise. | |
963 | (GET_INIT_SYMBOL_NAME): Likewise. | |
964 | (U_SIZE): Likewise. | |
965 | (set_pe_name): | |
966 | (set_entry_point): | |
967 | (gld_${EMULATION_NAME}_set_symbols): | |
968 | * emultempl/pep.em: Likewise. | |
969 | * pe-dll.c (pe_detail_list): Set default | |
970 | underscoring for x64 target. | |
971 | (pe_dll_id_target): Add initialization of | |
972 | pe(p)_leading_underscore. | |
973 | ||
1b610c93 DK |
974 | 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com> |
975 | ||
976 | * pe-dll.c: Removed trailing whitespaces. | |
977 | ||
e092cb30 AM |
978 | 2010-05-14 Alan Modra <amodra@gmail.com> |
979 | ||
980 | PR ld/11583 | |
981 | * ldexp.c (exp_fold_tree_1): If assignment source expression is | |
982 | invalid, make the destination symbol undefined. | |
983 | ||
b804e4af KT |
984 | 2010-05-11 Kai Tietz <kai.tietz@onevision.com> |
985 | ||
986 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): | |
987 | Initialize pe(p)_leading_underscore variable. | |
988 | (set_pe_name): Likewise. | |
989 | * emultempl/pep.em: Likewise. | |
990 | Additional change default to non-underscore for | |
991 | pep_leading_underscore equal to -1. | |
992 | ||
6540b386 TG |
993 | 2010-05-07 Tristan Gingold <gingold@adacore.com> |
994 | ||
995 | * Makefile.in: Regenerate with automake 1.11.1. | |
996 | * aclocal.m4: Ditto. | |
997 | ||
3e01a7fd NC |
998 | 2010-05-05 Nick Clifton <nickc@redhat.com> |
999 | ||
1000 | * po/es.po: Updated Spanish translation. | |
1001 | ||
17f73277 KT |
1002 | 2010-04-27 Kai Tietz <kai.tietz@onevision.com> |
1003 | ||
1004 | * pe-dll.c (_nm_-symbols): Use always underscored variant | |
1005 | for symbols. | |
1006 | (__imp_-symbols): Likewise. | |
1007 | (___imp_-symbols): Likewise. | |
1008 | * NEWS: Mention ABI change for x64 PE-COFF. | |
1009 | ||
7ad2014a L |
1010 | 2010-04-27 H.J. Lu <hongjiu.lu@intel.com> |
1011 | ||
1012 | * Makefile.am (install-exec-local): Properly install ld as | |
1013 | default cross linker. | |
1014 | * Makefile.in: Regenerated. | |
1015 | ||
4fda8867 NC |
1016 | 2010-04-27 H.J. Lu <hongjiu.lu@intel.com> |
1017 | Nick Clifton <nickc@redhat.com> | |
1018 | ||
1019 | * configure.in (install_as_default): Define and set to true | |
1020 | unless --enable-gold=both/gold has been specified. | |
1021 | * configure: Regenerate. | |
1022 | ||
1023 | * Makefile.am (transform): Use ld.bfd as the default name of | |
1024 | the linker. | |
1025 | (install-exec-local): Also install the executable as a binary | |
1026 | named 'ld' if install_as_default is true. | |
1027 | * Makefile.in: Regenerate. | |
1028 | ||
9c9c98a5 NC |
1029 | 2010-04-22 Nick Clifton <nickc@redhat.com> |
1030 | ||
1031 | * po/ld.pot: Updated by the Translation project. | |
1032 | * po/vi.po: Updated Vietnamese translation. | |
1033 | * po/bg.po: Updated Bulgarian translation. | |
1034 | ||
85fdf906 AH |
1035 | 2010-04-15 Andrew Haley <aph@redhat.com> |
1036 | ||
1037 | * emultempl/armelf.em (merge_exidx_entries): New variable. | |
1038 | (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition. | |
1039 | ("no-merge-exidx-entries"): New option. | |
1040 | * ld.texinfo (merge-exidx-entries): Document this option. | |
1041 | ||
8b351884 TG |
1042 | 2010-04-14 Tristan Gingold <gingold@adacore.com> |
1043 | ||
1044 | * emulparams/alphavms.sh: New file. | |
1045 | * emultempl/vms.em: New file. | |
1046 | * scripttempl/alphavms.sc: New file. | |
1047 | * configure.tgt (alpha*-*-*vms*): Added. | |
1048 | * Makefile.am (ALL_EMULATIONS): Add ealphavms.o | |
1049 | (ealphavms.c): New target. | |
1050 | * Makefile.in: Regenerate. | |
1051 | ||
3d540e93 NC |
1052 | 2010-04-09 Nick Clifton <nickc@redhat.com> |
1053 | ||
1054 | * ldlang.c (wild_sort): Remove unused variable section_name. | |
1055 | ||
397841b5 AM |
1056 | 2010-04-07 Alan Modra <amodra@gmail.com> |
1057 | ||
1058 | * configure: Regenerate. | |
1059 | ||
6f8bcf84 L |
1060 | 2010-04-06 H.J. Lu <hongjiu.lu@intel.com> |
1061 | ||
1062 | PR ld/11434 | |
1063 | * ld/testsuite/ld-x86-64/unique1.d: New. | |
1064 | * ld/testsuite/ld-x86-64/unique1.s: Likewise. | |
1065 | ||
1066 | * ld-x86-64/x86-64.exp: Run unique1. | |
1067 | ||
522f09cd KT |
1068 | 2010-04-05 Kai Tietz <kai.tietz@onevision.com> |
1069 | ||
1070 | * emultempl/pep.em (U): Macro modified. | |
1071 | (U_SIZE): New helper macro. | |
1072 | (GET_INIT_SYMBOL_NAME): Likewise. | |
1073 | (enum options): Add OPTION_NO_LEADING_UNDERSCORE | |
1074 | and OPTION_LEADING_UNDERSCORE enumerator-values. | |
1075 | (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore | |
1076 | option. | |
1077 | (definfo): Add new member is_c_symbol. | |
1078 | (D): Add to macro underscore mode parameter. | |
1079 | (init): Add definition for is_c_symbol. | |
1080 | (gld_${EMULATION_NAME}_list_options): Display new options. | |
1081 | (set_pep_name): Adjust underscoring dependent fixed | |
1082 | symbol handling. | |
1083 | (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
1084 | (saw_option): Likewise. | |
1085 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
1086 | (set_entry_point): Initial initial_symbol_char dependent to | |
1087 | target's default and new option flag pep_leading_underscore. | |
1088 | * emultempl/pe.em (U): Macro modified. | |
1089 | (U_SIZE): New helper macro. | |
1090 | (GET_INIT_SYMBOL_NAME): Likewise. | |
1091 | (OPTION_LEADING_UNDERSCORE): Add new option define. | |
1092 | (OPTION_NO_LEADING_UNDERSCORE): Likewise. | |
1093 | (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore | |
1094 | option. | |
1095 | (definfo): Add new member is_c_symbol. | |
1096 | (D): Add to macro underscore mode parameter. | |
1097 | (init): Add definition for is_c_symbol. | |
1098 | (gld_${EMULATION_NAME}_list_options): Display new options. | |
1099 | (set_pep_name): Adjust underscoring dependent fixed | |
1100 | symbol handling. | |
1101 | (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
1102 | (saw_option): Likewise. | |
1103 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
1104 | (set_entry_point): Initial initial_symbol_char dependent to | |
1105 | target's default and new option flag pep_leading_underscore. | |
1106 | * pe-dll.c (pe_leading_underscore): New flag variable. | |
1107 | (pe_detail_list): Remove const to allow modify of | |
1108 | member underscore. | |
1109 | (pe_dll_id_target): Initialize pe_details' underscore variable | |
1110 | dependent to target's default and flag pe_leading_underscore. | |
1111 | * pe-dll.h (pe_leading_underscore): Add extern declaration of | |
1112 | option flag. | |
1113 | * pep-dll.c (pe_leading_underscore): Add alias define for | |
1114 | pep_leading_underscore. | |
1115 | * pep-dll.h (pep_leading_underscore) Add extern declaration of | |
1116 | option flag. | |
1117 | * ld.texinfo: Add documentation for --(no-)leading-underscore | |
1118 | option. | |
1119 | ||
edc314c9 AM |
1120 | 2010-03-26 Alan Modra <amodra@gmail.com> |
1121 | ||
1122 | PR ld/11426 | |
1123 | * configure.host (many linux targets <HOSTING_CRT0>): Remove edits. | |
1124 | (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo. | |
1125 | ||
40b36596 JM |
1126 | 2010-03-25 Joseph Myers <joseph@codesourcery.com> |
1127 | ||
1128 | * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and | |
1129 | eelf32_tic6x_le.o. | |
1130 | (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New. | |
1131 | * NEWS: Add news entry for TI C6X support. | |
1132 | * configure.tgt (tic6x-*-*): New. | |
1133 | * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New. | |
1134 | ||
349e935b JM |
1135 | 2010-03-23 Joseph Myers <joseph@codesourcery.com> |
1136 | ||
1137 | * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME, | |
1138 | BSS_NAME): Define if not already defined. Use in place of some | |
1139 | hardcoded section names. | |
1140 | ||
576ee33a L |
1141 | 2010-03-18 H.J. Lu <hongjiu.lu@intel.com> |
1142 | ||
1143 | * scripttempl/elf.sc (INIT_ARRAY): Re-indent. | |
1144 | ||
54801c2d NC |
1145 | 2010-03-18 Aymeric Vincent <vincent@labri.fr> |
1146 | ||
1147 | PR ld/11384 | |
1148 | * emultempl/sh64elf.em: Add missing EOF. | |
1149 | ||
17299ac7 NC |
1150 | 2010-03-18 Doug Semler <dougsemler@gmail.com> |
1151 | ||
1152 | * pe-dll.c (make_one): Make text section readonly. | |
1153 | (make_one): Add *ABS* symbol @feat.00 with value 1 to tag | |
1154 | the jump stub on X86 as /SAFESEH compatible for | |
1155 | native toolchains. | |
1156 | ||
e535e147 AM |
1157 | 2010-03-17 Alan Modra <amodra@gmail.com> |
1158 | ||
1159 | * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from | |
1160 | *prev instead. Update all callers. | |
1161 | ||
f77c3948 DJ |
1162 | 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
1163 | ||
1164 | * ldlang.c (lang_insert_orphan): Place loadable orphans in the same | |
1165 | region and phdrs as their placement section. | |
1166 | ||
d43d0b53 AM |
1167 | 2010-03-15 Alan Modra <amodra@gmail.com> |
1168 | ||
1169 | * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New. | |
1170 | (ppc_before_allocation): Call sort_toc_sections. | |
1171 | (no_toc_sort, OPTION_NO_TOC_SORT): New. | |
1172 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
1173 | PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort. | |
1174 | ||
70cc837d AM |
1175 | 2010-03-14 Alan Modra <amodra@gmail.com> |
1176 | ||
1177 | PR ld/11378 | |
1178 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call | |
1179 | ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs. | |
1180 | ||
806fc311 AM |
1181 | 2010-03-11 George Gensure <werkt0@gmail.com> |
1182 | ||
1183 | PR ld/11367 | |
1184 | * ldcref.c (handle_asneeded_cref): Correct copying of refs. | |
1185 | ||
a6cc6b3b RO |
1186 | 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1187 | ||
1188 | * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o, | |
1189 | eelf_i386_sol2.o. | |
1190 | (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o. | |
1191 | (eelf32_sparc_sol2.c): New rule. | |
1192 | (eelf64_sparc_sol2.c): Likewise. | |
1193 | (eelf_x86_64_sol2.c): Likewise. | |
1194 | (eelf_i386_sol2.c): Likewise. | |
1195 | * Makefile.in: Regenerate. | |
1196 | * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to | |
1197 | elf_i386_sol2. | |
1198 | Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls. | |
1199 | (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2. | |
1200 | Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls. | |
1201 | (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2. | |
1202 | Add target_extra_emuls. | |
1203 | (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2. | |
1204 | Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls. | |
1205 | (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2. | |
1206 | Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls. | |
1207 | * emulparams/elf32_sparc_sol2.sh: New file. | |
1208 | * emulparams/elf64_sparc_sol2.sh: New file. | |
1209 | * emulparams/elf_i386_sol2.sh: New file. | |
1210 | * emulparams/elf_x86_64_sol2.sh: New file. | |
1211 | * emultempl/solaris2.em: New file. | |
1212 | ||
fc073cb7 L |
1213 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
1214 | ||
1215 | PR ld/11330 | |
1216 | * ld.texinfo: Replace explicitely with explicitly. | |
1217 | ||
3cff7cc7 JZ |
1218 | 2010-02-27 Jie Zhang <jie@codesourcery.com> |
1219 | ||
1220 | * scripttempl/armbpabi.sc: Don't combine .init_array.* or | |
1221 | .fini_array.* when do relocatable linking. | |
1222 | * scripttempl/elf.sc: Likewise. | |
1223 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
1224 | * scripttempl/elf64hppa.sc: Likewise. | |
1225 | * scripttempl/elfxtensa.sc: Likewise. | |
1226 | ||
9445af9a AM |
1227 | 2010-02-26 Alan Modra <amodra@gmail.com> |
1228 | ||
1229 | * scripttempl/elf.sc (.fini_array): Place input .fini_array after | |
1230 | .fini_array.*. | |
1231 | * scripttempl/armbpabi.sc: Likewise. | |
1232 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
1233 | * scripttempl/elf64hppa.sc: Likewise. | |
1234 | * scripttempl/elfxtensa.sc: Likewise. | |
1235 | ||
dfa7b0b8 AM |
1236 | 2010-02-25 Alan Modra <amodra@gmail.com> |
1237 | ||
1238 | PR ld/11304 | |
1239 | * ldlang.c (init_os): Remove isec param. Don't check for | |
1240 | bfd_section already set or call bfd_init_private_section_data | |
1241 | here. | |
1242 | (exp_init_os): Update init_os call. | |
1243 | (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE | |
1244 | flags. Call bfd_init_private_section_data here. | |
1245 | (map_input_to_output_sections): Tidy. Update init_os calls. | |
1246 | Use os->sectype to select sec flags for lang_data_statement. | |
1247 | ||
a431bc2e AM |
1248 | 2010-02-23 Alan Modra <amodra@gmail.com> |
1249 | ||
1250 | PR ld/11304 | |
1251 | * ldlang.c: Revert last patch. | |
1252 | ||
1c063135 NC |
1253 | 2010-02-23 Nick Clifton <nickc@redhat.com> |
1254 | ||
1255 | * po/bg.po: Updated Bulgarian translation. | |
1256 | ||
c380a809 AM |
1257 | 2010-02-22 Alan Modra <amodra@gmail.com> |
1258 | ||
1259 | PR ld/11304 | |
1260 | * ldlang.c (exp_init_os): Delete forward declaration. | |
1261 | (init_os): Don't check for bfd_section already created and don't | |
1262 | init addr_tree and load_base expressions here. | |
1263 | (map_input_to_output_sections): Only map input to output sections | |
1264 | and set constraints here, and as an exception, create output | |
1265 | sections which have their address set. Move all the other code to.. | |
1266 | (create_other_output_sections): ..here. New function. Handle init | |
1267 | of addr_tree and load_base here too. | |
1268 | (lang_process): Call create_other_output_sections. | |
1269 | ||
c8c66882 AM |
1270 | 2010-02-19 Alan Modra <amodra@gmail.com> |
1271 | ||
1272 | * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS. | |
1273 | * Makefile.in: Regenerate. | |
1274 | ||
d0bf826b AM |
1275 | 2010-02-19 Alan Modra <amodra@gmail.com> |
1276 | ||
1277 | * ldlang.c (unique_section_p): Add os param. Allow group | |
1278 | sections to match /DISCARD/. Update all callers. | |
1279 | * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New. | |
1280 | (LDEMUL_BEFORE_ALLOCATION): Define. | |
1281 | ||
ab7875de NC |
1282 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
1283 | ||
1284 | * po/vi.po: Updated Vietnamese translation. | |
1285 | ||
45e481d1 RS |
1286 | 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com> |
1287 | ||
1288 | * Makefile.am (CFILES): Add ldlex-wrapper.c. | |
1289 | (OFILES): Replace ldlex.c with ldlex-wrapper.c. | |
1290 | (ldlex.o): Replace with... | |
1291 | (ldlex-wrapper.o): ...this new rule. | |
1292 | (EXTRA_ld_new_SOURCES): Add ldlex.l. | |
1293 | (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c. | |
1294 | * Makefile.in: Regenerate. | |
1295 | * ldlex.l (sysdep.h): Don't include here. | |
1296 | * ldlex-wrapper.c: New file. | |
1297 | ||
33c0ec9d AM |
1298 | 2010-02-09 Alan Modra <amodra@gmail.com> |
1299 | ||
1300 | * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed | |
1301 | function parameters. | |
1302 | ||
ef3f88be NC |
1303 | 2010-02-05 Nick Clifton <nickc@redhat.com> |
1304 | ||
1305 | * configure.in (ALL_LIBGUAS): Add bg. | |
1306 | * configure: Regenerate. | |
1307 | * po/bg.po: New Bulgarian translation. | |
1308 | ||
f8266dc4 NC |
1309 | 2010-02-05 Ryan Mansfield <rmansfield@qnx.com> |
1310 | ||
1311 | * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for | |
1312 | --target1-abs and --target1-rel options. | |
1313 | ||
4dfe6ac6 NC |
1314 | 2010-02-03 Nick Clifton <nickc@redhat.com> |
1315 | ||
1316 | * emultempl/alphaelf.em: Update value expected from elf_object_id. | |
1317 | * emultempl/hppaelf.em: Likewise. | |
1318 | * emultempl/mipself.em: Likewise. | |
1319 | * emultempl/ppc32elf.em: Likewise. | |
1320 | * emultempl/ppc64elf.em: Likewise. | |
1321 | ||
927be08e AM |
1322 | 2010-02-03 Alan Modra <amodra@gmail.com> |
1323 | ||
1324 | * emultempl/ppc64elf.em (build_toc_list): Report errors from | |
1325 | ppc64_elf_next_toc_section. | |
1326 | (after_allocation): Update for changed function names and params. | |
1327 | Run second pass of multitoc partitioning. | |
1328 | ||
c4b78195 NC |
1329 | 2010-01-21 Jon Grant <jg@jguk.org> |
1330 | Nick Clifton <nickc@redhat.com> | |
1331 | ||
1332 | PR 4437 | |
1333 | * ldfile.c: (ldfile_open_file): Do not stop link upon encountering | |
1334 | a missing file or library. Instead mark the entry as missing and | |
1335 | set the global flag to indicate that missing files were | |
1336 | encountered. | |
1337 | * ldlang.c (missing_files): New exported variable. | |
1338 | (load_symbols): Skip loading if the file is missing. | |
1339 | (open_input_bfds): Terminate link if any input files were | |
1340 | missing. | |
1341 | * ldlang.h (struct lang_input_statement_struct): Add missing_file | |
1342 | field. | |
1343 | Add export of missing_file variable. | |
1344 | ||
b5f14a6d DD |
1345 | 2010-01-13 DJ Delorie <dj@redhat.com> |
1346 | ||
1347 | * emultempl/elf32.em (_place_orphan): If an input section doesn't | |
1348 | match an existing output section, but an unused output section | |
1349 | statement does match, use it. | |
1350 | * emultempl/pe.em (_place_orphan): Likewise. | |
1351 | * emultempl/pep.em (_place_orphan): Likewise. | |
1352 | ||
3725885a RW |
1353 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1354 | ||
1355 | * configure: Regenerate. | |
1356 | * Makefile.in: Regenerate. | |
1357 | ||
5256a5b0 L |
1358 | 2010-01-08 H.J. Lu <hongjiu.lu@intel.com> |
1359 | ||
1360 | * ldver.c (ldversion): Change to "Copyright 2010". | |
1361 | ||
b903363e AM |
1362 | 2010-01-08 Alan Modra <amodra@gmail.com> |
1363 | ||
1364 | PR 11107 | |
1365 | * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr. | |
9dda37c1 | 1366 | |
43ecc30f | 1367 | For older changes see ChangeLog-2009 |
252b5132 RH |
1368 | \f |
1369 | Local Variables: | |
1370 | mode: change-log | |
1371 | left-margin: 8 | |
1372 | fill-column: 74 | |
1373 | version-control: never | |
1374 | End: |