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