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