]>
Commit | Line | Data |
---|---|---|
6927f982 NC |
1 | 2012-05-15 James Murray <[email protected]> |
2 | ||
3 | * NEWS: Mention the support for S12X processors. | |
4 | ||
b9c361e0 JL |
5 | 2012-05-14 James Lemke <[email protected]> |
6 | ||
7 | * ldlang.c (walk_wild_consider_section): Don't copy section_flag_list. | |
8 | Pass it to callback. | |
9 | (walk_wild_section_general): Pass section_flag_list to callback. | |
10 | (lang_add_section): Add sflag_list parm. | |
11 | Move out logic to keep / omit a section & call bfd_lookup_section_flags. | |
12 | (output_section_callback_fast): Add sflag_list parm. | |
13 | Add new parm to lang_add_section calls. | |
14 | (output_section_callback): Likewise. | |
15 | (check_section_callback): Add sflag_list parm. | |
16 | (lang_place_orphans): Add new parm to lang_add_section calls. | |
17 | (gc_section_callback): Add sflag_list parm. | |
18 | (find_relro_section_callback): Likewise. | |
19 | * ldlang.h (callback_t): Add flag_info parm. | |
20 | (lang_add_section): Add sflag_list parm. | |
21 | * emultempl/armelf.em (elf32_arm_add_stub_section): | |
22 | Add lang_add_section parm. | |
23 | * emultempl/beos.em (gld*_place_orphan): Likewise. | |
24 | * emultempl/elf32.em (gld*_place_orphan): Likewise. | |
25 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise. | |
26 | * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise. | |
27 | * emultempl/mipself.em (mips_add_stub_section): Likewise. | |
28 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
29 | * emultempl/pe.em (gld_*_place_orphan): Likewise. | |
30 | * emultempl/pep.em (gld_*_place_orphan): Likewise. | |
31 | * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise. | |
32 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
33 | * emultempl/vms.em (vms_place_orphan): Likewise. | |
34 | ||
35 | 2012-05-14 Catherine Moore <[email protected]> | |
36 | ||
37 | * NEWS: Mention PowerPC VLE port. | |
38 | ||
208a4923 NC |
39 | 2012-05-11 Daniel Richard G. <[email protected]> |
40 | ||
41 | PR binutils/14028 | |
42 | * configure.in: Invoke ACX_HEADER_STRING. | |
43 | * configure: Regenerate. | |
44 | * config.in: Regenerate. | |
45 | * sysdep.h: If STRINGS_WITH_STRING is defined then include both | |
46 | string.h and strings.h. | |
47 | ||
e5b62927 AM |
48 | 2012-05-08 Alan Modra <[email protected]> |
49 | ||
50 | * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other | |
51 | LC and LANG environment vars. | |
52 | * Makefile.in: Regenerate. | |
53 | ||
d66ac08f TG |
54 | 2012-05-07 Tristan Gingold <[email protected]> |
55 | ||
56 | * pe-dll.c (udef_table): Make it static. | |
57 | ||
45dfa85a AM |
58 | 2012-05-05 Alan Modra <[email protected]> |
59 | ||
60 | * pe-dll.c (process_def_file_and_drectve): Use bfd_und_section_ptr. | |
61 | (generate_reloc): Use bfd_abs_section_ptr. | |
62 | ||
3c995545 L |
63 | 2012-05-04 H.J. Lu <[email protected]> |
64 | ||
65 | * configure.tgt: Support x86_64-*-linux-gnux32. | |
66 | ||
f6c1a2d5 NC |
67 | 2012-05-03 Sean Keys <[email protected]> |
68 | ||
69 | * Makefile.am (ALL_EMULATIONS): Added new emulation for XGATE | |
70 | and XGATE (elf). | |
71 | * Makefile.in: Rebuild. | |
72 | * configure.tgt: Recognize XGATE. | |
73 | * scripttempl/elfxgate.sc: New file, mostly cloned from m68hc12. | |
74 | * emulparams/xgateelf: New emulation, mostly cloned from m68hc12. | |
75 | * NEWS: Mention new support. | |
76 | ||
3b66a141 HPN |
77 | 2012-04-26 Hans-Peter Nilsson <[email protected]> |
78 | ||
79 | Make bfd asserts cause linker errors. | |
80 | * ldmain.c (default_bfd_assert_handler): New variable. | |
81 | (ld_bfd_assert_handler): New function. | |
82 | (main): Call bfd_set_assert_handler. | |
83 | ||
dbaa2011 AM |
84 | 2012-04-24 Alan Modra <[email protected]> |
85 | ||
86 | * ld/ldlang.c (size_input_section): Use sec_info_type rather than | |
87 | usrdata->flags.just_syms. | |
88 | * ld/ldwrite.c (build_link_order): Likewise. | |
89 | * ld/emultempl/hppaelf.em (build_section_lists): Likewise. | |
90 | * ld/emultempl/ppc64elf.em (build_toc_list): Likewise. | |
91 | * ld/emultempl/armelf.em (build_section_lists): Likewise. | |
92 | (after_allocation): Update for renamed sec_info_type value. | |
93 | * ld/emultempl/tic6xdsbt.em: Likewise. | |
94 | ||
b38cadfb NC |
95 | 2012-04-12 Roland McGrath <[email protected]> |
96 | ||
97 | * configure.tgt (arm*-*-nacl*, arm*b-*-nacl*): Handle them. | |
98 | * emulparams/armelf_nacl.sh: New file. | |
99 | * emulparams/armelfb_nacl.sh: New file. | |
100 | * Makefile.am (ALL_EMULATION_SOURCES): Add earmelf_nacl.c | |
101 | and earmelfb_nacl.c here. | |
102 | (earmelf_nacl.c, earmelfb_nacl.c): New targets. | |
103 | * Makefile.in: Regenerated. | |
104 | ||
202e2356 NC |
105 | 2012-04-11 Tristan Gingold <[email protected]> |
106 | ||
107 | * scripttempl/ia64vms.sc: New file. | |
108 | * emultempl/vms.em (_before_parse): Support for ia64. | |
109 | (elf64-ia64-vms): New fragment for ia64. | |
110 | * emulparams/elf64_ia64_vms.sh: New file. | |
111 | * configure.tgt (ia64-*-*vms*): Add. | |
112 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c | |
113 | (eelf64_ia64_vms.c): New rule. | |
114 | * Makefile.in: Regenerate. | |
115 | ||
58797674 RM |
116 | 2012-04-06 Roland McGrath <[email protected]> |
117 | ||
118 | * configure.in (AC_CHECK_HEADERS): Add locale.h. | |
119 | * config.in: Regenerate. | |
120 | * configure: Regenerate. | |
121 | ||
44350750 NC |
122 | 2012-04-05 Nick Clifton <[email protected]> |
123 | ||
124 | * configure.in (AC_CHECK_FUNCS): Add setlocale. | |
125 | (AM_LC_MESSAGES): Add. | |
126 | * aclocal.m4: Regenerate. | |
127 | * config.in: Regenerate. | |
128 | * configure: Regenerate. | |
129 | ||
5a68afcf RM |
130 | 2012-04-03 Roland McGrath <[email protected]> |
131 | ||
132 | * configure.tgt (i[3-7]86-*-nacl*, x86_64-*-nacl*): Handle them. | |
133 | * emulparams/elf_nacl.sh: New file. | |
134 | * emulparams/elf_i386_nacl.sh: New file. | |
135 | * emulparams/elf32_x86_64_nacl.sh: New file. | |
136 | * emulparams/elf_x86_64_nacl.sh: New file. | |
137 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_i386_nacl.c here. | |
138 | (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64_nacl.c and | |
139 | eelf_x86_64_nacl.c here. | |
140 | (eelf_i386_nacl.c, eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c): | |
141 | New targets. | |
142 | * Makefile.in: Regenerated. | |
143 | ||
144 | * scripttempl/elf.sc: Handle SEPARATE_CODE cases. | |
145 | ||
23916fff MF |
146 | 2012-04-02 Mike Frysinger <[email protected]> |
147 | ||
148 | * ldmisc.c (vfinfo): Assign new local str to fmt. Delete | |
149 | putc call. If str and fmt are different, call fwrite on | |
150 | the difference. | |
151 | ||
26a3ed35 NC |
152 | 2012-03-30 Nick Clifton <[email protected]> |
153 | ||
154 | * po/vi.po: Updated Vietnamese translation. | |
155 | ||
bf9ef603 RM |
156 | 2012-03-27 Roland McGrath <[email protected]> |
157 | ||
158 | * configure.in: Set want64 on a 64-bit host regardless of | |
159 | --enable-targets=all. | |
160 | * configure: Regenerated. | |
161 | ||
1d6d1a2c TG |
162 | 2012-03-26 Tristan Gingold <[email protected]> |
163 | ||
164 | * lexsup.c (parse_args): Add a missing '\n'. | |
165 | ||
b514e6a5 AM |
166 | 2012-03-25 Alan Modra <[email protected]> |
167 | ||
168 | * ldemul.c (before_allocation_default): Revert last change. | |
169 | ldlang.c (lang_add_section): Likewise. | |
170 | (strip_excluded_output_sections): Don't strip output sections with | |
171 | user input sections when emitrelocations, unless all are SEC_EXCLUDE. | |
172 | ||
f24fcb9d AM |
173 | 2012-03-23 Alan Modra <[email protected]> |
174 | ||
175 | * ldemul.c (before_allocation_default): When emitrelocations, | |
176 | don't strip sections.. | |
177 | * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail. | |
178 | ||
aeb1f0e8 KT |
179 | 2012-03-14 Kai Tietz <[email protected]> |
180 | Pascal Obry <[email protected]> | |
181 | ||
182 | * pe-dll.c (found_sym): New static variable. | |
183 | (undef_count): Likewise. | |
184 | (key_value): New structure. | |
185 | (undef_sort_cmp): Compare routine for qsort/bsearch. | |
186 | (pe_find_cdecl_alias_match): Add new argument. | |
187 | (pe_undef_alias_cdecl_match): Removed. | |
188 | (pe_undef_count): New helper routine. | |
189 | (pe_create_undef_table): Likewise. | |
190 | (pe_process_import_defs): Use pe_create_undef_table and | |
191 | new pe_undef_alias_cdecl_match function. | |
192 | ||
ec8460b5 AM |
193 | 2012-03-14 Alan Modra <[email protected]> |
194 | ||
195 | PR ld/13839 | |
196 | * ldexp.c (fold_name): Ignore undefined symbols when assigning to | |
197 | dot in mark phase. | |
198 | (exp_fold_tree_1): Evaluate assignment to dot expressions even when | |
199 | discarding result, for side effects. Fix typo in error message. | |
200 | ||
67baf8c4 TG |
201 | 2012-03-08 Tristan Gingold <[email protected]> |
202 | ||
203 | * ldexp.c (exp_print_tree): Special case for SEGMENT_START. | |
204 | (exp_print_token): Constify. | |
205 | ||
f4a23d42 AM |
206 | 2012-03-08 Alan Modra <[email protected]> |
207 | ||
208 | PR ld/10340 | |
209 | * ldfile.c (is_sysrooted_pathname): Remove notsame param. | |
210 | (ldfile_add_library_path): Don't set sysrooted flag. | |
211 | (ldfile_open_file_search): Likewise, and don't copy them. | |
212 | (try_open): Delete exten and code handling such. Add sysrooted | |
213 | param and return whether path is in sysroot. | |
214 | (ldfile_find_command_file): Delete extend param. Add sysrooted | |
215 | param. Rename local var. Update try_open calls. | |
216 | (ldfile_open_command_file_1): Pass sysrooted to lex_push_file. | |
217 | * ldfile.h (search_dirs_type): Remove sysrooted field. | |
218 | * ldlang.c (new_afile): Always set sysrooted from input_flags. | |
219 | (load_symbols): Don't set input_flags.sysrooted. | |
220 | * ldlang.h (struct lang_input_statement_flags): Revise sysrooted | |
221 | comment. | |
222 | * ldlex.h (lex_push_file): Update prototype. | |
223 | * ldlex.l (sysrooted_stack): New array. | |
224 | (EOF): Pop input_flags.sysrooted. | |
225 | (lex_push_file): Add sysrooted param. Save and set | |
226 | input_flags.sysrooted. | |
227 | ||
66be1055 AM |
228 | 2012-03-06 Alan Modra <[email protected]> |
229 | ||
230 | * ldlang.h (struct lang_input_statement_flags): New, extract from.. | |
231 | (lang_input_statement_type): ..here. New field "flags". | |
232 | (input_flags): Declare. | |
233 | (missing_file): Delete. | |
234 | * ldmain.h (whole_archive): Delete. | |
235 | (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. | |
236 | * ld.h (ld_config_type <dynamic_link>): Delete. | |
237 | * ldmain.c (whole_archive): Delete. | |
238 | (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. | |
239 | * ldlang.c (missing_file, ldlang_sysrooted_script): Delete. | |
240 | (input_flags): New variable. Replace all uses of config.dynamic_link, | |
241 | missing_file, ldlang_sysrooted_script, whole_archive, | |
242 | add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields | |
243 | from here. | |
244 | * ldfile.c: Likewise. | |
245 | * ldgram.y: Likewise. | |
246 | * ldmain.c: Likewise. | |
247 | * ldwrite.c: Likewise. | |
248 | * lexsup.c: Likewise. | |
249 | * plugin.c: Likewise. | |
250 | * emultempl/aix.em: Likewise. | |
251 | * emultempl/armelf.em: Likewise. | |
252 | * emultempl/elf32.em: Likewise. | |
253 | * emultempl/hppaelf.em: Likewise. | |
254 | * emultempl/linux.em: Likewise. | |
255 | * emultempl/pe.em: Likewise. | |
256 | * emultempl/pep.em: Likewise. | |
257 | * emultempl/ppc64elf.em: Likewise. | |
258 | * emultempl/scoreelf.em: Likewise. | |
259 | * emultempl/spuelf.em: Likewise. | |
260 | * emultempl/sunos.em: Likewise. | |
261 | * emultempl/vms.em: Likewise. | |
262 | * ldlang.c (new_afile): Use memset to init zero fields. | |
263 | (load_symbols): Simplify save and restore of flags around command | |
264 | file processing. | |
265 | * ldfile.c (is_sysrooted_pathname): Tidy. | |
266 | ||
cae4ddc6 HPN |
267 | 2012-03-05 Hans-Peter Nilsson <[email protected]> |
268 | ||
269 | * configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*) | |
270 | (mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by | |
271 | replacing trailing "-*" with "*". | |
272 | ||
fb6cedde WL |
273 | 2012-02-25 Walter Lee <[email protected]> |
274 | ||
275 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c. | |
276 | (ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c. | |
277 | (eelf32tilegx_be.c): Add rule to build this file. | |
278 | (eelf64tilegx_be.c): Ditto. | |
279 | * Makefile.in: Regenerate. | |
280 | * configure.tgt (tilegx-*-*): Support big endian. | |
281 | (tilegxbe-*-*): New. | |
282 | * emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename. | |
283 | (BIG_OUTPUT_FORMAT): Define. | |
284 | (LITTLE_OUTPUT_FORMAT): Define. | |
285 | * emulparams/elf32tilegx_be.sh: New. | |
286 | * emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename. | |
287 | (BIG_OUTPUT_FORMAT): Define. | |
288 | (LITTLE_OUTPUT_FORMAT): Define. | |
289 | * emulparams/elf64tilegx_be.sh: New. | |
290 | ||
5b3d386e KT |
291 | 2012-02-24 Kai Tietz <[email protected]> |
292 | ||
293 | PR binutils/13710 | |
294 | * deffilep.y (keyword_as_name): Disable LIBRARY | |
295 | keyword. | |
296 | ||
2aa9aad9 NC |
297 | 2012-02-22 Alan Modra <[email protected]> |
298 | ||
299 | PR ld/13683 | |
300 | * ldlang.c (lang_process): Rerun lang_do_assignments before | |
301 | starting garbage collection. | |
302 | * ldexp.c (fold_name): Generate a reloc for defined symbols | |
303 | found without an associated output section during the mark phase. | |
289b70fe NC |
304 | (exp_fold_tree_1): Continue processing an expression, even if we |
305 | are unable to fold it, if we are in the first two evaluation | |
306 | phases. | |
2aa9aad9 NC |
307 | * ldexp.h (enum lang_phase_type): Add descriptions of the phases. |
308 | ||
6e230cc2 KT |
309 | 2012-02-19 Kai Tietz <[email protected]> |
310 | ||
311 | * deffilep.y (cmp_import_elem): Sort first by module name. | |
312 | * pe-dll.c (process_def_file_and_drectve): Free strings | |
313 | from removed export-element. | |
314 | (add_bfd_to_link): Optimize loop on import-elements and lower | |
315 | allocated memory. | |
316 | (pe_implied_import_dll): Pass NULL instead of 0 for pointer | |
317 | argument. | |
318 | ||
39085894 HPN |
319 | 2012-02-18 Hans-Peter Nilsson <[email protected]> |
320 | ||
321 | * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for | |
322 | temporary variable node used for NULL argument. | |
323 | ||
dab69f68 AM |
324 | 2012-02-18 Alan Modra <[email protected]> |
325 | ||
326 | PR ld/13343 | |
327 | * ld.h (parsing_defsym): Delete. | |
328 | * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename. | |
329 | (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill, | |
330 | exp_get_abs_int): Add tree arg for %S in error messages. Don't | |
331 | fudge lineno. | |
332 | (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy | |
333 | type.filename from sub-tree. | |
334 | (exp_trinop): Likewise, and use "cond" rather than "lhs". | |
335 | * ldexp.h (node_type): Add filename field to struct. | |
336 | * ldfile.c (ldfile_input_filename): Delete. Remove all refs. | |
337 | * ldfile.h (ldfile_input_filename): Delete. | |
338 | * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for | |
339 | %S in error messages. | |
340 | * ldemul.c (syslib_default, hll_default): Likewise. | |
341 | * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias, | |
342 | lang_get_regions, lang_new_phdr): Likewise. | |
343 | (lang_size_sections_1): Pass addr_tree for %S. | |
344 | * ldlex.h (lex_redirect): Update prototype. | |
345 | (ldlex_filename): Declare. | |
346 | * ldlex.l (<EOF>): Don't set ldfile_input_filename. | |
347 | (lex_redirect): Add fake_filename and count params. Push | |
348 | fake_filename to file_name_stack and init lineno from count. | |
349 | (ldlex_filename): New function. | |
350 | (lex_warn_invalid): Use above. | |
351 | * ldmain.c (main): Update lex_redirect call. | |
352 | * ldmisc.c (vfinfo <%S>): Take file name and line number from | |
353 | etree_type arg, or use current if arg is NULL. | |
354 | * lexsup.c (parsing_defsym): Delete. | |
355 | (parse_args <OPTION_DEFSYM>): Update lex_redirect call. | |
356 | ||
d0ac6938 KT |
357 | 2012-02-13 Kai Tietz <[email protected]> |
358 | ||
359 | * deffilep.y (find_export_in_list): Set is_indent for | |
360 | first or last element, if identical. | |
361 | (find_import_in_list): Likewise. | |
362 | ||
aa83d1ec KT |
363 | 2012-02-11 Kai Tietz <[email protected]> |
364 | ||
365 | * deffilep.y (%union): New type id_const. | |
366 | (opt_name2): New rule. | |
367 | (keyword_as_name): New rule. | |
368 | (dot_name): Replaced by opt_name2 rule. | |
369 | (opt_name): Adjust rule. | |
370 | (opt_equal_name): Likewise. | |
371 | ||
98872a7c NC |
372 | 2012-02-11 Pascal Obry <[email protected]> |
373 | ||
374 | * pe-dll.c (auto_export): Use bsearch to speed up scan of exports | |
375 | table. | |
376 | (process_def_file_and_drectve): Maintain sorting of exports table | |
377 | after stripping leading @ signs. | |
378 | ||
09f6ed34 AM |
379 | 2012-02-09 Alan Modra <[email protected]> |
380 | ||
381 | * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags. | |
382 | ||
b7761f11 L |
383 | 2012-01-31 H.J. Lu <[email protected]> |
384 | ||
385 | PR ld/13616 | |
386 | * emulparams/elf32_x86_64.sh: Remove NOP. | |
387 | * emulparams/elf_i386.sh: Likewise. | |
388 | * emulparams/elf_i386_be.sh: Likewise. | |
389 | * emulparams/elf_i386_ldso.sh: Likewise. | |
390 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
391 | * emulparams/elf_k1om.sh: Likewise. | |
392 | * emulparams/elf_l1om.sh: Likewise. | |
393 | * emulparams/elf_x86_64.sh: Likewise. | |
394 | ||
395 | * ldlang.c (zero_fill): Initialized to 0. | |
396 | ||
397 | * ldwrite.c (build_link_order): Set data size to linker odrder | |
398 | size when they are the same. | |
399 | ||
400 | * scripttempl/elf.sc: Don't specify fill if NOP is undefined. | |
401 | ||
576477a6 AM |
402 | 2012-01-17 Alan Modra <[email protected]> |
403 | ||
404 | * ldver.c (ldversion): Update copyright message year. | |
405 | ||
cdaa438c AM |
406 | 2012-01-15 Alan Modra <[email protected]> |
407 | ||
408 | PR ld/12758 | |
409 | * ldlang.c (lang_process): Don't reopen all files, just those | |
410 | newly added by plugin. | |
411 | ||
794e51c0 AM |
412 | 2012-01-11 Alan Modra <[email protected]> |
413 | ||
414 | * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE, | |
415 | PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, | |
416 | PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and | |
417 | --{no-,}plt-align. | |
418 | (plt_thread_safe, plt_stub_align): New vars. | |
419 | (gld${EMULATION_NAME}_after_allocation): Pass them to | |
420 | ppc64_elf_size_stubs. Align stub sections according to plt_stub_align. | |
421 | * ld.texinfo: Document new command line options, and an old | |
422 | undocumented option. | |
423 | ||
52546677 RM |
424 | 2012-01-09 Roland McGrath <[email protected]> |
425 | ||
426 | * configure.in: Use AM_ZLIB. | |
427 | * configure: Regenerated. | |
c0a512e2 | 428 | |
23e1d329 | 429 | For older changes see ChangeLog-2011 |
252b5132 RH |
430 | \f |
431 | Local Variables: | |
432 | mode: change-log | |
433 | left-margin: 8 | |
434 | fill-column: 74 | |
435 | version-control: never | |
436 | End: |