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