Remove shared object from -Ttext-segment
[binutils-gdb.git] / ld / ChangeLog
1 2013-12-11 H.J. Lu <hongjiu.lu@intel.com>
2
3 * ld.texinfo: Remove shared object from -Ttext-segment.
4
5 2013-12-10 Roland McGrath <mcgrathr@google.com>
6
7 * Makefile.am (install-exec-local): Prefix libtool invocation with
8 $(INSTALL_PROGRAM_ENV).
9 * Makefile.in: Regenerate.
10
11 2013-12-07 Mike Frysinger <vapier@gentoo.org>
12
13 * ChangeLog-2008: Remove +x file mode.
14 * emulparams/bfin.sh: Likewise.
15 * emulparams/elf32bmipn32.sh: Likewise.
16 * emulparams/elf32fr30.sh: Likewise.
17 * emulparams/elf32frv.sh: Likewise.
18 * emulparams/elf32iq10.sh: Likewise.
19 * emulparams/elf32iq2000.sh: Likewise.
20 * emulparams/elf32mep.sh: Likewise.
21 * emulparams/elf32openrisc.sh: Likewise.
22 * emulparams/elf64bmip.sh: Likewise.
23 * emulparams/elf64hppa.sh: Likewise.
24 * emulparams/i386beos.sh: Likewise.
25
26 2013-11-26 H.J. Lu <hongjiu.lu@intel.com>
27
28 PR ld/16259
29 * Makefile.am (HOSTING_SLIBS): New.
30 * configure.host (HOSTING_SLIBS): New. Used for PIE.
31 * configure.in (HOSTING_SLIBS): New AC_SUBST.
32 * Makefile.in: Regenerated.
33 * configure: Likewise.
34
35 2013-11-22 Cory Fields <cory@coryfields.com>
36
37 * pe-dll.c (fill_edata): Only use a real timestamp if
38 --insert-timestamp was used.
39 * emultempl/pe.em: Add the --insert-timestamp option.
40 * emultempl/pep.em: Likewise for 64bit.
41 * ld.texinfo: Document the --insert-timestamp option.
42
43 2013-11-22 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
44
45 * scripttempl/avr.sc: Set .data section's LMA to next available
46 address in text region.
47
48 2013-11-21 Andrew Pinski <apinski@cavium.com>
49
50 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c
51 and eaarch64linux32b.c
52 (eaarch64linux32.c): New target.
53 (eaarch64linux32b.c): Likewise.
54 * Makefile.in: Regenerate.
55 * configure.tgt (aarch64_be-*-linux*): Add
56 aarch64linux32 and aarch64linux32b to targ_extra_libpath.
57 (aarch64-*-linux*): Likewise.
58 * emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words).
59 * emulparams/aarch64linux32.sh: New file.
60 * emulparams/aarch64linux32b.sh: New file.
61
62 2013-11-21 Andrew Pinski <apinski@cavium.com>
63
64 * configure.tgt (aarch64_be-*-linux*): Split out the linux targets
65 into targ_extra_libpath.
66 (aarch64-*-linux*): Likewise.
67
68 2013-11-21 Nick Clifton <nickc@redhat.com>
69
70 PR ld/16192
71 * pe-dll.c (pe_create_runtime_relocator_reference): Zero the
72 newly allocated idata5 block.
73
74 2013-11-20 Nick Clifton <nickc@redhat.com>
75
76 * scripttempl/elf32msp430.sc (.data): Set the based on the next
77 free location in the text memory region, not a computation based
78 upon the size of the text section. Orphaned sections or other
79 linker scripts might insert new sections between the .text section
80 and the .data section.
81 * scripttempl/elf32msp430_3.sc (.data): Likewise.
82
83 2013-11-19 Roland McGrath <mcgrathr@google.com>
84 Alan Modra <amodra@gmail.com>
85
86 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
87 Don't use bfd_elf_record_link_assignment to mark __ehdr_start
88 hidden. Instead, just do it directly here, and only if it was
89 referenced but not defined.
90
91 2013-11-18 Chung-Lin Tang <cltang@codesourcery.com>
92
93 * emulparams/nios2linux.sh: New emulation file.
94 * configure.tgt: Add nios2*-*-linux* emulation case.
95 * Makefile.am (enios2linux.c): New emulation entry.
96 * Makefile.in: Regenerate.
97
98 2013-10-14 Nick Clifton <nickc@redhat.com>
99
100 * emultempl/aix.em (_read_file): Close file at end of function.
101
102 2013-10-10 Roland McGrath <mcgrathr@google.com>
103
104 * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
105 It silences some compilers' warnings and is much less bizarre to read.
106
107 2013-10-09 Roland McGrath <mcgrathr@google.com>
108
109 * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
110 rather than a dummy assignment for unused parameter.
111 * plugin.c (get_input_file, release_input_file): Likewise.
112
113 2013-10-09 Nick Clifton <nickc@redhat.com>
114
115 PR ld/16028
116 * ldmain.c (add_keepsyms_file): Close file at end of function.
117
118 2013-10-03 Will Newton <will.newton@linaro.org>
119
120 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
121 * emulparams/aarch64elf32.sh: Likewise.
122
123 2013-09-30 Nick Clifton <nickc@redhat.com>
124
125 * emulparams/msp430all.sh: Update ARCH names.
126
127 2013-09-24 Alan Modra <amodra@gmail.com>
128
129 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit
130 and cross-endian values.
131 * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate,
132 and unset unwanted variables.
133
134 2013-09-24 Alan Modra <amodra@gmail.com>
135
136 * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when
137 sysrooted. Also, don't always add tooldir when non-sysrooted.
138 Instead add both when native and tooldir also when TOOL_DIR is
139 defined. Always prepend '=' to paths when sysrooted. Always
140 put paths with LIBPATH_SUFFIX first in search order.
141
142 2013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
143
144 * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
145 * Makefile.in: Regenerate.
146
147 2013-09-20 Alan Modra <amodra@gmail.com>
148
149 * configure: Regenerate.
150
151 2013-09-18 Tristan Gingold <gingold@adacore.com>
152
153 * NEWS: Add marker for 2.24.
154
155 2013-09-17 Nick Clifton <nickc@redhat.com>
156
157 PR ld/15957
158 * deffilep.y (def_file_add_directive): Avoid readin past end of
159 buffer.
160
161 2013-08-28 Nick Clifton <nickc@redhat.com>
162
163 PR ld/15896
164 * ld.texinfo: Fix uses of MB abbreviation.
165
166 2013-08-26 Roland McGrath <mcgrathr@google.com>
167
168 * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
169 * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
170 * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
171
172 2013-08-23 Roland McGrath <mcgrathr@google.com>
173
174 * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
175 SIZEOF_HEADERS here; elf.sc does it already.
176
177 2013-08-23 Nick Clifton <nickc@redhat.com>
178
179 PR ld/15839
180 * scripttempl/avr.sc: Do not include gc'able sections into general
181 sections during relocatable links.
182
183 2013-08-22 Christian Franke <franke@computer.org>
184
185 * emultempl/pe.em: Add --disable-large-address-aware option.
186 * ld.texinfo (--disable-large-address-aware): Add documentation.
187
188 2013-08-14 Clemens Lang <clemens.lang@fau.de>
189
190 * ldexp.c: Add LOG2CEIL() builtin function to linker script language
191 * ldgram.y: Likewise
192 * ldlex.l: Likewise
193 * NEWS: Mention the new feature.
194 * ld.texinfo: Document the new feature.
195
196 2013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
197
198 * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
199 * ldlang.c: Likewise.
200 * ldlang.h: Likewise.
201 * ldlex.l: Likewise.
202 * mri.c: Likewise.
203 * ld.texinfo: Document new feature.
204 * NEWS: Mention new feature.
205
206 2013-07-18 Roland McGrath <mcgrathr@google.com>
207
208 * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
209 argument ALIGNMENT_POWER, use it instead of constant 3.
210
211 2013-07-08 Jeff Law <law@redhat.com>
212
213 * scripttempl/elf.sc: Handle function names and other text after
214 .text.unlikely too.
215
216 2013-07-08 Tristan Gingold <gingold@adacore.com>
217
218 * scripttempl/ia64vms.sc: Add support of per data and per function
219 sections.
220
221 2013-07-01 Alan Modra <amodra@gmail.com>
222
223 * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
224 ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
225 (gld${EMULATION_NAME}_after_allocation): Likewise.
226
227 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
228
229 * emulparams/aarch64elf32.sh: New file.
230
231 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
232
233 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
234 (eaarch64elf32b.c): New dependency and rule.
235 * Makefile.in: Re-generated.
236 * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
237 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
238 * emulparams/aarch64elf32b.sh: New file.
239
240 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
241
242 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
243 (eaarch64elf32.c): New dependency and rule.
244 * Makefile.in: Re-generated.
245 * configure.tgt (aarch64-*-elf): Add aarch64elf32.
246 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
247 * emulparams/aarch64elf32.sh: New file.
248
249 2013-06-25 Maciej W. Rozycki <macro@codesourcery.com>
250
251 * emultempl/mipself.em (insn32): New variable.
252 (mips_create_output_section_statements): Handle insn32 mode.
253 (PARSE_AND_LIST_PROLOGUE): New macro.
254 (PARSE_AND_LIST_LONGOPTS): Likewise.
255 (PARSE_AND_LIST_OPTIONS): Likewise.
256
257 * gen-doc.texi: Set MIPS.
258 * ld.texinfo: Likewise.
259 (Options specific to MIPS targets): New section.
260 (ld and MIPS family): New node.
261 (Top, Machine Dependent): List the new node.
262
263 2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
264
265 * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
266 as close to .plt as possible.
267 * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
268 $PLT_NEXT_DATA variables.
269
270 2013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
271
272 * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
273 (ALL_64_EMULATION_SOURCES): ...here.
274 * Makefile.in: Regenerate.
275
276 2013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
277
278 * NEWS: Document the removal of MIPS ECOFF targets.
279 * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
280 MIPS ECOFF as an example of a target that supports small data.
281 * ldmain.c (g_switch_value): Likewise.
282 * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
283 (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
284 (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
285 * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
286 emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
287 (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
288 (emipslnews.c, emipspe.c): Delete rules.
289 * Makefile.in: Regenerate.
290 * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
291 emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
292 emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
293 * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
294 has now been removed.
295 * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
296
297 2013-06-19 Will Newton <will.newton@linaro.org>
298
299 * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
300
301 2013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
302
303 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
304
305 2013-06-12 Nick Clifton <nickc@redhat.com>
306
307 * ldcref.c (output_one_cref): Place common definitions after
308 ordinary definitions but before references.
309
310 2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
311
312 PR ld/15598
313 * ld.texinfo (Source Code Reference): Fix typos.
314
315 2013-06-07 Will Newton <will.newton@linaro.org>
316
317 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
318
319 2013-06-07 Nick Clifton <nickc@redhat.com>
320
321 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
322 option must appear before the SEGMENT_START is encountered in
323 order for the default value to be overridden.
324
325 2013-05-03 Alan Modra <amodra@gmail.com>
326
327 PR ld/15365
328 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
329 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
330
331 2013-05-03 Alan Modra <amodra@gmail.com>
332
333 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
334 Only call lang_for_each_statement if an ELF hash table is used.
335
336 2013-05-02 Nick Clifton <nickc@redhat.com>
337
338 * Makefile.am: Add emsp430X.c
339 * Makefine.in: Regenerate.
340 * configure.tgt (msp430): Add msp430X emulation.
341 * ldmain.c (multiple_definition): Only disable relaxation if it
342 was enabled by the user.
343 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
344 * emulparams/msp430all.sh: Add support for MSP430X.
345 * emultempl/generic.em: (before_parse): Enable relaxation for the
346 MSP430.
347 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
348 section.
349 * scripttempl/msp430_3.sc: Likewise.
350 * NEWS: Mention support for MSP430X.
351
352 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
353
354 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
355 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
356 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
357
358 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
359
360 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
361 Use is_elf_hash_table rather than a handcoded condition.
362
363 2013-04-30 Nick Clifton <nickc@redhat.com>
364
365 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
366 are sorted by descending order of alignment.
367
368 2013-04-29 Nick Clifton <nickc@redhat.com>
369
370 * scripttempl/DWARF.sc: Add support for .debug_line.* and
371 .debug_line_end.
372
373 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
374
375 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
376 psuedo-relocs.
377
378 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
379
380 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
381 * scripttempl/avr.sc: Likewise.
382 * scripttempl/elf.sc: Likewise.
383 * scripttempl/elf32cr16.sc: Likewise.
384 * scripttempl/elf32crx.sc: Likewise.
385 * scripttempl/elf32msp430.sc: Likewise.
386 * scripttempl/elf32msp430_3.sc: Likewise.
387 * scripttempl/elf32sh-symbian.sc: Likewise.
388 * scripttempl/elf64hppa.sc: Likewise.
389 * scripttempl/elf_chaos.sc: Likewise.
390 * scripttempl/elfd10v.sc: Likewise.
391 * scripttempl/elfd30v.sc: Likewise.
392 * scripttempl/elfi370.sc: Likewise.
393 * scripttempl/elfm68hc11.sc: Likewise.
394 * scripttempl/elfm68hc12.sc: Likewise.
395 * scripttempl/elfxgate.sc: Likewise.
396 * scripttempl/elfxtensa.sc: Likewise.
397 * scripttempl/epiphany_4x4.sc: Likewise.
398 * scripttempl/i386beos.sc: Likewise.
399 * scripttempl/i386go32.sc: Likewise.
400 * scripttempl/ia64vms.sc: Likewise.
401 * scripttempl/ip2k.sc: Likewise.
402 * scripttempl/iq2000.sc: Likewise.
403 * scripttempl/mep.sc: Likewise.
404 * scripttempl/mmo.sc: Likewise.
405 * scripttempl/v850.sc: Likewise.
406 * scripttempl/v850_rh850.sc: Likewise.
407 * scripttempl/xstormy16.sc: Likewise.
408
409 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
410
411 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
412
413 2013-04-26 Alan Modra <amodra@gmail.com>
414
415 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
416 unresolved_syms_in_shared_libs rather than !executable to
417 determine whether to load DT_NEEDED libraries.
418
419 2013-04-25 Alan Modra <amodra@gmail.com>
420
421 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
422 (eelf32lppclinux.c): New rule.
423 * Makefile.in: Regenerate.
424 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
425 with corresponding little-endian targets.
426 * emulparams/elf32lppc.sh: Update comment.
427 * emulparams/elf32lppclinux.sh: New.
428
429 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
430
431 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
432 x86_64-*-elf*.
433 (targ_extra_libpath): Likewise.
434 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
435
436 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
437
438 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
439 * emulparams/aarch64linux.sh: Ditto.
440 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
441 Replace elf64 with elf${ELFSIZE}.
442 (elf64_aarch64_add_stub_section): Likewise.
443 (build_section_lists): Likewise.
444 (gld${EMULATION_NAME}_after_allocation): Likewise.
445 (gld${EMULATION_NAME}_finish): Likewise.
446 (aarch64_elf_create_output_section_statements): Likewise.
447
448 2013-04-24 Nick Clifton <nickc@redhat.com>
449
450 PR ld/15389
451 * scripttempl/avr.sc: Add .note.gnu.build-id section.
452
453 2013-04-22 Alan Modra <amodra@gmail.com>
454
455 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
456 Check return from ppc64_elf_init_stub_bfd.
457
458 2013-04-15 Nick Clifton <nickc@redhat.com>
459
460 * Makefile.am (ELF_DEPS): Add a dependency upon
461 scripttempl/DWARF.sc.
462 (ELF_GEN_DEPS): Likewise.
463 (emmo.c): Likewise.
464 * Makefile.in: Regenerate.
465
466 * scripttempl/armbpabi.sc: Replace DWARF sections with an
467 inclusion of DWARF.sc.
468 * scripttempl/avr.sc: Likewise.
469 * scripttempl/elf.sc: Likewise.
470 * scripttempl/elf32cr16.sc: Likewise.
471 * scripttempl/elf32crx.sc: Likewise.
472 * scripttempl/elf32msp430.sc: Likewise.
473 * scripttempl/elf32msp430_3.sc: Likewise.
474 * scripttempl/elf32sh-symbian.sc: Likewise.
475 * scripttempl/elf64hppa.sc: Likewise.
476 * scripttempl/elf_chaos.sc: Likewise.
477 * scripttempl/elfd10v.sc: Likewise.
478 * scripttempl/elfd30v.sc: Likewise.
479 * scripttempl/elfi370.sc: Likewise.
480 * scripttempl/elfm68hc11.sc: Likewise.
481 * scripttempl/elfm68hc12.sc: Likewise.
482 * scripttempl/elfxgate.sc: Likewise.
483 * scripttempl/elfxtensa.sc: Likewise.
484 * scripttempl/epiphany_4x4.sc: Likewise.
485 * scripttempl/i386beos.sc: Likewise.
486 * scripttempl/i386go32.sc: Likewise.
487 * scripttempl/ia64vms.sc: Likewise.
488 * scripttempl/ip2k.sc: Likewise.
489 * scripttempl/iq2000.sc: Likewise.
490 * scripttempl/mep.sc: Likewise.
491 * scripttempl/mmo.sc: Likewise.
492 * scripttempl/v850.sc: Likewise.
493 * scripttempl/v850_rh850.sc: Likewise.
494 * scripttempl/xstormy16.sc: Likewise.
495 * scripttempl/DWARF.sc: New.
496
497 2013-04-04 Alan Modra <amodra@gmail.com>
498
499 * ldlang.c (load_symbols): Report "error adding symbols" on
500 bfd_link_add_symbols failure.
501 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
502 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
503 (gld${EMULATION_NAME}_try_needed): Likewise.
504
505 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
506
507 PR ld/13812
508 * scripttempl/avr.sc: Place trampolines before .progmem section.
509
510 2013-03-25 Kai Tietz <ktietz@redhat.com>
511
512 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
513
514 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
515
516 * ld.texinfo (H8/300): Add description of relaxation of
517 mov @(disp:32,ERx) to mov @(disp:16,ERx).
518
519 2013-03-21 Kai Tietz <ktietz@redhat.com>
520
521 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
522 generated C++-symbols as stdcall/fastcall.
523
524 2013-03-18 Alan Modra <amodra@gmail.com>
525
526 * ld.texinfo (--as-needed): Update.
527
528 2013-03-14 Jakub Jelinek <jakub@redhat.com>
529
530 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
531 aarch64linux* emulations.
532
533 2013-03-07 Alan Modra <amodra@gmail.com>
534
535 * ldfile.c (ldfile_open_command_file_1): Return after einfo
536 to avoid warning.
537
538 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
539
540 * configure.host: Add x86_64-*-cygwin* as valid host.
541 * configure.tgt: Add x86_64-*-cygwin* as valid target.
542 * emultempl/pep.em: Handle different requirements for Cygwin in terms
543 of start addresses for executables and DLLs, based on memory model in
544 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
545
546 2013-03-05 Alan Modra <amodra@gmail.com>
547
548 PR ld/15222
549 * ldlang.c (lang_size_sections_1): When given an lma_region align
550 LMA as per VMA only if lma_region is the same as region.
551
552 2013-02-27 Nick Clifton <nickc@redhat.com>
553
554 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
555 Add alignment of .bss section.
556 * scripttempl/elf32msp430_3.sc: Likewise.
557
558 2013-02-26 Nick Clifton <nickc@redhat.com>
559
560 PR ld/15188
561 * ld.texinfo: Fix typos.
562
563 2013-02-21 Alan Modra <amodra@gmail.com>
564
565 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
566 .init_array/.fini_array input sections before .ctors/.dtors input
567 sections.
568 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
569
570 2013-02-21 Alan Modra <amodra@gmail.com>
571
572 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
573 for elf_tdata changes.
574
575 2013-02-21 Alan Modra <amodra@gmail.com>
576
577 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
578 accessor macros.
579
580 2013-02-20 Alan Modra <amodra@gmail.com>
581
582 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
583 * Makefile.in: Regenerate.
584
585 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
586
587 PR ld/15146
588 * plugin.c (plugin_notice): Add null check before dereferencing
589 pointer.
590
591 2013-02-19 Alan Modra <amodra@gmail.com>
592
593 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
594 Replace all info->emit_note_gnu_build_id refs.
595 (id_note_section_size): Rename from
596 gld${EMULATION_NAME}_id_note_section_size.
597 (struct build_id_info): Delete.
598 (write_build_id): Rename from
599 gld${EMULATION_NAME}_write_build_id_section.
600 Update elf_tdata usage. Style, formatting.
601 (setup_build_id): New function.
602 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
603
604 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
605
606 PR ld/15146
607 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
608 the real one.
609
610 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
611
612 PR ld/15141
613 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
614
615 2013-02-15 Kai Tietz <ktietz@redhat.com>
616
617 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
618 (.pdata): Merge .pdata* into .pdata section.
619
620 2013-02-11 Alan Modra <amodra@gmail.com>
621
622 * ldlang.c (get_init_priority): Comment typo.
623 (lang_finish): Free link_info.hash and lang_definedness_table.
624 (lang_end): Delete lang_definedness_table comment.
625
626 2013-02-11 Alan Modra <amodra@gmail.com>
627
628 PR ld/15130
629 * ld.texinfo (-rpath-link): Typo fix.
630
631 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
632
633 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
634 rather than userdata->flags.just_syms.
635
636 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
637 Andrew Jenner <andrew@codesourcery.com>
638
639 Based on patches from Altera Corporation.
640
641 * Makefile.am (enios2elf.c): New rule.
642 * Makefile.in: Regenerated.
643 * configure.tgt: Add case for nios2*-*-*.
644 * emulparams/nios2elf.sh: New file.
645 * NEWS: Note Altera Nios II support.
646
647 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
648
649 * emultempl/avrelf.em (avr_elf_before_parse): New function.
650 (LDEMUL_BEFORE_PARSE): Define.
651
652 2013-02-06 Alan Modra <amodra@gmail.com>
653
654 PR ld/15096
655 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
656 * emultempl/alphaelf.em: Revert 2013-02-04.
657 * emultempl/cr16elf.em: Likewise.
658 * emultempl/crxelf.em: Likewise.
659 * emultempl/hppaelf.em: Likewise.
660 * emultempl/ia64elf.em: Likewise.
661 * emultempl/mipself.em: Likewise.
662 * NEWS: Revert 2013-01-21.
663
664 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
665
666 PR ld/15096
667 * emultempl/alphaelf.em (alpha_after_parse): Call
668 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
669 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
670 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
671 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
672 * emultempl/mipself.em (mips_after_parse): Likewise.
673
674 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
675 to ...
676 (gld_${EMULATION_NAME}_after_parse): This. Call
677 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
678 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
679
680 * emultempl/elf32.em (new_dtags_set): New variable.
681 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
682 here.
683 (gld${EMULATION_NAME}_after_parse): New function.
684 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
685 with gld${EMULATION_NAME}_after_parse.
686 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
687 when setting link_info.new_dtags.
688
689 2013-01-25 Kai Tietz <ktietz@redhat.com>
690
691 * deffilep.y (def_image_name): Adjust type of base-address
692 argument.
693 (%union): Add new type bfd_vma as vma.
694 (VMA): New rule.
695 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
696 (def_file_print): Use bfd's fprintf_vma to output base-address.
697
698 2013-01-24 Nick Clifton <nickc@redhat.com>
699
700 * NEWS: Mention support for V850E3V5 architecture.
701
702 2013-01-23 Martin Koegler <martin.koegler@chello.at>
703
704 PR ld/15041
705 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
706 (.xdata): Similarly.
707 (.debug_frame): Similarly.
708
709 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
710
711 PR ld/15037
712 * scripttempl/avr.sc (.eeprom): Keep it.
713
714 2013-01-23 Leif Ekblad <leif@rdos.net>
715
716 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
717 (eelf64rdos.c): New rule.
718 * emulparams/elf64rdos.sh: New file.
719 * configure.tgt (x86_64-*-rdos*): Use above.
720 * Makefile.in: Regenerate.
721
722 2013-01-22 Roland McGrath <mcgrathr@google.com>
723
724 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
725 new_dtags to TRUE for *-*-nacl* targets.
726
727 2013-01-21 Mike Frysinger <vapier@gentoo.org>
728
729 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
730 link_info.new_dtags to TRUE for linux/gnu targets.
731 * NEWS: Mention new dtags default.
732
733 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
734
735 * Makefile.am (HOSTING_SCRT0): New.
736
737 * configure.host (HOSTING_SCRT0): New. Used for PIE.
738
739 * configure.in (HOSTING_SCRT0): New AC_SUBST.
740
741 * Makefile.in: Regenerated.
742 * configure: Likewise.
743
744 2013-01-18 Mike Frysinger <vapier@gentoo.org>
745
746 * NEWS: Mention change in behavior with --enable-new-dtags.
747 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
748
749 2013-01-14 Leif Ekblad <leif@rdos.net>
750 Alan Modra <amodra@gmail.com>
751
752 * ld.texinfo (-Tldata-segment): Describe.
753 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
754 * lexsup.c (ld_options): Add -Tldata-segment.
755 (parse_args): Handle OPTION_TLDATA_SEGMENT.
756 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
757
758 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
759
760 * deffilep.y: Remove trailing white spaces.
761 * elf-hints-local.h: Likewise.
762 * ldexp.c: Likewise.
763 * ldlang.h: Likewise.
764 * ldmisc.c: Likewise.
765 * ldwrite.c: Likewise.
766 * pe-dll.c: Likewise.
767 * emulparams/criself.sh: Likewise.
768 * emulparams/crislinux.sh: Likewise.
769 * emulparams/elf32_tic6x_le.sh: Likewise.
770 * emulparams/elf32bmipn32-defs.sh: Likewise.
771 * emulparams/elf32mb_linux.sh: Likewise.
772 * emulparams/elf32mep.sh: Likewise.
773 * emulparams/elf32microblaze.sh: Likewise.
774 * emulparams/elf32ppc.sh: Likewise.
775 * emulparams/elf64_s390.sh: Likewise.
776 * emulparams/elf64alpha.sh: Likewise.
777 * emulparams/elf_s390.sh: Likewise.
778 * emulparams/elf_x86_64.sh: Likewise.
779 * emulparams/tic80coff.sh: Likewise.
780 * emultempl/aix.em: Likewise.
781 * emultempl/avrelf.em: Likewise.
782 * emultempl/cr16elf.em: Likewise.
783 * emultempl/pe.em: Likewise.
784 * emultempl/pep.em: Likewise.
785 * emultempl/spuelf.em: Likewise.
786 * emultempl/tic6xdsbt.em: Likewise.
787
788 2013-01-10 Will Newton <will.newton@imgtec.com>
789
790 * Makefile.am: Add Meta.
791 * Makefile.in: Regenerate.
792 * configure.tgt: Add Meta.
793 * emulparams/elf32metag.sh: New file.
794 * emultempl/metagelf.em: New file.
795
796 2013-01-09 Alan Modra <amodra@gmail.com>
797
798 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
799 * emulparams/elf32_x86_64.sh: Likewise.
800 * emulparams/elf_k1om.sh: Likewise.
801 * emulparams/elf_l1om.sh: Likewise.
802 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
803 OTHER_BSS_SECTIONS. Substitute in script.
804
805 2013-01-08 Leif Ekblad <leif@rdos.net>
806
807 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
808
809 2013-01-08 Alan Modra <amodra@gmail.com>
810
811 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
812 "name" param with a bfd_link_needed_list pointer. Update caller.
813 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
814
815 2013-01-08 Alan Modra <amodra@gmail.com>
816
817 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
818 * Makefile.in: Regenerate.
819
820 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
821
822 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
823 compatibility.
824
825 2013-01-07 Patrice Dumas <pertusus@free.fr>
826
827 * ld.texinfo: Replace @ with @@ when it is part of the text.
828 Correct ordering of M68HC11 entry.
829
830 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
831
832 * configure.tgt: Support ELF files for Sony Playstation 2 (for
833 ps2dev and ps2sdk).
834 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
835 Playstation 2 ELF files using MIPS ABI n32.
836 * emulparams/elf32lr5900.sh: Create linker script for Sony
837 Playstation 2 ELF files using MIPS ABI o32.
838 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
839 files.
840
841 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
842
843 * ldver.c (ldversion): Update copyright year to 2013.
844
845 For older changes see ChangeLog-2012
846 \f
847 Copyright (C) 2013 Free Software Foundation, Inc.
848
849 Copying and distribution of this file, with or without modification,
850 are permitted in any medium without royalty provided the copyright
851 notice and this notice are preserved.
852
853 Local Variables:
854 mode: change-log
855 left-margin: 8
856 fill-column: 74
857 version-control: never
858 End: