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