Commit | Line | Data |
---|---|---|
4194268f AM |
1 | 2012-12-17 Alan Modra <amodra@gmail.com> |
2 | ||
3 | PR ld/14962 | |
4 | * ldexp.h (struct ldexp_control): Add "assign_name". | |
5 | * ldexp.c (fold_name <NAME>): Compare and clear assign_name on match. | |
6 | (exp_fold_tree_1): Remove existing code testing for self assignment. | |
7 | Instead set and test expld.assign_name. | |
8 | * ldlang.c (scan_for_self_assignment): Delete. | |
9 | (print_assignment): Instead set and test expld.assign_name. | |
10 | ||
8634c1b4 RM |
11 | 2012-12-11 Roland McGrath <mcgrathr@google.com> |
12 | ||
13 | * emulparams/elf_nacl.sh (nacl_rodata_addr): New shell function. | |
14 | (RODATA_ADDR, SHLIB_RODATA_ADDR): Use it to base the calculation | |
15 | on SEGMENT_START("text-segment", ...) rather than ... alone. | |
16 | * Makefile.am (earmelf_nacl.c, earmelfb_nacl.c): Add missing | |
17 | dependency on $(srcdir)/emulparams/elf_nacl.sh. | |
18 | * Makefile.in: Regenerate. | |
19 | ||
8fbb09e8 L |
20 | 2012-12-05 H.J. Lu <hongjiu.lu@intel.com> |
21 | ||
22 | PR ld/14915 | |
23 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Also | |
24 | check DT_NEEDED entries when creating shared object with | |
25 | --copy-dt-needed-entries. | |
26 | ||
79056107 AM |
27 | 2012-12-05 Leif Ekblad <leif@rdos.net> |
28 | ||
29 | * configure.tgt: Add x86_64-*-rdos. | |
30 | ||
d82184d7 L |
31 | 2012-12-03 H.J. Lu <hongjiu.lu@intel.com> |
32 | ||
33 | PR ld/14904 | |
34 | * ldmain.c (main): Don't check plugin_load_plugins return. | |
35 | ||
36 | * lexsup.c (parse_args): Don't check plugin_opt_plugin return. | |
37 | ||
38 | * plugin.c (dlerror): New. Defined if HAVE_DLFCN_H isn't | |
39 | defined. | |
40 | (plugin_opt_plugin): Change return type to void. Stop on | |
41 | dlopen error and report error with dlerror (). | |
42 | (plugin_load_plugins): Change return type to void. Stop on | |
43 | dlsym error and report error with dlerror (). Don't use | |
44 | set_plugin_error. | |
45 | (plugin_call_cleanup): Issue an error for each plugin. | |
46 | ||
47 | * plugin.h (plugin_opt_plugin): Change return type to void. | |
48 | (plugin_load_plugins): Likewise. | |
49 | ||
f204ddb8 JR |
50 | 2012-11-30 Joern Rennecke <joern.rennecke@embecosm.com> |
51 | ||
52 | * scripttempl/epiphany_4x4.sc, emulparams/elf32epiphany_4x4.sh: Add. | |
53 | * emultempl/epiphanyelf_4x4.em: Likewise. | |
54 | * configure.tgt: Add elf32epiphany_4x4 support. | |
55 | * Makefile.am: Likewise. | |
56 | * Makefile.in: Regenerate. | |
57 | ||
e63962bc MR |
58 | 2012-11-29 Maciej W. Rozycki <macro@codesourcery.com> |
59 | ||
60 | * Makefile.in: Regenerate. | |
61 | ||
11e7fd74 NC |
62 | 2012-11-27 Nick Clifton <nickc@redhat.com> |
63 | ||
64 | PR ld/14776 | |
65 | * ld.texinfo: Fix spelling mistakes. | |
66 | ||
e2caaa1f RM |
67 | 2012-11-26 Roland McGrath <mcgrathr@google.com> |
68 | ||
69 | * emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse): | |
70 | Copy last elf32.em here too. | |
71 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Likewise. | |
72 | * emultempl/mmixelf.em (gld${EMULATION_NAME}_before_parse): Likewise. | |
73 | * emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse): Likewise. | |
74 | ||
4724d37e RM |
75 | 2012-11-21 Roland McGrath <mcgrathr@google.com> |
76 | ||
77 | * ld.h (ld_config_type): New flag member separate_code. | |
78 | * emultempl/elf32.em | |
79 | (gld${EMULATION_NAME}_before_parse): Set it based on $SEPARATE_CODE. | |
80 | * ldlang.c (ldlang_override_segment_assignment): If it's set, then | |
81 | always return TRUE when SEC_CODE differs between the sections. | |
82 | ||
b039ef04 L |
83 | 2012-11-20 H.J. Lu <hongjiu.lu@intel.com> |
84 | ||
85 | * ld.texinfo: Document "-z global". | |
86 | ||
87 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Support | |
88 | "-z global". | |
89 | (gld${EMULATION_NAME}_list_options): Likewise. | |
90 | ||
507dcd87 MK |
91 | 2012-11-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
92 | ||
3d316356 | 93 | Port lib32 arrangement from Debian. |
507dcd87 MK |
94 | * emulparams/elf_i386.sh: Include lib32 directories in library search |
95 | path. | |
96 | ||
24a09713 SB |
97 | 2012-11-15 Simon Baldwin <simonb@google.com> |
98 | ||
99 | * ldmain.c (main): Add start_sbrk set to sbrk(0) on entry. | |
100 | On exit, compute data size as the delta between current | |
101 | sbrk(0) and start_sbrk. | |
102 | ||
708e2187 NC |
103 | 2012-11-09 Nick Clifton <nickc@redhat.com> |
104 | ||
105 | * emultempl/rxelf.em (no_flag_mismatch_warnings): Initialise to | |
106 | true. | |
107 | (PARSE_AND_LIST_LONGOPTS): Add flag-mismatch-warnings. | |
108 | (PARSE_AND_LIST_ARG_CASES): Add support for | |
109 | --flag-mismatch-warnings. | |
110 | ||
de863c74 NC |
111 | * Makefile.am: (ALL_EMULATION_SOURCES): Add ev850_rh850.c. |
112 | * Makefile.in: Regenerate. | |
113 | * configure.tgt (v850*-*-*): Make v850_rh850 the default | |
114 | emulation. Add vanilla v850 as an extra emulation. | |
115 | * emulparams/v850_rh850.sh: New file. | |
116 | * scripttempl/v850_rh850.sc: New file. | |
117 | ||
f23200ad ME |
118 | 2012-11-09 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
119 | ||
120 | * Makefile.am: Add eelf32microblazeel.c and eelf32mbel_linux.c. | |
121 | * Makefile.in: Regenerated. | |
122 | * configure.tgt: Add microblazeel and set endian per target. | |
123 | * emulparams/elf32mb_linux.sh: Add OUTPUT_FORMAT. | |
124 | * emulparams/elf32microblaze.sh: Likewise. | |
125 | * emulparams/elf32mbel_linux.sh: New file. | |
126 | * emulparams/elf32microblazeel.sh: Likewise. | |
127 | ||
5bb3703f L |
128 | 2012-11-09 H.J. Lu <hongjiu.lu@intel.com> |
129 | ||
130 | * testplug.c (record_add_file): Remove trailing redundant `;'. | |
131 | ||
d17dce55 AM |
132 | 2012-11-05 Alan Modra <amodra@gmail.com> |
133 | ||
134 | * configure.in: Apply 2012-09-10 change to config.in here. | |
135 | ||
07e15f87 NS |
136 | 2012-11-01 Nathan Sidwell <nathan@codesourcery.com> |
137 | ||
138 | * emultempl/elf32.em: Print stacksize help. | |
139 | ||
aa4c3319 AM |
140 | 2012-11-01 Alan Modra <amodra@gmail.com> |
141 | ||
142 | * ldlang.c (insert_pad): Correct output section size calculation. | |
143 | (lang_size_sections_1): Likewise for lang_data_statement and | |
144 | lang_reloc_statement. | |
145 | ||
ce23608f AM |
146 | 2012-10-29 Alan Modra <amodra@gmail.com> |
147 | ||
148 | * configure.tgt (powerpcle-pe,winnt,cygwin): Add deffilep.o | |
149 | and pe-dll.o. | |
150 | ||
4f9d22a0 L |
151 | 2012-10-24 H.J. Lu <hongjiu.lu@intel.com> |
152 | ||
153 | * ld.h (command_line): Remove | |
154 | disable_target_specific_optimizations. | |
155 | (RELAXATION_DISABLED_BY_DEFAULT): Removed. | |
156 | (RELAXATION_DISABLED_BY_USER): Likewise. | |
157 | (RELAXATION_ENABLED): Likewise. | |
158 | (DISABLE_RELAXATION): Likewise. | |
159 | (ENABLE_RELAXATION): Likewise. | |
160 | ||
161 | * ldmain.c (main): Updated. | |
162 | ||
163 | * ldmain.h (RELAXATION_DISABLED_BY_DEFAULT): New macro. | |
164 | (RELAXATION_DISABLED_BY_USER): Likewise. | |
165 | (RELAXATION_ENABLED): Likewise. | |
166 | (DISABLE_RELAXATION): Likewise. | |
167 | (ENABLE_RELAXATION): Likewise. | |
168 | ||
04c3a755 NS |
169 | 2012-10-23 Nathan Sidwell <nathan@codesourcery.com> |
170 | ||
171 | * ld.texinfo (stack-size): New option. | |
172 | * emultempl/elf32.em: Add stack-size option. | |
173 | ||
0e86e20e AM |
174 | 2012-10-22 Jan Beich <jbeich@tormail.org> |
175 | Alan Modra <amodra@gmail.com> | |
176 | ||
177 | PR ld/14426 | |
178 | * ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL. | |
179 | * lexsup.c (parse_args): Likewise. | |
180 | (ld_options): Describe --ignore-unresolved-symbol. | |
181 | * ldmain.h (add_ignoresym): Declare. | |
182 | * ldmain.c (add_ignoresym): New function, extracted from.. | |
183 | (undefined_symbol): ..here. Return if the symbol is in ignore_hash. | |
184 | (constructor_callback): Don't use global link_info here. | |
185 | (reloc_overflow): Likewise. | |
186 | ||
a8f9d13e AM |
187 | 2012-10-22 Alan Modra <amodra@gmail.com> |
188 | ||
189 | * plugin.c (plugin_load_plugins): Warning fix. | |
190 | ||
a29a8af8 KT |
191 | 2012-10-18 Kai Tietz <ktietz@redhat.com> |
192 | ||
193 | PR binutils/14067 | |
194 | * NEWS: Menition new feature. | |
195 | * scripttempl/pep.sc: Add zdebug sections. | |
196 | * scripttempl/pe.sc: L | |
197 | ||
c76b75fd SE |
198 | 2012-09-19 Steve Ellcey <sellcey@mips.com> |
199 | ||
200 | * configure.tgt: Add mips*-mti-elf* target. | |
201 | ||
c05f749e AM |
202 | 2012-09-17 Alan Modra <amodra@gmail.com> |
203 | ||
204 | * ld.texinfo (Expression Section): Correct description of | |
205 | conversions for a binary operation involving an absolute symbol | |
206 | and a number. | |
207 | ||
52204357 DE |
208 | 2012-09-14 David Edelsohn <dje.gcc@gmail.com> |
209 | ||
210 | * configure: Regenerate. | |
211 | ||
e202fa84 AG |
212 | 2012-09-13 Anthony Green <green@moxielogic.com> |
213 | ||
214 | * emulparams/elf32moxie.sh (BIG_OUTPUT_FORMAT, | |
215 | LITTLE_OUTPUT_FORMAT): Define. | |
216 | (OUTPUT_FORMAT): Change to elf32-bigmoxie. | |
217 | (EMBEDDED): Define. | |
218 | ||
7c0e90d2 DD |
219 | 2012-09-12 DJ Delorie <dj@redhat.com> |
220 | ||
221 | * emulparams/elf32rx.sh (OTHER_READONLY_SECTIONS): Add W_* sections. | |
222 | ||
00716ab1 AM |
223 | 2012-09-10 Matthias Klose <doko@ubuntu.com> |
224 | ||
225 | * config.in: Disable sanity check for kfreebsd. | |
226 | ||
6d2920c8 L |
227 | 2012-09-10 H.J. Lu <hongjiu.lu@intel.com> |
228 | ||
229 | * configure: Regenerated. | |
230 | ||
ffda88b4 AM |
231 | 2012-09-10 Iain Sandoe <iain@codesourcery.com> |
232 | Alan Modra <amodra@gmail.com> | |
233 | ||
234 | * configure.tgt (powerpc-*-elf, et al): Define targ_extra_libpath. | |
235 | Correct whitespace. | |
236 | (powerpcle-*-elf, et al): Likewise. Correct targ_extra_emuls. | |
237 | ||
c008817b IS |
238 | 2012-09-10 Iain Sandoe <iain@codesourcery.com> |
239 | ||
240 | * configure.tgt (powerpc-*-elf, et al): Define targ64_extra_emuls | |
241 | and targ64_extra_libpath. | |
242 | (powerpcle-*-elf, et al): Likewise. | |
243 | ||
a9ae0bda HPN |
244 | 2012-09-09 Hans-Peter Nilsson <hp@bitrange.com> |
245 | ||
246 | * emultempl/mmo.em (mmo_place_orphan): Rewrite to also attach | |
247 | orphan sections to .data and .bss output sections, not just .text. | |
248 | When giving up on finding a suitable output section, attach to any | |
249 | output section other than .MMIX.reg_contents, if it exists. | |
250 | * scripttempl/mmo.sc: Move output debug sections to just before | |
251 | .MMIX.reg_contents. Add .gnu.attributes. Add new . = . NOP | |
252 | assignments and move end-of-section provide-symbols after them | |
253 | to force the end-of-section symbols to the address after orphan | |
254 | placement. Add SORT_NONE to .init and .fini sections. | |
255 | ||
11cba4ac L |
256 | 2012-08-30 H.J. Lu <hongjiu.lu@intel.com> |
257 | ||
258 | PR ld/14525 | |
259 | * scripttempl/elf.sc: Also provide __executable_start for PIE. | |
260 | ||
ee8206a9 KT |
261 | 2012-08-17 Kai Tietz <ktietz@redhat.com> |
262 | ||
263 | PR ld/14326 | |
264 | * scripttempl/pe.sc: Add _etext symbol. | |
265 | ||
63a79b61 NC |
266 | 2012-08-14 Nick Clifton <nickc@redhat.com> |
267 | ||
268 | * configure.in (ALL_LINGUGAS): Add uk. | |
269 | * configure: Regenerate. | |
270 | * po/uk.po: New Ukranian translation. | |
271 | ||
a06ea964 | 272 | 2012-08-13 Ian Bolton <ian.bolton@arm.com> |
11cba4ac L |
273 | Laurent Desnogues <laurent.desnogues@arm.com> |
274 | Jim MacArthur <jim.macarthur@arm.com> | |
275 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
276 | Nigel Stephens <nigel.stephens@arm.com> | |
277 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
278 | Richard Earnshaw <rearnsha@arm.com> | |
279 | Sofiane Naci <sofiane.naci@arm.com> | |
280 | Tejas Belagod <tejas.belagod@arm.com> | |
281 | Yufeng Zhang <yufeng.zhang@arm.com> | |
a06ea964 NC |
282 | |
283 | * Makefile.am: Add AArch64. | |
284 | * Makefile.in: Regenerate. | |
285 | * configure.tgt: Add AArch64. | |
286 | * emulparams/aarch64elf.sh: New file. | |
287 | * emulparams/aarch64elfb.sh: New file. | |
288 | * emulparams/aarch64linux.sh: New file. | |
289 | * emulparams/aarch64linuxb.sh: New file. | |
290 | * emultempl/aarch64elf.em: New file. | |
291 | * NEWS: Mention the new feature. | |
292 | ||
3c892704 NC |
293 | 2012-08-09 Nick Clifton <nickc@redhat.com> |
294 | ||
295 | * po/vi.po: Updated Vietnamese translation. | |
296 | ||
a988325c NC |
297 | 2012-08-07 Daniel Green <venix1@gmail.com> |
298 | ||
299 | * scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ. | |
300 | * scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ. | |
301 | ||
5125d2b0 NC |
302 | 2012-08-07 Nick Clifton <nickc@redhat.com> |
303 | ||
304 | * po/ja.po: Updated Japanese translation. | |
305 | ||
9e808284 MR |
306 | 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> |
307 | ||
308 | * emulparams/elf32bmip.sh: Make _gp hidden. | |
309 | * emulparams/elf32bmipn32-defs.sh: Likewise. | |
310 | * emulparams/elf32mipswindiss.sh: Likewise. | |
311 | * scripttempl/mips.sc: Likewise. | |
312 | ||
eb8476a6 MR |
313 | 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> |
314 | ||
315 | * ldexp.h (etree_union): Add defsym member to the assign member | |
316 | structure. | |
317 | (exp_assign): Add hidden argument to prototype. | |
318 | * ldexp.c (exp_fold_tree_1): Use the defsym member to handle | |
319 | --defsym symbols. | |
320 | (exp_assop): Add defsym argument, initialize the defsym member | |
321 | of the assign structure. | |
322 | (exp_assign): Handle hidden symbols. | |
323 | (exp_defsym): Update to use the defsym argument to exp_assop. | |
324 | (exp_provide): Update to handle the defsym argument to exp_assop. | |
325 | * ldlex.l (HIDDEN): New token. | |
326 | * ldgram.y (HIDDEN): Likewise. | |
327 | (assignment, section): Update calls to exp_assign. | |
328 | * ldctor.c (ldctor_build_sets): Likewise. | |
329 | * mri.c (mri_format): Likewise. | |
330 | * ldlang.c (lang_insert_orphan, lang_leave_overlay): Likewise. | |
331 | (open_input_bfds): Remove --defsym symbols special case. | |
332 | * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Update | |
333 | call to exp_assign. | |
334 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
335 | * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
336 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
337 | * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): | |
338 | Likewise. | |
339 | * ld.texinfo (Assigning Values to Symbols): Add HIDDEN. | |
340 | (HIDDEN): New subsection. | |
341 | ||
b2e4da5a L |
342 | 2012-07-31 H.J. Lu <hongjiu.lu@intel.com> |
343 | ||
344 | PR ld/14156 | |
c2821c3e | 345 | * ldlang.c (wild_sort): Properly handle by_none. |
b2e4da5a L |
346 | |
347 | * scripttempl/elf.sc: Add SORT_NONE to .init and .fini sections. | |
348 | * scripttempl/elf32msp430.sc: Likewise. | |
5125d2b0 | 349 | * scripttempl/elf32msp430_3.sc: Likewise. |
b2e4da5a L |
350 | * scripttempl/elfd10v.sc: Likewise. |
351 | * scripttempl/elfd30v.sc: Likewise. | |
352 | * scripttempl/elfxtensa.sc: Likewise. | |
353 | ||
a6dc81d2 NC |
354 | 2012-07-30 Nick Clifton <nickc@redhat.com> |
355 | ||
356 | * po/ld.pot: Updated template. | |
357 | * po/bg.po: Updated Bulgarian translation. | |
358 | * po/es.po: Updated Spanish translation. | |
359 | * po/fi.po: Updated Finnish translation. | |
360 | ||
c4dd807e MF |
361 | 2012-07-27 Mike Frysinger <vapier@gentoo.org> |
362 | ||
363 | * configure.in (BFD_VERSION): Run bfd/configure --version and | |
364 | parse the output of that. | |
365 | * configure: Regenerate. | |
366 | ||
af18cb59 TG |
367 | 2012-07-27 Tristan Gingold <gingold@adacore.com> |
368 | ||
369 | * NEWS: Add marker for 2.23. | |
370 | ||
43315eb7 EW |
371 | 2012-07-24 Jan Waclawek <konfera@efton.sk> |
372 | ||
373 | PR ld/14058 | |
374 | * emultempl/avrelf.em (avr_elf_after_allocation): Call | |
375 | elf32_avr_size_stubs with is_prealloc_run as TRUE. | |
376 | ||
470b557a AK |
377 | 2012-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
378 | ||
379 | * emulparams/elf_s390.sh (IREL_IN_PLT): Define. | |
380 | * emulparams/elf64_s390.sh (IREL_IN_PLT): Define. | |
381 | ||
cd6f1cf3 NC |
382 | 2012-07-13 Nick Clifton <nickc@redhat.com> |
383 | ||
384 | PR ld/14357 | |
385 | * ldmain.c (trace_file_tries): Rename to 'verbose'. | |
386 | * ldfile.c: Likewise. | |
387 | * ldlang.c: Likewise. | |
388 | * ldmain.h: Likewise. | |
389 | * lexsup.c: Likewise. | |
390 | * emultempl/elf32.em: Likewise. | |
391 | * emultemp/spuelf.em: Likewise. | |
392 | * pe-dll.c (pe_dll_generate_implib): Only print creation message | |
393 | in verbose mode. | |
394 | ||
eda680f8 L |
395 | 2012-07-10 H.J. Lu <hongjiu.lu@intel.com> |
396 | ||
397 | PR ld/14156 | |
398 | * NEWS: Mention SORT_NONE. | |
399 | ||
400 | * ld.h (sort_type): Add by_none. | |
401 | ||
402 | * ld.texinfo: Document SORT_NONE. | |
403 | ||
404 | * ldgram.y: Handle SORT_NONE. | |
405 | ||
406 | * ldlang.c (update_wild_statements): Handle by_none. Don't | |
407 | sort .init/.fini sections. | |
408 | ||
409 | * ldlex.l: Add SORT_NONE. | |
410 | ||
9aec8434 L |
411 | 2012-07-02 H.J. Lu <hongjiu.lu@intel.com> |
412 | ||
413 | * ld.texinfo: Replace __end_SECNAME with __stop_SECNAME. | |
414 | ||
2a995fc1 NC |
415 | 2012-06-29 Nick Clifton <nickc@redhat.com> |
416 | ||
417 | * scripttempl/alphavms.sc: Add .debug_macro section. | |
418 | * scripttempl/elf.sc: Likewise. | |
419 | * scripttempl/elf64hppa.sc: Likewise. | |
420 | * scripttempl/elf_chaos.sc: Likewise. | |
421 | * scripttempl/elfxtensa.sc: Likewise. | |
422 | * scripttempl/ia64vms.sc: Likewise. | |
423 | ||
424 | * scripttempl/armbpabi.sc: Add .debug_pubtypes, .debug_ranges and | |
425 | .debug_macro sections. | |
426 | * scripttempl/avr.sc: Likewise. | |
427 | * scripttempl/elf32cr16.sc: Likewise. | |
428 | * scripttempl/elf32crx.sc: Likewise. | |
429 | * scripttempl/elf32msp430.sc: Likewise. | |
430 | * scripttempl/elf32msp430_3.sc: Likewise. | |
431 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
432 | * scripttempl/elfd30v.sc: Likewise. | |
433 | * scripttempl/elfi370.sc: Likewise. | |
434 | * scripttempl/elfm68hc11.sc: Likewise. | |
435 | * scripttempl/elfm68hc12.sc: Likewise. | |
436 | * scripttempl/elfxgate.sc: Likewise. | |
437 | * scripttempl/i386beos.sc: Likewise. | |
438 | * scripttempl/i386go32.sc: Likewise. | |
439 | * scripttempl/ip2k.sc: Likewise. | |
440 | * scripttempl/iq2000.sc: Likewise. | |
441 | * scripttempl/mep.sc: Likewise. | |
442 | * scripttempl/mmo.sc: Likewise. | |
443 | * scripttempl/v850.sc: Likewise. | |
444 | * scripttempl/xstormy16.sc: Likewise. | |
445 | ||
a61fdf08 L |
446 | 2012-06-28 H.J. Lu <hongjiu.lu@intel.com> |
447 | ||
448 | * ldlang.c (update_wild_statements): Remove redundant statement. | |
449 | ||
47e2e729 AM |
450 | 2012-06-25 Alan Modra <amodra@gmail.com> |
451 | ||
452 | * ldlang.c (load_symbols): Close file and set flags.loaded | |
453 | after parsing script file. | |
454 | (open_input_bfds): Don't segv on closed script. | |
455 | ||
0c77920e L |
456 | 2012-06-24 H.J. Lu <hongjiu.lu@intel.com> |
457 | ||
458 | * configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32. | |
459 | Remove x32 in tdir_i386linux and tdir_elf_i386. | |
460 | ||
62655c7b RM |
461 | 2012-06-22 Roland McGrath <mcgrathr@google.com> |
462 | ||
463 | * NEWS: Mention __ehdr_start. | |
464 | ||
d9476c5a AM |
465 | 2012-06-21 Alan Modra <amodra@gmail.com> |
466 | ||
467 | * ldlang.c (lang_insert_orphan): Don't make __start_<sec> symbol | |
468 | absolute, and remove unnecessary alignment. | |
469 | ||
d2667025 AM |
470 | 2012-06-16 Alan Modra <amodra@gmail.com> |
471 | ||
472 | * ldlang.h (lang_output_section_statement_type): Add after_end field. | |
473 | (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. | |
474 | (section_for_dot): Declare. | |
475 | * ldlang.c (lang_size_sections_1): Correct comment. | |
476 | (current_section): Move earlier. | |
477 | (current_assign, prefer_next_section): New static vars. | |
478 | (lang_do_assignments_1): Add found_end param. Detect _end | |
479 | assignment to set found_end. Set os->after_end. Set above statics. | |
480 | (lang_do_assignments): Adjust lang_do_assignments_1 call. Init | |
481 | vars. | |
482 | (section_for_dot): New function. | |
483 | (lang_set_startof): Don't make an absolute symbol. | |
484 | (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. | |
485 | * ldexp.c (new_rel_from_abs): Use section_for_dot. | |
486 | * emultempl/lnk960.em (symbol_at_beginning_of): New function. | |
487 | (symbol_at_end_of): Likewise. | |
488 | (lnk960_after_allocation): Use them. | |
489 | * scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and | |
490 | likewise before __bss_start. | |
491 | ||
6611f2e1 L |
492 | 2012-06-14 H.J. Lu <hongjiu.lu@intel.com> |
493 | ||
494 | * plugin.c (set_tv_header): Handle link_info.pie. | |
495 | ||
17d6eea5 L |
496 | 2012-06-11 Alan Modra <amodra@gmail.com> |
497 | ||
498 | PR ld/14215 | |
499 | * ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section | |
500 | references. | |
501 | * emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of | |
502 | .got.plt. | |
503 | * emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise. | |
504 | * emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise. | |
505 | * emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise. | |
506 | * emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise. | |
507 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise. | |
508 | * emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise. | |
509 | * emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise. | |
510 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise. | |
511 | ||
fef632e1 NC |
512 | 2012-06-07 Georg-Johann Lay <avr@gjlay.de> |
513 | ||
514 | PR 13697 | |
515 | * scripttempl/avr.sc (.data): Keep it. | |
516 | ||
959a202e AS |
517 | 2012-06-02 Andreas Schwab <schwab@linux-m68k.org> |
518 | ||
519 | * Makefile.am (TEXINFO_TEX): Remove $(top_srcdir) prefix. | |
520 | * Makefile.in: Regenerate. | |
521 | ||
6d8bf25d AM |
522 | 2012-05-30 Alan Modra <amodra@gmail.com> |
523 | ||
524 | * ldlang.h (lang_output_section_statement_type): Rename | |
525 | "section_relative_symbol" field to "update_dot". | |
526 | * ldlang.c: Update all uses. | |
527 | (strip_excluded_output_sections): Don't test update_dot_tree here.. | |
528 | (lang_leave_overlay): ..set update_dot here. | |
529 | ||
f05eb3b7 AM |
530 | 2012-05-26 Alan Modra <amodra@gmail.com> |
531 | ||
145fa769 L |
532 | * ldlex.h (enum option_values): Move from.. |
533 | * lexsup.c: ..here. | |
f05eb3b7 AM |
534 | * emultempl/ppc32elf.em: Include ldlex.h. |
535 | (PARSE_AND_LIST_ARGS_CASES): Disable optimisations when | |
536 | --traditional-format. | |
537 | * emultempl/ppc64elf.em: Likewise. | |
538 | ||
9cf8b46e AM |
539 | 2012-05-25 Alan Modra <amodra@gmail.com> |
540 | ||
541 | PR ld/13909 | |
542 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Handle | |
543 | multiple .eh_frame sections attached to bfd. | |
544 | ||
18bbc1c5 CC |
545 | 2012-05-23 Cary Coutant <ccoutant@google.com> |
546 | ||
547 | * scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more | |
548 | carefully. Fix typo where .rela.data.rel.ro matches | |
549 | .rel.data.rel.ro. | |
550 | * scripttempl/mep.sc: Likewise. | |
551 | * scripttempl/elf.sc: Match .data.rel.ro.* sections more carefully. | |
552 | * scripttempl/elf64hppa.sc: Likewise. | |
553 | * scripttempl/elfxtensa.sc: Likewise. | |
554 | ||
df7b86aa NC |
555 | 2012-05-17 Daniel Richard G. <skunk@iskunk.org> |
556 | Nick Clifton <nickc@redhat.com> | |
557 | ||
558 | PR 14072 | |
559 | * configure.in: Add check that sysdep.h has been included before | |
560 | any system header files. | |
561 | * configure: Regenerate. | |
562 | * config.in: Regenerate. | |
563 | * sysdep.h: Generate an error if included before config.h. | |
564 | ||
a0f49396 NC |
565 | 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com> |
566 | ||
567 | * emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd' | |
568 | as the first argument for `bfd_get_section_name'. | |
569 | ||
a5244b7e NC |
570 | 2012-05-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
571 | ||
572 | PR ld/14069 | |
573 | * emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf | |
574 | support. | |
575 | ||
6927f982 NC |
576 | 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> |
577 | ||
578 | * NEWS: Mention the support for S12X processors. | |
579 | ||
b9c361e0 JL |
580 | 2012-05-14 James Lemke <jwlemke@codesourcery.com> |
581 | ||
582 | * ldlang.c (walk_wild_consider_section): Don't copy section_flag_list. | |
583 | Pass it to callback. | |
584 | (walk_wild_section_general): Pass section_flag_list to callback. | |
585 | (lang_add_section): Add sflag_list parm. | |
586 | Move out logic to keep / omit a section & call bfd_lookup_section_flags. | |
587 | (output_section_callback_fast): Add sflag_list parm. | |
588 | Add new parm to lang_add_section calls. | |
589 | (output_section_callback): Likewise. | |
590 | (check_section_callback): Add sflag_list parm. | |
591 | (lang_place_orphans): Add new parm to lang_add_section calls. | |
592 | (gc_section_callback): Add sflag_list parm. | |
593 | (find_relro_section_callback): Likewise. | |
594 | * ldlang.h (callback_t): Add flag_info parm. | |
595 | (lang_add_section): Add sflag_list parm. | |
596 | * emultempl/armelf.em (elf32_arm_add_stub_section): | |
597 | Add lang_add_section parm. | |
598 | * emultempl/beos.em (gld*_place_orphan): Likewise. | |
599 | * emultempl/elf32.em (gld*_place_orphan): Likewise. | |
600 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise. | |
601 | * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise. | |
602 | * emultempl/mipself.em (mips_add_stub_section): Likewise. | |
603 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
604 | * emultempl/pe.em (gld_*_place_orphan): Likewise. | |
605 | * emultempl/pep.em (gld_*_place_orphan): Likewise. | |
606 | * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise. | |
607 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
608 | * emultempl/vms.em (vms_place_orphan): Likewise. | |
609 | ||
610 | 2012-05-14 Catherine Moore <clm@codesourcery.com> | |
611 | ||
612 | * NEWS: Mention PowerPC VLE port. | |
613 | ||
208a4923 NC |
614 | 2012-05-11 Daniel Richard G. <skunk@iskunk.org> |
615 | ||
616 | PR binutils/14028 | |
617 | * configure.in: Invoke ACX_HEADER_STRING. | |
618 | * configure: Regenerate. | |
619 | * config.in: Regenerate. | |
620 | * sysdep.h: If STRINGS_WITH_STRING is defined then include both | |
621 | string.h and strings.h. | |
622 | ||
e5b62927 AM |
623 | 2012-05-08 Alan Modra <amodra@gmail.com> |
624 | ||
625 | * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other | |
626 | LC and LANG environment vars. | |
627 | * Makefile.in: Regenerate. | |
628 | ||
d66ac08f TG |
629 | 2012-05-07 Tristan Gingold <gingold@adacore.com> |
630 | ||
631 | * pe-dll.c (udef_table): Make it static. | |
632 | ||
45dfa85a AM |
633 | 2012-05-05 Alan Modra <amodra@gmail.com> |
634 | ||
635 | * pe-dll.c (process_def_file_and_drectve): Use bfd_und_section_ptr. | |
636 | (generate_reloc): Use bfd_abs_section_ptr. | |
637 | ||
3c995545 L |
638 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
639 | ||
640 | * configure.tgt: Support x86_64-*-linux-gnux32. | |
641 | ||
f6c1a2d5 NC |
642 | 2012-05-03 Sean Keys <skeys@ipdatasys.com> |
643 | ||
644 | * Makefile.am (ALL_EMULATIONS): Added new emulation for XGATE | |
645 | and XGATE (elf). | |
646 | * Makefile.in: Rebuild. | |
647 | * configure.tgt: Recognize XGATE. | |
648 | * scripttempl/elfxgate.sc: New file, mostly cloned from m68hc12. | |
649 | * emulparams/xgateelf: New emulation, mostly cloned from m68hc12. | |
650 | * NEWS: Mention new support. | |
651 | ||
3b66a141 HPN |
652 | 2012-04-26 Hans-Peter Nilsson <hp@axis.com> |
653 | ||
654 | Make bfd asserts cause linker errors. | |
655 | * ldmain.c (default_bfd_assert_handler): New variable. | |
656 | (ld_bfd_assert_handler): New function. | |
657 | (main): Call bfd_set_assert_handler. | |
658 | ||
dbaa2011 AM |
659 | 2012-04-24 Alan Modra <amodra@gmail.com> |
660 | ||
3daa201b | 661 | * ldlang.c (size_input_section): Use sec_info_type rather than |
dbaa2011 | 662 | usrdata->flags.just_syms. |
3daa201b AM |
663 | * ldwrite.c (build_link_order): Likewise. |
664 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
665 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
666 | * emultempl/armelf.em (build_section_lists): Likewise. | |
dbaa2011 | 667 | (after_allocation): Update for renamed sec_info_type value. |
3daa201b | 668 | * emultempl/tic6xdsbt.em: Likewise. |
dbaa2011 | 669 | |
b38cadfb NC |
670 | 2012-04-12 Roland McGrath <mcgrathr@google.com> |
671 | ||
672 | * configure.tgt (arm*-*-nacl*, arm*b-*-nacl*): Handle them. | |
673 | * emulparams/armelf_nacl.sh: New file. | |
674 | * emulparams/armelfb_nacl.sh: New file. | |
675 | * Makefile.am (ALL_EMULATION_SOURCES): Add earmelf_nacl.c | |
676 | and earmelfb_nacl.c here. | |
677 | (earmelf_nacl.c, earmelfb_nacl.c): New targets. | |
678 | * Makefile.in: Regenerated. | |
679 | ||
202e2356 NC |
680 | 2012-04-11 Tristan Gingold <gingold@adacore.com> |
681 | ||
682 | * scripttempl/ia64vms.sc: New file. | |
683 | * emultempl/vms.em (_before_parse): Support for ia64. | |
684 | (elf64-ia64-vms): New fragment for ia64. | |
685 | * emulparams/elf64_ia64_vms.sh: New file. | |
686 | * configure.tgt (ia64-*-*vms*): Add. | |
687 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c | |
688 | (eelf64_ia64_vms.c): New rule. | |
689 | * Makefile.in: Regenerate. | |
690 | ||
58797674 RM |
691 | 2012-04-06 Roland McGrath <mcgrathr@google.com> |
692 | ||
693 | * configure.in (AC_CHECK_HEADERS): Add locale.h. | |
694 | * config.in: Regenerate. | |
695 | * configure: Regenerate. | |
696 | ||
44350750 NC |
697 | 2012-04-05 Nick Clifton <nickc@redhat.com> |
698 | ||
699 | * configure.in (AC_CHECK_FUNCS): Add setlocale. | |
700 | (AM_LC_MESSAGES): Add. | |
701 | * aclocal.m4: Regenerate. | |
702 | * config.in: Regenerate. | |
703 | * configure: Regenerate. | |
704 | ||
5a68afcf RM |
705 | 2012-04-03 Roland McGrath <mcgrathr@google.com> |
706 | ||
707 | * configure.tgt (i[3-7]86-*-nacl*, x86_64-*-nacl*): Handle them. | |
708 | * emulparams/elf_nacl.sh: New file. | |
709 | * emulparams/elf_i386_nacl.sh: New file. | |
710 | * emulparams/elf32_x86_64_nacl.sh: New file. | |
711 | * emulparams/elf_x86_64_nacl.sh: New file. | |
712 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_i386_nacl.c here. | |
713 | (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64_nacl.c and | |
714 | eelf_x86_64_nacl.c here. | |
715 | (eelf_i386_nacl.c, eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c): | |
716 | New targets. | |
717 | * Makefile.in: Regenerated. | |
718 | ||
719 | * scripttempl/elf.sc: Handle SEPARATE_CODE cases. | |
720 | ||
23916fff MF |
721 | 2012-04-02 Mike Frysinger <vapier@gentoo.org> |
722 | ||
723 | * ldmisc.c (vfinfo): Assign new local str to fmt. Delete | |
724 | putc call. If str and fmt are different, call fwrite on | |
725 | the difference. | |
726 | ||
26a3ed35 NC |
727 | 2012-03-30 Nick Clifton <nickc@redhat.com> |
728 | ||
729 | * po/vi.po: Updated Vietnamese translation. | |
730 | ||
bf9ef603 RM |
731 | 2012-03-27 Roland McGrath <mcgrathr@google.com> |
732 | ||
733 | * configure.in: Set want64 on a 64-bit host regardless of | |
734 | --enable-targets=all. | |
735 | * configure: Regenerated. | |
736 | ||
1d6d1a2c TG |
737 | 2012-03-26 Tristan Gingold <gingold@adacore.com> |
738 | ||
739 | * lexsup.c (parse_args): Add a missing '\n'. | |
740 | ||
b514e6a5 AM |
741 | 2012-03-25 Alan Modra <amodra@gmail.com> |
742 | ||
743 | * ldemul.c (before_allocation_default): Revert last change. | |
3daa201b | 744 | * ldlang.c (lang_add_section): Likewise. |
b514e6a5 AM |
745 | (strip_excluded_output_sections): Don't strip output sections with |
746 | user input sections when emitrelocations, unless all are SEC_EXCLUDE. | |
747 | ||
f24fcb9d AM |
748 | 2012-03-23 Alan Modra <amodra@gmail.com> |
749 | ||
750 | * ldemul.c (before_allocation_default): When emitrelocations, | |
751 | don't strip sections.. | |
752 | * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail. | |
753 | ||
aeb1f0e8 KT |
754 | 2012-03-14 Kai Tietz <ktietz@redhat.com> |
755 | Pascal Obry <pascal@obry.net> | |
756 | ||
757 | * pe-dll.c (found_sym): New static variable. | |
758 | (undef_count): Likewise. | |
759 | (key_value): New structure. | |
760 | (undef_sort_cmp): Compare routine for qsort/bsearch. | |
761 | (pe_find_cdecl_alias_match): Add new argument. | |
762 | (pe_undef_alias_cdecl_match): Removed. | |
763 | (pe_undef_count): New helper routine. | |
764 | (pe_create_undef_table): Likewise. | |
765 | (pe_process_import_defs): Use pe_create_undef_table and | |
766 | new pe_undef_alias_cdecl_match function. | |
767 | ||
ec8460b5 AM |
768 | 2012-03-14 Alan Modra <amodra@gmail.com> |
769 | ||
770 | PR ld/13839 | |
771 | * ldexp.c (fold_name): Ignore undefined symbols when assigning to | |
772 | dot in mark phase. | |
773 | (exp_fold_tree_1): Evaluate assignment to dot expressions even when | |
774 | discarding result, for side effects. Fix typo in error message. | |
775 | ||
67baf8c4 TG |
776 | 2012-03-08 Tristan Gingold <gingold@adacore.com> |
777 | ||
778 | * ldexp.c (exp_print_tree): Special case for SEGMENT_START. | |
779 | (exp_print_token): Constify. | |
780 | ||
f4a23d42 AM |
781 | 2012-03-08 Alan Modra <amodra@gmail.com> |
782 | ||
783 | PR ld/10340 | |
784 | * ldfile.c (is_sysrooted_pathname): Remove notsame param. | |
785 | (ldfile_add_library_path): Don't set sysrooted flag. | |
786 | (ldfile_open_file_search): Likewise, and don't copy them. | |
787 | (try_open): Delete exten and code handling such. Add sysrooted | |
788 | param and return whether path is in sysroot. | |
789 | (ldfile_find_command_file): Delete extend param. Add sysrooted | |
790 | param. Rename local var. Update try_open calls. | |
791 | (ldfile_open_command_file_1): Pass sysrooted to lex_push_file. | |
792 | * ldfile.h (search_dirs_type): Remove sysrooted field. | |
793 | * ldlang.c (new_afile): Always set sysrooted from input_flags. | |
794 | (load_symbols): Don't set input_flags.sysrooted. | |
795 | * ldlang.h (struct lang_input_statement_flags): Revise sysrooted | |
796 | comment. | |
797 | * ldlex.h (lex_push_file): Update prototype. | |
798 | * ldlex.l (sysrooted_stack): New array. | |
799 | (EOF): Pop input_flags.sysrooted. | |
800 | (lex_push_file): Add sysrooted param. Save and set | |
801 | input_flags.sysrooted. | |
802 | ||
66be1055 AM |
803 | 2012-03-06 Alan Modra <amodra@gmail.com> |
804 | ||
805 | * ldlang.h (struct lang_input_statement_flags): New, extract from.. | |
806 | (lang_input_statement_type): ..here. New field "flags". | |
807 | (input_flags): Declare. | |
808 | (missing_file): Delete. | |
809 | * ldmain.h (whole_archive): Delete. | |
810 | (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. | |
811 | * ld.h (ld_config_type <dynamic_link>): Delete. | |
812 | * ldmain.c (whole_archive): Delete. | |
813 | (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. | |
814 | * ldlang.c (missing_file, ldlang_sysrooted_script): Delete. | |
815 | (input_flags): New variable. Replace all uses of config.dynamic_link, | |
816 | missing_file, ldlang_sysrooted_script, whole_archive, | |
817 | add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields | |
818 | from here. | |
819 | * ldfile.c: Likewise. | |
820 | * ldgram.y: Likewise. | |
821 | * ldmain.c: Likewise. | |
822 | * ldwrite.c: Likewise. | |
823 | * lexsup.c: Likewise. | |
824 | * plugin.c: Likewise. | |
825 | * emultempl/aix.em: Likewise. | |
826 | * emultempl/armelf.em: Likewise. | |
827 | * emultempl/elf32.em: Likewise. | |
828 | * emultempl/hppaelf.em: Likewise. | |
829 | * emultempl/linux.em: Likewise. | |
830 | * emultempl/pe.em: Likewise. | |
831 | * emultempl/pep.em: Likewise. | |
832 | * emultempl/ppc64elf.em: Likewise. | |
833 | * emultempl/scoreelf.em: Likewise. | |
834 | * emultempl/spuelf.em: Likewise. | |
835 | * emultempl/sunos.em: Likewise. | |
836 | * emultempl/vms.em: Likewise. | |
837 | * ldlang.c (new_afile): Use memset to init zero fields. | |
838 | (load_symbols): Simplify save and restore of flags around command | |
839 | file processing. | |
840 | * ldfile.c (is_sysrooted_pathname): Tidy. | |
841 | ||
cae4ddc6 HPN |
842 | 2012-03-05 Hans-Peter Nilsson <hp@axis.com> |
843 | ||
844 | * configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*) | |
845 | (mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by | |
846 | replacing trailing "-*" with "*". | |
847 | ||
fb6cedde WL |
848 | 2012-02-25 Walter Lee <walt@tilera.com> |
849 | ||
850 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c. | |
851 | (ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c. | |
852 | (eelf32tilegx_be.c): Add rule to build this file. | |
853 | (eelf64tilegx_be.c): Ditto. | |
854 | * Makefile.in: Regenerate. | |
855 | * configure.tgt (tilegx-*-*): Support big endian. | |
856 | (tilegxbe-*-*): New. | |
857 | * emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename. | |
858 | (BIG_OUTPUT_FORMAT): Define. | |
859 | (LITTLE_OUTPUT_FORMAT): Define. | |
860 | * emulparams/elf32tilegx_be.sh: New. | |
861 | * emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename. | |
862 | (BIG_OUTPUT_FORMAT): Define. | |
863 | (LITTLE_OUTPUT_FORMAT): Define. | |
864 | * emulparams/elf64tilegx_be.sh: New. | |
865 | ||
5b3d386e KT |
866 | 2012-02-24 Kai Tietz <ktietz@redhat.com> |
867 | ||
868 | PR binutils/13710 | |
869 | * deffilep.y (keyword_as_name): Disable LIBRARY | |
870 | keyword. | |
871 | ||
2aa9aad9 NC |
872 | 2012-02-22 Alan Modra <amodra@gmail.com> |
873 | ||
874 | PR ld/13683 | |
875 | * ldlang.c (lang_process): Rerun lang_do_assignments before | |
876 | starting garbage collection. | |
877 | * ldexp.c (fold_name): Generate a reloc for defined symbols | |
878 | found without an associated output section during the mark phase. | |
289b70fe NC |
879 | (exp_fold_tree_1): Continue processing an expression, even if we |
880 | are unable to fold it, if we are in the first two evaluation | |
881 | phases. | |
2aa9aad9 NC |
882 | * ldexp.h (enum lang_phase_type): Add descriptions of the phases. |
883 | ||
6e230cc2 KT |
884 | 2012-02-19 Kai Tietz <ktietz@redhat.com> |
885 | ||
886 | * deffilep.y (cmp_import_elem): Sort first by module name. | |
887 | * pe-dll.c (process_def_file_and_drectve): Free strings | |
888 | from removed export-element. | |
889 | (add_bfd_to_link): Optimize loop on import-elements and lower | |
890 | allocated memory. | |
891 | (pe_implied_import_dll): Pass NULL instead of 0 for pointer | |
892 | argument. | |
893 | ||
39085894 HPN |
894 | 2012-02-18 Hans-Peter Nilsson <hp@axis.com> |
895 | ||
896 | * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for | |
897 | temporary variable node used for NULL argument. | |
898 | ||
dab69f68 AM |
899 | 2012-02-18 Alan Modra <amodra@gmail.com> |
900 | ||
901 | PR ld/13343 | |
902 | * ld.h (parsing_defsym): Delete. | |
903 | * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename. | |
904 | (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill, | |
905 | exp_get_abs_int): Add tree arg for %S in error messages. Don't | |
906 | fudge lineno. | |
907 | (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy | |
908 | type.filename from sub-tree. | |
909 | (exp_trinop): Likewise, and use "cond" rather than "lhs". | |
910 | * ldexp.h (node_type): Add filename field to struct. | |
911 | * ldfile.c (ldfile_input_filename): Delete. Remove all refs. | |
912 | * ldfile.h (ldfile_input_filename): Delete. | |
913 | * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for | |
914 | %S in error messages. | |
915 | * ldemul.c (syslib_default, hll_default): Likewise. | |
916 | * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias, | |
917 | lang_get_regions, lang_new_phdr): Likewise. | |
918 | (lang_size_sections_1): Pass addr_tree for %S. | |
919 | * ldlex.h (lex_redirect): Update prototype. | |
920 | (ldlex_filename): Declare. | |
921 | * ldlex.l (<EOF>): Don't set ldfile_input_filename. | |
922 | (lex_redirect): Add fake_filename and count params. Push | |
923 | fake_filename to file_name_stack and init lineno from count. | |
924 | (ldlex_filename): New function. | |
925 | (lex_warn_invalid): Use above. | |
926 | * ldmain.c (main): Update lex_redirect call. | |
927 | * ldmisc.c (vfinfo <%S>): Take file name and line number from | |
928 | etree_type arg, or use current if arg is NULL. | |
929 | * lexsup.c (parsing_defsym): Delete. | |
930 | (parse_args <OPTION_DEFSYM>): Update lex_redirect call. | |
931 | ||
d0ac6938 KT |
932 | 2012-02-13 Kai Tietz <ktietz@redhat.com> |
933 | ||
934 | * deffilep.y (find_export_in_list): Set is_indent for | |
935 | first or last element, if identical. | |
936 | (find_import_in_list): Likewise. | |
937 | ||
aa83d1ec KT |
938 | 2012-02-11 Kai Tietz <ktietz@redhat.com> |
939 | ||
940 | * deffilep.y (%union): New type id_const. | |
941 | (opt_name2): New rule. | |
942 | (keyword_as_name): New rule. | |
943 | (dot_name): Replaced by opt_name2 rule. | |
944 | (opt_name): Adjust rule. | |
945 | (opt_equal_name): Likewise. | |
946 | ||
98872a7c NC |
947 | 2012-02-11 Pascal Obry <pascal@obry.net> |
948 | ||
949 | * pe-dll.c (auto_export): Use bsearch to speed up scan of exports | |
950 | table. | |
951 | (process_def_file_and_drectve): Maintain sorting of exports table | |
952 | after stripping leading @ signs. | |
953 | ||
09f6ed34 AM |
954 | 2012-02-09 Alan Modra <amodra@gmail.com> |
955 | ||
956 | * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags. | |
957 | ||
b7761f11 L |
958 | 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> |
959 | ||
960 | PR ld/13616 | |
961 | * emulparams/elf32_x86_64.sh: Remove NOP. | |
962 | * emulparams/elf_i386.sh: Likewise. | |
963 | * emulparams/elf_i386_be.sh: Likewise. | |
964 | * emulparams/elf_i386_ldso.sh: Likewise. | |
965 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
966 | * emulparams/elf_k1om.sh: Likewise. | |
967 | * emulparams/elf_l1om.sh: Likewise. | |
968 | * emulparams/elf_x86_64.sh: Likewise. | |
969 | ||
970 | * ldlang.c (zero_fill): Initialized to 0. | |
971 | ||
972 | * ldwrite.c (build_link_order): Set data size to linker odrder | |
973 | size when they are the same. | |
974 | ||
975 | * scripttempl/elf.sc: Don't specify fill if NOP is undefined. | |
976 | ||
576477a6 AM |
977 | 2012-01-17 Alan Modra <amodra@gmail.com> |
978 | ||
979 | * ldver.c (ldversion): Update copyright message year. | |
980 | ||
cdaa438c AM |
981 | 2012-01-15 Alan Modra <amodra@gmail.com> |
982 | ||
983 | PR ld/12758 | |
984 | * ldlang.c (lang_process): Don't reopen all files, just those | |
985 | newly added by plugin. | |
986 | ||
794e51c0 AM |
987 | 2012-01-11 Alan Modra <amodra@gmail.com> |
988 | ||
989 | * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE, | |
990 | PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, | |
991 | PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and | |
992 | --{no-,}plt-align. | |
993 | (plt_thread_safe, plt_stub_align): New vars. | |
994 | (gld${EMULATION_NAME}_after_allocation): Pass them to | |
995 | ppc64_elf_size_stubs. Align stub sections according to plt_stub_align. | |
996 | * ld.texinfo: Document new command line options, and an old | |
997 | undocumented option. | |
998 | ||
52546677 RM |
999 | 2012-01-09 Roland McGrath <mcgrathr@google.com> |
1000 | ||
1001 | * configure.in: Use AM_ZLIB. | |
1002 | * configure: Regenerated. | |
c0a512e2 | 1003 | |
23e1d329 | 1004 | For older changes see ChangeLog-2011 |
252b5132 | 1005 | \f |
752937aa NC |
1006 | Copyright (C) 2012 Free Software Foundation, Inc. |
1007 | ||
1008 | Copying and distribution of this file, with or without modification, | |
1009 | are permitted in any medium without royalty provided the copyright | |
1010 | notice and this notice are preserved. | |
1011 | ||
252b5132 RH |
1012 | Local Variables: |
1013 | mode: change-log | |
1014 | left-margin: 8 | |
1015 | fill-column: 74 | |
1016 | version-control: never | |
1017 | End: |