Commit | Line | Data |
---|---|---|
bbd0c8e2 TG |
1 | 2011-11-03 Tristan Gingold <gingold@adacore.com> |
2 | ||
3 | * scripttempl/aix.sc: Consider header size for .text and .data | |
4 | alignment. | |
5 | ||
a72173de TG |
6 | 2011-11-02 Tristan Gingold <gingold@adacore.com> |
7 | ||
8 | * emultempl/aix.em (read_file_list): New function. | |
9 | (_handle_option): Handle '-f'. | |
10 | * NEWS: Mention this feature. | |
11 | ||
e0d08d4b RO |
12 | 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13 | ||
14 | * configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for | |
15 | targ_extra_libpath. | |
16 | ||
99c513f6 DD |
17 | 2011-11-01 DJ Delorie <dj@redhat.com> |
18 | ||
19 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32rl78.c. | |
20 | (+eelf32rl78.c): New rule. | |
21 | * Makefile.in: Regenerate. | |
22 | * configure.tgt: Add rl78-*-* case. | |
23 | * emulparams/elf32rl78.sh: New file. | |
24 | * NEWS: Mention addition of Renesas RL78 support. | |
25 | ||
69f56ae1 WL |
26 | 2011-10-28 Walter Lee <walt@tilera.com> |
27 | ||
28 | * NEWS: Fix TILEPro capitalization. | |
29 | ||
cfb8c092 NC |
30 | 2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> |
31 | ||
32 | * NEWS: Mention addition of Adapteva Epiphany support. | |
33 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32epiphany.c . | |
34 | (eelf32epiphany.c): New rule. | |
35 | * configure.tgt: Handle epiphany-*-elf. | |
36 | * emulparams/elf32epiphany.sh: New file. | |
37 | * Makefile.in: Regenerate. | |
38 | * po/ld.pot: Regenerate. | |
39 | ||
07725569 NC |
40 | 2011-10-24 Nick Clifton <nickc@redhat.com> |
41 | ||
42 | * po/ja.po: Updated Japanese translation. | |
43 | ||
5468810d AM |
44 | 2011-10-20 Alan Modra <amodra@gmail.com> |
45 | ||
46 | PR ld/13287 | |
47 | * plugin.c (plugin_should_reload): New function. | |
48 | * plugin.h (plugin_should_reload): Declare. | |
49 | * ldlang.c (open_input_bfds): Use above function. | |
50 | ||
c192a133 AM |
51 | 2011-10-19 Alan Modra <amodra@gmail.com> |
52 | ||
53 | PR ld/13254 | |
54 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add | |
55 | -z text, -z notext, -z textoff options for all targets having | |
56 | shared lib support. | |
57 | ||
4fc89632 AM |
58 | 2011-10-15 Alan Modra <amodra@gmail.com> |
59 | ||
60 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check. | |
61 | ||
0432176d DK |
62 | 2011-10-13 Dave Korn <dave.korn.cygwin@gmail.com> |
63 | ||
64 | * pe-dll.c (generate_reloc): Don't emit a base reloc for an | |
65 | underlying BFD reloc that will be discarded in eh_frame data. | |
66 | ||
d5698657 NC |
67 | 2011-10-10 Nick Clifton <nickc@redhat.com> |
68 | ||
69 | * po/bg.po: Updated Bulgarian translation. | |
70 | * po/es.po: Updated Spanish translation. | |
71 | * po/fi.po: Updated Finnish translation. | |
72 | * po/fr.po: Updated French translation. | |
73 | ||
9bbc1a67 AM |
74 | 2011-10-10 Alan Modra <amodra@gmail.com> |
75 | ||
76 | * ldmain.c (main): Move code twiddling various config and link_info | |
77 | bits to.. | |
78 | * lexsup.c (parse_args): ..here. Move plugin_load_plugins call | |
79 | into main. | |
80 | * plugin.c (set_tv_header): Test link_info.executable, not | |
81 | link_info.shared. | |
82 | (is_visible_from_outside): Likewise. Delete redundant | |
83 | is_ir_dummy_bfd check and "section" parameter. | |
84 | ||
bd518033 AM |
85 | 2011-10-10 Alan Modra <amodra@gmail.com> |
86 | ||
87 | * emultempl/ppc64elf.em (ppc_add_stub_section): Align to 32 bytes. | |
88 | ||
f7c46796 AM |
89 | 2011-10-09 Alan Modra <amodra@gmail.com> |
90 | ||
91 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Add | |
92 | missing colon to error message. | |
93 | (ppc_before_allocation): Likewise. | |
94 | ||
69ee6ab2 AM |
95 | 2011-10-06 Alan Modra <amodra@gmail.com> |
96 | ||
25f03f10 | 97 | PR ld/13229 |
69ee6ab2 AM |
98 | * plugin.c (tv_header_tags): Add LDPT_GET_SYMBOLS_V2. |
99 | (set_tv_header): Handle it. Adjust LDPT_GET_SYMBOLS. Return void. | |
100 | (get_symbols): Add def_ironly_exp param. Return that value for | |
101 | syms exported from shared libs. | |
102 | (get_symbols_v1, get_symbols_v2): New wrapper functions. | |
103 | * testplug.c: Update for above changes. | |
104 | ||
ebe9c501 KT |
105 | 2011-09-27 Kai Tietz <ktietz@redhat.com> |
106 | ||
107 | * scripttempl/pe.sc (.text): Add support for | |
108 | .gnu.linkonce.t.* section. | |
109 | (.debug_info): Only use .gnu.linkonce.wi.* for | |
110 | relocating. | |
111 | * scripttempl/pep.sc: Likewise. | |
112 | ||
a7142d94 TG |
113 | 2011-09-22 Tristan Gingold <gingold@adacore.com> |
114 | ||
115 | * NEWS: Add marker for 2.22. | |
116 | ||
15fc2e13 AM |
117 | 2011-09-20 Alan Modra <amodra@gmail.com> |
118 | ||
6cd90916 | 119 | PR ld/13201 |
15fc2e13 AM |
120 | * ldlang.h (lang_input_statement_type): Add "reload" bitfield. |
121 | Clarify comments. | |
122 | * ldlang.c (new_afile): Init new field. | |
123 | (load_symbols): Don't call ldlang_add_file when reloading. | |
124 | (open_input_bfds): Reload as-needed libs during plugin rescan. | |
125 | ||
fd91d419 L |
126 | 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> |
127 | ||
128 | PR ld/12975 | |
129 | * ldlang.c (lang_elf_version_info): Removed. | |
130 | (lang_register_vers_node): Replace lang_elf_version_info with | |
131 | link_info.version_info. | |
132 | (lang_add_vers_depend): Likewise. | |
133 | * pe-dll.c (process_def_file_and_drectve): Likewise. | |
134 | * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise. | |
135 | ||
136 | * ldlang.h (lang_elf_version_info): Removed. | |
137 | ||
138 | * plugin.c (is_visible_from_outside): Check if symbol is hidden | |
139 | by version script. | |
140 | ||
141 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
142 | Remove lang_elf_version_info. | |
143 | ||
2b7e4308 L |
144 | 2011-09-15 Dmitry Gorbachev <d.g.gorbachev@gmail.com> |
145 | ||
146 | PR ld/13183 | |
147 | * ldmain.c (add_archive_element): Support thin archive member | |
148 | for LTO. | |
149 | ||
7cf80422 NC |
150 | 2011-08-26 Nick Clifton <nickc@redhat.com> |
151 | ||
152 | * po/es.po: Updated Spanish translation. | |
153 | ||
d064f206 NC |
154 | 2011-08-26 Nick Clifton <nickc@redhat.com> |
155 | ||
156 | * NEWS: Mention that --no-copy-dt-needed-entries is now the | |
157 | default. | |
158 | ||
08efffb8 MM |
159 | 2011-08-22 Michael Matz <matz@suse.de> |
160 | ||
161 | * ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE. | |
162 | * ld.texinfo (--copy-dt-needed-entries): Mention new default. | |
163 | ||
c77ec726 AM |
164 | 2011-08-17 Alan Modra <amodra@gmail.com> |
165 | ||
166 | PR ld/12762 | |
167 | * ldlang.c (section_already_linked): Revert 2011-07-09 changes. | |
168 | * plugin.c: Likewise. | |
169 | (asymbol_from_plugin_symbol): Create linkonce section for syms | |
170 | with comdat_key. | |
171 | ||
2de70689 MGD |
172 | 2011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
173 | ||
174 | * emultempl/armelf.em (fix_arm1176): New variable. | |
175 | (arm_elf_create_output_section_statements): Pass | |
176 | fix_arm1176 option to bfd backend. | |
177 | (OPTION_FIX_ARM1176): New define. | |
178 | (OPTION_NO_FIX_ARM1176): Likewise. | |
179 | (PARSE_AND_LIST_LONGOPTS): Add new command line options. | |
180 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
181 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
182 | * ld.texinfo: Document new command line options. | |
183 | ||
7fe550fc AM |
184 | 2011-08-09 Alan Modra <amodra@gmail.com> |
185 | ||
186 | PR ld/13066 | |
187 | * plugin.c (add_symbols): Revert 2011-08-05. | |
188 | ||
b990ad61 KT |
189 | 2011-08-06 Kai Tietz <ktietz@redhat.com> |
190 | ||
191 | * scripttempl/pep.sc: Add .debug_macro section. | |
192 | * scripttempl/pe.sc: Likewise. | |
193 | ||
43e1669b AM |
194 | 2011-08-05 Alan Modra <amodra@gmail.com> |
195 | ||
196 | PR ld/12762 | |
197 | * plugin.c (add_symbols): Exclude comdat_key symbols from symbol | |
198 | table if already seen. | |
199 | ||
4309cbf2 L |
200 | 2011-08-04 H.J. Lu <hongjiu.lu@intel.com> |
201 | ||
202 | * ldmain.c (main): Replace remove_output with ld_cleanup in | |
203 | comments. | |
204 | ||
58d180e8 AM |
205 | 2011-07-26 Alan Modra <amodra@gmail.com> |
206 | ||
207 | * emulparams/elf32ppc.sh: Source plt_unwind.sh. | |
208 | * emulparams/elf64ppc.sh: Likewise. | |
209 | * emultempl/ppc32elf.em (OPTION_NO_TLS_OPT): Adjust. | |
210 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
211 | PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to | |
212 | existing values. | |
213 | * emultempl/ppc64elf.em (OPTION_STUBGROUP_SIZE): Adjust. | |
214 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
215 | PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to | |
216 | existing values. | |
217 | ||
7a9068fe L |
218 | 2011-07-22 H.J. Lu <hongjiu.lu@intel.com> |
219 | ||
220 | * Makefile.am (ALL_64_EMULATIONS): Add eelf_k1om.o and | |
221 | eelf_k1om_fbsd.o | |
222 | (eelf_k1om.c): New. | |
223 | (eelf_k1om_fbsd.c): Likewise. | |
224 | * Makefile.in: Regenerated. | |
225 | ||
226 | * configure.tgt (targ64_extra_emuls): Add elf_k1om if elf_x86_64 | |
227 | is supported. Add elf_k1om_fbsd if elf_x86_64_fbsd is supported. | |
228 | (targ_extra_emuls): Likewise. | |
229 | ||
230 | * emulparams/elf_k1om.sh: New. | |
231 | * emulparams/elf_k1om_fbsd.sh: Likewise. | |
232 | ||
30824704 RM |
233 | 2011-07-16 Roland McGrath <roland@hack.frob.com> |
234 | ||
235 | * ld.h (args_type): New field print_output_format. | |
236 | * lexsup.c (enum option_values, ld_options, parse_args): | |
237 | Handle --print-output-format. | |
238 | * ldmain.c (main): Implement --print-output-format. | |
239 | * ld.texinfo (Options): Document it. | |
240 | ||
241 | * ldlang.c (lang_get_output_target): Don't return current_target | |
242 | when it's NULL. | |
243 | ||
59b84450 AM |
244 | 2011-07-15 Alan Modra <amodra@gmail.com> |
245 | ||
246 | * Makefile.am (e*.c): Sort. | |
247 | * Makefile.in: Regenerate. | |
248 | ||
2d07dfae AM |
249 | 2011-07-14 Alan Modra <amodra@gmail.com> |
250 | ||
251 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option, | |
252 | gld${EMULATION_NAME}_list_options): Don't condition -z relro | |
253 | and -z norelro on COMMONPAGESIZE being defined. | |
254 | ||
9df0ef5f AM |
255 | 2011-07-14 Alan Modra <amodra@gmail.com> |
256 | ||
257 | * emultempl/ppc64elf.em (plt_static_chain): New var. | |
258 | (gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs. | |
259 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
260 | PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle | |
261 | --plt-static-chain and --no-plt-static-chain. | |
262 | ||
fb42df5e AM |
263 | 2011-07-14 Alan Modra <amodra@gmail.com> |
264 | ||
265 | * emultempl/elf32.em (gld${EMULATION_NAME}_add_options, | |
266 | gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options): | |
267 | Provide --build-id, -z defs, -z muldefs, -z max-page-size, | |
268 | -z common-page-size, -z execstack, -z noexecstack for all targets. | |
269 | Add help for --exclude-libs. | |
270 | (OPTION_LD_GENERATED_UNWIND_INFO, | |
271 | OPTION_NO_LD_GENERATED_UNWIND_INFO): Move this.. | |
272 | (gld${EMULATION_NAME}_handle_option): ..and code handling | |
273 | --ld-generated-unwind-info and --no-ld-generated-unwind-info.. | |
274 | * emulparams/plt_unwind.sh: ..to here. New file. Add help. | |
275 | * emulparams/elf32_x86_64.sh: Include plt_unwind.sh. | |
276 | * emulparams/elf_i386.sh: Likewise. | |
277 | * emulparams/elf_i386_chaos.sh: Likewise. | |
278 | * emulparams/elf_i386_ldso.sh: Likewise. | |
279 | * emulparams/elf_l1om.sh: Likewise. | |
280 | * emulparams/elf_x86_64.sh: Likewise. | |
281 | ||
ae17ab41 CM |
282 | 2011-07-11 Catherine Moore <clm@codesourcery.com> |
283 | ||
284 | * ld.h (section_flag_list): Add field to struct wildcard_spec. | |
285 | * ld.texinfo (INPUT_SECTION_FLAGS): Document. | |
286 | * ldgram.y (flag_info_list, flag_info): Add to union. | |
287 | (INPUT_SECTION_FLAGS): New token. | |
288 | (wildcard_spec): Initialize section_flag_list to NULL for | |
289 | each alternative. | |
290 | (sect_flag_list, sect_flags): New rules. | |
291 | (input_section_spec_no_keep): Add alternatives to recognize | |
292 | sect_flags. | |
293 | * ldlang.c (walk_wild_consider_section): Initialize | |
294 | section_flag_info field of the section struct. | |
295 | (lang_add_section): Check input section flags. | |
fb42df5e | 296 | (lang_add_wild): Initialize section_flag_list field of |
ae17ab41 CM |
297 | the statement struct. |
298 | * ldlang.h (lang_input_statement_struct): Add section_flag_list field. | |
299 | (lang_wild_statement_struct): Likewise. | |
300 | * ldlex.l (INPUT_SECTION_FLAGS): New token. | |
301 | * mri.c (mri_draw_tree): Initialize section_flag_list to NULL. | |
302 | * NEWS: Announce INPUT_SECTION_FLAGS enhancement. | |
303 | ||
0c511000 AM |
304 | 2011-07-09 H.J. Lu <hongjiu.lu@intel.com> |
305 | ||
306 | PR ld/12942 | |
307 | * ldlang.c (section_already_linked): Pass "struct already_linked *" | |
308 | to bfd_section_already_linked. | |
309 | (lang_process): Set link_info.loading_lto_outputs before | |
310 | loading LTO outputs. | |
311 | * plugin.c: Include "libbfd.h". | |
312 | (add_symbols): Call bfd_section_already_linked with comdat_key. | |
313 | ||
ade78dba L |
314 | 2011-06-20 H.J. Lu <hongjiu.lu@intel.com> |
315 | ||
316 | * configure.tgt: Revert x32 change. | |
317 | ||
e41b3a13 JJ |
318 | 2011-06-20 Jakub Jelinek <jakub@redhat.com> |
319 | ||
320 | PR ld/12570 | |
321 | * emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO, | |
322 | OPTION_NO_LD_GENERATED_UNWIND_INFO): Define. | |
323 | (gld${EMULATION_NAME}_handle_option): Handle | |
324 | --ld-generated-unwind-info and --no-ld-generated-unwind-info. | |
325 | * ld.texinfo (--ld-generated-unwind-info, | |
326 | --no-ld-generated-unwind-info): Document. | |
327 | ||
8b778942 L |
328 | 2011-06-19 H.J. Lu <hongjiu.lu@intel.com> |
329 | ||
330 | * configure.tgt: Support x32. | |
331 | ||
90b3661c NC |
332 | 2011-06-15 Nick Clifton <nickc@redhat.com> |
333 | ||
334 | * NEWS: Mention addition of TILEPRO and TIKE-Gx support. | |
335 | ||
aa137e4d NC |
336 | 2011-06-13 Walter Lee <walt@tilera.com> |
337 | ||
338 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and | |
339 | eelf32tilepro.c. | |
340 | (ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c. | |
341 | (eelf32tilegx.c): New target. | |
342 | (eelf32tilepro.c): Likewise. | |
343 | (eelf64tilegx.c): Likewise. | |
344 | * Makefile.in: Regenerate. | |
345 | * configure.tgt: Handle tilegx-*-* and tilepro-*-*. | |
346 | * emulparams/elf32tilegx.sh: New file. | |
347 | * emulparams/elf64tilegx.sh: New file. | |
348 | * emulparams/elf32tilepro.sh: New file. | |
349 | ||
80cc85a9 AM |
350 | 2011-06-13 Alan Modra <amodra@gmail.com> |
351 | ||
352 | * ldlang.c (sort_def_symbol, lang_one_common): Don't handle | |
353 | warning symbols here. | |
354 | * emultempl/pe.em (pr_sym): Remove redundant test. | |
355 | * emultempl/pep.em (pr_sym): Likewise. | |
356 | ||
ba85c43e NC |
357 | 2011-06-09 Nick Clifton <nickc@redhat.com> |
358 | ||
359 | PR ld/12845 | |
360 | * emultempl/mipself.em (mips_add_stub_section): Do not add stubs | |
361 | for sections that have been removed by garbage collection. | |
362 | ||
5b4c94ad AM |
363 | 2011-06-08 Alan Modra <amodra@gmail.com> |
364 | ||
365 | * ldlang.c (lang_one_common): Handle warning symbols. | |
366 | ||
ab3719da NC |
367 | 2011-06-07 Nick Clifton <nickc@redhat.com> |
368 | ||
369 | * configure.tgt: Accept any V850 architecture. | |
370 | ||
bc77a04a NC |
371 | 2011-06-03 Nick Clifton <nickc@redhat.com> |
372 | ||
373 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c | |
374 | Add rule to build eelf32am33lin.c | |
375 | * Makefile.in: Regenerate. | |
376 | ||
cc643b88 NC |
377 | 2011-06-02 Nick Clifton <nickc@redhat.com> |
378 | ||
379 | * lexsup.c: Fix spelling mistake in comment. | |
380 | * scripttempl/epocpe.sc: Likewise. | |
381 | * scripttempl/i386beos.sc: Likewise. | |
382 | * scripttempl/mcorepe.sc: Likewise. | |
383 | * scripttempl/pe.sc: Likewise. | |
384 | * scripttempl/pep.sc: Likewise. | |
385 | * po/ld.pot: Regenerate. | |
386 | ||
f20db198 NC |
387 | 2011-05-27 Nick Clifton <nickc@redhat.com> |
388 | ||
389 | * scripttempl/v850.sc (_heap_start): Provide. | |
390 | ||
270396f2 AM |
391 | 2011-05-23 Alan Modra <amodra@gmail.com> |
392 | ||
393 | * ldmisc.c (vfinfo): Add %H. | |
394 | * ldmain.c (reloc_overflow): Use %H rather than %C. | |
395 | (reloc_dangerous, unattached_reloc): Likewise. | |
396 | ||
6de6a7fe AM |
397 | 2011-05-23 Alan Modra <amodra@gmail.com> |
398 | ||
399 | PR 12763 | |
400 | * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2 | |
401 | like sections to existing .sdata2, and similarly for orphan TLS | |
402 | sections. | |
403 | * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss. | |
404 | ||
84bff83f NC |
405 | 2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com> |
406 | ||
407 | PR ld/12759 | |
408 | * emultempl/rxelf.em (ignore_lma): New variable. | |
409 | (rx_elf_create_output_section_statements): Pass the setiing of | |
410 | ignore_lma to bfd_elf32_rx_set_target_flags. | |
411 | (OPTION_IGNORE_LMA): Define. | |
412 | (OPTION_NO_IGNORE_LMA): Define. | |
413 | (PARSE_AND_LIST_LONGOPTS): Add ignore lma. | |
414 | (PARSE_AND_LIST_OPTIONS): Add ignore lma. | |
415 | (PARSE_AND_LIST_ARGS_CASES): Add ignore lma. | |
416 | ||
16d96b5b AM |
417 | 2011-05-17 Alan Modra <amodra@gmail.com> |
418 | ||
419 | PR ld/12760 | |
420 | * ldmain.c (notice): Add "flags" and "string" param. | |
421 | * plugin.c (plugin_notice): Likewise. Handle indirect, warning | |
422 | and constructor syms. | |
423 | ||
f37a7048 NS |
424 | 2010-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
425 | ||
426 | * ldlang.c (print_assignment): Use the symbol's section if we | |
427 | use its value. | |
428 | * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand | |
429 | comment on copying symbol type. | |
430 | ||
cd6eee13 AM |
431 | 2011-05-16 H.J. Lu <hongjiu.lu@intel.com> |
432 | ||
433 | PR ld/12760 | |
434 | * plugin.c (plugin_notice): Set u.undef.abfd for symbols made | |
435 | undefweak. | |
436 | ||
83e7bd17 AM |
437 | 2011-05-16 Alan Modra <amodra@gmail.com> |
438 | ||
439 | * ldlang.c (lang_leave_output_section_statement): Don't copy | |
440 | previous lma_region if given address. | |
441 | ||
2a616379 BS |
442 | 2011-05-13 Bernd Schmidt <bernds@codesourcery.com> |
443 | ||
444 | (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c, | |
445 | eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules. | |
446 | * Makefile.am (ALL_EMULATIONS): Add these files. | |
447 | (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em. | |
448 | * Makefile.in: Regenerated. | |
449 | * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target | |
450 | vectors. | |
451 | * emulparams/elf32_tic6x_elf_be.sh: New file. | |
452 | * emulparams/elf32_tic6x_elf_le.sh: New file. | |
453 | * emulparams/elf32_tic6x_linux_be.sh: New file. | |
454 | * emulparams/elf32_tic6x_linux_le.sh: New file. | |
455 | * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New. | |
456 | (tic6x-*-*): Replaced by these. | |
457 | ||
3ac5406b JB |
458 | 2011-05-13 Jan Beulich <jbeulich@novell.com> |
459 | ||
460 | * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep. | |
461 | ||
fbd9ad90 PB |
462 | 2011-05-09 Paul Brook <paul@codesourcery.com> |
463 | ||
464 | * emultempl/tic6xdsbt.em (merge_exidx_entries): New. | |
465 | (compare_output_sec_vma): New function. | |
466 | (gld${EMULATION_NAME}_after_allocation): New function. | |
467 | (OPTION_NO_MERGE_EXIDX_ENTRIES): Define. | |
468 | (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries. | |
469 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES. | |
470 | (LDEMUL_AFTER_ALLOCATION): Set. | |
471 | * ld.texinfo: Document c6x --no-merge-exidx-entries. | |
472 | ||
730035f7 DK |
473 | 2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> |
474 | ||
475 | PR ld/12365 | |
476 | * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition. | |
477 | (__rt_psrelocs_end): Likewise. | |
478 | (__rt_psrelocs_size): Likewise difference between the above. | |
479 | (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section | |
480 | immediately after end of pseudo-reloc data. | |
481 | (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise. | |
482 | (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and | |
483 | calculate backward from list end. | |
484 | (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise. | |
485 | * scripttempl/pep.sc: Likewise. | |
486 | ||
55221e4b TG |
487 | 2011-05-06 Tristan Gingold <gingold@adacore.com> |
488 | ||
489 | * scripttempl/alphavms.sc (CODE): Add *$CODE*. | |
490 | ||
45cfb56c TG |
491 | 2011-05-04 Tristan Gingold <gingold@adacore.com> |
492 | ||
493 | * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add | |
494 | LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION. | |
495 | * emultempl/vms.em (OPTION_IDENTIFICATION): New macro. | |
496 | (gld${EMULATION_NAME}_add_options): New function. | |
497 | (gld${EMULATION_NAME}_list_options): Ditto. | |
498 | (gld${EMULATION_NAME}_handle_option): Ditto. | |
499 | (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION) | |
500 | (LDEMUL_LIST_OPTIONS): Define. | |
501 | ||
2f65ac72 AM |
502 | 2011-05-04 Alan Modra <amodra@gmail.com> |
503 | ||
504 | PR ld/12726 | |
505 | * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum. | |
506 | * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't | |
507 | assign to dot when lang_assigning_phase_enum. | |
508 | * ldlang.h (lang_do_assignments): Update prototype. | |
509 | * ldlang.c (lang_do_assignments): Add phase parameter. Update all | |
510 | callers. | |
511 | * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update | |
512 | lang_do_assignments calls. | |
513 | ||
e0605dbe AM |
514 | 2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de> |
515 | ||
516 | PR ld/12614 | |
517 | * emultempl/pe.em (_after_open): Correctly check whether symbol is | |
518 | in undef list. | |
519 | ||
72b016b4 NC |
520 | 2011-04-26 Kai Tietz <ktietz@redhat.com> |
521 | ||
522 | * scripttempl/pe.sc: Handle .eh_frame($|.)* sections. | |
523 | * scripttempl/pep.sc: Likewise. | |
524 | ||
35ed3f94 AM |
525 | 2011-04-24 Alan Modra <amodra@gmail.com> |
526 | ||
527 | PR ld/12365 | |
528 | PR ld/12696 | |
529 | * ldmain.c (notice): Delete "name" param, add "h". | |
530 | * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle | |
531 | redefinitions of IR symbols in real BFDs. | |
532 | (plugin_multiple_definition, plugin_multiple_common): Delete. | |
533 | (non_ironly_hash, init_non_ironly_hash): Delete. | |
534 | (is_visible_from_outside): Traverse entry_symbol chain. | |
535 | (get_symbols): Use non_ir_ref flag rather than hash lookup. | |
536 | ||
9165b2bf TG |
537 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
538 | ||
539 | * scripttempl/alphavms.sc: Add dwarf2 embedding marks. | |
540 | ||
ced323bd TG |
541 | 2011-04-20 Tristan Gingold <gingold@adacore.com> |
542 | ||
543 | * emultempl/aix.em (_add_options): Ignore -bbigtoc switch. | |
544 | ||
8ad17b3a AM |
545 | 2011-04-20 Alan Modra <amodra@gmail.com> |
546 | ||
547 | * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long. | |
548 | ||
02d00247 AM |
549 | 2011-04-20 Alan Modra <amodra@gmail.com> |
550 | ||
551 | PR ld/12365 | |
552 | * ldfile.c (ldfile_try_open_bfd): Move code creating and switching | |
553 | to plugin IR BFD.. | |
554 | * ldmain.c (add_archive_element): ..and similar code here.. | |
555 | * plugin.c (plugin_maybe_claim): ..to here. New function. | |
556 | (plugin_call_claim_file): Make static. | |
557 | (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms. | |
558 | (plugin_multiple_common): New function. | |
559 | (plugin_call_all_symbols_read): Hook in plugin_multiple_common. | |
560 | * plugin.h (plugin_call_claim_file): Don't declare. | |
561 | (plugin_maybe_claim): Declare. | |
562 | ||
24f58f47 AM |
563 | 2011-04-20 Alan Modra <amodra@gmail.com> |
564 | ||
565 | PR ld/12365 | |
566 | * ldmain.c (multiple_definition): Take a bfd_link_hash_entry | |
567 | pointer arg rather than "name", "obfd", "osec", "oval". Add code | |
568 | removed from linker.c. Hack around xcofflink.c oddity in | |
569 | passing NULL nbfd. | |
570 | (multiple_common): Similarly. | |
571 | * plugin.c (orig_allow_multiple_defs): Delete. | |
572 | (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition. | |
573 | (plugin_multiple_definition): Update. | |
574 | ||
bdca0ea1 KT |
575 | 2011-04-18 Kai Tietz <ktietz@redhat.com> |
576 | ||
dc204beb KT |
577 | * deffilep.y (def_aligncomm): Avoid duplets. |
578 | ||
bdca0ea1 KT |
579 | * deffilep.y (def_pool_str): New type. |
580 | (pool_strs): Local static. | |
581 | (def_pool_alloc): Local function. | |
582 | (def_pool_strdup): Likewise. | |
583 | (def_pool_free): Likewise. | |
584 | (opt_name): Replace xmalloc/xstrdup by | |
585 | def_pool_alloc/def_pool_strdup. | |
586 | (dot_name): Likewise. | |
587 | (anylang_id): Likewise. | |
588 | (def_lex): Likewise. | |
589 | (def_file_parse): Call def_pool_free on | |
590 | exit and cleanup directives elements. | |
591 | (def_file_add_directive): Call def_pool_free. | |
592 | ||
6970a028 PB |
593 | 2011-04-18 Paul Brook <paul@codesourcery.com> |
594 | ||
595 | * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS | |
596 | for unwinding tables. | |
597 | ||
901f1d17 AM |
598 | 2011-04-18 Alan Modra <amodra@gmail.com> |
599 | ||
600 | PR ld/12365 | |
601 | PR ld/12672 | |
602 | * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action | |
603 | when no_more_claiming. | |
604 | * ldmain.c (add_archive_element): Likewise. | |
605 | (multiple_definition): Remove plugin_multiple_definition call. | |
606 | (notice): Remove plugin_notice call. | |
607 | * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move. | |
608 | Delete prototype. | |
609 | (plugin_insert): New static var. | |
610 | (open_input_bfds): Only rescan libs after plugin insert point. | |
611 | (lang_gc_sections): Omit plugin claimed files. | |
612 | (lang_process): Set plugin_insert. Only rescan when plugin adds | |
613 | objects. | |
614 | * plugin.h (no_more_claiming): Declare. | |
615 | (plugin_notice, plugin_multiple_definition): Don't declare. | |
616 | * plugin.c: Formatting. | |
617 | (orig_notice_all, orig_allow_multiple_defs, orig_callbacks, | |
618 | plugin_callbacks): New static vars. | |
619 | (no_more_claiming): Make global. | |
620 | (plugin_cached_allow_multiple_defs): Delete. | |
621 | (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section, | |
622 | use newer bfd_make_section variant. Make COMMON section too. | |
623 | Error handling. Correct setting of gp size. | |
624 | (asymbol_from_plugin_symbol): Properly cast last arg of concat. | |
625 | (message): Likewise for ACONCAT. | |
626 | (asymbol_from_plugin_symbol): Use our COMMON section. | |
627 | (get_symbols): When report_plugin_symbols, show visibility too. | |
628 | (init_non_ironly_hash): Move. Don't test non_ironly_hash. | |
629 | (plugin_load_plugins): Save state of linker callbacks, set up to | |
630 | call plugin_notice instead. Call init_non_ironly_hash here. | |
631 | (plugin_call_all_symbols_read): Set plugin_multiple_definition in | |
632 | plugin callbacks. | |
633 | (plugin_notice): Rewrite. | |
634 | (plugin_multiple_definition): Make static, call original callback. | |
635 | ||
486329aa AM |
636 | 2011-04-15 Alan Modra <amodra@gmail.com> |
637 | ||
638 | PR ld/12672 | |
639 | * ldlang.c (enum open_bfd_mode): New. | |
640 | (open_input_bfds): Replace "force" param with "mode". Reload | |
641 | archives for rescan. Update all callers. | |
642 | (lang_process): Make another open_input_bfds pass for plugins. | |
643 | ||
db17156e KT |
644 | 2011-04-13 Kai Tietz <ktietz@redhat.com> |
645 | ||
646 | PR binutils/12658 | |
647 | * deffile.h (def_file_add_export): Add is_dup argument. | |
648 | (def_file_add_import): Likewise. | |
649 | * deffilep.y (are_names_equal): New helper. | |
650 | (cmp_export_elem): New helper. | |
651 | (find_export_in_list): Add search routine for exports. | |
652 | (def_file_add_export): Check for duplicates. | |
653 | (cmp_import_elem): New helper. | |
654 | (find_import_in_list): Add search routine for imports. | |
655 | (def_file_add_import): Check for duplicates. | |
656 | (def_exports): Handle duplicates. | |
657 | (def_imports): Likewise. | |
658 | * pe-dll.c (process_def_file_and_drectve): Likewise. | |
659 | (pe_implied_import_dll): Likewise. | |
660 | ||
ed0d9c71 NC |
661 | 2011-04-11 Chris Quenelle <chris.quenelle@oracle.com> |
662 | ||
663 | * scripttempl/elf.sc (.exception_ranges): Add new section. | |
664 | ||
0e9dfb46 NC |
665 | 2011-04-08 Hector Oron <hector.oron@gmail.com> |
666 | ||
667 | PR ld/12643 | |
668 | * configure.tgt: Add support for arm-*-gnueabihf targets. | |
669 | ||
80518809 EW |
670 | 2011-04-07 Eric B. Weddington <eric.weddington@atmel.com> |
671 | ||
672 | * Makefile.in: Regenerate. Remove stray eavrtiny10 rules. | |
673 | ||
91db4c57 JM |
674 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
675 | ||
676 | * configure.tgt: Remove stray ;;. | |
677 | ||
8c5fc800 JM |
678 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
679 | ||
680 | * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*, | |
681 | strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*, | |
682 | thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, | |
683 | xscale-*-coff, xscale-*-elf): Remove targets. | |
684 | ||
d02c4aae L |
685 | 2011-03-31 H.J. Lu <hongjiu.lu@intel.com> |
686 | ||
687 | * configure.tgt: Add elf_l1om to targ_extra_libpath for | |
fb42df5e | 688 | x86_64-*-linux-*. |
d02c4aae L |
689 | |
690 | * emulparams/elf_l1om.sh: Remove duplicates. | |
691 | ||
ac145307 BS |
692 | 2011-03-31 Bernd Schmidt <bernds@codesourcery.com> |
693 | ||
694 | * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE, | |
695 | GENERATE_SHLIB_SCRIPT): New defines. | |
696 | (TEXT_START_ADDR): Define differently depending on target. | |
697 | (.got): Redefine to include "*(.dsbt)". | |
698 | (SDATA_START_SYMBOLS): Remove, replace with | |
699 | (OTHER_GOT_SYMBOLS): New. | |
700 | (OTHER_BSS_SECTIONS): Define only for ELF targets. | |
701 | * emultempl/tic6xdsbt.em: New file. | |
702 | * gen-doc.texi: Set C6X. | |
703 | * ld.texinfo: Likewise. | |
704 | (Options specific to C6X uClinux targets): New section. | |
705 | ||
c3a7b120 AM |
706 | 2011-03-29 Alan Modra <amodra@gmail.com> |
707 | ||
708 | PR ld/12613 | |
709 | * ldlex.l (lex_warn_invalid): Don't assume char is unsigned. | |
710 | ||
5b806d27 NC |
711 | 2011-03-26 John Marino <binutils@marino.st> |
712 | ||
713 | * configure.host: Update *-*-dragonfly* host entry. | |
714 | * configure.tgt: Update *-*-dragonfly* target entry. | |
715 | * ldlex.l: Prevent redefinition of YY_NO_UNPUT. | |
716 | ||
f31d24a0 JM |
717 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
718 | ||
719 | * configure.in: Check for windows.h, not Windows.h. | |
720 | * configure: Regenerate. | |
721 | * plugin.c: Include windows.h, not Windows.h. | |
722 | ||
d0289b45 EW |
723 | 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com> |
724 | ||
725 | * Makefile.in: Regenerate. | |
726 | ||
d436a15e JM |
727 | 2011-03-23 Joseph Myers <joseph@codesourcery.com> |
728 | ||
729 | * lexsup.c (parse_args): Only set report_plugin_symbols if plugins | |
730 | are enabled. Mark level as possibly unused. | |
731 | ||
8cc66334 EW |
732 | 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> |
733 | ||
734 | * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures. | |
735 | (eavrxmega?.c): Likewise. | |
736 | * configure.tgt (targ_extra_emuls): Likewise. | |
737 | * emulparams/avrxmega1.sh: New file. | |
738 | * emulparams/avrxmega2.sh: Likewise. | |
739 | * emulparams/avrxmega3.sh: Likewise. | |
740 | * emulparams/avrxmega4.sh: Likewise. | |
741 | * emulparams/avrxmega5.sh: Likewise. | |
742 | * emulparams/avrxmega6.sh: Likewise. | |
743 | * emulparams/avrxmega7.sh: Likewise. | |
744 | * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation): | |
745 | Add avrxmega6, avrxmega7 to list of architectures for no stubs. | |
746 | ||
ef844a53 EW |
747 | 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com> |
748 | ||
749 | * scripttempl/avr.sc: Add fuse, lock, and signature memory regions. | |
750 | ||
35fc36a8 RS |
751 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
752 | ||
753 | * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check | |
754 | eh->target_internal. | |
755 | ||
cbc704f3 RS |
756 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
757 | ||
758 | * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj | |
759 | instead of dynamic_sections_created. | |
760 | ||
10be1b6a DK |
761 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
762 | ||
763 | * plugin.c (get_symbols): Use wrapped lookup for undefined symbols. | |
764 | ||
422b6f14 DK |
765 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
766 | ||
767 | * ldlang.c (lang_check): Don't run checks on dummy IR BFDs. | |
768 | ||
8543fde5 DK |
769 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
770 | ||
771 | * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag, | |
772 | wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS. | |
773 | * ldmain.c (add_archive_element): Set it if the member is claimed. | |
774 | * ldlang.c (new_afile): Initialise claim_archive and claimed members. | |
775 | (find_replacements_insert_point): New helper function. | |
776 | (lang_process): After adding and opening replacement files passed | |
777 | from plugin, splice them into correct place in statement list and | |
778 | file chains to preserve critical link order. | |
779 | (lang_list_insert_after): New helper function. | |
780 | (lang_list_remove_tail): Likewise. | |
781 | ||
cf4dc96f DK |
782 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
783 | ||
784 | * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form. | |
785 | (IRONLY_SUFFIX_LEN): Delete. | |
786 | (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX. | |
787 | (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of | |
788 | enclosing lang input statement instead. | |
789 | ||
4bf0cafb DK |
790 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
791 | ||
792 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve | |
793 | alignment of input sections when creating orphan output sections | |
794 | during relocatable link. | |
795 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
796 | ||
1715a13c L |
797 | 2011-03-04 H.J. Lu <hongjiu.lu@intel.com> |
798 | ||
799 | * ld.texinfo: Document --verbose[=NUMBER]. | |
800 | ||
801 | * lexsup.c (ld_options): Update --verbose. | |
802 | (parse_args): Set report_plugin_symbols. | |
803 | ||
804 | * plugin.c (report_plugin_symbols): New. | |
805 | (get_symbols): Report plugin symbols if report_plugin_symbols | |
806 | is TRUE. | |
807 | ||
808 | * plugin.h (report_plugin_symbols): New. | |
809 | ||
f4c37f56 L |
810 | 2011-03-01 H.J. Lu <hongjiu.lu@intel.com> |
811 | ||
812 | PR ld/12529 | |
813 | * testplug.c: Don't include "filenames.h". | |
814 | (onclaim_file): Don't use filename_cmp. | |
815 | ||
42627821 KT |
816 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
817 | ||
818 | * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp. | |
819 | * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck): | |
820 | Likewise. | |
821 | (gld${EMULATION_NAME}_stat_needed): Likewise. | |
822 | (gld${EMULATION_NAME}_check_needed): Likewise. | |
823 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
824 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
825 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
826 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
827 | * ldfile.c (ldfile_open_file): Likewise. | |
828 | * ldlang.c (wild_sort): Likewise. | |
829 | (lookup_name): Likewise. | |
830 | (check_excluded_libs): Likewise. | |
831 | * ldmisc.c (vfinfo): Likewise. | |
832 | * pe-dll.c (libnamencmp): Likewise. | |
833 | (auto_export): Likewise. | |
834 | (pe_dll_generate_implib): Likewise. | |
835 | * testplug.c (onclaim_file): Likewise. | |
836 | ||
174b85fc L |
837 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
838 | ||
839 | PR ld/12507 | |
840 | * plugin.c (get_symbols): Don't check entry symbol here. | |
841 | (init_non_ironly_hash): Add entry_symbol chain into | |
842 | non_ironly_hash. | |
843 | ||
8ff09c12 L |
844 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
845 | ||
846 | PR ld/12507 | |
847 | * plugin.c (get_symbols): Don't mark entry symbol IR only. | |
848 | ||
ae97b922 DA |
849 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca> |
850 | ||
851 | PR ld/12376 | |
852 | emulparams/hppalinux.sh (DATA_ADDR): Define. | |
853 | (SHLIB_DATA_ADDR): Likewise. | |
854 | ||
73f2a3d2 L |
855 | 2011-02-16 H.J. Lu <hongjiu.lu@intel.com> |
856 | ||
857 | * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to | |
858 | x32 for x32. | |
859 | ||
fd11958c KT |
860 | 2011-02-15 Kai Tietz <kai.tietz@onevision.com> |
861 | ||
862 | * pe-dll.c (process_def_file_and_drectve): Don't strip | |
863 | leading underscore from symbol by calling bfd_find_version_for_sym. | |
864 | ||
93252b1c MF |
865 | 2011-02-14 Mike Frysinger <vapier@gentoo.org> |
866 | ||
867 | * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to | |
868 | the bfd_demangle of sym, change users of sym to c_sym when not | |
869 | already demangling, and free when done. Change callers of | |
870 | cplus_demangle to bfd_demangle. | |
871 | ||
486329aa AM |
872 | 2011-02-14 Alan Modra <amodra@gmail.com> |
873 | ||
874 | * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy | |
875 | .text section, use newer bfd_make_section variant. Error handling. | |
876 | Correct setting of gp size. | |
877 | (asymbol_from_plugin_symbol): Properly cast last arg of concat. | |
878 | (message): Likewise for ACONCAT. | |
879 | (get_symbols): Formatting. | |
880 | ||
498cd2a0 AM |
881 | 2011-02-14 Alan Modra <amodra@gmail.com> |
882 | ||
883 | * ldmain.c (remove_output): Rename to.. | |
884 | (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup. | |
885 | (main): Adjust. | |
886 | * plugin.c (plugin_call_cleanup): Make global. | |
887 | (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit. | |
888 | * plugin.h (plugin_call_cleanup): Declare. | |
889 | ||
822ce8ee RW |
890 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
891 | ||
892 | * configure: Regenerate. | |
893 | ||
09b910c6 AM |
894 | 2011-02-10 Alan Modra <amodra@gmail.com> |
895 | ||
896 | * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. | |
897 | * scripttempl/avr.sc: Likewise. | |
898 | * scripttempl/elf32cr16.sc: Likewise. | |
899 | * scripttempl/elf32crx.sc: Likewise. | |
900 | * scripttempl/elf32msp430.sc: Likewise. | |
901 | * scripttempl/elf32msp430_3.sc: Likewise. | |
902 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
903 | * scripttempl/elf64hppa.sc: Likewise. | |
904 | * scripttempl/elf_chaos.sc: Likewise. | |
905 | * scripttempl/elfd10v.sc: Likewise. | |
906 | * scripttempl/elfd30v.sc: Likewise. | |
907 | * scripttempl/elfi370.sc: Likewise. | |
908 | * scripttempl/elfm68hc11.sc: Likewise. | |
909 | * scripttempl/elfm68hc12.sc: Likewise. | |
910 | * scripttempl/elfxtensa.sc: Likewise. | |
911 | * scripttempl/ip2k.sc: Likewise. | |
912 | * scripttempl/iq2000.sc: Likewise. | |
913 | * scripttempl/mep.sc: Likewise. | |
914 | * scripttempl/mmo.sc: Likewise. | |
915 | * scripttempl/v850.sc: Likewise. | |
916 | * scripttempl/xstormy16.sc: Likewise. | |
917 | * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu. | |
918 | ||
3cb62297 L |
919 | 2011-01-22 H.J. Lu <hongjiu.lu@intel.com> |
920 | ||
921 | * Makefile.am (CXX): Removed. | |
922 | ||
923 | * configure.in: Add AC_PROG_CXX. | |
924 | ||
925 | * Makefile.in: Regenerated. | |
926 | * configure: Likewise. | |
927 | ||
ed88c97e RS |
928 | 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com> |
929 | ||
930 | * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's | |
931 | private data and GP size. | |
932 | ||
9bc8bb33 AM |
933 | 2011-01-21 Alan Modra <amodra@gmail.com> |
934 | ||
935 | * ldexp.c (fold_binary): Set result section for arithmetic and | |
936 | logical operations to NULL when both operands are in same section. | |
937 | * ld.texinfo (Expression Section): Describe this. | |
938 | ||
175b7cd4 AM |
939 | 2011-01-14 Alan Modra <amodra@gmail.com> |
940 | ||
941 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
942 | attempt to put non-alloc orphans before debug sections, just place | |
943 | them after .comment. | |
944 | ||
a05e447f AM |
945 | 2011-01-14 J. Park <grassman@gmail.com> |
946 | ||
947 | PR ld/12339 | |
948 | * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols. | |
949 | ||
3ed41d59 AM |
950 | 2011-01-14 Alan Modra <amodra@gmail.com> |
951 | ||
952 | * Makefile.am: Sort emulation rules. | |
953 | (eelf32am33lin.c): Delete. | |
954 | (ALL_EMULATION_SOURCES): Sort, add missing entries. | |
955 | (ALL_64_EMULATION_SOURCES): Likewise. | |
956 | * Makefile.in: Regenerate. | |
957 | ||
2e57b2af AM |
958 | 2011-01-13 Alan Modra <amodra@gmail.com> |
959 | ||
01554a74 AM |
960 | PR ld/12356 |
961 | * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE. | |
962 | (Expression Section): Update. | |
963 | * ld.h (ld_config_type): Add sane_expr. | |
964 | * ldgram.y (ifile_p1): Add LD_FEATURE. | |
965 | * ldlex.l (LD_FEATYRE): New. | |
966 | * ldemul.c (after_parse_default): Delete code handling ld_compatibility. | |
967 | * ldexp.h (struct ldexp_control): Delete uses_defined. | |
968 | * ldexp.c: Remove all uses of uses_defined. | |
969 | (fold_name): Test config.sane_expr rather than ld_compatibility. | |
970 | (exp_fold_tree_1): Likewise. Adjust handling of assignments | |
971 | during first phase. | |
972 | * ldlang.h (ld_compatibility): Delete. | |
973 | (lang_ld_feature): Declare. | |
974 | * ldlang.c (ld_compatibility): Delete. | |
975 | (open_input_bfds): Only handle assignments for --defsym. | |
976 | (lang_ld_feature): New function. | |
977 | ||
2e57b2af AM |
978 | PR ld/12356 |
979 | * ldexp.h (exp_assop): Delete. | |
980 | (exp_assign, exp_defsym): Declare. | |
981 | * ldexp.c (exp_assop): Make static, handle all assignment variations. | |
982 | (exp_assign, exp_defsym): New functions. | |
983 | (exp_provide): Use exp_assop. | |
984 | * ldgram.y (defsym_expr): Use exp_defsym. | |
985 | * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em, | |
986 | * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em, | |
987 | * emultempl/xtensaelf.em: Update exp_assop -> exp_assign. | |
988 | ||
ea7c2e6c AM |
989 | 2011-01-12 Alan Modra <amodra@gmail.com> |
990 | ||
991 | PR ld/12380 | |
992 | * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done. | |
993 | * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test | |
994 | for exp_dataseg_done rather than expld.phase == lang_final_phase_enum | |
995 | to detect when we've finished sizing sections. | |
996 | (fold_binary <DATA_SEGMENT_ALIGN>): Likewise. | |
997 | (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test | |
998 | that we are not inside an output section statement. | |
999 | * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if | |
1000 | not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set | |
1001 | lang_final_phase_enum here. | |
1002 | (lang_process): Set lang_final_phase_enum here. | |
1003 | ||
f7465604 NC |
1004 | 2011-01-10 Nick Clifton <nickc@redhat.com> |
1005 | ||
1006 | * po/da.po: Updated Danish translation. | |
1007 | ||
1e915804 L |
1008 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
1009 | ||
1010 | * ldlang.c (startup_file): Removed. | |
1011 | (lang_startup): Updated. | |
1012 | ||
cc322803 L |
1013 | 2011-01-05 H.J. Lu <hongjiu.lu@intel.com> |
1014 | ||
1015 | PR ld/12364 | |
1016 | * plugin.c (get_symbols): Check if owner_sec->owner is NULL | |
1017 | before accessing its flags field. | |
1018 | ||
0db46eb4 L |
1019 | 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> |
1020 | ||
1021 | * ldver.c (ldversion): Update copyright to 2011. | |
1022 | ||
9e9e0820 | 1023 | For older changes see ChangeLog-2010 |
252b5132 RH |
1024 | \f |
1025 | Local Variables: | |
1026 | mode: change-log | |
1027 | left-margin: 8 | |
1028 | fill-column: 74 | |
1029 | version-control: never | |
1030 | End: |