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