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