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