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