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