Commit | Line | Data |
---|---|---|
9aec8434 L |
1 | 2012-07-02 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * ld.texinfo: Replace __end_SECNAME with __stop_SECNAME. | |
4 | ||
2a995fc1 NC |
5 | 2012-06-29 Nick Clifton <nickc@redhat.com> |
6 | ||
7 | * scripttempl/alphavms.sc: Add .debug_macro section. | |
8 | * scripttempl/elf.sc: Likewise. | |
9 | * scripttempl/elf64hppa.sc: Likewise. | |
10 | * scripttempl/elf_chaos.sc: Likewise. | |
11 | * scripttempl/elfxtensa.sc: Likewise. | |
12 | * scripttempl/ia64vms.sc: Likewise. | |
13 | ||
14 | * scripttempl/armbpabi.sc: Add .debug_pubtypes, .debug_ranges and | |
15 | .debug_macro sections. | |
16 | * scripttempl/avr.sc: Likewise. | |
17 | * scripttempl/elf32cr16.sc: Likewise. | |
18 | * scripttempl/elf32crx.sc: Likewise. | |
19 | * scripttempl/elf32msp430.sc: Likewise. | |
20 | * scripttempl/elf32msp430_3.sc: Likewise. | |
21 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
22 | * scripttempl/elfd30v.sc: Likewise. | |
23 | * scripttempl/elfi370.sc: Likewise. | |
24 | * scripttempl/elfm68hc11.sc: Likewise. | |
25 | * scripttempl/elfm68hc12.sc: Likewise. | |
26 | * scripttempl/elfxgate.sc: Likewise. | |
27 | * scripttempl/i386beos.sc: Likewise. | |
28 | * scripttempl/i386go32.sc: Likewise. | |
29 | * scripttempl/ip2k.sc: Likewise. | |
30 | * scripttempl/iq2000.sc: Likewise. | |
31 | * scripttempl/mep.sc: Likewise. | |
32 | * scripttempl/mmo.sc: Likewise. | |
33 | * scripttempl/v850.sc: Likewise. | |
34 | * scripttempl/xstormy16.sc: Likewise. | |
35 | ||
a61fdf08 L |
36 | 2012-06-28 H.J. Lu <hongjiu.lu@intel.com> |
37 | ||
38 | * ldlang.c (update_wild_statements): Remove redundant statement. | |
39 | ||
47e2e729 AM |
40 | 2012-06-25 Alan Modra <amodra@gmail.com> |
41 | ||
42 | * ldlang.c (load_symbols): Close file and set flags.loaded | |
43 | after parsing script file. | |
44 | (open_input_bfds): Don't segv on closed script. | |
45 | ||
0c77920e L |
46 | 2012-06-24 H.J. Lu <hongjiu.lu@intel.com> |
47 | ||
48 | * configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32. | |
49 | Remove x32 in tdir_i386linux and tdir_elf_i386. | |
50 | ||
62655c7b RM |
51 | 2012-06-22 Roland McGrath <mcgrathr@google.com> |
52 | ||
53 | * NEWS: Mention __ehdr_start. | |
54 | ||
d9476c5a AM |
55 | 2012-06-21 Alan Modra <amodra@gmail.com> |
56 | ||
57 | * ldlang.c (lang_insert_orphan): Don't make __start_<sec> symbol | |
58 | absolute, and remove unnecessary alignment. | |
59 | ||
d2667025 AM |
60 | 2012-06-16 Alan Modra <amodra@gmail.com> |
61 | ||
62 | * ldlang.h (lang_output_section_statement_type): Add after_end field. | |
63 | (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. | |
64 | (section_for_dot): Declare. | |
65 | * ldlang.c (lang_size_sections_1): Correct comment. | |
66 | (current_section): Move earlier. | |
67 | (current_assign, prefer_next_section): New static vars. | |
68 | (lang_do_assignments_1): Add found_end param. Detect _end | |
69 | assignment to set found_end. Set os->after_end. Set above statics. | |
70 | (lang_do_assignments): Adjust lang_do_assignments_1 call. Init | |
71 | vars. | |
72 | (section_for_dot): New function. | |
73 | (lang_set_startof): Don't make an absolute symbol. | |
74 | (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. | |
75 | * ldexp.c (new_rel_from_abs): Use section_for_dot. | |
76 | * emultempl/lnk960.em (symbol_at_beginning_of): New function. | |
77 | (symbol_at_end_of): Likewise. | |
78 | (lnk960_after_allocation): Use them. | |
79 | * scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and | |
80 | likewise before __bss_start. | |
81 | ||
6611f2e1 L |
82 | 2012-06-14 H.J. Lu <hongjiu.lu@intel.com> |
83 | ||
84 | * plugin.c (set_tv_header): Handle link_info.pie. | |
85 | ||
17d6eea5 L |
86 | 2012-06-11 Alan Modra <amodra@gmail.com> |
87 | ||
88 | PR ld/14215 | |
89 | * ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section | |
90 | references. | |
91 | * emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of | |
92 | .got.plt. | |
93 | * emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise. | |
94 | * emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise. | |
95 | * emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise. | |
96 | * emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise. | |
97 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise. | |
98 | * emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise. | |
99 | * emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise. | |
100 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise. | |
101 | ||
fef632e1 NC |
102 | 2012-06-07 Georg-Johann Lay <avr@gjlay.de> |
103 | ||
104 | PR 13697 | |
105 | * scripttempl/avr.sc (.data): Keep it. | |
106 | ||
959a202e AS |
107 | 2012-06-02 Andreas Schwab <schwab@linux-m68k.org> |
108 | ||
109 | * Makefile.am (TEXINFO_TEX): Remove $(top_srcdir) prefix. | |
110 | * Makefile.in: Regenerate. | |
111 | ||
6d8bf25d AM |
112 | 2012-05-30 Alan Modra <amodra@gmail.com> |
113 | ||
114 | * ldlang.h (lang_output_section_statement_type): Rename | |
115 | "section_relative_symbol" field to "update_dot". | |
116 | * ldlang.c: Update all uses. | |
117 | (strip_excluded_output_sections): Don't test update_dot_tree here.. | |
118 | (lang_leave_overlay): ..set update_dot here. | |
119 | ||
f05eb3b7 AM |
120 | 2012-05-26 Alan Modra <amodra@gmail.com> |
121 | ||
145fa769 L |
122 | * ldlex.h (enum option_values): Move from.. |
123 | * lexsup.c: ..here. | |
f05eb3b7 AM |
124 | * emultempl/ppc32elf.em: Include ldlex.h. |
125 | (PARSE_AND_LIST_ARGS_CASES): Disable optimisations when | |
126 | --traditional-format. | |
127 | * emultempl/ppc64elf.em: Likewise. | |
128 | ||
9cf8b46e AM |
129 | 2012-05-25 Alan Modra <amodra@gmail.com> |
130 | ||
131 | PR ld/13909 | |
132 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Handle | |
133 | multiple .eh_frame sections attached to bfd. | |
134 | ||
18bbc1c5 CC |
135 | 2012-05-23 Cary Coutant <ccoutant@google.com> |
136 | ||
137 | * scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more | |
138 | carefully. Fix typo where .rela.data.rel.ro matches | |
139 | .rel.data.rel.ro. | |
140 | * scripttempl/mep.sc: Likewise. | |
141 | * scripttempl/elf.sc: Match .data.rel.ro.* sections more carefully. | |
142 | * scripttempl/elf64hppa.sc: Likewise. | |
143 | * scripttempl/elfxtensa.sc: Likewise. | |
144 | ||
df7b86aa NC |
145 | 2012-05-17 Daniel Richard G. <skunk@iskunk.org> |
146 | Nick Clifton <nickc@redhat.com> | |
147 | ||
148 | PR 14072 | |
149 | * configure.in: Add check that sysdep.h has been included before | |
150 | any system header files. | |
151 | * configure: Regenerate. | |
152 | * config.in: Regenerate. | |
153 | * sysdep.h: Generate an error if included before config.h. | |
154 | ||
a0f49396 NC |
155 | 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com> |
156 | ||
157 | * emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd' | |
158 | as the first argument for `bfd_get_section_name'. | |
159 | ||
a5244b7e NC |
160 | 2012-05-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
161 | ||
162 | PR ld/14069 | |
163 | * emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf | |
164 | support. | |
165 | ||
6927f982 NC |
166 | 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> |
167 | ||
168 | * NEWS: Mention the support for S12X processors. | |
169 | ||
b9c361e0 JL |
170 | 2012-05-14 James Lemke <jwlemke@codesourcery.com> |
171 | ||
172 | * ldlang.c (walk_wild_consider_section): Don't copy section_flag_list. | |
173 | Pass it to callback. | |
174 | (walk_wild_section_general): Pass section_flag_list to callback. | |
175 | (lang_add_section): Add sflag_list parm. | |
176 | Move out logic to keep / omit a section & call bfd_lookup_section_flags. | |
177 | (output_section_callback_fast): Add sflag_list parm. | |
178 | Add new parm to lang_add_section calls. | |
179 | (output_section_callback): Likewise. | |
180 | (check_section_callback): Add sflag_list parm. | |
181 | (lang_place_orphans): Add new parm to lang_add_section calls. | |
182 | (gc_section_callback): Add sflag_list parm. | |
183 | (find_relro_section_callback): Likewise. | |
184 | * ldlang.h (callback_t): Add flag_info parm. | |
185 | (lang_add_section): Add sflag_list parm. | |
186 | * emultempl/armelf.em (elf32_arm_add_stub_section): | |
187 | Add lang_add_section parm. | |
188 | * emultempl/beos.em (gld*_place_orphan): Likewise. | |
189 | * emultempl/elf32.em (gld*_place_orphan): Likewise. | |
190 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise. | |
191 | * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise. | |
192 | * emultempl/mipself.em (mips_add_stub_section): Likewise. | |
193 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
194 | * emultempl/pe.em (gld_*_place_orphan): Likewise. | |
195 | * emultempl/pep.em (gld_*_place_orphan): Likewise. | |
196 | * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise. | |
197 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
198 | * emultempl/vms.em (vms_place_orphan): Likewise. | |
199 | ||
200 | 2012-05-14 Catherine Moore <clm@codesourcery.com> | |
201 | ||
202 | * NEWS: Mention PowerPC VLE port. | |
203 | ||
208a4923 NC |
204 | 2012-05-11 Daniel Richard G. <skunk@iskunk.org> |
205 | ||
206 | PR binutils/14028 | |
207 | * configure.in: Invoke ACX_HEADER_STRING. | |
208 | * configure: Regenerate. | |
209 | * config.in: Regenerate. | |
210 | * sysdep.h: If STRINGS_WITH_STRING is defined then include both | |
211 | string.h and strings.h. | |
212 | ||
e5b62927 AM |
213 | 2012-05-08 Alan Modra <amodra@gmail.com> |
214 | ||
215 | * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other | |
216 | LC and LANG environment vars. | |
217 | * Makefile.in: Regenerate. | |
218 | ||
d66ac08f TG |
219 | 2012-05-07 Tristan Gingold <gingold@adacore.com> |
220 | ||
221 | * pe-dll.c (udef_table): Make it static. | |
222 | ||
45dfa85a AM |
223 | 2012-05-05 Alan Modra <amodra@gmail.com> |
224 | ||
225 | * pe-dll.c (process_def_file_and_drectve): Use bfd_und_section_ptr. | |
226 | (generate_reloc): Use bfd_abs_section_ptr. | |
227 | ||
3c995545 L |
228 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
229 | ||
230 | * configure.tgt: Support x86_64-*-linux-gnux32. | |
231 | ||
f6c1a2d5 NC |
232 | 2012-05-03 Sean Keys <skeys@ipdatasys.com> |
233 | ||
234 | * Makefile.am (ALL_EMULATIONS): Added new emulation for XGATE | |
235 | and XGATE (elf). | |
236 | * Makefile.in: Rebuild. | |
237 | * configure.tgt: Recognize XGATE. | |
238 | * scripttempl/elfxgate.sc: New file, mostly cloned from m68hc12. | |
239 | * emulparams/xgateelf: New emulation, mostly cloned from m68hc12. | |
240 | * NEWS: Mention new support. | |
241 | ||
3b66a141 HPN |
242 | 2012-04-26 Hans-Peter Nilsson <hp@axis.com> |
243 | ||
244 | Make bfd asserts cause linker errors. | |
245 | * ldmain.c (default_bfd_assert_handler): New variable. | |
246 | (ld_bfd_assert_handler): New function. | |
247 | (main): Call bfd_set_assert_handler. | |
248 | ||
dbaa2011 AM |
249 | 2012-04-24 Alan Modra <amodra@gmail.com> |
250 | ||
3daa201b | 251 | * ldlang.c (size_input_section): Use sec_info_type rather than |
dbaa2011 | 252 | usrdata->flags.just_syms. |
3daa201b AM |
253 | * ldwrite.c (build_link_order): Likewise. |
254 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
255 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
256 | * emultempl/armelf.em (build_section_lists): Likewise. | |
dbaa2011 | 257 | (after_allocation): Update for renamed sec_info_type value. |
3daa201b | 258 | * emultempl/tic6xdsbt.em: Likewise. |
dbaa2011 | 259 | |
b38cadfb NC |
260 | 2012-04-12 Roland McGrath <mcgrathr@google.com> |
261 | ||
262 | * configure.tgt (arm*-*-nacl*, arm*b-*-nacl*): Handle them. | |
263 | * emulparams/armelf_nacl.sh: New file. | |
264 | * emulparams/armelfb_nacl.sh: New file. | |
265 | * Makefile.am (ALL_EMULATION_SOURCES): Add earmelf_nacl.c | |
266 | and earmelfb_nacl.c here. | |
267 | (earmelf_nacl.c, earmelfb_nacl.c): New targets. | |
268 | * Makefile.in: Regenerated. | |
269 | ||
202e2356 NC |
270 | 2012-04-11 Tristan Gingold <gingold@adacore.com> |
271 | ||
272 | * scripttempl/ia64vms.sc: New file. | |
273 | * emultempl/vms.em (_before_parse): Support for ia64. | |
274 | (elf64-ia64-vms): New fragment for ia64. | |
275 | * emulparams/elf64_ia64_vms.sh: New file. | |
276 | * configure.tgt (ia64-*-*vms*): Add. | |
277 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c | |
278 | (eelf64_ia64_vms.c): New rule. | |
279 | * Makefile.in: Regenerate. | |
280 | ||
58797674 RM |
281 | 2012-04-06 Roland McGrath <mcgrathr@google.com> |
282 | ||
283 | * configure.in (AC_CHECK_HEADERS): Add locale.h. | |
284 | * config.in: Regenerate. | |
285 | * configure: Regenerate. | |
286 | ||
44350750 NC |
287 | 2012-04-05 Nick Clifton <nickc@redhat.com> |
288 | ||
289 | * configure.in (AC_CHECK_FUNCS): Add setlocale. | |
290 | (AM_LC_MESSAGES): Add. | |
291 | * aclocal.m4: Regenerate. | |
292 | * config.in: Regenerate. | |
293 | * configure: Regenerate. | |
294 | ||
5a68afcf RM |
295 | 2012-04-03 Roland McGrath <mcgrathr@google.com> |
296 | ||
297 | * configure.tgt (i[3-7]86-*-nacl*, x86_64-*-nacl*): Handle them. | |
298 | * emulparams/elf_nacl.sh: New file. | |
299 | * emulparams/elf_i386_nacl.sh: New file. | |
300 | * emulparams/elf32_x86_64_nacl.sh: New file. | |
301 | * emulparams/elf_x86_64_nacl.sh: New file. | |
302 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_i386_nacl.c here. | |
303 | (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64_nacl.c and | |
304 | eelf_x86_64_nacl.c here. | |
305 | (eelf_i386_nacl.c, eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c): | |
306 | New targets. | |
307 | * Makefile.in: Regenerated. | |
308 | ||
309 | * scripttempl/elf.sc: Handle SEPARATE_CODE cases. | |
310 | ||
23916fff MF |
311 | 2012-04-02 Mike Frysinger <vapier@gentoo.org> |
312 | ||
313 | * ldmisc.c (vfinfo): Assign new local str to fmt. Delete | |
314 | putc call. If str and fmt are different, call fwrite on | |
315 | the difference. | |
316 | ||
26a3ed35 NC |
317 | 2012-03-30 Nick Clifton <nickc@redhat.com> |
318 | ||
319 | * po/vi.po: Updated Vietnamese translation. | |
320 | ||
bf9ef603 RM |
321 | 2012-03-27 Roland McGrath <mcgrathr@google.com> |
322 | ||
323 | * configure.in: Set want64 on a 64-bit host regardless of | |
324 | --enable-targets=all. | |
325 | * configure: Regenerated. | |
326 | ||
1d6d1a2c TG |
327 | 2012-03-26 Tristan Gingold <gingold@adacore.com> |
328 | ||
329 | * lexsup.c (parse_args): Add a missing '\n'. | |
330 | ||
b514e6a5 AM |
331 | 2012-03-25 Alan Modra <amodra@gmail.com> |
332 | ||
333 | * ldemul.c (before_allocation_default): Revert last change. | |
3daa201b | 334 | * ldlang.c (lang_add_section): Likewise. |
b514e6a5 AM |
335 | (strip_excluded_output_sections): Don't strip output sections with |
336 | user input sections when emitrelocations, unless all are SEC_EXCLUDE. | |
337 | ||
f24fcb9d AM |
338 | 2012-03-23 Alan Modra <amodra@gmail.com> |
339 | ||
340 | * ldemul.c (before_allocation_default): When emitrelocations, | |
341 | don't strip sections.. | |
342 | * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail. | |
343 | ||
aeb1f0e8 KT |
344 | 2012-03-14 Kai Tietz <ktietz@redhat.com> |
345 | Pascal Obry <pascal@obry.net> | |
346 | ||
347 | * pe-dll.c (found_sym): New static variable. | |
348 | (undef_count): Likewise. | |
349 | (key_value): New structure. | |
350 | (undef_sort_cmp): Compare routine for qsort/bsearch. | |
351 | (pe_find_cdecl_alias_match): Add new argument. | |
352 | (pe_undef_alias_cdecl_match): Removed. | |
353 | (pe_undef_count): New helper routine. | |
354 | (pe_create_undef_table): Likewise. | |
355 | (pe_process_import_defs): Use pe_create_undef_table and | |
356 | new pe_undef_alias_cdecl_match function. | |
357 | ||
ec8460b5 AM |
358 | 2012-03-14 Alan Modra <amodra@gmail.com> |
359 | ||
360 | PR ld/13839 | |
361 | * ldexp.c (fold_name): Ignore undefined symbols when assigning to | |
362 | dot in mark phase. | |
363 | (exp_fold_tree_1): Evaluate assignment to dot expressions even when | |
364 | discarding result, for side effects. Fix typo in error message. | |
365 | ||
67baf8c4 TG |
366 | 2012-03-08 Tristan Gingold <gingold@adacore.com> |
367 | ||
368 | * ldexp.c (exp_print_tree): Special case for SEGMENT_START. | |
369 | (exp_print_token): Constify. | |
370 | ||
f4a23d42 AM |
371 | 2012-03-08 Alan Modra <amodra@gmail.com> |
372 | ||
373 | PR ld/10340 | |
374 | * ldfile.c (is_sysrooted_pathname): Remove notsame param. | |
375 | (ldfile_add_library_path): Don't set sysrooted flag. | |
376 | (ldfile_open_file_search): Likewise, and don't copy them. | |
377 | (try_open): Delete exten and code handling such. Add sysrooted | |
378 | param and return whether path is in sysroot. | |
379 | (ldfile_find_command_file): Delete extend param. Add sysrooted | |
380 | param. Rename local var. Update try_open calls. | |
381 | (ldfile_open_command_file_1): Pass sysrooted to lex_push_file. | |
382 | * ldfile.h (search_dirs_type): Remove sysrooted field. | |
383 | * ldlang.c (new_afile): Always set sysrooted from input_flags. | |
384 | (load_symbols): Don't set input_flags.sysrooted. | |
385 | * ldlang.h (struct lang_input_statement_flags): Revise sysrooted | |
386 | comment. | |
387 | * ldlex.h (lex_push_file): Update prototype. | |
388 | * ldlex.l (sysrooted_stack): New array. | |
389 | (EOF): Pop input_flags.sysrooted. | |
390 | (lex_push_file): Add sysrooted param. Save and set | |
391 | input_flags.sysrooted. | |
392 | ||
66be1055 AM |
393 | 2012-03-06 Alan Modra <amodra@gmail.com> |
394 | ||
395 | * ldlang.h (struct lang_input_statement_flags): New, extract from.. | |
396 | (lang_input_statement_type): ..here. New field "flags". | |
397 | (input_flags): Declare. | |
398 | (missing_file): Delete. | |
399 | * ldmain.h (whole_archive): Delete. | |
400 | (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. | |
401 | * ld.h (ld_config_type <dynamic_link>): Delete. | |
402 | * ldmain.c (whole_archive): Delete. | |
403 | (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. | |
404 | * ldlang.c (missing_file, ldlang_sysrooted_script): Delete. | |
405 | (input_flags): New variable. Replace all uses of config.dynamic_link, | |
406 | missing_file, ldlang_sysrooted_script, whole_archive, | |
407 | add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields | |
408 | from here. | |
409 | * ldfile.c: Likewise. | |
410 | * ldgram.y: Likewise. | |
411 | * ldmain.c: Likewise. | |
412 | * ldwrite.c: Likewise. | |
413 | * lexsup.c: Likewise. | |
414 | * plugin.c: Likewise. | |
415 | * emultempl/aix.em: Likewise. | |
416 | * emultempl/armelf.em: Likewise. | |
417 | * emultempl/elf32.em: Likewise. | |
418 | * emultempl/hppaelf.em: Likewise. | |
419 | * emultempl/linux.em: Likewise. | |
420 | * emultempl/pe.em: Likewise. | |
421 | * emultempl/pep.em: Likewise. | |
422 | * emultempl/ppc64elf.em: Likewise. | |
423 | * emultempl/scoreelf.em: Likewise. | |
424 | * emultempl/spuelf.em: Likewise. | |
425 | * emultempl/sunos.em: Likewise. | |
426 | * emultempl/vms.em: Likewise. | |
427 | * ldlang.c (new_afile): Use memset to init zero fields. | |
428 | (load_symbols): Simplify save and restore of flags around command | |
429 | file processing. | |
430 | * ldfile.c (is_sysrooted_pathname): Tidy. | |
431 | ||
cae4ddc6 HPN |
432 | 2012-03-05 Hans-Peter Nilsson <hp@axis.com> |
433 | ||
434 | * configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*) | |
435 | (mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by | |
436 | replacing trailing "-*" with "*". | |
437 | ||
fb6cedde WL |
438 | 2012-02-25 Walter Lee <walt@tilera.com> |
439 | ||
440 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c. | |
441 | (ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c. | |
442 | (eelf32tilegx_be.c): Add rule to build this file. | |
443 | (eelf64tilegx_be.c): Ditto. | |
444 | * Makefile.in: Regenerate. | |
445 | * configure.tgt (tilegx-*-*): Support big endian. | |
446 | (tilegxbe-*-*): New. | |
447 | * emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename. | |
448 | (BIG_OUTPUT_FORMAT): Define. | |
449 | (LITTLE_OUTPUT_FORMAT): Define. | |
450 | * emulparams/elf32tilegx_be.sh: New. | |
451 | * emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename. | |
452 | (BIG_OUTPUT_FORMAT): Define. | |
453 | (LITTLE_OUTPUT_FORMAT): Define. | |
454 | * emulparams/elf64tilegx_be.sh: New. | |
455 | ||
5b3d386e KT |
456 | 2012-02-24 Kai Tietz <ktietz@redhat.com> |
457 | ||
458 | PR binutils/13710 | |
459 | * deffilep.y (keyword_as_name): Disable LIBRARY | |
460 | keyword. | |
461 | ||
2aa9aad9 NC |
462 | 2012-02-22 Alan Modra <amodra@gmail.com> |
463 | ||
464 | PR ld/13683 | |
465 | * ldlang.c (lang_process): Rerun lang_do_assignments before | |
466 | starting garbage collection. | |
467 | * ldexp.c (fold_name): Generate a reloc for defined symbols | |
468 | found without an associated output section during the mark phase. | |
289b70fe NC |
469 | (exp_fold_tree_1): Continue processing an expression, even if we |
470 | are unable to fold it, if we are in the first two evaluation | |
471 | phases. | |
2aa9aad9 NC |
472 | * ldexp.h (enum lang_phase_type): Add descriptions of the phases. |
473 | ||
6e230cc2 KT |
474 | 2012-02-19 Kai Tietz <ktietz@redhat.com> |
475 | ||
476 | * deffilep.y (cmp_import_elem): Sort first by module name. | |
477 | * pe-dll.c (process_def_file_and_drectve): Free strings | |
478 | from removed export-element. | |
479 | (add_bfd_to_link): Optimize loop on import-elements and lower | |
480 | allocated memory. | |
481 | (pe_implied_import_dll): Pass NULL instead of 0 for pointer | |
482 | argument. | |
483 | ||
39085894 HPN |
484 | 2012-02-18 Hans-Peter Nilsson <hp@axis.com> |
485 | ||
486 | * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for | |
487 | temporary variable node used for NULL argument. | |
488 | ||
dab69f68 AM |
489 | 2012-02-18 Alan Modra <amodra@gmail.com> |
490 | ||
491 | PR ld/13343 | |
492 | * ld.h (parsing_defsym): Delete. | |
493 | * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename. | |
494 | (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill, | |
495 | exp_get_abs_int): Add tree arg for %S in error messages. Don't | |
496 | fudge lineno. | |
497 | (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy | |
498 | type.filename from sub-tree. | |
499 | (exp_trinop): Likewise, and use "cond" rather than "lhs". | |
500 | * ldexp.h (node_type): Add filename field to struct. | |
501 | * ldfile.c (ldfile_input_filename): Delete. Remove all refs. | |
502 | * ldfile.h (ldfile_input_filename): Delete. | |
503 | * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for | |
504 | %S in error messages. | |
505 | * ldemul.c (syslib_default, hll_default): Likewise. | |
506 | * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias, | |
507 | lang_get_regions, lang_new_phdr): Likewise. | |
508 | (lang_size_sections_1): Pass addr_tree for %S. | |
509 | * ldlex.h (lex_redirect): Update prototype. | |
510 | (ldlex_filename): Declare. | |
511 | * ldlex.l (<EOF>): Don't set ldfile_input_filename. | |
512 | (lex_redirect): Add fake_filename and count params. Push | |
513 | fake_filename to file_name_stack and init lineno from count. | |
514 | (ldlex_filename): New function. | |
515 | (lex_warn_invalid): Use above. | |
516 | * ldmain.c (main): Update lex_redirect call. | |
517 | * ldmisc.c (vfinfo <%S>): Take file name and line number from | |
518 | etree_type arg, or use current if arg is NULL. | |
519 | * lexsup.c (parsing_defsym): Delete. | |
520 | (parse_args <OPTION_DEFSYM>): Update lex_redirect call. | |
521 | ||
d0ac6938 KT |
522 | 2012-02-13 Kai Tietz <ktietz@redhat.com> |
523 | ||
524 | * deffilep.y (find_export_in_list): Set is_indent for | |
525 | first or last element, if identical. | |
526 | (find_import_in_list): Likewise. | |
527 | ||
aa83d1ec KT |
528 | 2012-02-11 Kai Tietz <ktietz@redhat.com> |
529 | ||
530 | * deffilep.y (%union): New type id_const. | |
531 | (opt_name2): New rule. | |
532 | (keyword_as_name): New rule. | |
533 | (dot_name): Replaced by opt_name2 rule. | |
534 | (opt_name): Adjust rule. | |
535 | (opt_equal_name): Likewise. | |
536 | ||
98872a7c NC |
537 | 2012-02-11 Pascal Obry <pascal@obry.net> |
538 | ||
539 | * pe-dll.c (auto_export): Use bsearch to speed up scan of exports | |
540 | table. | |
541 | (process_def_file_and_drectve): Maintain sorting of exports table | |
542 | after stripping leading @ signs. | |
543 | ||
09f6ed34 AM |
544 | 2012-02-09 Alan Modra <amodra@gmail.com> |
545 | ||
546 | * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags. | |
547 | ||
b7761f11 L |
548 | 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> |
549 | ||
550 | PR ld/13616 | |
551 | * emulparams/elf32_x86_64.sh: Remove NOP. | |
552 | * emulparams/elf_i386.sh: Likewise. | |
553 | * emulparams/elf_i386_be.sh: Likewise. | |
554 | * emulparams/elf_i386_ldso.sh: Likewise. | |
555 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
556 | * emulparams/elf_k1om.sh: Likewise. | |
557 | * emulparams/elf_l1om.sh: Likewise. | |
558 | * emulparams/elf_x86_64.sh: Likewise. | |
559 | ||
560 | * ldlang.c (zero_fill): Initialized to 0. | |
561 | ||
562 | * ldwrite.c (build_link_order): Set data size to linker odrder | |
563 | size when they are the same. | |
564 | ||
565 | * scripttempl/elf.sc: Don't specify fill if NOP is undefined. | |
566 | ||
576477a6 AM |
567 | 2012-01-17 Alan Modra <amodra@gmail.com> |
568 | ||
569 | * ldver.c (ldversion): Update copyright message year. | |
570 | ||
cdaa438c AM |
571 | 2012-01-15 Alan Modra <amodra@gmail.com> |
572 | ||
573 | PR ld/12758 | |
574 | * ldlang.c (lang_process): Don't reopen all files, just those | |
575 | newly added by plugin. | |
576 | ||
794e51c0 AM |
577 | 2012-01-11 Alan Modra <amodra@gmail.com> |
578 | ||
579 | * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE, | |
580 | PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, | |
581 | PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and | |
582 | --{no-,}plt-align. | |
583 | (plt_thread_safe, plt_stub_align): New vars. | |
584 | (gld${EMULATION_NAME}_after_allocation): Pass them to | |
585 | ppc64_elf_size_stubs. Align stub sections according to plt_stub_align. | |
586 | * ld.texinfo: Document new command line options, and an old | |
587 | undocumented option. | |
588 | ||
52546677 RM |
589 | 2012-01-09 Roland McGrath <mcgrathr@google.com> |
590 | ||
591 | * configure.in: Use AM_ZLIB. | |
592 | * configure: Regenerated. | |
c0a512e2 | 593 | |
23e1d329 | 594 | For older changes see ChangeLog-2011 |
252b5132 RH |
595 | \f |
596 | Local Variables: | |
597 | mode: change-log | |
598 | left-margin: 8 | |
599 | fill-column: 74 | |
600 | version-control: never | |
601 | End: |