Commit | Line | Data |
---|---|---|
00716ab1 AM |
1 | 2012-09-10 Matthias Klose <doko@ubuntu.com> |
2 | ||
3 | * config.in: Disable sanity check for kfreebsd. | |
4 | ||
6d2920c8 L |
5 | 2012-09-10 H.J. Lu <hongjiu.lu@intel.com> |
6 | ||
7 | * configure: Regenerated. | |
8 | ||
ffda88b4 AM |
9 | 2012-09-10 Iain Sandoe <iain@codesourcery.com> |
10 | Alan Modra <amodra@gmail.com> | |
11 | ||
12 | * configure.tgt (powerpc-*-elf, et al): Define targ_extra_libpath. | |
13 | Correct whitespace. | |
14 | (powerpcle-*-elf, et al): Likewise. Correct targ_extra_emuls. | |
15 | ||
c008817b IS |
16 | 2012-09-10 Iain Sandoe <iain@codesourcery.com> |
17 | ||
18 | * configure.tgt (powerpc-*-elf, et al): Define targ64_extra_emuls | |
19 | and targ64_extra_libpath. | |
20 | (powerpcle-*-elf, et al): Likewise. | |
21 | ||
a9ae0bda HPN |
22 | 2012-09-09 Hans-Peter Nilsson <hp@bitrange.com> |
23 | ||
24 | * emultempl/mmo.em (mmo_place_orphan): Rewrite to also attach | |
25 | orphan sections to .data and .bss output sections, not just .text. | |
26 | When giving up on finding a suitable output section, attach to any | |
27 | output section other than .MMIX.reg_contents, if it exists. | |
28 | * scripttempl/mmo.sc: Move output debug sections to just before | |
29 | .MMIX.reg_contents. Add .gnu.attributes. Add new . = . NOP | |
30 | assignments and move end-of-section provide-symbols after them | |
31 | to force the end-of-section symbols to the address after orphan | |
32 | placement. Add SORT_NONE to .init and .fini sections. | |
33 | ||
11cba4ac L |
34 | 2012-08-30 H.J. Lu <hongjiu.lu@intel.com> |
35 | ||
36 | PR ld/14525 | |
37 | * scripttempl/elf.sc: Also provide __executable_start for PIE. | |
38 | ||
ee8206a9 KT |
39 | 2012-08-17 Kai Tietz <ktietz@redhat.com> |
40 | ||
41 | PR ld/14326 | |
42 | * scripttempl/pe.sc: Add _etext symbol. | |
43 | ||
63a79b61 NC |
44 | 2012-08-14 Nick Clifton <nickc@redhat.com> |
45 | ||
46 | * configure.in (ALL_LINGUGAS): Add uk. | |
47 | * configure: Regenerate. | |
48 | * po/uk.po: New Ukranian translation. | |
49 | ||
a06ea964 | 50 | 2012-08-13 Ian Bolton <ian.bolton@arm.com> |
11cba4ac L |
51 | Laurent Desnogues <laurent.desnogues@arm.com> |
52 | Jim MacArthur <jim.macarthur@arm.com> | |
53 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
54 | Nigel Stephens <nigel.stephens@arm.com> | |
55 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
56 | Richard Earnshaw <rearnsha@arm.com> | |
57 | Sofiane Naci <sofiane.naci@arm.com> | |
58 | Tejas Belagod <tejas.belagod@arm.com> | |
59 | Yufeng Zhang <yufeng.zhang@arm.com> | |
a06ea964 NC |
60 | |
61 | * Makefile.am: Add AArch64. | |
62 | * Makefile.in: Regenerate. | |
63 | * configure.tgt: Add AArch64. | |
64 | * emulparams/aarch64elf.sh: New file. | |
65 | * emulparams/aarch64elfb.sh: New file. | |
66 | * emulparams/aarch64linux.sh: New file. | |
67 | * emulparams/aarch64linuxb.sh: New file. | |
68 | * emultempl/aarch64elf.em: New file. | |
69 | * NEWS: Mention the new feature. | |
70 | ||
3c892704 NC |
71 | 2012-08-09 Nick Clifton <nickc@redhat.com> |
72 | ||
73 | * po/vi.po: Updated Vietnamese translation. | |
74 | ||
a988325c NC |
75 | 2012-08-07 Daniel Green <venix1@gmail.com> |
76 | ||
77 | * scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ. | |
78 | * scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ. | |
79 | ||
5125d2b0 NC |
80 | 2012-08-07 Nick Clifton <nickc@redhat.com> |
81 | ||
82 | * po/ja.po: Updated Japanese translation. | |
83 | ||
9e808284 MR |
84 | 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> |
85 | ||
86 | * emulparams/elf32bmip.sh: Make _gp hidden. | |
87 | * emulparams/elf32bmipn32-defs.sh: Likewise. | |
88 | * emulparams/elf32mipswindiss.sh: Likewise. | |
89 | * scripttempl/mips.sc: Likewise. | |
90 | ||
eb8476a6 MR |
91 | 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> |
92 | ||
93 | * ldexp.h (etree_union): Add defsym member to the assign member | |
94 | structure. | |
95 | (exp_assign): Add hidden argument to prototype. | |
96 | * ldexp.c (exp_fold_tree_1): Use the defsym member to handle | |
97 | --defsym symbols. | |
98 | (exp_assop): Add defsym argument, initialize the defsym member | |
99 | of the assign structure. | |
100 | (exp_assign): Handle hidden symbols. | |
101 | (exp_defsym): Update to use the defsym argument to exp_assop. | |
102 | (exp_provide): Update to handle the defsym argument to exp_assop. | |
103 | * ldlex.l (HIDDEN): New token. | |
104 | * ldgram.y (HIDDEN): Likewise. | |
105 | (assignment, section): Update calls to exp_assign. | |
106 | * ldctor.c (ldctor_build_sets): Likewise. | |
107 | * mri.c (mri_format): Likewise. | |
108 | * ldlang.c (lang_insert_orphan, lang_leave_overlay): Likewise. | |
109 | (open_input_bfds): Remove --defsym symbols special case. | |
110 | * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Update | |
111 | call to exp_assign. | |
112 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
113 | * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
114 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
115 | * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): | |
116 | Likewise. | |
117 | * ld.texinfo (Assigning Values to Symbols): Add HIDDEN. | |
118 | (HIDDEN): New subsection. | |
119 | ||
b2e4da5a L |
120 | 2012-07-31 H.J. Lu <hongjiu.lu@intel.com> |
121 | ||
122 | PR ld/14156 | |
c2821c3e | 123 | * ldlang.c (wild_sort): Properly handle by_none. |
b2e4da5a L |
124 | |
125 | * scripttempl/elf.sc: Add SORT_NONE to .init and .fini sections. | |
126 | * scripttempl/elf32msp430.sc: Likewise. | |
5125d2b0 | 127 | * scripttempl/elf32msp430_3.sc: Likewise. |
b2e4da5a L |
128 | * scripttempl/elfd10v.sc: Likewise. |
129 | * scripttempl/elfd30v.sc: Likewise. | |
130 | * scripttempl/elfxtensa.sc: Likewise. | |
131 | ||
a6dc81d2 NC |
132 | 2012-07-30 Nick Clifton <nickc@redhat.com> |
133 | ||
134 | * po/ld.pot: Updated template. | |
135 | * po/bg.po: Updated Bulgarian translation. | |
136 | * po/es.po: Updated Spanish translation. | |
137 | * po/fi.po: Updated Finnish translation. | |
138 | ||
c4dd807e MF |
139 | 2012-07-27 Mike Frysinger <vapier@gentoo.org> |
140 | ||
141 | * configure.in (BFD_VERSION): Run bfd/configure --version and | |
142 | parse the output of that. | |
143 | * configure: Regenerate. | |
144 | ||
af18cb59 TG |
145 | 2012-07-27 Tristan Gingold <gingold@adacore.com> |
146 | ||
147 | * NEWS: Add marker for 2.23. | |
148 | ||
43315eb7 EW |
149 | 2012-07-24 Jan Waclawek <konfera@efton.sk> |
150 | ||
151 | PR ld/14058 | |
152 | * emultempl/avrelf.em (avr_elf_after_allocation): Call | |
153 | elf32_avr_size_stubs with is_prealloc_run as TRUE. | |
154 | ||
470b557a AK |
155 | 2012-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
156 | ||
157 | * emulparams/elf_s390.sh (IREL_IN_PLT): Define. | |
158 | * emulparams/elf64_s390.sh (IREL_IN_PLT): Define. | |
159 | ||
cd6f1cf3 NC |
160 | 2012-07-13 Nick Clifton <nickc@redhat.com> |
161 | ||
162 | PR ld/14357 | |
163 | * ldmain.c (trace_file_tries): Rename to 'verbose'. | |
164 | * ldfile.c: Likewise. | |
165 | * ldlang.c: Likewise. | |
166 | * ldmain.h: Likewise. | |
167 | * lexsup.c: Likewise. | |
168 | * emultempl/elf32.em: Likewise. | |
169 | * emultemp/spuelf.em: Likewise. | |
170 | * pe-dll.c (pe_dll_generate_implib): Only print creation message | |
171 | in verbose mode. | |
172 | ||
eda680f8 L |
173 | 2012-07-10 H.J. Lu <hongjiu.lu@intel.com> |
174 | ||
175 | PR ld/14156 | |
176 | * NEWS: Mention SORT_NONE. | |
177 | ||
178 | * ld.h (sort_type): Add by_none. | |
179 | ||
180 | * ld.texinfo: Document SORT_NONE. | |
181 | ||
182 | * ldgram.y: Handle SORT_NONE. | |
183 | ||
184 | * ldlang.c (update_wild_statements): Handle by_none. Don't | |
185 | sort .init/.fini sections. | |
186 | ||
187 | * ldlex.l: Add SORT_NONE. | |
188 | ||
9aec8434 L |
189 | 2012-07-02 H.J. Lu <hongjiu.lu@intel.com> |
190 | ||
191 | * ld.texinfo: Replace __end_SECNAME with __stop_SECNAME. | |
192 | ||
2a995fc1 NC |
193 | 2012-06-29 Nick Clifton <nickc@redhat.com> |
194 | ||
195 | * scripttempl/alphavms.sc: Add .debug_macro section. | |
196 | * scripttempl/elf.sc: Likewise. | |
197 | * scripttempl/elf64hppa.sc: Likewise. | |
198 | * scripttempl/elf_chaos.sc: Likewise. | |
199 | * scripttempl/elfxtensa.sc: Likewise. | |
200 | * scripttempl/ia64vms.sc: Likewise. | |
201 | ||
202 | * scripttempl/armbpabi.sc: Add .debug_pubtypes, .debug_ranges and | |
203 | .debug_macro sections. | |
204 | * scripttempl/avr.sc: Likewise. | |
205 | * scripttempl/elf32cr16.sc: Likewise. | |
206 | * scripttempl/elf32crx.sc: Likewise. | |
207 | * scripttempl/elf32msp430.sc: Likewise. | |
208 | * scripttempl/elf32msp430_3.sc: Likewise. | |
209 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
210 | * scripttempl/elfd30v.sc: Likewise. | |
211 | * scripttempl/elfi370.sc: Likewise. | |
212 | * scripttempl/elfm68hc11.sc: Likewise. | |
213 | * scripttempl/elfm68hc12.sc: Likewise. | |
214 | * scripttempl/elfxgate.sc: Likewise. | |
215 | * scripttempl/i386beos.sc: Likewise. | |
216 | * scripttempl/i386go32.sc: Likewise. | |
217 | * scripttempl/ip2k.sc: Likewise. | |
218 | * scripttempl/iq2000.sc: Likewise. | |
219 | * scripttempl/mep.sc: Likewise. | |
220 | * scripttempl/mmo.sc: Likewise. | |
221 | * scripttempl/v850.sc: Likewise. | |
222 | * scripttempl/xstormy16.sc: Likewise. | |
223 | ||
a61fdf08 L |
224 | 2012-06-28 H.J. Lu <hongjiu.lu@intel.com> |
225 | ||
226 | * ldlang.c (update_wild_statements): Remove redundant statement. | |
227 | ||
47e2e729 AM |
228 | 2012-06-25 Alan Modra <amodra@gmail.com> |
229 | ||
230 | * ldlang.c (load_symbols): Close file and set flags.loaded | |
231 | after parsing script file. | |
232 | (open_input_bfds): Don't segv on closed script. | |
233 | ||
0c77920e L |
234 | 2012-06-24 H.J. Lu <hongjiu.lu@intel.com> |
235 | ||
236 | * configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32. | |
237 | Remove x32 in tdir_i386linux and tdir_elf_i386. | |
238 | ||
62655c7b RM |
239 | 2012-06-22 Roland McGrath <mcgrathr@google.com> |
240 | ||
241 | * NEWS: Mention __ehdr_start. | |
242 | ||
d9476c5a AM |
243 | 2012-06-21 Alan Modra <amodra@gmail.com> |
244 | ||
245 | * ldlang.c (lang_insert_orphan): Don't make __start_<sec> symbol | |
246 | absolute, and remove unnecessary alignment. | |
247 | ||
d2667025 AM |
248 | 2012-06-16 Alan Modra <amodra@gmail.com> |
249 | ||
250 | * ldlang.h (lang_output_section_statement_type): Add after_end field. | |
251 | (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. | |
252 | (section_for_dot): Declare. | |
253 | * ldlang.c (lang_size_sections_1): Correct comment. | |
254 | (current_section): Move earlier. | |
255 | (current_assign, prefer_next_section): New static vars. | |
256 | (lang_do_assignments_1): Add found_end param. Detect _end | |
257 | assignment to set found_end. Set os->after_end. Set above statics. | |
258 | (lang_do_assignments): Adjust lang_do_assignments_1 call. Init | |
259 | vars. | |
260 | (section_for_dot): New function. | |
261 | (lang_set_startof): Don't make an absolute symbol. | |
262 | (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. | |
263 | * ldexp.c (new_rel_from_abs): Use section_for_dot. | |
264 | * emultempl/lnk960.em (symbol_at_beginning_of): New function. | |
265 | (symbol_at_end_of): Likewise. | |
266 | (lnk960_after_allocation): Use them. | |
267 | * scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and | |
268 | likewise before __bss_start. | |
269 | ||
6611f2e1 L |
270 | 2012-06-14 H.J. Lu <hongjiu.lu@intel.com> |
271 | ||
272 | * plugin.c (set_tv_header): Handle link_info.pie. | |
273 | ||
17d6eea5 L |
274 | 2012-06-11 Alan Modra <amodra@gmail.com> |
275 | ||
276 | PR ld/14215 | |
277 | * ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section | |
278 | references. | |
279 | * emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of | |
280 | .got.plt. | |
281 | * emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise. | |
282 | * emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise. | |
283 | * emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise. | |
284 | * emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise. | |
285 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise. | |
286 | * emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise. | |
287 | * emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise. | |
288 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise. | |
289 | ||
fef632e1 NC |
290 | 2012-06-07 Georg-Johann Lay <avr@gjlay.de> |
291 | ||
292 | PR 13697 | |
293 | * scripttempl/avr.sc (.data): Keep it. | |
294 | ||
959a202e AS |
295 | 2012-06-02 Andreas Schwab <schwab@linux-m68k.org> |
296 | ||
297 | * Makefile.am (TEXINFO_TEX): Remove $(top_srcdir) prefix. | |
298 | * Makefile.in: Regenerate. | |
299 | ||
6d8bf25d AM |
300 | 2012-05-30 Alan Modra <amodra@gmail.com> |
301 | ||
302 | * ldlang.h (lang_output_section_statement_type): Rename | |
303 | "section_relative_symbol" field to "update_dot". | |
304 | * ldlang.c: Update all uses. | |
305 | (strip_excluded_output_sections): Don't test update_dot_tree here.. | |
306 | (lang_leave_overlay): ..set update_dot here. | |
307 | ||
f05eb3b7 AM |
308 | 2012-05-26 Alan Modra <amodra@gmail.com> |
309 | ||
145fa769 L |
310 | * ldlex.h (enum option_values): Move from.. |
311 | * lexsup.c: ..here. | |
f05eb3b7 AM |
312 | * emultempl/ppc32elf.em: Include ldlex.h. |
313 | (PARSE_AND_LIST_ARGS_CASES): Disable optimisations when | |
314 | --traditional-format. | |
315 | * emultempl/ppc64elf.em: Likewise. | |
316 | ||
9cf8b46e AM |
317 | 2012-05-25 Alan Modra <amodra@gmail.com> |
318 | ||
319 | PR ld/13909 | |
320 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Handle | |
321 | multiple .eh_frame sections attached to bfd. | |
322 | ||
18bbc1c5 CC |
323 | 2012-05-23 Cary Coutant <ccoutant@google.com> |
324 | ||
325 | * scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more | |
326 | carefully. Fix typo where .rela.data.rel.ro matches | |
327 | .rel.data.rel.ro. | |
328 | * scripttempl/mep.sc: Likewise. | |
329 | * scripttempl/elf.sc: Match .data.rel.ro.* sections more carefully. | |
330 | * scripttempl/elf64hppa.sc: Likewise. | |
331 | * scripttempl/elfxtensa.sc: Likewise. | |
332 | ||
df7b86aa NC |
333 | 2012-05-17 Daniel Richard G. <skunk@iskunk.org> |
334 | Nick Clifton <nickc@redhat.com> | |
335 | ||
336 | PR 14072 | |
337 | * configure.in: Add check that sysdep.h has been included before | |
338 | any system header files. | |
339 | * configure: Regenerate. | |
340 | * config.in: Regenerate. | |
341 | * sysdep.h: Generate an error if included before config.h. | |
342 | ||
a0f49396 NC |
343 | 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com> |
344 | ||
345 | * emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd' | |
346 | as the first argument for `bfd_get_section_name'. | |
347 | ||
a5244b7e NC |
348 | 2012-05-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
349 | ||
350 | PR ld/14069 | |
351 | * emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf | |
352 | support. | |
353 | ||
6927f982 NC |
354 | 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> |
355 | ||
356 | * NEWS: Mention the support for S12X processors. | |
357 | ||
b9c361e0 JL |
358 | 2012-05-14 James Lemke <jwlemke@codesourcery.com> |
359 | ||
360 | * ldlang.c (walk_wild_consider_section): Don't copy section_flag_list. | |
361 | Pass it to callback. | |
362 | (walk_wild_section_general): Pass section_flag_list to callback. | |
363 | (lang_add_section): Add sflag_list parm. | |
364 | Move out logic to keep / omit a section & call bfd_lookup_section_flags. | |
365 | (output_section_callback_fast): Add sflag_list parm. | |
366 | Add new parm to lang_add_section calls. | |
367 | (output_section_callback): Likewise. | |
368 | (check_section_callback): Add sflag_list parm. | |
369 | (lang_place_orphans): Add new parm to lang_add_section calls. | |
370 | (gc_section_callback): Add sflag_list parm. | |
371 | (find_relro_section_callback): Likewise. | |
372 | * ldlang.h (callback_t): Add flag_info parm. | |
373 | (lang_add_section): Add sflag_list parm. | |
374 | * emultempl/armelf.em (elf32_arm_add_stub_section): | |
375 | Add lang_add_section parm. | |
376 | * emultempl/beos.em (gld*_place_orphan): Likewise. | |
377 | * emultempl/elf32.em (gld*_place_orphan): Likewise. | |
378 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise. | |
379 | * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise. | |
380 | * emultempl/mipself.em (mips_add_stub_section): Likewise. | |
381 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
382 | * emultempl/pe.em (gld_*_place_orphan): Likewise. | |
383 | * emultempl/pep.em (gld_*_place_orphan): Likewise. | |
384 | * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise. | |
385 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
386 | * emultempl/vms.em (vms_place_orphan): Likewise. | |
387 | ||
388 | 2012-05-14 Catherine Moore <clm@codesourcery.com> | |
389 | ||
390 | * NEWS: Mention PowerPC VLE port. | |
391 | ||
208a4923 NC |
392 | 2012-05-11 Daniel Richard G. <skunk@iskunk.org> |
393 | ||
394 | PR binutils/14028 | |
395 | * configure.in: Invoke ACX_HEADER_STRING. | |
396 | * configure: Regenerate. | |
397 | * config.in: Regenerate. | |
398 | * sysdep.h: If STRINGS_WITH_STRING is defined then include both | |
399 | string.h and strings.h. | |
400 | ||
e5b62927 AM |
401 | 2012-05-08 Alan Modra <amodra@gmail.com> |
402 | ||
403 | * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other | |
404 | LC and LANG environment vars. | |
405 | * Makefile.in: Regenerate. | |
406 | ||
d66ac08f TG |
407 | 2012-05-07 Tristan Gingold <gingold@adacore.com> |
408 | ||
409 | * pe-dll.c (udef_table): Make it static. | |
410 | ||
45dfa85a AM |
411 | 2012-05-05 Alan Modra <amodra@gmail.com> |
412 | ||
413 | * pe-dll.c (process_def_file_and_drectve): Use bfd_und_section_ptr. | |
414 | (generate_reloc): Use bfd_abs_section_ptr. | |
415 | ||
3c995545 L |
416 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
417 | ||
418 | * configure.tgt: Support x86_64-*-linux-gnux32. | |
419 | ||
f6c1a2d5 NC |
420 | 2012-05-03 Sean Keys <skeys@ipdatasys.com> |
421 | ||
422 | * Makefile.am (ALL_EMULATIONS): Added new emulation for XGATE | |
423 | and XGATE (elf). | |
424 | * Makefile.in: Rebuild. | |
425 | * configure.tgt: Recognize XGATE. | |
426 | * scripttempl/elfxgate.sc: New file, mostly cloned from m68hc12. | |
427 | * emulparams/xgateelf: New emulation, mostly cloned from m68hc12. | |
428 | * NEWS: Mention new support. | |
429 | ||
3b66a141 HPN |
430 | 2012-04-26 Hans-Peter Nilsson <hp@axis.com> |
431 | ||
432 | Make bfd asserts cause linker errors. | |
433 | * ldmain.c (default_bfd_assert_handler): New variable. | |
434 | (ld_bfd_assert_handler): New function. | |
435 | (main): Call bfd_set_assert_handler. | |
436 | ||
dbaa2011 AM |
437 | 2012-04-24 Alan Modra <amodra@gmail.com> |
438 | ||
3daa201b | 439 | * ldlang.c (size_input_section): Use sec_info_type rather than |
dbaa2011 | 440 | usrdata->flags.just_syms. |
3daa201b AM |
441 | * ldwrite.c (build_link_order): Likewise. |
442 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
443 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
444 | * emultempl/armelf.em (build_section_lists): Likewise. | |
dbaa2011 | 445 | (after_allocation): Update for renamed sec_info_type value. |
3daa201b | 446 | * emultempl/tic6xdsbt.em: Likewise. |
dbaa2011 | 447 | |
b38cadfb NC |
448 | 2012-04-12 Roland McGrath <mcgrathr@google.com> |
449 | ||
450 | * configure.tgt (arm*-*-nacl*, arm*b-*-nacl*): Handle them. | |
451 | * emulparams/armelf_nacl.sh: New file. | |
452 | * emulparams/armelfb_nacl.sh: New file. | |
453 | * Makefile.am (ALL_EMULATION_SOURCES): Add earmelf_nacl.c | |
454 | and earmelfb_nacl.c here. | |
455 | (earmelf_nacl.c, earmelfb_nacl.c): New targets. | |
456 | * Makefile.in: Regenerated. | |
457 | ||
202e2356 NC |
458 | 2012-04-11 Tristan Gingold <gingold@adacore.com> |
459 | ||
460 | * scripttempl/ia64vms.sc: New file. | |
461 | * emultempl/vms.em (_before_parse): Support for ia64. | |
462 | (elf64-ia64-vms): New fragment for ia64. | |
463 | * emulparams/elf64_ia64_vms.sh: New file. | |
464 | * configure.tgt (ia64-*-*vms*): Add. | |
465 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c | |
466 | (eelf64_ia64_vms.c): New rule. | |
467 | * Makefile.in: Regenerate. | |
468 | ||
58797674 RM |
469 | 2012-04-06 Roland McGrath <mcgrathr@google.com> |
470 | ||
471 | * configure.in (AC_CHECK_HEADERS): Add locale.h. | |
472 | * config.in: Regenerate. | |
473 | * configure: Regenerate. | |
474 | ||
44350750 NC |
475 | 2012-04-05 Nick Clifton <nickc@redhat.com> |
476 | ||
477 | * configure.in (AC_CHECK_FUNCS): Add setlocale. | |
478 | (AM_LC_MESSAGES): Add. | |
479 | * aclocal.m4: Regenerate. | |
480 | * config.in: Regenerate. | |
481 | * configure: Regenerate. | |
482 | ||
5a68afcf RM |
483 | 2012-04-03 Roland McGrath <mcgrathr@google.com> |
484 | ||
485 | * configure.tgt (i[3-7]86-*-nacl*, x86_64-*-nacl*): Handle them. | |
486 | * emulparams/elf_nacl.sh: New file. | |
487 | * emulparams/elf_i386_nacl.sh: New file. | |
488 | * emulparams/elf32_x86_64_nacl.sh: New file. | |
489 | * emulparams/elf_x86_64_nacl.sh: New file. | |
490 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_i386_nacl.c here. | |
491 | (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64_nacl.c and | |
492 | eelf_x86_64_nacl.c here. | |
493 | (eelf_i386_nacl.c, eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c): | |
494 | New targets. | |
495 | * Makefile.in: Regenerated. | |
496 | ||
497 | * scripttempl/elf.sc: Handle SEPARATE_CODE cases. | |
498 | ||
23916fff MF |
499 | 2012-04-02 Mike Frysinger <vapier@gentoo.org> |
500 | ||
501 | * ldmisc.c (vfinfo): Assign new local str to fmt. Delete | |
502 | putc call. If str and fmt are different, call fwrite on | |
503 | the difference. | |
504 | ||
26a3ed35 NC |
505 | 2012-03-30 Nick Clifton <nickc@redhat.com> |
506 | ||
507 | * po/vi.po: Updated Vietnamese translation. | |
508 | ||
bf9ef603 RM |
509 | 2012-03-27 Roland McGrath <mcgrathr@google.com> |
510 | ||
511 | * configure.in: Set want64 on a 64-bit host regardless of | |
512 | --enable-targets=all. | |
513 | * configure: Regenerated. | |
514 | ||
1d6d1a2c TG |
515 | 2012-03-26 Tristan Gingold <gingold@adacore.com> |
516 | ||
517 | * lexsup.c (parse_args): Add a missing '\n'. | |
518 | ||
b514e6a5 AM |
519 | 2012-03-25 Alan Modra <amodra@gmail.com> |
520 | ||
521 | * ldemul.c (before_allocation_default): Revert last change. | |
3daa201b | 522 | * ldlang.c (lang_add_section): Likewise. |
b514e6a5 AM |
523 | (strip_excluded_output_sections): Don't strip output sections with |
524 | user input sections when emitrelocations, unless all are SEC_EXCLUDE. | |
525 | ||
f24fcb9d AM |
526 | 2012-03-23 Alan Modra <amodra@gmail.com> |
527 | ||
528 | * ldemul.c (before_allocation_default): When emitrelocations, | |
529 | don't strip sections.. | |
530 | * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail. | |
531 | ||
aeb1f0e8 KT |
532 | 2012-03-14 Kai Tietz <ktietz@redhat.com> |
533 | Pascal Obry <pascal@obry.net> | |
534 | ||
535 | * pe-dll.c (found_sym): New static variable. | |
536 | (undef_count): Likewise. | |
537 | (key_value): New structure. | |
538 | (undef_sort_cmp): Compare routine for qsort/bsearch. | |
539 | (pe_find_cdecl_alias_match): Add new argument. | |
540 | (pe_undef_alias_cdecl_match): Removed. | |
541 | (pe_undef_count): New helper routine. | |
542 | (pe_create_undef_table): Likewise. | |
543 | (pe_process_import_defs): Use pe_create_undef_table and | |
544 | new pe_undef_alias_cdecl_match function. | |
545 | ||
ec8460b5 AM |
546 | 2012-03-14 Alan Modra <amodra@gmail.com> |
547 | ||
548 | PR ld/13839 | |
549 | * ldexp.c (fold_name): Ignore undefined symbols when assigning to | |
550 | dot in mark phase. | |
551 | (exp_fold_tree_1): Evaluate assignment to dot expressions even when | |
552 | discarding result, for side effects. Fix typo in error message. | |
553 | ||
67baf8c4 TG |
554 | 2012-03-08 Tristan Gingold <gingold@adacore.com> |
555 | ||
556 | * ldexp.c (exp_print_tree): Special case for SEGMENT_START. | |
557 | (exp_print_token): Constify. | |
558 | ||
f4a23d42 AM |
559 | 2012-03-08 Alan Modra <amodra@gmail.com> |
560 | ||
561 | PR ld/10340 | |
562 | * ldfile.c (is_sysrooted_pathname): Remove notsame param. | |
563 | (ldfile_add_library_path): Don't set sysrooted flag. | |
564 | (ldfile_open_file_search): Likewise, and don't copy them. | |
565 | (try_open): Delete exten and code handling such. Add sysrooted | |
566 | param and return whether path is in sysroot. | |
567 | (ldfile_find_command_file): Delete extend param. Add sysrooted | |
568 | param. Rename local var. Update try_open calls. | |
569 | (ldfile_open_command_file_1): Pass sysrooted to lex_push_file. | |
570 | * ldfile.h (search_dirs_type): Remove sysrooted field. | |
571 | * ldlang.c (new_afile): Always set sysrooted from input_flags. | |
572 | (load_symbols): Don't set input_flags.sysrooted. | |
573 | * ldlang.h (struct lang_input_statement_flags): Revise sysrooted | |
574 | comment. | |
575 | * ldlex.h (lex_push_file): Update prototype. | |
576 | * ldlex.l (sysrooted_stack): New array. | |
577 | (EOF): Pop input_flags.sysrooted. | |
578 | (lex_push_file): Add sysrooted param. Save and set | |
579 | input_flags.sysrooted. | |
580 | ||
66be1055 AM |
581 | 2012-03-06 Alan Modra <amodra@gmail.com> |
582 | ||
583 | * ldlang.h (struct lang_input_statement_flags): New, extract from.. | |
584 | (lang_input_statement_type): ..here. New field "flags". | |
585 | (input_flags): Declare. | |
586 | (missing_file): Delete. | |
587 | * ldmain.h (whole_archive): Delete. | |
588 | (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. | |
589 | * ld.h (ld_config_type <dynamic_link>): Delete. | |
590 | * ldmain.c (whole_archive): Delete. | |
591 | (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. | |
592 | * ldlang.c (missing_file, ldlang_sysrooted_script): Delete. | |
593 | (input_flags): New variable. Replace all uses of config.dynamic_link, | |
594 | missing_file, ldlang_sysrooted_script, whole_archive, | |
595 | add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields | |
596 | from here. | |
597 | * ldfile.c: Likewise. | |
598 | * ldgram.y: Likewise. | |
599 | * ldmain.c: Likewise. | |
600 | * ldwrite.c: Likewise. | |
601 | * lexsup.c: Likewise. | |
602 | * plugin.c: Likewise. | |
603 | * emultempl/aix.em: Likewise. | |
604 | * emultempl/armelf.em: Likewise. | |
605 | * emultempl/elf32.em: Likewise. | |
606 | * emultempl/hppaelf.em: Likewise. | |
607 | * emultempl/linux.em: Likewise. | |
608 | * emultempl/pe.em: Likewise. | |
609 | * emultempl/pep.em: Likewise. | |
610 | * emultempl/ppc64elf.em: Likewise. | |
611 | * emultempl/scoreelf.em: Likewise. | |
612 | * emultempl/spuelf.em: Likewise. | |
613 | * emultempl/sunos.em: Likewise. | |
614 | * emultempl/vms.em: Likewise. | |
615 | * ldlang.c (new_afile): Use memset to init zero fields. | |
616 | (load_symbols): Simplify save and restore of flags around command | |
617 | file processing. | |
618 | * ldfile.c (is_sysrooted_pathname): Tidy. | |
619 | ||
cae4ddc6 HPN |
620 | 2012-03-05 Hans-Peter Nilsson <hp@axis.com> |
621 | ||
622 | * configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*) | |
623 | (mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by | |
624 | replacing trailing "-*" with "*". | |
625 | ||
fb6cedde WL |
626 | 2012-02-25 Walter Lee <walt@tilera.com> |
627 | ||
628 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c. | |
629 | (ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c. | |
630 | (eelf32tilegx_be.c): Add rule to build this file. | |
631 | (eelf64tilegx_be.c): Ditto. | |
632 | * Makefile.in: Regenerate. | |
633 | * configure.tgt (tilegx-*-*): Support big endian. | |
634 | (tilegxbe-*-*): New. | |
635 | * emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename. | |
636 | (BIG_OUTPUT_FORMAT): Define. | |
637 | (LITTLE_OUTPUT_FORMAT): Define. | |
638 | * emulparams/elf32tilegx_be.sh: New. | |
639 | * emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename. | |
640 | (BIG_OUTPUT_FORMAT): Define. | |
641 | (LITTLE_OUTPUT_FORMAT): Define. | |
642 | * emulparams/elf64tilegx_be.sh: New. | |
643 | ||
5b3d386e KT |
644 | 2012-02-24 Kai Tietz <ktietz@redhat.com> |
645 | ||
646 | PR binutils/13710 | |
647 | * deffilep.y (keyword_as_name): Disable LIBRARY | |
648 | keyword. | |
649 | ||
2aa9aad9 NC |
650 | 2012-02-22 Alan Modra <amodra@gmail.com> |
651 | ||
652 | PR ld/13683 | |
653 | * ldlang.c (lang_process): Rerun lang_do_assignments before | |
654 | starting garbage collection. | |
655 | * ldexp.c (fold_name): Generate a reloc for defined symbols | |
656 | found without an associated output section during the mark phase. | |
289b70fe NC |
657 | (exp_fold_tree_1): Continue processing an expression, even if we |
658 | are unable to fold it, if we are in the first two evaluation | |
659 | phases. | |
2aa9aad9 NC |
660 | * ldexp.h (enum lang_phase_type): Add descriptions of the phases. |
661 | ||
6e230cc2 KT |
662 | 2012-02-19 Kai Tietz <ktietz@redhat.com> |
663 | ||
664 | * deffilep.y (cmp_import_elem): Sort first by module name. | |
665 | * pe-dll.c (process_def_file_and_drectve): Free strings | |
666 | from removed export-element. | |
667 | (add_bfd_to_link): Optimize loop on import-elements and lower | |
668 | allocated memory. | |
669 | (pe_implied_import_dll): Pass NULL instead of 0 for pointer | |
670 | argument. | |
671 | ||
39085894 HPN |
672 | 2012-02-18 Hans-Peter Nilsson <hp@axis.com> |
673 | ||
674 | * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for | |
675 | temporary variable node used for NULL argument. | |
676 | ||
dab69f68 AM |
677 | 2012-02-18 Alan Modra <amodra@gmail.com> |
678 | ||
679 | PR ld/13343 | |
680 | * ld.h (parsing_defsym): Delete. | |
681 | * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename. | |
682 | (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill, | |
683 | exp_get_abs_int): Add tree arg for %S in error messages. Don't | |
684 | fudge lineno. | |
685 | (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy | |
686 | type.filename from sub-tree. | |
687 | (exp_trinop): Likewise, and use "cond" rather than "lhs". | |
688 | * ldexp.h (node_type): Add filename field to struct. | |
689 | * ldfile.c (ldfile_input_filename): Delete. Remove all refs. | |
690 | * ldfile.h (ldfile_input_filename): Delete. | |
691 | * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for | |
692 | %S in error messages. | |
693 | * ldemul.c (syslib_default, hll_default): Likewise. | |
694 | * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias, | |
695 | lang_get_regions, lang_new_phdr): Likewise. | |
696 | (lang_size_sections_1): Pass addr_tree for %S. | |
697 | * ldlex.h (lex_redirect): Update prototype. | |
698 | (ldlex_filename): Declare. | |
699 | * ldlex.l (<EOF>): Don't set ldfile_input_filename. | |
700 | (lex_redirect): Add fake_filename and count params. Push | |
701 | fake_filename to file_name_stack and init lineno from count. | |
702 | (ldlex_filename): New function. | |
703 | (lex_warn_invalid): Use above. | |
704 | * ldmain.c (main): Update lex_redirect call. | |
705 | * ldmisc.c (vfinfo <%S>): Take file name and line number from | |
706 | etree_type arg, or use current if arg is NULL. | |
707 | * lexsup.c (parsing_defsym): Delete. | |
708 | (parse_args <OPTION_DEFSYM>): Update lex_redirect call. | |
709 | ||
d0ac6938 KT |
710 | 2012-02-13 Kai Tietz <ktietz@redhat.com> |
711 | ||
712 | * deffilep.y (find_export_in_list): Set is_indent for | |
713 | first or last element, if identical. | |
714 | (find_import_in_list): Likewise. | |
715 | ||
aa83d1ec KT |
716 | 2012-02-11 Kai Tietz <ktietz@redhat.com> |
717 | ||
718 | * deffilep.y (%union): New type id_const. | |
719 | (opt_name2): New rule. | |
720 | (keyword_as_name): New rule. | |
721 | (dot_name): Replaced by opt_name2 rule. | |
722 | (opt_name): Adjust rule. | |
723 | (opt_equal_name): Likewise. | |
724 | ||
98872a7c NC |
725 | 2012-02-11 Pascal Obry <pascal@obry.net> |
726 | ||
727 | * pe-dll.c (auto_export): Use bsearch to speed up scan of exports | |
728 | table. | |
729 | (process_def_file_and_drectve): Maintain sorting of exports table | |
730 | after stripping leading @ signs. | |
731 | ||
09f6ed34 AM |
732 | 2012-02-09 Alan Modra <amodra@gmail.com> |
733 | ||
734 | * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags. | |
735 | ||
b7761f11 L |
736 | 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> |
737 | ||
738 | PR ld/13616 | |
739 | * emulparams/elf32_x86_64.sh: Remove NOP. | |
740 | * emulparams/elf_i386.sh: Likewise. | |
741 | * emulparams/elf_i386_be.sh: Likewise. | |
742 | * emulparams/elf_i386_ldso.sh: Likewise. | |
743 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
744 | * emulparams/elf_k1om.sh: Likewise. | |
745 | * emulparams/elf_l1om.sh: Likewise. | |
746 | * emulparams/elf_x86_64.sh: Likewise. | |
747 | ||
748 | * ldlang.c (zero_fill): Initialized to 0. | |
749 | ||
750 | * ldwrite.c (build_link_order): Set data size to linker odrder | |
751 | size when they are the same. | |
752 | ||
753 | * scripttempl/elf.sc: Don't specify fill if NOP is undefined. | |
754 | ||
576477a6 AM |
755 | 2012-01-17 Alan Modra <amodra@gmail.com> |
756 | ||
757 | * ldver.c (ldversion): Update copyright message year. | |
758 | ||
cdaa438c AM |
759 | 2012-01-15 Alan Modra <amodra@gmail.com> |
760 | ||
761 | PR ld/12758 | |
762 | * ldlang.c (lang_process): Don't reopen all files, just those | |
763 | newly added by plugin. | |
764 | ||
794e51c0 AM |
765 | 2012-01-11 Alan Modra <amodra@gmail.com> |
766 | ||
767 | * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE, | |
768 | PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, | |
769 | PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and | |
770 | --{no-,}plt-align. | |
771 | (plt_thread_safe, plt_stub_align): New vars. | |
772 | (gld${EMULATION_NAME}_after_allocation): Pass them to | |
773 | ppc64_elf_size_stubs. Align stub sections according to plt_stub_align. | |
774 | * ld.texinfo: Document new command line options, and an old | |
775 | undocumented option. | |
776 | ||
52546677 RM |
777 | 2012-01-09 Roland McGrath <mcgrathr@google.com> |
778 | ||
779 | * configure.in: Use AM_ZLIB. | |
780 | * configure: Regenerated. | |
c0a512e2 | 781 | |
23e1d329 | 782 | For older changes see ChangeLog-2011 |
252b5132 RH |
783 | \f |
784 | Local Variables: | |
785 | mode: change-log | |
786 | left-margin: 8 | |
787 | fill-column: 74 | |
788 | version-control: never | |
789 | End: |