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