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