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