1 |
145 |
khays |
2011-06-03 Nick Clifton
|
2 |
|
|
|
3 |
|
|
* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c
|
4 |
|
|
Add rule to build eelf32am33lin.c
|
5 |
|
|
* Makefile.in: Regenerate.
|
6 |
|
|
|
7 |
|
|
2011-06-02 Nick Clifton
|
8 |
|
|
|
9 |
|
|
* lexsup.c: Fix spelling mistake in comment.
|
10 |
|
|
* scripttempl/epocpe.sc: Likewise.
|
11 |
|
|
* scripttempl/i386beos.sc: Likewise.
|
12 |
|
|
* scripttempl/mcorepe.sc: Likewise.
|
13 |
|
|
* scripttempl/pe.sc: Likewise.
|
14 |
|
|
* scripttempl/pep.sc: Likewise.
|
15 |
|
|
* po/ld.pot: Regenerate.
|
16 |
|
|
|
17 |
|
|
2011-05-27 Nick Clifton
|
18 |
|
|
|
19 |
|
|
* scripttempl/v850.sc (_heap_start): Provide.
|
20 |
|
|
|
21 |
|
|
2011-05-23 Alan Modra
|
22 |
|
|
|
23 |
|
|
* ldmisc.c (vfinfo): Add %H.
|
24 |
|
|
* ldmain.c (reloc_overflow): Use %H rather than %C.
|
25 |
|
|
(reloc_dangerous, unattached_reloc): Likewise.
|
26 |
|
|
|
27 |
|
|
2011-05-23 Alan Modra
|
28 |
|
|
|
29 |
|
|
PR 12763
|
30 |
|
|
* ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2
|
31 |
|
|
like sections to existing .sdata2, and similarly for orphan TLS
|
32 |
|
|
sections.
|
33 |
|
|
* emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss.
|
34 |
|
|
|
35 |
|
|
2011-05-17 Tomohiro Kashiwada
|
36 |
|
|
|
37 |
|
|
PR ld/12759
|
38 |
|
|
* emultempl/rxelf.em (ignore_lma): New variable.
|
39 |
|
|
(rx_elf_create_output_section_statements): Pass the setiing of
|
40 |
|
|
ignore_lma to bfd_elf32_rx_set_target_flags.
|
41 |
|
|
(OPTION_IGNORE_LMA): Define.
|
42 |
|
|
(OPTION_NO_IGNORE_LMA): Define.
|
43 |
|
|
(PARSE_AND_LIST_LONGOPTS): Add ignore lma.
|
44 |
|
|
(PARSE_AND_LIST_OPTIONS): Add ignore lma.
|
45 |
|
|
(PARSE_AND_LIST_ARGS_CASES): Add ignore lma.
|
46 |
|
|
|
47 |
|
|
2011-05-17 Alan Modra
|
48 |
|
|
|
49 |
|
|
PR ld/12760
|
50 |
|
|
* ldmain.c (notice): Add "flags" and "string" param.
|
51 |
|
|
* plugin.c (plugin_notice): Likewise. Handle indirect, warning
|
52 |
|
|
and constructor syms.
|
53 |
|
|
|
54 |
|
|
2010-05-16 Daniel Jacobowitz
|
55 |
|
|
|
56 |
|
|
* ldlang.c (print_assignment): Use the symbol's section if we
|
57 |
|
|
use its value.
|
58 |
|
|
* ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand
|
59 |
|
|
comment on copying symbol type.
|
60 |
|
|
|
61 |
|
|
2011-05-16 H.J. Lu
|
62 |
|
|
|
63 |
|
|
PR ld/12760
|
64 |
|
|
* plugin.c (plugin_notice): Set u.undef.abfd for symbols made
|
65 |
|
|
undefweak.
|
66 |
|
|
|
67 |
|
|
2011-05-16 Alan Modra
|
68 |
|
|
|
69 |
|
|
* ldlang.c (lang_leave_output_section_statement): Don't copy
|
70 |
|
|
previous lma_region if given address.
|
71 |
|
|
|
72 |
|
|
2011-05-13 Bernd Schmidt
|
73 |
|
|
|
74 |
|
|
(eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c,
|
75 |
|
|
eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules.
|
76 |
|
|
* Makefile.am (ALL_EMULATIONS): Add these files.
|
77 |
|
|
(eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em.
|
78 |
|
|
* Makefile.in: Regenerated.
|
79 |
|
|
* emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target
|
80 |
|
|
vectors.
|
81 |
|
|
* emulparams/elf32_tic6x_elf_be.sh: New file.
|
82 |
|
|
* emulparams/elf32_tic6x_elf_le.sh: New file.
|
83 |
|
|
* emulparams/elf32_tic6x_linux_be.sh: New file.
|
84 |
|
|
* emulparams/elf32_tic6x_linux_le.sh: New file.
|
85 |
|
|
* configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New.
|
86 |
|
|
(tic6x-*-*): Replaced by these.
|
87 |
|
|
|
88 |
|
|
2011-05-13 Jan Beulich
|
89 |
|
|
|
90 |
|
|
* configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep.
|
91 |
|
|
|
92 |
|
|
2011-05-09 Paul Brook
|
93 |
|
|
|
94 |
|
|
* emultempl/tic6xdsbt.em (merge_exidx_entries): New.
|
95 |
|
|
(compare_output_sec_vma): New function.
|
96 |
|
|
(gld${EMULATION_NAME}_after_allocation): New function.
|
97 |
|
|
(OPTION_NO_MERGE_EXIDX_ENTRIES): Define.
|
98 |
|
|
(PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries.
|
99 |
|
|
(PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES.
|
100 |
|
|
(LDEMUL_AFTER_ALLOCATION): Set.
|
101 |
|
|
* ld.texinfo: Document c6x --no-merge-exidx-entries.
|
102 |
|
|
|
103 |
|
|
2011-05-07 Dave Korn
|
104 |
|
|
|
105 |
|
|
PR ld/12365
|
106 |
|
|
* scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition.
|
107 |
|
|
(__rt_psrelocs_end): Likewise.
|
108 |
|
|
(__rt_psrelocs_size): Likewise difference between the above.
|
109 |
|
|
(__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section
|
110 |
|
|
immediately after end of pseudo-reloc data.
|
111 |
|
|
(___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise.
|
112 |
|
|
(__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and
|
113 |
|
|
calculate backward from list end.
|
114 |
|
|
(___RUNTIME_PSEUDO_RELOC_LIST___): Likewise.
|
115 |
|
|
* scripttempl/pep.sc: Likewise.
|
116 |
|
|
|
117 |
|
|
2011-05-06 Tristan Gingold
|
118 |
|
|
|
119 |
|
|
* scripttempl/alphavms.sc (CODE): Add *$CODE*.
|
120 |
|
|
|
121 |
|
|
2011-05-04 Tristan Gingold
|
122 |
|
|
|
123 |
|
|
* emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add
|
124 |
|
|
LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION.
|
125 |
|
|
* emultempl/vms.em (OPTION_IDENTIFICATION): New macro.
|
126 |
|
|
(gld${EMULATION_NAME}_add_options): New function.
|
127 |
|
|
(gld${EMULATION_NAME}_list_options): Ditto.
|
128 |
|
|
(gld${EMULATION_NAME}_handle_option): Ditto.
|
129 |
|
|
(LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION)
|
130 |
|
|
(LDEMUL_LIST_OPTIONS): Define.
|
131 |
|
|
|
132 |
|
|
2011-05-04 Alan Modra
|
133 |
|
|
|
134 |
|
|
PR ld/12726
|
135 |
|
|
* ldexp.h (lang_phase_type): Add lang_assigning_phase_enum.
|
136 |
|
|
* ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't
|
137 |
|
|
assign to dot when lang_assigning_phase_enum.
|
138 |
|
|
* ldlang.h (lang_do_assignments): Update prototype.
|
139 |
|
|
* ldlang.c (lang_do_assignments): Add phase parameter. Update all
|
140 |
|
|
callers.
|
141 |
|
|
* pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
|
142 |
|
|
lang_do_assignments calls.
|
143 |
|
|
|
144 |
|
|
2011-04-28 Daniel C. Klauer
|
145 |
|
|
|
146 |
|
|
PR ld/12614
|
147 |
|
|
* emultempl/pe.em (_after_open): Correctly check whether symbol is
|
148 |
|
|
in undef list.
|
149 |
|
|
|
150 |
|
|
2011-04-26 Kai Tietz
|
151 |
|
|
|
152 |
|
|
* scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
|
153 |
|
|
* scripttempl/pep.sc: Likewise.
|
154 |
|
|
|
155 |
|
|
2011-04-24 Alan Modra
|
156 |
|
|
|
157 |
|
|
PR ld/12365
|
158 |
|
|
PR ld/12696
|
159 |
|
|
* ldmain.c (notice): Delete "name" param, add "h".
|
160 |
|
|
* plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle
|
161 |
|
|
redefinitions of IR symbols in real BFDs.
|
162 |
|
|
(plugin_multiple_definition, plugin_multiple_common): Delete.
|
163 |
|
|
(non_ironly_hash, init_non_ironly_hash): Delete.
|
164 |
|
|
(is_visible_from_outside): Traverse entry_symbol chain.
|
165 |
|
|
(get_symbols): Use non_ir_ref flag rather than hash lookup.
|
166 |
|
|
|
167 |
|
|
2011-04-21 Tristan Gingold
|
168 |
|
|
|
169 |
|
|
* scripttempl/alphavms.sc: Add dwarf2 embedding marks.
|
170 |
|
|
|
171 |
|
|
2011-04-20 Tristan Gingold
|
172 |
|
|
|
173 |
|
|
* emultempl/aix.em (_add_options): Ignore -bbigtoc switch.
|
174 |
|
|
|
175 |
|
|
2011-04-20 Alan Modra
|
176 |
|
|
|
177 |
|
|
* ld.h (ld_config_type ): Make it an unsigned long.
|
178 |
|
|
|
179 |
|
|
2011-04-20 Alan Modra
|
180 |
|
|
|
181 |
|
|
PR ld/12365
|
182 |
|
|
* ldfile.c (ldfile_try_open_bfd): Move code creating and switching
|
183 |
|
|
to plugin IR BFD..
|
184 |
|
|
* ldmain.c (add_archive_element): ..and similar code here..
|
185 |
|
|
* plugin.c (plugin_maybe_claim): ..to here. New function.
|
186 |
|
|
(plugin_call_claim_file): Make static.
|
187 |
|
|
(asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
|
188 |
|
|
(plugin_multiple_common): New function.
|
189 |
|
|
(plugin_call_all_symbols_read): Hook in plugin_multiple_common.
|
190 |
|
|
* plugin.h (plugin_call_claim_file): Don't declare.
|
191 |
|
|
(plugin_maybe_claim): Declare.
|
192 |
|
|
|
193 |
|
|
2011-04-20 Alan Modra
|
194 |
|
|
|
195 |
|
|
PR ld/12365
|
196 |
|
|
* ldmain.c (multiple_definition): Take a bfd_link_hash_entry
|
197 |
|
|
pointer arg rather than "name", "obfd", "osec", "oval". Add code
|
198 |
|
|
removed from linker.c. Hack around xcofflink.c oddity in
|
199 |
|
|
passing NULL nbfd.
|
200 |
|
|
(multiple_common): Similarly.
|
201 |
|
|
* plugin.c (orig_allow_multiple_defs): Delete.
|
202 |
|
|
(plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
|
203 |
|
|
(plugin_multiple_definition): Update.
|
204 |
|
|
|
205 |
|
|
2011-04-18 Kai Tietz
|
206 |
|
|
|
207 |
|
|
* deffilep.y (def_aligncomm): Avoid duplets.
|
208 |
|
|
|
209 |
|
|
* deffilep.y (def_pool_str): New type.
|
210 |
|
|
(pool_strs): Local static.
|
211 |
|
|
(def_pool_alloc): Local function.
|
212 |
|
|
(def_pool_strdup): Likewise.
|
213 |
|
|
(def_pool_free): Likewise.
|
214 |
|
|
(opt_name): Replace xmalloc/xstrdup by
|
215 |
|
|
def_pool_alloc/def_pool_strdup.
|
216 |
|
|
(dot_name): Likewise.
|
217 |
|
|
(anylang_id): Likewise.
|
218 |
|
|
(def_lex): Likewise.
|
219 |
|
|
(def_file_parse): Call def_pool_free on
|
220 |
|
|
exit and cleanup directives elements.
|
221 |
|
|
(def_file_add_directive): Call def_pool_free.
|
222 |
|
|
|
223 |
|
|
2011-04-18 Paul Brook
|
224 |
|
|
|
225 |
|
|
* emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS
|
226 |
|
|
for unwinding tables.
|
227 |
|
|
|
228 |
|
|
2011-04-18 Alan Modra
|
229 |
|
|
|
230 |
|
|
PR ld/12365
|
231 |
|
|
PR ld/12672
|
232 |
|
|
* ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action
|
233 |
|
|
when no_more_claiming.
|
234 |
|
|
* ldmain.c (add_archive_element): Likewise.
|
235 |
|
|
(multiple_definition): Remove plugin_multiple_definition call.
|
236 |
|
|
(notice): Remove plugin_notice call.
|
237 |
|
|
* ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move.
|
238 |
|
|
Delete prototype.
|
239 |
|
|
(plugin_insert): New static var.
|
240 |
|
|
(open_input_bfds): Only rescan libs after plugin insert point.
|
241 |
|
|
(lang_gc_sections): Omit plugin claimed files.
|
242 |
|
|
(lang_process): Set plugin_insert. Only rescan when plugin adds
|
243 |
|
|
objects.
|
244 |
|
|
* plugin.h (no_more_claiming): Declare.
|
245 |
|
|
(plugin_notice, plugin_multiple_definition): Don't declare.
|
246 |
|
|
* plugin.c: Formatting.
|
247 |
|
|
(orig_notice_all, orig_allow_multiple_defs, orig_callbacks,
|
248 |
|
|
plugin_callbacks): New static vars.
|
249 |
|
|
(no_more_claiming): Make global.
|
250 |
|
|
(plugin_cached_allow_multiple_defs): Delete.
|
251 |
|
|
(plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section,
|
252 |
|
|
use newer bfd_make_section variant. Make COMMON section too.
|
253 |
|
|
Error handling. Correct setting of gp size.
|
254 |
|
|
(asymbol_from_plugin_symbol): Properly cast last arg of concat.
|
255 |
|
|
(message): Likewise for ACONCAT.
|
256 |
|
|
(asymbol_from_plugin_symbol): Use our COMMON section.
|
257 |
|
|
(get_symbols): When report_plugin_symbols, show visibility too.
|
258 |
|
|
(init_non_ironly_hash): Move. Don't test non_ironly_hash.
|
259 |
|
|
(plugin_load_plugins): Save state of linker callbacks, set up to
|
260 |
|
|
call plugin_notice instead. Call init_non_ironly_hash here.
|
261 |
|
|
(plugin_call_all_symbols_read): Set plugin_multiple_definition in
|
262 |
|
|
plugin callbacks.
|
263 |
|
|
(plugin_notice): Rewrite.
|
264 |
|
|
(plugin_multiple_definition): Make static, call original callback.
|
265 |
|
|
|
266 |
|
|
2011-04-15 Alan Modra
|
267 |
|
|
|
268 |
|
|
PR ld/12672
|
269 |
|
|
* ldlang.c (enum open_bfd_mode): New.
|
270 |
|
|
(open_input_bfds): Replace "force" param with "mode". Reload
|
271 |
|
|
archives for rescan. Update all callers.
|
272 |
|
|
(lang_process): Make another open_input_bfds pass for plugins.
|
273 |
|
|
|
274 |
|
|
2011-04-13 Kai Tietz
|
275 |
|
|
|
276 |
|
|
PR binutils/12658
|
277 |
|
|
* deffile.h (def_file_add_export): Add is_dup argument.
|
278 |
|
|
(def_file_add_import): Likewise.
|
279 |
|
|
* deffilep.y (are_names_equal): New helper.
|
280 |
|
|
(cmp_export_elem): New helper.
|
281 |
|
|
(find_export_in_list): Add search routine for exports.
|
282 |
|
|
(def_file_add_export): Check for duplicates.
|
283 |
|
|
(cmp_import_elem): New helper.
|
284 |
|
|
(find_import_in_list): Add search routine for imports.
|
285 |
|
|
(def_file_add_import): Check for duplicates.
|
286 |
|
|
(def_exports): Handle duplicates.
|
287 |
|
|
(def_imports): Likewise.
|
288 |
|
|
* pe-dll.c (process_def_file_and_drectve): Likewise.
|
289 |
|
|
(pe_implied_import_dll): Likewise.
|
290 |
|
|
|
291 |
|
|
2011-04-11 Chris Quenelle
|
292 |
|
|
|
293 |
|
|
* scripttempl/elf.sc (.exception_ranges): Add new section.
|
294 |
|
|
|
295 |
|
|
2011-04-08 Hector Oron
|
296 |
|
|
|
297 |
|
|
PR ld/12643
|
298 |
|
|
* configure.tgt: Add support for arm-*-gnueabihf targets.
|
299 |
|
|
|
300 |
|
|
2011-04-07 Eric B. Weddington
|
301 |
|
|
|
302 |
|
|
* Makefile.in: Regenerate. Remove stray eavrtiny10 rules.
|
303 |
|
|
|
304 |
|
|
2011-04-07 Joseph Myers
|
305 |
|
|
|
306 |
|
|
* configure.tgt: Remove stray ;;.
|
307 |
|
|
|
308 |
|
|
2011-04-06 Joseph Myers
|
309 |
|
|
|
310 |
|
|
* configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
|
311 |
|
|
strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
|
312 |
|
|
thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
|
313 |
|
|
xscale-*-coff, xscale-*-elf): Remove targets.
|
314 |
|
|
|
315 |
|
|
2011-03-31 H.J. Lu
|
316 |
|
|
|
317 |
|
|
* configure.tgt: Add elf_l1om to targ_extra_libpath for
|
318 |
|
|
x86_64-*-linux-*.
|
319 |
|
|
|
320 |
|
|
* emulparams/elf_l1om.sh: Remove duplicates.
|
321 |
|
|
|
322 |
|
|
2011-03-31 Bernd Schmidt
|
323 |
|
|
|
324 |
|
|
* emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
|
325 |
|
|
GENERATE_SHLIB_SCRIPT): New defines.
|
326 |
|
|
(TEXT_START_ADDR): Define differently depending on target.
|
327 |
|
|
(.got): Redefine to include "*(.dsbt)".
|
328 |
|
|
(SDATA_START_SYMBOLS): Remove, replace with
|
329 |
|
|
(OTHER_GOT_SYMBOLS): New.
|
330 |
|
|
(OTHER_BSS_SECTIONS): Define only for ELF targets.
|
331 |
|
|
* emultempl/tic6xdsbt.em: New file.
|
332 |
|
|
* gen-doc.texi: Set C6X.
|
333 |
|
|
* ld.texinfo: Likewise.
|
334 |
|
|
(Options specific to C6X uClinux targets): New section.
|
335 |
|
|
|
336 |
|
|
2011-03-29 Alan Modra
|
337 |
|
|
|
338 |
|
|
PR ld/12613
|
339 |
|
|
* ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
|
340 |
|
|
|
341 |
|
|
2011-03-26 John Marino
|
342 |
|
|
|
343 |
|
|
* configure.host: Update *-*-dragonfly* host entry.
|
344 |
|
|
* configure.tgt: Update *-*-dragonfly* target entry.
|
345 |
|
|
* ldlex.l: Prevent redefinition of YY_NO_UNPUT.
|
346 |
|
|
|
347 |
|
|
2011-03-28 Joseph Myers
|
348 |
|
|
|
349 |
|
|
* configure.in: Check for windows.h, not Windows.h.
|
350 |
|
|
* configure: Regenerate.
|
351 |
|
|
* plugin.c: Include windows.h, not Windows.h.
|
352 |
|
|
|
353 |
|
|
2011-03-25 Eric B. Weddington
|
354 |
|
|
|
355 |
|
|
* Makefile.in: Regenerate.
|
356 |
|
|
|
357 |
|
|
2011-03-23 Joseph Myers
|
358 |
|
|
|
359 |
|
|
* lexsup.c (parse_args): Only set report_plugin_symbols if plugins
|
360 |
|
|
are enabled. Mark level as possibly unused.
|
361 |
|
|
|
362 |
|
|
2011-03-22 Eric B. Weddington
|
363 |
|
|
|
364 |
|
|
* Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
|
365 |
|
|
(eavrxmega?.c): Likewise.
|
366 |
|
|
* configure.tgt (targ_extra_emuls): Likewise.
|
367 |
|
|
* emulparams/avrxmega1.sh: New file.
|
368 |
|
|
* emulparams/avrxmega2.sh: Likewise.
|
369 |
|
|
* emulparams/avrxmega3.sh: Likewise.
|
370 |
|
|
* emulparams/avrxmega4.sh: Likewise.
|
371 |
|
|
* emulparams/avrxmega5.sh: Likewise.
|
372 |
|
|
* emulparams/avrxmega6.sh: Likewise.
|
373 |
|
|
* emulparams/avrxmega7.sh: Likewise.
|
374 |
|
|
* emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
|
375 |
|
|
Add avrxmega6, avrxmega7 to list of architectures for no stubs.
|
376 |
|
|
|
377 |
|
|
2011-03-21 Eric B. Weddington
|
378 |
|
|
|
379 |
|
|
* scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
|
380 |
|
|
|
381 |
|
|
2011-03-14 Richard Sandiford
|
382 |
|
|
|
383 |
|
|
* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
|
384 |
|
|
eh->target_internal.
|
385 |
|
|
|
386 |
|
|
2011-03-14 Richard Sandiford
|
387 |
|
|
|
388 |
|
|
* emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
|
389 |
|
|
instead of dynamic_sections_created.
|
390 |
|
|
|
391 |
|
|
2011-03-10 Dave Korn
|
392 |
|
|
|
393 |
|
|
* plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
|
394 |
|
|
|
395 |
|
|
2011-03-10 Dave Korn
|
396 |
|
|
|
397 |
|
|
* ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
|
398 |
|
|
|
399 |
|
|
2011-03-10 Dave Korn
|
400 |
|
|
|
401 |
|
|
* ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
|
402 |
|
|
wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
|
403 |
|
|
* ldmain.c (add_archive_element): Set it if the member is claimed.
|
404 |
|
|
* ldlang.c (new_afile): Initialise claim_archive and claimed members.
|
405 |
|
|
(find_replacements_insert_point): New helper function.
|
406 |
|
|
(lang_process): After adding and opening replacement files passed
|
407 |
|
|
from plugin, splice them into correct place in statement list and
|
408 |
|
|
file chains to preserve critical link order.
|
409 |
|
|
(lang_list_insert_after): New helper function.
|
410 |
|
|
(lang_list_remove_tail): Likewise.
|
411 |
|
|
|
412 |
|
|
2011-03-10 Dave Korn
|
413 |
|
|
|
414 |
|
|
* plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
|
415 |
|
|
(IRONLY_SUFFIX_LEN): Delete.
|
416 |
|
|
(plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
|
417 |
|
|
(is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
|
418 |
|
|
enclosing lang input statement instead.
|
419 |
|
|
|
420 |
|
|
2011-03-10 Dave Korn
|
421 |
|
|
|
422 |
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
|
423 |
|
|
alignment of input sections when creating orphan output sections
|
424 |
|
|
during relocatable link.
|
425 |
|
|
* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
|
426 |
|
|
|
427 |
|
|
2011-03-04 H.J. Lu
|
428 |
|
|
|
429 |
|
|
* ld.texinfo: Document --verbose[=NUMBER].
|
430 |
|
|
|
431 |
|
|
* lexsup.c (ld_options): Update --verbose.
|
432 |
|
|
(parse_args): Set report_plugin_symbols.
|
433 |
|
|
|
434 |
|
|
* plugin.c (report_plugin_symbols): New.
|
435 |
|
|
(get_symbols): Report plugin symbols if report_plugin_symbols
|
436 |
|
|
is TRUE.
|
437 |
|
|
|
438 |
|
|
* plugin.h (report_plugin_symbols): New.
|
439 |
|
|
|
440 |
|
|
2011-03-01 H.J. Lu
|
441 |
|
|
|
442 |
|
|
PR ld/12529
|
443 |
|
|
* testplug.c: Don't include "filenames.h".
|
444 |
|
|
(onclaim_file): Don't use filename_cmp.
|
445 |
|
|
|
446 |
|
|
2011-02-28 Kai Tietz
|
447 |
|
|
|
448 |
|
|
* emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
|
449 |
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
|
450 |
|
|
Likewise.
|
451 |
|
|
(gld${EMULATION_NAME}_stat_needed): Likewise.
|
452 |
|
|
(gld${EMULATION_NAME}_check_needed): Likewise.
|
453 |
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
|
454 |
|
|
(gld_${EMULATION_NAME}_unrecognized_file): Likewise.
|
455 |
|
|
* emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
|
456 |
|
|
(gld_${EMULATION_NAME}_unrecognized_file): Likewise.
|
457 |
|
|
* ldfile.c (ldfile_open_file): Likewise.
|
458 |
|
|
* ldlang.c (wild_sort): Likewise.
|
459 |
|
|
(lookup_name): Likewise.
|
460 |
|
|
(check_excluded_libs): Likewise.
|
461 |
|
|
* ldmisc.c (vfinfo): Likewise.
|
462 |
|
|
* pe-dll.c (libnamencmp): Likewise.
|
463 |
|
|
(auto_export): Likewise.
|
464 |
|
|
(pe_dll_generate_implib): Likewise.
|
465 |
|
|
* testplug.c (onclaim_file): Likewise.
|
466 |
|
|
|
467 |
|
|
2011-02-24 H.J. Lu
|
468 |
|
|
|
469 |
|
|
PR ld/12507
|
470 |
|
|
* plugin.c (get_symbols): Don't check entry symbol here.
|
471 |
|
|
(init_non_ironly_hash): Add entry_symbol chain into
|
472 |
|
|
non_ironly_hash.
|
473 |
|
|
|
474 |
|
|
2011-02-24 H.J. Lu
|
475 |
|
|
|
476 |
|
|
PR ld/12507
|
477 |
|
|
* plugin.c (get_symbols): Don't mark entry symbol IR only.
|
478 |
|
|
|
479 |
|
|
2011-02-18 John David Anglin
|
480 |
|
|
|
481 |
|
|
PR ld/12376
|
482 |
|
|
emulparams/hppalinux.sh (DATA_ADDR): Define.
|
483 |
|
|
(SHLIB_DATA_ADDR): Likewise.
|
484 |
|
|
|
485 |
|
|
2011-02-16 H.J. Lu
|
486 |
|
|
|
487 |
|
|
* emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
|
488 |
|
|
x32 for x32.
|
489 |
|
|
|
490 |
|
|
2011-02-15 Kai Tietz
|
491 |
|
|
|
492 |
|
|
* pe-dll.c (process_def_file_and_drectve): Don't strip
|
493 |
|
|
leading underscore from symbol by calling bfd_find_version_for_sym.
|
494 |
|
|
|
495 |
|
|
2011-02-14 Mike Frysinger
|
496 |
|
|
|
497 |
|
|
* ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
|
498 |
|
|
the bfd_demangle of sym, change users of sym to c_sym when not
|
499 |
|
|
already demangling, and free when done. Change callers of
|
500 |
|
|
cplus_demangle to bfd_demangle.
|
501 |
|
|
|
502 |
|
|
2011-02-14 Alan Modra
|
503 |
|
|
|
504 |
|
|
* plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy
|
505 |
|
|
.text section, use newer bfd_make_section variant. Error handling.
|
506 |
|
|
Correct setting of gp size.
|
507 |
|
|
(asymbol_from_plugin_symbol): Properly cast last arg of concat.
|
508 |
|
|
(message): Likewise for ACONCAT.
|
509 |
|
|
(get_symbols): Formatting.
|
510 |
|
|
|
511 |
|
|
2011-02-14 Alan Modra
|
512 |
|
|
|
513 |
|
|
* ldmain.c (remove_output): Rename to..
|
514 |
|
|
(ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
|
515 |
|
|
(main): Adjust.
|
516 |
|
|
* plugin.c (plugin_call_cleanup): Make global.
|
517 |
|
|
(plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
|
518 |
|
|
* plugin.h (plugin_call_cleanup): Declare.
|
519 |
|
|
|
520 |
|
|
2011-02-13 Ralf Wildenhues
|
521 |
|
|
|
522 |
|
|
* configure: Regenerate.
|
523 |
|
|
|
524 |
|
|
2011-02-10 Alan Modra
|
525 |
|
|
|
526 |
|
|
* scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
|
527 |
|
|
* scripttempl/avr.sc: Likewise.
|
528 |
|
|
* scripttempl/elf32cr16.sc: Likewise.
|
529 |
|
|
* scripttempl/elf32crx.sc: Likewise.
|
530 |
|
|
* scripttempl/elf32msp430.sc: Likewise.
|
531 |
|
|
* scripttempl/elf32msp430_3.sc: Likewise.
|
532 |
|
|
* scripttempl/elf32sh-symbian.sc: Likewise.
|
533 |
|
|
* scripttempl/elf64hppa.sc: Likewise.
|
534 |
|
|
* scripttempl/elf_chaos.sc: Likewise.
|
535 |
|
|
* scripttempl/elfd10v.sc: Likewise.
|
536 |
|
|
* scripttempl/elfd30v.sc: Likewise.
|
537 |
|
|
* scripttempl/elfi370.sc: Likewise.
|
538 |
|
|
* scripttempl/elfm68hc11.sc: Likewise.
|
539 |
|
|
* scripttempl/elfm68hc12.sc: Likewise.
|
540 |
|
|
* scripttempl/elfxtensa.sc: Likewise.
|
541 |
|
|
* scripttempl/ip2k.sc: Likewise.
|
542 |
|
|
* scripttempl/iq2000.sc: Likewise.
|
543 |
|
|
* scripttempl/mep.sc: Likewise.
|
544 |
|
|
* scripttempl/mmo.sc: Likewise.
|
545 |
|
|
* scripttempl/v850.sc: Likewise.
|
546 |
|
|
* scripttempl/xstormy16.sc: Likewise.
|
547 |
|
|
* scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
|
548 |
|
|
|
549 |
|
|
2011-01-22 H.J. Lu
|
550 |
|
|
|
551 |
|
|
* Makefile.am (CXX): Removed.
|
552 |
|
|
|
553 |
|
|
* configure.in: Add AC_PROG_CXX.
|
554 |
|
|
|
555 |
|
|
* Makefile.in: Regenerated.
|
556 |
|
|
* configure: Likewise.
|
557 |
|
|
|
558 |
|
|
2011-01-22 Richard Sandiford
|
559 |
|
|
|
560 |
|
|
* plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
|
561 |
|
|
private data and GP size.
|
562 |
|
|
|
563 |
|
|
2011-01-21 Alan Modra
|
564 |
|
|
|
565 |
|
|
* ldexp.c (fold_binary): Set result section for arithmetic and
|
566 |
|
|
logical operations to NULL when both operands are in same section.
|
567 |
|
|
* ld.texinfo (Expression Section): Describe this.
|
568 |
|
|
|
569 |
|
|
2011-01-14 Alan Modra
|
570 |
|
|
|
571 |
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
|
572 |
|
|
attempt to put non-alloc orphans before debug sections, just place
|
573 |
|
|
them after .comment.
|
574 |
|
|
|
575 |
|
|
2011-01-14 J. Park
|
576 |
|
|
|
577 |
|
|
PR ld/12339
|
578 |
|
|
* ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
|
579 |
|
|
|
580 |
|
|
2011-01-14 Alan Modra
|
581 |
|
|
|
582 |
|
|
* Makefile.am: Sort emulation rules.
|
583 |
|
|
(eelf32am33lin.c): Delete.
|
584 |
|
|
(ALL_EMULATION_SOURCES): Sort, add missing entries.
|
585 |
|
|
(ALL_64_EMULATION_SOURCES): Likewise.
|
586 |
|
|
* Makefile.in: Regenerate.
|
587 |
|
|
|
588 |
|
|
2011-01-13 Alan Modra
|
589 |
|
|
|
590 |
|
|
PR ld/12356
|
591 |
|
|
* ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
|
592 |
|
|
(Expression Section): Update.
|
593 |
|
|
* ld.h (ld_config_type): Add sane_expr.
|
594 |
|
|
* ldgram.y (ifile_p1): Add LD_FEATURE.
|
595 |
|
|
* ldlex.l (LD_FEATYRE): New.
|
596 |
|
|
* ldemul.c (after_parse_default): Delete code handling ld_compatibility.
|
597 |
|
|
* ldexp.h (struct ldexp_control): Delete uses_defined.
|
598 |
|
|
* ldexp.c: Remove all uses of uses_defined.
|
599 |
|
|
(fold_name): Test config.sane_expr rather than ld_compatibility.
|
600 |
|
|
(exp_fold_tree_1): Likewise. Adjust handling of assignments
|
601 |
|
|
during first phase.
|
602 |
|
|
* ldlang.h (ld_compatibility): Delete.
|
603 |
|
|
(lang_ld_feature): Declare.
|
604 |
|
|
* ldlang.c (ld_compatibility): Delete.
|
605 |
|
|
(open_input_bfds): Only handle assignments for --defsym.
|
606 |
|
|
(lang_ld_feature): New function.
|
607 |
|
|
|
608 |
|
|
PR ld/12356
|
609 |
|
|
* ldexp.h (exp_assop): Delete.
|
610 |
|
|
(exp_assign, exp_defsym): Declare.
|
611 |
|
|
* ldexp.c (exp_assop): Make static, handle all assignment variations.
|
612 |
|
|
(exp_assign, exp_defsym): New functions.
|
613 |
|
|
(exp_provide): Use exp_assop.
|
614 |
|
|
* ldgram.y (defsym_expr): Use exp_defsym.
|
615 |
|
|
* ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
|
616 |
|
|
* emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
|
617 |
|
|
* emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
|
618 |
|
|
|
619 |
|
|
2011-01-12 Alan Modra
|
620 |
|
|
|
621 |
|
|
PR ld/12380
|
622 |
|
|
* ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
|
623 |
|
|
* ldexp.c (fold_unary ): Rearrange code. Test
|
624 |
|
|
for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
|
625 |
|
|
to detect when we've finished sizing sections.
|
626 |
|
|
(fold_binary ): Likewise.
|
627 |
|
|
(fold_binary ): Likewise. Also test
|
628 |
|
|
that we are not inside an output section statement.
|
629 |
|
|
* ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
|
630 |
|
|
not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
|
631 |
|
|
lang_final_phase_enum here.
|
632 |
|
|
(lang_process): Set lang_final_phase_enum here.
|
633 |
|
|
|
634 |
|
|
2011-01-10 Nick Clifton
|
635 |
|
|
|
636 |
|
|
* po/da.po: Updated Danish translation.
|
637 |
|
|
|
638 |
|
|
2011-01-10 H.J. Lu
|
639 |
|
|
|
640 |
|
|
* ldlang.c (startup_file): Removed.
|
641 |
|
|
(lang_startup): Updated.
|
642 |
|
|
|
643 |
|
|
2011-01-05 H.J. Lu
|
644 |
|
|
|
645 |
|
|
PR ld/12364
|
646 |
|
|
* plugin.c (get_symbols): Check if owner_sec->owner is NULL
|
647 |
|
|
before accessing its flags field.
|
648 |
|
|
|
649 |
|
|
2011-01-01 H.J. Lu
|
650 |
|
|
|
651 |
|
|
* ldver.c (ldversion): Update copyright to 2011.
|
652 |
|
|
|
653 |
|
|
For older changes see ChangeLog-2010
|
654 |
|
|
|
655 |
|
|
Local Variables:
|
656 |
|
|
mode: change-log
|
657 |
|
|
left-margin: 8
|
658 |
|
|
fill-column: 74
|
659 |
|
|
version-control: never
|
660 |
|
|
End:
|