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