binutils potfiles regen
[platform/upstream/binutils.git] / ld / ChangeLog
1 2014-02-10  Alan Modra  <amodra@gmail.com>
2
3         * po/ld.pot: Regenerate.
4
5 2014-02-03  Alan Modra  <amodra@gmail.com>
6
7         * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
8         plt_style): Delete.  Adjust all refs to instead use..
9         (params): ..this.  New variable.
10         (ppc_after_open_output): New function.  Tweak params and pass to
11         ppc_elf_link_params.
12         (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
13         (ppc_before_allocation): Adjust ppc_elf_tls_setup call.  Enable
14         relaxation for ppc476 workaround.
15         (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
16         (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
17
18 2014-02-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
19
20         * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
21         * ld/ldlang.c (lang_size_sections_1): Add dotdelta
22         variable which reflects the VMA change due to alignment
23         requirements.  Use dotdelta do change the LMA if
24         ALIGN_WITH_INPUT is requested.
25
26 2014-02-01  Hans-Peter Nilsson  <hp@bitrange.com>
27
28         * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
29         call to bfd_set_section_vma exposed by recent bfd_set_section_vma
30         change.
31
32 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
33
34         * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
35         * Makefile.in: Regenerated.
36         * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
37         * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
38         * emultempl/nios2elf.em: New file.
39         * gen-doc.texi (NIOSII): Set.
40         * ld.texinfo (NIOSII): Set.
41
42 2014-01-28  Nick Clifton  <nickc@redhat.com>
43
44         * Makefile.am: Remove obsolete MSP430 emulations.
45         * configure.tgt: Likewise.
46         * emulparams/msp430all.sh: Likewise.
47         * Makefile.in: Regenerate.
48
49 2014-01-24  H.J. Lu  <hongjiu.lu@intel.com>
50
51         PR ld/16498
52         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
53         orphaned TLS section handling.
54
55 2014-01-24  Alan Modra  <amodra@gmail.com>
56
57         * ldlang.c (lang_output_section_find_by_flags): Be careful to
58         test look->bfd_section->flags if available rather than
59         look->flags.  Separate SEC_THREAD_LOCAL handling from
60         SEC_READONLY loop, and rewrite.
61
62 2014-01-22  Alan Modra  <amodra@gmail.com>
63
64         * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
65         (lang_init): Initialise them.
66         (lang_print_asneeded): New function.
67         (lang_process): Call lang_print_asneeded.
68         * ldlang.h (struct asneeded_minfo): New.
69         (asneeded_list_tail): Declare.
70         * ldmain.c (add_archive_element): Improve archive map heading.
71         * ldmisc.c (minfo): Stash --as-needed info.
72
73 2014-01-22  Alan Modra  <amodra@gmail.com>
74
75         * ld.h (struct map_symbol_def): Move to..
76         * ldlang.h: ..here.
77         * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
78
79 2014-01-22  Alan Modra  <amodra@gmail.com>
80
81         * ld.texinfo (Output Section Discarding): Mention assigning to dot
82         as a way of keeping otherwise empty sections.
83         * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
84         is_dot_plus_0, is_align_conditional): New predicates.
85         (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
86         output section, except for some special cases.
87         * scripttempl/elfmicroblaze.sc: Use canonical form to align at
88         end of .heap and .stack.
89
90 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
91
92         * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
93
94 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
95
96         * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
97
98 2014-01-20  Alan Modra  <amodra@gmail.com>
99
100         * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
101         by_script.  Make iteration a single bit field.
102         (lang_track_definedness, lang_symbol_definition_iteration): Delete.
103         (lang_symbol_defined): Declare.
104         * ldlang.c (lang_statement_iteration): Expand comment a little.
105         (lang_init <lang_definedness_table>): Make it bigger.
106         (lang_track_definedness, lang_symbol_definition): Delete.
107         (lang_definedness_newfunc): Update.
108         (lang_symbol_defined): New function.
109         (lang_update_definedness): Create entries here.  Do track whether
110         script definition of symbol is valid, even when also defined in
111         an object file.
112         * ldexp.c (fold_name <DEFINED>): Update.
113         (fold_name <NAME>): Allow self-assignment for absolute symbols
114         defined in a linker script.
115
116 2014-01-20  Guy Martin <gmsoft@tuxicoman.be>
117             Alan Modra  <amodra@gmail.com>
118
119         * ldlang.h (lang_output_section_get): Define.
120         * ldlang.c (lang_output_section_get): Likewise.
121         (init_os): Set the output_section userdata to the output
122         section statement.
123         * emultempl/hppaelf.em: Use lang_output_section_get instead of
124         lang_output_section_find where applicable.
125         * emultempl/aarch64elf.em: Likewise.
126         * emultempl/aix.em: Likewise.
127         * emultempl/armelf.em: Likewise.
128         * emultempl/m68hc1xelf.em: Likewise.
129         * emultempl/metagelf.em: Likewise.
130         * emultempl/mipself.em: Likewise.
131         * emultempl/ppc64elf.em: Likewise.
132         * emultempl/spuelf.em: Likewise.
133
134 2014-01-17  Alan Modra  <amodra@gmail.com>
135
136         * genscripts.sh (COMPILE_IN): Don't set if already set.
137         * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
138         COMPILE_IN=no.
139         * emulparams/nds32elf16m.sh: Likewise.
140         * emulparams/nds32elf_linux.sh: Likewise.
141         * emultempl/aix.em: Test COMPILE_IN value is "yes".
142         * emultempl/armcoff.em: Likewise.
143         * emultempl/elf32.em: Likewise.
144         * emultempl/generic.em: Likewise.
145         * emultempl/gld960.em: Likewise.
146         * emultempl/gld960c.em: Likewise.
147         * emultempl/linux.em: Likewise.
148         * emultempl/lnk960.em: Likewise.
149         * emultempl/m68kcoff.em: Likewise.
150         * emultempl/sunos.em: Likewise.
151         * emultempl/ticoff.em: Likewise.
152
153 2014-01-16  H.J. Lu  <hongjiu.lu@intel.com>
154
155         PR ld/16456
156         * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
157         suffix.
158         * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
159         for elf32_x86_64 emulation.
160         * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
161         for elf_i386 emulation.
162
163 2014-01-16  Alan Modra  <amodra@gmail.com>
164
165         * ld.h (fat_section_userdata_type, get_userdata): Move to..
166         * ldlang.h (input_section_userdata_type, get_userdata): ..here.
167         * ldlang.c (init_map_userdata): Delete.  Fold into..
168         (sort_def_symbol): ..here.  Don't attach input section userdata
169         to output sections or global bfd sections.
170         (lang_map): Don't pre-allocate input section userdata.
171         (init_os): Don't allocate userdata for output sections.
172         (print_all_symbols): Update.
173
174 2014-01-15  H.J. Lu  <hongjiu.lu@intel.com>
175
176         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
177         Silence uninitialized warning on ehdr_start_save with older
178         GCC.
179
180 2014-01-15  Alan Modra  <amodra@gmail.com>
181
182         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
183         __ehdr_start before size_dynamic_sections and restore afterwards.
184
185 2014-01-10  Alan Modra  <amodra@gmail.com>
186
187         PR ld/14207
188         PR ld/16322
189         PR binutils/16323
190         * ldlang.c (lang_size_sections): Remove unneeded RELRO base
191         adjust.  Tidy comments.
192         * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
193
194 2014-01-10  Hans-Peter Nilsson  <hp@axis.com>
195
196         * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
197
198 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
199
200         PR ld/14207
201         PR ld/16322
202         PR binutils/16323
203         * ldlang.c (lang_size_sections): Properly align RELRO base.
204
205 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
206
207         * ldver.c (ldversion): Update copyright year to 2014.
208
209 For older changes see ChangeLog-2013
210 \f
211 Copyright (C) 2014 Free Software Foundation, Inc.
212
213 Copying and distribution of this file, with or without modification,
214 are permitted in any medium without royalty provided the copyright
215 notice and this notice are preserved.
216
217 Local Variables:
218 mode: change-log
219 left-margin: 8
220 fill-column: 74
221 version-control: never
222 End: