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