Update copyright years
[platform/upstream/binutils.git] / ld / ChangeLog
1 2014-03-05  Alan Modra  <amodra@gmail.com>
2
3         Update copyright years.
4
5 2014-03-04  Nick Clifton  <nickc@redhat.com>
6
7         * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
8         * Makefile.in: Regenerate.
9
10 2014-02-27  Yuri Gribov  <y.gribov@samsung.com>
11
12         * emultempl/armelf.em (OPTION_LONG_PLT): Define.
13         (PARSE_AND_LIST_LONGOPTS): Add long-plt.
14         (PARSE_AND_LIST_OPTIONS): Likewise.
15         (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
16         * ld.texinfo: Document --long-plt.
17
18 2014-02-27  Alan Modra  <amodra@gmail.com>
19
20         * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
21         use ppc32elf.em.
22         * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
23         vxworks.
24         (LDEMUL_AFTER_OPEN): Don't set for vxworks.
25         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
26         -secure-plt, -bss-plt and -sdata-got when vxworks.
27
28 2014-02-27  Nick Clifton  <nickc@redhat.com>
29
30         * configure.in (all_emul_extra_binaries): New variable.  Populated
31         by invoking configure.tgt.
32         (EMUL_EXTRA_BINARIES): New substitution.
33         * configure: Regenerate.
34         * configure.tgt (target_extra_binaries): New variable.  Set to
35         default-manifest.o for Cygwin and MinGW targets.
36         * Makefile.am (EMUL_EXTRA_BINARIES): New variable.  Initialised
37         by the configure script.
38         (ALL_EMUL_EXTRA_BINARIES): New variable.
39         (default-manifest.o): New rule to build the default manifest.
40         (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
41         (install-data-local): Add EMUL_EXTRA_BINARIES.
42         * Makefile.in: Regenerate.
43         * ld.texinfo: Document default manifest support.
44         * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
45         * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
46         * emultempl/default-manifest.rc: New file.
47         * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
48         * scripttempl/pep.sc (R_RSRC): Likewise.
49
50 2014-02-26  Dan Mick  <dan.mick@inktank.com>
51
52         PR ld/16569
53         * ldcref.c (cref_sort_array): Compare unmangled names unless
54         demanglng has been requiested.
55         (output_one_cref): Output unmangled name unless demangling has
56         been requested.
57
58 2014-02-19  Igor Zamyatin  <igor.zamyatin@intel.com>
59             H.J. Lu  <hongjiu.lu@intel.com>
60
61         * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
62
63 2014-02-19  Alan Modra  <amodra@gmail.com>
64
65         * emultempl/ppc64elf.em (params): Init new field.
66         (ppc_create_output_section_statements): Set params.save_restore_funcs
67         default.
68         (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
69         --no-save-restore-funcs.
70
71 2014-02-17  Alan Modra  <amodra@gmail.com>
72
73         * emultemps/ppc64elf.em (params): New static struct replacing
74         various other static vars.  Adjust code throughout file.
75
76 2014-02-17  Alan Modra  <amodra@gmail.com>
77
78         * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
79         ppc476 workaround for ld -r.
80
81 2014-02-12  Alan Modra  <amodra@gmail.com>
82
83         * emultempl/ppc32elf.em (pagesize): New static var.
84         (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
85         (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
86
87 2014-02-11  Andrew Pinski  <apinski@cavium.com>
88
89         * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
90         (ELF_INTERPRETER_NAME): Define.
91         * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
92
93 2014-02-10  Alan Modra  <amodra@gmail.com>
94
95         * po/ld.pot: Regenerate.
96
97 2014-02-03  Alan Modra  <amodra@gmail.com>
98
99         * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
100         plt_style): Delete.  Adjust all refs to instead use..
101         (params): ..this.  New variable.
102         (ppc_after_open_output): New function.  Tweak params and pass to
103         ppc_elf_link_params.
104         (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
105         (ppc_before_allocation): Adjust ppc_elf_tls_setup call.  Enable
106         relaxation for ppc476 workaround.
107         (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
108         (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
109
110 2014-02-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
111
112         * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
113         * ld/ldlang.c (lang_size_sections_1): Add dotdelta
114         variable which reflects the VMA change due to alignment
115         requirements.  Use dotdelta do change the LMA if
116         ALIGN_WITH_INPUT is requested.
117
118 2014-02-01  Hans-Peter Nilsson  <hp@bitrange.com>
119
120         * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
121         call to bfd_set_section_vma exposed by recent bfd_set_section_vma
122         change.
123
124 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
125
126         * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
127         * Makefile.in: Regenerated.
128         * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
129         * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
130         * emultempl/nios2elf.em: New file.
131         * gen-doc.texi (NIOSII): Set.
132         * ld.texinfo (NIOSII): Set.
133
134 2014-01-28  Nick Clifton  <nickc@redhat.com>
135
136         * Makefile.am: Remove obsolete MSP430 emulations.
137         * configure.tgt: Likewise.
138         * emulparams/msp430all.sh: Likewise.
139         * Makefile.in: Regenerate.
140
141 2014-01-24  H.J. Lu  <hongjiu.lu@intel.com>
142
143         PR ld/16498
144         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
145         orphaned TLS section handling.
146
147 2014-01-24  Alan Modra  <amodra@gmail.com>
148
149         * ldlang.c (lang_output_section_find_by_flags): Be careful to
150         test look->bfd_section->flags if available rather than
151         look->flags.  Separate SEC_THREAD_LOCAL handling from
152         SEC_READONLY loop, and rewrite.
153
154 2014-01-22  Alan Modra  <amodra@gmail.com>
155
156         * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
157         (lang_init): Initialise them.
158         (lang_print_asneeded): New function.
159         (lang_process): Call lang_print_asneeded.
160         * ldlang.h (struct asneeded_minfo): New.
161         (asneeded_list_tail): Declare.
162         * ldmain.c (add_archive_element): Improve archive map heading.
163         * ldmisc.c (minfo): Stash --as-needed info.
164
165 2014-01-22  Alan Modra  <amodra@gmail.com>
166
167         * ld.h (struct map_symbol_def): Move to..
168         * ldlang.h: ..here.
169         * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
170
171 2014-01-22  Alan Modra  <amodra@gmail.com>
172
173         * ld.texinfo (Output Section Discarding): Mention assigning to dot
174         as a way of keeping otherwise empty sections.
175         * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
176         is_dot_plus_0, is_align_conditional): New predicates.
177         (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
178         output section, except for some special cases.
179         * scripttempl/elfmicroblaze.sc: Use canonical form to align at
180         end of .heap and .stack.
181
182 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
183
184         * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
185
186 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
187
188         * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
189
190 2014-01-20  Alan Modra  <amodra@gmail.com>
191
192         * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
193         by_script.  Make iteration a single bit field.
194         (lang_track_definedness, lang_symbol_definition_iteration): Delete.
195         (lang_symbol_defined): Declare.
196         * ldlang.c (lang_statement_iteration): Expand comment a little.
197         (lang_init <lang_definedness_table>): Make it bigger.
198         (lang_track_definedness, lang_symbol_definition): Delete.
199         (lang_definedness_newfunc): Update.
200         (lang_symbol_defined): New function.
201         (lang_update_definedness): Create entries here.  Do track whether
202         script definition of symbol is valid, even when also defined in
203         an object file.
204         * ldexp.c (fold_name <DEFINED>): Update.
205         (fold_name <NAME>): Allow self-assignment for absolute symbols
206         defined in a linker script.
207
208 2014-01-20  Guy Martin <gmsoft@tuxicoman.be>
209             Alan Modra  <amodra@gmail.com>
210
211         * ldlang.h (lang_output_section_get): Define.
212         * ldlang.c (lang_output_section_get): Likewise.
213         (init_os): Set the output_section userdata to the output
214         section statement.
215         * emultempl/hppaelf.em: Use lang_output_section_get instead of
216         lang_output_section_find where applicable.
217         * emultempl/aarch64elf.em: Likewise.
218         * emultempl/aix.em: Likewise.
219         * emultempl/armelf.em: Likewise.
220         * emultempl/m68hc1xelf.em: Likewise.
221         * emultempl/metagelf.em: Likewise.
222         * emultempl/mipself.em: Likewise.
223         * emultempl/ppc64elf.em: Likewise.
224         * emultempl/spuelf.em: Likewise.
225
226 2014-01-17  Alan Modra  <amodra@gmail.com>
227
228         * genscripts.sh (COMPILE_IN): Don't set if already set.
229         * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
230         COMPILE_IN=no.
231         * emulparams/nds32elf16m.sh: Likewise.
232         * emulparams/nds32elf_linux.sh: Likewise.
233         * emultempl/aix.em: Test COMPILE_IN value is "yes".
234         * emultempl/armcoff.em: Likewise.
235         * emultempl/elf32.em: Likewise.
236         * emultempl/generic.em: Likewise.
237         * emultempl/gld960.em: Likewise.
238         * emultempl/gld960c.em: Likewise.
239         * emultempl/linux.em: Likewise.
240         * emultempl/lnk960.em: Likewise.
241         * emultempl/m68kcoff.em: Likewise.
242         * emultempl/sunos.em: Likewise.
243         * emultempl/ticoff.em: Likewise.
244
245 2014-01-16  H.J. Lu  <hongjiu.lu@intel.com>
246
247         PR ld/16456
248         * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
249         suffix.
250         * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
251         for elf32_x86_64 emulation.
252         * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
253         for elf_i386 emulation.
254
255 2014-01-16  Alan Modra  <amodra@gmail.com>
256
257         * ld.h (fat_section_userdata_type, get_userdata): Move to..
258         * ldlang.h (input_section_userdata_type, get_userdata): ..here.
259         * ldlang.c (init_map_userdata): Delete.  Fold into..
260         (sort_def_symbol): ..here.  Don't attach input section userdata
261         to output sections or global bfd sections.
262         (lang_map): Don't pre-allocate input section userdata.
263         (init_os): Don't allocate userdata for output sections.
264         (print_all_symbols): Update.
265
266 2014-01-15  H.J. Lu  <hongjiu.lu@intel.com>
267
268         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
269         Silence uninitialized warning on ehdr_start_save with older
270         GCC.
271
272 2014-01-15  Alan Modra  <amodra@gmail.com>
273
274         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
275         __ehdr_start before size_dynamic_sections and restore afterwards.
276
277 2014-01-10  Alan Modra  <amodra@gmail.com>
278
279         PR ld/14207
280         PR ld/16322
281         PR binutils/16323
282         * ldlang.c (lang_size_sections): Remove unneeded RELRO base
283         adjust.  Tidy comments.
284         * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
285
286 2014-01-10  Hans-Peter Nilsson  <hp@axis.com>
287
288         * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
289
290 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
291
292         PR ld/14207
293         PR ld/16322
294         PR binutils/16323
295         * ldlang.c (lang_size_sections): Properly align RELRO base.
296
297 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
298
299         * ldver.c (ldversion): Update copyright year to 2014.
300
301 For older changes see ChangeLog-2013
302 \f
303 Copyright (C) 2014 Free Software Foundation, Inc.
304
305 Copying and distribution of this file, with or without modification,
306 are permitted in any medium without royalty provided the copyright
307 notice and this notice are preserved.
308
309 Local Variables:
310 mode: change-log
311 left-margin: 8
312 fill-column: 74
313 version-control: never
314 End: