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