bfd/
[platform/upstream/binutils.git] / ld / ChangeLog
1 2013-02-21  Alan Modra  <amodra@gmail.com>
2
3         * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
4         for elf_tdata changes.
5
6 2013-02-21  Alan Modra  <amodra@gmail.com>
7
8         * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
9         accessor macros.
10
11 2013-02-20  Alan Modra  <amodra@gmail.com>
12
13         * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
14         * Makefile.in: Regenerate.
15
16 2013-02-19  Sandra Loosemore  <sandra@codesourcery.com>
17
18         PR ld/15146
19         * plugin.c (plugin_notice): Add null check before dereferencing
20         pointer.
21
22 2013-02-19  Alan Modra  <amodra@gmail.com>
23
24         * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
25         Replace all info->emit_note_gnu_build_id refs.
26         (id_note_section_size): Rename from
27         gld${EMULATION_NAME}_id_note_section_size.
28         (struct build_id_info): Delete.
29         (write_build_id): Rename from
30         gld${EMULATION_NAME}_write_build_id_section.
31         Update elf_tdata usage.  Style, formatting.
32         (setup_build_id): New function.
33         (gld${EMULATION_NAME}_after_open): Use setup_build_id.
34
35 2013-02-16  H.J. Lu  <hongjiu.lu@intel.com>
36
37         PR ld/15146
38         * plugin.c (plugin_notice): Replace the undefined dummy bfd with
39         the real one.
40
41 2013-02-16  H.J. Lu  <hongjiu.lu@intel.com>
42
43         PR ld/15141
44         * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
45
46 2013-02-15  Kai Tietz  <ktietz@redhat.com>
47
48         * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
49         (.pdata): Merge .pdata* into .pdata section.
50
51 2013-02-11  Alan Modra  <amodra@gmail.com>
52
53         * ldlang.c (get_init_priority): Comment typo.
54         (lang_finish): Free link_info.hash and lang_definedness_table.
55         (lang_end): Delete lang_definedness_table comment.
56
57 2013-02-11  Alan Modra  <amodra@gmail.com>
58
59         PR ld/15130
60         * ld.texinfo (-rpath-link): Typo fix.
61
62 2013-02-08  Markos Chandras  <markos.chandras@imgtec.com>
63
64         * emultempl/metagelf.em (build_section_lists): Use sec_info_type
65         rather than userdata->flags.just_syms.
66
67 2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
68             Andrew Jenner <andrew@codesourcery.com>
69
70         Based on patches from Altera Corporation.
71
72         * Makefile.am (enios2elf.c): New rule.
73         * Makefile.in: Regenerated.
74         * configure.tgt: Add case for nios2*-*-*.
75         * emulparams/nios2elf.sh: New file.
76         * NEWS: Note Altera Nios II support.
77
78 2013-02-06  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
79
80         * emultempl/avrelf.em (avr_elf_before_parse): New function.
81         (LDEMUL_BEFORE_PARSE): Define.
82
83 2013-02-06  Alan Modra  <amodra@gmail.com>
84
85         PR ld/15096
86         * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
87         * emultempl/alphaelf.em: Revert 2013-02-04.
88         * emultempl/cr16elf.em: Likewise.
89         * emultempl/crxelf.em: Likewise.
90         * emultempl/hppaelf.em: Likewise.
91         * emultempl/ia64elf.em: Likewise.
92         * emultempl/mipself.em: Likewise.
93         * NEWS: Revert 2013-01-21.
94
95 2013-02-04  H.J. Lu  <hongjiu.lu@intel.com>
96
97         PR ld/15096
98         * emultempl/alphaelf.em (alpha_after_parse): Call
99         gld${EMULATION_NAME}_after_parse instead of after_parse_default.
100         * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
101         * emultempl/crxelf.em (crxelf_after_parse): Likewise.
102         * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
103         * emultempl/mipself.em (mips_after_parse): Likewise.
104
105         * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
106         to ...
107         (gld_${EMULATION_NAME}_after_parse): This.  Call
108         gld${EMULATION_NAME}_after_parse instead of after_parse_default.
109         (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
110
111         * emultempl/elf32.em (new_dtags_set): New variable.
112         (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
113         here.
114         (gld${EMULATION_NAME}_after_parse): New function.
115         (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
116         with gld${EMULATION_NAME}_after_parse.
117         (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
118         when setting link_info.new_dtags.
119
120 2013-01-25  Kai Tietz  <ktietz@redhat.com>
121
122         * deffilep.y (def_image_name): Adjust type of base-address
123         argument.
124         (%union): Add new type bfd_vma as vma.
125         (VMA):  New rule.
126         (opt_base): Use VMA instead of NUMBER rule to evaluate value.
127         (def_file_print): Use bfd's fprintf_vma to output base-address.
128
129 2013-01-24  Nick Clifton  <nickc@redhat.com>
130
131         * NEWS: Mention support for V850E3V5 architecture.
132
133 2013-01-23  Martin Koegler  <martin.koegler@chello.at>
134
135         PR ld/15041
136         * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
137         (.xdata): Similarly.
138         (.debug_frame): Similarly.
139
140 2013-01-23  Georg-Johann Lay  <avr@gjlay.de>
141
142         PR ld/15037
143         * scripttempl/avr.sc (.eeprom): Keep it.
144
145 2013-01-23  Leif Ekblad  <leif@rdos.net>
146
147         * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
148         (eelf64rdos.c): New rule.
149         * emulparams/elf64rdos.sh: New file.
150         * configure.tgt (x86_64-*-rdos*): Use above.
151         * Makefile.in: Regenerate.
152
153 2013-01-22  Roland McGrath  <mcgrathr@google.com>
154
155         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
156         new_dtags to TRUE for *-*-nacl* targets.
157
158 2013-01-21  Mike Frysinger  <vapier@gentoo.org>
159
160         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
161         link_info.new_dtags to TRUE for linux/gnu targets.
162         * NEWS: Mention new dtags default.
163
164 2013-01-19  H.J. Lu  <hongjiu.lu@intel.com>
165
166         * Makefile.am (HOSTING_SCRT0): New.
167
168         * configure.host (HOSTING_SCRT0): New.  Used for PIE.
169
170         * configure.in (HOSTING_SCRT0): New AC_SUBST.
171
172         * Makefile.in: Regenerated.
173         * configure: Likewise.
174
175 2013-01-18  Mike Frysinger  <vapier@gentoo.org>
176
177         * NEWS: Mention change in behavior with --enable-new-dtags.
178         * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
179
180 2013-01-14  Leif Ekblad <leif@rdos.net>
181             Alan Modra  <amodra@gmail.com>
182
183         * ld.texinfo (-Tldata-segment): Describe.
184         * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
185         * lexsup.c (ld_options): Add -Tldata-segment.
186         (parse_args): Handle OPTION_TLDATA_SEGMENT.
187         * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
188
189 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
190
191         * deffilep.y: Remove trailing white spaces.
192         * elf-hints-local.h: Likewise.
193         * ldexp.c: Likewise.
194         * ldlang.h: Likewise.
195         * ldmisc.c: Likewise.
196         * ldwrite.c: Likewise.
197         * pe-dll.c: Likewise.
198         * emulparams/criself.sh: Likewise.
199         * emulparams/crislinux.sh: Likewise.
200         * emulparams/elf32_tic6x_le.sh: Likewise.
201         * emulparams/elf32bmipn32-defs.sh: Likewise.
202         * emulparams/elf32mb_linux.sh: Likewise.
203         * emulparams/elf32mep.sh: Likewise.
204         * emulparams/elf32microblaze.sh: Likewise.
205         * emulparams/elf32ppc.sh: Likewise.
206         * emulparams/elf64_s390.sh: Likewise.
207         * emulparams/elf64alpha.sh: Likewise.
208         * emulparams/elf_s390.sh: Likewise.
209         * emulparams/elf_x86_64.sh: Likewise.
210         * emulparams/tic80coff.sh: Likewise.
211         * emultempl/aix.em: Likewise.
212         * emultempl/avrelf.em: Likewise.
213         * emultempl/cr16elf.em: Likewise.
214         * emultempl/pe.em: Likewise.
215         * emultempl/pep.em: Likewise.
216         * emultempl/spuelf.em: Likewise.
217         * emultempl/tic6xdsbt.em: Likewise.
218
219 2013-01-10  Will Newton <will.newton@imgtec.com>
220
221         * Makefile.am: Add Meta.
222         * Makefile.in: Regenerate.
223         * configure.tgt: Add Meta.
224         * emulparams/elf32metag.sh: New file.
225         * emultempl/metagelf.em: New file.
226
227 2013-01-09  Alan Modra  <amodra@gmail.com>
228
229         * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
230         * emulparams/elf32_x86_64.sh: Likewise.
231         * emulparams/elf_k1om.sh: Likewise.
232         * emulparams/elf_l1om.sh: Likewise.
233         * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
234         OTHER_BSS_SECTIONS.  Substitute in script.
235
236 2013-01-08  Leif Ekblad  <leif@rdos.net>
237
238         * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
239
240 2013-01-08  Alan Modra  <amodra@gmail.com>
241
242         * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
243         "name" param with a bfd_link_needed_list pointer.  Update caller.
244         (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
245
246 2013-01-08  Alan Modra  <amodra@gmail.com>
247
248         * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
249         * Makefile.in: Regenerate.
250
251 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
252
253         * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
254         compatibility.
255
256 2013-01-07  Patrice Dumas  <pertusus@free.fr>
257
258         * ld.texinfo: Replace @ with @@ when it is part of the text.
259         Correct ordering of M68HC11 entry.
260
261 2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
262
263         * configure.tgt: Support ELF files for Sony Playstation 2 (for
264         ps2dev and ps2sdk).
265         * emulparams/elf32lr5900n32.sh: Create linker script for Sony
266         Playstation 2 ELF files using MIPS ABI n32.
267         * emulparams/elf32lr5900.sh: Create linker script for Sony
268         Playstation 2 ELF files using MIPS ABI o32.
269         * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
270         files.
271
272 2013-01-02  H.J. Lu  <hongjiu.lu@intel.com>
273
274         * ldver.c (ldversion): Update copyright year to 2013.
275
276 For older changes see ChangeLog-2012
277 \f
278 Copyright (C) 2013 Free Software Foundation, Inc.
279
280 Copying and distribution of this file, with or without modification,
281 are permitted in any medium without royalty provided the copyright
282 notice and this notice are preserved.
283
284 Local Variables:
285 mode: change-log
286 left-margin: 8
287 fill-column: 74
288 version-control: never
289 End: