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