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