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